:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#1b242b;background:#f4f6f5;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #172027;--muted: #66727a;--line: #dce2df;--soft: #eef2f0;--paper: #ffffff;--green: #16785f;--green-soft: #e3f2ed;--blue: #26669a;--blue-soft: #e9f1f7;--red: #b34242;--red-soft: #faeceb;--yellow: #a16b12;--yellow-soft: #f8f0dc;--sidebar: #11191d}*{box-sizing:border-box;letter-spacing:0}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:#f4f6f5}button,input,select,textarea{font:inherit;letter-spacing:0}button,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit}h1,h2,h3,p{margin:0}button{border:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.app-loading svg{color:var(--green);animation:pulse 1.3s ease-in-out infinite}.primary-button,.secondary-button,.text-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:0 15px;font-weight:650;white-space:nowrap}.primary-button{color:#fff;background:var(--green)}.primary-button:hover{background:#106b54}.secondary-button{color:var(--ink);background:var(--paper);border:1px solid var(--line)}.secondary-button:hover{background:var(--soft)}.text-button{min-height:32px;padding:0 4px;color:var(--green);background:transparent}.icon-button{width:36px;height:36px;flex:0 0 36px;display:inline-grid;place-items:center;border-radius:6px;color:#536068;background:transparent}.icon-button:hover{color:var(--ink);background:var(--soft)}.icon-button.danger:hover{color:var(--red);background:var(--red-soft)}.icon-button.dark{color:#cbd2d5}.icon-button.dark:hover{color:#fff;background:#263137}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(420px,520px);background:#edf1ef}.login-brand{min-height:100vh;display:flex;align-items:flex-start;gap:16px;padding:58px clamp(32px,7vw,104px);color:#f7f9f8;background:var(--sidebar)}.login-logo{width:52px;height:52px;display:grid;place-items:center;border-radius:6px;color:#0e1a18;background:#55c7a6}.login-brand span{display:block;margin:5px 0 7px;color:#8ba099;font-size:12px;font-weight:700}.login-brand h1{font-size:30px;line-height:1.2}.login-panel{width:min(390px,calc(100% - 48px));align-self:center;justify-self:center;padding:38px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 18px 48px #131d221a}.login-panel header p{color:var(--green);font-size:13px;font-weight:700}.login-panel header h2{margin-top:7px;font-size:24px}.login-panel form{display:grid;gap:20px;margin-top:32px}.login-panel label>span,.project-form label>span{display:block;margin-bottom:8px;color:#4b575e;font-size:13px;font-weight:650}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;top:50%;left:13px;color:#879097;transform:translateY(-50%)}.input-with-icon input{width:100%;height:44px;padding:0 13px 0 40px;border:1px solid #ccd4d0;border-radius:6px;outline:none}.input-with-icon input:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1f}.login-button{min-height:44px;margin-top:5px}.form-error{padding:10px 12px;border:1px solid #edc7c5;border-radius:6px;color:#8f3030;background:var(--red-soft);font-size:13px}.login-panel footer{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);color:#899399;font-size:12px;text-align:center}.app-layout{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:236px;display:flex;flex-direction:column;color:#dbe1e2;background:var(--sidebar);transition:width .18s ease}.brand-block{min-height:74px;display:flex;align-items:center;gap:11px;padding:0 16px;border-bottom:1px solid #253036}.brand-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:6px;color:#10201b;background:#55c7a6}.brand-copy{min-width:0;display:grid;gap:2px}.brand-copy strong{max-width:150px;overflow:hidden;color:#fff;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.brand-copy span{color:#829098;font-size:11px}.main-nav{display:grid;gap:5px;padding:18px 12px}.main-nav button{width:100%;height:42px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:6px;color:#9eaaae;background:transparent;text-align:left}.main-nav button:hover{color:#fff;background:#1b262b}.main-nav button.active{color:#fff;background:#22322f;box-shadow:inset 3px 0 #55c7a6}.main-nav button span{font-size:14px;font-weight:600;white-space:nowrap}.sidebar-footer{margin-top:auto;min-height:74px;display:flex;align-items:center;gap:6px;padding:10px 10px 10px 14px;border-top:1px solid #253036}.user-chip{min-width:0;display:flex;flex:1;align-items:center;gap:9px}.avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#426459;font-size:13px;font-weight:700}.user-chip div{min-width:0;display:grid;gap:2px}.user-chip strong{overflow:hidden;color:#f6f8f8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.user-chip span:not(.avatar){color:#7f8d93;font-size:10px}.nav-icon-button{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:6px;color:#8d999e;background:transparent}.nav-icon-button:hover{color:#fff;background:#253137}.collapse-button{position:absolute;top:92px;right:-12px;width:24px;height:24px;display:grid;place-items:center;border:1px solid #354148;border-radius:50%;color:#adb7ba;background:#182227}.app-layout.is-collapsed{grid-template-columns:72px minmax(0,1fr)}.app-layout.is-collapsed .sidebar{width:72px}.app-layout.is-collapsed .brand-copy,.app-layout.is-collapsed .main-nav button span,.app-layout.is-collapsed .user-chip div{display:none}.app-layout.is-collapsed .brand-block{padding:0 18px}.app-layout.is-collapsed .main-nav{padding-inline:10px}.app-layout.is-collapsed .main-nav button{justify-content:center;padding:0}.app-layout.is-collapsed .sidebar-footer{justify-content:center;padding:10px}.app-layout.is-collapsed .user-chip{flex:0}.app-layout.is-collapsed .nav-icon-button{display:none}.app-layout.is-collapsed .collapse-button svg{transform:rotate(180deg)}.main-area{min-width:0;grid-column:2}.topbar{position:sticky;z-index:20;top:0;height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,42px);border-bottom:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-title{display:flex;align-items:center;gap:10px}.topbar-title span{display:block;margin-bottom:2px;color:#8a9499;font-size:10px;font-weight:700}.topbar-title h1{font-size:18px;line-height:1.25}.topbar-state{display:flex;align-items:center;gap:8px;color:#647078;font-size:12px}.live-dot{width:8px;height:8px;border-radius:50%;background:#27a87f;box-shadow:0 0 0 4px #27a87f1f}.mobile-menu,.mobile-close,.nav-scrim{display:none}.page-content{min-height:calc(100vh - 74px);padding:26px clamp(20px,3vw,42px) 42px}.page-stack{display:grid;gap:20px}.content-section,.integration-list,.permission-summary{border:1px solid var(--line);border-radius:8px;background:var(--paper)}.section-header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px;border-bottom:1px solid var(--line)}.section-header h2,.page-toolbar h2,.permission-summary h2{font-size:15px}.section-header span,.page-toolbar>div>span{display:block;margin-top:3px;color:#7d888e;font-size:12px}.page-toolbar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px}.filter-group{display:flex;align-items:center;gap:10px}.search-box{position:relative;width:min(360px,40vw)}.search-box svg{position:absolute;top:50%;left:12px;color:#879198;transform:translateY(-50%)}.search-box input,.page-toolbar select,.chat-toolbar select{width:100%;height:40px;border:1px solid #ccd4d0;border-radius:6px;color:var(--ink);background:var(--paper);outline:none}.search-box input{padding:0 14px 0 38px}.page-toolbar select{width:146px;padding:0 34px 0 12px}.search-box input:focus,.page-toolbar select:focus,.chat-toolbar select:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1a}.inline-alert{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-radius:6px;font-size:13px}.inline-alert.error{border:1px solid #edc7c5;color:#8f3030;background:var(--red-soft)}.inline-alert button{color:inherit;background:transparent;text-decoration:underline}.empty-state{min-height:290px;display:grid;place-content:center;justify-items:center;gap:9px;padding:32px;text-align:center}.empty-state .empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#6d7b80;background:var(--soft)}.empty-state strong{margin-top:3px;font-size:15px}.empty-state p{max-width:360px;color:var(--muted);font-size:13px}.empty-state button{margin-top:7px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{min-width:0;min-height:112px;display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.metric-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:6px}.tone-ink{color:#33444b;background:#e9eeec}.tone-green{color:var(--green);background:var(--green-soft)}.tone-red{color:var(--red);background:var(--red-soft)}.tone-blue{color:var(--blue);background:var(--blue-soft)}.tone-yellow{color:var(--yellow);background:var(--yellow-soft)}.metric-card>div:last-child{min-width:0;display:grid;gap:6px}.metric-card span{color:var(--muted);font-size:12px}.metric-card strong{color:var(--ink);font-size:28px;line-height:1}.metric-card small{margin-left:4px;color:#7f898f;font-size:12px;font-weight:500}.budget-band{min-height:84px;display:grid;grid-template-columns:42px minmax(200px,.6fr) minmax(260px,1fr);align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.budget-band>div:nth-child(2){display:grid;gap:3px}.budget-band>div:nth-child(2) span{color:var(--muted);font-size:11px}.budget-band>div:nth-child(2) strong{font-size:19px}.budget-progress{display:grid;gap:7px}.budget-progress span{color:var(--muted);font-size:11px;text-align:right}.budget-progress>div,.compact-progress>div,.table-progress>div{height:6px;overflow:hidden;border-radius:4px;background:#e7ece9}.budget-progress i,.compact-progress i,.table-progress i{display:block;height:100%;border-radius:4px;background:var(--green)}.recent-projects{display:grid}.recent-projects article{min-height:76px;display:grid;grid-template-columns:84px minmax(180px,1fr) 82px 150px;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid #e7ebe9}.recent-projects article:last-child{border-bottom:0}.project-code{color:var(--green);font-size:12px;font-weight:750}.project-main{min-width:0;display:grid;gap:4px}.project-main strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.project-main span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.compact-progress{display:grid;gap:6px}.compact-progress span{color:#4f5b62;font-size:11px;text-align:right}.status-badge{width:fit-content;display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border-radius:4px;font-size:11px;font-weight:650;white-space:nowrap}.status-planning{color:var(--blue);background:var(--blue-soft)}.status-active{color:var(--green);background:var(--green-soft)}.status-at_risk{color:var(--red);background:var(--red-soft)}.status-completed{color:#48615b;background:#e5ece9}.status-paused{color:var(--yellow);background:var(--yellow-soft)}.project-list-section{min-height:420px}.project-table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;table-layout:fixed}.data-table th{height:44px;padding:0 14px;color:#758087;background:#f7f9f8;font-size:11px;font-weight:700;text-align:left;white-space:nowrap}.data-table td{height:72px;padding:10px 14px;border-top:1px solid #e7ebe9;color:#48545b;font-size:12px;vertical-align:middle}.data-table tbody tr:hover{background:#fafcfb}.project-table th:nth-child(1){width:22%}.project-table th:nth-child(2){width:13%}.project-table th:nth-child(3){width:10%}.project-table th:nth-child(4){width:18%}.project-table th:nth-child(5){width:13%}.project-table th:nth-child(6){width:13%}.project-table th:nth-child(7){width:86px}.project-cell{min-width:0;display:grid;gap:5px}.project-cell span{color:var(--green);font-size:10px;font-weight:750}.project-cell strong{overflow:hidden;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.muted{color:#9aa2a6}.date-cell{display:flex;align-items:center;gap:7px}.date-cell svg{flex:0 0 auto;color:#849098}.date-cell span{display:grid;gap:2px}.date-cell small{color:#899399;font-size:10px}.table-progress{min-width:90px;display:grid;gap:6px}.table-progress span{color:#4f5b62;font-size:11px}.money-cell{color:var(--ink)!important;font-weight:650;white-space:nowrap}.row-actions{display:flex;justify-content:flex-end;gap:2px}.modal-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px;background:#0b13178f}.modal{width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:8px;background:var(--paper);box-shadow:0 26px 80px #050c1047}.modal-header{position:sticky;z-index:1;top:0;min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 20px 0 24px;border-bottom:1px solid var(--line);background:var(--paper)}.modal-header h2{font-size:17px}.project-form{padding:22px 24px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.full-field{grid-column:1 / -1}.project-form input,.project-form select,.project-form textarea{width:100%;border:1px solid #cdd5d1;border-radius:6px;color:var(--ink);background:#fff;outline:none}.project-form input,.project-form select{height:40px;padding:0 11px}.project-form textarea{resize:vertical;min-height:94px;padding:10px 11px;line-height:1.5}.project-form input:focus,.project-form select:focus,.project-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1a}.progress-field>span{display:flex!important;justify-content:space-between}.progress-field b{color:var(--green)}.progress-field input{height:22px;padding:0;accent-color:var(--green);box-shadow:none!important}.modal-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin:22px -24px 0;padding:16px 24px;border-top:1px solid var(--line);background:#fafcfb}.assistant-layout{min-height:calc(100vh - 142px);display:grid;grid-template-columns:258px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.conversation-panel{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#f7f9f8}.conversation-panel>header{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 13px 0 17px;border-bottom:1px solid var(--line)}.conversation-panel>header strong{font-size:13px}.conversation-list{display:grid;align-content:start;gap:4px;overflow-y:auto;padding:10px}.conversation-list>button{width:100%;min-height:58px;display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:6px;color:#68747b;background:transparent;text-align:left}.conversation-list>button:hover{background:#edf2ef}.conversation-list>button.active{color:var(--ink);background:#e4ede9}.conversation-list>button>svg{flex:0 0 auto}.conversation-list>button>span{min-width:0;display:grid;gap:4px}.conversation-list strong,.conversation-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-list strong{color:inherit;font-size:12px}.conversation-list small{color:#879198;font-size:10px}.conversation-empty{min-height:140px;display:grid;place-content:center;justify-items:center;gap:8px;color:#8d979c;font-size:11px}.chat-workspace{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto}.chat-toolbar{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid var(--line)}.assistant-toolbar-groups{display:flex;align-items:center;gap:8px}.segmented-control{display:inline-flex;padding:3px;border-radius:6px;background:#edf1ef}.segmented-control button{min-height:32px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:4px;color:#6a767d;background:transparent;font-size:12px;font-weight:650}.segmented-control button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1620271a}.chat-toolbar select{width:min(280px,40%);padding:0 32px 0 11px;font-size:12px}.message-area{min-height:420px;max-height:calc(100vh - 302px);overflow-y:auto;padding:22px clamp(18px,5vw,68px)}.assistant-empty{min-height:380px;display:grid;place-content:center;justify-items:center;gap:12px}.assistant-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:8px;color:var(--green);background:var(--green-soft)}.assistant-empty h2{font-size:17px}.suggestion-list{width:min(480px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.suggestion-list button{min-height:74px;padding:10px;border:1px solid var(--line);border-radius:6px;color:#566269;background:#fff;font-size:11px;line-height:1.5}.suggestion-list button:hover{border-color:#95b8aa;color:var(--green);background:#f7fbf9}.chat-message{max-width:860px;display:flex;align-items:flex-start;gap:11px;margin:0 auto 22px}.message-avatar{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:6px;color:#506069;background:#e8edeb}.chat-message.assistant .message-avatar{color:var(--green);background:var(--green-soft)}.chat-message>div{min-width:0;flex:1;padding-top:1px}.chat-message strong{color:#546168;font-size:11px}.chat-message p{margin-top:7px;color:#253037;font-size:14px;line-height:1.72;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message small{display:block;margin-top:7px;color:#9aa2a6;font-size:9px}.loading-message p{display:flex;gap:5px;padding-top:6px}.loading-message p i{width:6px;height:6px;border-radius:50%;background:#6ea997;animation:dots 1.1s ease-in-out infinite}.loading-message p i:nth-child(2){animation-delay:.15s}.loading-message p i:nth-child(3){animation-delay:.3s}.chat-error{margin:0 18px 8px;padding:9px 12px;border-radius:6px;color:#913a3a;background:var(--red-soft);font-size:12px}.chat-composer{position:relative;margin:0 clamp(18px,5vw,68px) 18px}.chat-composer textarea{width:100%;min-height:66px;max-height:180px;resize:vertical;padding:12px 52px 12px 13px;border:1px solid #c8d1cd;border-radius:8px;color:var(--ink);background:#fff;outline:none;line-height:1.5}.chat-composer textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1a}.send-button{position:absolute;right:9px;bottom:10px;width:36px;height:36px;display:grid;place-items:center;border-radius:6px;color:#fff;background:var(--green)}.draft-side-note{display:grid;align-content:start;gap:9px;margin:14px;padding:16px;border:1px solid #d7e4df;border-radius:7px;color:#56646a;background:#fff}.draft-side-note>svg{color:var(--green)}.draft-side-note strong{color:var(--ink);font-size:13px}.draft-side-note p{font-size:11px;line-height:1.65}.draft-workspace{background:#f8faf9}.draft-workspace .assistant-empty p{color:#7b878d;font-size:12px}.draft-content{width:min(900px,100%);display:grid;gap:18px;margin:0 auto}.draft-content>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.draft-content>header div{display:grid;gap:4px}.draft-content>header span{color:var(--green);font-size:11px;font-weight:700}.draft-content>header h2{font-size:18px}.draft-content>header small{color:#77848a;font-size:11px}.draft-suggestions{width:100%;margin-top:0}.draft-instruction{display:grid;grid-template-columns:1fr auto;gap:9px 12px;padding:16px;border:1px solid var(--line);border-radius:7px;background:#fff}.draft-instruction label{grid-column:1 / -1;color:#4f5e64;font-size:12px;font-weight:700}.draft-instruction textarea{min-height:86px;resize:vertical;padding:10px 12px;border:1px solid #c8d1cd;border-radius:6px;color:var(--ink);outline:none;line-height:1.55}.draft-instruction textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1a}.draft-instruction button{align-self:end}.draft-preview{overflow:hidden;border:1px solid #bfd8ce;border-radius:8px;background:#fff;box-shadow:0 8px 24px #1e43360f}.draft-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dce8e3;background:#f2f8f5}.draft-preview>header div{display:flex;align-items:center;gap:8px;color:var(--green)}.draft-preview>header strong{color:var(--ink);font-size:13px}.draft-preview>header span{color:#718079;font-size:10px}.draft-field-list{display:grid}.draft-field-list article{display:grid;grid-template-columns:minmax(150px,.45fr) minmax(260px,1fr);gap:8px 18px;padding:14px 16px;border-bottom:1px solid #e8edeb}.draft-field-list article>div{display:grid;align-content:start;gap:3px}.draft-field-list article strong{font-size:12px}.draft-field-list article small{color:#87938e;font-size:10px;line-height:1.5}.draft-field-list article>p{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;font-size:12px;overflow-wrap:anywhere}.draft-field-list del{color:#9b6767}.draft-field-list ins{color:#1b785e;font-weight:650;text-decoration:none}.draft-field-list article>small{grid-column:2}.draft-preview>ul{display:grid;gap:5px;margin:12px 30px;color:#65736d;font-size:11px}.draft-preview>footer{display:flex;justify-content:flex-end;gap:9px;padding:13px 16px;background:#fafcfb}.draft-success{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:6px;color:#176a52;background:#e8f5ef;font-size:12px;font-weight:650}.integration-toolbar{border-bottom:1px solid var(--line);padding-bottom:17px}.integration-list{display:grid}.integration-list article{min-height:88px;display:grid;grid-template-columns:44px minmax(240px,1fr) auto 90px 36px;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid #e6ebe8}.integration-list article:last-of-type{border-bottom:0}.integration-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;color:#425158;background:#edf1ef}.integration-main{min-width:0;display:grid;grid-template-columns:minmax(180px,.4fr) minmax(220px,1fr);align-items:center;gap:20px}.integration-main>div{display:grid;gap:4px}.integration-main strong{font-size:13px}.integration-main small{color:#879198;font-size:10px}.integration-main p{color:#606c73;font-size:12px}.version-label{padding:4px 7px;border-radius:4px;color:#59666d;background:#edf1ef;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;white-space:nowrap}.integration-badge{min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;border-radius:4px;font-size:11px;font-weight:650;white-space:nowrap}.integration-badge>span{width:7px;height:7px;border-radius:50%}.integration-ready{color:var(--green);background:var(--green-soft)}.integration-ready>span{background:#2d9e7c}.integration-pending{color:var(--yellow);background:var(--yellow-soft)}.integration-pending>span{background:#c08a2c}.integration-unreachable{color:var(--red);background:var(--red-soft)}.integration-unreachable>span{background:#c24b4b}.integration-action-placeholder{width:36px}.status-loading{min-height:180px;display:grid;place-content:center;justify-items:center;gap:8px;color:#7f8a90;font-size:12px}.permission-summary header{min-height:56px;display:flex;align-items:center;padding:0 18px;border-bottom:1px solid var(--line)}.boundary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.boundary-grid>div{min-height:92px;display:grid;align-content:center;gap:6px;padding:18px;border-right:1px solid var(--line)}.boundary-grid>div:last-child{border-right:0}.boundary-grid span{color:#829097;font-size:10px;font-weight:700}.boundary-grid strong{color:#3e4a51;font-size:12px;line-height:1.45}.audit-section{min-height:420px}.audit-table th:nth-child(1){width:170px}.audit-table th:nth-child(2){width:150px}.audit-table th:nth-child(3){width:180px}.audit-table th:nth-child(5){width:90px}.audit-time{display:grid;gap:2px}.audit-time small{color:#8b959a}.audit-action{display:flex;align-items:center;gap:7px}.entity-id{margin-left:7px;padding:3px 5px;border-radius:3px;color:#7a858b;background:var(--soft);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.result-label{display:inline-flex;min-height:25px;align-items:center;padding:0 8px;border-radius:4px;font-size:10px;font-weight:650}.result-success{color:var(--green);background:var(--green-soft)}.result-denied,.result-failed{color:var(--red);background:var(--red-soft)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.45}}@keyframes dots{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@media(max-width:1100px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-table{min-width:980px}.integration-list article{grid-template-columns:44px minmax(200px,1fr) 90px 36px}.integration-main{grid-template-columns:1fr;gap:5px}.version-label{display:none}}@media(max-width:820px){.login-page{grid-template-columns:1fr;align-content:center;padding:24px 0}.login-brand{min-height:auto;align-items:center;padding:20px 28px;color:var(--ink);background:transparent}.login-logo{width:44px;height:44px}.login-brand h1{font-size:22px}.login-brand span{color:#75827c}.login-panel{align-self:auto;padding:28px}.app-layout,.app-layout.is-collapsed{display:block}.sidebar,.app-layout.is-collapsed .sidebar{width:260px;transform:translate(-100%);transition:transform .2s ease}.mobile-nav-open .sidebar{transform:translate(0)}.app-layout.is-collapsed .brand-copy,.app-layout.is-collapsed .main-nav button span,.app-layout.is-collapsed .user-chip div{display:grid}.app-layout.is-collapsed .brand-block{padding:0 16px}.app-layout.is-collapsed .main-nav{padding:18px 12px}.app-layout.is-collapsed .main-nav button{justify-content:flex-start;padding:0 12px}.app-layout.is-collapsed .sidebar-footer{justify-content:initial;padding:10px 10px 10px 14px}.app-layout.is-collapsed .user-chip{flex:1}.app-layout.is-collapsed .nav-icon-button{display:grid}.collapse-button{display:none}.mobile-menu,.mobile-close{display:inline-grid}.mobile-close{margin-left:auto}.nav-scrim{position:fixed;z-index:25;inset:0;display:block;background:#090f127a}.main-area{width:100%}.topbar{height:66px;padding:0 16px}.topbar-title h1{font-size:16px}.topbar-state{font-size:0}.page-content{min-height:calc(100vh - 66px);padding:18px 14px 28px}.budget-band{grid-template-columns:42px 1fr}.budget-progress{grid-column:1 / -1}.recent-projects article{grid-template-columns:70px minmax(140px,1fr) 78px}.recent-projects .compact-progress{grid-column:2 / -1}.assistant-layout{min-height:calc(100vh - 104px);grid-template-columns:1fr;overflow:visible}.conversation-panel{display:none}.message-area{max-height:none;min-height:calc(100vh - 334px);padding:18px}.chat-toolbar{align-items:stretch;flex-direction:column;gap:8px}.assistant-toolbar-groups{align-items:stretch;flex-direction:column}.chat-toolbar select{width:100%}.segmented-control{align-self:flex-start}.draft-field-list article{grid-template-columns:1fr}.draft-field-list article>small{grid-column:1}.chat-composer{margin:0 14px 14px}.boundary-grid{grid-template-columns:1fr}.boundary-grid>div{min-height:72px;border-right:0;border-bottom:1px solid var(--line)}.boundary-grid>div:last-child{border-bottom:0}}@media(max-width:560px){.metrics-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:96px;align-items:flex-start;flex-direction:column;gap:9px;padding:14px}.metric-icon{width:34px;height:34px;flex-basis:34px}.metric-card strong{font-size:22px}.budget-band{padding:14px}.section-header{padding-inline:14px}.recent-projects article{grid-template-columns:65px minmax(100px,1fr);gap:8px;padding:12px 14px}.recent-projects .status-badge{justify-self:start;grid-column:2}.recent-projects .compact-progress{grid-column:2;width:100%}.page-toolbar,.filter-group{align-items:stretch;flex-direction:column}.search-box,.page-toolbar select{width:100%}.page-toolbar>.primary-button{width:100%}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.project-form{padding:18px 16px 0}.modal-actions{margin:20px -16px 0;padding:14px 16px}.suggestion-list{grid-template-columns:1fr}.suggestion-list button{min-height:46px}.assistant-empty{min-height:330px;padding:14px}.chat-message{margin-bottom:18px}.draft-instruction{grid-template-columns:1fr}.draft-field-list article>p{grid-template-columns:1fr;gap:4px}.draft-field-list article>p span{display:none}.integration-list article{grid-template-columns:42px minmax(0,1fr) 36px;gap:10px;padding:14px}.integration-badge{grid-column:2;justify-self:start}.integration-list article>.icon-button,.integration-action-placeholder{grid-column:3;grid-row:1 / span 2}.audit-table{min-width:760px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.inline-alert.success{border:1px solid #bcdccd;color:#176a52;background:#e8f5ef}.lean-hero{min-height:176px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px clamp(24px,4vw,48px);overflow:hidden;border-radius:12px;color:#fff;background:radial-gradient(circle at 86% 22%,rgba(108,216,175,.35),transparent 27%),linear-gradient(125deg,#10241f,#185b49 62%,#188169);box-shadow:0 14px 38px #12473824}.lean-hero>div{max-width:780px;display:grid;gap:9px}.lean-hero span{color:#83d7bb;font-size:11px;font-weight:800;letter-spacing:.12em}.lean-hero h2{font-size:clamp(23px,3vw,35px);line-height:1.2}.lean-hero p{max-width:680px;color:#c9ddd6;font-size:13px;line-height:1.7}.lean-hero .primary-button{flex:0 0 auto;color:#123027;background:#7ae0bf}.lean-summary-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(480px,1.25fr);gap:20px}.benefit-card .section-header svg,.stage-distribution .section-header svg{color:var(--green)}.benefit-value{min-height:160px;display:grid;place-content:center;justify-items:center;gap:12px;padding:24px}.benefit-value strong{color:var(--green);font-size:clamp(30px,4vw,46px)}.benefit-value span{color:var(--muted);font-size:12px}.stage-bars{display:grid;gap:10px;padding:18px 20px}.stage-bars>div{display:grid;grid-template-columns:96px minmax(80px,1fr) 24px;align-items:center;gap:10px}.stage-bars span{color:#59666d;font-size:11px}.stage-bars>div>div{height:7px;overflow:hidden;border-radius:5px;background:#edf1ef}.stage-bars i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#49b68f,#168166)}.stage-bars strong{color:#405049;font-size:11px;text-align:right}.lean-topic-list{display:grid}.lean-topic-list>button{min-height:78px;display:grid;grid-template-columns:88px minmax(210px,1fr) 126px 150px 24px;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid #e7ebe9;color:var(--ink);background:transparent;text-align:left}.lean-topic-list>button:last-child{border-bottom:0}.lean-topic-list>button:hover{background:#f7faf8}.lean-topic-list>button>div:nth-child(2){min-width:0;display:grid;gap:4px}.lean-topic-list>button strong,.lean-topic-list>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lean-topic-list>button strong{font-size:13px}.lean-topic-list>button small{color:var(--muted);font-size:10px}.topic-code{color:var(--green);font-size:11px;font-weight:800}.lean-stage-pill{width:fit-content;display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:99px;color:#276b57;background:#e6f3ee;font-size:10px;font-weight:700;white-space:nowrap}.stage-plan,.stage-do{color:#7c5817;background:#faf1da}.stage-check,.stage-action{color:#315e87;background:#eaf1f7}.toolbar-actions{display:flex;gap:9px}.workshop-cards{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px}.workshop-cards>button{min-height:184px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:1fr auto;gap:14px;padding:20px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#fff;text-align:left;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.workshop-cards>button:hover,.workshop-cards>button.active{border-color:#8dbbaa;box-shadow:0 10px 28px #19594417;transform:translateY(-2px)}.workshop-card-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;color:var(--green);background:var(--green-soft)}.workshop-cards>button>div:nth-child(2){display:grid;align-content:start;gap:5px}.workshop-cards>button>div:nth-child(2)>span{color:var(--green);font-size:10px;font-weight:800}.workshop-cards>button>div:nth-child(2) strong{font-size:15px}.workshop-cards>button p{color:var(--muted);font-size:11px;line-height:1.55}.workshop-cards footer{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #edf1ef}.workshop-cards footer span{display:inline-flex;align-items:center;gap:5px;color:#748079;font-size:10px}.workshop-empty{grid-column:1 / -1}.topic-table-header .search-box{margin-left:auto}.lean-topic-table{min-width:980px}.lean-topic-table tbody tr{cursor:pointer}.lean-topic-table th:nth-child(1){width:24%}.lean-topic-table th:nth-child(2){width:17%}.lean-topic-table th:nth-child(3){width:15%}.lean-topic-table th:nth-child(4){width:10%}.lean-topic-table th:nth-child(5){width:14%}.lean-topic-table th:nth-child(6){width:13%}.lean-topic-table th:last-child{width:48px}.stacked-cell{min-width:0;display:grid;gap:4px}.stacked-cell strong{overflow:hidden;color:#455158;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.stacked-cell span{overflow:hidden;color:#899399;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.workbench-heading{min-height:114px;display:grid;grid-template-columns:40px minmax(300px,1fr) auto;align-items:center;gap:15px;padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:#fff}.workbench-heading>div:nth-child(2){min-width:0;display:grid;gap:4px}.workbench-heading>div:nth-child(2)>span{color:var(--green);font-size:10px;font-weight:800}.workbench-heading h2{overflow:hidden;font-size:21px;text-overflow:ellipsis;white-space:nowrap}.workbench-heading p{color:var(--muted);font-size:11px}.workbench-meta{display:flex;gap:24px}.workbench-meta>span{display:grid;gap:4px;color:#849089;font-size:9px}.workbench-meta strong{color:#334139;font-size:12px}.workbench-toolbar{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.cycle-selector,.team-preview{display:flex;align-items:center;gap:8px}.cycle-selector>span,.team-preview>span{color:var(--muted);font-size:11px}.cycle-selector select{height:34px;padding:0 30px 0 10px;border:1px solid var(--line);border-radius:5px;background:#fff}.stage-rail{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.stage-rail>button{position:relative;min-width:116px;min-height:82px;display:flex;align-items:center;gap:9px;padding:12px 15px;color:#7c8881;background:transparent;text-align:left}.stage-rail>button:hover{background:#f7faf8}.stage-rail>button.active{color:#195f4b;background:#eef7f3;box-shadow:inset 0 -3px var(--green)}.stage-rail>button.status-approved{color:#34735f}.stage-rail>button.status-submitted{color:#9a6a13;background:#fffaf0}.stage-rail>button.status-needs_revision{color:#a44646;background:#fff5f4}.stage-rail>button>span{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800}.stage-rail>button>div{display:grid;gap:3px}.stage-rail strong{font-size:11px;white-space:nowrap}.stage-rail small{font-size:9px}.stage-arrow{position:absolute;right:-8px;z-index:2;color:#b8c0bc}.workbench-layout{display:grid;grid-template-columns:minmax(600px,1fr) 314px;align-items:start;gap:18px}.stage-main-column{min-width:0;display:grid;gap:18px}.stage-editor{overflow:hidden}.stage-editor-header{min-height:104px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line)}.stage-editor-header>div:first-child{display:grid;gap:5px}.stage-editor-header>div:first-child>span{color:var(--green);font-size:10px;font-weight:800}.stage-editor-header h2{font-size:20px}.stage-editor-header p{color:var(--muted);font-size:11px;line-height:1.5}.stage-editor-header>div:last-child{display:grid;justify-items:end;gap:6px}.stage-editor-header small{color:#8a9590;font-size:9px}.stage-status{min-height:26px;display:inline-flex;align-items:center;padding:0 9px;border-radius:99px;color:#496157;background:#edf1ef;font-size:10px;font-weight:700}.stage-status.status-in_progress,.stage-status.status-approved{color:var(--green);background:var(--green-soft)}.stage-status.status-submitted{color:var(--yellow);background:var(--yellow-soft)}.stage-status.status-needs_revision{color:var(--red);background:var(--red-soft)}.stage-output{display:flex;gap:12px;padding:12px 22px;color:#496157;background:#f2f8f5;font-size:11px}.stage-output strong{color:var(--green);white-space:nowrap}.lean-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;padding:22px}.lean-form-grid label{min-width:0;display:grid;align-content:start;gap:7px}.lean-form-grid .wide-field{grid-column:1 / -1}.lean-form-grid label>span,.ai-coach-panel label>span,.review-box label>span{color:#4d5a53;font-size:11px;font-weight:700}.lean-form-grid label b{margin-left:3px;color:#c44b4b}.lean-form-grid input,.lean-form-grid select,.lean-form-grid textarea,.ai-coach-panel textarea,.review-box textarea{width:100%;border:1px solid #cdd6d1;border-radius:6px;color:var(--ink);background:#fff;outline:none}.lean-form-grid input,.lean-form-grid select{height:40px;padding:0 11px}.lean-form-grid textarea,.ai-coach-panel textarea,.review-box textarea{min-height:104px;resize:vertical;padding:10px 11px;line-height:1.55}.lean-form-grid input:focus,.lean-form-grid select:focus,.lean-form-grid textarea:focus,.ai-coach-panel textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16785f1a}.lean-form-grid input:disabled,.lean-form-grid select:disabled,.lean-form-grid textarea:disabled{color:#5f6a65;background:#f7f9f8}.stage-editor-actions{display:flex;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid var(--line);background:#fafcfb}.mini-empty{min-height:110px;display:grid;place-content:center;justify-items:center;gap:8px;color:#88938d;font-size:11px}.evidence-list{display:grid}.evidence-list article{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid #e8edeb}.evidence-list article:first-child{border-top:0}.evidence-list article>div{display:grid;gap:3px}.evidence-list strong{font-size:12px}.evidence-list p{color:#69756f;font-size:10px}.evidence-list small{color:#929b97;font-size:9px}.evidence-kind{display:inline-flex;justify-content:center;padding:5px 7px;border-radius:4px;color:#386d5d;background:#e8f3ee;font-size:9px;font-weight:800}.action-mini-table{display:grid}.action-mini-table article{min-height:66px;display:grid;grid-template-columns:minmax(240px,1fr) 120px 100px 110px;align-items:center;gap:12px;padding:10px 18px;border-top:1px solid #e8edeb}.action-mini-table article:first-child{border-top:0}.action-mini-table article>div{display:grid;gap:4px}.action-mini-table strong{font-size:11px}.action-mini-table small,.action-mini-table article>span{color:#748079;font-size:10px}.action-status{width:fit-content;padding:5px 7px;border-radius:4px;color:#50615a;background:#edf1ef;font-size:9px!important;font-weight:700}.action-in_progress{color:#26669a;background:#e9f1f7}.action-done{color:var(--green);background:var(--green-soft)}.action-blocked{color:var(--red);background:var(--red-soft)}.review-workflow{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}.review-workflow>div{display:grid;gap:6px}.review-workflow strong{font-size:12px}.review-workflow p{color:#69756f;font-size:11px}.review-box{display:grid;gap:12px;padding:18px 20px;border-top:1px solid var(--line);background:#fffaf1}.review-box label{display:grid;gap:7px}.review-box textarea{min-height:74px}.review-box>div{display:flex;justify-content:flex-end;gap:9px}.review-history{display:grid;border-top:1px solid var(--line)}.review-history article{display:grid;grid-template-columns:50px 1fr;gap:12px;padding:13px 20px;border-top:1px solid #edf1ef}.review-history article:first-child{border-top:0}.review-history article>span{color:var(--green);font-size:10px;font-weight:800}.review-history article>div{display:grid;gap:3px}.review-history strong{font-size:10px}.review-history p{color:#5f6b65;font-size:10px}.review-history small{color:#929b97;font-size:9px}.ai-coach-panel{position:sticky;top:94px;display:grid;gap:14px;padding:17px;border:1px solid #c8ddd4;border-radius:10px;background:#f7fbf9;box-shadow:0 10px 28px #1959440f}.ai-coach-panel>header{display:flex;align-items:center;gap:10px}.ai-coach-panel>header>span{width:36px;height:36px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:var(--green-soft)}.ai-coach-panel>header>div{display:grid;gap:2px}.ai-coach-panel>header strong{font-size:13px}.ai-coach-panel>header small{color:#789087;font-size:9px}.ai-boundary{display:flex;align-items:flex-start;gap:8px;padding:10px;border-radius:6px;color:#52665e;background:#e7f3ee}.ai-boundary svg{flex:0 0 auto;color:var(--green)}.ai-boundary p{font-size:10px;line-height:1.55}.ai-coach-panel>label{display:grid;gap:7px}.ai-coach-panel textarea{min-height:92px;font-size:11px}.coach-prompts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.coach-prompts button{min-height:44px;padding:6px;border:1px solid #d5e3dd;border-radius:5px;color:#527065;background:#fff;font-size:9px}.coach-prompts button:hover{border-color:#7fb39f;color:var(--green)}.lean-draft-preview{display:grid;overflow:hidden;border:1px solid #aed1c3;border-radius:7px;background:#fff}.lean-draft-preview>header{display:flex;justify-content:space-between;padding:10px;background:#edf7f3}.lean-draft-preview>header strong{font-size:11px}.lean-draft-preview>header span{color:#74877f;font-size:8px}.lean-draft-preview article{display:grid;gap:7px;padding:10px;border-top:1px solid #e6ece9}.lean-draft-preview article>div{display:flex;justify-content:space-between;gap:8px}.lean-draft-preview article strong{font-size:10px}.lean-draft-preview article>div span{color:var(--green);font-size:8px}.lean-draft-preview article>p{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:5px;font-size:9px;overflow-wrap:anywhere}.lean-draft-preview del{color:#9a6666}.lean-draft-preview ins{color:#176a52;font-weight:700;text-decoration:none}.lean-draft-preview small{color:#647269;font-size:9px;line-height:1.45}.lean-draft-preview em{color:#88948e;font-size:8px;font-style:normal}.draft-note{padding:8px 10px;color:#795d24;background:#fff8e8;font-size:9px}.lean-draft-preview footer{display:flex;justify-content:flex-end;gap:6px;padding:9px;border-top:1px solid #e5ebe8}.lean-draft-preview footer button{min-height:32px;padding-inline:9px;font-size:9px}.team-list{display:grid;gap:8px;padding-top:12px;border-top:1px solid #d9e6e0}.team-list>header{display:flex;align-items:center;gap:7px;color:#50635b}.team-list>header strong{font-size:11px}.team-list>div{display:flex;align-items:center;gap:8px}.team-list>div>span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#5a8f7c;font-size:9px;font-weight:700}.team-list p{display:grid;gap:1px}.team-list p strong{font-size:10px}.team-list p small{color:#7e8b85;font-size:8px}.one-page-sheet{overflow:hidden;border:1px solid #bfc9c4;border-radius:8px;background:#fff;box-shadow:0 12px 34px #11241e14}.one-page-sheet>header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:2px solid #25342e}.one-page-sheet>header span{color:var(--green);font-size:10px;font-weight:800}.one-page-sheet>header h2{margin-top:4px;font-size:20px}.one-page-sheet>header small{color:#7d8882;font-size:10px}.one-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.one-page-zone{min-height:300px;border-right:1px solid #cbd3cf;border-bottom:1px solid #cbd3cf}.one-page-zone:nth-child(3n){border-right:0}.one-page-zone:nth-last-child(-n+3){border-bottom:0}.one-page-zone>h3{padding:9px 12px;color:#fff;background:#2f6d5a;font-size:11px}.zone-focus>h3,.zone-plan>h3{background:#596a63}.zone-do>h3{background:#9a6b20}.zone-check>h3{background:#366b91}.zone-act>h3{background:#2d5b7e}.one-page-zone>article{border-top:1px solid #e3e8e5}.one-page-zone>article:first-of-type{border-top:0}.one-page-zone article>header{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;background:#f7f9f8}.one-page-zone article>header strong{font-size:10px}.one-page-zone article>header span{color:#708078;font-size:8px}.one-page-zone article>div{display:grid;gap:7px;padding:10px}.one-page-zone article p{display:grid;gap:3px}.one-page-zone article b{color:#506059;font-size:8px}.one-page-zone article p span{color:#202b26;font-size:10px;line-height:1.45;white-space:pre-wrap}.execution-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.board-note{color:#7c8781;font-size:11px}.action-table{min-width:1180px}.action-table th:nth-child(1){width:27%}.action-table th:nth-child(2){width:10%}.action-table th:nth-child(3){width:18%}.action-table th:nth-child(4){width:14%}.action-table th:nth-child(5){width:10%}.action-table th:nth-child(6){width:11%}.action-table th:nth-child(7){width:14%}.action-table tr.is-overdue{background:#fff9f7}.action-topic-link{width:100%;display:grid;gap:3px;color:inherit;background:transparent;text-align:left}.action-topic-link span{color:var(--green);font-size:9px;font-weight:800}.action-topic-link strong{font-size:11px}.action-topic-link small{color:#87918c;font-size:9px}.action-table select{width:100%;height:32px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:10px}.action-progress-editor{display:grid;gap:5px}.action-progress-editor span{font-size:10px}.action-progress-editor input{width:100%;accent-color:var(--green)}.overdue-text{color:var(--red)!important}.knowledge-integration{min-height:82px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 18px;border:1px solid #c4dbd1;border-radius:9px;background:#f2f8f5}.knowledge-integration.pending{border-color:#ead7ad;background:#fff9eb}.knowledge-integration>span{width:40px;height:40px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:#ddf0e8}.knowledge-integration.pending>span{color:var(--yellow);background:#f6eaca}.knowledge-integration>div{display:grid;gap:4px}.knowledge-integration strong{font-size:12px}.knowledge-integration p{color:#68766f;font-size:10px}.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:15px}.knowledge-grid>article{min-height:285px;display:grid;grid-template-rows:auto 1fr auto auto;gap:16px;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 6px 20px #142c240a}.knowledge-grid article>header,.knowledge-grid article>footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.asset-type,.sync-state{padding:5px 8px;border-radius:4px;font-size:9px;font-weight:800}.asset-type{color:var(--green);background:var(--green-soft)}.sync-state{color:#7b652f;background:#f8f0dc}.sync-synced{color:var(--green);background:var(--green-soft)}.knowledge-grid article>div{display:grid;align-content:start;gap:7px}.knowledge-grid article>div button{width:fit-content;padding:0;color:var(--green);background:transparent;font-size:9px;font-weight:800}.knowledge-grid h3{font-size:16px;line-height:1.35}.knowledge-grid article>div p{color:#637069;font-size:11px;line-height:1.6}.knowledge-grid dl{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:11px 0;border-block:1px solid #edf1ef}.knowledge-grid dl>div{display:grid;gap:3px}.knowledge-grid dt{color:#8a948f;font-size:8px}.knowledge-grid dd{margin:0;color:#36453e;font-size:10px;font-weight:700}.knowledge-grid footer>span{display:inline-flex;align-items:center;gap:5px;color:#69766f;font-size:9px}.knowledge-principles{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:8px;color:#52645b;background:#eaf3ef}.knowledge-principles svg{flex:0 0 auto;color:var(--green)}.knowledge-principles>div{display:grid;gap:4px}.knowledge-principles strong{font-size:11px}.knowledge-principles p{font-size:10px;line-height:1.6}.lean-assistant-layout .chat-toolbar{align-items:flex-start}.lean-assistant-layout .assistant-toolbar-groups{flex-wrap:wrap}.lean-assistant-layout .chat-toolbar select{width:230px;max-width:100%}.assistant-safety{color:#7d8983;font-size:9px}@media(max-width:1240px){.workshop-cards,.knowledge-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.workbench-layout{grid-template-columns:minmax(520px,1fr) 286px}.workbench-meta{display:none}}@media(max-width:980px){.lean-summary-grid,.workbench-layout{grid-template-columns:1fr}.ai-coach-panel{position:static}.one-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.one-page-zone:nth-child(3n){border-right:1px solid #cbd3cf}.one-page-zone:nth-child(2n){border-right:0}.one-page-zone:nth-last-child(-n+3){border-bottom:1px solid #cbd3cf}.one-page-zone:nth-last-child(-n+2){border-bottom:0}.execution-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.lean-hero{align-items:flex-start;flex-direction:column}.lean-hero .primary-button{width:100%}.lean-topic-list>button{grid-template-columns:72px minmax(140px,1fr) 24px}.lean-topic-list .lean-stage-pill,.lean-topic-list .table-progress{grid-column:2}.lean-topic-list>button>svg{grid-column:3;grid-row:1 / span 3}.workshop-cards,.knowledge-grid{grid-template-columns:1fr}.toolbar-actions,.topic-table-header{align-items:stretch;flex-direction:column}.topic-table-header .search-box{width:100%;margin:0}.workbench-heading{grid-template-columns:38px minmax(0,1fr)}.workbench-heading h2{white-space:normal}.workbench-toolbar{align-items:stretch;flex-direction:column}.team-preview{justify-content:flex-end}.lean-form-grid{grid-template-columns:1fr}.lean-form-grid .wide-field{grid-column:auto}.stage-editor-header{flex-direction:column}.stage-editor-header>div:last-child{justify-items:start}.action-mini-table article{grid-template-columns:1fr 1fr}.action-mini-table article>div{grid-column:1 / -1}.review-workflow{align-items:stretch;flex-direction:column}.review-workflow button{width:100%}.one-page-grid{grid-template-columns:1fr}.one-page-zone,.one-page-zone:nth-child(2n),.one-page-zone:nth-child(3n),.one-page-zone:nth-last-child(-n+2),.one-page-zone:nth-last-child(-n+3){border-right:0;border-bottom:1px solid #cbd3cf}.one-page-zone:last-child{border-bottom:0}.one-page-sheet>header{align-items:flex-start;flex-direction:column}.knowledge-integration{grid-template-columns:42px 1fr}.knowledge-integration>a{grid-column:1 / -1}}@media(max-width:520px){.execution-metrics{grid-template-columns:1fr 1fr}.workbench-heading{padding:14px}.stage-editor-header,.lean-form-grid{padding:16px}.stage-output{align-items:flex-start;flex-direction:column}.evidence-list article{grid-template-columns:56px 1fr}.evidence-list article>a{grid-column:2;justify-self:start}.coach-prompts{grid-template-columns:1fr}.lean-assistant-layout .chat-toolbar select{width:100%}}
