/* aspartners.io · fits Lab 06 (Spectrum Allocation) into the ASP Telecom Labs frame:
   shared header, lab menu and footer; same 1,216 px grid as the other labs. Lab 06 content styling is kept. */
html body main{max-width:1280px;padding-left:32px;padding-right:32px}
@media(max-width:1023px){html body main{padding-left:24px;padding-right:24px}}
@media(max-width:639px){html body main{padding-left:16px;padding-right:16px}}
/* Undo shared-lab defaults that would restyle Lab 06 content. */
html body main .eyebrow::before{content:none}
html body main .eyebrow{color:#5d6066;display:block;margin:0}
html body main h1{font-size:clamp(44px,5.4vw,74px);line-height:1.02;font-weight:650;letter-spacing:-2px;margin:15px 0 20px}
html body main p a,html body main #activity-reference,html body main .sources-panel a,html body main .map-credit a,html body main .inspector a{text-decoration:underline;text-underline-offset:3px}
/* Lab 06's own footer rules must not shape the shared site footer. */
html body footer.site-footer{display:block;max-width:none;margin:0;padding:0;border-top:0;font-size:inherit;color:inherit}
html body footer.site-footer span:first-child{flex:none}

/* Country map directly under the country selection, next to the filters; tighter spacing throughout. */
html body main .setup-row{display:grid;grid-template-columns:minmax(0,650px) minmax(0,1fr);gap:12px 20px;align-items:center;margin-top:10px}
html body main .setup-row .country-context{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:10px 16px;margin:0;border-radius:10px}
html body main .setup-row .country-context svg{height:100px}
html body main .setup-row .country-context .eyebrow{font-size:10px}
html body main .setup-row .country-context h2{font-size:18px;margin:3px 0 2px;line-height:1.25}
html body main .setup-row .country-context .meta{font-size:12px;margin:0}
html body main .setup-row .country-context .map-credit{font-size:11px;margin:2px 0 0}
html body main .setup-row .country-context button{margin-top:6px;min-height:28px;padding:3px 9px}
html body main .setup-row .country-context.expanded{grid-column:1/-1;grid-template-columns:1fr}
html body main .setup-row .country-context.expanded svg{height:300px}
html body main #workspace .setup-row .toolbar{margin:0;gap:12px;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}
html body main section.intro{padding-top:34px;padding-bottom:22px}
html body main .intro h1{font-size:clamp(40px,4.6vw,62px);margin:10px 0 12px}
html body main .edition-strip{padding:8px 0}
html body main #activity-picker{margin:14px 0;padding:18px 20px}
html body main #activity-options{margin:12px 0;gap:8px}
html body main #activity-options button{padding:7px 12px;min-height:44px}
html body main #activity-picker h3{margin-top:12px}
html body main #activity-reference{margin:6px 0}
html body main #activity-explore{margin-top:8px}
html body main .scope{margin:12px 0}
html body main .workspace-grid{gap:24px}
html body main .scene-head{margin-bottom:8px}
html body main #scale-views{margin-bottom:8px}
html body main .demo-bar{padding-top:10px;padding-bottom:10px;margin-bottom:10px}
html body main #spectrum-explorer{padding-top:14px;margin-bottom:12px}
html body main .legend{margin:8px 0 10px}
html body main #learn{margin-top:36px;padding-top:24px}
html body main #learn .section-title{margin-bottom:14px}
@media(max-width:1000px){html body main .setup-row{grid-template-columns:1fr}html body main #workspace .setup-row .toolbar{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:640px){
  html body main .setup-row .country-context{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 12px}
  html body main .setup-row .country-context svg{height:84px}
  html body main .setup-row .country-context h2{font-size:16px}
  html body main #workspace .setup-row .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body main #workspace .setup-row .toolbar>.region{grid-column:1/-1;justify-self:start;min-height:30px;padding:6px 10px}
  html body main section.intro{padding-top:24px;padding-bottom:14px}
  html body main #activity-picker{padding:14px}
}
/* The map card already states the ITU region: drop the duplicate chip so the filters get room. */
html body main #workspace .setup-row .toolbar>.region{display:none}
html body main #workspace .setup-row .toolbar,html body main #workspace .setup-row .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){html body main #workspace .setup-row .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* "Why the rules exist": interference section. */
html body main .interference{margin:36px 0 0;padding:24px;border:1px solid #e1e5e7;border-radius:12px;background:#fbfcfc}
html body main .interference .if-head h2{font-size:clamp(24px,2.6vw,32px);line-height:1.15;margin:6px 0 8px;letter-spacing:-.5px}
html body main .interference .if-head p{margin:0;max-width:760px;color:#4b5258;line-height:1.55}
html body main .interference .if-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:center;margin-top:18px}
html body main .interference .if-scene{background:#fff;border:1px solid #e6eaec;border-radius:10px;padding:8px}
html body main .interference .if-scene svg{width:100%;height:auto;display:block}
html body main .interference .if-scene text{font:500 13px Inter,Arial,sans-serif;fill:#3c4146}
html body main .interference fieldset{border:0;padding:0;margin:0 0 14px}
html body main .interference legend,html body main .interference .if-range>span{font-size:13px;color:#52626e;margin-bottom:6px;display:block}
html body main .interference .if-seg{display:flex;flex-wrap:wrap;gap:6px}
html body main .interference .if-seg button{flex:1 1 auto;min-height:38px;padding:6px 10px;border:1px solid #d5dbde;border-radius:8px;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:#1d2124}
html body main .interference .if-seg button[aria-pressed=true]{background:#1d2124;color:#fff;border-color:#1d2124}
html body main .interference .if-range{display:block;margin-bottom:14px}
html body main .interference .if-range input{width:100%}
html body main .interference .if-result{border-radius:10px;padding:12px 14px;border:1px solid;display:grid;gap:4px}
html body main .interference .if-result strong{font-size:18px}
html body main .interference .if-result p{margin:0;font-size:14px;line-height:1.45}
html body main .interference .if-result[data-level=clear]{background:#eef6f1;border-color:#b9dcc6;color:#17502f}
html body main .interference .if-result[data-level=noisy]{background:#fbf4e6;border-color:#ecd39c;color:#6b4a07}
html body main .interference .if-result[data-level=lost]{background:#fbeeec;border-color:#efc1ba;color:#7d2418}
html body main .interference .if-lesson{margin:16px 0 4px;font-weight:600;color:#1d2124;max-width:860px}
html body main .interference .if-model{margin:0;font-size:12px;color:#6b7378;max-width:860px;line-height:1.5}
html body main .inspector .city-link{display:block;margin-top:10px;font-size:14px;font-weight:600;color:#1d2124;text-decoration:underline;text-underline-offset:3px}
@media(max-width:860px){html body main .interference .if-body{grid-template-columns:1fr}}
@media(max-width:640px){html body main .interference{padding:16px;margin-top:24px}}
@media(max-width:640px){html body main .interference .if-scene text{font-size:21px}}

/* Signal scope: an instrument card (dark glass screens, phosphor trace). */
html body main .scope-card{margin:14px 0 0;padding:16px 18px 14px;border-radius:16px;background:linear-gradient(180deg,#1a2023,#12171a);color:#dfe8e3;border:1px solid #20282c;box-shadow:0 14px 40px rgba(10,20,25,.18)}
html body main .scope-card .scope-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
html body main .scope-card .scope-head .eyebrow{color:#8fb3a1;font-size:11px;letter-spacing:.14em;display:block}
html body main .scope-card .scope-head strong{display:block;font-size:16px;font-weight:600;color:#fff;margin-top:2px}
html body main .scope-card #scope-second{border:1px solid #3a474d;background:rgba(255,255,255,.04);color:#e8efeb;border-radius:999px;min-height:34px;padding:5px 14px;font-size:13px;cursor:pointer}
html body main .scope-card #scope-second[aria-pressed=true]{background:#f0b35b;border-color:#f0b35b;color:#1a1408}
html body main .scope-card .scope-screens{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin:12px 0 8px}
html body main .scope-card figure{margin:0}
html body main .scope-card canvas{display:block;width:100%;height:150px;border-radius:10px;border:1px solid #26353a;box-shadow:inset 0 0 30px rgba(0,0,0,.6)}
html body main .scope-card figcaption{font:500 11px ui-monospace,Menlo,monospace;color:#86a596;margin-top:6px;letter-spacing:.04em}
html body main .scope-card .scope-why{margin:6px 0 4px;color:#e3ebe7;font-size:14px;line-height:1.5}
html body main .scope-card .scope-meta{margin:0;color:#8a9a93;font-size:12px}
@media(max-width:640px){html body main .scope-card .scope-screens{grid-template-columns:1fr}html body main .scope-card canvas{height:120px}html body main .scope-card{padding:14px}}
html body main .scope-card .scope-actions{display:flex;gap:6px;flex-wrap:wrap}
html body main .scope-card #scope-listen{border:1px solid #3a474d;background:rgba(255,255,255,.04);color:#e8efeb;border-radius:999px;min-height:34px;padding:5px 14px;font-size:13px;cursor:pointer}
html body main .scope-card #scope-listen[aria-pressed=true]{background:#5ee39a;border-color:#5ee39a;color:#0d1a12}
/* "Why the rules exist" v2: draggable map, engineers' fixes, mini scope, channel-planning challenge. */
html body main .interference .if-scene .if-map{width:100%;height:auto;display:block;touch-action:none}
html body main .interference .if-drag{cursor:grab;outline:none}
html body main .interference .if-drag:focus-visible rect,html body main .interference .if-drag:focus-visible path{stroke:#1f6fb2;stroke-width:3}
html body main .interference .if-safe{font:500 11px Inter,Arial,sans-serif;fill:#6b7378}
html body main .interference .if-hint{margin:8px 2px 0;font-size:12px;color:#6b7378}
html body main .interference .if-toggles{display:grid;gap:6px;margin:0 0 14px;font-size:14px}
html body main .interference .if-toggles label{display:flex;gap:8px;align-items:center;cursor:pointer}
html body main .interference .if-toggles input{width:18px;height:18px;accent-color:#15191c}
html body main .interference .if-toggles input:disabled+span{opacity:.45}
html body main .interference .if-result-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
html body main .interference #if-listen{border:1px solid currentColor;background:transparent;color:inherit;border-radius:999px;min-height:30px;padding:3px 12px;font-size:12px;cursor:pointer}
html body main .interference #if-listen[aria-pressed=true]{background:#15191c;color:#fff;border-color:#15191c}
html body main .interference #if-scope{display:block;width:100%;height:64px;border-radius:8px;margin:4px 0}
html body main .interference .if-result[data-level=reinforced]{background:#eaf2fa;border-color:#b7cfe6;color:#123f66}
html body main .interference .if-plan{margin-top:22px;padding-top:18px;border-top:1px solid #e1e5e7}
html body main .interference .if-plan-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body main .interference .if-plan h3{margin:0;font-size:20px;letter-spacing:-.3px}
html body main .interference #if-plan-done{font-size:12px;font-weight:600;color:#17502f;background:#eef6f1;border:1px solid #b9dcc6;border-radius:999px;padding:3px 10px}
html body main .interference .if-plan>p{margin:6px 0 12px;color:#4b5258;max-width:760px;line-height:1.55}
html body main .interference .if-plan-body{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:20px;align-items:center}
html body main .interference #if-plan-map svg{width:100%;height:auto;display:block;background:#fff;border:1px solid #e6eaec;border-radius:10px}
html body main .interference .if-town{cursor:pointer;outline:none}
html body main .interference .if-town:focus-visible circle{stroke:#15191c;stroke-width:4}
html body main .interference .if-town text{font:700 15px Inter,Arial,sans-serif}
html body main .interference .if-town .if-town-name{font:500 12px Inter,Arial,sans-serif;fill:#5f686e}
html body main .interference #if-plan-status{font-size:15px;font-weight:600;margin:0 0 10px;color:#7d2418}
html body main .interference #if-plan-status[data-solved=true]{color:#17502f}
html body main .interference #if-plan-reset{border:1px solid #d5dbde;background:#fff;border-radius:999px;min-height:34px;padding:4px 14px;cursor:pointer}
@media(max-width:860px){html body main .interference .if-plan-body{grid-template-columns:1fr}}
@media(max-width:640px){html body main .interference .if-scene .if-map text{font-size:19px}html body main .interference .if-scene .if-map .if-safe{font-size:17px}}

/* Shared frame uses the same font stack as the other labs and the main site. */
html body .site-header,html body .product-rail,html body footer.site-footer{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
