/* Isolate the diary from older high-specificity Insights layout rules. */
html.ex442-insights body #root#root .workspace-screen>.ex442-eye.diary460,
html.mw230.mw-home.ex442-insights body #root#root .workspace-screen>.ex442-eye.ex456.diary460{
 display:flex!important;flex-direction:column!important;gap:14px!important;
}
html body #root#root .diary460>*{flex:0 0 auto!important;position:relative;min-width:0}
html body #root#root .diary460 .d460-head,
html body #root#root .diary460 .d460-date,
html body #root#root .diary460 .d460-week,
html body #root#root .diary460 .d460-card,
html body #root#root .diary460 .d460-empty,
html body #root#root .diary460 button{border:0!important;box-shadow:none!important}
html body #root#root .diary460 .d460-head{background:transparent;border-radius:0;padding:8px 4px;margin:0;min-height:56px;gap:10px}
html body #root#root .diary460 .d460-head button{padding:8px;min-width:44px;background:transparent}
html body #root#root .diary460 .d460-head h1{margin:0;font-size:21px;line-height:1.3}
html body #root#root .diary460 .d460-date{background:transparent;padding:0 4px;margin:0}
html body #root#root .diary460 .d460-week{background:transparent;padding:2px;margin:0}
html body #root#root .diary460 .d460-week .selected{background:#143b3e;color:#c5f7ef}
html body #root#root .diary460 .d460-card{background:#081c22e8;margin:0;padding:18px 16px;border-radius:18px}
html body #root#root .diary460 .d460-add{margin:4px 0 12px;flex-shrink:0}
html body #root#root .diary460 .d460-status,
html body #root#root .diary460 .d460-note{margin:0;padding:3px 0}
/* Keep visible focus indicators; removing borders must not remove keyboard focus. */
html body #root#root .diary460 button:focus-visible{outline:2px solid #a5f0e8;outline-offset:3px}
