/* Shared, scoped styles; external stylesheet supports strict admin CSPs. */
.story-funnel{margin:24px 0;padding:22px;border:1px solid var(--rule,#ccd4d8);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#142c3a);font-family:inherit;font-size:14px;line-height:1.5;text-align:left}
.story-funnel *{box-sizing:border-box}
.story-funnel .sf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.story-funnel h3{font-size:20px;line-height:1.3;margin:0 0 4px}
.story-funnel h4{font-size:14px;margin:16px 0 4px}
.story-funnel p{margin:5px 0 12px}
.story-funnel .sf-controls{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 10px}
.story-funnel label{display:flex;flex-direction:column;gap:4px;min-width:150px;font-size:12px;font-weight:600;flex:1}
.story-funnel select,.story-funnel button{font:inherit;color:inherit;background:var(--surface,#fff);border:1px solid var(--rule,#ccd4d8);border-radius:5px;padding:8px 10px;cursor:pointer;min-height:40px}
.story-funnel select{width:100%;font-size:14px}
.story-funnel button:hover{background:var(--surface-2,#eef3f5)}
.story-funnel button:focus-visible,.story-funnel select:focus-visible,.story-funnel summary:focus-visible{outline:3px solid var(--accent,#197594);outline-offset:3px}
.story-funnel .sf-selection{font-size:12px;font-weight:600;color:var(--ink-2,#405766)}
.story-funnel .sf-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.story-funnel .sf-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:14px;gap:3px}
.story-funnel .sf-card strong{font-size:29px;line-height:1.3;font-variant-numeric:tabular-nums}
.story-funnel .sf-card[aria-pressed=true]{border:2px solid var(--accent,#197594);padding:13px;background:var(--surface-2,#eef3f5)}
.story-funnel .sf-label{font-size:12px;font-weight:700}
.story-funnel .sf-coverage{font-size:11px;color:var(--ink-2,#405766);margin-top:5px}
.story-funnel .sf-note{font-size:12px;line-height:1.6;color:var(--ink-2,#405766);margin-top:12px}
.story-funnel .sf-scroll{overflow-x:auto;max-width:100%;margin-top:18px}
.story-funnel table{width:100%;border-collapse:collapse;font-size:13px;margin:0}
.story-funnel caption{text-align:left;font-size:12px;font-weight:600;padding:0 0 8px;color:var(--ink-2,#405766)}
.story-funnel th,.story-funnel td{padding:9px 10px;border-bottom:1px solid var(--rule,#ccd4d8);text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}
.story-funnel th:first-child{text-align:left;padding-left:0}
.story-funnel th small{display:block;font-weight:400;font-size:11px}
.story-funnel th button{white-space:nowrap;border-color:transparent;background:transparent;text-align:left;font-weight:600}
.story-funnel .sf-selected{background:var(--surface-2,#eef3f5)}
.story-funnel .sf-selected th button{text-decoration:underline;text-underline-offset:4px}
.story-funnel .sf-details{margin-top:18px;padding-top:12px;border-top:1px solid var(--rule,#ccd4d8)}
.story-funnel summary{cursor:pointer;font-weight:600;padding:6px 0}
.story-funnel .sf-evidence{padding:0 0 8px}
.story-funnel .sf-evidence .sf-note{margin-top:0}
@media(max-width:560px){.story-funnel{padding:14px}.story-funnel .sf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.story-funnel .sf-card{padding:10px}.story-funnel .sf-card[aria-pressed=true]{padding:9px}.story-funnel .sf-card strong{font-size:25px}.story-funnel label{min-width:120px}}
