/* Growth workspace: action summary, compact rows, evidence on demand. */
.growth-workspace{--iw-selected:var(--cs-yellow,var(--action,#ffcc33));flex:1;overflow-y:auto;padding:24px;max-width:1280px;margin:0 auto;width:100%;min-width:0;scroll-padding-bottom:100px}
.growth-workspace,.growth-workspace *{box-sizing:border-box}
.growth-workspace .growth-page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.growth-page-head h2{font-size:22px;line-height:1.4;margin:0 0 4px;font-weight:700}
.growth-page-head p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.growth-workspace .bi-shell{margin:0 0 24px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:none;overflow:visible}
.growth-workspace .bi-head{align-items:center;gap:16px;margin-bottom:24px}
.growth-workspace .bi-title h3{font-size:18px;line-height:1.4;scroll-margin-top:160px}
.growth-workspace .bi-title p{font-size:13px;line-height:1.6;margin-top:4px}
.growth-workspace .bi-toolbar{gap:8px}
.growth-workspace .bi-toolbar .input{width:auto;max-width:220px;min-height:40px}
.growth-workspace .bi-toolbar .btn,.growth-workspace .bi-segment button{min-height:40px;font-size:13px}
.growth-workspace .bi-segment{border-radius:8px;padding:2px}
.growth-workspace .bi-segment button{padding:8px 12px;border-radius:6px}
.growth-workspace .bi-segment button.active{box-shadow:none;background:var(--ink);color:var(--surface)}
.iw-overview{padding:20px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.iw-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.iw-section-heading h4,.iw-list-heading h4{font-size:16px;line-height:1.5;margin:0;font-weight:700}
.iw-section-heading span{font-size:12px;color:var(--muted)}
.iw-focus{font-size:15px;line-height:1.7;margin:8px 0 12px;max-width:72ch;color:var(--ink)}
.iw-groups{display:flex;flex-wrap:wrap;gap:8px}
.iw-groups button{display:flex;align-items:center;gap:8px;padding:7px 12px;min-height:40px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text2);font:inherit;font-size:13px;cursor:pointer}
.iw-groups button[aria-pressed=true]{border-color:var(--ink);background:var(--surface-soft);color:var(--ink)}
.iw-groups button:hover{background:var(--surface-soft)}
.iw-groups strong{font-variant-numeric:tabular-nums;color:var(--ink)}
.iw-scope-note{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 0}
.iw-status-nav{display:flex;gap:4px;flex-wrap:wrap;margin:24px 0 16px;border-bottom:1px solid var(--line);padding-bottom:8px}
.iw-status-nav button{display:flex;gap:8px;align-items:center;min-height:40px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
.iw-status-nav button:hover{background:var(--surface-soft);color:var(--ink)}
.iw-status-nav button[aria-pressed=true]{background:var(--iw-selected);color:#202020;font-weight:650}
.iw-status-nav span{font-variant-numeric:tabular-nums}
.iw-list-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.iw-list-heading p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.iw-list-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.iw-list-tools input{max-width:240px;min-height:40px;font-size:13px}
.growth-workspace .intel-recs{display:block;margin:0;border-top:1px solid var(--line)}
.growth-workspace .bi-rec{display:block;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-width:0}
.iw-rec-details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px 0;list-style:none;cursor:pointer}
.iw-rec-details>summary::-webkit-details-marker{display:none}
.iw-rec-details>summary:hover .iw-row-title{text-decoration:underline;text-underline-offset:3px}
.iw-row-copy{min-width:0;display:grid;gap:6px}
.iw-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;line-height:1.5}
.iw-row-meta .iw-evidence-tag{padding:2px 6px;border-radius:4px;background:var(--surface-soft);color:var(--text2)}
.iw-row-title{font-weight:650;font-size:15px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}
.iw-row-why{font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.iw-row-end{display:flex;align-items:center;gap:24px;font-size:12px;color:var(--muted)}
.iw-state{display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.iw-state:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.iw-state[data-state=available]{color:var(--ink)}
.iw-state[data-state=observing]{color:var(--green)}
.iw-detail-label{display:flex;gap:8px;align-items:center;color:var(--ink);white-space:nowrap}
.iw-chevron{width:16px;height:16px;transition:transform 160ms ease-out}
.iw-rec-details[open]>.iw-rec-summary .iw-chevron{transform:rotate(180deg)}
.iw-rec-body{padding:0 0 24px;display:grid;gap:16px;max-width:900px}
.iw-rec-body>.intel-evidence{padding:12px 16px;background:var(--surface-soft);border-radius:8px}
.growth-workspace .iw-rec-body .intel-measure-note{font-size:12px;color:var(--muted)}
.growth-workspace .intel-actions{margin:0}
.growth-workspace .intel-actions .btn{min-height:40px;font-size:13px}
.iw-record-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:var(--muted);font-size:12px}
.iw-report{margin:24px 0 0;padding:20px;background:var(--surface-soft);border-radius:12px}
.iw-report>summary{cursor:pointer;display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:650}
.iw-report>summary span{font-size:12px;color:var(--muted);font-weight:400}
.iw-report-copy{font-size:14px;line-height:1.8;max-width:75ch;margin:16px 0;color:var(--text2)}
.iw-report-metrics{display:flex;flex-wrap:wrap;gap:24px;font-size:12px;margin:0}
.iw-report-metrics div{display:grid;grid-template-columns:auto auto;gap:4px 12px}
.iw-report-metrics dt{color:var(--text2)}
.iw-report-metrics dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}
.iw-report-metrics small{grid-column:1/-1;font-size:12px;color:var(--muted)}
.iw-advanced{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.iw-advanced>summary{font-size:14px;font-weight:650;cursor:pointer}
.iw-advanced>summary span{font-size:12px;color:var(--muted);font-weight:400;margin-left:12px}
.growth-workspace .intel-disclosure{margin-top:16px;padding-top:16px}
.growth-workspace .intel-disclosure summary span{margin-left:8px}
.growth-workspace .bi-history summary{font-size:13px}
.growth-workspace .bi-history-list button{font-size:12px;min-height:40px}
.growth-workspace .bi-empty{margin:16px 0;padding:24px;min-height:120px;border:0;background:var(--surface-soft);border-radius:8px}
.growth-workspace .bi-empty strong{font-size:15px}
.growth-workspace .bi-empty p{font-size:13px;max-width:65ch}
.iw-loading{padding:24px 0}
.iw-loading p{font-size:13px;color:var(--muted)}
.iw-loading span{display:block;height:16px;background:var(--surface-soft);border-radius:4px;margin:16px 0;width:75%}
.iw-loading span:last-child{width:55%}
.growth-signals{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:0 24px;margin-bottom:80px;min-width:0}
.growth-signals>summary{padding:20px 0;font-size:16px;font-weight:650;cursor:pointer;line-height:1.6}
.growth-signals>summary span{font-size:13px;color:var(--muted);font-weight:400;margin-left:12px}
.growth-signal-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 20px}
.growth-signal-toolbar .input{width:auto;max-width:260px;min-height:40px}
.growth-signal-toolbar .btn{min-height:40px}
.growth-signal-period{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.growth-signal-period .btn{border-radius:0}
.growth-workspace :is(button,input,select,textarea,summary,a):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.growth-workspace :is(input,textarea){caret-color:var(--ink)}
.growth-workspace ::selection{background:var(--iw-selected);color:#202020}
.growth-workspace .intel-sources>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){
 .growth-workspace .bi-head{align-items:flex-start;flex-direction:column}
 .growth-workspace .bi-toolbar{justify-content:flex-start;width:100%}
 .iw-row-end{flex-direction:column;align-items:flex-end;gap:8px}
}
@media(max-width:600px){
 .growth-workspace{padding:16px}
 .growth-workspace .bi-shell{padding:16px;border-radius:12px}
 .growth-page-head h2{font-size:20px}
 .growth-workspace .growth-page-head{margin-bottom:16px}
 .growth-workspace .bi-head{margin-bottom:16px}
 .iw-overview{padding:16px 0}
 .growth-workspace .bi-toolbar .input{width:100%;max-width:none}
 .growth-workspace .bi-segment{flex:1;display:flex}
 .growth-workspace .bi-segment button{flex:1;white-space:nowrap}
 .growth-workspace .bi-toolbar>.btn{flex:1;white-space:nowrap}
 .iw-status-nav{gap:4px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .iw-status-nav button{padding:8px 6px;justify-content:center;gap:5px;font-size:12px;min-height:44px}
 .iw-list-tools{width:100%}.iw-list-tools input{width:100%;max-width:none}
 .iw-rec-details>summary{grid-template-columns:1fr;gap:12px;padding:16px 0}
 .iw-row-end{flex-direction:row;justify-content:space-between;align-items:center}
 .iw-row-title{font-size:15px}
 .iw-advanced>summary span,.growth-signals>summary span{display:block;margin-left:0;margin-top:4px}
 .growth-workspace .intel-sources{grid-template-columns:1fr}
 .growth-workspace .intel-settings{grid-template-columns:1fr}
 .growth-signals{padding:0 16px;border-radius:12px}
 .growth-signal-toolbar .input{max-width:none;width:100%}
 .iw-report{padding:16px}
 .iw-record-footer{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.iw-chevron{transition:none}}
