:root{--bg:#11171d;--panel:#1a232c;--ink:#edf2f5;--muted:#a3b1bf;--line:#34414d;--accent:#9bd8bb;--soft:#253c34;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,select,summary{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #88b6a7;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:220px;flex-shrink:0;background:var(--panel);border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.5;color:var(--muted)}.brand b{font-size:15px;color:var(--ink);font-weight:600}.brand-mark{display:grid;place-items:center;background:var(--accent);color:#10271d;width:38px;height:38px;border-radius:10px}.workspace-label{font-size:10px;letter-spacing:.13em;color:var(--muted);margin:48px 12px 15px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px;margin-bottom:6px;text-align:left;border-radius:8px;color:var(--muted)}.nav-item span{margin-left:auto;font-size:12px}.nav-item.selected{background:var(--soft);color:var(--accent);font-weight:600}.nav-item:hover{background:var(--bg)}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:9px;padding-top:24px}.avatar{background:#3c342d;color:#ddcbb4;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.account{overflow-wrap:anywhere;font-size:12px;min-width:0}.account small{display:block;color:var(--muted);font-size:10px;margin-top:4px}main{min-width:0;flex:1}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:var(--panel);color:var(--muted);font-size:12px}.topbar>span{display:flex;align-items:center;gap:10px}.sync{display:flex;gap:8px;align-items:center;font-size:11px}.sync i{height:6px;width:6px;border-radius:50%;background:#91cdb4}.sync i.offline{background:#ed9b8f}.icon-button{display:grid;place-items:center;min-width:32px;min-height:32px;border-radius:6px;color:var(--muted)}.icon-button:hover{background:var(--soft)}.page-heading{padding:43px 36px 32px;display:flex;justify-content:space-between;align-items:center;gap:24px}.eyebrow{letter-spacing:.14em;font-size:10px;font-weight:600;color:var(--accent);margin-bottom:10px}h1{font-size:clamp(26px,3vw,36px);line-height:1.25;font-weight:600;letter-spacing:-.04em}.intro{color:var(--muted);margin-top:12px;font-size:14px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;padding:11px 16px;white-space:nowrap;font-size:13px;font-weight:500}.primary{background:var(--accent);color:#10271d}.primary:hover{background:#b4e6cd}.secondary{border:1px solid var(--line);background:var(--panel)}.board-toolbar{margin:0 36px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:12px}.board-toolbar>div{display:flex;align-items:center;gap:20px}.last-sync{font-size:11px}.text-button{color:var(--accent);padding:7px 0;font-size:12px}.board{display:flex;gap:20px;overflow-x:auto;padding:0 36px 32px;min-height:360px}.lane{flex:0 0 248px;min-width:0}.lane-heading{display:flex;align-items:center;gap:8px}.lane-heading h2{font-size:12px;font-weight:600;flex:1}.lane-heading .count{color:var(--muted);font-size:11px}.stage-dot{height:7px;width:7px;flex-shrink:0;background:#8f9aa8;border-radius:50%}.stage-1{background:#b59a5b}.stage-2{background:#82a8d7}.stage-3{background:#b29ace}.stage-4{background:#7cbea8}.stage-5{background:#79ba98}.lane-description{font-size:11px;color:var(--muted);margin:2px 0 22px 15px}.cards{display:grid;gap:14px}.project-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px 16px;box-shadow:0 2px 3px #0003;overflow-wrap:anywhere}.project-card:hover{border-color:#6b9682}.card-title{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;font-size:14px;line-height:1.5;font-weight:600}.card-title svg{flex-shrink:0;color:var(--muted);margin-top:3px}.card-summary{font-size:12px;color:var(--muted);line-height:1.65;margin-top:11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.deliverable{display:inline-block;font-size:10px;background:var(--soft);color:var(--accent);padding:4px 7px;border-radius:4px;margin-top:12px;max-width:100%;overflow-wrap:anywhere}.next-step{border-top:1px solid var(--line);margin-top:18px;padding-top:13px}.next-step small{font-size:9px;letter-spacing:.11em;color:var(--muted)}.next-step p{margin-top:6px;font-size:12px;line-height:1.6}.move-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-top:16px}.move-label select{max-width:180px;min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--ink);padding:6px;font-size:11px}.empty-lane{width:100%;min-height:105px;border:1px dashed #455360;border-radius:10px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.empty-lane:hover{background:var(--soft)}.single-lane .lane{flex-basis:300px}.board-footer{margin:8px 36px 32px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px}.error-banner{margin:0 36px 22px;background:#362323;border:1px solid #754c46;color:#f4b5a9;border-radius:8px;padding:14px}.activity-list{max-width:900px;margin:0 36px 32px}.activity-list article{display:flex;gap:16px;border-bottom:1px solid var(--line);padding:20px 0}.activity-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);margin-top:7px;flex-shrink:0}.activity-title{text-align:left;font-weight:600;padding:0}.activity-list p{margin-top:7px;color:var(--muted);font-size:13px}.activity-list small{display:block;margin-top:9px;font-size:11px;color:var(--muted)}.activity-empty{padding:70px 20px;text-align:center;color:var(--muted)}.activity-empty svg{margin:0 auto 18px}.activity-empty h2{font-size:20px;color:var(--ink);margin-bottom:10px}.project-dialog{max-width:720px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);padding:0;margin:auto;box-shadow:0 20px 80px #0006;overflow-y:auto}.project-dialog::backdrop{background:#05090cb3;backdrop-filter:blur(2px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:26px 28px 20px}.dialog-header h2{font-size:24px;font-weight:600;letter-spacing:-.03em}.editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 28px 26px}.editor-fields label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:500;min-width:0}.editor-fields .title-field,.editor-fields .full-width{grid-column:1/-1}input,textarea,.editor-fields select{border:1px solid #455360;background:var(--panel);color:var(--ink);padding:11px 12px;border-radius:7px;width:100%;font-size:14px;font-weight:400}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#a3b1bf;font-size:12px}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:20px 28px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--panel)}.dialog-footer span{margin-right:auto;color:var(--muted);font-size:11px}.editor-error{margin:0 28px 20px;color:#f4b5a9;font-size:13px}
@media(max-width:900px){.sidebar{width:180px;padding:28px 14px}.page-heading,.topbar{padding-left:24px;padding-right:24px}.board{padding-left:24px;padding-right:24px}.board-toolbar,.board-footer,.activity-list{margin-left:24px;margin-right:24px}.last-sync{display:none}}
@media(max-width:640px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px 20px;gap:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:11px}.brand b{font-size:14px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:6px}.nav-item{width:auto;flex:1;padding:9px 8px;font-size:12px;margin:0;justify-content:center;gap:6px}.nav-item svg{width:15px}.nav-item span{margin:0}.topbar{height:48px;padding:0 20px;font-size:11px}.sync{font-size:10px}.page-heading{padding:28px 20px 24px;align-items:flex-start;flex-direction:column;gap:20px}.page-heading .primary{width:100%}.intro{font-size:13px;line-height:1.6}.board-toolbar{margin:0 20px 24px;font-size:11px}.board-toolbar>div{gap:6px}.board{display:grid;grid-template-columns:1fr;overflow:visible;padding:0 20px 24px;gap:30px}.lane{width:100%}.lane-heading h2{font-size:14px}.lane-description{margin-bottom:12px}.empty-lane{min-height:65px}.project-card{padding:18px}.card-title{font-size:16px}.card-summary,.next-step p{font-size:13px}.move-label select{font-size:14px;min-height:44px;max-width:220px}.move-label{font-size:12px}.icon-button{min-height:44px;min-width:44px}.board-footer,.activity-list{margin-left:20px;margin-right:20px}.error-banner{margin-left:20px;margin-right:20px}.editor-fields{grid-template-columns:1fr;padding:0 20px 22px;gap:18px}.dialog-header{padding:22px 20px}.dialog-footer{padding:15px 20px;flex-wrap:wrap}.dialog-footer span{width:100%;margin-bottom:2px}.editor-fields input,.editor-fields textarea,.editor-fields select{font-size:16px}.editor-fields input::placeholder,.editor-fields textarea::placeholder{font-size:13px}.activity-title{font-size:15px;min-height:44px}.project-dialog{max-height:calc(100dvh - 24px)}}
.signin{max-width:540px;margin:10vh auto;padding:28px;display:grid;gap:20px;line-height:1.7}.signin .eyebrow{margin-top:32px}.signin small{color:var(--muted)}.account-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 20px;background:#253c34;font-size:12px}.account-strip span{display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}@media(max-width:640px){.account-strip{align-items:flex-start;flex-direction:column}.account-strip span{width:100%;justify-content:space-between}}
