/* LOCAL REVIEW: calm hierarchy inspired by the selected dashboard image.
   GRAFT wordmark, monochrome palette and custom icon geometry are retained. */
:root{--ink:#28282b;--muted:#666560;--paper:#f4f3ef;--line:#e3e1da;--forest:#38383b;--soft:#efeeea;--surface:#fff;font-size:14px;line-height:1.55;}
body{font-size:14px;background:var(--paper)}
button,input,select,textarea{font-size:13px}button{min-height:40px;padding:9px 14px;border-radius:7px;gap:8px;font-weight:500;line-height:1.3}button .icon{width:15px;height:15px}button:hover{background:#edede7}button.primary:hover{background:#515154;border-color:#515154}.primary{background:#38383b;color:white}.primary:focus-visible{outline-color:#73736e}
.prototype{min-height:36px;padding:7px 28px;background:#e7e5de;font-size:11px;align-items:center;gap:18px}.prototype>span{display:flex;align-items:center;gap:14px}.prototype b{font-size:10px;letter-spacing:1.2px}.prototype .preview-label{padding-left:14px;border-left:1px solid #c9c6bb}.prototype .sample-label{color:#625f58}.prototype button{min-height:22px;padding:0;font-size:11px}
.shell{min-height:calc(100vh - 36px)}aside{width:208px;padding:34px 18px 24px;background:#fafaf7;border-right:1px solid var(--line)}.brand{padding:0 10px}.brand img{width:139px;height:37px}.brand span{font-size:9px;letter-spacing:1.5px;margin-top:14px}.navlabel{font-size:9px;margin:38px 12px 14px;letter-spacing:1.6px}nav{gap:6px}nav a{min-height:46px;gap:12px;font-size:13px;padding:12px 14px;color:#62615d;border-radius:8px}nav a.active{background:#e9e7e0;color:#252528;font-weight:600}nav a.active:before{display:none}nav a:hover:not(.active){background:#f0efe9}nav a .icon{width:19px;height:19px;stroke-width:1.5}nav .count{background:#dedbd2;font-size:10px;padding:1px 6px}.sidebar-bottom{padding:48px 12px 0}.sidebar-bottom .studio-mark{font-size:9px;color:#89867e}.sidebar-bottom p{display:none}.sidebar-bottom .textbtn{margin-top:16px;font-size:12px;min-height:36px}.sidebar-bottom small{font-size:9px;line-height:1.7;margin-top:20px;color:#7a776f}
header{height:78px;padding:0 34px;background:#fcfcfa;gap:20px}.crumb{font-size:12px}.crumb span{padding:0 11px;color:#a8a59b}.crumb b{font-weight:500}.role{gap:8px;flex-shrink:0}.role label{font-size:10px;color:var(--muted)}.role select{padding:8px 24px 8px 10px;min-height:36px;border:1px solid #e2dfd6;background:#fff;font-size:12px;max-width:150px;width:auto;border-radius:6px}.role #person{max-width:104px}.role .avatar{display:none}
main{padding:32px 34px 38px;max-width:1480px}h1{font-size:29px;letter-spacing:-.8px;font-weight:550;line-height:1.25;margin:7px 0 7px}h2{font-size:16px;letter-spacing:-.2px;font-weight:600}h3{font-size:14px;letter-spacing:0;font-weight:550;line-height:1.45}.eyebrow{font-size:10px;letter-spacing:1.35px;color:#77746b}.muted{font-size:12px;color:var(--muted);line-height:1.6}.heading{margin-bottom:26px;align-items:center;gap:20px}.heading .muted{max-width:720px;margin-top:6px}.heading .actions{flex-shrink:0}.heading .primary{min-width:130px}.actions{gap:8px;flex-wrap:wrap}
.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.metric{border:1px solid var(--line);border-radius:10px;background:#fff;padding:18px 20px;box-shadow:0 2px 5px #24242402}.metric .label{font-size:12px;line-height:1.45}.metric .value{font-size:31px;letter-spacing:-1.1px;line-height:1.3;margin:8px 0 4px;font-weight:550}.metric .value small{font-size:12px;letter-spacing:0;font-weight:400}.metric .note{font-size:11px;line-height:1.6;color:#747067}.metric .green{color:#62665b}
.panel{border:1px solid var(--line);border-radius:10px;background:white;box-shadow:0 2px 6px #28282802;margin-bottom:22px}.panel-head{padding:18px 21px;border-bottom:1px solid #edeae3;min-height:61px}.panel-head button{font-size:12px;min-height:28px;padding:2px 0;color:#52524f;font-weight:500}.panel-head button .icon{width:13px;height:13px}.panel-body{padding:21px}.pill{font-size:11px;line-height:1.4;padding:5px 9px;border-radius:6px;font-weight:500;background:#efeee9;color:#55594e}.pill.neutral{background:#efeee9;color:#66635d}.pill.warn{background:#f7eedf;color:#885f2f}.overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:22px}.overview-grid>*{min-width:0}.role-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:22px}.role-workspace>*{min-width:0}.two,.grid{gap:22px}.bar{height:7px;border-radius:4px;background:#e8e7e3}.bar span{background:#777875}.bar span.tentative{background-color:#c9c8c1}
.health-list{padding:0 21px}.health-row{padding:20px 0;border-bottom:1px solid #eeece6}.health-row:last-child{border:0}.health-row h3{font-size:14px}.health-row p{margin:3px 0 0}.health-effort{display:grid;grid-template-columns:minmax(70px,1fr) auto auto;gap:14px;align-items:center;margin-top:12px;font-size:12px;color:#65625b}.health-effort button{font-size:12px;min-height:32px;padding:5px 10px}.health-effort .bar{height:6px}.capacity-row{padding:15px 0;border-color:#eeece6}.capacity-row h3{font-size:14px}.capacity-row h3 .muted{font-size:11px}.capacity-row .bar{margin:11px 0 7px}.capacity-row .spread.muted{font-size:11px}.legend{font-size:11px;margin-bottom:18px;gap:18px}.swatch{width:8px;height:8px;border-radius:2px}.planning-note{font-size:11px;line-height:1.65;color:#817c72;margin-top:20px;border-top:1px solid #eeeae3;padding-top:14px}.retainer-overview .balance-summary{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:16px 0 13px}.balance-summary strong{font-size:28px;font-weight:550;letter-spacing:-.7px}.balance-summary small{font-size:12px;color:#716c63;letter-spacing:0;font-weight:400}.retainer-overview>.muted{margin-top:12px}.approval-note{display:flex;align-items:center;gap:10px;font-size:12px;color:#66635b;padding:3px 3px 20px}.approval-note .icon{width:17px;height:17px}.approval-note button{margin-left:auto;min-height:30px;padding:3px 0;border:0;background:none;font-size:12px}
.focus-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:24px}.focus-summary>div{padding:17px 23px;border-right:1px solid #ece8df;display:flex;align-items:baseline;gap:16px;justify-content:space-between}.focus-summary>div:last-child{border-right:0}.focus-summary strong{font-size:16px;font-weight:550;text-align:right}.focus-summary .muted{font-size:12px}.action-list{padding:0 21px}.action-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #eeeae3;padding:21px 0;margin:0}.action-card:first-of-type{margin-top:0;border-top:0}.action-card .actions{flex-shrink:0;gap:7px}.action-card .actions button{font-size:12px;min-height:36px;padding:7px 11px}.action-card h3{font-size:14px}.action-description>p{margin-top:4px}.action-meta{display:flex;gap:13px;flex-wrap:wrap;color:#7a746a;font-size:11px;margin-top:8px}.queue-empty{display:flex;align-items:flex-start;gap:14px;padding:24px 0}.queue-empty>.icon{width:19px;height:19px;color:#77766d;margin-top:2px}.queue-empty h3{font-size:14px}.queue-empty p{max-width:420px;margin-top:5px}.context-pair{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eeeae3;font-size:12px;gap:10px}.context-pair:first-of-type{margin-top:14px}.context-pair strong{font-weight:500}.context-pair>span{color:var(--muted)}.context-actions{margin-top:18px}.context-note{font-size:13px;line-height:1.65;margin-top:16px;color:#6b665e}.tool-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid #eeeae3}.tool-links button{font-size:12px;min-height:36px;padding:7px 11px}.handover-list{padding:0;margin:20px 0;list-style:none}.handover-list li{display:flex;align-items:center;gap:12px;padding:11px 0;color:#8b8579;font-size:12px;border-bottom:1px solid #f0ece5}.handover-list .current{color:#29292c;font-weight:550}.step-number{font:10px monospace;color:#8e877a;min-width:19px}.step-number .icon{width:13px;height:13px}.handover-list .pill{margin-left:auto;font-size:10px}
.history-panel{border:1px solid var(--line);border-radius:9px;background:#f9f8f5;margin:0 0 22px;overflow:hidden}.history-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 21px;cursor:pointer;font-size:12px;min-height:54px}.history-panel>summary::-webkit-details-marker{display:none}.history-panel summary>span:first-child{display:flex;align-items:center;gap:10px}.history-panel summary .icon{width:15px;height:15px;color:#7c786e}.history-panel summary:after{content:'+';font-size:19px;font-weight:300;color:#898377}.history-panel[open] summary:after{content:'−'}.history-panel summary>.muted{margin-left:auto;font-size:11px}.history-body{border-top:1px solid #e8e4da;padding:0 21px 16px}.history-body>.muted{margin-top:16px}.history-body .list-row{padding:16px 0;border-color:#e9e4d9}.history-body .list-row h3{font-size:13px}.history-body .list-row>p{font-size:12px}.brief-editor{border-top:1px solid #ece8df;margin-top:18px;padding-top:14px}.brief-editor summary{font-size:12px;font-weight:550;cursor:pointer;padding:5px 0}.brief-editor textarea{min-height:170px;line-height:1.65}.brief-editor .field label{font-size:12px}.thread-question{padding:21px 0;border-color:#ece8df}.thread-question h3,.thread-answer h3{font-size:13px}.thread-question>p,.thread-answer>p{font-size:14px;line-height:1.7}.thread-question small,.thread-answer small{font-size:11px}.thread-answer{background:#f6f5f1;padding:16px 18px;border-left:2px solid #aaa59a;border-radius:0 7px 7px 0;margin-top:18px}.field{margin:17px 0;gap:7px}.field label{font-size:12px}.field input,.field select{min-height:41px}.field textarea{min-height:108px}input,select,textarea{border-color:#dcd8cd;border-radius:6px;padding:10px 12px}.field textarea{line-height:1.65}.callout{padding:16px 18px;font-size:13px;border-radius:7px;line-height:1.7;background:#f4f2ec;border-color:#e7e2d7}.callout .muted{font-size:12px}.stepper{gap:0;flex-wrap:wrap;margin:0 0 22px;background:#f9f8f4;border-radius:8px;border:1px solid var(--line);padding:0 8px}.step{font-size:11px;padding:15px 12px;min-height:48px;border-bottom:2px solid transparent}.step.current{background:#efede5;border-color:#565650}.step .icon{width:12px;height:12px}.phase{padding:18px 21px;grid-template-columns:125px 1fr 78px;gap:18px;font-size:13px}.phase .pill{margin-top:5px}.big-stat{font-size:37px;letter-spacing:-1.3px;line-height:1.25;margin:16px 0}.big-stat .muted{font-size:13px;line-height:1.5}.task{padding:16px 0;gap:12px}.task .check{width:24px;height:24px;min-height:24px;padding:0}.task-title{font-size:13px}.task small{font-size:11px;margin-top:5px}.task .timer{min-height:36px;font-size:12px;min-width:74px}.task .timer .icon{width:14px;height:14px}th{font-size:10px;letter-spacing:.65px;padding:13px 21px;background:#faf9f6}td{font-size:12px;padding:17px 21px;border-color:#eeebe4}td small{font-size:11px;margin-top:4px}td button{font-size:12px;min-height:34px}.tabs{gap:6px}.tabs button{min-height:35px;font-size:12px;border-radius:6px}.weekly{min-width:650px}.week-block{font-size:11px;padding:10px 8px}.list-row{font-size:13px}.list-row button{font-size:12px;min-height:36px}.list-row .muted{font-size:12px}
dialog{border-radius:12px;padding:30px;max-width:590px;max-height:calc(100dvh - 32px);overflow:auto}dialog h2{font-size:23px;font-weight:550;letter-spacing:-.5px}dialog>p,dialog .muted{font-size:13px}dialog .close{min-height:32px;width:32px;top:10px;right:10px}.close:hover{background:#eeece6}.close .icon{width:17px;height:17px}#toast{border-radius:8px;font-size:13px;padding:13px 18px;max-width:min(90%,520px);line-height:1.5;background:#38383b;box-shadow:0 6px 24px #2020201c;bottom:20px}footer{font:9px Arial,Helvetica,sans-serif;letter-spacing:1px;color:#8a8378;padding:20px 34px;gap:18px}footer span:first-child{font-size:10px;letter-spacing:0}.menu-toggle{display:none}
@media(min-width:1600px){main{padding-top:36px}.heading{margin-bottom:29px}.metrics{margin-bottom:26px}}
@media(max-width:1120px){aside{width:186px;padding-left:12px;padding-right:12px}.brand img{width:128px}main{padding:28px 26px}header{padding:0 26px}.overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(290px,1fr);gap:18px}.role-workspace{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:18px}.metric{padding:16px}.metric .value{font-size:28px}.action-card{display:block}.action-card .actions{margin-top:14px}.role label{display:none}.role select{max-width:145px}.focus-summary>div{display:block;padding:15px 18px}.focus-summary strong{display:block;text-align:left;margin-top:4px}.capacity-row .spread{align-items:flex-start}.capacity-row h3 .muted{display:block}}
@media(max-width:860px){aside{width:170px}.brand img{width:118px}.brand span{font-size:8px}.overview-grid,.role-workspace{grid-template-columns:minmax(0,1fr)}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.two,.grid{grid-template-columns:minmax(0,1fr)}.role select{max-width:126px}.role #person{max-width:82px}.heading{align-items:flex-start}h1{font-size:27px}.action-card{display:flex}.action-card .actions{margin-top:0}.focus-summary>div{padding:15px}.panel{margin-bottom:19px}.capacity-row h3 .muted{display:inline}.approval-note{flex-wrap:wrap}.approval-note button{margin-left:0}.phase{grid-template-columns:115px 1fr 70px}}
@media(max-width:650px){.prototype{padding:8px 17px;min-height:36px;gap:8px}.prototype>span{gap:9px}.prototype .preview-label{display:none}.prototype .sample-label{font-size:10px}.prototype button{font-size:10px;white-space:nowrap}.shell{display:block}aside{width:100%;padding:20px 18px;background:#fcfcfa;position:relative;border:0;border-bottom:1px solid var(--line)}.brand{padding:0;display:inline-block}.brand img{width:120px;height:31px}.brand span{display:none}.navlabel,.sidebar-bottom{display:none}.menu-toggle{position:absolute;right:18px;top:17px;display:inline-flex;min-height:38px;padding:8px 11px;background:#fff;font-size:12px;gap:8px}.menu-toggle .icon{width:15px;height:15px}nav{display:none;margin-top:19px;overflow:visible;gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}aside[data-open] nav{display:grid}nav a{white-space:normal;min-height:43px;font-size:12px;padding:10px 12px;gap:10px}nav a .icon{width:18px;height:18px}nav .count{display:inline-block}header{min-height:0;height:auto;padding:15px 18px;gap:12px;background:#f8f7f3;display:block}.crumb{display:block;font-size:11px;margin-bottom:12px}.role{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,.7fr);gap:8px;justify-content:initial;align-items:center}.role label{display:inline;font-size:10px}.role select,.role #person{width:100%;max-width:none;min-height:36px;font-size:12px;padding:8px}.role .avatar{display:none}main{padding:24px 18px 30px}.heading{display:block;margin-bottom:22px}.heading .actions{margin-top:16px}.heading .primary{min-width:0}h1{font-size:28px;font-weight:550;letter-spacing:-.7px}.eyebrow{font-size:9px;letter-spacing:1.1px}.heading .muted{font-size:12px;line-height:1.65}.metrics{gap:10px;margin-bottom:20px}.metric{padding:16px 15px;border-radius:9px}.metric .label{font-size:11px;line-height:1.5}.metric .value{font-size:28px;margin:9px 0 4px}.metric .value small{font-size:11px}.metric .note{font-size:10px}.overview-grid,.role-workspace{gap:0}.panel-head{padding:17px 18px;min-height:58px}.panel-head h2{font-size:15px}.panel-head button{font-size:11px}.panel-body{padding:18px}.health-list{padding:0 18px}.health-row{padding:18px 0}.health-row .spread{gap:10px;align-items:flex-start}.health-row .pill{font-size:10px}.health-effort{gap:10px;grid-template-columns:minmax(55px,1fr) auto auto;font-size:11px}.health-effort button{font-size:11px;min-height:32px}.capacity-row h3 .muted{font-size:11px}.capacity-row .spread>.muted{font-size:11px}.focus-summary{margin-bottom:20px}.focus-summary>div{padding:13px 12px}.focus-summary .muted{font-size:10px;line-height:1.5;display:block}.focus-summary strong{font-size:14px;line-height:1.45;margin-top:6px;overflow-wrap:anywhere}.action-list{padding:0 18px}.action-card{display:block;padding:19px 0}.action-card .actions{margin-top:14px}.action-card .actions button{min-height:38px;font-size:12px}.action-meta{gap:12px;font-size:11px}.action-card h3{font-size:14px}.queue-empty{padding:21px 0}.history-panel summary{padding:15px 18px;gap:10px}.history-panel summary>.muted{font-size:10px}.history-body{padding:0 18px 15px}.history-body .spread{display:block}.history-body .spread>.muted{margin-top:4px;display:block}.approval-note{font-size:12px;align-items:flex-start;gap:10px}.approval-note button{width:100%;justify-content:flex-start;margin-left:27px;font-size:11px}.phase{padding:18px;grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:12px}.phase>span:last-child{grid-column:2;font-size:11px;color:var(--muted)}.big-stat{font-size:34px}.big-stat .muted{font-size:12px}.callout{font-size:12px;padding:15px}.stepper{padding:0 5px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.step{min-height:54px;font-size:10px;line-height:1.45;padding:12px 7px;gap:7px;align-items:center}.step .icon{width:10px;height:10px}.thread-question p,.thread-answer p{font-size:13px;line-height:1.7}.thread-answer{margin-left:6px;padding:14px}.tool-links{gap:6px}.tool-links button{font-size:11px;padding:7px 10px}.field label{font-size:12px}.field textarea{min-height:112px}.form-row{grid-template-columns:minmax(0,1fr);gap:0}td,th{padding:14px 16px}td{font-size:12px}td small{font-size:10px}.task-title{font-size:12px}.task small{font-size:10px}.task .timer{font-size:11px;min-width:67px}.task .timer .icon{width:12px;height:12px}dialog{width:calc(100% - 28px);padding:26px 22px;max-height:calc(100dvh - 28px)}dialog h2{font-size:22px;padding-right:20px}dialog .actions{gap:8px}dialog .callout{font-size:12px}footer{display:block;padding:18px;line-height:1.7;font-size:9px}footer span:first-child{display:block;margin-top:7px;font-size:9px}footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
#timer-feedback{margin:18px 34px 0;padding:11px 15px;background:#e8e5dc;border:1px solid #d7d2c5;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px}#timer-feedback>div{display:flex;align-items:center;gap:11px;min-width:0}#timer-feedback strong{font-weight:500;margin-left:7px}#persistent-elapsed{font:12px monospace;white-space:nowrap}#timer-feedback button{min-height:32px;font-size:11px;padding:6px 10px;flex-shrink:0}@media(max-width:650px){#timer-feedback{margin:16px 18px 0;align-items:flex-start;gap:10px;padding:12px}#timer-feedback>div{display:block;line-height:1.6}#timer-feedback>div>.icon{display:none}#timer-feedback strong{display:block;margin:2px 0 5px}}
