/* Product finish: quiet surfaces, consistent controls, compact project library. */
:root{--product-canvas:light-dark(#eef0f3,#101215);--product-surface:light-dark(#fff,#1c1f24);--product-line:light-dark(#dfe3e9,#343941);--product-muted:light-dark(#596372,#a9b2bf);--product-radius:14px;--product-gap:12px}
body{background:var(--product-canvas);-webkit-font-smoothing:antialiased}
.appwrap{max-width:1440px;padding:24px}
.savebar{padding:0 0 14px;color:var(--product-muted);min-height:42px}
.savebar>div{display:flex;gap:8px;flex-wrap:wrap}
.savebar button{min-height:36px;padding:7px 12px;border-color:var(--product-line);background:var(--product-surface);border-radius:8px}
.quick-capture{margin:0 0 20px;padding:8px 10px;border-radius:var(--product-radius);border-color:var(--product-line);gap:10px;box-shadow:0 1px 2px #00000006}
.quick-capture input,.quick-capture select{font:inherit;min-height:40px}
.quick-project{padding-right:10px;border-right:1px solid var(--product-line)}
.quick-capture .quick-input input{box-sizing:border-box}
.quick-capture button{min-width:40px;min-height:40px;border-radius:6px}
.quick-capture #quick-result{flex-basis:100%;padding:0 8px;line-height:1.5}
.quick-capture #quick-result:empty{display:none}
#project-hub{--hub-bg:light-dark(#fafbfc,#171a1e);--hub-panel:var(--product-surface);--hub-line:var(--product-line);--hub-sub:var(--product-muted);--hub-tint:light-dark(#eaf0fc,#27364f);--hub-accent:light-dark(#285cc0,#a9c5ff);line-height:1.55}
#project-hub .shell{border-radius:18px;border-color:var(--product-line);min-height:calc(100vh - 164px)}
#project-hub .bar{padding:19px 24px;min-height:64px}
#project-hub .brand{font-size:13px;letter-spacing:.035em;font-weight:700;gap:9px}
#project-hub .brand:before{content:'';display:block;width:13px;height:13px;border:2px solid currentColor;border-radius:4px;box-shadow:inset 0 0 0 3px var(--hub-panel)}
#project-hub .brand>[data-lucide]{display:none}
#project-hub .layout{grid-template-columns:204px minmax(0,1fr)}
#project-hub aside{padding:24px 12px;background:light-dark(#f5f7f9,#15181c)}
#project-hub .navitem{font-size:13px;padding:10px 12px;min-height:42px;border-radius:8px;color:var(--hub-sub)}
#project-hub .navitem.active{color:var(--hub-accent)}
#project-hub .sidelabel{font-size:10px;letter-spacing:.07em;padding:25px 12px 10px}
#project-hub main{padding:32px;min-width:0}
#project-hub h1{font-size:29px;line-height:1.2;font-weight:650;letter-spacing:-.035em}
#project-hub .heading{margin-bottom:28px;gap:18px}
#project-hub .heading .sub{max-width:75ch;line-height:1.65;margin-top:8px}
#project-hub .label{font-size:10px;letter-spacing:.07em;font-weight:550}
#project-hub h2{letter-spacing:-.015em;font-size:16px}
#project-hub .toolbar{gap:10px;margin-bottom:24px}
#project-hub .toolbar input,#project-hub .toolbar select{height:42px;padding:9px 12px;background:var(--hub-panel);border-radius:8px}
#project-hub .view-toggle{border-radius:10px}
#project-hub .view-toggle button{width:34px;height:34px;border-radius:6px}
#project-hub #project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:20px}
#project-hub #project-grid .projectcard{border-radius:var(--product-radius);transition:border-color .15s,box-shadow .15s;background:var(--hub-panel)}
#project-hub #project-grid .projectcard:hover{border-color:var(--hub-accent);box-shadow:0 4px 16px #0000000c}
#project-hub #project-grid .cover{height:156px;border-bottom:1px solid var(--hub-line)}
#project-hub #project-grid .cardbody{padding:18px}
#project-hub #project-grid .name{font-size:18px;line-height:1.35;letter-spacing:-.025em}
#project-hub #project-grid .project-description{font-size:13px;line-height:1.6;margin-top:8px}
#project-hub #project-grid .carddetails{padding-top:14px;border-top:1px solid var(--hub-line);margin-top:16px}
#project-hub #project-grid .project-focus{font-size:13px;line-height:1.55}
#project-hub #project-grid.listview{grid-template-columns:1fr}
#project-hub #project-grid.listview .projectcard{grid-template-columns:156px minmax(0,1fr)}
#project-hub #project-grid.listview .cover{height:100%;border-bottom:0;border-right:1px solid var(--hub-line)}
#project-hub .panel{padding:22px;border-radius:var(--product-radius)}
#project-hub .entry{padding:18px 0}
#project-hub .entry strong{font-weight:600}
#project-hub .entry p{margin-top:5px}
#project-hub .status{border:1px solid var(--hub-line);padding:4px 9px;font-size:11px;border-radius:6px;white-space:normal}
#project-hub .tabs{gap:4px;row-gap:0;margin:24px 0}
#project-hub .tabs button{font-size:13px;min-height:44px;padding:10px 12px}
#project-hub input:not([type=checkbox]),#project-hub select,#project-hub textarea{border-radius:8px;line-height:1.5;padding:10px 12px}
#project-hub input:disabled,#project-hub textarea:disabled,#project-hub select:disabled{opacity:1;color:var(--hub-text);-webkit-text-fill-color:var(--hub-text);background:transparent;border-color:transparent;padding-left:0}
#project-hub .primary,#project-hub .secondary{border-radius:8px;min-height:40px}
#project-hub .resume{border-radius:var(--product-radius);padding:20px 22px}
#project-hub .cover.large{border-radius:var(--product-radius)}
#project-hub .board{gap:14px}
#project-hub .lane{border-radius:14px;padding:12px}
#project-hub .taskcard{border-radius:8px}
#project-hub .entryform{margin-top:24px}
#project-hub .peek{border-width:1px}
button:disabled{cursor:not-allowed;opacity:.6}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #5285ee;outline-offset:3px}
@media(max-width:900px){.appwrap{padding:16px}#project-hub main{padding:24px}#project-hub .layout{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:800px){#project-hub .layout{grid-template-columns:1fr}#project-hub aside{padding:10px 12px;gap:4px}#project-hub .navitem{min-height:40px}#project-hub .sidelabel{display:none}}
@media(max-width:600px){.appwrap{padding:10px}.savebar{font-size:11px;gap:8px}.savebar button{font-size:11px}.quick-capture{margin-bottom:12px}.quick-project{border-right:0;padding-right:0}.quick-capture select{max-width:100%}#project-hub .bar{padding:16px 18px;min-height:58px}#project-hub .demo{font-size:11px}#project-hub main{padding:22px 18px}#project-hub h1{font-size:26px}#project-hub .heading{margin-bottom:22px}#project-hub .panel{padding:18px}#project-hub .fields{gap:16px}#project-hub .toolbar .search{flex-basis:100%}#project-hub .toolbar select{min-width:120px}#project-hub #project-grid{gap:16px}#project-hub .tabs button{padding:10px 9px;font-size:12px}#project-hub #project-grid.listview .projectcard{grid-template-columns:100px minmax(0,1fr)}#project-hub #project-grid.listview .cardbody{padding:14px}#project-hub #project-grid.listview .name{font-size:16px}}
@media(prefers-reduced-motion:reduce){#project-hub *{transition:none!important;scroll-behavior:auto!important}}
