@font-face { font-family:Nudge; src:url("https://www.theacademysf.com/_next/static/immutable/media/NudgeNormal_Medium-s.p.19qf4_h6206jn.ttf") format("truetype"); font-display:swap; font-weight:500; }
@font-face { font-family:PxMono; src:url("https://www.theacademysf.com/_next/static/immutable/media/Px_Grotesk_Mono_Regular-s.p.1a3grddpg-ruu.otf") format("opentype"); font-display:swap; font-weight:400; }

:root { color-scheme:light; --ink:#111; --ink-2:#252525; --paper:#f7f6f4; --panel:#efeeec; --white:#fff; --muted:#6f6d6a; --muted-2:#96938f; --line:#dedbd6; --brand:#fe3619; --brand-soft:#ffe6e0; --green:#4f8a63; --shadow:0 18px 60px rgba(17,17,17,.08); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--paper); color:var(--ink); font:500 15px/1.5 Nudge,"Helvetica Neue",Arial,sans-serif; }
button,input,select,textarea { font:inherit; }
button { color:inherit; }
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.app-shell { min-height:100vh; display:grid; grid-template-columns:232px minmax(0,1fr); }
.rail { position:sticky; top:0; z-index:20; height:100vh; display:flex; flex-direction:column; padding:28px 21px 22px; background:var(--ink); color:#f5f5f2; }
.brand { display:flex; align-items:center; gap:11px; padding:0 6px; }
.brand-mark { width:32px; height:32px; display:grid; place-items:center; border:1px solid #555; border-radius:9px; color:var(--brand); font-size:18px; }
.brand b { display:block; font-weight:500; letter-spacing:-.02em; }
.brand small { display:block; margin-top:2px; color:#767676; font:8px PxMono,monospace; text-transform:uppercase; letter-spacing:.08em; }
.nav { display:grid; gap:5px; margin-top:44px; }
.nav-item,.rail-action { width:100%; display:flex; align-items:center; gap:11px; border:0; border-radius:9px; padding:10px 12px; background:transparent; color:#aaa; text-align:left; cursor:pointer; transition:.15s ease; }
.nav-item:hover,.rail-action:hover { color:#fff; background:#202020; }
.nav-item.active { background:#fff; color:var(--ink); }
.nav-icon { width:18px; color:var(--brand); text-align:center; }
.rail-bottom { margin-top:auto; display:grid; gap:5px; }
.source-note { display:flex; align-items:flex-start; gap:10px; margin-top:13px; padding:17px 9px 0; border-top:1px solid #303030; color:#777; font:9px/1.55 PxMono,monospace; text-transform:uppercase; letter-spacing:.03em; }
.source-note i,.private-pill i { width:7px; height:7px; flex:0 0 auto; margin-top:4px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px rgba(79,138,99,.13); }
.source-note b { color:#bbb; font-weight:400; }
.main { min-width:0; }
.topbar { position:sticky; top:0; z-index:15; height:78px; display:flex; align-items:center; gap:18px; padding:0 clamp(20px,3.4vw,52px); border-bottom:1px solid rgba(205,202,197,.8); background:rgba(247,246,244,.9); backdrop-filter:blur(17px); }
.command { flex:1; max-width:680px; height:44px; display:flex; align-items:center; gap:10px; padding:0 13px; border:1px solid var(--line); border-radius:11px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.025); }
.command > span { color:var(--brand); }
.command input { width:100%; border:0; outline:0; background:transparent; }
kbd { padding:1px 6px; border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; color:#999; font:9px PxMono,monospace; }
.top-actions { margin-left:auto; display:flex; gap:9px; }
.button { min-height:40px; display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid transparent; border-radius:9px; padding:9px 14px; font-size:13px; cursor:pointer; transition:.15s ease; }
.button:hover { transform:translateY(-1px); }
.button.primary { background:var(--ink); color:#fff; }
.button.primary:hover { background:#2b2b2b; }
.button.ghost { border-color:var(--line); background:rgba(255,255,255,.75); }
.button.wide { width:100%; }
.mobile-menu { display:none; border:0; background:transparent; font-size:21px; }
.content { padding:38px clamp(20px,3.4vw,52px) 64px; }
.page { display:none; max-width:1500px; margin:0 auto; animation:enter .22s ease both; }
.page.active { display:block; }
@keyframes enter { from { opacity:0; transform:translateY(5px); } }
.page-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:28px; margin-bottom:27px; }
.page-heading.compact { align-items:flex-end; }
.eyebrow { margin:0 0 8px; color:var(--muted); font:9px/1.3 PxMono,monospace; letter-spacing:.08em; text-transform:uppercase; }
.eyebrow.on-dark { color:#8d8d8d; }
h1 { margin:0; font-size:clamp(36px,4vw,52px); line-height:1; font-weight:500; letter-spacing:-.045em; }
h2 { margin:0; font-size:23px; line-height:1.13; font-weight:500; letter-spacing:-.03em; }
.lede { max-width:720px; margin:11px 0 0; color:var(--muted); }
.private-pill { display:flex; align-items:center; gap:8px; padding:7px 11px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--muted); font:9px PxMono,monospace; text-transform:uppercase; white-space:nowrap; }
.record-count,.mono { margin:0; color:var(--muted); font:9px PxMono,monospace; }
.card { border:1px solid var(--line); border-radius:15px; background:#fff; }

.action-centre { margin-bottom:14px; padding:21px; overflow:hidden; border-radius:15px; background:var(--ink); color:#fff; }
.action-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.action-heading p:last-child { max-width:850px; margin:9px 0 0; color:#8e8e8e; font-size:11px; }
.preview-badge { border:1px solid #3b3b3b; border-radius:999px; padding:5px 8px; color:var(--brand); font:8px PxMono,monospace; text-transform:uppercase; }
.action-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:20px; }
.action-item { min-height:126px; display:flex; flex-direction:column; border:1px solid #303030; border-radius:10px; padding:13px; background:#181818; }
.action-code { color:var(--brand); font:9px PxMono,monospace; text-transform:uppercase; }
.action-item b { margin-top:18px; font-size:12px; font-weight:500; }
.action-item p { margin:5px 0 0; color:#878787; font-size:10px; line-height:1.45; }

.overview-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr); gap:14px; margin-bottom:14px; }
.agent-card { min-height:300px; position:relative; overflow:hidden; padding:21px; background:var(--ink); color:#fff; }
.agent-card::after { content:""; position:absolute; right:-65px; bottom:-105px; width:250px; height:250px; border:1px solid rgba(254,54,25,.28); border-radius:50%; box-shadow:0 0 0 44px rgba(254,54,25,.035),0 0 0 88px rgba(254,54,25,.018); pointer-events:none; }
.card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; }
.agent-orb { width:41px; height:41px; flex:0 0 auto; display:grid; place-items:center; border-radius:12px; background:var(--brand); color:#fff; box-shadow:0 0 32px rgba(254,54,25,.22); }
.agent-orb.large { width:54px; height:54px; font-size:20px; }
.brief-body { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:28px; }
.brief-item { min-height:105px; border:1px solid #373737; border-radius:10px; padding:12px; background:rgba(255,255,255,.025); cursor:pointer; }
.brief-number { display:block; color:var(--brand); font:18px PxMono,monospace; }
.brief-item p { margin:6px 0 0; color:#b3b3b3; font-size:10px; line-height:1.45; }
.prompt-row { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:7px; margin-top:17px; }
.prompt-chip { border:1px solid #404040; border-radius:999px; padding:6px 9px; background:transparent; color:#c2c2c2; font-size:10px; cursor:pointer; }
.prompt-chip:hover { border-color:var(--brand); color:var(--brand); }
.mix-card { padding:21px; }
.mix-chart { display:grid; gap:13px; margin-top:25px; }
.mix-row { display:grid; grid-template-columns:97px 1fr 30px; align-items:center; gap:9px; font-size:11px; }
.mix-track { height:8px; overflow:hidden; border-radius:99px; background:var(--panel); }
.mix-fill { height:100%; border-radius:inherit; background:var(--ink); }
.mix-row:first-child .mix-fill,.mix-row:nth-child(2) .mix-fill { background:var(--brand); }
.mix-count { color:var(--muted); text-align:right; font:9px PxMono,monospace; }
.table-card { overflow:hidden; }
.table-heading { padding:20px 21px 16px; }
.text-button { border:0; background:transparent; color:var(--brand); cursor:pointer; }
.table-wrap { width:100%; overflow-x:auto; }
table { width:100%; border-collapse:collapse; text-align:left; }
th { padding:10px 16px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#faf9f7; color:#8f8c88; font:9px PxMono,monospace; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
td { padding:13px 16px; border-bottom:1px solid #eceae6; font-size:11px; vertical-align:middle; }
tbody tr { cursor:pointer; transition:background .12s ease; }
tbody tr:hover { background:#faf9f7; }
tbody tr:last-child td { border-bottom:0; }
.person-cell { min-width:220px; display:flex; align-items:center; gap:11px; }
.portrait { width:40px; height:40px; flex:0 0 auto; overflow:hidden; display:grid; place-items:center; border:1px solid #e5e2dd; border-radius:50%; background:#fff; color:var(--muted); font:9px PxMono,monospace; }
.portrait.org { border-radius:9px; padding:6px; background:var(--logo-bg,#fff); }
.portrait img { width:100%; height:100%; object-fit:cover; }
.portrait.org img { object-fit:contain; }
.person-cell b { display:block; font-weight:500; }
.person-cell small { max-width:250px; display:block; margin-top:2px; overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; }
.role-tag,.signal { display:inline-flex; align-items:center; gap:5px; border:1px solid var(--line); border-radius:999px; padding:4px 8px; color:#555; font:9px PxMono,monospace; white-space:nowrap; }
.role-tag.founding { border-color:var(--brand); color:var(--brand); }
.role-tag.hiring { background:var(--panel); }
.signal::before { content:""; width:5px; height:5px; border-radius:50%; background:#999; }
.signal.high::before { background:var(--brand); }.signal.medium::before { background:#d3923a; }
.focus-list,.next-move,.give-copy { max-width:230px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.focus-list { color:var(--muted); }.give-copy { color:var(--brand); }
.toolbar { display:grid; grid-template-columns:minmax(260px,1fr) repeat(3,minmax(130px,180px)) auto; gap:9px; margin-bottom:12px; }
.toolbar select,.list-search { height:42px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.toolbar select { padding:0 10px; color:#444; }.list-search { display:flex; align-items:center; gap:8px; padding:0 11px; }.list-search span { color:var(--brand); }.list-search input { width:100%; border:0; outline:0; }
.directory-card { min-height:530px; }.pagination { min-height:54px; display:flex; align-items:center; justify-content:space-between; padding:9px 15px; border-top:1px solid var(--line); color:var(--muted); font:9px PxMono,monospace; }.page-buttons { display:flex; gap:5px; }.page-buttons button { width:32px; height:32px; border:1px solid var(--line); border-radius:7px; background:#fff; cursor:pointer; }.page-buttons button:disabled { opacity:.35; }
.org-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.org-card { min-height:184px; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; padding:17px; background:#fff; cursor:pointer; transition:.15s ease; }
.org-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.org-top { display:flex; justify-content:space-between; align-items:flex-start; }.org-top .portrait { width:55px; height:55px; }.org-card h3 { margin:18px 0 5px; font-size:20px; line-height:1.1; font-weight:500; }.org-card p { margin:0; color:var(--muted); font-size:11px; }.org-footer { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }.field-pills { display:flex; flex-wrap:wrap; gap:5px; margin-top:16px; }.field-pill { border:1px solid var(--line); border-radius:999px; padding:3px 7px; color:var(--muted); font:8px PxMono,monospace; }
.agent-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr); gap:14px; }.agent-console { min-height:540px; display:flex; flex-direction:column; overflow:hidden; }.console-thread { flex:1; max-height:560px; overflow-y:auto; padding:25px; }.agent-message,.user-message { display:flex; align-items:flex-start; gap:12px; margin-bottom:20px; }.mini-orb { width:29px; height:29px; flex:0 0 auto; display:grid; place-items:center; border-radius:8px; background:var(--brand); color:#fff; font-size:11px; }.agent-message b { font-size:11px; }.agent-message p { margin:4px 0 0; color:var(--muted); }.user-message { justify-content:flex-end; }.user-message p { max-width:76%; margin:0; border-radius:12px 12px 2px 12px; padding:10px 13px; background:var(--ink); color:#fff; }.agent-results { display:grid; gap:7px; margin-top:12px; }.agent-result { display:flex; justify-content:space-between; gap:12px; border:1px solid var(--line); border-radius:9px; padding:10px; background:#fbfaf8; text-align:left; cursor:pointer; }.agent-result small { color:var(--muted); }.agent-composer { display:flex; gap:9px; border-top:1px solid var(--line); padding:14px; }.agent-composer input { flex:1; min-width:0; border:1px solid var(--line); border-radius:9px; padding:0 12px; }.recipe-card { height:max-content; padding:21px; }.recipe-card h2 { margin-bottom:20px; }.recipe { width:100%; display:flex; justify-content:space-between; border:0; border-top:1px solid var(--line); padding:12px 2px; background:transparent; text-align:left; cursor:pointer; font-size:11px; }.recipe::after { content:"↗"; color:var(--brand); }.scope-note { margin-top:24px; border-radius:11px; padding:14px; background:var(--ink); color:#fff; }.scope-note b { color:var(--brand); font-size:10px; }.scope-note p { margin:7px 0 0; color:#999; font-size:10px; }
.roadmap-list { display:grid; gap:10px; }.roadmap-phase { display:grid; grid-template-columns:125px 1fr auto; align-items:start; gap:25px; border-top:1px solid var(--line); padding:22px 4px; }.phase-label { color:var(--brand); font:9px PxMono,monospace; text-transform:uppercase; }.roadmap-phase h2 { margin-bottom:8px; }.roadmap-phase p { max-width:790px; margin:0; color:var(--muted); font-size:12px; }.phase-state { border:1px solid var(--line); border-radius:999px; padding:5px 8px; font:8px PxMono,monospace; text-transform:uppercase; white-space:nowrap; }
.scrim { position:fixed; inset:0; z-index:40; background:rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:.18s ease; }.scrim.open { opacity:1; pointer-events:auto; }.drawer { position:fixed; top:0; right:0; bottom:0; z-index:50; width:min(510px,100vw); overflow-y:auto; background:#fff; box-shadow:-20px 0 70px rgba(0,0,0,.16); transform:translateX(102%); transition:.22s ease; }.drawer.open { transform:translateX(0); }.drawer-hero { padding:25px; background:var(--ink); color:#fff; }.drawer-close { float:right; width:34px; height:34px; border:1px solid #3d3d3d; border-radius:9px; background:transparent; color:#fff; font-size:20px; cursor:pointer; }.drawer-identity { clear:both; display:flex; align-items:center; gap:13px; padding-top:28px; }.drawer-identity .portrait { width:58px; height:58px; }.drawer-identity h2 { font-size:29px; }.drawer-identity p { margin:5px 0 0; color:#aaa; font-size:11px; }.drawer-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; }.drawer-tags span { border:1px solid #3b3b3b; border-radius:999px; padding:4px 8px; color:#c6c6c6; font:8px PxMono,monospace; }.drawer-section { padding:20px 25px; border-bottom:1px solid var(--line); }.drawer-section h3 { margin:0 0 13px; font-size:12px; font-weight:500; }.drawer-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.drawer label,.dialog-card label { display:grid; gap:6px; color:var(--muted); font-size:10px; }.drawer input,.drawer select,.drawer textarea,.dialog-card input,.dialog-card select { width:100%; border:1px solid var(--line); border-radius:8px; padding:10px; background:#fff; color:var(--ink); }.drawer textarea { min-height:110px; resize:vertical; }.give-field input { border-color:var(--brand); background:#fff8f6; }.public-link { color:var(--brand); text-decoration:none; font-size:10px; }
dialog { width:min(560px,calc(100vw - 24px)); border:0; border-radius:16px; padding:0; box-shadow:0 30px 100px rgba(0,0,0,.24); }dialog::backdrop { background:rgba(0,0,0,.5); backdrop-filter:blur(3px); }.dialog-card { display:grid; gap:15px; padding:24px; }.dialog-heading { display:flex; justify-content:space-between; align-items:flex-start; }.icon-button { border:0; background:transparent; font-size:24px; cursor:pointer; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.dialog-actions { display:flex; justify-content:flex-end; gap:8px; }.dialog-copy { margin:-3px 0 2px; color:var(--muted); font-size:11px; }.goal-options { display:grid; gap:8px; }.goal-options label { display:flex; align-items:flex-start; gap:10px; border:1px solid var(--line); border-radius:10px; padding:12px; cursor:pointer; }.goal-options label:has(input:checked) { border-color:var(--brand); background:var(--brand-soft); }.goal-options input { width:auto; margin-top:3px; }.goal-options b { display:block; color:var(--ink); }
.toast { position:fixed; right:24px; bottom:24px; z-index:100; padding:11px 14px; border-radius:10px; background:var(--ink); color:#fff; box-shadow:var(--shadow); opacity:0; transform:translateY(8px); pointer-events:none; transition:.18s ease; font-size:11px; }.toast.show { opacity:1; transform:translateY(0); }.empty { padding:50px 20px; color:var(--muted); text-align:center; }
@media (max-width:1100px) { .action-grid { grid-template-columns:repeat(2,1fr); }.overview-grid,.agent-layout { grid-template-columns:1fr; }.toolbar { grid-template-columns:1fr 1fr; }.org-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:780px) { .app-shell { grid-template-columns:1fr; }.rail { position:fixed; left:0; width:232px; transform:translateX(-102%); transition:.18s ease; }.rail.open { transform:translateX(0); box-shadow:18px 0 60px rgba(0,0,0,.2); }.mobile-menu { display:block; }.topbar { height:68px; padding:0 14px; }.top-actions .ghost { display:none; }.top-actions .primary { width:40px; padding:0; font-size:0; }.top-actions .primary span { font-size:18px; }.command kbd { display:none; }.content { padding:27px 14px 50px; }.page-heading { display:block; }.private-pill,.page-heading>.agent-orb { display:none; }.action-grid,.brief-body { grid-template-columns:1fr; }.toolbar,.org-grid { grid-template-columns:1fr; }.roadmap-phase { grid-template-columns:1fr; gap:8px; } }
@media (max-width:520px) { .form-grid,.drawer-grid { grid-template-columns:1fr; } h1 { font-size:38px; } }
/* Academy Atlas daily intelligence */
.brand-mark { width:42px; height:34px; border-color:#e8e5df; background:var(--paper); color:var(--ink); }
.brand-mark svg { width:27px; height:auto; display:block; }
.relationship-icon { height:18px; display:grid; place-items:center; }
.relationship-icon svg { width:18px; height:18px; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }

.agent-brief-card { margin-bottom:14px; overflow:hidden; border:1px solid #d8d5cf; border-top:4px solid var(--brand); border-radius:17px; background:#fff; box-shadow:0 18px 55px rgba(17,17,17,.07); }
.agent-brief-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; padding:24px 25px 18px; }
.agent-brief-heading h2 { font-size:30px; }
.agent-brief-heading p:last-child { max-width:760px; margin:9px 0 0; color:var(--muted); font-size:14px; }
.news-ticker { min-height:48px; display:flex; align-items:stretch; overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fbfaf8; }
.ticker-label { z-index:2; flex:0 0 auto; display:flex; align-items:center; padding:0 16px; background:var(--brand); color:#fff; font:12px PxMono,monospace; letter-spacing:.04em; text-transform:uppercase; }
.ticker-window { min-width:0; overflow:hidden; display:flex; align-items:center; }
.ticker-track { width:max-content; display:flex; align-items:center; animation:ticker 55s linear infinite; }
.ticker-window:hover .ticker-track,.ticker-window:focus-within .ticker-track { animation-play-state:paused; }
.ticker-item { flex:0 0 auto; display:flex; align-items:center; gap:9px; border:0; border-right:1px solid var(--line); padding:0 20px; background:transparent; color:#343331; font-size:13px; white-space:nowrap; cursor:pointer; }
.ticker-item span { color:var(--brand); font:11px PxMono,monospace; text-transform:uppercase; }
.ticker-item:hover { background:#fff1ed; }
@keyframes ticker { to { transform:translateX(-50%); } }
.brief-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(310px,.7fr); }
.priority-column { min-width:0; padding:23px 25px 25px; border-right:1px solid var(--line); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.section-heading h3,.context-column h3 { margin:0; font-size:20px; line-height:1.2; font-weight:500; letter-spacing:-.02em; }
.scroll-hint { color:var(--muted); font:11px PxMono,monospace; }
.priority-action-list { max-height:392px; display:grid; gap:8px; margin-top:16px; padding-right:8px; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:#aaa59e #eeece8; scrollbar-width:thin; }
.priority-action-list::-webkit-scrollbar { width:8px; }.priority-action-list::-webkit-scrollbar-track { border-radius:99px; background:#eeece8; }.priority-action-list::-webkit-scrollbar-thumb { border:2px solid #eeece8; border-radius:99px; background:#aaa59e; }
.priority-action { min-height:74px; display:grid; grid-template-columns:45px 42px minmax(0,1fr) auto; align-items:center; gap:12px; border:1px solid #dfdcd6; border-radius:13px; padding:11px 12px; background:#fbfaf8; cursor:pointer; transition:.15s ease; }
.priority-action:hover { border-color:#b9b5af; background:#fff; box-shadow:0 8px 24px rgba(17,17,17,.05); }
.priority-action.preview-action { grid-template-columns:58px minmax(0,1fr) auto; background:#fff5f2; border-color:#f2c8be; }
.action-rank { color:#77736e; font:12px PxMono,monospace; }.action-rank.preview { color:var(--brand); }
.action-copy b,.priority-action > div > b { display:block; font-size:14px; font-weight:500; }
.action-copy p,.priority-action > div > p { margin:4px 0 0; color:var(--muted); font-size:13px; line-height:1.35; }
.action-status { border:1px solid #efb4a7; border-radius:999px; padding:4px 8px; color:var(--brand); font:11px PxMono,monospace; text-transform:uppercase; }
.complete-action { border:1px solid #cbc7c0; border-radius:8px; padding:7px 9px; background:#fff; color:#4a4845; font-size:12px; cursor:pointer; }
.complete-action:hover { border-color:var(--green); color:var(--green); }
.context-column { padding:23px 22px 25px; background:#f6f5f2; }
.context-column .brief-body { display:grid; grid-template-columns:1fr; gap:8px; margin-top:16px; }
.context-column .brief-item { min-height:auto; display:grid; grid-template-columns:52px 1fr; align-items:center; gap:8px; border:1px solid var(--line); border-radius:10px; padding:10px; background:#fff; cursor:default; }
.context-column .brief-number { color:var(--brand); font:17px PxMono,monospace; }
.context-column .brief-item p { margin:0; color:#585552; font-size:13px; line-height:1.35; }
.context-column .prompt-row { display:grid; gap:6px; margin-top:16px; }
.context-column .prompt-chip { width:100%; border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:#fff; color:#4a4845; text-align:left; font-size:12px; }
.context-column .prompt-chip:hover { border-color:var(--brand); color:var(--brand); }
.coverage-card { margin-bottom:14px; padding:21px; }
.mix-guest-speakers { background:#2458ff; }.mix-hiring-partners { background:#4f8a63; }.mix-instructors { background:#ff6e5a; }.mix-mentors { background:#7b61c9; }.mix-investors { background:#d59636; }
.give-copy.ethos-copy { max-width:290px; color:var(--ink); white-space:normal; line-height:1.35; }

.org-toolbar { display:grid; grid-template-columns:minmax(300px,1fr) minmax(180px,240px) auto auto; align-items:end; gap:10px; margin-bottom:14px; }
.org-search { height:50px; display:flex; align-items:center; gap:10px; border:1px solid #cbc7c0; border-radius:11px; padding:0 14px; background:#fff; box-shadow:0 4px 14px rgba(17,17,17,.03); }
.org-search span { color:var(--brand); font-size:18px; }.org-search input { width:100%; border:0; outline:0; background:transparent; font-size:14px; }
.org-category-label { display:grid; gap:5px; color:var(--muted); font-size:12px; }.org-category-label select { height:50px; border:1px solid #cbc7c0; border-radius:11px; padding:0 12px; background:#fff; color:var(--ink); }
.org-toolbar .button { min-height:50px; }.org-toolbar .record-count { align-self:center; min-width:100px; text-align:right; }.org-empty { grid-column:1 / -1; }

.news-detail { margin-bottom:28px; }.news-focus { border:1px solid var(--line); border-top:4px solid var(--brand); border-radius:16px; padding:25px; background:#fff; box-shadow:var(--shadow); }.news-focus-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; color:var(--muted); font:12px PxMono,monospace; }.news-kind { display:inline-flex; border-radius:999px; padding:4px 8px; background:#fff0eb; color:var(--brand); font:11px PxMono,monospace; text-transform:uppercase; }.news-kind.external { background:#eaf0ff; color:#2458ff; }.news-focus h2 { max-width:980px; margin-top:18px; font-size:31px; line-height:1.12; }.news-intelligence-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:24px; }.news-intelligence-grid section { min-height:150px; border:1px solid var(--line); border-radius:11px; padding:15px; background:#faf9f7; }.news-intelligence-grid section > span { color:var(--brand); font:11px PxMono,monospace; text-transform:uppercase; }.news-intelligence-grid p { margin:9px 0 0; color:#53504d; font-size:14px; line-height:1.48; }.affected-list { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }.affected-list button { border:1px solid var(--line); border-radius:999px; padding:6px 8px; background:#fff; color:var(--ink); font-size:12px; cursor:pointer; }.source-link { display:inline-flex; margin-top:18px; color:var(--brand); text-decoration:none; font-size:14px; }.news-list-heading { margin-bottom:12px; }.news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.news-card { min-height:125px; display:grid; grid-template-columns:1fr auto; align-items:start; gap:12px; border:1px solid var(--line); border-radius:13px; padding:15px; background:#fff; text-align:left; cursor:pointer; }.news-card:hover,.news-card.selected { border-color:var(--brand); }.news-card > div { grid-column:1 / -1; display:flex; align-items:center; gap:9px; }.news-card b { font-size:14px; font-weight:500; line-height:1.35; }.news-source { color:var(--muted); font:11px PxMono,monospace; }.news-arrow { color:var(--brand); font-size:18px; }

.history-scope { border:1px solid var(--line); border-radius:999px; padding:7px 10px; background:#fff; color:var(--muted); font:11px PxMono,monospace; white-space:nowrap; }.history-layout { display:grid; grid-template-columns:minmax(270px,.65fr) minmax(0,1.45fr); gap:14px; align-items:start; }.week-list,.week-detail { overflow:hidden; }.week-list-heading,.week-detail-heading { padding:20px; }.week-detail-heading { border-bottom:1px solid var(--line); }.week-detail-heading p:last-child { margin:7px 0 0; color:var(--muted); font-size:14px; }.week-button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; border:0; border-top:1px solid var(--line); padding:15px 18px; background:#fff; text-align:left; cursor:pointer; }.week-button:hover,.week-button.active { background:#fff3ef; }.week-button.active { box-shadow:inset 3px 0 0 var(--brand); }.week-button b { display:block; font-size:14px; font-weight:500; }.week-button small { display:block; margin-top:3px; color:var(--muted); font-size:12px; }.week-button > span:last-child { color:var(--brand); }.activity-group { padding:18px 20px 6px; }.activity-group + .activity-group { border-top:1px solid var(--line); }.activity-group h3 { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:14px; font-weight:500; }.activity-group h3 span { display:grid; place-items:center; min-width:22px; height:22px; border-radius:999px; background:var(--panel); color:var(--muted); font:11px PxMono,monospace; }.activity-entry { display:grid; grid-template-columns:10px 1fr; gap:11px; padding:12px 0; border-top:1px solid #eeece8; }.activity-dot { width:7px; height:7px; margin-top:7px; border-radius:50%; background:var(--brand); }.activity-entry b { font-size:14px; font-weight:500; }.activity-entry p { margin:4px 0 8px; color:var(--muted); font-size:13px; }.activity-meta { display:flex; flex-wrap:wrap; gap:7px; color:#8b8782; font:11px PxMono,monospace; }.activity-meta span + span::before,.activity-meta button::before { content:"·"; margin-right:7px; color:#bbb6af; }.activity-meta button { border:0; padding:0; background:transparent; color:var(--brand); font:inherit; cursor:pointer; }.history-empty { min-height:330px; display:grid; place-content:center; justify-items:center; padding:30px; text-align:center; }.history-empty > span { color:#c5c1ba; font-size:34px; }.history-empty h3 { margin:8px 0 3px; font-size:17px; }.history-empty p { margin:0; color:var(--muted); font-size:13px; }
.give-ethos { margin:-2px 0 13px; color:var(--ink); font-size:14px; line-height:1.45; }

@media (max-width:1100px) { .brief-layout { grid-template-columns:1fr; }.priority-column { border-right:0; border-bottom:1px solid var(--line); }.org-toolbar { grid-template-columns:1fr 1fr auto; }.org-toolbar .record-count { grid-column:1 / -1; text-align:left; }.news-intelligence-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:780px) { .agent-brief-heading { padding:20px 18px 15px; }.agent-brief-heading h2 { font-size:26px; }.news-ticker { display:block; }.ticker-label { height:31px; width:max-content; }.ticker-window { height:46px; }.priority-column,.context-column { padding:19px 16px; }.priority-action { grid-template-columns:38px 40px minmax(0,1fr); }.priority-action .complete-action { grid-column:2 / -1; justify-self:start; }.priority-action.preview-action { grid-template-columns:52px minmax(0,1fr); }.priority-action.preview-action .action-status { grid-column:2; justify-self:start; }.org-toolbar,.news-intelligence-grid,.news-grid,.history-layout { grid-template-columns:1fr; }.org-toolbar .record-count { grid-column:auto; }.news-focus { padding:19px; }.news-focus h2 { font-size:25px; }.history-scope { display:none; } }

/* People, time-sensitive actions and relationship context */
.person-icon { height:18px; display:grid; place-items:center; }
.person-icon svg { width:18px; height:18px; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }

.brief-layout { display:block; }
.priority-column { border-right:0; }
.priority-action { grid-template-columns:36px 10px 42px minmax(0,1fr) auto auto; }
.priority-action time { color:#5e5a56; font:11px PxMono,monospace; white-space:nowrap; }
.urgency-dot { width:8px; height:8px; display:block; border-radius:50%; background:#d2cec7; }
.urgency-dot.soon { background:#df8a2e; box-shadow:0 0 0 4px rgba(223,138,46,.12); }
.urgency-dot.urgent { background:#d83b31; box-shadow:0 0 0 4px rgba(216,59,49,.12); }
.priority-action:nth-child(-n+2) { border-color:#cdd9e3; background:#f5f9fc; }
.task-glyph { width:40px; height:40px; display:grid; place-items:center; border:1px solid #d9d6d0; border-radius:50%; background:#fff; color:#4b6480; font:13px PxMono,monospace; }

.relevance-strip { display:grid; grid-template-columns:minmax(220px,.52fr) minmax(0,1.48fr); gap:24px; padding:22px 25px 25px; border-top:1px solid var(--line); background:#f5f3ef; }
.relevance-heading h3 { margin:0; font-size:20px; font-weight:500; letter-spacing:-.02em; }
.relevance-heading p:last-child { max-width:360px; margin:8px 0 0; color:var(--muted); font-size:12px; }
.relevance-suggestions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.relevance-suggestion { min-height:72px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 14px; border:1px solid #d8d4cd; border-radius:11px; padding:12px 14px; background:#fff; text-align:left; cursor:pointer; transition:.15s ease; }
.relevance-suggestion:hover { border-color:#a7a199; box-shadow:0 7px 20px rgba(17,17,17,.05); transform:translateY(-1px); }
.relevance-suggestion b { font-size:13px; font-weight:500; }
.relevance-suggestion span { grid-column:1; color:var(--muted); font-size:11px; line-height:1.35; }
.relevance-suggestion i { grid-column:2; grid-row:1 / span 2; color:var(--brand); font-style:normal; }

.mix-guest-speakers { background:#3157c8; }
.mix-hiring-partners { background:#138a6b; }
.mix-instructors { background:#d85f45; }
.mix-mentors { background:#7a4db2; }
.mix-investors { background:#d39a28; }

#overviewView .table-card table { min-width:1080px; table-layout:fixed; }
#overviewView .table-card th,#overviewView .table-card td { width:16.666%; }
#overviewView .person-cell { min-width:0; }
#overviewView .person-cell > span { min-width:0; }

.people-toolbar { grid-template-columns:minmax(280px,1fr) minmax(160px,210px) minmax(160px,210px) auto; }
.occasion-copy { max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.empty-value { color:var(--muted-2); }
.section-helper { margin:-5px 0 14px; color:var(--muted); font-size:11px; line-height:1.45; }
.contact-block { display:grid; gap:10px; border:1px solid var(--line); border-radius:11px; padding:13px; background:#faf9f7; }
.contact-block h4 { margin:0; font-size:11px; font-weight:500; }
.secondary-contact { margin-top:10px; border:1px solid var(--line); border-radius:11px; background:#fff; }
.secondary-contact summary { display:flex; justify-content:space-between; gap:12px; padding:12px 13px; color:var(--ink); font-size:11px; cursor:pointer; list-style:none; }
.secondary-contact summary::-webkit-details-marker { display:none; }
.secondary-contact summary::after { content:"+"; color:var(--brand); font:15px PxMono,monospace; }
.secondary-contact[open] summary::after { content:"−"; }
.secondary-contact summary span { margin-left:auto; color:var(--muted); font-size:10px; }
.secondary-contact .contact-block { margin:0 10px 10px; }
.next-heading { margin-bottom:18px; }
.next-heading h1 { max-width:960px; }
.next-belief { margin-top:14px; }
.next-intro-note { margin:0 0 14px; color:var(--ink); font-size:16px; }
.roadmap-points { display:grid; gap:6px; margin:13px 0 0; padding-left:20px; color:var(--muted); font-size:14px; }
.roadmap-closing { margin-top:14px!important; color:var(--ink)!important; }

@media (max-width:1100px) {
  .people-toolbar { grid-template-columns:1fr 1fr; }
}
@media (max-width:780px) {
  .priority-action { grid-template-columns:31px 9px 40px minmax(0,1fr); }
  .priority-action time { grid-column:4; }
  .priority-action .complete-action { grid-column:4; justify-self:start; }
  .relevance-strip { grid-template-columns:1fr; padding:19px 16px; }
  .relevance-suggestions,.people-toolbar { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* Calm daily-use app shell */
:root { --ink:#202225; --ink-2:#34373b; --paper:#f5f6f7; --panel:#eef0f2; --white:#fff; --muted:#6d7278; --muted-2:#9aa0a6; --line:#dfe2e5; --brand:#d84a36; --brand-soft:#faece8; --green:#34765a; --shadow:0 14px 42px rgba(30,34,38,.07); }
body { background:var(--paper); color:var(--ink); font-size:16px; }
.app-shell { grid-template-columns:224px minmax(0,1fr); transition:grid-template-columns .18s ease; }
.app-shell.sidebar-collapsed { grid-template-columns:76px minmax(0,1fr); }
.rail { padding:22px 16px 18px; border-right:1px solid #d8dcdf; background:#e9ecef; color:var(--ink); transition:width .18s ease,padding .18s ease; }
.rail-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.brand { min-width:0; padding:0; }
.brand-mark { width:38px; height:32px; flex:0 0 auto; border-color:#d4d8dc; background:#f8f9fa; color:#17191b; }
.brand-mark svg { width:25px; }
.brand-copy { min-width:0; white-space:nowrap; }
.brand b { color:#202225; font-size:14px; }
.brand small { color:#7e848a; font-size:9px; }
.rail-collapse { width:28px; height:28px; flex:0 0 auto; border:1px solid #d2d6da; border-radius:8px; background:#f6f7f8; color:#6d7278; cursor:pointer; font-size:18px; line-height:1; }
.rail-collapse:hover { background:#fff; color:var(--ink); }
.nav { gap:4px; margin-top:32px; }
.nav-item,.rail-action { min-height:42px; gap:10px; padding:10px 11px; color:#62686e; font-size:14px; }
.nav-item:hover,.rail-action:hover { color:var(--ink); background:rgba(255,255,255,.58); }
.nav-item.active,.rail-action.active { background:#fff; color:var(--ink); box-shadow:0 1px 4px rgba(32,34,37,.06); }
.nav-icon { width:19px; flex:0 0 19px; color:#4f555b; }
.nav-item.active .nav-icon,.rail-action.active .nav-icon { color:var(--brand); }
.rail-bottom { gap:4px; }
.source-note { border-top-color:#d4d8dc; color:#858b91; font-size:9px; }
.source-note b { color:#51575d; }
.source-note i { background:var(--green); }
.sidebar-collapsed .rail { padding-inline:12px; }
.sidebar-collapsed .rail-top { flex-direction:column; }
.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .source-note span { display:none; }
.sidebar-collapsed .nav-item,.sidebar-collapsed .rail-action { justify-content:center; padding-inline:8px; }
.sidebar-collapsed .source-note { justify-content:center; padding-inline:0; }
.sidebar-collapsed .source-note i { margin-right:0; }

.topbar { height:72px; gap:14px; padding:0 clamp(18px,3vw,42px); border-bottom-color:#e0e3e6; background:rgba(245,246,247,.94); }
.search-wrap { position:relative; flex:1; max-width:720px; }
.command { width:100%; max-width:none; height:42px; border-color:#d7dbdf; border-radius:10px; box-shadow:none; }
.command > span { color:#6f757a; }
.command input { font-size:14px; }
.topbar > .button { margin-left:auto; min-height:40px; background:#25282b; }
.search-results { position:absolute; top:49px; left:0; right:0; z-index:35; overflow:hidden; border:1px solid #d7dbdf; border-radius:12px; background:#fff; box-shadow:0 20px 60px rgba(24,28,32,.14); }
.search-results-heading { display:flex; justify-content:space-between; padding:10px 13px; border-bottom:1px solid var(--line); color:var(--muted); font:11px PxMono,monospace; text-transform:uppercase; }
.search-result { width:100%; display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:10px; border:0; border-bottom:1px solid #eceef0; padding:10px 12px; background:#fff; text-align:left; cursor:pointer; }
.search-result:last-child { border-bottom:0; }
.search-result:hover { background:#f6f7f8; }
.search-result .portrait { width:36px; height:36px; }
.search-result b,.search-result small,.search-result em { display:block; }
.search-result b { font-size:14px; font-weight:500; }
.search-result small { margin-top:1px; color:#5f656b; font-size:12px; }
.search-result em { margin-top:3px; overflow:hidden; color:#8a9096; font-size:11px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.search-result i { color:var(--brand); font-style:normal; }
.search-empty { margin:0; padding:22px; color:var(--muted); text-align:center; font-size:13px; }

.content { padding:30px clamp(18px,3vw,42px) 56px; }
.page { max-width:1320px; }
.workspace-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.workspace-heading h1,.next-note h1 { margin:0; font-size:32px; line-height:1.08; letter-spacing:-.035em; }
.workspace-heading .eyebrow { margin-bottom:6px; }
.workspace-date,.workspace-copy { margin:0; color:var(--muted); font-size:14px; }
.workspace-copy { max-width:680px; margin-top:7px; }
.card { border-color:#dde1e4; border-radius:13px; box-shadow:0 1px 2px rgba(32,34,37,.02); }
.priorities-card { overflow:hidden; }
.simple-card-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:19px 20px 15px; border-bottom:1px solid var(--line); }
.simple-card-heading h2 { font-size:20px; }
.simple-card-heading p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.priority-count { color:var(--muted); font:11px PxMono,monospace; }
.priority-action-list { max-height:none; gap:0; margin:0; padding:0; overflow:visible; }
.priority-action { min-height:88px; grid-template-columns:32px 9px 40px minmax(0,1fr) auto auto; gap:12px; border:0; border-bottom:1px solid #e7e9eb; border-radius:0; padding:13px 20px; background:#fff; }
.priority-action:last-child { border-bottom:0; }
.priority-action:nth-child(-n+2) { border-color:#e7e9eb; background:#fff; }
.priority-action:hover { border-color:#e7e9eb; background:#fafbfb; box-shadow:none; }
.action-rank { color:#9aa0a6; font-size:11px; }
.action-copy .action-change { margin:0 0 5px; color:#6c7278; font-size:13px; line-height:1.35; }
.action-copy b { font-size:15px; line-height:1.35; }
.priority-action time { color:#666c72; font:12px PxMono,monospace; }
.complete-action { border-color:#d6dade; background:#fff; color:#53595f; font-size:12px; }
.complete-action:hover { border-color:#8d969e; color:#222; }
.urgency-dot { background:transparent; box-shadow:inset 0 0 0 1px #c8cdd1; }
.urgency-dot.soon { background:#d7812e; box-shadow:none; }
.urgency-dot.urgent { background:#cb493e; box-shadow:none; }
.task-glyph { border-color:#dde1e4; background:#f7f8f9; color:#676d73; }
.compact-empty { min-height:180px; display:grid; place-items:center; }

.relationship-controls { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:12px; }
.entity-segment,.entity-toggle { display:inline-flex; gap:3px; border:1px solid #d8dcdf; border-radius:10px; padding:3px; background:#eceff1; }
.entity-segment button { min-width:122px; border:0; border-radius:7px; padding:8px 13px; background:transparent; color:#6a7076; cursor:pointer; font-size:14px; }
.entity-segment button.active { background:#fff; color:#202225; box-shadow:0 1px 4px rgba(32,34,37,.08); }
.filter-note { color:var(--muted); font-size:12px; }
.directory-card { min-height:540px; }
th { padding:11px 15px; background:#f5f6f7; color:#747a80; font-size:11px; }
td { padding:13px 15px; font-size:14px; }
.person-cell { min-width:210px; }
.person-cell b { font-size:14px; }
.person-cell small { font-size:12px; }
.role-tag,.signal { font-size:11px; }
.focus-list,.next-move,.contact-summary { max-width:260px; }
.contact-summary { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pagination { font-size:11px; }

.history-scope { background:#fff; }
.next-note { max-width:760px; margin:10px 0 0; }
.next-note > p:not(.eyebrow) { margin:15px 0 0; color:#565c62; font-size:17px; line-height:1.55; }
.next-note ul { display:grid; gap:0; margin:24px 0 0; padding:0; border-top:1px solid var(--line); list-style:none; }
.next-note li { padding:16px 2px; border-bottom:1px solid var(--line); font-size:16px; }

.drawer { width:min(540px,100vw); }
.drawer-hero { background:#292c2f; }
.drawer-section { padding:20px 24px; }
.drawer-section h3 { font-size:14px; }
.drawer label,.dialog-card label { font-size:12px; }
.drawer input,.drawer select,.drawer textarea,.dialog-card input,.dialog-card select { font-size:14px; }
.drawer textarea { min-height:96px; }
.provenance-section { background:#f6f7f8; }
.provenance-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.provenance-grid > div { min-width:0; border:1px solid #dfe2e5; border-radius:9px; padding:10px; background:#fff; }
.provenance-grid span { display:block; margin-bottom:4px; color:var(--muted); font:10px PxMono,monospace; text-transform:uppercase; }
.provenance-grid b { display:block; overflow:hidden; font-size:12px; font-weight:500; text-overflow:ellipsis; }
.contact-block { background:#f6f7f8; }
.contact-block h4 { font-size:12px; }
.secondary-contact summary { font-size:13px; }
.record-events { display:grid; }
.record-event { display:grid; grid-template-columns:8px 1fr; gap:10px; padding:11px 0; border-top:1px solid var(--line); }
.record-event > span { width:7px; height:7px; margin-top:7px; border-radius:50%; background:#8c949b; }
.record-event b { font-size:13px; font-weight:500; }
.record-event p { margin:3px 0; color:var(--muted); font-size:12px; }
.record-event small { color:#92989e; font-size:10px; }
.record-empty { margin:0; color:var(--muted); font-size:13px; }
.log-interaction { margin-top:14px; border:1px solid var(--line); border-radius:10px; }
.log-interaction summary { padding:12px 13px; cursor:pointer; font-size:13px; }
.log-interaction form { display:grid; gap:10px; padding:0 12px 12px; }
.log-interaction textarea { min-height:76px; }

dialog { width:min(680px,calc(100vw - 24px)); }
.add-form { max-height:min(820px,calc(100vh - 30px)); overflow-y:auto; }
.entity-toggle { width:max-content; }
.entity-toggle label { display:block; color:inherit; cursor:pointer; }
.entity-toggle input { position:absolute; opacity:0; pointer-events:none; }
.entity-toggle span { display:block; min-width:118px; border-radius:7px; padding:8px 14px; color:#6a7076; text-align:center; }
.entity-toggle input:checked + span { background:#fff; color:#202225; box-shadow:0 1px 4px rgba(32,34,37,.08); }
.add-type-fields { display:grid; gap:12px; }
.contact-fieldset { margin:0; border:1px solid var(--line); border-radius:10px; padding:12px; }
.contact-fieldset legend { padding:0 5px; color:#5d6369; font-size:12px; }

@media (max-width:900px) {
  .filter-note { display:none; }
  .priority-action { grid-template-columns:28px 8px 38px minmax(0,1fr); }
  .priority-action time { grid-column:4; }
  .priority-action .complete-action { grid-column:4; justify-self:start; }
}
@media (max-width:780px) {
  .app-shell,.app-shell.sidebar-collapsed { grid-template-columns:1fr; }
  .rail { position:fixed; width:224px; }
  .rail-collapse { display:none; }
  .sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .source-note span { display:initial; }
  .sidebar-collapsed .rail-top { flex-direction:row; }
  .sidebar-collapsed .nav-item,.sidebar-collapsed .rail-action { justify-content:flex-start; padding-inline:11px; }
  .topbar { padding:0 13px; }
  .topbar > .button { width:40px; padding:0; }
  .add-label { display:none; }
  .command kbd { display:none; }
  .content { padding:24px 13px 44px; }
  .workspace-heading { align-items:flex-start; }
  .workspace-date { display:none; }
  .relationship-controls { align-items:stretch; }
  .entity-segment { width:100%; }
  .entity-segment button { min-width:0; flex:1; }
  .search-results { position:fixed; top:64px; left:10px; right:10px; }
  .history-layout { grid-template-columns:1fr; }
  .provenance-grid,.drawer-grid,.form-grid { grid-template-columns:1fr; }
}
[hidden] {
  display: none !important;
}

/* Final demo palette: warm ivory, aubergine and muted jewel accents */
:root {
  --ink:#261f2a;
  --ink-2:#3d3342;
  --paper:#f6f1ee;
  --panel:#eee6e8;
  --white:#fffdf9;
  --muted:#756a74;
  --muted-2:#9d929a;
  --line:#ded2d8;
  --brand:#963d52;
  --brand-deep:#5a2b3d;
  --brand-soft:#f4e5e9;
  --green:#587b6b;
  --shadow:0 18px 52px rgba(51,35,52,.09);
}
body { background:linear-gradient(145deg,#f8f4f0 0%,#f4eff0 58%,#f2edef 100%); color:var(--ink); }
.rail { border-right-color:#d7c8cf; background:#e9dfe2; color:var(--ink); }
.brand-mark { border-color:#d8cbd0; background:#fffaf5; color:#171319; box-shadow:0 4px 16px rgba(60,39,53,.05); }
.brand b { color:var(--ink); }
.brand small { color:#897b84; }
.rail-collapse { border-color:#d3c4ca; background:#f5edef; color:#6f5e69; }
.rail-collapse:hover { background:#fffaf7; color:var(--brand-deep); }
.nav-item,.rail-action { color:#6d5f68; }
.nav-item:hover,.rail-action:hover { color:var(--ink); background:rgba(255,252,248,.55); }
.nav-item.active,.rail-action.active { background:#fffaf7; color:var(--ink); box-shadow:0 6px 22px rgba(70,46,63,.07); }
.nav-icon { color:#7b6873; }
.nav-item.active .nav-icon,.rail-action.active .nav-icon { color:var(--brand); }
.source-note { border-top-color:#d5c6cc; color:#8c7f87; }
.source-note b { color:#62545e; }
.topbar { border-bottom-color:#dfd3d8; background:rgba(248,244,241,.9); }
.command { border-color:#dacdd3; background:#fffdf9; box-shadow:0 5px 18px rgba(57,38,52,.04); }
.command > span { color:var(--brand); }
.topbar > .button { background:var(--ink-2); box-shadow:0 8px 22px rgba(48,34,50,.12); }
.topbar > .button:hover { background:var(--brand-deep); }
.search-results { border-color:#d9cbd1; background:#fffdf9; box-shadow:0 24px 64px rgba(47,31,48,.16); }
.search-result { border-bottom-color:#eee5e8; background:#fffdf9; }
.search-result:hover { background:#f8f0f2; }
.card { border-color:#ddd1d6; background:#fffdf9; box-shadow:0 8px 28px rgba(51,35,52,.045); }
.workspace-heading h1,.next-note h1 { color:#2a222e; }
.workspace-date,.workspace-copy { color:var(--muted); }
.simple-card-heading { border-bottom-color:#e6dce0; background:linear-gradient(180deg,#fffdf9,#fdf9f7); }
.priorities-card,.coverage-card,.overview-priority-card { margin-bottom:14px; }

.priorities-card .priority-action-list {
  max-height:380px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#a78c99 #f2eaed;
}
.priorities-card .priority-action-list::-webkit-scrollbar { width:9px; }
.priorities-card .priority-action-list::-webkit-scrollbar-track { background:#f2eaed; }
.priorities-card .priority-action-list::-webkit-scrollbar-thumb { border:2px solid #f2eaed; border-radius:999px; background:#a78c99; }
.priority-action { border-bottom-color:#eadfe3; background:#fffdf9; }
.priority-action:nth-child(-n+2) { border-color:#eadfe3; background:#fffdf9; }
.priority-action:hover { border-color:#eadfe3; background:#faf2f4; }
.action-rank { color:#a09199; }
.action-copy .action-change { color:#776c75; }
.priority-action time { color:#6d6069; }
.complete-action { border-color:#d8cbd1; background:#fffaf7; color:#62545e; }
.complete-action:hover { border-color:#856777; color:var(--brand-deep); background:#f8eef1; }
.urgency-dot { box-shadow:inset 0 0 0 1px #c7b8bf; }
.task-glyph { border-color:#dccfd5; background:#f6eef1; color:#765a6a; }

.coverage-card { overflow:hidden; }
.coverage-card .mix-chart { grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0; padding:18px 20px 22px; }
.coverage-card .mix-row { min-width:0; grid-template-columns:minmax(0,1fr) auto; gap:10px; border:1px solid #e5dade; border-radius:11px; padding:13px; background:#fdf9f7; font-size:14px; }
.coverage-card .mix-row > span { color:#514550; font-size:13px; line-height:1.25; white-space:normal; }
.coverage-card .mix-row > b { color:#594b55; font:12px PxMono,monospace; }
.coverage-card .mix-track { grid-column:1 / -1; height:7px; background:#eee5e8; }
.mix-guest-speakers { background:#6977a7 !important; }
.mix-hiring-partners { background:#5f846f !important; }
.mix-instructors { background:#b56555 !important; }
.mix-mentors { background:#88679a !important; }
.mix-investors { background:#bc8446 !important; }

#overviewView .overview-priority-card table { min-width:760px; table-layout:fixed; }
#overviewView .overview-priority-card th,#overviewView .overview-priority-card td { width:20%; }
#overviewView .overview-priority-card .person-cell { min-width:0; }
#overviewView .overview-priority-card .person-cell > span { min-width:0; }
.text-button { color:var(--brand); font-size:13px; }
.text-button:hover { color:var(--brand-deep); }
th { border-color:#e4dade; background:#f3ecee; color:#756771; }
td { border-bottom-color:#ebe1e5; }
tbody tr:hover { background:#faf2f4; }
.role-tag,.signal { border-color:#dbced4; color:#5f515b; background:#fffaf7; }
.role-tag.founding { border-color:#b47a89; color:#843d50; background:#fbf0f3; }
.role-tag.hiring { background:#edf4ef; color:#4f6e5e; }
.signal.high::before { background:var(--brand); }
.signal.medium::before { background:#bc8446; }
.portrait { border-color:#e0d4d9; background:#fffaf7; }
.portrait.org { background:#fffaf7; }

.entity-segment,.entity-toggle { border-color:#d8cad0; background:#eee4e8; }
.entity-segment button,.entity-toggle span { color:#756771; }
.entity-segment button.active,.entity-toggle input:checked + span { background:#fffaf7; color:var(--ink); box-shadow:0 4px 14px rgba(51,35,52,.08); }
.directory-card { background:#fffdf9; }
.page-buttons button { border-color:#dacdd3; background:#fffaf7; }
.week-button { border-color:#e7dce0; background:#fffdf9; }
.week-button:hover,.week-button.active { background:#f8eef1; }
.week-button.active { box-shadow:inset 3px 0 0 var(--brand); }
.activity-entry { border-top-color:#eadfe3; }
.provenance-section,.contact-block { background:#f7f0f2; }
.provenance-grid > div { border-color:#e2d6db; background:#fffdf9; }
.drawer { background:#fffdf9; box-shadow:-24px 0 72px rgba(43,29,44,.2); }
.drawer-hero { background:#302535; }
.drawer-close { border-color:#58475b; }
.drawer-tags span { border-color:#5a495d; color:#d9cdd7; }
.drawer-section,.secondary-contact,.log-interaction { border-color:#e2d6db; }
.drawer input,.drawer select,.drawer textarea,.dialog-card input,.dialog-card select { border-color:#dacdd3; background:#fffdf9; }
.give-field input { border-color:#b77f8d; background:#fbf0f3; }
dialog { background:#fffdf9; }
dialog::backdrop { background:rgba(31,22,33,.52); }
.contact-fieldset { border-color:#ddcfd5; }
.next-note ul,.next-note li { border-color:#dfd3d8; }

@media (max-width:1100px) {
  .coverage-card .mix-chart { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:780px) {
  .coverage-card .mix-chart { grid-template-columns:1fr; padding:14px; }
  .priorities-card .priority-action-list { max-height:420px; }
}

/* Academy website palette: chalk, ink and coral */
:root {
  --ink:#151515;
  --ink-2:#242220;
  --paper:#f3f1ec;
  --panel:#e9e6df;
  --white:#fffdf8;
  --muted:#6d6964;
  --muted-2:#96918a;
  --line:#dad5cd;
  --brand:#f04e36;
  --brand-deep:#c83a29;
  --brand-soft:#fde1da;
  --green:#54745d;
  --shadow:0 18px 52px rgba(26,23,20,.08);
}

body { background:var(--paper); color:var(--ink); }
.rail { border-right-color:#d7d2ca; background:#e8e5df; color:var(--ink); }
.brand-mark { border-color:#d4cfc7; background:#f8f6f1; color:#111; box-shadow:none; }
.brand b { color:#111; }
.brand small { color:#77726c; }
.rail-collapse { border-color:#d1ccc4; background:#f4f1eb; color:#625e58; }
.rail-collapse:hover { background:#fffdf8; color:#111; }
.nav-item,.rail-action { color:#5f5b56; }
.nav-item:hover,.rail-action:hover { color:#111; background:#f1ede7; }
.nav-item.active,.rail-action.active { background:#f8d8d1; color:#111; box-shadow:none; }
.nav-icon { color:#4c4945; }
.nav-item.active .nav-icon,.rail-action.active .nav-icon { color:var(--brand); }
.source-note { border-top-color:#d3cec6; color:#837e77; }
.source-note b { color:#4f4b46; }

.topbar { border-bottom-color:#ddd8d0; background:rgba(243,241,236,.95); }
.command { border-color:#d7d2ca; background:#fffdf8; box-shadow:0 4px 16px rgba(25,23,20,.035); }
.command > span { color:var(--brand); }
.button.primary,.topbar > .button { background:var(--brand); color:#fff; box-shadow:0 7px 18px rgba(240,78,54,.18); }
.button.primary:hover,.topbar > .button:hover { background:var(--brand-deep); }
.button.ghost { border-color:var(--line); background:#fffdf8; }

.search-results { border-color:#d8d3cb; background:#fffdf8; box-shadow:0 24px 64px rgba(24,21,18,.15); }
.search-result { border-bottom-color:#ece8e1; background:#fffdf8; }
.search-result:hover { background:#fff1ed; }
.search-result small { color:#5f5b56; }
.search-result em { color:#8b867f; }

.card { border-color:#ddd8d0; background:#fffdf8; box-shadow:0 6px 24px rgba(28,24,20,.035); }
.workspace-heading h1,.next-note h1 { color:#151515; }
.workspace-date,.workspace-copy { color:var(--muted); }
.simple-card-heading { border-bottom-color:#e5e0d8; background:#fffdf8; }

.priorities-card .priority-action-list {
  scrollbar-color:#9e9890 #eee9e2;
}
.priorities-card .priority-action-list::-webkit-scrollbar-track { background:#eee9e2; }
.priorities-card .priority-action-list::-webkit-scrollbar-thumb { border-color:#eee9e2; background:#9e9890; }
.priority-action { border-bottom-color:#e9e4dc; background:#fffdf8; }
.priority-action:nth-child(-n+2) { border-color:#e9e4dc; background:#fffdf8; }
.priority-action:hover { border-color:#e9e4dc; background:#fff4f1; }
.action-rank { color:#9a948c; }
.action-copy .action-change { color:#716c66; }
.priority-action time { color:#625d57; }
.complete-action { border-color:#d6d1c9; background:#fffdf8; color:#514d48; }
.complete-action:hover { border-color:#e69a8c; color:var(--brand-deep); background:#fff0ec; }
.urgency-dot { box-shadow:inset 0 0 0 1px #c5bfb7; }
.task-glyph { border-color:#dcd7cf; background:#f6f3ed; color:#2d2b29; }

.coverage-card .mix-row { border-color:#e4dfd7; background:#fbf8f3; }
.coverage-card .mix-row > span { color:#3e3b37; }
.coverage-card .mix-row > b { color:#4d4944; }
.coverage-card .mix-track { background:#ebe7df; }
.mix-guest-speakers { background:#f04e36 !important; }
.mix-hiring-partners { background:#718258 !important; }
.mix-instructors { background:#b85b45 !important; }
.mix-mentors { background:#8a657a !important; }
.mix-investors { background:#c49232 !important; }

.text-button { color:var(--brand); }
.text-button:hover { color:var(--brand-deep); }
th { border-color:#e2ddd5; background:#f0ede7; color:#6d6862; }
td { border-bottom-color:#e9e5de; }
tbody tr:hover { background:#fff3ef; }
.role-tag,.signal { border-color:#d8d3cb; color:#56514c; background:#fffdf8; }
.role-tag.founding { border-color:#efa395; color:#b63221; background:#fff0ec; }
.role-tag.hiring { background:#edf2eb; color:#496852; }
.signal.high::before { background:var(--brand); }
.signal.medium::before { background:#c49232; }
.portrait { border-color:#ddd8d0; background:#fffdf8; }
.portrait.org { background:#fffdf8; }

.entity-segment,.entity-toggle { border-color:#d7d2ca; background:#e9e6df; }
.entity-segment button,.entity-toggle span { color:#67625c; }
.entity-segment button.active,.entity-toggle input:checked + span { background:#fffdf8; color:#111; box-shadow:0 2px 8px rgba(28,24,20,.06); }
.directory-card { background:#fffdf8; }
.page-buttons button { border-color:#d7d2ca; background:#fffdf8; }
.week-button { border-color:#e5e0d8; background:#fffdf8; }
.week-button:hover,.week-button.active { background:#fff0ec; }
.week-button.active { box-shadow:inset 3px 0 0 var(--brand); }
.activity-entry { border-top-color:#e8e3db; }

.provenance-section,.contact-block { background:#f3f0ea; }
.provenance-grid > div { border-color:#ddd8d0; background:#fffdf8; }
.drawer { background:#fffdf8; box-shadow:-24px 0 72px rgba(20,18,16,.2); }
.drawer-hero { background:#171717; }
.drawer-close { border-color:#4b4b4b; }
.drawer-tags span { border-color:#4f4f4f; color:#dedbd5; }
.drawer-section,.secondary-contact,.log-interaction { border-color:#e0dbd3; }
.drawer input,.drawer select,.drawer textarea,.dialog-card input,.dialog-card select { border-color:#d7d2ca; background:#fffdf8; }
.give-field input { border-color:#efa395; background:#fff0ec; }
dialog { background:#fffdf8; }
dialog::backdrop { background:rgba(17,17,17,.52); }
.contact-fieldset { border-color:#d9d4cc; }
.next-note ul,.next-note li { border-color:#dfdad2; }

/* Keep the priority surface clearly anchored in the Academy red. */
.priorities-card {
  border-top:4px solid var(--brand);
  box-shadow:0 8px 30px rgba(28,24,20,.055);
}
