/* Report Sprawl extension. Shared component tokens and geometry remain authoritative. */
.cwds.rs .rs-path-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-top:1px solid var(--cwds-line);padding-top:.3rem}
.cwds.rs .rs-path-trail{flex:1;min-width:0;max-width:calc(100% - 17rem)}
.cwds.rs .rs-sticky-actions{display:flex;flex-shrink:0;gap:.5rem;margin-left:auto;padding:.25rem .4rem;align-self:flex-start}
@media(max-width:900px){.cwds.rs .rs-path-bar{flex-direction:column;align-items:stretch;gap:.25rem}.cwds.rs .rs-path-trail{order:1;max-width:100%}.cwds.rs .rs-sticky-actions{order:0;justify-content:flex-end;align-self:stretch}}
.cwds.rs .rs-path-trail>p{font:600 .8rem/1.4 var(--cwds-sans);text-transform:none;letter-spacing:normal;color:#12403c;margin:.25rem .4rem}
.cwds.rs .rs-path-trail ol{display:flex;gap:.5rem;list-style:none;padding:.25rem .4rem;margin:0;overflow-x:auto;scroll-padding:.4rem}
.cwds.rs .rs-path-trail li{flex:0 0 auto;width:max-content;min-width:0;max-width:none}
@media(min-width:901px){.cwds.rs .rs-path-trail ol{flex-wrap:wrap;overflow:visible}.cwds.rs .rs-path-trail li{width:max-content;max-width:none}}
.cwds.rs .rs-history-archive{border:1px solid var(--cwds-line);border-radius:10px;padding:.5rem 1rem;background:#fff}
.cwds.rs .rs-history-archive ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.5rem;list-style:none;padding:0}
.cwds.rs .rs-history-archive button{width:100%;text-align:left;border:1px solid var(--cwds-line);border-radius:7px;background:var(--cwds-paper);padding:.75rem;cursor:pointer}
.cwds.rs .rs-history-archive button>span{display:block;font-size:.8rem;margin-top:.3rem}
.cwds.rs .rs-path-trail button{display:flex;align-items:center;gap:.4rem;width:100%;min-height:44px;text-align:left;padding:.35rem .5rem;background:#fff;border:1px solid #b8cbc7;border-left:3px solid #12403c;border-radius:7px;cursor:pointer}
.cwds.rs .rs-path-trail button>.rs-icon{width:20px;height:20px;flex-shrink:0;color:#12403c}
.cwds.rs .rs-path-trail button[data-choice="exception"]>.rs-icon{color:#795716}
.cwds.rs .rs-case-picker.is-pinned .rs-path-trail>p{display:none}
.cwds.rs .rs-path-trail button[data-choice="exception"],.cwds.rs .rs-path-trail button[data-choice="keep"]{border-left-color:#b5843e;background:#fbf5e9}
.cwds.rs .rs-path-trail strong{flex-shrink:0;font-size:.75rem;line-height:1.25;white-space:nowrap}
.cwds.rs .rs-path-trail button>span{font-size:.75rem;line-height:1.35;display:block;white-space:normal}
.cwds.rs .rs-path-trail button:hover{text-decoration:underline}
.cwds.rs.rs-ready .rs-stages>[data-rs-node]:before{display:none}
.cwds.rs .rs-stages>.rs-exception-node{background:#f7edda;border-left-color:#b5843e}
.cwds.rs .rs-path-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}
.cwds.rs .rs-stages>.rs-path-panel{padding:1.5rem;background:#deeee5;border-left-color:#12403c}
.cwds.rs .rs-stages>.rs-path-amber{background:#f7edda;border-left-color:#b5843e}
.cwds.rs .rs-stages>.rs-path-blue{background:#e2ebf5;border-left-color:#567ba6}
.cwds.rs .rs-path-panel h4{font-size:1.4rem;margin:.5rem 0 1rem}
.cwds.rs .rs-path-limit{font-size:.85rem;max-width:70ch}
.cwds.rs .rs-reference{border-top:1px solid var(--cwds-line);padding-top:1rem;margin:2rem 0}
@media print{.cwds.rs [data-rs-return],.cwds.rs .rs-path-actions,.cwds.rs .rs-sticky-actions{display:none!important}}
.cwds.rs #limits{background:#e4eeea;border:1px solid #baccc5;border-radius:18px;padding:2rem;margin:2rem 0}
.cwds.rs #limits>h2{color:#12403c}
.cwds.rs #limits .rs-boundaries{gap:1rem}
.cwds.rs #limits .rs-boundaries>li{border:1px solid #baccc5;border-radius:12px;padding:1.25rem;background:#fff}
.cwds.rs #limits .rs-boundaries>li:first-child{background:#12403c;border-color:#12403c;color:#fff}
.cwds.rs #limits .rs-boundaries>li:first-child h3{color:#fff}
.cwds.rs #limits .rs-boundaries>li:nth-child(2){background:#f7edda;border-color:#d3bc95;color:#584120}
.cwds.rs #limits .rs-boundaries>li:nth-child(2) h3{color:#584120}
.cwds.rs .rs-note-kind{display:inline-block;font-size:.75rem;font-weight:600;margin-top:.6rem;color:var(--cwds-soft)}
.cwds.rs .rs-evidence-heading{padding:.75rem;border-radius:8px;background:#f3f4f1}
.cwds.rs .rs-note-teal .rs-evidence-heading{background:#deeee5;color:#12403c}
.cwds.rs .rs-note-blue .rs-evidence-heading{background:#e2ebf5;color:#263f5b}
.cwds.rs .rs-note-amber .rs-evidence-heading{background:#f7edda;color:#584120}
.cwds.rs .rs-evidence-heading .rs-note-kind,.cwds.rs .rs-evidence-heading .cwds-label{color:inherit}
.cwds.rs .rs-evidence-points strong{font-weight:700;color:inherit}
.cwds.rs .rs-record-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.cwds.rs .rs-record-cards article{background:#fff;border:1px solid var(--cwds-line);border-radius:12px;padding:1.25rem}
.cwds.rs .rs-record-cards header{display:flex;align-items:center;gap:.6rem;color:#12403c;border-bottom:1px solid var(--cwds-line);padding-bottom:.8rem}
.cwds.rs .rs-record-cards h3{font-family:var(--cwds-sans);font-size:1.2rem;margin:1rem 0}
.cwds.rs .rs-record-cards ul{padding-left:1.1rem;margin-bottom:0;font-size:.9rem}
.cwds.rs .rs-record-cards li+li{margin-top:.65rem}
.cwds.rs .rs-reading-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.cwds.rs .rs-reading-keys details{border-top:2px solid #8baaa5;margin:0;padding:.5rem}
.cwds.rs .rs-reading-keys summary{font-size:.9rem}
.cwds.rs .rs-reading-keys p{font-size:.9rem}
@media(max-width:900px){.cwds.rs .rs-record-cards,.cwds.rs .rs-reading-keys,.cwds.rs #limits .rs-boundaries{grid-template-columns:1fr}.cwds.rs #limits{padding:1.25rem}}
.cwds.rs .rs-choice{display:flex;flex-direction:column;gap:.75rem;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;line-height:1.55}
.cwds.rs .rs-choice .cwds-outcome{display:block;font-size:1rem}
.cwds.rs .rs-choice-action{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.85rem;font-weight:600;border-top:1px solid currentColor;padding-top:.6rem;width:100%;margin-top:auto}
.cwds.rs .rs-choice:hover .rs-choice-action{text-decoration:underline}
.cwds.rs .rs-choice-recap{font-size:.9rem;margin:.5rem 0}
.cwds.rs .rs-revisit{font-size:.85rem;margin-top:.5rem}
.cwds.rs .rs-choice-help{display:none;font-size:.85rem;max-width:70ch;color:var(--cwds-soft)}
.cwds.rs.rs-ready .rs-choice-help{display:block}
@media print{.cwds.rs [data-rs-choice],.cwds.rs .rs-revisit{display:none!important}.cwds.rs.rs-ready [data-rs-choice-static]{display:block!important}}
.cwds.rs .rs-step-recap{display:none}
.cwds.rs.rs-ready .rs-earlier .rs-step-detail{display:none}
.cwds.rs.rs-ready .rs-earlier .rs-step-recap{display:block;margin:.4rem 0 0;font-size:.9rem}
.cwds.rs.rs-ready .cwds-flow>.rs-earlier{background:#e9ece9;border-left-color:#899b95;padding:.8rem 1.25rem}
.cwds.rs.rs-ready .rs-earlier h4{margin:.3rem 0;font-size:1rem}
.cwds.rs.rs-ready .rs-earlier>.cwds-label{margin:0}
.cwds.rs .rs-evidence-heading h5{margin:.4rem 0 0}
.cwds.rs .rs-evidence-points{padding-left:1.1rem;margin:0}
.cwds.rs .rs-evidence-points li+li{margin-top:.6rem}
.cwds.rs [data-cwds-scenario="restricted-work"] [data-rs-variant="known"] .rs-outcome-banner{background:#e2ebf5;color:#263f5b}
.cwds.rs .rs-boundaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;gap:1.25rem}
.cwds.rs .rs-boundaries>li{display:flex;align-items:flex-start;gap:.8rem;border-top:1px solid var(--cwds-line);padding-top:1.2rem}
.cwds.rs .rs-boundaries h3{font-family:var(--cwds-sans);font-size:1.05rem;margin:0 0 .6rem}
.cwds.rs .rs-boundaries p{font-size:.95rem;margin:0}
.cwds.rs .rs-scope-notes{border-top:1px solid var(--cwds-line);padding-top:.5rem;margin-top:1.5rem}
.cwds.rs .rs-scope-notes p{max-width:70ch}
@media(max-width:767px){.cwds.rs .rs-evidence>ul>li{grid-template-columns:1fr;gap:.8rem}.cwds.rs .rs-boundaries{grid-template-columns:1fr}}
@media print{.cwds.rs.rs-ready .rs-earlier .rs-step-detail{display:block}.cwds.rs.rs-ready .rs-earlier .rs-step-recap{display:none}}
.cwds.rs .rs-icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}
.cwds.rs .rs-estate-map{background:#12403c;color:#fff;border-radius:18px;padding:2.5rem;margin:0 0 1.5rem}
.cwds.rs .rs-map-copy{max-width:48rem}
.cwds.rs .rs-map-copy h2{color:#fff;font-size:clamp(1.65rem,2.4vw,2.5rem);line-height:1.2;margin:.7rem 0 1rem}
.cwds.rs .rs-estate-map .cwds-label{color:#d4f36b}
.cwds.rs .rs-map-copy>p:last-child{color:#dce8e5;max-width:42rem}
.cwds.rs .rs-estate-sketch{display:grid;grid-template-columns:minmax(0,1fr) 2rem minmax(0,.85fr) 2rem minmax(0,1.15fr);align-items:center;gap:1rem;margin:2rem 0 0}
.cwds.rs .rs-report-stack{display:grid;grid-auto-rows:1fr;gap:.55rem}
.cwds.rs .rs-report-stack>div{display:flex;align-items:center;gap:.7rem;border:1px solid #668782;border-radius:8px;background:#244e49;padding:.85rem;font-size:.85rem}
.cwds.rs .rs-map-arrow{font-size:1.8rem;color:#d4f36b;text-align:center}
.cwds.rs .rs-map-gate{display:grid;justify-items:center;gap:1rem;text-align:center;padding:1.4rem .8rem;border:1px solid #d4f36b;border-radius:12px;color:#d4f36b}
.cwds.rs .rs-map-gate .rs-icon{width:34px;height:34px}
.cwds.rs .rs-map-outcomes{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.cwds.rs .rs-map-outcomes li{display:flex;gap:.7rem;padding:.75rem;background:#deeee5;color:#163f37;border-radius:8px;font-size:.85rem}
.cwds.rs .rs-map-outcomes li:nth-child(2){background:#e2ebf5;color:#243d59}.cwds.rs .rs-map-outcomes li:nth-child(3){background:#f7edda;color:#584120}
.cwds.rs .rs-map-outcomes strong{display:block}
.cwds.rs .rs-estate-sketch figcaption{grid-column:1/-1;color:#dce8e5;font-size:.75rem;border-top:1px solid #668782;padding-top:1rem;margin-top:.4rem}
.cwds.rs .rs-route-map{margin:0 0 4rem}
.cwds.rs .rs-route-map ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0}
.cwds.rs .rs-route-map li{min-width:0}
.cwds.rs .rs-route-map a{position:relative;display:block;height:100%;min-height:196px;box-sizing:border-box;border:1px solid #b9c9bd;border-top:3px solid #28584b;border-radius:18px;padding:18px 18px 28px;background:#fafbf7;color:#0f1f1e;text-decoration:none}

.cwds.rs .rs-route-top{display:flex;justify-content:space-between;align-items:center}
.cwds.rs .rs-route-number{font:600 12px var(--cwds-mono,Consolas,monospace);color:#28584b}
.cwds.rs .rs-route-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #b9c9bd;border-radius:13px;background:#e8eee5;color:#28584b;flex-shrink:0}
.cwds.rs .rs-route-map a>strong{display:block;font:600 22px/1.2 var(--cwds-sans);letter-spacing:-.025em;margin:22px 0 8px}
.cwds.rs .rs-route-question{display:block;font-size:13px;line-height:1.5;color:#4a5857;max-width:140px}
.cwds.rs .rs-route-arrow{position:absolute;bottom:16px;right:18px;color:#28584b;font-size:20px}
.cwds.rs .rs-route-map a:hover,.cwds.rs .rs-route-map a:focus-visible{background:#12403c;color:#fff;border-color:#12403c;box-shadow:0 6px 20px #0f1f1e12}
.cwds.rs .rs-route-map a:is(:hover,:focus-visible) :is(strong,.rs-route-question,.rs-route-number,.rs-route-arrow){color:#fff}
.cwds.rs .rs-route-map a:is(:hover,:focus-visible) .rs-route-icon{background:transparent;border-color:#89a99c;color:#d4f36b}
.cwds.rs .rs-case-card:hover{border-color:#12403c;box-shadow:0 3px 0 #12403c}
.cwds.rs .rs-guide-heading,.cwds.rs .rs-case-heading{display:flex;align-items:flex-start;gap:1rem}
.cwds.rs .rs-guide-heading{position:sticky;top:var(--cwds-header-height,0px);z-index:20;padding:1rem 1.5rem;background:#e8f0ef;border-radius:14px;margin-bottom:1rem;box-shadow:0 1px 0 var(--cwds-line)}

.cwds.rs .rs-guide-heading h2{margin:.4rem 0 0}.cwds.rs .rs-guide-description{padding:0 1.5rem;margin-bottom:1.5rem;max-width:74ch}
@media print{.cwds.rs .rs-guide-heading{position:static;box-shadow:none}}
.cwds.rs .rs-guide-icon{display:inline-flex;justify-content:center;align-items:center;width:48px;height:48px;flex-shrink:0;background:#12403c;color:#fff;border-radius:12px}
.cwds.rs .rs-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,.6fr);gap:1.25rem;align-items:stretch}
.cwds.rs .rs-flowchart{margin:0;background:#fff;border:1px solid var(--cwds-line);border-radius:14px;padding:1.5rem}
.cwds.rs .rs-flowchart figcaption{display:grid;gap:.3rem;font-size:.85rem;color:var(--cwds-soft);margin-bottom:1.5rem}
.cwds.rs .rs-flow-entry{display:flex;align-items:center;justify-content:center;gap:.7rem;border:1px solid var(--cwds-line);border-radius:8px;padding:.9rem;background:var(--cwds-paper);font-weight:600;text-align:center}
.cwds.rs .rs-connector{display:block;text-align:center;color:#12403c;font-size:1.5rem;line-height:2.5rem}
.cwds.rs .rs-flow-gate{display:flex;align-items:center;gap:1rem;background:#e8f0ef;border:1px solid #8baaa5;border-radius:10px;padding:1rem}
.cwds.rs .rs-flow-gate h3{font-family:var(--cwds-sans);font-size:1.1rem;line-height:1.4;margin:.4rem 0 0}
.cwds.rs .rs-gate-mark{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid #12403c;transform:rotate(45deg);border-radius:6px;color:#12403c}
.cwds.rs .rs-gate-mark .rs-icon{transform:rotate(-45deg)}
.cwds.rs .rs-fork{height:1.5rem;margin:0 25%;border-bottom:1px solid #8baaa5;position:relative}
.cwds.rs .rs-fork:before{content:'';position:absolute;left:50%;height:100%;border-left:1px solid #8baaa5}
.cwds.rs .rs-flow-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;list-style:none;padding:0;margin:0}
.cwds.rs .rs-flow-branches li{position:relative;padding:1rem;border-radius:10px;margin-top:1rem;background:#deeee5;border:1px solid #aac4b5}
.cwds.rs .rs-flow-branches li:before{content:'â†“';position:absolute;top:-1.6rem;left:calc(50% - .3rem);color:#12403c}
.cwds.rs .rs-flow-branches .rs-branch-exception{background:#f7edda;border-color:#d3bc95}
.cwds.rs .rs-branch-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-weight:700;line-height:1.4;color:#12403c}
.cwds.rs .rs-branch-exception .rs-branch-label{color:#584120}.cwds.rs .rs-flow-branches p{font-size:.9rem;margin:.75rem 0 0}
.cwds.rs .rs-owner-card{padding:1.5rem;border-radius:14px;background:#12403c;color:#fff;display:flex;flex-direction:column}
.cwds.rs .rs-owner-card h3{color:inherit;font-size:1.5rem;margin:.7rem 0 1rem}.cwds.rs .rs-owner-card .cwds-label{color:#d4f36b}
.cwds.rs .rs-owner-card .cwds-label .rs-icon{width:18px;height:18px;margin-right:.35rem}
.cwds.rs .rs-owner-card>p:not(.cwds-label),.cwds.rs .rs-owner-exit p{font-size:.9rem}
.cwds.rs .rs-owner-exit{border-top:1px solid #668782;padding-top:1rem;margin-top:.5rem;margin-bottom:1.5rem}
.cwds.rs .rs-owner-card .cwds-button{background:#fff;color:#12403c;border-color:#fff;margin-top:auto;align-self:flex-start;gap:.5rem;white-space:normal}
.cwds.rs .rs-tone-blue{background:#263f5b}.cwds.rs .rs-tone-ink{background:#242e2d}

.cwds.rs .rs-guide-detail{margin-top:1rem;border:1px solid var(--cwds-line);border-radius:10px;padding:1rem;background:#fff}
.cwds.rs .rs-guide-detail summary{cursor:pointer;font-weight:600;min-height:24px}.cwds.rs .rs-guide-detail summary .rs-icon{margin-right:.5rem}
.cwds.rs .rs-case-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;list-style:none;padding:0;margin:1.5rem 0 2rem}
.cwds.rs .rs-case-card{display:flex;flex-direction:column;gap:.9rem;background:#e8f0ef;border:1px solid #b8cbc7;border-radius:12px;padding:1.2rem;color:#12403c;text-decoration:none;height:100%;box-sizing:border-box}
.cwds.rs .rs-case-card-1{background:#e2ebf5;border-color:#bccbdb;color:#263f5b}.cwds.rs .rs-case-card-2{background:#f7edda;border-color:#d3bc95;color:#584120}
.cwds.rs .rs-case-card-top,.cwds.rs .rs-case-card-exit{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.8rem}
.cwds.rs .rs-case-card>strong{font-size:1.05rem;line-height:1.4}.cwds.rs .rs-case-card-exit{margin-top:auto;padding-top:.75rem;border-top:1px solid currentColor}
.cwds.rs .rs-case-card strong,.cwds.rs .rs-case-card-exit>span{min-width:0;overflow-wrap:anywhere}
.cwds.rs .rs-case-selected{display:none;font-weight:700}
.cwds.rs.rs-ready .rs-case-card[aria-current="true"]{outline:3px solid #12403c;outline-offset:2px}
.cwds.rs.rs-ready .rs-case-card-0[aria-current="true"]{background:#cce4d9}
.cwds.rs.rs-ready .rs-case-card-1[aria-current="true"]{background:#c7dcf1}
.cwds.rs.rs-ready .rs-case-card-2[aria-current="true"]{background:#f3dfb8}
.cwds.rs.rs-ready .rs-case-card[aria-current="true"] .rs-case-selected{display:inline}
.cwds.rs .rs-case-card:focus-visible{outline:3px solid #12403c;outline-offset:6px}
.cwds.rs .rs-selector-bridge{display:none!important}
.cwds.rs .rs-picker-anchor{height:1px;margin-top:1.5rem}
.cwds.rs .rs-case-picker{margin:0;background:var(--cwds-paper);z-index:30}
.cwds.rs.rs-ready .rs-case-picker{position:sticky;top:var(--cwds-header-height,0px)}
.cwds.rs.rs-ready .rs-case-picker.is-unpinned{position:static}
.cwds.rs .rs-case-picker .rs-case-gallery{margin:0;padding:.4rem;gap:1rem}
.cwds.rs .rs-picker-hint{display:none;margin:0;padding:.4rem}
.cwds.rs .rs-picker-hint span{display:none}
.cwds.rs .rs-case-picker.is-pinned{border-bottom:1px solid var(--cwds-line);padding:.25rem 0}
.cwds.rs .rs-case-picker.is-pinned .rs-picker-hint{display:block}
.cwds.rs .rs-case-picker.is-pinned .rs-case-gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card{padding:.65rem;gap:.4rem;border-radius:9px}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:.5rem}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card-top{display:contents}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card-top>span{display:none}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card>strong{font-size:.8rem;line-height:1.35}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card-exit{display:none}
.cwds.rs .rs-case-picker.is-pinned .rs-case-card-top{font-size:.65rem}
.cwds.rs .rs-case-picker.is-pinned .rs-case-selected{font-size:0}
.cwds.rs .rs-case-picker.is-pinned .rs-case-selected:before{content:'âœ“ ';font-size:.8rem}
.cwds.rs .rs-case-picker.is-pinned .rs-icon{width:20px;height:20px}
.cwds.rs #cases{overflow-anchor:none}
.cwds.rs .rs-picker-space{display:none}
.cwds.rs.rs-ready #cases .cwds-table-frame{top:calc(var(--cwds-header-height,0px) + var(--rs-picker-height,0px))}
.cwds.rs.rs-ready #cases .cwds-table-scroll{max-height:var(--rs-record-max,28rem)!important}
.cwds.rs.rs-ready #cases .rs-record-unpinned{position:static!important}
@media(max-width:1100px){.cwds.rs .rs-case-picker.is-pinned .rs-case-gallery{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:10.5rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding:.4rem}.cwds.rs .rs-case-picker.is-pinned .rs-picker-hint span{display:inline}}
@media print{.cwds.rs .rs-case-picker,.cwds.rs .rs-picker-space{display:none!important}.cwds.rs.rs-ready #cases .cwds-table-frame{position:static;top:auto}.cwds.rs.rs-ready #cases .cwds-table-scroll{max-height:none!important}}
@media(min-width:768px) and (max-width:1100px){.cwds.rs .rs-case-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cwds.rs .rs-case-heading{margin-top:1rem}.cwds.rs .rs-case-heading h3{margin:.3rem 0 0}
.cwds.rs .cwds-branches>li:first-child{background:#deeee5;border-color:#aac4b5}.cwds.rs .cwds-branches>li:last-child{background:#f7edda;border-color:#d3bc95}
.cwds.rs [data-cwds-scenario]{scroll-margin-top:calc(var(--cwds-header-height,0px) + max(var(--cwds-stack-height,0px),6rem) + 20px)}
.cwds.rs .rs-outcome-banner{background:#12403c;color:#fff;padding:1.5rem;border-radius:10px;margin-bottom:1rem}
.cwds.rs .rs-outcome-banner .rs-disposition{color:inherit}.cwds.rs .rs-outcome-banner p{color:inherit;margin-bottom:0}
.cwds.rs .rs-outcome-symbol{display:inline-flex;border:1px solid currentColor;border-radius:50%;padding:.45rem}
.cwds.rs [data-cwds-scenario="different-meaning"] .rs-outcome-banner{background:#e2ebf5;color:#263f5b}
.cwds.rs [data-cwds-scenario="quiet-essential"] .rs-outcome-banner,.cwds.rs [data-cwds-scenario="late-dependency"] .rs-outcome-banner,.cwds.rs [data-cwds-scenario="strategic-request"] .rs-outcome-banner,.cwds.rs [data-rs-variant="unknown"] .rs-outcome-banner{background:#f7edda;color:#584120}
.cwds.rs .rs-evidence>ul{display:grid;grid-template-columns:1fr;gap:0}
.cwds.rs .rs-evidence>ul>li{display:grid;grid-template-columns:minmax(10rem,.65fr) minmax(0,1.7fr);gap:1.5rem;background:#fff;border:1px solid var(--cwds-line);border-bottom:0;border-radius:0;padding:1.2rem}
.cwds.rs .rs-evidence>ul>li:last-child{border-bottom:1px solid var(--cwds-line)}
@media(max-width:1100px){.cwds.rs .rs-guide-layout{grid-template-columns:1fr}.cwds.rs .rs-owner-card{display:block}.cwds.rs .rs-estate-sketch{grid-template-columns:minmax(0,1fr) 1.5rem minmax(0,1fr)}.cwds.rs .rs-map-outcomes{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.cwds.rs .rs-estate-sketch>.rs-map-arrow:nth-of-type(2){display:none}}
@media(max-width:767px){.cwds.rs .rs-estate-map{padding:1.25rem}.cwds.rs .rs-estate-sketch{grid-template-columns:1fr;gap:.6rem}.cwds.rs .rs-map-arrow{transform:rotate(90deg)}.cwds.rs .rs-map-outcomes{grid-template-columns:1fr}.cwds.rs .rs-estate-sketch>.rs-map-arrow:nth-of-type(2){display:block}.cwds.rs .rs-guide-heading{padding:1rem;gap:.75rem}.cwds.rs .rs-guide-icon{width:38px;height:38px;border-radius:9px}.cwds.rs .rs-guide-heading h2{font-size:1.6rem}.cwds.rs .rs-flowchart{padding:1rem}.cwds.rs .rs-flow-branches{grid-template-columns:1fr;gap:0}.cwds.rs .rs-fork{display:none}.cwds.rs .rs-flow-branches li{margin-top:1.5rem}.cwds.rs .rs-flow-branches li+li:before{content:'OR';font-family:var(--cwds-sans);font-size:.7rem;font-weight:700;top:-1.2rem;left:calc(50% - .5rem)}.cwds.rs .rs-case-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cwds.rs .rs-evidence>ul{grid-template-columns:1fr}}
@media(max-width:450px){.cwds.rs .rs-case-gallery{grid-template-columns:1fr}.cwds.rs .rs-flow-gate{gap:.8rem}.cwds.rs .rs-gate-mark{width:30px;height:30px}}
@media print{.cwds.rs .rs-estate-map,.cwds.rs .rs-owner-card,.cwds.rs .rs-outcome-banner{background:#fff;color:#12403c;border:1px solid #12403c}.cwds.rs .rs-estate-map h2,.cwds.rs .rs-estate-map .cwds-label,.cwds.rs .rs-estate-map p,.cwds.rs .rs-estate-sketch figcaption,.cwds.rs .rs-owner-card .cwds-label{color:#12403c}.cwds.rs .rs-route-map,.cwds.rs .rs-case-gallery{display:none}.cwds.rs .rs-guide-layout{display:block}.cwds.rs .rs-owner-card{margin-top:1rem}.cwds.rs .rs-flowchart{break-inside:avoid}}
.cwds.rs .rs-case-purpose{font-size:1.2rem;max-width:48rem}
.cwds.rs [data-cwds-scenario]{padding-top:1.5rem;border-top:1px solid var(--cwds-line);margin-top:1.5rem}
.cwds.rs .rs-step-controls{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:1.5rem 0}
.cwds.rs .rs-step-controls [role=status]{font-size:.875rem;min-width:7rem;text-align:center}
.cwds.rs button:disabled{cursor:default;border-style:dashed;color:var(--cwds-soft);background:var(--cwds-paper)}
.cwds.rs .rs-stages{margin:1rem 0}
.cwds.rs [data-rs-step]:focus{outline:3px solid var(--cwds-teal);outline-offset:4px}
.cwds.rs .rs-result{margin:1.5rem 0;border-left:4px solid var(--cwds-teal)}
.cwds.rs .rs-disposition{font-size:1.45rem;color:var(--cwds-teal);margin:.5rem 0}
.cwds.rs .rs-evidence-control{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:1rem 0}
.cwds.rs .rs-evidence-control label{font-weight:600}
.cwds.rs .rs-evidence{margin-top:2rem}
.cwds.rs .rs-evidence>ul{list-style:none;padding:0}
.cwds.rs .rs-evidence>ul>li{border-top:1px solid var(--cwds-line);padding:1.2rem;scroll-margin-top:calc(var(--cwds-header-height,0px) + 5rem)}
.cwds.rs h5{font-family:var(--cwds-sans);font-size:1rem;margin:0 0 .5rem}
.cwds.rs .rs-evidence-links{font-size:.875rem}
.cwds.rs .rs-evidence-links a{display:inline-flex;min-height:44px;align-items:center;padding:0 .25rem}
.cwds.rs .rs-records table{table-layout:fixed}
.cwds.rs .rs-records th{width:34%;overflow-wrap:anywhere}
.cwds.rs .rs-records td{overflow-wrap:anywhere}
.cwds.rs .rs-dictionary{margin:2rem 0}
.cwds.rs .rs-dictionary>div{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:1rem;padding:1rem 0;border-top:1px solid var(--cwds-line)}
.cwds.rs .rs-dictionary dt{font-weight:700;color:var(--cwds-teal)}
.cwds.rs .rs-dictionary dd{margin:0}
.cwds.rs [hidden]{display:none!important}
/* The selector and record table frames share the cases section and the package's header offset. While a
   visible worked record is open, the selector releases its pinning and stays uncompacted in flow, so record
   titles and their bounded scroll regions use the package-measured header and reading viewport alone. */
.cwds.rs.cwds-ready #cases:has(.rs-records[open]:not([hidden] *))>.cwds-toolbar{position:static}
.cwds.rs.cwds-ready #cases:has(.rs-records[open]:not([hidden] *))>.cwds-toolbar .cwds-control-help{display:inline}
@media(max-width:767px){.cwds.rs .rs-dictionary>div{grid-template-columns:1fr;gap:.4rem}.cwds.rs .rs-step-controls{gap:.5rem}.cwds.rs .rs-records th{width:42%}.cwds.rs .rs-result{padding:1rem}}
@media print{.cwds.rs .rs-step-controls,.cwds.rs .rs-evidence-control{display:none!important}.cwds.rs [data-rs-step],.cwds.rs [data-rs-variant]{display:block!important}.cwds.rs .rs-records table{table-layout:auto}.cwds.rs .rs-records th{width:auto}}

@media(max-width:767px){.cwds.rs .rs-evidence>ul>li{grid-template-columns:1fr;gap:.8rem}}

/* Opening decision links follow the sibling Evidence decisions card pattern. */
@media(max-width:1000px){.cwds.rs .rs-route-map a{padding-inline:14px}.cwds.rs .rs-route-map a>strong{font-size:19px}}
@media(max-width:760px){.cwds.rs .rs-route-map ol{grid-template-columns:repeat(2,minmax(0,1fr))}.cwds.rs .rs-route-map a{min-height:175px}}
@media(max-width:640px){.cwds.rs .rs-route-map ol{grid-template-columns:1fr;gap:11px}.cwds.rs .rs-route-map a{min-height:0;padding:17px 20px 22px;display:grid;grid-template-columns:1fr 42px;gap:2px 15px}.cwds.rs .rs-route-top{grid-column:2;grid-row:1/4;flex-direction:column-reverse;justify-content:center;gap:8px}.cwds.rs .rs-route-map a>strong{grid-column:1;font-size:23px;margin:0 0 7px}.cwds.rs .rs-route-question{max-width:none;font-size:14px;margin-right:18px}.cwds.rs .rs-route-arrow{right:85px;bottom:18px}}

@media(min-width:901px){.cwds.rs .rs-case-picker.is-pinned .rs-case-gallery{grid-template-columns:repeat(6,minmax(0,1fr))}.cwds.rs .rs-case-picker.is-pinned .rs-picker-hint{display:none}.cwds.rs .rs-path-trail li{width:max-content;max-width:none}}
@media(min-width:901px) and (max-width:1100px){.cwds.rs .rs-case-picker.is-pinned .rs-case-card{padding:.5rem;gap:.35rem;grid-template-columns:16px minmax(0,1fr);min-height:44px}.cwds.rs .rs-case-picker.is-pinned .rs-case-card>strong{font-size:.75rem;line-height:1.3}.cwds.rs .rs-case-picker.is-pinned .rs-icon{width:16px;height:16px}}

/* Match the Evidence decisions opening typography without changing the pinned package. */
.cwds.rs .cwds-hero h1{font-family:"Inter Tight",Inter,"Segoe UI",Arial,sans-serif;text-wrap:balance;max-width:none}
.cwds.rs .cwds-hero h1 em{font-family:Fraunces,Georgia,serif;line-height:normal;font-style:italic;font-weight:400;color:var(--cwds-display-teal);letter-spacing:-.04em}
@media(min-width:768px){.cwds.rs .cwds-hero h1 em{white-space:nowrap}}
