.scope-guide{max-width:1100px}.scope-guide [hidden]{display:none!important}.scope-guide h1{max-width:24ch}.scope-question-form,.scope-case,.scope-card{border:1px solid var(--ha-line);background:linear-gradient(140deg,#fff,#f2f5f8);border-radius:12px;padding:28px;box-shadow:0 12px 38px -32px #10223777}.scope-question-form>label{display:block;font-weight:600;margin-bottom:12px}.scope-question-form textarea{display:block;width:100%;resize:vertical;min-height:90px;padding:15px;border:1px solid #9eafbe;border-radius:8px;background:white;color:var(--ha-ink);font:inherit}.scope-case{margin-top:28px}.scope-case h2{font-size:1.9rem}.scope-case>p{max-width:80ch;color:var(--ha-muted)}.scope-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.scope-fields label{min-width:0;display:flex;flex-direction:column;gap:8px;font-weight:500}.scope-fields select,.scope-fields input{width:100%;min-width:0;min-height:48px;max-width:100%;border:1px solid #a9b9c8;border-radius:7px;padding:10px;background:white;color:var(--ha-ink);font:inherit;cursor:pointer}.scope-fields input{cursor:text}.scope-fields [aria-invalid=true]{border:2px solid #a84e1b}.scope-result-head{padding:45px 0 20px}.scope-result-head h2{font-size:2rem;margin:22px 0 12px}.scope-result-head p{max-width:85ch}.scope-result-head p:last-child{font-size:14px;color:var(--ha-muted)}.scope-answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.scope-card h3{font-size:1.5rem}.scope-card ul{padding-left:20px}.scope-card li{padding:7px 0;line-height:1.7}.scope-card .ha-link{font-size:14px;display:flex}.scope-conditions,.scope-pending{margin-top:22px}.scope-pending{border-left:3px solid #b87c1e}.scope-card summary{cursor:pointer;min-height:48px;padding:12px 0;font-weight:600}.scope-guide :focus-visible{outline:3px solid #ab7318;outline-offset:4px}.scope-guide h2:focus{outline:none}.scope-footer-note{padding:32px 0 60px;color:var(--ha-muted);font-size:14px}.scope-footer-note a{display:inline-flex;align-items:center;min-height:44px}.scope-guide button{cursor:pointer}.scope-guide button,.scope-guide select,.scope-guide input,.scope-guide textarea{transition:border-color 180ms ease-out,box-shadow 180ms ease-out}.scope-guide button:hover{box-shadow:0 4px 15px #10223722}#scope-message{color:#87450c;font-weight:600}#scope-case-title,#scope-result-title{scroll-margin-top:100px}@media(max-width:760px){.scope-answer-grid,.scope-fields{grid-template-columns:minmax(0,1fr)}.scope-question-form,.scope-case,.scope-card{padding:20px}.scope-guide .ha-actions{align-items:stretch;flex-direction:column}.scope-guide .ha-button{justify-content:center}.scope-guide .ha-intro h1{font-size:2.5rem}.scope-fields select,.scope-fields input{font-size:16px}}@media(prefers-reduced-motion:reduce){.scope-guide *{transition:none!important;animation:none!important}}
/* Source figures use a separate overlay; the original pixels remain unchanged. */
.scope-visual{margin-top:22px}.scope-visual-tools{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:22px 0}.scope-visual-tools label{display:grid;gap:8px;max-width:100%;font-weight:600}.scope-visual-tools select{min-height:48px;max-width:100%;padding:10px;border:1px solid #a9b9c8;border-radius:7px;font:inherit;color:var(--ha-ink);background:#fff;cursor:pointer}.scope-visual-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:26px;align-items:start}.scope-visual figure{margin:0;min-width:0}.scope-figure-stage{position:relative;background:#fff;border:1px solid var(--ha-line);border-radius:8px;isolation:isolate}.scope-figure-stage img{display:block;width:100%;height:auto;border-radius:8px}.scope-figure-overlay,.scope-figure-overlay svg,#scope-figure-markers{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.scope-figure-overlay rect{fill:#d9952030;stroke:#99600b;stroke-width:2;stroke-dasharray:5 3}.scope-figure-marker{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border:2px solid #fff;border-radius:50%;background:#102237;color:#fff;font:inherit;font-weight:700;box-shadow:0 2px 8px #10223740;pointer-events:auto;cursor:pointer}.scope-figure-marker[aria-pressed=true]{background:#99600b}.scope-visual figcaption{font-size:13px;color:var(--ha-muted);margin-top:12px}.scope-figure-explanation{min-width:0}#scope-figure-steps{display:grid;gap:8px}#scope-figure-steps button{min-height:48px;padding:12px 14px;border:1px solid var(--ha-line);border-radius:7px;text-align:left;font:inherit;color:var(--ha-ink);background:#fff;cursor:pointer;transition:background 180ms ease-out,border-color 180ms ease-out}#scope-figure-steps button[aria-pressed=true]{border-color:#ab7318;background:#fff5df}.scope-figure-note{margin-top:18px;border-top:1px solid var(--ha-line);padding-top:18px}.scope-figure-note h4{font-size:1.15rem;margin:0 0 10px}.scope-figure-note p{line-height:1.65}.scope-visual .ha-link{min-height:44px;align-items:center;overflow-wrap:anywhere}.scope-card li .ha-link{min-height:44px;align-items:center}.scope-figure-marker:hover{background:#324d68}#scope-figure-error{color:#87450c}@media(max-width:760px){.scope-visual-layout{grid-template-columns:1fr}.scope-visual-tools{align-items:stretch;flex-direction:column}.scope-visual-tools select{width:100%;font-size:16px}.scope-figure-marker{width:44px;height:44px}.scope-figure-stage{margin:4px 0}.scope-visual .ha-button{justify-content:center}}@media(prefers-reduced-motion:reduce){#scope-figure-steps button{transition:none}}
.abs-guide .scope-question-form,.abs-guide .scope-case,.abs-guide .scope-card{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(238,244,248,.9));backdrop-filter:blur(12px)}.abs-followup{margin-top:28px;border-left:3px solid #b87c1e}.abs-followup label{display:grid;gap:10px;font-weight:600}.abs-followup select,.abs-followup input{min-height:48px;border:1px solid #a9b9c8;border-radius:7px;padding:10px;background:#fff;color:var(--ha-ink);font:inherit}.abs-groups{display:grid;gap:34px}.abs-group{border-top:1px solid var(--ha-line);padding-top:24px}.abs-group-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:16px}.abs-group-head h2{margin:0;text-transform:capitalize}.abs-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.abs-rule{padding:22px}.abs-rule h3{text-transform:capitalize;font-size:1.12rem;margin-top:0}.abs-rule p{line-height:1.65}.abs-references{display:grid;gap:2px}.abs-rule details{margin-top:12px;border-top:1px solid var(--ha-line)}.abs-rule details p{font-size:14px;color:var(--ha-muted)}@media(max-width:760px){.abs-rule-grid{grid-template-columns:1fr}.abs-group-head{display:block}.abs-followup select,.abs-followup input{width:100%;font-size:16px}}

.scope-question-library{margin-top:16px}.scope-suggestion-label{margin:0 0 9px;color:var(--ha-muted);font-size:13px;font-weight:600}.scope-suggestions{display:flex;flex-wrap:wrap;gap:8px}.scope-suggestions button,.scope-question-buttons button{min-height:44px;padding:9px 13px;border:1px solid #a9b9c8;border-radius:999px;background:linear-gradient(145deg,#fff,#edf3f7);color:var(--ha-ink);font:600 13px/1.25 inherit;text-align:left;box-shadow:0 8px 22px -18px #102237;transition:transform 180ms cubic-bezier(.16,1,.3,1),border-color 180ms ease-out,box-shadow 180ms ease-out}.scope-suggestions button:hover,.scope-question-buttons button:hover{transform:translateY(-1px);border-color:#9a6818;box-shadow:0 10px 24px -16px #9a681866}.scope-question-browser{margin-top:10px;border-top:1px solid var(--ha-line)}.scope-question-browser>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:14px;font-weight:650}.scope-question-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:8px 0 4px}.scope-question-groups section{min-width:0}.scope-question-groups h3{margin:0 0 8px;font-size:14px}.scope-question-buttons{display:grid;gap:7px}.scope-question-buttons button{width:100%;border-radius:8px}.scope-suggestions button:focus-visible,.scope-question-buttons button:focus-visible{outline:3px solid #ab7318;outline-offset:3px}@media(max-width:760px){.scope-suggestions,.scope-question-groups{display:grid;grid-template-columns:1fr}.scope-suggestions button{width:100%}}@media(prefers-reduced-motion:reduce){.scope-suggestions button,.scope-question-buttons button{transition:none}.scope-suggestions button:hover,.scope-question-buttons button:hover{transform:none}}

/* The answer lists only documents cited by its rendered requirements. */
.answer-sources{margin:20px 0;padding:20px 24px;border:1px solid #bccbd7;border-left:3px solid #a66e16;border-radius:12px;background:linear-gradient(135deg,#fff,rgba(232,240,246,.92));box-shadow:0 10px 28px -24px #10223780;backdrop-filter:blur(10px)}
.answer-sources h3{margin:0 0 10px;font-size:1rem;color:#102237}.answer-sources ul{display:grid;gap:4px;list-style:none;padding:0;margin:0}.answer-sources a{display:flex;align-items:center;min-height:44px;padding:7px 0;color:#17476b;font-weight:600;line-height:1.5;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;cursor:pointer;transition:color 180ms ease-out}.answer-sources a:hover{color:#7c4a03}.answer-sources a:focus-visible{outline:3px solid #ab7318;outline-offset:3px;border-radius:4px}.answer-sources .answer-sources-note{margin:10px 0 0;color:#47566b;font-size:.85rem;line-height:1.55}
@media(max-width:760px){.answer-sources{padding:18px 20px}}
@media(prefers-reduced-motion:reduce){.answer-sources a{transition:none}}
