#sector-opportunities-workspace{--so-accent:var(--accent,#27877a);--so-line:var(--line,#e5ebf3);margin-bottom:24px;min-width:0}
.so-shell,.so-shell *{box-sizing:border-box}.so-shell{min-width:0;overflow-wrap:anywhere}
.so-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;background:linear-gradient(115deg,color-mix(in srgb,var(--so-accent) 11%,var(--surface,#fff)),var(--surface,#fff));border:1px solid var(--so-line);border-radius:18px}
.so-eyebrow{font-size:11px;letter-spacing:.08em;color:var(--so-accent);font-weight:700}.so-hero h2{font-size:clamp(20px,2.2vw,26px);line-height:1.5;margin:8px 0}.so-hero p{font-size:13px;line-height:1.8;margin:6px 0;color:var(--muted)}
.so-hero-meta{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);flex-shrink:0}.so-hero-meta b{font-size:19px;color:var(--text)}
.so-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:18px 0 12px}.so-family-label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);min-width:160px}.so-toolbar select,.so-toolbar input{width:100%;min-height:44px;border-radius:9px;border:1px solid var(--so-line);background:var(--surface,#fff);color:inherit;padding:9px 12px;font:inherit;font-size:14px}.so-search-label{flex:1;min-width:180px}.so-search-label .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.so-shell button,.so-shell summary,.so-source-link{touch-action:manipulation}.so-toolbar button{min-height:44px;font-size:12px}.so-filters{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:2px 0 8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.so-filters button{flex-shrink:0;border:1px solid var(--so-line);background:var(--surface,#fff);color:inherit;font:inherit;font-size:12px;min-height:44px;padding:8px 15px;border-radius:22px;cursor:pointer}.so-filters button.active{color:var(--surface,#fff);background:var(--so-accent);border-color:var(--so-accent)}
.so-shell button:focus-visible,.so-shell input:focus-visible,.so-shell select:focus-visible,.so-shell summary:focus-visible,.so-source-link:focus-visible{outline:2px solid var(--so-accent);outline-offset:3px}
.so-status{font-size:12px;line-height:1.8;color:var(--muted);padding:5px 0 14px;min-height:32px}.so-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.7fr);gap:20px;align-items:start}.so-list-pane{min-width:0}.so-result-count{font-size:11px;color:var(--muted);margin:0 0 10px}
.so-cards{display:grid;gap:10px;max-height:1100px;overflow-y:auto;padding:2px 3px 6px 2px;overscroll-behavior:contain}.so-card{position:relative;font:inherit;text-align:left;color:inherit;border:1px solid var(--so-line);border-radius:12px;background:var(--surface,#fff);padding:16px;display:flex;flex-direction:column;gap:11px;cursor:pointer;min-width:0;width:100%}.so-card:hover{border-color:var(--so-accent)}.so-card.selected{border-color:var(--so-accent);box-shadow:0 0 0 1px var(--so-accent);background:color-mix(in srgb,var(--so-accent) 5%,var(--surface,#fff))}.so-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.so-card-top strong{font-size:15px;line-height:1.5}.so-badge{font-size:11px;line-height:1.5;border-radius:5px;padding:4px 7px;white-space:nowrap;background:color-mix(in srgb,currentColor 7%,transparent)}.so-badge.repair{color:var(--green,#248073);background:color-mix(in srgb,var(--green,#248073) 12%,transparent)}.so-badge.falling{color:var(--red,#b36442);background:color-mix(in srgb,var(--red,#b36442) 10%,transparent)}.so-badge.base{color:var(--amber,#9b7b25);background:color-mix(in srgb,var(--amber,#9b7b25) 10%,transparent)}.so-card-conclusion{font-size:12px;line-height:1.6;color:var(--muted)}.so-card-metrics{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;font-size:11px;color:var(--muted)}.so-card-metrics b{display:block;margin-top:4px;color:var(--text);font-size:13px}.so-card small{font-size:10px;color:var(--muted);line-height:1.6}.so-card-arrow{display:none}
.so-detail{background:var(--surface,#fff);padding:24px;border:1px solid var(--so-line);border-radius:15px;min-width:0}.so-mobile-back{display:none}.so-detail-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.so-detail h3{font-size:23px;margin:6px 0;line-height:1.5}.so-detail p{font-size:12px;line-height:1.8;margin:7px 0}.so-detail-heading p{font-size:13px;color:var(--muted)}.so-role-note{color:var(--muted);padding-bottom:12px;border-bottom:1px solid var(--so-line)}.so-observation-note{padding:12px 14px;background:color-mix(in srgb,var(--amber,#ac7525) 9%,transparent);border-radius:9px;font-size:12px;line-height:1.8;margin:16px 0}
.so-evidence{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:20px 0}.so-evidence article+article{border-left:1px solid var(--so-line);padding-left:22px}.so-evidence h4{font-size:16px;line-height:1.6;margin:8px 0}.so-evidence h4 small{font-size:10px;font-weight:400;color:var(--muted)}.so-evidence p{color:var(--muted)}.so-evidence dl{margin:12px 0}.so-evidence dl>div,.so-validation-card dl>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:6px 0}.so-evidence dt,.so-validation-card dt{color:var(--muted)}.so-evidence dd,.so-validation-card dd{margin:0;font-weight:650}
.so-figure{margin:18px 0 6px}.so-chart{width:100%;display:block;color:var(--so-accent)}.so-chart text{font:10px sans-serif;fill:currentColor;opacity:.7}.so-figure figcaption{font-size:10px;line-height:1.6;color:var(--muted)}.so-muted{font-size:11px!important;line-height:1.8;color:var(--muted)}.so-stock-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:24px}.so-stock-heading h4{font-size:14px;margin:0}.so-stock-heading span{font-size:11px;color:var(--muted)}
.so-stock-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.so-stock{border:1px solid var(--so-line);border-radius:10px;padding:13px;min-width:0}.so-stock.eligible{border-color:var(--so-accent)}.so-stock-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.so-stock button{min-height:44px;font-size:14px;font-weight:650;text-align:left}.so-stock small{display:block;font-size:10px;line-height:1.7;color:var(--muted)}.so-stock-top .so-badge{font-size:10px;white-space:normal;text-align:center}.so-stock-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:10px;color:var(--muted);margin:12px 0}.so-stock-metrics b{display:block;font-size:12px;color:var(--text);margin-top:4px}.so-stock p{font-size:11px;line-height:1.8;margin:6px 0}.so-stock-limits{color:var(--muted)}
.so-sources,.so-watch{border-top:1px solid var(--so-line);padding-top:9px;margin-top:14px;font-size:12px}.so-sources summary,.so-watch summary,.so-study summary{min-height:44px;line-height:1.8;padding:10px 0;cursor:pointer;font-size:12px;font-weight:650}.so-watch summary small{font-size:10px;font-weight:400;color:var(--muted);display:block}.so-sources p{font-size:11px}.so-source-item{padding:12px 0;border-bottom:1px solid var(--so-line);display:flex;flex-direction:column;gap:6px;font-size:11px;line-height:1.7}.so-source-item small{color:var(--muted)}.so-source-link{display:inline-flex;align-items:center;min-height:44px;color:var(--so-accent);font-size:11px;text-decoration:none;width:fit-content;padding:0 3px}.so-data-gap{padding:12px;background:color-mix(in srgb,var(--amber,#ac7525) 8%,transparent);border-radius:8px}
.so-study{border:1px solid var(--so-line);border-radius:12px;padding:8px 18px;margin-top:16px;background:var(--surface,#fff)}.so-study p{font-size:12px;line-height:1.8}.so-validation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.so-validation-card{border:1px solid var(--so-line);border-radius:9px;padding:12px;font-size:12px;min-width:0}.so-validation-card strong,.so-validation-card small{display:block;line-height:1.8}.so-validation-card small{font-size:10px;color:var(--muted)}.so-validation-card dl{margin:10px 0 0}.so-empty{padding:30px 15px;font-size:13px;color:var(--muted);line-height:1.8}
@media(max-width:1100px){.so-layout{grid-template-columns:260px minmax(0,1fr)}.so-hero{padding:22px}.so-detail{padding:18px}.so-stock-list{grid-template-columns:1fr}.so-evidence{gap:14px}.so-evidence article+article{padding-left:14px}.so-validation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 .so-hero{display:block;padding:20px;border-radius:13px}.so-hero h2{font-size:20px}.so-hero-meta{margin-top:16px;gap:5px}.so-hero-meta b{font-size:16px}.so-hero p{font-size:12px}
 .so-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:14px}.so-family-label{grid-column:1/-1;min-width:0}.so-search-label{grid-column:1/-1;min-width:0}.so-toolbar select,.so-toolbar input{font-size:16px;min-height:46px}.so-toolbar button{font-size:12px;min-height:44px;width:100%}.so-filters{gap:6px;padding-bottom:10px}.so-filters button{font-size:12px;padding:8px 13px;min-height:44px}
 .so-layout{display:block}.so-cards{display:grid;grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible;padding:2px}.so-card{min-width:0;gap:10px;padding:16px 29px 16px 15px;border-radius:12px}.so-card.selected{box-shadow:none}.so-card-top strong{font-size:15px}.so-card-metrics{grid-template-columns:1fr 1.4fr}.so-card-arrow{display:block;position:absolute;right:11px;top:50%;font-size:24px;color:var(--muted)}.so-card small{font-size:11px}.so-result-count{font-size:11px}
 .so-detail{display:none}.so-detail-view>.so-hero,.so-detail-view>.so-toolbar,.so-detail-view>.so-filters,.so-detail-view>.so-status,.so-detail-view .so-list-pane,.so-detail-view>.so-extra{display:none}.so-detail-view .so-detail{display:block;border:0;padding:0;background:transparent;border-radius:0}.so-mobile-back{display:flex;position:sticky;top:0;z-index:3;background:var(--bg,#f2f5f9);align-items:center;justify-content:space-between;gap:10px;padding:8px 0 10px;border-bottom:1px solid var(--so-line);margin-bottom:16px}.so-mobile-back button{min-height:44px;font-size:13px}.so-mobile-back span{font-size:12px;color:var(--muted)}.so-detail h3{font-size:22px}.so-detail-heading{gap:8px}.so-detail-heading .so-badge{font-size:11px}.so-detail-heading p{font-size:13px}.so-role-note{font-size:12px!important}
 .so-evidence{grid-template-columns:1fr;gap:12px;margin-top:16px}.so-evidence article{padding:16px;background:var(--surface,#fff);border:1px solid var(--so-line);border-radius:11px}.so-evidence article+article{padding:16px;border-left:1px solid var(--so-line)}.so-evidence dl>div{font-size:12px;padding:8px 0}.so-stock-heading{margin-top:22px}.so-stock-list{grid-template-columns:1fr}.so-stock{padding:15px;background:var(--surface,#fff)}.so-stock-metrics{font-size:11px;gap:12px}.so-stock-metrics b{font-size:13px}.so-stock p,.so-stock small{font-size:11px}.so-stock button{font-size:16px;min-height:44px}.so-watch,.so-sources{padding-top:8px}.so-study{padding:6px 14px}.so-validation-grid{grid-template-columns:1fr}.so-source-item{font-size:12px}.so-source-link{font-size:12px;min-height:44px}.so-figure{background:var(--surface,#fff);padding:12px;border-radius:10px}.so-figure figcaption{font-size:10px}.so-detail-view{padding-bottom:max(16px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.so-shell *{scroll-behavior:auto!important}}
@media(max-width:600px){
 body[data-page=cyclewatch] .sidebar{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
 body[data-page=cyclewatch] .sidebar nav{display:flex!important;flex-wrap:nowrap;overflow-x:auto;align-items:stretch;gap:4px!important;max-width:100%;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 body[data-page=cyclewatch] .sidebar .nav-item{flex:0 0 72px;min-width:72px;min-height:54px;font-size:11px!important;white-space:nowrap;padding:7px 4px;display:flex;flex-direction:column;justify-content:center;gap:5px}
 body[data-page=cyclewatch] main{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
 .so-card-conclusion{font-size:13px}.so-stock p{font-size:12px}.so-detail .so-role-note{font-size:12px!important}
}

/* Broad discovery and segment evidence retain the mobile list/detail workflow. */
.so-linkage,.so-themes{border:1px solid var(--line);border-radius:16px;padding:16px;margin:14px 0;background:var(--surface)}
.so-linkage-metrics,.so-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.so-linkage-metrics span{display:flex;flex-direction:column;font-size:12px;gap:6px}.so-linkage-metrics b{font-size:16px}
.so-segment-chips{display:flex;flex-wrap:wrap;gap:8px}.so-segment-chips span{border:1px solid var(--line);border-radius:10px;padding:8px;font-size:12px}
.so-theme{min-height:88px;text-align:left;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;cursor:pointer}.so-theme.selected{outline:2px solid var(--so-accent)}.so-theme small{line-height:1.5;opacity:.75}
@media(max-width:800px){.so-theme-grid{grid-template-columns:1fr}.so-linkage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.so-detail-view .so-themes{display:none}.so-linkage,.so-themes{padding:12px}.so-segment-chips span{max-width:100%;overflow-wrap:anywhere}}

/* Overview first. Details are opened explicitly on every screen size. */
.so-overview .so-hero{padding:20px 24px}.so-overview .so-hero h2{font-size:24px;margin:5px 0}.so-overview .so-hero p{margin-bottom:0}
.so-phase-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0 0}
.so-phase-summary button{font:inherit;background:var(--surface,#fff);color:var(--text);border:1px solid var(--so-line);border-radius:12px;padding:12px;min-height:80px;display:flex;flex-direction:column;gap:6px;align-items:center;cursor:pointer}
.so-phase-summary strong{font-size:26px;line-height:1.2}.so-phase-summary span{font-size:12px;color:var(--muted)}
.so-phase-summary button[aria-pressed=true],.so-member-filters button[aria-pressed=true]{border-color:var(--so-accent);background:color-mix(in srgb,var(--so-accent) 9%,var(--surface,#fff))}
.so-overview .so-toolbar{align-items:center;padding:14px 0 0}.so-overview .so-status{padding:8px 0 12px;font-size:11px;min-height:0}.so-overview .so-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;padding:0;gap:14px}
.so-overview .so-card{padding:18px;gap:10px;box-shadow:none;border-radius:14px}.so-overview .so-card:hover{box-shadow:0 4px 16px #00000008}.so-overview .so-card-top{align-items:start;flex-wrap:wrap}.so-overview .so-card-top strong{font-size:17px}
.so-primary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:6px 0}.so-primary-metrics>span{color:var(--muted);font-size:11px}.so-primary-metrics b{display:block;color:var(--text);font-size:23px;font-variant-numeric:tabular-nums;margin-top:5px;line-height:1.25}
.so-distribution{display:flex;height:7px;overflow:hidden;border-radius:6px;background:var(--so-line);width:100%}.so-distribution .repair{background:#3c9787}.so-distribution .flat{background:#c2ac78}.so-distribution .falling{background:#a97d73}.so-distribution .unknown{background:#ccd1d8}
.so-counts{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.so-counts b{color:var(--text);font-weight:600}.so-repair-line{font-size:13px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.so-repair-line>b{font-size:18px}.so-overview .so-repair-line small{font-size:11px;color:var(--muted);margin-left:auto}
.so-card-note{font-size:11px;color:var(--muted)}.so-overview .so-card-conclusion{font-size:12px;line-height:1.65;font-weight:400;min-height:0;color:var(--muted)}.so-card-footer{margin-top:auto;padding-top:10px;border-top:1px solid var(--so-line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.so-card-footer>span{color:var(--so-accent)}
.so-badge.trend{color:var(--so-accent)}.so-badge.flat{color:#957334}.so-badge.unknown{color:var(--muted)}
.so-overview.so-detail-view .so-overview-home{display:none}.so-overview .so-overview-detail{max-width:1100px;margin:0 auto;padding:24px;display:block}.so-overview .so-mobile-back{display:flex;position:static;padding:0 0 14px;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;border-bottom:1px solid var(--so-line);background:transparent}.so-overview .so-mobile-back span{font-size:12px;color:var(--muted)}.so-overview .so-mobile-back button{min-height:44px}
.so-overview .so-detail-heading h3{font-size:25px;margin:5px 0}.so-overview .so-detail-heading p{font-size:14px;line-height:1.7}
.so-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.so-overview-metrics>span{font-size:12px;color:var(--muted);min-width:0}.so-overview-metrics b{display:block;font-size:30px;color:var(--text);margin:6px 0}.so-overview-metrics small{font-size:11px;display:block;line-height:1.7}
.so-wave{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--so-line);padding-top:14px;margin-top:12px}.so-wave>span{font-size:12px;color:var(--muted)}.so-wave b,.so-wave small{display:block;margin-top:6px}.so-wave b{font-size:19px;color:var(--text)}.so-wave small{font-size:10px;line-height:1.6}
.so-member-section{margin:26px 0}.so-member-section>.so-distribution{margin:14px 0 10px}.so-member-filters{display:flex;gap:7px;overflow-x:auto;padding:8px 0 12px}.so-member-filters button{font:inherit;font-size:12px;white-space:nowrap;min-height:44px;padding:7px 12px;border-radius:9px;border:1px solid var(--so-line);background:var(--surface,#fff);color:var(--text);cursor:pointer}
.so-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.so-member-row{font:inherit;min-width:0;border:1px solid var(--so-line);border-radius:10px;padding:10px 12px;min-height:64px;background:var(--surface,#fff);color:var(--text);display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;cursor:pointer}.so-member-row strong{font-size:13px}.so-member-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.so-overview .so-member-row .so-badge{font-size:10px}
.so-tools>summary,.so-research>summary{font-size:14px}.so-overview .so-tools .so-toolbar{padding-bottom:12px}.so-tools>details>summary{min-height:44px;cursor:pointer;padding:12px 0}
@media(max-width:1250px){.so-overview .so-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.so-overview .so-hero{padding:16px}.so-overview .so-hero h2{font-size:20px}.so-overview .so-hero-meta{margin-top:10px;flex-direction:row;align-items:center;gap:12px}.so-phase-summary{gap:6px}.so-phase-summary button{padding:10px 4px;min-height:74px}.so-phase-summary strong{font-size:23px}.so-phase-summary span{font-size:11px}.so-overview .so-toolbar{display:flex;flex-wrap:wrap;gap:8px}.so-overview .so-toolbar button{width:auto}.so-overview .so-search-label{flex:1;min-width:180px}.so-overview .so-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.so-overview .so-overview-detail{border:0;padding:0;background:transparent}.so-overview-metrics{gap:12px}.so-overview-metrics b{font-size:24px}.so-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.so-overview .so-mobile-back{position:sticky;top:0;z-index:3;padding:8px 0;background:var(--bg,#f2f5f9)}.so-wave{gap:8px}.so-wave>span{font-size:11px}}
@media(max-width:600px){.so-overview .so-cards{grid-template-columns:minmax(0,1fr)}.so-overview .so-card{padding:16px}.so-phase-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.so-phase-summary button:last-child{grid-column:1/-1;flex-direction:row;justify-content:center;min-height:40px;padding:6px;gap:10px}.so-phase-summary button:last-child strong{font-size:17px}.so-overview .so-toolbar .so-search-label{order:-1;flex-basis:100%;min-width:0}.so-overview .so-toolbar>button{flex:1}.so-overview-metrics{grid-template-columns:1fr 1fr;gap:14px}.so-overview-metrics>span:last-child{grid-column:1/-1;border-top:1px solid var(--so-line);padding-top:12px}.so-overview-metrics>span:last-child b{display:inline-block;margin:0 10px;font-size:23px}.so-overview-metrics>span:last-child small{margin-top:5px}.so-wave b{font-size:17px}.so-member-grid{grid-template-columns:minmax(0,1fr)}.so-overview .so-detail-heading{flex-wrap:wrap}.so-overview .so-detail-heading h3{font-size:23px}}


/* Member price comparisons, with the low window visible on each card. */
.so-member-row{flex-direction:column;align-items:stretch;gap:12px;padding:14px}
.so-member-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.so-member-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.so-member-metrics>span{font-size:11px;line-height:1.6;color:var(--muted)}
.so-member-metrics b{display:block;font-size:16px;line-height:1.5;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.so-member-metrics b.up{color:#b84246}.so-member-metrics b.down{color:#247e68}
.so-member-row .so-member-low{font-size:10px;color:var(--muted);line-height:1.5}
@media(min-width:801px) and (max-width:1100px){.so-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
