/* Quiet R11 work surface; use canonical brand assets and existing shared shell. */
.today-workspace{background:#f7f6f1}
.today-workspace [hidden]{display:none!important}
.today-workspace .appbar{height:76px;padding:0 40px;border:0;background:transparent}
.today-top-link,.today-text-link{color:#69736f;font-size:13px;line-height:1.7}
.today-top-link:hover,.today-text-link:hover{color:var(--ink)}
.today-main{max-width:1060px;min-height:calc(100dvh - 76px);padding:46px 56px 32px}
.today-heading{margin-bottom:35px}
.today-heading .eyebrow{display:block;color:#747e76;font-size:10px;letter-spacing:2.5px;margin-bottom:16px}
.today-heading h1{font-size:36px;line-height:1.4;font-weight:450;letter-spacing:-1px}
.today-heading>p{color:#7a827b;font-size:14px;margin-top:10px}
.today-create{display:flex;align-items:center;gap:18px;border:1px solid #d2d9cd;border-radius:15px;background:white;padding:24px;margin:0 0 42px;min-width:0}
.today-create:hover{border-color:#aab9a0;background:#fdfefa}
.today-create-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#eff2e9;color:#7c8a72;font-size:29px;font-weight:300;flex:0 0 44px}
.today-create>span:nth-child(2){min-width:0;flex:1}
.today-create strong{display:block;font-size:16px;font-weight:450;line-height:1.65}
.today-create small{display:block;font-size:12px;color:#7a827b;margin-top:3px}
.today-create-arrow{font-size:22px;color:#839077}
.today-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.today-section-head h2{font-size:21px;font-weight:500}
.today-source{font-size:12px;color:#7a827b;line-height:1.8}
.today-tabs{display:flex;gap:30px;border-bottom:1px solid #dde2d7;margin:17px 0 15px}
.today-tabs button{font-size:14px;color:#747e76;background:transparent;min-height:44px;border-bottom:2px solid transparent;margin-bottom:-1px;padding:9px 0}
.today-tabs button[aria-pressed=true]{color:#25362c;border-bottom-color:#25362c}
.today-filters{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 6px}
.today-search{display:flex;align-items:center;gap:9px;flex:1;min-width:180px;border:1px solid #d4dbcf;border-radius:9px;background:transparent;padding:0 12px;color:#788373}
.today-search input{flex:1;width:100%;min-width:0;border:0;border-radius:0;padding:12px 0;min-height:44px;font-size:13px;background:transparent}
.today-search:focus-within{outline:2px solid var(--wine);outline-offset:2px}
.today-search input:focus-visible{outline:0}
.today-filters select{height:44px;max-width:220px;font-size:12px;border-color:#d4dbcf;background:transparent}
.today-results-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:49px;color:#818a7f;font-size:11px}
.today-text-button{min-height:44px;padding:8px 5px;background:transparent;color:#6b7767;font-size:12px}
.today-text-button:hover{color:#25362c}
.today-results{display:flex;flex-direction:column;gap:10px}
.today-row{display:flex;gap:16px;align-items:center;min-width:0;border:1px solid #dde2d6;border-radius:12px;padding:20px;background:#fff;transition:border-color .15s,background .15s}
.today-row:hover{border-color:#bdc9b2;background:#fdfefa}
.today-row-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#f0f3eb;color:#738068}
.today-row-body{min-width:0;flex:1}
.today-row-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.7}
.today-row-meta{display:flex;gap:7px 14px;flex-wrap:wrap;font-size:11px;color:#81897e;margin-top:6px;line-height:1.8;overflow-wrap:anywhere}
.today-row-meta .today-state{color:#5a6c52}
.today-row-action{color:#738168;font-size:12px;flex:0 0 auto}
.today-notice{font-size:13px;line-height:1.8;color:#66725e;padding:13px 0}
.today-notice:empty{display:none}
.today-empty{text-align:center;padding:56px 24px 64px;border:1px dashed #d9dfd1;border-radius:12px}
.today-empty svg{color:#a0ae90;margin-bottom:15px}
.today-empty h3{font-size:16px;font-weight:450}
.today-empty p{font-size:12px;max-width:480px;margin:10px auto 0;color:#7b8573}
.today-empty a{display:inline-flex;align-items:center;min-height:44px;color:#425a37;margin-top:15px;font-size:13px}
.today-read-at{font-size:11px;color:#8a9185;line-height:1.8;margin:16px 0 0}
.today-more{display:flex;margin:22px auto 0;min-height:44px;font-size:13px;background:transparent;border-color:#d3dacb}
.today-boundary{font-size:11px;color:#88917f;line-height:1.85;border-top:1px solid #e0e4d9;margin:38px 0 0;padding-top:20px}
.today-noscript{margin:24px;padding:20px;border:1px solid #d3dacb}
@media(min-width:1500px){.today-main{max-width:1110px;padding-top:58px}.today-heading h1{font-size:39px}}
@media(max-width:1000px){.today-main{padding:34px 30px}.today-workspace .appbar{padding:0 30px}.today-create{padding:20px}.today-heading h1{font-size:32px}}
@media(max-width:760px){.today-main{min-height:calc(100dvh - 66px);padding:24px 20px max(28px,env(safe-area-inset-bottom))}.today-workspace .appbar{padding:10px 15px;height:66px}.today-heading{margin-bottom:25px}.today-heading h1{font-size:29px;letter-spacing:-.7px}.today-heading>p{font-size:13px}.today-create{padding:18px 15px;gap:12px;margin-bottom:32px}.today-create strong{font-size:14px}.today-create small{font-size:11px}.today-create-icon{width:36px;height:36px;flex-basis:36px;font-size:25px}.today-create-arrow{font-size:18px}.today-search{flex-basis:100%}.today-filters>label:not(.today-search){flex:1;min-width:0}.today-filters select{width:100%;max-width:none;font-size:13px}.today-search input{font-size:16px}.today-row{padding:16px 14px;gap:12px}.today-row-icon{width:33px;height:33px;flex-basis:33px}.today-row-action{font-size:0}.today-row-action:after{content:'→';font-size:15px}.today-row-title{font-size:14px}.today-row-meta{gap:4px 10px}.today-empty{padding:42px 20px}.today-tabs{gap:25px}.today-section-head h2{font-size:19px}.today-boundary{margin-top:28px}.today-top-link{font-size:12px}.today-text-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){.today-row{transition:none}}

/* History uses the same saved preference as the creator, not the warm Today surface. */
body.today-workspace[data-history-theme=light]{
 --history-bg:#fafafa;--history-surface:#fff;--history-alt:#f1f2f4;--history-border:#d9dce2;--history-ink:#1c1d22;--history-muted:#575e6b;--history-accent:#33384a;
 color-scheme:light;
}
body.today-workspace[data-history-theme=dark]{
 --history-bg:#101114;--history-surface:#17181c;--history-alt:#212227;--history-border:#373a43;--history-ink:#eef0f3;--history-muted:#aeb4bf;--history-accent:#c4cae1;
 color-scheme:dark;
}
body.today-workspace[data-history-theme]{
 --paper:var(--history-bg);--surface:var(--history-surface);--ink:var(--history-ink);--muted:var(--history-muted);--line:var(--history-border);--soft:var(--history-alt);--wine:var(--history-accent);
 background:var(--history-bg);color:var(--history-ink);
}
.today-workspace[data-history-theme] .d6-native-heading-layout{
 --d6-bg:var(--history-bg);--d6-surface:var(--history-surface);--d6-ink:var(--history-ink);--d6-muted:var(--history-muted);--d6-border:var(--history-border);--d6-brand:var(--history-accent);
}
.today-workspace[data-history-theme] .sidebar{background:var(--history-surface);border-color:var(--history-border)}
.today-workspace[data-history-theme] :is(.today-tabs,.today-search,.today-filters select,.today-empty,.today-more,.today-boundary){border-color:var(--history-border)}
.today-workspace[data-history-theme] :is(.today-top-link,.today-text-link,.today-heading .eyebrow,.today-heading>p,.today-source,.today-tabs button,.today-results-meta,.today-row-meta,.today-row-action,.today-notice,.today-empty p,.today-read-at,.today-boundary){color:var(--history-muted)}
.today-workspace[data-history-theme] :is(.today-tabs button[aria-pressed=true],.today-empty a,.today-text-button,.today-row-meta .today-state){color:var(--history-accent)}
.today-workspace[data-history-theme] .today-tabs button[aria-pressed=true]{border-bottom-color:var(--history-accent)}
.today-workspace[data-history-theme] :is(.today-row,.today-filters select){background:var(--history-surface);color:var(--history-ink)}
.today-workspace[data-history-theme] :is(.today-row:hover,.today-row-icon){background:var(--history-alt);color:var(--history-ink)}
#history-theme{min-width:44px;min-height:44px;padding:0;border:1px solid var(--history-border);border-radius:9px;background:transparent;color:var(--history-ink);cursor:pointer;font-size:18px}
#history-theme:focus-visible{outline:2px solid var(--history-accent);outline-offset:3px}
