*{box-sizing:border-box}body{margin:0;background:var(--color-canvas);color:#0a0a0a;font:14px/1.5 var(--font-geist)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;background:white;border:1px solid #e5e5e5;border-radius:18px;padding:9px 16px;transition:background .15s}button:hover{background:#ededed}button:focus-visible,a:focus-visible{outline:2px solid #171717}.primary{background:#171717;color:#fff;border-color:#171717}.primary:hover{background:#333}.muted,small{color:#737373}small{font-size:12px}aside{width:238px;position:fixed;inset:0 auto 0 0;background:#fafafa;border-right:1px solid #e5e5e5;padding:28px 18px;display:flex;flex-direction:column;gap:24px}.brand{font-size:20px;font-weight:600;letter-spacing:-.7px;padding:0 10px;display:flex;gap:10px;align-items:center}.mark{background:#171717;color:#fff;width:32px;height:32px;border-radius:10px;display:grid;place-items:center}.navgroup{display:grid;gap:5px}.navgroup>small{padding:0 12px 8px;text-transform:uppercase;letter-spacing:.6px}.nav{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:18px;width:100%}.nav.active{background:#eaeaea;font-weight:600}.nav svg{width:18px;height:18px}.sidebottom{margin-top:auto;border-top:1px solid #e5e5e5;padding:20px 10px 0}.avatar{background:#eaeaea;border:2px solid #fafafa;display:inline-grid;place-items:center;border-radius:50%;width:32px;height:32px;font-size:12px;font-weight:600}.avatar.dark{background:#171717;color:#fff}main{margin-left:238px}header{height:80px;background:#fafafa;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.actions{display:flex;align-items:center;gap:10px}#content{max-width:1500px;margin:auto;padding:36px 38px 60px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}h1{font-size:36px;line-height:1.15;letter-spacing:-1.3px;margin:0 0 10px;font-weight:600}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{font-size:16px;margin:0 0 6px}p{margin:6px 0 0}.badge{font-size:12px;border:1px solid #e5e5e5;border-radius:18px;padding:3px 9px;display:inline-block;background:#fafafa;white-space:nowrap}.badge.dark{background:#171717;color:white;border-color:#171717}.notice{display:flex;justify-content:space-between;gap:16px;border:1px solid #ddd;border-radius:18px;padding:10px 16px;margin-bottom:26px;color:#666;background:#fafafa;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.card{background:white;border:1px solid #e5e5e5;border-radius:24px;padding:22px;min-width:0}.stat .value{font-size:32px;font-weight:600;letter-spacing:-1px;margin:10px 0 6px;font-variant-numeric:tabular-nums}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:24px}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.tabs{display:flex;gap:4px;background:#ececec;border-radius:18px;padding:4px;width:max-content;max-width:100%;flex-wrap:wrap;margin-bottom:18px}.tabs button{background:none;border:0;padding:5px 14px}.tabs button.active{background:#fff;box-shadow:0 1px 3px #0001}.taskrow{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #eee}.taskrow:last-child{border:0}.check{width:20px;height:20px;border-radius:6px;padding:0;flex-shrink:0}.check.done{background:#171717;color:white}.taskbody{flex:1;min-width:0}.tasktitle{background:none;border:0;border-radius:0;padding:0;text-align:left;font-weight:500}.tasktitle:hover{background:none;text-decoration:underline}.taskmeta{display:flex;gap:10px;align-items:center;margin-top:5px;color:#737373;font-size:12px}.due{font-size:12px;text-align:right}.urgent{font-weight:600}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.projectcard{display:flex;flex-direction:column;gap:20px}.projecttop{display:flex;justify-content:space-between;align-items:center}.projecticon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #ddd;border-radius:12px;font-weight:600}.projectline{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eee}.projectfoot{display:flex;justify-content:space-between;align-items:center}.bar{height:6px;background:#eee;border-radius:4px;overflow:hidden;margin:8px 0}.bar i{display:block;background:#171717;height:100%}.cashchart{height:140px;display:flex;align-items:end;gap:12px;margin:20px 0}.cashcol{flex:1;text-align:center;font-size:12px;color:#737373}.bars{height:110px;display:flex;gap:4px;align-items:end;justify-content:center;margin-bottom:8px}.bars i{background:#171717;width:22px;border-radius:5px 5px 0 0}.bars i.out{background:#d5d5d5}.legend{display:flex;gap:18px;font-size:12px;color:#737373}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#171717;margin-right:5px}.dot.light{background:#ccc}.toolbar{display:flex;gap:12px;margin-bottom:22px;flex-wrap:wrap}input,select,textarea{border:1px solid #e5e5e5;background:#f5f5f5;padding:10px 13px;border-radius:18px;min-width:0}input[type=search]{width:230px;background:white}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:500;color:#737373;padding:12px 14px;border-bottom:1px solid #ddd}td{padding:17px 14px;border-bottom:1px solid #eee}td button{font-size:12px;padding:5px 10px}.board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:16px;overflow:auto}.column{background:#ededed;border-radius:24px;padding:16px}.deal{background:white;border:1px solid #ddd;border-radius:18px;padding:16px;margin-top:14px;cursor:pointer}.deal:hover{border-color:#999}.deal strong{display:block;margin:16px 0}.empty{padding:30px;color:#737373;text-align:center}.resource{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #eee;gap:18px}.resource a{color:#171717}.team{display:grid;grid-template-columns:1fr 1fr;gap:20px}dialog{border:1px solid #ddd;border-radius:24px;padding:28px;width:540px;max-width:94vw;max-height:90vh}dialog::backdrop{background:#0005}form{display:grid;gap:16px}form label{display:grid;gap:6px;font-size:13px}form .fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}form textarea{min-height:80px}form footer{display:flex;justify-content:space-between;margin-top:8px}.error{color:#b00000}#toast{position:fixed;bottom:24px;left:50%;background:#171717;color:white;padding:12px 22px;border-radius:18px;display:none;z-index:10}::selection{background:#222;color:white}button:disabled{opacity:.5;cursor:default}@media(min-width:1600px){#content{padding-top:48px}}@media(max-width:1100px){aside{width:200px}main{margin-left:200px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.projects{grid-template-columns:1fr}.heading{align-items:start}h1{font-size:30px}}@media(max-width:700px){aside{position:static;width:100%;padding:16px;gap:16px}.brand{padding:0}.navgroup{display:flex;overflow:auto}.navgroup>small,.sidebottom{display:none}.nav{width:auto;white-space:nowrap}.nav svg{display:none}main{margin:0}header{padding:14px 18px;height:auto;flex-wrap:wrap}#content{padding:24px 16px}.heading{flex-wrap:wrap}.heading p{max-width:34ch}.stats{gap:10px}.stat{padding:16px}.stat .value{font-size:25px}.notice{display:block}.team{grid-template-columns:1fr}.actions{flex-wrap:wrap}header input[type=search]{width:180px}form .fields{grid-template-columns:1fr}.taskmeta{flex-wrap:wrap}}
.mark{flex-shrink:0}.heading>.actions{flex-shrink:0}.heading .primary{white-space:nowrap}.brand{font-size:18px;gap:7px}@media(max-width:1100px){.heading{flex-wrap:wrap}.heading>.actions{margin-top:4px}}
/* Smoke / graphite — adapted from the user's November reference. */
:root{color-scheme:dark;--color-canvas:#111213;--color-paper:#111214;--color-ink:#f1f1ef;--color-mid-gray:#a5a5a8;--color-hairline:#303134;--surface-card:#111214}
body{background:#151617;color:#f1f1ef;background-image:radial-gradient(ellipse at 88% 5%,#74757755,transparent 42%),radial-gradient(ellipse at 25% 85%,#56585a44,transparent 52%);background-attachment:fixed}body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.11;background-image:url('grain.svg')}
aside{background:#0c0d0ef2;border-right:1px solid #ffffff0d;color:#bbbcbf}.brand{color:#f4f4f2}.brand .muted{color:#88898c}.mark{background:#f1f1ef;color:#0c0d0e;border:1px solid #fff6}.nav{color:#a7a8ab;border:1px solid transparent;border-radius:12px}.nav:hover{background:#ffffff08;color:#fff}.nav.active{background:#252628;color:#fff;border-color:#ffffff12;box-shadow:0 2px 8px #0002}.navgroup>small{color:#777a7f;font-size:10px;letter-spacing:1.3px}.nav svg{color:inherit}.sidebottom{border-color:#ffffff12}.sidebottom p{color:#d7d7d7}header{background:#10111285;border-color:#ffffff0d;backdrop-filter:blur(18px);height:78px;color:#dedee0}header .muted{color:#959699}#content{padding-top:42px;max-width:1600px}h1{font-size:40px;font-weight:500;letter-spacing:-1.5px}h2{font-size:17px;font-weight:500;letter-spacing:-.35px}h3{font-weight:500}.muted,small,.taskmeta,.cashcol,.legend,.empty{color:#a5a5a8}.heading p{color:#b5b5b8}.heading{margin-bottom:26px}.card{background:linear-gradient(130deg,#161719,#0c0d0f);border:1px solid #ffffff0c;box-shadow:0 8px 28px #00000020,inset 0 1px 0 #ffffff03;border-radius:24px;padding:24px}.stats{gap:12px;padding:10px;background:#090a0b66;border:1px solid #ffffff0a;border-radius:30px}.stat{box-shadow:none;background:#101113;border-color:#ffffff06;padding:20px 22px}.stat .muted{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#c3c3c6}.stat .value{font-size:36px;font-weight:500;color:#f7f7f5;letter-spacing:-1.4px;margin:17px 0 9px}.stat small{font-size:11px;color:#999a9d}button{background:#242527;border-color:#ffffff14;color:#e8e8e8;border-radius:12px;font-size:13px}button:hover{background:#333538;border-color:#ffffff28}.primary{background:#f0f0ed;color:#141516;border-color:#f0f0ed;box-shadow:0 2px 12px #fff1}.primary:hover{background:#fff;color:#000;border-color:#fff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #d5d5d8;outline-offset:3px}.badge{background:#252628;border:1px solid #ffffff10;color:#c9c9cc;font-size:10px;letter-spacing:.35px;border-radius:6px;padding:4px 8px}.badge.dark{background:#dededd;color:#151516;border-color:#dededd}.notice{background:transparent;border:0;border-bottom:1px solid #ffffff12;border-radius:0;padding:0 0 13px;font-size:11px;color:#a1a1a4;margin-bottom:22px;gap:30px}.notice>span:last-child{text-align:right}.toolbar{margin-bottom:24px}.toolbar>.muted{font-size:12px}input,select,textarea,input[type=search]{background:#191a1c;border-color:#ffffff16;color:#e5e5e5;border-radius:12px}input::placeholder{color:#a5a5a8}input[type=search]{background:#ffffff05}.tabs{background:#090a0c;border:1px solid #ffffff0c;border-radius:12px;padding:4px}.tabs button{color:#aaa;border-radius:8px}.tabs button.active{background:#303134;color:#fff;box-shadow:0 2px 4px #0003}.taskrow{border-color:#ffffff0c;padding:18px 0}.tasktitle{color:#e4e4e6;background:none}.tasktitle:hover{background:none;color:#fff}.check{background:#17181a;border-color:#63666b;border-radius:50%;width:18px;height:18px}.check:hover{background:#424448}.check.done{background:#e1e1df;color:#111;border-color:#e1e1df}.due{color:#b6b6b8}.due.urgent{color:#eee}.avatar{background:#3b3d40;color:#eaeaea;border:2px solid #18191b;width:30px;height:30px}.avatar.dark{background:#d6d6d2;color:#191a1b}.projectcard{background:linear-gradient(145deg,#232426,#111214);gap:22px}.projecticon{background:#ffffff05;border:1px solid #ffffff20;color:#ededeb;border-radius:12px;font-size:14px}.projectline{border-color:#ffffff0e;color:#d8d8da}.bar{background:#383a3d;height:4px;margin-top:16px}.bar i{background:#e2e2df}.bars i{background:#e3e3df;border-radius:8px 8px 2px 2px;width:26px}.bars i.out{background:#64666a}.dot{background:#e3e3df}.dot.light{background:#64666a}.cashchart{margin:24px 0}.grid{gap:14px}.projects{gap:14px}.sectionhead>button{background:transparent;color:#b4b4b7;border-color:#ffffff12;font-size:11px}.sectionhead>button:hover{background:#ffffff09;color:#fff}.column{background:#090a0c88;border:1px solid #ffffff0c;border-radius:22px}.deal{background:linear-gradient(135deg,#27282a,#17181a);border-color:#ffffff14;color:#e4e4e6}.deal:hover{border-color:#ffffff45}.deal strong{font-size:23px;font-weight:500;letter-spacing:-.7px}.resource{border-color:#ffffff12}.resource a{color:#eee}th{color:#a5a5a8;border-color:#ffffff18}td{border-color:#ffffff0d;color:#dedee0}dialog{background:#17181a;color:#eee;border-color:#ffffff24;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#0009;backdrop-filter:blur(7px)}.error{color:#ff9393}#toast{background:#ededeb;color:#111;border:1px solid #fff4;box-shadow:0 8px 25px #0004}::selection{background:#dadad7;color:#111}*{scrollbar-width:thin;scrollbar-color:#535558 #121315}.card{animation:surface-in .5s cubic-bezier(.16,1,.3,1) both}@keyframes surface-in{from{translate:0 8px;opacity:.6}to{translate:0 0;opacity:1}}@media(prefers-reduced-motion:reduce){.card{animation:none}*{transition:none!important}}@media(min-width:1400px){.grid{grid-template-columns:1.45fr 1fr}#content{padding:44px 44px 64px}.stats{margin-bottom:24px}}@media(max-width:1100px){h1{font-size:34px}.brand{font-size:16px}.stats .value{font-size:30px}}@media(max-width:700px){aside{background:#0c0d0e}.brand{font-size:20px}.nav{border-radius:10px;padding:9px 12px}.notice>span:last-child{text-align:left;display:block;margin-top:6px}.stats{padding:6px;border-radius:24px}.stat{padding:17px 12px;border-radius:18px}.stat .value{font-size:27px}.stat .muted{font-size:10px}.card{padding:20px}.stat{padding:17px 12px}header{backdrop-filter:none}.heading>.actions{flex-wrap:wrap}h1{font-size:34px}.heading p{font-size:13px}}
.debtfocus{padding:32px;background:linear-gradient(125deg,#292b2e,#0b0c0e)}.debtcounter{font-size:clamp(48px,7vw,88px);line-height:1.2;letter-spacing:-.04em;font-weight:500;font-variant-numeric:tabular-nums;margin:16px 0 28px}.debtfocus .bar{height:8px;margin-bottom:14px}.debtfocus .projectfoot{gap:16px;flex-wrap:wrap;color:#bbb}
/* Second Brain: cards, detail panel, calendar and command search. */
aside{overflow-y:auto;gap:18px}.nav{padding:9px 12px}.navgroup{gap:3px}.navgroup>small{padding-bottom:4px}.sidebottom{padding-top:14px}.taskboard{display:grid;grid-template-columns:repeat(4,minmax(225px,1fr));gap:14px;overflow:auto}.tasktile{background:linear-gradient(130deg,#242628,#17181a);border:1px solid #ffffff14;border-radius:16px;padding:17px;margin-top:14px}.tasktile .sectionhead{margin-bottom:12px}.tiletitle{display:block;background:none;border:0;font-size:15px;line-height:1.5;text-align:left;padding:0;font-weight:500}.tiletitle:hover{background:none;text-decoration:underline}.tasktile .projectfoot{margin:18px 0 14px}.tasktile select{width:100%;font-size:12px;padding:6px 10px}.detailpanel{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(1000px,95vw);max-width:95vw;border-radius:24px 0 0 24px;padding:28px;overscroll-behavior:contain}.detailgrid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:30px}.detailmain,.detailmeta{display:flex;flex-direction:column;gap:18px;min-width:0}.detailmeta{background:#101113;border:1px solid #ffffff0e;border-radius:18px;padding:20px;align-self:start}.detailmeta p{font-size:12px}.detailsection{border-top:1px solid #ffffff16;padding-top:22px;margin-top:8px}.editrow{display:flex;align-items:center;gap:8px;margin-bottom:10px}.editrow input{width:100%;min-width:0}.editrow input[type=checkbox]{width:18px;height:18px;accent-color:#ccc;flex-shrink:0}.editrow button{padding:7px 10px}.comment{padding:12px 0;border-bottom:1px solid #ffffff0d}.comment p{white-space:pre-wrap;overflow-wrap:anywhere}.linkchip{color:#e3e3df;display:inline-block;margin:0 10px 6px 0;text-underline-offset:4px}.detailpanel footer{position:sticky;bottom:-28px;padding:18px 0;background:#17181a;border-top:1px solid #ffffff14}.conflict{background:#3b2b26;color:#ffcfb8;border:1px solid #bc795650;border-radius:12px;padding:12px;font-size:13px}.calendarwrap{overflow:auto}.calendargrid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px;border-top:1px solid #ffffff16;border-left:1px solid #ffffff16;border-radius:16px;overflow:hidden}.weekday{padding:12px;text-align:center;background:#17181a;color:#aaa;border-right:1px solid #ffffff16}.calday{min-height:150px;background:#131416;border-right:1px solid #ffffff12;border-bottom:1px solid #ffffff12;padding:8px}.calday.othermonth{background:#0d0e10}.othermonth .daynumber{color:#666}.calday.istoday{background:#242628}.daynumber{background:transparent;border:0;padding:3px 9px;margin-bottom:6px;font-size:12px}.istoday .daynumber{background:#dededd;color:#111}.calevent{display:flex;flex-direction:column;align-items:start;text-align:left;width:100%;padding:8px;border-radius:8px;margin-bottom:6px;background:#35373a;border-color:#ffffff14;gap:2px;overflow-wrap:anywhere}.calevent small{font-size:10px;color:#c3c3c6}.calevent span{font-size:12px}.calevent.deadline{background:#1b1d20;border-style:dashed}.calhint{margin-bottom:20px;max-width:85ch;font-size:12px}.agendaday{margin-bottom:24px}.agendaday h3{color:#aaa;font-size:13px}.agendaentry{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;background:none;border:0;border-bottom:1px solid #ffffff14;border-radius:0;text-align:left;padding:16px 0}.agendaentry span{color:#aaa;font-size:12px}.agendaentry b{font-weight:500;flex:1}.upcoming{margin-bottom:24px}.capturelabel{display:grid;gap:8px;margin:22px 0 16px}.capturelabel textarea{width:100%}#capturepreview{margin-top:20px}header{position:relative;z-index:3}#searchresults{position:absolute;right:28px;top:70px;width:min(600px,90vw);max-height:70vh;overflow:auto;background:#1c1d20;border:1px solid #ffffff26;border-radius:20px;padding:20px;box-shadow:0 20px 60px #0009}.searchhit{display:flex;flex-direction:column;align-items:start;text-align:left;gap:4px;width:100%;margin-top:8px;border:0;border-bottom:1px solid #ffffff12;background:none;border-radius:8px;padding:12px}.searchhit span{font-size:14px}.searchhit small{font-size:11px}#editor input[type=checkbox]{border-radius:4px}#editor label{font-size:12px;color:#bfc0c3}#editor input,#editor textarea,#editor select{color:#eee}#editor textarea{resize:vertical}@media(max-width:800px){.detailgrid{grid-template-columns:1fr}.detailpanel{width:100vw;max-width:100vw;border-radius:0}.detailmeta{order:-1}.agendaentry{flex-wrap:wrap}.agendaentry b{flex-basis:60%}.agendaentry span:last-child{width:100%}.calendargrid{min-width:840px}.sectionhead{flex-wrap:wrap}#searchresults{right:12px}.taskboard{grid-template-columns:repeat(4,250px)}}
.inboxentry{padding:18px 0;border-bottom:1px solid #ffffff14}.inboxentry>p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.inboxentry .actions{margin-top:12px;flex-wrap:wrap}#focuspick{max-width:100%}#usetemplate,#templatepick{max-width:100%}details summary{cursor:pointer;color:#aaa}.taskrow .badge{flex-shrink:0}
body.authlocked aside,body.authlocked #top{display:none}body.authlocked main{margin:0}#cloudcontrols button{padding:4px 10px;font-size:11px}#cloudstatus{overflow-wrap:anywhere}
