/* Quiet presentation: reduce prose, not legibility. Scoped to the existing authenticated shell. */
.work-shell[data-density]{--paper:#f6f9fc;--paper-2:#edf3f8;--reading-field:#fff;--quiet-muted:#626c78;--muted:var(--quiet-muted);--muted-2:#8b94a0;--quiet-space:1.1rem;--quiet-action:#202221;--quiet-border:rgba(26,39,56,.11);--quiet-title:2rem;--quiet-section:1.0625rem;--quiet-card-title:1rem;--motion-beat:70ms;--motion-fast:140ms;--motion-structural:280ms;--motion-ensemble:560ms;--motion-ease-out:cubic-bezier(.16,1,.3,1);--motion-ease-standard:cubic-bezier(.2,.8,.2,1);background:var(--paper)}
.work-shell[data-density] .workspace-main{background:var(--paper)}
.work-shell[data-density] .topbar{background:rgba(246,249,252,.94)}
.work-shell[data-density] .mobile-bottom-nav{background:rgba(246,249,252,.96)}
.work-shell[data-density="compact"]{--quiet-space:.7rem}
.work-shell[data-density] .today{max-width:64rem;display:block;margin-inline:auto}
.work-shell[data-density] .operational-head{align-items:flex-start;gap:1rem;flex-wrap:wrap;padding:.15rem 0 1.25rem;border-bottom:1px solid var(--quiet-border)}
.work-shell[data-density] .operational-head h1{font-size:var(--quiet-title);font-weight:620;letter-spacing:-.035em;line-height:1.08;text-wrap:balance}
.work-shell[data-density] .operational-head p{max-width:38ch;margin-top:.4rem;color:var(--muted);font-size:var(--type-body);line-height:1.5;text-wrap:pretty}
.quiet-day{display:block;color:var(--muted);font-size:var(--type-meta);padding-block:.4rem;overflow-wrap:anywhere}
.quiet-freshness{display:inline-flex;align-items:center;min-height:32px;color:var(--muted);font-size:var(--type-label);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.quiet-freshness.freshness-stale,.quiet-freshness.freshness-historical,.quiet-freshness.freshness-expired{color:var(--warn)}
.work-shell[data-density] .today-section-head{align-items:center;flex-wrap:wrap;gap:.65rem 1rem;min-height:40px}
.work-shell[data-density] .today-section-head h2{font-size:var(--quiet-section);font-weight:650;letter-spacing:-.018em;line-height:1.25}
.work-shell[data-density] .today-attention{border:0;background:transparent;padding:0}
.work-shell[data-density] .today-count{font-size:var(--type-meta);margin:.3rem 0 1rem;color:var(--muted);line-height:1.45;font-variant-numeric:tabular-nums}
.work-shell[data-density] .today-list{display:grid;gap:.65rem;margin:0;padding:0;border:0;list-style:none}
.work-shell[data-density] .today-row,.work-shell[data-density] .today-watch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.6rem 1.2rem;min-width:0;margin:0;padding:var(--quiet-space);border:1px solid var(--quiet-border);border-radius:14px;background:#fff}
.work-shell[data-density] .today-row::before,.work-shell[data-density] .today-watch-row::before{display:none}
.work-shell[data-density] .today-attention>.today-list>.today-row:first-child{background:#fff;border-color:rgba(20,24,22,.23);box-shadow:0 3px 14px rgba(25,25,23,.025)}
.work-shell[data-density] .today-row-copy{display:block;min-width:0;max-width:100%}
.work-shell[data-density] .today-title-line{display:flex;align-items:center;gap:.55rem;min-width:0}
.work-shell[data-density] .today-title-line>b{display:block;min-width:0;font-size:var(--quiet-card-title);font-weight:650;line-height:1.32;letter-spacing:-.014em;overflow-wrap:anywhere;text-wrap:pretty}
.state-symbol{position:relative;display:inline-block;width:14px;height:14px;flex:0 0 14px;color:var(--muted);vertical-align:middle}
.state-symbol::before,.state-symbol::after{content:"";position:absolute;box-sizing:border-box}
.symbol-neutral::before{width:6px;height:6px;left:4px;top:4px;border-radius:50%;background:var(--muted-2)}
.symbol-attention::before{width:7px;height:7px;left:3.5px;top:3.5px;border-radius:50%;background:var(--attention)}
.symbol-decision::before{width:7px;height:7px;left:3.5px;top:3.5px;border:1.5px solid var(--ink-2);transform:rotate(45deg)}
.symbol-review::before{width:9px;height:9px;left:2.5px;top:2.5px;border:2px solid var(--muted);border-radius:50%}
.symbol-waiting::before,.symbol-waiting::after{width:2px;height:8px;top:3px;border-radius:1px;background:var(--muted)}
.symbol-waiting::before{left:4px}.symbol-waiting::after{right:4px}
.symbol-progress::before{width:7px;height:7px;left:2.5px;top:3.5px;border-top:2px solid var(--ink-2);border-right:2px solid var(--ink-2);transform:rotate(45deg)}
.symbol-scheduled::before{width:10px;height:10px;left:2px;top:2px;border:1.5px solid var(--muted);border-radius:50%}
.symbol-scheduled::after{width:2px;height:4px;left:6px;top:4px;border-left:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted)}
.symbol-done::before{width:8px;height:5px;left:3px;top:3px;border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(-45deg)}
.symbol-cancelled::before,.symbol-cancelled::after{width:2px;height:10px;left:6px;top:2px;border-radius:1px;background:var(--muted)}
.symbol-cancelled::before{transform:rotate(45deg)}.symbol-cancelled::after{transform:rotate(-45deg)}
.today-state-symbol{margin-top:.05rem}
.work-shell[data-density] .today-row>.primary,.work-shell[data-density] .today-row>.secondary,.work-shell[data-density] .today-watch-row>.secondary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;align-self:start;margin-top:.5rem;min-height:44px;min-width:5rem;border-radius:10px;font-size:var(--type-meta)}
.work-shell[data-density] .today-row>.primary{background:var(--quiet-action);color:white}
.work-shell[data-density] .today-more{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;margin-top:.35rem;font-size:var(--type-meta)}
.quiet-detail{min-width:0;max-width:100%;margin-top:.15rem}
.quiet-detail>summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;cursor:pointer;list-style:none;border-radius:6px;color:var(--muted)}
.quiet-detail>summary::-webkit-details-marker{display:none}
.quiet-meta{display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-width:0;min-height:2rem}
.quiet-meta>small,.work-shell[data-density] .today-row-copy .quiet-meta>small{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--type-label);line-height:1.4;color:var(--muted)}
.quiet-cue{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto;color:var(--ink-2);font-size:var(--type-label);font-weight:550}
.quiet-cue::after{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px;transition:transform var(--motion-fast) var(--motion-ease-standard)}
.quiet-detail[open] .quiet-cue::after{transform:rotate(225deg);margin-top:3px}
.quiet-detail-body{padding:.8rem 0 .15rem;border-top:1px solid var(--quiet-border)}
.quiet-detail.is-animating[open] .quiet-detail-body{animation:ensemble-unfold var(--motion-structural) var(--motion-ease-out) both;transform-origin:top}
.quiet-detail.is-animating[open] .quiet-detail-body>*{animation:ensemble-rise var(--motion-structural) var(--motion-ease-out) both}
.quiet-detail.is-animating[open] .quiet-detail-body>*:nth-child(2){animation-delay:var(--motion-beat)}
.quiet-detail.is-animating[open] .quiet-detail-body>*:nth-child(3){animation-delay:calc(var(--motion-beat)*2)}
.quiet-detail.is-animating[open] .quiet-detail-body>*:nth-child(4){animation-delay:calc(var(--motion-beat)*3)}
.quiet-reason{color:var(--ink-2);font-size:var(--type-body);line-height:1.55;max-width:64ch;overflow-wrap:anywhere}
.quiet-reason>span{display:block;margin-bottom:.3rem;font-size:var(--type-label);font-weight:650;color:var(--muted)}
.quiet-note{color:var(--muted);font-size:var(--type-label);line-height:1.5;margin:.65rem 0 0;max-width:64ch;overflow-wrap:anywhere}
.quiet-facts{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:.65rem 0 0;max-width:100%}
.quiet-facts>div{display:grid;gap:.15rem;min-width:0}
.quiet-facts dt{font-size:var(--type-label);color:var(--muted)}
.quiet-facts dd{font-size:var(--type-meta);font-weight:550;margin:0;overflow-wrap:anywhere}
.quiet-tokens{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.45rem 0 .1rem}
.quiet-token{padding:.25rem .55rem;max-width:100%;border-radius:6px;border:1px solid var(--quiet-border);color:var(--ink-2);font-size:var(--type-label);line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.work-shell[data-density] .today-watch,.today-after{margin-top:.85rem;border:0;border-top:1px solid var(--quiet-border);border-radius:0;background:transparent;padding:.25rem 0 0}
.work-shell[data-density] .today-watch>summary,.today-after>summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem;min-height:48px;cursor:pointer;padding:.4rem 0;list-style:none}
.work-shell[data-density] .today-watch>summary>span,.today-after>summary>span{font-size:var(--type-body);font-weight:600}
.work-shell[data-density] .today-watch>summary>small,.today-after>summary>small{font-size:var(--type-label);color:var(--muted);overflow-wrap:anywhere}
.work-shell[data-density] .today-watch-row{border-color:var(--quiet-border);box-shadow:none;background:rgba(255,255,255,.3)}
.work-shell[data-density] .today-watch>.today-list,.today-after>.today-list{margin-top:.5rem}
.today-after.is-animating[open] .today-row,.today-watch.is-animating[open] .today-watch-row{animation:ensemble-rise var(--motion-structural) var(--motion-ease-out) both}
.today-after.is-animating[open] .today-row:nth-child(2),.today-watch.is-animating[open] .today-watch-row:nth-child(2){animation-delay:var(--motion-beat)}
.today-after.is-animating[open] .today-row:nth-child(3),.today-watch.is-animating[open] .today-watch-row:nth-child(3){animation-delay:calc(var(--motion-beat)*2)}
.today-after.is-animating[open] .today-row:nth-child(4),.today-watch.is-animating[open] .today-watch-row:nth-child(4){animation-delay:calc(var(--motion-beat)*3)}
.work-shell[data-density] .today-work{margin-top:1.5rem;padding:1rem 0 0;border:0;border-top:1px solid var(--quiet-border);background:transparent}
.work-shell[data-density] .today-work-counts{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;font-size:var(--type-meta);line-height:1.5}
.work-shell[data-density] .today-work-counts>span{padding:0;border:0;background:transparent}
.quiet-continuation{margin-top:1rem;display:grid;gap:.65rem}
.quiet-continuation>h3{font-size:var(--type-body);font-weight:600;margin:.2rem 0}
.work-shell[data-density] .work-surface{margin-top:1.3rem}
.work-shell[data-density] .work-card-list{display:grid;gap:.65rem}
.work-shell[data-density] .work-card{min-width:0;padding:var(--quiet-space);border:1px solid var(--quiet-border);border-radius:12px;background:#fff}
.work-shell[data-density] .work-card::before{display:none}
.work-shell[data-density] .work-card-top{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:.35rem 1rem}
.work-shell[data-density] .work-card-heading{display:flex;align-items:center;gap:.55rem;min-width:0;flex:1 1 20rem}
.work-shell[data-density] .work-card-heading h3{min-width:0}
.work-state-symbol{margin-top:.08rem}
.state-symbol.is-state-changed{animation:ensemble-accent var(--motion-structural) var(--motion-ease-out) both}
.work-card.is-state-changed,.today-row.is-state-changed{animation:ensemble-unison var(--motion-structural) var(--motion-ease-out) both}
.work-shell[data-density] .work-card-top h3{font-size:var(--quiet-card-title);font-weight:650;line-height:1.32;letter-spacing:-.014em;flex:1 1 20rem;min-width:0;overflow-wrap:anywhere;text-wrap:pretty}
.work-shell[data-density] .work-card-top .work-card-heading h3{flex:1 1 auto;min-width:0}
.work-shell[data-density] .work-card-top time{color:var(--muted);font-size:var(--type-label);line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.work-shell[data-density] .work-card-meta{margin:.4rem 0 .1rem;font-size:var(--type-label);flex-wrap:wrap;line-height:1.4}
.work-shell[data-density] .work-card-actions{display:flex;align-items:center;gap:.5rem;margin:.5rem 0 0;flex-wrap:wrap}
.work-shell[data-density] .work-card-actions>.primary,.work-shell[data-density] .work-card-actions>.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border-radius:10px;font-size:var(--type-meta);transition:transform var(--motion-fast) var(--motion-ease-standard),background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,color var(--motion-fast) ease}
.work-shell[data-density] .work-card .mail-more>summary{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;border-radius:9px;cursor:pointer}
.work-shell[data-density] .work-card .mail-more-menu button{min-height:44px;font-size:var(--type-meta)}
.work-shell[data-density] .work-card .mail-more-menu{z-index:25;min-width:11rem;max-width:calc(100vw - 3rem);background:var(--white)}
.work-shell[data-density] .work-bucket-head{flex-wrap:wrap;gap:.25rem .6rem;padding:.2rem 0 .65rem}
.work-shell[data-density] .work-bucket-head h2{font-size:var(--quiet-section);font-weight:650;letter-spacing:-.018em;line-height:1.25}
.work-shell[data-density] .work-bucket-head p{max-width:38ch;font-size:var(--type-meta);line-height:1.45;margin:0;color:var(--muted);text-wrap:pretty}
.work-shell[data-density] .work-summary{font-size:var(--type-meta);line-height:1.45;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.quiet-display{margin:1.75rem 0 1rem;padding:1.1rem 0;border-block:1px solid var(--quiet-border);display:grid;gap:.7rem}
.quiet-display h2{font-size:var(--type-section);font-weight:600}
.quiet-display p{font-size:var(--type-meta);color:var(--muted);line-height:1.5;margin:.35rem 0 0}
.quiet-display-options{display:flex;flex-wrap:wrap;gap:.5rem}
.quiet-display-options>button{min-height:44px;font-size:var(--type-meta);border-radius:9px}
.quiet-display-options>button[aria-pressed="true"]{background:var(--quiet-action);color:white;border-color:var(--quiet-action)}
.quiet-display>.quiet{justify-self:start;min-height:44px;font-size:var(--type-meta);padding-left:0}
.work-shell[data-density] .quiet-detail>summary:focus-visible,.quiet-display button:focus-visible,.today-after>summary:focus-visible{outline:var(--focus-ring);outline-offset:3px}
@media (hover:hover){.quiet-detail>summary:hover{color:var(--ink)}.quiet-display-options>button:hover{border-color:var(--ink)}.work-card-actions>.primary:hover .ui-icon,.today-row>.primary:hover .ui-icon{transform:translateX(1px)}}
.work-card-actions .ui-icon,.today-row .ui-icon{transition:transform var(--motion-fast) var(--motion-ease-standard)}
@keyframes ensemble-unfold{from{opacity:.25;clip-path:inset(0 0 18% 0);transform:translateY(-3px)}to{opacity:1;clip-path:inset(0);transform:none}}
@keyframes ensemble-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ensemble-accent{0%{opacity:.55;transform:scale(.78)}55%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}
@keyframes ensemble-unison{0%{border-color:rgba(26,39,56,.24);background-color:#f9fbfd}100%{border-color:var(--quiet-border);background-color:#fff}}
@media(max-width:760px){
 .work-shell[data-density] .page{padding-inline:max(1rem,env(safe-area-inset-left)) max(1rem,env(safe-area-inset-right));padding-bottom:calc(6rem + env(safe-area-inset-bottom))}
 .work-shell[data-density] .today-row,.work-shell[data-density] .today-watch-row{grid-template-columns:minmax(0,1fr);gap:.3rem;padding:var(--quiet-space)}
 .work-shell[data-density] .today-row>.primary,.work-shell[data-density] .today-row>.secondary,.work-shell[data-density] .today-watch-row>.secondary{justify-self:end;max-width:100%;min-height:44px;margin-top:.2rem}
 .work-shell[data-density] .today-title-line>b{font-size:1rem;line-height:1.4}
 .work-shell[data-density] .work-card-top{display:flex;flex-direction:column;gap:.25rem}
 .work-shell[data-density] .work-card-heading{width:100%;flex:none}
 .work-shell[data-density] .work-card-top h3{flex:none;width:auto}
 .work-shell[data-density] .work-card-actions{justify-content:flex-end}
 .work-shell[data-density] .work-card-actions>.primary,.work-shell[data-density] .work-card-actions>.secondary{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;text-align:center}
 .work-shell[data-density] .today-section-head>.quiet-freshness{max-width:100%;font-size:var(--type-label)}
 .quiet-day{font-size:var(--type-label)}
 .quiet-meta{gap:.4rem}
 .quiet-display-options>button{flex:1 1 8rem}
}
@media(prefers-reduced-motion:reduce){.quiet-detail-body,.quiet-detail-body>*,.today-after .today-row,.today-watch .today-watch-row,.state-symbol,.work-card.is-state-changed,.today-row.is-state-changed,.quiet-cue::after,.work-card-actions .ui-icon,.today-row .ui-icon{animation:none!important;transition:none!important;transform:none!important;clip-path:none!important}}
