:root{--ink:#070707;--panel:#101010;--panel-2:#17130e;--line:#4e3822;--muted:#aaa49a;--paper:#f8f6f1;--amber:#f5a623;--amber-bright:#ffb13b;--focus:#ffd27a}
*{box-sizing:border-box}
html{color-scheme:dark;scroll-behavior:smooth}
body.applications-page{margin:0;min-height:100vh;background:radial-gradient(circle at 12% 0,rgba(245,166,35,.11),transparent 28%),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),#060606;background-size:auto,96px 100%;color:var(--paper);font-family:"Aptos","Segoe UI",Arial,sans-serif}
a{color:inherit}
.applications-shell{max-width:1500px;margin:auto;padding:22px 28px 42px}
.skip-link{position:fixed;z-index:2000;top:10px;left:10px;padding:10px 14px;color:#000;background:var(--focus);transform:translateY(-200%)}
.skip-link:focus{transform:none}
.applications-header{display:flex;align-items:center;gap:28px;margin-bottom:18px;padding:16px 18px;border:1px solid var(--line);border-top:4px solid var(--amber);border-radius:10px;background:linear-gradient(115deg,#080808,#171108 60%,#0b0b0b);box-shadow:0 14px 44px #0008}
.brand-lockup{display:flex;align-items:center;gap:18px}
.brand-lockup img{width:132px;height:84px;object-fit:cover;padding-right:16px;border-right:1px solid #4b321b}
.eyebrow,.section-kicker{margin:0 0 6px;color:var(--amber-bright);font:800 11px/1.25 "Courier New",monospace;letter-spacing:.15em;text-transform:uppercase}
.applications-header h1{margin:0;font-size:clamp(28px,3vw,47px);line-height:1.02;letter-spacing:-.045em}
.header-deck{max-width:860px;margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.map-panel,.records-panel{margin-top:18px;padding:20px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(145deg,rgba(22,17,11,.97),rgba(8,8,8,.98));box-shadow:0 16px 38px #0008}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.section-heading h2{margin:0;color:#fff;font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}
.section-heading>p{margin:0;color:var(--amber-bright);font:800 11px/1.3 "Courier New",monospace;letter-spacing:.05em;text-transform:uppercase}
#map{position:relative;z-index:1;width:100%;height:520px;overflow:hidden;border:2px solid #6b4622;border-radius:8px;background:#13100c}
.map-fallback{padding:12px;border-left:4px solid var(--amber);color:#fff;background:#1b1208}
.map-method{margin:12px 2px 0;color:var(--muted);font-size:11px;line-height:1.55}
.table-scroll{overflow-x:auto;border:2px solid #6b4622;border-radius:8px;background:#090705}
.workbook-table{width:100%;min-width:1320px;border-collapse:separate;border-spacing:0}
.workbook-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.workbook-table thead th{position:sticky;z-index:2;top:0;padding:17px 15px;color:#fff;background:linear-gradient(180deg,#2b1b0c,#171009);font-size:14px;font-weight:900;line-height:1.25;text-align:left;border-bottom:3px solid var(--amber);white-space:nowrap}
.workbook-table tbody td{padding:17px 15px;color:#ddd7ce;font-size:13px;line-height:1.45;vertical-align:top;border-bottom:2px solid #4f3820;background:#0b0a08}
.workbook-table tbody tr:nth-child(even) td{background:#15100b}
.workbook-table tbody tr:hover td{background:#211508}
.workbook-table th+th,.workbook-table td+td{border-left:1px solid #594127}
.workbook-table tbody tr:last-child td{border-bottom:0}
.workbook-table td:first-child{min-width:190px;color:#fff;font-size:15px;font-weight:850}
.workbook-table td:nth-child(2){min-width:230px}
.workbook-table td:nth-child(3){min-width:200px}
.workbook-table td:nth-child(4){min-width:160px}
.workbook-table td:nth-child(5){min-width:300px}
.workbook-table td:nth-child(6){min-width:260px}
.workbook-table td strong{color:#fff;font-weight:800}
.workbook-table td a{color:var(--amber-bright);font-weight:750;overflow-wrap:anywhere;text-decoration:none}
.workbook-table td a:hover,.workbook-table td a:focus-visible{text-decoration:underline;outline:2px solid var(--focus);outline-offset:2px}
.applications-shell>footer{display:flex;justify-content:space-between;gap:20px;padding:22px 3px 0;color:#817970;font-size:10px}
.applications-shell>footer p{margin:0}
.applications-shell>footer strong{color:#bdb6ac}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#17110a;background:#f8f6f1}
.leaflet-popup-content{font-family:"Aptos","Segoe UI",Arial,sans-serif}
@media(max-width:720px){.applications-shell{padding:14px}.applications-header{align-items:flex-start}.brand-lockup{align-items:flex-start}.brand-lockup img{width:92px;height:66px;padding-right:10px}.header-deck{font-size:12px}.section-heading{align-items:flex-start;flex-direction:column}.map-panel,.records-panel{padding:14px}.map-panel{margin-top:14px}#map{height:410px}.applications-shell>footer{flex-direction:column}.workbook-table thead th{font-size:13px}.workbook-table tbody td{font-size:12px}}
@media(max-width:430px){.brand-lockup{display:block}.brand-lockup img{margin-bottom:12px;border-right:0}.applications-header h1{font-size:32px}#map{height:360px}}
@media print{.dashboard-nav{display:none}.applications-page{color:#000;background:#fff}.applications-header,.map-panel,.records-panel{color:#000;background:#fff;box-shadow:none}.workbook-table thead th,.workbook-table tbody td{color:#000;background:#fff}}
