.explore-directory .section-page-hero{background:transparent!important;border:0;box-shadow:none;padding:24px 0}.explore-directory .section-page-hero h1{font-size:clamp(2rem,4.6vw,3.5rem);line-height:1.12;max-width:900px}.explore-kicker{letter-spacing:.18em;font:12px/1.5 ui-monospace,monospace;color:#a5dcca}.explore-nav{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.explore-nav a,.explore-action{display:inline-block;border:1px solid #7caba4;border-radius:9px;background:rgba(10,25,28,.7);padding:10px 14px;text-decoration:none;color:#d9fff5}.explore-nav a[aria-current]{border-color:#a7f6d8;background:rgba(37,77,66,.85)}.explore-panel{min-width:0;padding:clamp(16px,3vw,26px);margin:0 0 20px;background:rgba(7,15,23,.65);border:1px solid rgba(140,180,187,.4);border-radius:16px;box-sizing:border-box;overflow-wrap:anywhere;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.explore-panel h2{font-size:1.35rem;margin:0 0 12px}.explore-panel h3{font-size:1.06rem}.explore-panel p,.explore-panel li{line-height:1.65}.explore-panel li{margin:8px 0}.explore-panel a,.explore-footer a{color:#b9eddf}.explore-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.explore-note,.explore-footer{color:#c2d1db;font-size:.86rem;line-height:1.6}.explore-footer{padding:20px 0 75px}.explore-clocks{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px}.explore-clocks>div{border-left:3px solid #94d8c3;background:rgba(7,15,23,.6);padding:15px 18px}.explore-clocks span,.explore-metrics article>span{display:block;color:#adbdc8;letter-spacing:.12em;font-size:.68rem}.explore-clocks strong{display:block;font:clamp(.9rem,2vw,1.3rem)/1.6 ui-monospace,monospace}.explore-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.explore-metrics article{border:1px solid #42615d;border-radius:12px;padding:16px;background:rgba(7,15,23,.55)}.explore-metrics strong{font:2.5rem/1.5 ui-monospace,monospace;color:#b3f0da}.explore-metrics small{color:#c7d4df}.explore-metrics p{font-size:.85rem}.explore-form{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0}.explore-form>label{flex:1 1 160px}.explore-directory main label{display:grid;gap:8px;font-size:.9rem}.explore-directory main :is(input,select){box-sizing:border-box;width:100%;min-width:0;border-radius:8px;border:1px solid #66818c;background:#101d28;color:#edf7fd;padding:11px;font:inherit}.explore-directory main button{border:1px solid #85ada9;border-radius:8px;background:#233e42;color:#edf7fd;padding:11px 15px;font:inherit;cursor:pointer}.explore-directory main button:disabled{opacity:.5;cursor:default}.explore-directory main :is(a,button,input,select,summary):focus-visible{outline:3px solid #bce8ff;outline-offset:3px}.explore-directory [hidden]{display:none!important}.explore-actions{display:flex;gap:10px;flex-wrap:wrap}.explore-inset{background:rgba(1,8,15,.5);border-left:3px solid #87c6bc;padding:14px;margin:15px 0;line-height:1.7}.explore-result{display:block;font-size:1.75rem;color:#b3efd5}.morse-code{font:1.05rem/1.8 ui-monospace,monospace;letter-spacing:.12em}.morse-reference{display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:10px;margin-top:15px;font-family:ui-monospace,monospace}.earth-map{width:100%;height:auto;display:block;background:#0a1c2c;border:1px solid #47697a;border-radius:12px;margin:14px 0}.explore-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.explore-gallery figure{margin:0;min-width:0;background:rgba(1,8,15,.45);border-radius:10px;overflow:hidden}.explore-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.explore-gallery figcaption{padding:12px;font-size:.87rem;line-height:1.5}.explore-gallery small{display:block;margin-top:6px;color:#bfccd6}.explore-table-wrap{overflow-x:auto}.explore-panel table{width:100%;border-collapse:collapse;font-size:.85rem}.explore-panel th,.explore-panel td{text-align:left;padding:10px;border-bottom:1px solid #3a5365;white-space:nowrap}.explore-panel th{color:#b8e4d3}.explore-error{color:#ffcea4}#kp-chart{display:block;width:100%;max-height:180px;margin:15px 0}details summary{cursor:pointer;padding:12px 0}body.explore-directory .explore-grid .section-card{height:auto}.explore-directory main{min-width:0}
@media(max-width:760px){.explore-grid,.explore-gallery{grid-template-columns:1fr}.explore-clocks{grid-template-columns:1fr}.explore-metrics{grid-template-columns:1fr}.explore-directory .section-page-hero h1{font-size:2.15rem}.explore-panel{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.explore-directory *{scroll-behavior:auto}}
/* Learning controls and calculated answers must remain legible in every theme. */
.explore-directory main .explore-answer{display:block;position:relative;background:#101e2b!important;color:#f3f8fc!important;border:1px solid #85bcba!important;border-left:4px solid #9be8cb!important;border-radius:10px;padding:20px!important;margin:22px 0!important;line-height:1.75;box-shadow:0 4px 18px #0004;text-shadow:none!important}
.explore-directory main .explore-answer :is(p,strong,small){color:inherit!important;text-shadow:none!important}
.explore-directory main #grid-result{font:700 clamp(1.6rem,4vw,2.2rem)/1.5 ui-monospace,monospace!important;letter-spacing:.06em}
.explore-directory main .explore-answer[data-state="incorrect"]{border-left-color:#ffc690!important}.explore-directory main .explore-answer[data-state="correct"]{border-left-color:#94e5b7!important}
.explore-directory .explore-actions{gap:16px;padding:6px 0;margin:12px 0}.explore-directory .explore-form{gap:20px;margin:22px 0}.form-actions,.quiz-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:16px;margin:24px 0 10px;padding-top:14px}.quiz-actions{border-top:1px solid #6d8c9b55;padding-top:22px;margin-top:26px}.quiz-fieldset{min-width:0;border:0;margin:20px 0 0;padding:0}.quiz-fieldset legend{font-size:1.1rem;font-weight:600;line-height:1.6;padding:0 0 20px;color:#edf7fc}.quiz-options{display:flex;flex-wrap:wrap;gap:16px}.explore-directory main .quiz-option{display:flex;flex:1 1 170px;align-items:center;gap:12px;background:#142c3e;border:1px solid #83a8b9;border-radius:10px;padding:18px;cursor:pointer;color:#f3f8fc!important;line-height:1.5}.explore-directory main .quiz-option:has(input:checked){background:#214e49;border-color:#b2f6d6;box-shadow:inset 0 0 0 1px #b2f6d6}.explore-directory main .quiz-option input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#a6e7cc}.explore-directory main #quiz-feedback strong{display:block;font-size:1.15rem;margin-bottom:8px}.frequency-pager{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px}.frequency-name{font-weight:700}.channel-controls{display:flex;gap:8px;flex-wrap:wrap}.explore-directory main .channel-controls button{padding:7px 10px;font-size:.8rem}.explore-directory main .file-label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.file-label input{max-width:260px}#channel-list:empty::before{content:"Your channel plan is empty."}.explore-directory main .explore-panel:hover{transform:none}
@media(max-width:600px){.quiz-options{flex-direction:column}.explore-directory main .quiz-option{flex-basis:auto}.form-actions button,.quiz-actions button{min-height:48px}.frequency-pager{flex-wrap:wrap}}

/* Frequency listings need the available page width rather than a narrow theme column. */
body.explore-directory[data-explore="frequencies"] main.container.section-page {
  width: 100% !important;
  max-width: 1440px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.explore-directory[data-explore="frequencies"] #frequency-results .frequency-table-wrap {
  overflow: visible;
  max-width: 100%;
}
body.explore-directory[data-explore="frequencies"] #frequency-results table {
  width: 100%;
  table-layout: fixed;
}
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td) {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding: 12px 8px;
}
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(1) { width: 25%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(2) { width: 12%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(3) { width: 12%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(4) { width: 8%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(5) { width: 17%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(6) { width: 14%; }
body.explore-directory[data-explore="frequencies"] #frequency-results :is(th,td):nth-child(7) { width: 12%; }
body.explore-directory[data-explore="frequencies"] #frequency-results button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  padding: 10px;
  line-height: 1.4;
}
/* On phones/tablets, show every field in labelled records instead of side scrolling. */
@media(max-width:900px) {
  body.explore-directory[data-explore="frequencies"] #frequency-results table { display: block; }
  body.explore-directory[data-explore="frequencies"] #frequency-results thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body.explore-directory[data-explore="frequencies"] #frequency-results tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr));
    gap: 16px;
  }
  body.explore-directory[data-explore="frequencies"] #frequency-results tr {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px 14px;
    border: 1px solid #65828d;
    border-radius: 12px;
    padding: 12px;
    background: rgba(8,20,30,.85);
  }
  body.explore-directory[data-explore="frequencies"] #frequency-results td:nth-child(n) {
    display: block;
    width: auto;
    min-width: 0;
    border: 0;
    padding: 8px 0;
  }
  body.explore-directory[data-explore="frequencies"] #frequency-results :is(td:first-child,td:last-child) { grid-column: 1 / -1; }
  body.explore-directory[data-explore="frequencies"] #frequency-results td::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    color: #b9e5d5;
    margin-bottom: 5px;
  }
}
.gmrs-channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:22px}.gmrs-channel{padding:18px;border:1px solid #638b78;border-radius:12px;background:rgba(8,22,31,.9)}.gmrs-channel h3{margin:0 0 10px;color:#b8e8ca}.gmrs-channel p{margin:7px 0;font-size:.88rem}.gmrs-channel small{color:#c5d5df}.explore-directory main .gmrs-check{display:flex;align-items:center;gap:12px;line-height:1.6;margin:16px 0}.explore-directory main .gmrs-check input{width:20px;height:20px;flex:0 0 20px;accent-color:#9ce3bd}.export-preview{padding:18px;background:#08151f;color:#e4f3eb;border:1px solid #728e9b;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:380px;overflow-y:auto;font:.8rem/1.6 ui-monospace,monospace}.explore-directory #template-mapping label{flex:1 1 200px}
