:root{--color-background:#f3f8f7;--color-surface:#fff;--color-surface-soft:#f7fbfa;--color-surface-muted:#edf6f4;--color-border:#d6e4e2;--color-border-strong:#a9c8c3;--color-text:#253238;--color-text-soft:#465b5e;--color-text-muted:#657678;--color-primary:#2f6f73;--color-primary-strong:#24595d;--color-focus-ring:#2f6f732e;--color-success:#2f6f4e;--color-success-border:#a5d6bd;--color-danger:#a33f3f;--color-danger-bg:#fff4f2;--color-danger-border:#f3c8c1;color:var(--color-text);background:var(--color-background);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh;padding:16px}.app-shell--centered{justify-content:center;align-items:center;display:flex}.top-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title session""controls controls";align-items:center;gap:8px 12px;margin-bottom:10px;display:grid;position:relative}.top-bar-title{grid-area:title;justify-self:stretch;align-items:center;gap:12px;width:100%;min-width:0;display:flex}.project-heading{flex:0 auto;min-width:0;max-width:min(44vw,560px)}.top-bar h1{overflow-wrap:anywhere;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0;font-size:22px;line-height:1.1;overflow:hidden}.eyebrow{color:var(--color-text-muted);letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:700}.top-bar-controls{scrollbar-width:thin;flex-wrap:nowrap;flex:auto;grid-area:controls;justify-content:flex-start;align-items:center;gap:8px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.top-bar-backup-status{color:var(--color-text-muted);white-space:nowrap;flex:none;align-items:baseline;gap:4px;min-width:max-content;margin-left:auto;font-size:12px;line-height:1.2;display:inline-flex}.top-bar-backup-status span{font-weight:700}.top-bar-backup-status strong{color:var(--color-text-muted);font-weight:700}.top-bar-nav{scrollbar-width:thin;flex-wrap:nowrap;flex:none;align-items:center;gap:6px;min-width:0;max-width:100%;padding-bottom:2px;display:inline-flex;overflow-x:auto}.top-bar-nav .secondary-button[aria-current=page]{background:var(--color-surface-muted);border-color:var(--color-primary);color:var(--color-primary-strong)}.field{gap:4px;min-width:0;display:grid;position:relative}.field span{color:var(--color-text-muted);overflow-wrap:anywhere;min-width:0;font-size:11px;font-weight:700}.field input,.field select,.field textarea{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);border-radius:6px;outline:none;min-width:0;max-width:100%;padding:8px 10px}.top-bar-toolbar-field{flex:none;align-items:center;gap:6px;min-width:0;display:inline-flex;position:relative}.top-bar-toolbar-field span{color:var(--color-text-muted);text-transform:uppercase;white-space:nowrap;flex:none;font-size:11px;font-weight:800;line-height:1}.top-bar-toolbar-field input,.top-bar-toolbar-field select{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);border-radius:6px;outline:none;width:100%;min-width:0;height:34px;padding:0 10px}.top-bar-toolbar-field--project{flex:330px;min-width:300px}.top-bar-toolbar-field--velocity{flex-basis:132px}.top-bar-toolbar-field--velocity input{width:48px}.top-bar-toolbar-field--search{flex:260px;min-width:220px}.top-bar-toolbar-field--search input{padding-left:32px}.top-bar-toolbar-field--epic{flex-basis:190px}.field input,.field select{height:34px;padding-block:0}.field textarea{resize:vertical;min-height:72px}.field input:focus,.field select:focus,.field textarea:focus,.top-bar-toolbar-field input:focus,.top-bar-toolbar-field select:focus,.story-card:focus,.line-item-row:focus,.unknown-item:focus,.icon-button:focus,.icon-menu-button:focus,.story-select-button:focus,.story-expanded:focus,.command-button:focus,.secondary-button:focus,.danger-button:focus,.app-menu button:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-focus-ring)}.field--compact{width:128px}.field--search{flex:220px;min-width:180px;max-width:360px}.field--search input{padding-left:32px}.field--select{width:160px}.field--project-select{flex:0 0 clamp(280px,26vw,340px);width:clamp(280px,26vw,340px)}.field--new-project{width:min(100%,340px)}.field--project-list-name{width:100%}.field--project-list-description{grid-column:1/-1;width:100%}.field--project-list-description textarea{min-height:58px}.field--project-list-velocity{width:min(100%,150px)}.field--color{width:78px}.field--color input{padding:3px}.field-icon{color:var(--color-text-muted);position:absolute;bottom:9px;left:10px}.top-bar-menu{flex:none;position:relative}.top-bar-session{grid-area:session;place-self:center end;min-width:0}.icon-menu-button{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);border-radius:6px;outline:none;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.app-menu{background:var(--color-surface);border:1px solid var(--color-border-strong);z-index:20;border-radius:8px;min-width:180px;padding:4px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 28px #24595d24}.app-menu button{color:var(--color-text);text-align:left;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:5px;outline:none;align-items:center;gap:8px;width:100%;height:32px;padding:0 10px;font-weight:700;display:flex}.app-menu button:hover{background:var(--color-surface-muted)}.command-button,.secondary-button,.danger-button{white-space:nowrap;border-radius:6px;outline:none;flex-shrink:0;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 12px;display:inline-flex}.top-bar-nav .secondary-button{padding-inline:10px}.command-button{background:var(--color-primary-strong);border:1px solid var(--color-primary-strong);color:var(--color-surface)}.command-button:disabled{background:var(--color-surface-muted);border-color:var(--color-border);color:var(--color-text-muted)}.command-button--small,.secondary-button--small,.danger-button--small{height:30px;padding:0 9px}.secondary-button{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text)}.secondary-button:disabled,.danger-button:disabled{background:var(--color-surface-muted);border-color:var(--color-border);color:var(--color-text-muted)}.danger-button{background:var(--color-danger-bg);border:1px solid var(--color-danger-border);color:var(--color-danger)}.mini-button{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text-soft);border-radius:5px;min-height:26px;padding:3px 8px;font-size:12px;font-weight:700}.mini-button:disabled{background:var(--color-surface-muted);color:var(--color-text-muted)}.save-error,.app-error,.form-error,.backup-status--error{color:var(--color-danger);font-weight:700}.save-error,.backup-status{margin:0 0 12px}.save-error--inline{background:var(--color-danger-bg);border:1px solid var(--color-danger-border);border-radius:6px;padding:8px 10px;font-size:13px}.backup-status{border:1px solid var(--color-border);border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.backup-status p{margin:0}.backup-status--info{background:var(--color-surface-soft);color:var(--color-text-soft)}.backup-status--error{background:var(--color-danger-bg);border-color:var(--color-danger-border)}.backup-status-dismiss{color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.backup-status-dismiss:hover,.backup-status-dismiss:focus{background:#ffffffb8;border-color:currentColor;outline:none}.backup-file-input{display:none}.backup-import-preview{background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:8px;gap:12px;max-width:980px;margin:0 0 12px;padding:12px;display:grid}.backup-import-preview header{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.backup-import-preview h2{color:var(--color-primary-strong);overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.25}.backup-import-preview header span{color:var(--color-text-muted);text-align:right;font-size:12px;font-weight:700;line-height:1.25}.backup-import-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid}.backup-import-summary div{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;gap:4px;min-width:0;padding:8px 10px;display:grid}.backup-import-summary dt{color:var(--color-text-muted);font-size:11px;font-weight:800}.backup-import-summary dd{color:var(--color-text);overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:700}.backup-import-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.delivery-screen{gap:14px;max-width:1040px;display:grid}.delivery-screen-header h2{margin:0;font-size:20px;line-height:1.25}.delivery-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.delivery-summary div,.delivery-metric-group,.delivery-detail{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px}.delivery-summary div{gap:5px;min-width:0;padding:12px;display:grid}.delivery-summary span,.delivery-period-label{color:var(--color-text-muted);font-size:12px;font-weight:700}.delivery-summary small,.delivery-metric-group header p,.delivery-period-count span,.delivery-detail header span,.delivery-story-group header span,.delivery-story-list dt{color:var(--color-text-muted);font-size:11px;font-weight:700;line-height:1.25}.delivery-summary strong{color:var(--color-primary-strong);font-size:24px;line-height:1}.delivery-metric-group{gap:10px;min-width:0;padding:14px;display:grid}.delivery-metric-group h3{color:var(--color-primary-strong);margin:0;font-size:16px;line-height:1.25}.delivery-metric-group header{gap:3px;display:grid}.delivery-metric-group header p{margin:0}.delivery-period-list{gap:8px;display:grid}.delivery-period{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(90px,150px) minmax(120px,1fr) 72px;align-items:center;gap:10px;min-width:0;padding:6px;display:grid}.delivery-period[aria-pressed=true]{background:var(--color-surface-soft)}.delivery-period:hover .delivery-period-bar,.delivery-period:focus .delivery-period-bar,.delivery-period[aria-pressed=true] .delivery-period-bar{box-shadow:0 0 0 3px var(--color-focus-ring)}.delivery-period:focus{outline:none}.delivery-period-bar{background:var(--color-surface-muted);border-radius:999px;height:8px;overflow:hidden}.delivery-period-bar span{background:var(--color-primary);border-radius:inherit;height:100%;display:block}.delivery-period strong{color:var(--color-text);text-align:right;font-size:13px}.delivery-period-count{justify-items:end;gap:2px;min-width:0;display:grid}.delivery-period[aria-pressed=true] .delivery-period-label,.delivery-period[aria-pressed=true] .delivery-period-count span{color:var(--color-primary-strong)}.delivery-detail{gap:12px;min-width:0;padding:14px;scroll-margin-top:16px;display:grid}.delivery-detail:focus{box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}.delivery-detail>header,.delivery-story-group header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.delivery-detail h3,.delivery-story-group h4{color:var(--color-primary-strong);overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.25}.segmented-control{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:8px;align-items:center;gap:2px;padding:3px;display:inline-flex}.segmented-control button{color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:800}.segmented-control button[aria-pressed=true]{background:var(--color-surface);color:var(--color-primary-strong)}.segmented-control button:focus{box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}.delivery-detail-empty{color:var(--color-text-muted);margin:0;font-weight:700}.delivery-story-groups{gap:12px;display:grid}.delivery-story-group{border-top:1px solid var(--color-border);gap:8px;padding-top:10px;display:grid}.delivery-story-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.delivery-story-list li{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;gap:8px;min-width:0;padding:10px;display:grid}.delivery-story-list strong{color:var(--color-text);overflow-wrap:anywhere;line-height:1.35}.delivery-story-list dl{flex-wrap:wrap;gap:6px 14px;margin:0;display:flex}.delivery-story-list dl div{gap:2px;min-width:84px;display:grid}.delivery-story-list dd{color:var(--color-text-soft);overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:700}.hypotheses-screen{gap:14px;max-width:1440px;display:grid}.hypotheses-screen-header,.hypothesis-editor-header,.hypothesis-editor-actions,.hypotheses-list header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.hypotheses-screen-header h2{margin:0;font-size:20px;line-height:1.25}.hypotheses-screen-actions,.hypothesis-prompt-actions,.direction-prompt-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.hypothesis-prompt-dialog,.direction-prompt-dialog{z-index:40;background:#1218266b;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.hypothesis-prompt-panel,.direction-prompt-panel{background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:8px;gap:12px;width:100%;min-width:0;max-width:min(880px,100vw - 36px);max-height:min(720px,100vh - 36px);padding:16px;display:grid;overflow:hidden;box-shadow:0 24px 70px #12182642}.hypothesis-prompt-header,.direction-prompt-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.hypothesis-prompt-header h3,.direction-prompt-header h3{color:var(--color-primary-strong);margin:0;font-size:17px;line-height:1.25}.hypothesis-prompt-header p,.direction-prompt-header p{color:var(--color-text-muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;font-weight:650;line-height:1.4}.hypothesis-prompt-warning{color:#9a3412;overflow-wrap:anywhere;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;margin:0;padding:9px 10px;font-size:12.5px;font-weight:750;line-height:1.45}.hypothesis-prompt-body,.direction-prompt-body{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text);white-space:pre-wrap;word-break:break-word;border-radius:7px;min-width:0;min-height:180px;max-height:min(460px,100vh - 230px);margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.55;overflow:auto}.hypothesis-prompt-actions,.direction-prompt-actions{justify-content:space-between}.hypothesis-prompt-actions span,.direction-prompt-actions span{color:var(--color-primary-strong);min-height:16px;font-size:12px;font-weight:800}.hypotheses-layout{grid-template-columns:minmax(220px,260px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.hypotheses-list,.hypothesis-editor{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid}.hypotheses-list h3{color:var(--color-primary-strong);margin:0;font-size:16px;line-height:1.25}.hypotheses-list header span{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-soft);text-align:center;border-radius:999px;min-width:28px;padding:3px 8px;font-size:12px;font-weight:800}.hypotheses-list-items{gap:8px;display:grid}.hypothesis-list-item{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text);text-align:left;border-radius:7px;gap:4px;min-width:0;padding:10px;display:grid}.hypothesis-list-item:hover,.hypothesis-list-item:focus,.hypothesis-list-item[aria-pressed=true]{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}.hypothesis-list-item strong{overflow-wrap:anywhere;font-size:13px;line-height:1.3}.hypothesis-editor form,.hypothesis-editor-body{gap:14px;min-width:0;display:grid}.hypothesis-title-field{flex:320px}.hypothesis-reference-title{flex:320px;gap:5px;min-width:0;display:grid}.hypothesis-reference-title span{color:var(--color-text-muted);font-size:12px;font-weight:800}.hypothesis-reference-title strong{color:var(--color-text);overflow-wrap:anywhere;font-size:17px;line-height:1.25}.hypothesis-mode-toggle{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:8px;align-items:center;gap:2px;padding:3px;display:inline-flex}.hypothesis-mode-button{color:var(--color-text-muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.hypothesis-mode-button:hover,.hypothesis-mode-button:focus{color:var(--color-primary-strong);outline:none}.hypothesis-mode-button:focus-visible{box-shadow:0 0 0 3px var(--color-focus-ring)}.hypothesis-mode-button[aria-pressed=true]{background:var(--color-surface);color:var(--color-primary-strong);box-shadow:0 1px 3px #1218261f}.hypothesis-save-status{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;min-height:34px;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.hypothesis-save-status--dirty{color:var(--color-text-soft)}.hypothesis-save-status--saving{border-color:var(--color-primary);color:var(--color-primary-strong)}.hypothesis-save-status--saved{border-color:var(--color-success-border);color:var(--color-success)}.hypothesis-save-status--error{border-color:var(--color-danger-border);color:var(--color-danger)}.hypothesis-field{background:var(--color-surface);border:0;border-radius:0;grid-template-rows:minmax(104px,auto) auto auto;align-content:start;gap:6px;min-width:0;min-height:0;margin:0;padding:10px;display:grid;overflow:visible}.hypothesis-field-header{align-content:start;gap:4px;min-width:0;min-height:104px;display:grid}.hypothesis-field-heading{color:var(--color-text);border-left:4px solid var(--color-primary);overflow-wrap:anywhere;min-width:0;margin:0;padding-left:7px;font-size:15px;font-weight:800;line-height:1.2}.hypothesis-field-prompt{color:var(--color-text-muted);overflow-wrap:anywhere;margin:0;font-size:11.5px;font-weight:600;line-height:1.35}.hypothesis-field-items{align-content:start;gap:6px;min-width:0;min-height:0;padding-right:2px;display:grid}.hypothesis-field-entry{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;min-width:0;display:grid}.hypothesis-field-entry textarea{field-sizing:content;resize:none;width:100%;min-height:92px;overflow-y:hidden}.hypothesis-field-entry:only-child textarea{grid-column:1/-1}.hypothesis-field-add{justify-self:end}.hypothesis-field-remove{margin-top:2px}.hypothesis-canvas-scroll{max-width:100%;padding-bottom:4px;overflow-x:auto}.hypothesis-canvas-layout{background:var(--color-border-strong);border:2px solid var(--color-border-strong);border-radius:8px;grid-template:"purpose purpose purpose vision vision vision"minmax(246px,auto)"realization superiority value current alternative situation"minmax(280px,auto)"realization metrics value latent channel trend"minmax(280px,auto)"business business business market market market"minmax(246px,auto)/minmax(170px,1fr) minmax(170px,1fr) minmax(178px,1.05fr) minmax(170px,1fr) minmax(190px,1.08fr) minmax(170px,1fr);gap:2px;min-width:1120px;display:grid}.hypothesis-canvas-layout--reference{grid-template-rows:auto auto auto auto}.hypothesis-canvas-field{outline:0}.hypothesis-canvas-field textarea{background:var(--color-surface-soft);resize:none}.hypothesis-canvas-field--alternative{grid-area:alternative}.hypothesis-canvas-field--business{grid-area:business}.hypothesis-canvas-field--channel{grid-area:channel}.hypothesis-canvas-field--current-problem{grid-area:current}.hypothesis-canvas-field--situation{grid-area:situation}.hypothesis-canvas-field--trend{grid-area:trend}.hypothesis-canvas-field--metrics{grid-area:metrics}.hypothesis-canvas-field--latent-problem{grid-area:latent}.hypothesis-canvas-field--market{grid-area:market}.hypothesis-canvas-field--purpose{grid-area:purpose}.hypothesis-canvas-field--realization{grid-area:realization}.hypothesis-canvas-field--superiority{grid-area:superiority}.hypothesis-canvas-field--value{grid-area:value}.hypothesis-canvas-field--vision{grid-area:vision}.hypothesis-field--reference{grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:visible}.hypothesis-reference-values{align-content:start;gap:6px;min-width:0;display:grid}.hypothesis-reference-values ul{gap:6px;margin:0;padding-left:18px;list-style-position:outside;display:grid}.hypothesis-reference-values li{color:var(--color-text);overflow-wrap:anywhere;font-size:13px;font-weight:650;line-height:1.45}.hypothesis-reference-empty{color:var(--color-text-muted);margin:0;font-size:13px;font-weight:700;line-height:1.4}.projects-screen,.settings-screen{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;gap:14px;max-width:960px;padding:16px;display:grid}.project-setup-screen{gap:16px;display:grid}.projects-screen-header h2,.settings-screen-header h2,.project-setup-header h2{margin:0;font-size:20px;line-height:1.25}.project-setup-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.project-setup-header span{color:var(--color-text-muted);margin-top:4px;font-size:13px;font-weight:700;display:block}.projects-create-form{grid-template-columns:minmax(220px,340px) auto;justify-content:start;align-items:end;gap:8px;display:grid}.projects-list{gap:8px;display:grid}.settings-row{align-items:end;gap:8px;display:flex}.field--font-size{width:180px}.settings-unit{color:var(--color-text-muted);padding-bottom:9px;font-size:13px;font-weight:700}.projects-list-item{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:8px;grid-template-columns:minmax(240px,1fr) auto auto auto auto auto;align-items:end;gap:8px;min-width:0;padding:10px;display:grid}.project-order-controls{grid-template-columns:repeat(2,34px);align-items:center;gap:4px;display:grid}.project-order-button{justify-content:center;min-height:34px;padding:6px}.projects-list-item.is-current{border-color:var(--color-primary);box-shadow:inset 3px 0 0 var(--color-primary)}.projects-list-item--archived{color:var(--color-text-muted);background:#f2f5f4;border-color:#d5ddda}.projects-list-main{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0;display:grid}.current-project-badge{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-soft);border-radius:999px;padding:6px 8px;font-size:11px;font-weight:700;line-height:1}.archived-projects{border-top:1px solid var(--color-border);gap:8px;padding-top:12px;display:grid}.archived-projects-header{align-items:center;gap:8px;display:flex}.archived-projects-header h3{margin:0;font-size:15px;line-height:1.3}.archived-projects-header span{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:999px;padding:5px 7px;font-size:11px;font-weight:700;line-height:1}.project-archive-summary{gap:4px;min-width:0;display:grid}.project-archive-summary--description{grid-column:1/-1}.project-archive-summary>span{color:var(--color-text-muted);font-size:11px;font-weight:700}.project-archive-summary strong,.project-archive-summary p{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-soft);overflow-wrap:anywhere;border-radius:6px;align-items:center;min-width:0;min-height:34px;margin:0;padding:7px 10px;display:flex}.project-setup-layout{grid-template-columns:minmax(360px,.92fr) minmax(520px,1.08fr);align-items:start;gap:16px;display:grid}.project-setup-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 1px 2px #0f172a14}.project-setup-form{align-content:start;gap:14px;padding:16px;display:grid}.project-setup-form>header,.project-setup-preview>header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.project-setup-form h3,.project-setup-preview h3,.project-setup-fixed h3{margin:0;font-size:16px;line-height:1.3}.field-inline-icon{color:var(--color-text-muted);vertical-align:-2px;margin-left:6px;line-height:0;display:inline-flex;position:relative}.project-setup-icon{color:var(--color-text-muted);line-height:0;display:inline-flex;position:relative}.project-setup-help-button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;margin:-3px;padding:3px;display:inline-flex}.project-setup-help-button:hover,.project-setup-help-button:focus-visible,.project-setup-help-button[aria-expanded=true]{background:var(--color-surface-muted);color:var(--color-primary);outline:none}.project-setup-help .project-setup-help-tooltip{background:var(--color-text);box-sizing:border-box;color:var(--color-surface);overflow-wrap:break-word;white-space:normal;word-break:normal;writing-mode:horizontal-tb;z-index:20;border-radius:6px;width:max-content;min-width:min(220px,100vw - 32px);max-width:min(280px,100vw - 32px);padding:8px 10px;font-size:12px;font-weight:700;line-height:1.4;display:block;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 8px 22px #0f172a2e}.project-setup-purpose textarea,.project-setup-notes textarea{min-height:72px}.project-setup-github-policy-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.project-setup-plan-note{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-muted);overflow-wrap:anywhere;border-radius:7px;margin:-4px 0 0;padding:9px 10px;font-size:12px;font-weight:700;line-height:1.45}.project-setup-plan-note--required{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.project-setup-choice-group{border:0;gap:8px;margin:0;padding:0;display:grid}.project-setup-choice-group legend{color:var(--color-text);margin-bottom:8px;font-size:13px;font-weight:750}.project-setup-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.project-setup-choice{background:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;border-radius:8px;gap:6px;min-height:118px;padding:12px;display:grid}.project-setup-choice.is-selected{border-color:var(--color-primary);box-shadow:0 0 0 2px #2563eb1f}.project-setup-choice input{width:16px;height:16px;margin:0}.project-setup-choice strong{color:var(--color-text);font-size:14px}.project-setup-choice span{color:var(--color-text-muted);font-size:12px;line-height:1.35}.project-setup-fixed{border-top:1px solid var(--color-border);gap:10px;padding-top:14px;display:grid}.project-setup-fixed header{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-setup-fixed header span{color:var(--color-text-muted);font-size:12px;font-weight:700}.project-setup-fixed-row{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:8px;grid-template-columns:auto minmax(150px,.45fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.project-setup-fixed-row>.project-setup-icon{color:var(--color-primary)}.project-setup-fixed-row strong{font-size:13px}.project-setup-fixed-row>span:not(.project-setup-status):not(.project-setup-help){color:var(--color-text-muted);font-size:12px;line-height:1.35}.project-setup-preview{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;padding:16px;display:grid}.project-setup-preview>header>div{align-items:center;gap:8px;display:flex}.project-setup-preview>header svg{color:var(--color-text-muted)}.project-setup-preview>header span{color:var(--color-text-muted);font-size:12px;font-weight:700}.project-setup-preview-table-wrap{overflow:auto}.project-setup-preview-table{border-collapse:collapse;table-layout:fixed;width:100%}.project-setup-preview-table th,.project-setup-preview-table td{border-bottom:1px solid var(--color-border);overflow-wrap:anywhere;text-align:left;vertical-align:top;padding:11px 10px;font-size:12px}.project-setup-preview-table th:first-child,.project-setup-preview-table td:first-child{width:66px}.project-setup-preview-table th{color:var(--color-text-muted);font-weight:750}.project-setup-preview-table td:nth-child(2){gap:4px;display:grid}.project-setup-preview-table th:nth-child(3),.project-setup-preview-table td:nth-child(3){width:72px}.project-setup-preview-table th:nth-child(4),.project-setup-preview-table td:nth-child(4){width:76px}.project-setup-preview-table th:nth-child(5),.project-setup-preview-table td:nth-child(5){width:168px}.project-setup-preview-table td:nth-child(2) span,.project-setup-preview-table td:nth-child(2) small{color:var(--color-text-muted);line-height:1.35}.project-setup-preview-table td:nth-child(2) small:before{content:"↳ "}.project-setup-actor,.project-setup-status{white-space:nowrap;border-radius:6px;align-items:center;min-height:26px;padding:3px 8px;font-size:12px;font-weight:750;display:inline-flex}.project-setup-actor{color:#2f5da8;background:#eef4ff}.project-setup-status--add{color:#216e39;background:#e8f5ed}.project-setup-status--reuse{color:#3756a6;background:#eef2ff}.project-setup-status--covered{color:#176b4d;background:#e7f7f0}.project-setup-status--fixed{color:#4b5563;background:#f3f4f6}.project-setup-status--conditional{color:#9a5b00;background:#fff4df}.project-setup-preview-actions{border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.project-setup-apply-status{color:var(--color-text-muted);font-size:13px;font-weight:700}.project-setup-starter-prompt{background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:8px;gap:12px;min-width:0;padding:16px;display:grid;box-shadow:0 1px 2px #0f172a14}.project-setup-starter-prompt>header,.project-setup-starter-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.project-setup-starter-prompt h3{color:var(--color-primary-strong);margin:0;font-size:17px;line-height:1.3}.project-setup-starter-prompt>header>span,.project-setup-starter-actions>span{color:var(--color-text-muted);font-size:12px;font-weight:750}.project-setup-starter-line-item{max-width:520px}.project-setup-starter-guidance{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-soft);overflow-wrap:anywhere;border-radius:7px;margin:0;padding:12px;font-size:13px;font-weight:700;line-height:1.5}.project-setup-starter-body{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text);white-space:pre-wrap;word-break:break-word;border-radius:7px;min-width:0;max-height:360px;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12.5px;line-height:1.55;overflow:auto}.app-muted,.lane-empty,.detail-empty{color:var(--color-text-muted)}.direction-screen{gap:14px;display:grid}.direction-panel-header{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.direction-week-strip{grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;display:grid}.direction-week-button{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-primary-strong);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:48px;height:44px;display:inline-flex}.direction-week-button:hover{background:var(--color-surface-soft);border-color:var(--color-primary)}.direction-week-button:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-focus-ring);outline:none}.direction-week-range{color:var(--color-text);text-align:center;place-items:center;gap:3px;display:grid}.direction-week-range strong{overflow-wrap:anywhere;font-size:18px;font-weight:800;line-height:1.2}.direction-week-range span{color:var(--color-text-muted);font-size:12px;font-weight:800;line-height:1.2}.direction-form{gap:14px;display:grid}.direction-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid}.direction-panel-header h3{color:var(--color-primary-strong);overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.25}.direction-panel-header span{color:var(--color-text-muted);font-size:13px;font-weight:700}.direction-panel textarea,.direction-panel input,.direction-panel select{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);border-radius:6px;outline:none;width:100%;min-width:0;padding:8px 10px}.direction-panel input,.direction-panel select{height:34px}.direction-panel .direction-effort-select{padding-inline:7px;font-size:12px}.direction-panel textarea{resize:vertical}.direction-panel textarea:focus,.direction-panel input:focus,.direction-panel select:focus,.top-bar-nav .secondary-button:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-focus-ring)}.direction-date-editor{grid-template-columns:repeat(2,minmax(180px,240px));justify-content:start;gap:8px;display:grid}.direction-panel-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.direction-panel-toolbar span{color:var(--color-primary-strong);overflow-wrap:anywhere;min-height:16px;font-size:12px;font-weight:800}.direction-matrix{border:1px solid var(--color-border-strong);border-radius:6px;display:grid;overflow:auto}.direction-matrix-row{grid-template-columns:minmax(170px,1.1fr) 120px repeat(3,minmax(220px,1.4fr));min-width:980px;display:grid}.direction-matrix-row+.direction-matrix-row{border-top:1px solid var(--color-border)}.direction-matrix-row>div{border-left:1px solid var(--color-border);gap:7px;min-width:0;padding:10px;display:grid}.direction-matrix-row>div:first-child{border-left:0}.direction-matrix-row--head>div{background:var(--color-surface-soft);color:var(--color-text-soft);font-weight:700}.direction-matrix-row--head span{color:var(--color-primary-strong);font-size:13px}.direction-matrix-row--head strong{color:var(--color-text-soft);font-size:13px;font-weight:700}.direction-matrix-row--head input,.direction-matrix-row--head .direction-period-value{font-size:14px;font-weight:700}.direction-matrix-row--head .direction-period-value{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);overflow-wrap:anywhere;border-radius:6px;align-items:center;min-width:0;min-height:34px;padding:7px 10px;display:flex}.direction-project-name{color:var(--color-text);overflow-wrap:anywhere;align-content:center;font-weight:700}.direction-note-composer{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,.9fr);align-items:start;gap:8px;display:grid}.direction-note-composer .field{gap:5px}.direction-note-section-title{color:var(--color-primary-strong);margin:0;font-size:15px;line-height:1.3}.direction-note-composer textarea{min-height:88px;padding-block:7px}.direction-ai-reflection{border-top:1px solid var(--color-border);gap:7px;padding-top:10px;display:grid}.direction-ai-reflection-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.direction-ai-reflection h4{color:var(--color-primary-strong);margin:0;font-size:15px;line-height:1.3}.direction-ai-reflection time{color:var(--color-text-muted);font-size:12px;font-weight:700}.direction-ai-reflection p{color:var(--color-text-soft);white-space:pre-wrap;margin:0;line-height:1.5}.direction-note-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.direction-note-list li{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;gap:5px;padding:9px 10px;display:grid}.direction-note-list time{color:var(--color-text-muted);font-size:12px;font-weight:700}.direction-note-list p{color:var(--color-text-soft);white-space:pre-wrap;margin:0;line-height:1.45}.auth-shell{justify-content:center;align-items:center;display:flex}.auth-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;gap:14px;width:min(100%,420px);max-width:420px;padding:24px;display:grid}.auth-panel-header{gap:6px;display:grid}.auth-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.auth-panel h1{margin:0;font-size:24px;line-height:1.2}.auth-copy{color:var(--color-text-muted);margin:0;line-height:1.45}.auth-mode-badge{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-primary-strong);border-radius:999px;padding:5px 7px;font-size:11px;font-weight:800;line-height:1}.auth-form{gap:10px;display:grid}.auth-field input{width:100%}.auth-button{width:fit-content}.session-controls{align-items:center;gap:8px;min-width:0;display:inline-flex}.session-controls span{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:12px;font-weight:700;overflow:hidden}@media (width<=1500px){.top-bar-session{justify-self:end}}.board-workspace{display:block}.board-workspace--with-detail{grid-template-columns:minmax(0,1fr) 328px;gap:12px;display:grid}.lanes-grid{grid-template-columns:repeat(4,minmax(190px,1fr));gap:10px;min-width:0;display:grid}.lane,.detail-pane{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;min-width:0}.lane{flex-direction:column;min-height:calc(100vh - 98px);display:flex;overflow:hidden}.lane-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.lane-header-title{align-items:center;gap:8px;min-width:0;display:flex}.lane-header h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:14px;line-height:1.25}.lane-count{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-muted);text-align:center;border-radius:999px;min-width:22px;padding:2px 7px;font-size:11px;font-weight:700}.lane-items{flex-direction:column;flex:1;gap:7px;padding:8px;display:flex;overflow:auto}.lane-items--revealing .sortable-board-item,.lane-items--revealing .lane-collapse-note{animation:.18s ease-out lane-reveal-slide}.sortable-board-item{cursor:grab;touch-action:none;min-width:0}.sortable-board-item.is-dragging{cursor:grabbing}.sortable-board-item-content{min-width:0}.drag-overlay-item{background:var(--color-surface);border:1px solid var(--color-border-strong);color:var(--color-text);border-radius:6px;align-items:center;gap:8px;max-width:260px;padding:8px 10px;display:flex;box-shadow:0 10px 30px #24595d29}.drag-overlay-item span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.lane-empty{border:1px dashed var(--color-border-strong);text-align:center;border-radius:6px;margin:0;padding:12px;font-size:13px}.lane-collapse-note{background:var(--color-surface-soft);border:1px dashed var(--color-border);color:var(--color-text-muted);cursor:pointer;text-align:center;border-radius:6px;outline:none;width:100%;margin:0;padding:8px;font-size:12px;font-weight:700}.lane-collapse-note:hover,.lane-collapse-note:focus{border-color:var(--color-border-strong);color:var(--color-text);background:#f7fbfa}.completed-line-items,.hidden-stories{border-top:1px solid var(--color-border);gap:7px;margin-top:2px;padding-top:7px;display:grid}.completed-line-items-toggle,.hidden-stories-toggle{background:var(--color-surface-soft);border:1px dashed var(--color-border);color:var(--color-text-muted);border-radius:6px;outline:none;justify-content:center;align-items:center;gap:6px;width:100%;min-height:32px;padding:7px 8px;font-size:12px;font-weight:700;display:flex}.completed-line-items-toggle:hover,.completed-line-items-toggle:focus,.hidden-stories-toggle:hover,.hidden-stories-toggle:focus{border-color:var(--color-border-strong);color:var(--color-text)}.completed-line-items-list,.hidden-stories-list{gap:7px;display:grid}.hidden-story-item{min-width:0}@keyframes lane-reveal-slide{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.story-card,.unknown-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:6px;outline:none;transition:border-color .12s,box-shadow .12s,background .12s}.story-card{min-width:0;padding:7px}.story-card--delivered{background:#f2f7ff;border-color:#b9ccef}.story-card--accepted{background:#f0f8f1;border-color:#b8dcbc}.story-card--rejected{background:#fff4f2;border-color:#f0bbb2}.story-card:hover,.unknown-item:hover{border-color:var(--color-border-strong)}.story-card.is-selected,.line-item-row.is-selected,.unknown-item.is-selected{border-color:var(--color-primary);box-shadow:inset 3px 0 0 var(--color-primary)}.story-card-main{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px;min-width:0;min-height:30px;display:grid}.story-select-button,.story-meta-button{color:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:5px;outline:none;min-width:0}.story-select-button{width:100%;min-height:30px;padding:2px 1px;display:grid}.story-card-meta{grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;margin:4px 0 0 29px;display:grid}.story-meta-button{flex-wrap:wrap;align-items:center;gap:5px;width:100%;min-width:0;max-width:100%;padding:1px;display:flex}.story-card-actions{flex-wrap:wrap;justify-self:start;gap:5px;display:flex}.icon-button{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:5px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;display:inline-flex}.epic-pill{--epic-color:var(--color-text-muted);background:color-mix(in srgb, var(--epic-color) 8%, var(--color-surface));border:1px solid var(--epic-color);border-color:color-mix(in srgb, var(--epic-color) 50%, var(--color-border));color:color-mix(in srgb, var(--epic-color) 72%, var(--color-text-soft));overflow-wrap:anywhere;text-overflow:ellipsis;white-space:normal;word-break:break-word;-webkit-line-clamp:2;border-radius:999px;-webkit-box-orient:vertical;min-width:0;max-width:min(100%,14rem);padding:4px 7px;font-size:11px;font-weight:700;line-height:1.15;display:-webkit-box;overflow:hidden}.point-badge,.state-badge,.human-work-badge{white-space:nowrap;border-radius:5px;padding:5px 6px;font-size:11px;font-weight:700;line-height:1;display:inline-block}.point-badge{color:#8f5421;background:#fff6e8}.state-badge{background:var(--color-surface-muted);color:var(--color-text-soft)}.state-badge--started,.state-badge--finished,.state-badge--delivered{color:var(--color-primary-strong);background:#e3f4f1}.state-badge--accepted{color:#3f7b56;background:#e5f6ea}.state-badge--rejected{background:var(--color-danger-bg);color:var(--color-danger)}.human-work-badge{color:#8a4b12;background:#fef3c7}.story-title{color:var(--color-text);overflow-wrap:anywhere;word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:14px;line-height:1.3;display:-webkit-box;overflow:hidden}.story-expanded{border-top:1px solid var(--color-border);color:var(--color-text-soft);cursor:pointer;border-radius:5px;outline:none;gap:8px;margin-top:8px;padding:8px 2px 0 28px;display:grid}.story-expanded p,.story-expanded ul{margin:0}.story-expanded>.story-expanded-section>span{color:var(--color-text-muted);margin-bottom:3px;font-size:13px;font-weight:700;display:block}.story-expanded p,.story-expanded li{font-size:var(--story-body-font-size,10.5pt);overflow-wrap:anywhere;line-height:1.35}.story-expanded-text{white-space:pre-wrap}.story-expanded ul{padding-left:16px}.task-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.task-list>li{grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.task-list>li>span{color:var(--color-text-soft);overflow-wrap:anywhere;margin:0;display:block}.task-list small{color:var(--color-text-muted);font-size:11px}.task-list>.task-preview-item{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px}.task-preview-toggle{color:var(--color-text-soft);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-width:0;padding:0;display:grid}.task-preview-toggle:hover .task-preview-title,.task-preview-toggle:focus .task-preview-title{color:var(--color-primary-strong)}.task-preview-toggle:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}.task-preview-title{color:var(--color-text-soft);overflow-wrap:anywhere;min-width:0;margin:0;display:block}.task-preview-description{padding-left:22px}.epic-manager{background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;gap:10px;margin-bottom:12px;padding:12px;display:grid}.epic-manager-create,.epic-editor-row{grid-template-columns:minmax(150px,1fr) 78px minmax(180px,1.3fr) auto;align-items:end;gap:8px;display:grid}.epic-editor-list{gap:8px;display:grid}.epic-editor-row{border-top:1px solid var(--color-border);grid-template-columns:minmax(150px,1fr) 78px minmax(180px,1.3fr) minmax(116px,auto) auto auto;padding-top:8px}.epic-editor-row--readonly{grid-template-columns:minmax(150px,1fr) 78px minmax(180px,1.3fr) minmax(116px,auto);align-items:end}.epic-readonly-field{gap:4px;min-width:0;display:grid}.epic-readonly-field>span:first-child{color:var(--color-text-muted);font-size:11px;font-weight:700}.epic-readonly-field strong,.epic-readonly-field p{background:var(--color-surface-soft);border:1px solid var(--color-border);color:var(--color-text-soft);overflow-wrap:anywhere;border-radius:6px;align-items:center;min-width:0;min-height:34px;margin:0;padding:7px 10px;display:flex}.epic-readonly-field--color{width:78px}.epic-readonly-swatch{background:var(--color-surface-muted);border:1px solid var(--color-border-strong);border-radius:6px;height:34px;display:block}.epic-story-counts{flex-wrap:wrap;align-self:end;gap:5px;min-width:116px;display:flex}.epic-story-count{white-space:nowrap;border-radius:5px;padding:5px 6px;font-size:11px;font-weight:700;line-height:1;display:inline-block}.epic-story-count--open{color:#8f5421;background:#fff6e8}.epic-story-count--done{color:#3f7b56;background:#e5f6ea}.line-item-row{background:var(--color-surface-soft);color:var(--color-text-soft);border:1px solid #0000;border-radius:6px;outline:none;grid-template-columns:14px minmax(0,1fr) auto 14px;align-items:stretch;gap:6px;padding:6px 4px;display:grid}.line-item-row:hover{border-color:var(--color-border-strong)}.line-item-row--completed{color:var(--color-text-muted);background:#f3f6f4}.line-item-row--completed .line-item-rule{border-color:#b8c5bb}.line-item-row--completed .line-item-title{color:var(--color-text-soft)}.line-item-row--completed .line-item-title-row svg{color:#3f7b56}.line-item-rule{border-top:1px solid var(--color-border-strong);align-self:center;display:block}.line-item-content{gap:4px;min-width:0;display:grid}.line-item-title-row{grid-template-columns:14px minmax(0,1fr);align-items:start;gap:6px;min-width:0;display:grid}.line-item-title-row svg{margin-top:2px}.line-item-title{color:var(--color-text);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:13px;line-height:1.3;display:-webkit-box;overflow:hidden}.line-item-meta-row{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.line-item-meta-row small{color:var(--color-text-muted);white-space:nowrap;font-size:11px}.line-item-quick-complete{background:var(--color-surface-muted);border:1px solid var(--color-primary);color:var(--color-primary-strong);white-space:nowrap;border-radius:5px;flex-shrink:0;justify-content:center;align-self:center;align-items:center;gap:3px;height:26px;padding:0 7px;font-size:11px;font-weight:700;display:inline-flex}.line-item-quick-complete:hover{background:#fff}.line-item-status-badge{border-radius:999px;align-items:center;padding:1px 6px;font-weight:700;display:inline-flex}.line-item-status-badge--completed{color:#3f7b56;background:#e5f6ea}.unknown-item{color:#7a5732;padding:8px;font-size:12px}.detail-pane{overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-gutter:stable;align-self:start;min-height:calc(100vh - 98px);max-height:calc(100vh - 32px);padding:14px;position:sticky;top:16px;overflow-y:auto}.detail-pane h2{color:var(--color-text);overflow-wrap:anywhere;margin:0 0 10px;font-size:18px;line-height:1.25}.detail-pane-header{border-bottom:1px solid var(--color-border);grid-template-columns:minmax(0,1fr) 24px;align-items:start;gap:10px;margin:-2px 0 12px;padding-bottom:10px;display:grid}.detail-pane-header>div{min-width:0}.detail-pane-header h2{margin-bottom:0}.detail-close-button{justify-self:end}.story-inline-editor{background:var(--color-surface-soft);border:1px solid var(--color-border-strong);overflow-wrap:anywhere;border-radius:6px;gap:10px;min-width:0;margin-top:7px;padding:10px;display:grid}.story-inline-editor-header{border-bottom:1px solid var(--color-border);grid-template-columns:minmax(0,1fr) 24px;align-items:start;gap:8px;padding-bottom:8px;display:grid}.story-inline-editor-header>div{min-width:0}.story-inline-editor-header h3{color:var(--color-text);overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.3}.story-inline-editor .detail-summary,.story-inline-editor .detail-action-row,.story-inline-editor .lane-move-controls{margin-bottom:0}.story-inline-editor .editor-form{padding-bottom:0}.story-inline-editor .form-grid{grid-template-columns:1fr}.story-inline-editor .form-grid--compact{grid-template-columns:repeat(auto-fit,minmax(82px,1fr))}.story-inline-editor .detail-meta{grid-template-columns:1fr}.story-inline-editor .task-editor-row{grid-template-columns:22px minmax(0,1fr)}.story-id-copy{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.story-id-copy-label{color:var(--color-text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.story-id-copy code{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text-soft);overflow-wrap:anywhere;border-radius:4px;flex:210px;min-width:0;padding:5px 7px;font-size:11px;line-height:1.35}.story-id-copy-feedback{color:var(--color-primary-strong);font-size:11px;font-weight:700}.story-id-copy-feedback--failed{color:var(--color-danger)}.line-item-inline-editor .detail-facts{margin-bottom:0}.github-link-list{flex-wrap:wrap;gap:6px;display:flex}.github-link-list a{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-primary-strong);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;max-width:100%;padding:6px 8px;font-size:12px;font-weight:700;line-height:1;overflow:hidden}.detail-empty{border:1px dashed var(--color-border-strong);text-align:center;border-radius:6px;justify-content:center;align-items:center;min-height:180px;margin:0;padding:16px;font-size:13px;display:flex}.detail-summary{flex-wrap:wrap;gap:6px;min-width:0;margin-bottom:12px;display:flex}.detail-section{border-top:1px solid var(--color-border);padding:11px 0}.detail-section h3{color:var(--color-text-muted);margin:0 0 5px;font-size:12px}.detail-section p,.detail-section li{color:var(--color-text-soft);font-size:13px;line-height:1.45}.detail-section p,.detail-section ul{margin:0}.detail-section ul{padding-left:18px}.detail-action-row,.lane-move-controls,.editor-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.detail-action-row{margin:0 0 10px}.lane-move-controls{border-bottom:1px solid var(--color-border);margin-bottom:12px;padding-bottom:10px}.editor-form{border-top:1px solid var(--color-border);gap:10px;padding:11px 0;display:grid}.checkbox-field{color:var(--color-text-soft);align-items:center;gap:7px;font-size:12px;font-weight:700;line-height:1.25;display:inline-flex}.checkbox-field input{accent-color:var(--color-primary);width:16px;height:16px}.save-feedback{color:var(--color-primary-strong);align-items:center;gap:4px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.form-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.form-error{margin:-4px 0 0;font-size:12px}.inline-create-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:10px;display:grid}.task-editor-list{gap:8px;display:grid}.task-editor-row{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:8px;display:grid}.task-editor-fields{gap:8px;min-width:0;display:grid}.task-view-toggle{color:var(--color-text);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:0;display:grid}.task-view-toggle:hover .task-view-title,.task-view-toggle:focus .task-view-title{color:var(--color-primary-strong)}.task-view-toggle:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}.task-view-title{overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:700;line-height:1.35}.task-view-meta{color:var(--color-text-muted);flex-wrap:wrap;justify-content:end;align-items:center;gap:5px;min-width:0;font-size:11px;font-weight:700;display:flex}.task-view-body,.task-editor-form{gap:8px;display:grid}.task-description-text{white-space:pre-wrap}.item-move-buttons{gap:4px;display:grid}.detail-empty--compact{min-height:78px}.detail-tasks{gap:6px;margin:0;padding:0;list-style:none;display:grid}.detail-tasks li{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;gap:2px;padding:7px 8px;display:grid}.detail-tasks span{color:var(--color-text);font-size:13px;line-height:1.35}.detail-tasks small{color:var(--color-text-muted);font-size:11px}.detail-facts,.detail-meta{gap:8px;margin:0;display:grid}.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.detail-facts div,.detail-meta div{background:var(--color-surface-soft);border:1px solid var(--color-border);border-radius:6px;min-width:0;padding:8px}.detail-facts dt,.detail-meta dt{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:11px;font-weight:700;line-height:1.25}.detail-facts dd,.detail-meta dd{color:var(--color-text);margin:2px 0 0;font-size:13px;font-weight:700}.detail-meta{border-top:1px solid var(--color-border);grid-template-columns:repeat(2,minmax(0,1fr));padding-top:11px}@media (width<=1180px){.top-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title session""controls controls";align-items:center}.top-bar-controls{justify-content:flex-start}.project-heading{max-width:min(34vw,460px)}.board-workspace{grid-template-columns:1fr}.detail-pane{overscroll-behavior:auto;scrollbar-gutter:auto;min-height:280px;max-height:none;position:static;overflow-y:visible}.project-setup-layout{grid-template-columns:1fr}}@media (width<=980px){.top-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title session""controls controls"}.top-bar-session{justify-self:end}.session-controls span{max-width:160px}}@media (width<=760px){.app-shell{padding:10px}.project-heading{min-width:0;max-width:100%}.top-bar{grid-template-columns:1fr;grid-template-areas:"title""session""controls"}.top-bar-title{flex-wrap:wrap;row-gap:6px}.top-bar-nav{flex:100%}.top-bar-session{justify-self:start}.top-bar-controls{flex-wrap:nowrap;overflow-x:auto}.top-bar-backup-status{flex:none;justify-self:end;margin-left:0}.field,.field--compact,.field--search,.field--select,.field--color,.secondary-button,.danger-button,.command-button{width:100%}.field--project-select{grid-column:1/-1;width:100%}.command-button,.secondary-button,.danger-button{justify-content:center}.top-bar .command-button,.top-bar .secondary-button{width:auto}.epic-manager-create,.epic-editor-row,.delivery-period,.delivery-summary,.backup-import-summary,.direction-date-editor,.direction-note-composer,.form-grid,.form-grid--compact,.hypotheses-layout,.hypothesis-field-grid,.inline-create-form,.projects-create-form,.projects-list-item,.projects-list-main,.settings-row{grid-template-columns:1fr}.project-setup-header,.project-setup-preview-actions{grid-template-columns:1fr;align-items:stretch;display:grid}.project-order-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.project-setup-choice-grid,.project-setup-github-policy-fields,.project-setup-fixed-row{grid-template-columns:1fr}.project-setup-starter-prompt>header,.project-setup-starter-actions{grid-template-columns:1fr;align-items:stretch;display:grid}.project-setup-preview-table{min-width:640px}.settings-row{align-items:start;display:grid}.epic-readonly-field--color,.epic-story-counts{width:100%}.lanes-grid{grid-template-columns:none;grid-auto-columns:minmax(260px,82vw);grid-auto-flow:column;padding-bottom:4px;overflow-x:auto}.lane{min-height:430px}.story-card-main{grid-template-columns:22px minmax(0,1fr)}.story-card-meta{grid-template-columns:1fr;align-items:start}.direction-panel-header{display:grid}.direction-matrix-row{min-width:860px}}
