/* bATCO Hub — "dark aviation" layer: hero, today card, quick tiles, month calendar and bottom nav.
 * Loaded last; keeps the existing rules (short codes only, holiday ★ by the date, no legend). */
:root{--teal:#3ee6c8;--teal-soft:rgba(62,230,200,.12);--teal-line:rgba(62,230,200,.32);--glass:linear-gradient(160deg,rgba(18,52,72,.78),rgba(7,28,42,.86));
  --chip-day:#17a9dc;--chip-night:#e5505f;--chip-standby:#e39a2d;--chip-leave:#e3901f;--chip-active:#7d63d6;--chip-rest:#4f6b8f}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
svg:not(.icon-sprite){width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- code chips (shared by home, strip and calendar) ---------- */
.code-chip{display:inline-grid;place-items:center;min-width:44px;height:24px;padding:0 8px;border-radius:7px;font-size:11px;font-weight:850;letter-spacing:.02em;color:#fff;background:var(--chip-day);box-shadow:0 3px 10px rgba(0,0,0,.28);white-space:nowrap}
.code-chip.night{background:var(--chip-night)}.code-chip.standby{background:var(--chip-standby)}.code-chip.leave{background:var(--chip-leave)}
.code-chip.active-rest{background:var(--chip-active)}.code-chip.rest{background:var(--chip-rest)}.code-chip.empty{background:rgba(255,255,255,.08);color:var(--muted);box-shadow:none}
.code-chip.large{min-width:76px;height:42px;font-size:20px;border-radius:10px}
.calendar-tag.standby{background:var(--chip-standby)}
.calendar-cell.has-standby:not(.selected){box-shadow:inset 6px 0 var(--chip-standby)}

/* ---------- top bar: brand on phones, bell with teal dot ---------- */
.mobile-brand{display:none;align-items:center;gap:10px;color:var(--white);text-decoration:none;min-width:0}
.mobile-brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--teal);font-size:26px;background:radial-gradient(circle at 50% 30%,rgba(62,230,200,.2),transparent 70%)}
.mobile-brand b{display:block;font-size:19px;font-weight:800;letter-spacing:-.01em;line-height:1.05}.mobile-brand em{font-style:normal;color:var(--teal)}
.mobile-brand small{display:block;font-size:10px;color:#9fb8c8;letter-spacing:.04em;margin-top:2px;white-space:nowrap}
.bell-button{display:grid;place-items:center;font-size:22px}
.notify-dot:after{background:var(--teal)!important;box-shadow:0 0 8px var(--teal);right:5px!important;top:4px!important;width:8px!important;height:8px!important}

/* ---------- home hero (operational picture) ---------- */
.home-hero{position:relative;margin:0 0 18px;border-radius:20px;overflow:hidden;border:1px solid var(--teal-line);background:#04131f;box-shadow:0 24px 60px rgba(0,8,16,.45)}
.home-hero .radar-stage{height:360px;background:radial-gradient(ellipse at 30% 70%,rgba(62,230,200,.12),transparent 45%),radial-gradient(ellipse at 80% 10%,rgba(23,169,220,.18),transparent 40%),linear-gradient(rgba(69,216,243,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(69,216,243,.035) 1px,transparent 1px),linear-gradient(170deg,#06192a,#041120 70%);background-size:auto,auto,40px 40px,40px 40px,auto}
.home-hero .radar-stage:before,.home-hero .radar-stage:after{display:none}
  radial-gradient(circle at 18% 64%,rgba(62,230,200,.5) 0 2px,transparent 3px),radial-gradient(circle at 44% 52%,rgba(62,230,200,.5) 0 2px,transparent 3px),radial-gradient(circle at 70% 40%,rgba(62,230,200,.5) 0 2px,transparent 3px),radial-gradient(circle at 86% 30%,rgba(62,230,200,.45) 0 2px,transparent 3px);
  clip-path:polygon(4% 38%,14% 22%,30% 26%,42% 14%,58% 18%,70% 8%,86% 16%,96% 34%,92% 58%,98% 76%,80% 92%,58% 86%,40% 96%,20% 88%,8% 70%);border:1px solid rgba(62,230,200,.25);box-shadow:inset 0 0 0 1px rgba(62,230,200,.18),inset 0 0 60px rgba(62,230,200,.06);background-color:rgba(10,52,70,.35)}
.home-hero .static-radar-target,.home-hero .live-aircraft{color:#fff;font-size:11px;filter:drop-shadow(0 0 6px rgba(62,230,200,.6))}
.home-hero .static-radar-target b,.home-hero .static-radar-target small{display:block;background:rgba(5,22,34,.82);border:1px solid rgba(160,230,240,.45);padding:0 6px;font-size:10px;color:#e8fbff}
.home-hero .static-radar-target b{border-radius:6px 6px 0 0;border-bottom:0;padding-top:3px}.home-hero .static-radar-target small{border-radius:0 0 6px 6px;border-top:0;padding-bottom:3px;color:#bfe9f2}
.home-hero .static-radar-target i{font-size:22px;color:#fff}
.home-hero-copy{position:absolute!important;left:22px;top:22px;right:22px;margin:0!important;display:block!important;padding-left:14px;border-left:3px solid var(--teal);z-index:2}
.home-hero-copy .eyebrow{color:var(--teal)!important;margin-bottom:4px}
.home-hero-copy h1{font-size:30px!important;margin:0 0 6px!important;color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.6)}
.home-hero-copy p:not(.eyebrow){color:#cfe3ec!important;font-size:14px!important;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.home-hero .radar-source-badge{position:absolute;right:16px;bottom:14px;z-index:2;background:rgba(4,20,32,.75)}
.home-hero .operational-picture-foot{background:rgba(4,17,28,.92);border-top-color:var(--teal-line);color:#8fa9b8}

/* ---------- today card ---------- */
.today-card{padding:0!important;border-radius:18px!important;border-color:var(--teal-line)!important;background:var(--glass)!important;overflow:hidden;margin-bottom:16px}
.today-head,.glance-head{width:100%;display:flex;align-items:center;gap:12px;padding:16px 18px;border:0;background:transparent;color:var(--white);text-align:left;cursor:pointer}
.today-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--teal);font-size:24px;background:var(--teal-soft);flex:none}
.today-head>span:nth-child(2){flex:1;min-width:0}.today-head b{display:block;font-size:18px;white-space:nowrap}.today-head small{display:block;color:var(--muted);font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.confirmed-pill{flex:none;font-size:11px;font-weight:700;color:var(--teal);border:1px solid var(--teal-line);background:var(--teal-soft);padding:6px 10px;border-radius:20px}
.chevron{color:var(--teal);font-size:22px}
.today-duty{margin:0 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:14px 16px;border-radius:14px;background:rgba(3,18,29,.55);border-left:3px solid var(--teal)}
.today-code{font-size:34px;font-weight:850;min-width:46px;text-align:center;color:#7fd7ff}
.today-duty.leave .today-code,.today-duty.standby .today-code{color:#ffc37a}.today-duty.night .today-code{color:#ff8a95}.today-duty.active-rest .today-code{color:#b9a6ff}.today-duty.rest .today-code{color:#a9c1e1}
.today-duty b{display:block;font-size:20px}.today-duty small{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.today-unit{display:flex;align-items:center;gap:8px;color:#d9eef6;font-weight:700;font-size:14px}.today-unit svg{font-size:26px;color:var(--teal)}
.today-split{display:grid;grid-template-columns:1fr 1fr;margin-top:10px;border-top:1px solid var(--border)}
.today-split>div{display:flex;align-items:center;gap:12px;padding:14px 18px}.today-split>div+div{border-left:1px solid var(--border)}
.today-split svg{font-size:26px;color:var(--teal)}.today-split small{display:block;color:var(--muted);font-size:12px}.today-split b{display:block;font-size:14px;margin-top:3px}
.today-split p{margin:0;min-width:0}
.today-signed-out{display:flex;align-items:center;gap:14px;padding:18px}.today-signed-out p{flex:1;margin:0}.today-signed-out b{display:block;font-size:17px}.today-signed-out small{color:var(--muted);font-size:12px}
.today-card>.muted{padding:18px;margin:0}

/* ---------- month glance strip ---------- */
.month-glance{padding:0!important;border-radius:18px!important;border-color:var(--teal-line)!important;background:var(--glass)!important;margin-bottom:18px}
.glance-head{border-bottom:1px solid var(--border)}.glance-head b{font-size:17px;white-space:nowrap}.glance-head span{color:var(--muted);font-size:14px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.glance-strip{display:flex;gap:8px;padding:14px;overflow-x:auto;scrollbar-width:none}.glance-strip::-webkit-scrollbar{display:none}
.glance-day{flex:none;display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 6px;min-width:64px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--white);cursor:pointer}
.glance-day b{font-size:16px}.glance-day.today{border-color:var(--teal);box-shadow:0 0 16px rgba(62,230,200,.3),inset 0 0 0 1px rgba(62,230,200,.4);color:var(--teal)}
.glance-more{flex:none;border:0;background:transparent;color:var(--teal);font-size:26px;padding:0 8px;cursor:pointer}

.exchange-summary-card{border-radius:16px!important}
#dashboard .dashboard-grid{grid-template-columns:1fr 1.4fr}

/* ---------- roster page hero ---------- */
.page-hero{position:relative;overflow:hidden;border-radius:20px;margin-bottom:18px;min-height:250px;display:flex;align-items:flex-end;padding:24px;border:1px solid var(--teal-line);
  background:linear-gradient(180deg,rgba(4,16,27,0) 35%,rgba(4,16,27,.92) 92%),radial-gradient(ellipse at 78% 62%,rgba(255,150,90,.55),transparent 36%),linear-gradient(180deg,#0b2740 0%,#2b4a6d 46%,#c0745c 70%,#1a2a3c 74%,#081826 100%)}
.page-hero .hero-row{position:relative;z-index:2;width:100%;margin:0!important;align-items:flex-end}
.page-hero h1{color:#fff!important;font-size:34px!important}.page-hero p:not(.eyebrow){color:#d3e4ec!important}.page-hero .eyebrow{color:var(--teal)!important}
.page-hero .primary,.home-hero .primary{background:linear-gradient(135deg,#55f0d2,#25c3b0);color:#052a2a;box-shadow:0 10px 26px rgba(62,230,200,.3);border-radius:14px;padding:13px 18px;font-size:14px;display:inline-flex;align-items:center;gap:8px}
.page-hero .primary svg{font-size:20px;stroke-width:2}
.hero-art{position:absolute;inset:0;pointer-events:none}
.art-radar{position:absolute;left:-60px;top:-70px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(62,230,200,.35);background:repeating-radial-gradient(circle,transparent 0 46px,rgba(62,230,200,.18) 47px 48px),conic-gradient(from 20deg,rgba(62,230,200,.35),transparent 40deg);opacity:.8}
.art-tower{position:absolute;right:12%;bottom:22%;width:46px;height:150px;background:linear-gradient(90deg,#0b1a26,#1a3446 50%,#0b1a26);clip-path:polygon(30% 100%,34% 30%,8% 26%,0 10%,100% 10%,92% 26%,66% 30%,70% 100%)}
.art-tower:after{content:"";position:absolute;left:4%;right:4%;top:12%;height:12%;background:repeating-linear-gradient(90deg,#ffd58a 0 5px,#2b4155 5px 8px);opacity:.85}
.art-plane{position:absolute;right:28%;top:16%;color:#e9f6ff;font-size:26px;transform:rotate(-12deg);text-shadow:0 0 12px rgba(255,255,255,.5)}

/* ---------- month calendar ---------- */
.monthly-roster{border-radius:18px!important;border-color:var(--teal-line)!important;background:var(--glass)!important;overflow:hidden}
.month-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--border);background:rgba(3,18,29,.4)}
.month-stats span{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:14px 16px}
.month-stats span+span{border-left:1px solid var(--border)}
.month-stats svg{grid-row:1/3;font-size:28px;color:var(--teal)}.month-stats small{color:var(--muted);font-size:12px}.month-stats b{font-size:20px}
.month-toolbar{background:transparent!important;border-bottom:1px solid var(--border)!important;box-shadow:none!important}
.month-nav{width:44px;height:40px;border-radius:12px!important;border:1px solid var(--teal-line)!important;background:rgba(62,230,200,.06)!important;color:#e9fbff!important}
.month-today{border-color:var(--teal-line)!important;background:var(--teal-soft)!important;color:var(--teal)!important;border-radius:10px!important}
.calendar-weekdays{background:rgba(3,18,29,.6)!important;border-bottom:1px solid var(--teal-line)!important}
.calendar-weekdays span{text-shadow:none!important;letter-spacing:.08em!important;border-right:1px solid var(--border)!important;color:#e6f3f8!important}
.calendar-weekdays:not(.week-sunday) span:nth-last-child(-n+2),.calendar-weekdays.week-sunday span:first-child,.calendar-weekdays.week-sunday span:last-child{color:var(--teal)!important;background:rgba(62,230,200,.1)!important}
.calendar-weekdays.week-sunday span:nth-last-child(2){color:#e6f3f8!important;background:transparent!important}
.month-grid{background:rgba(119,180,215,.14)!important;gap:1px!important;padding:0!important;border-bottom:1px solid var(--border)!important}
.calendar-cell{background:#08202f!important}
.calendar-cell:nth-child(n+8):nth-child(-n+14),.calendar-cell:nth-child(n+22):nth-child(-n+28),.calendar-cell:nth-child(n+36):nth-child(-n+42){background-color:#08202f!important}
.calendar-cell.weekend:not(.outside){background-color:#0a2535!important;box-shadow:none}
.calendar-cell.weekend .calendar-number{color:inherit;background:transparent;border-color:transparent}
.calendar-cell[class*="has-"]:not(.selected){box-shadow:none!important}
.calendar-cell:hover{background-color:#0f3346!important;box-shadow:inset 0 0 0 1px var(--teal-line)}
.calendar-cell.outside{background:repeating-linear-gradient(135deg,#061722,#061722 8px,#081c29 8px,#081c29 16px)!important}
.calendar-cell.today{box-shadow:inset 0 0 0 2px var(--teal),0 0 18px rgba(62,230,200,.35)!important;border-radius:6px;z-index:1}
.calendar-cell.today .calendar-number{background:transparent!important;color:#fff!important;width:auto!important;height:auto!important;margin:0!important}
.calendar-cell.selected{box-shadow:inset 0 0 0 2px #8be9ff!important;background-color:#103447!important}
.calendar-cell.today.selected{box-shadow:inset 0 0 0 2px var(--teal),0 0 22px rgba(62,230,200,.45)!important}
.calendar-number{width:auto!important;height:auto!important;background:transparent!important;border:0!important;text-shadow:none!important;font-size:15px!important;font-weight:750!important;color:inherit;display:block!important}
.calendar-tag{border-radius:7px!important;box-shadow:0 3px 8px rgba(0,0,0,.3)!important}
.calendar-tag.day{background:var(--chip-day)!important}.calendar-tag.night{background:var(--chip-night)!important}.calendar-tag.leave{background:var(--chip-leave)!important}
.calendar-tag.active-rest{background:var(--chip-active)!important}.calendar-tag.rest{background:var(--chip-rest)!important}.calendar-tag.standby{background:var(--chip-standby)!important}
.calendar-holiday i{color:#ffcc4d;text-shadow:0 0 8px rgba(255,204,77,.6)}
.today-next{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}
.today-next:empty{display:none}
.mini-card{border:1px solid var(--teal-line);border-radius:16px;background:rgba(3,18,29,.5);padding:14px 16px;min-width:0}
.mini-card header{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--border);margin-bottom:12px}
.mini-card header svg{font-size:22px;color:var(--teal)}.mini-card header b{font-size:15px}
.mini-body{display:flex;align-items:center;gap:14px}.mini-body p{margin:0;flex:1;min-width:0}.mini-body b{display:block;font-size:16px}.mini-body small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.mini-art{font-size:40px;color:rgba(62,230,200,.55)}
.next-lines{display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-items:center}
.next-lines span{display:flex;align-items:center;gap:10px;font-size:14px}.next-lines span svg{font-size:19px;color:var(--teal)}
.next-lines span:last-child{grid-column:1/-1}

/* ---------- profile: start screen ---------- */
.start-screen-card{grid-column:1/-1}
.start-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:6px}
.start-choice{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.03);color:var(--white);cursor:pointer;min-width:0}
.start-choice svg{font-size:26px;color:var(--muted)}.start-choice b{font-size:12px;text-align:center;font-weight:650}
.start-choice.active{border-color:var(--teal);background:var(--teal-soft);box-shadow:0 0 18px rgba(62,230,200,.18)}.start-choice.active svg{color:var(--teal)}
.start-choice:disabled{opacity:.5;cursor:not-allowed}

/* ---------- bottom navigation ---------- */
.mobile-nav-item svg{font-size:24px;display:block;margin:0 auto 4px}
.mobile-nav-item.active{color:var(--teal)!important}
.mobile-nav-item.active svg{color:var(--teal)}

@media (max-width:1100px){#dashboard .dashboard-grid{grid-template-columns:1fr}}
@media (max-width:760px){
  .mobile-brand{display:flex}.context{display:none!important}.menu-toggle{display:none!important}
  .top-actions .avatar{width:40px;height:40px;font-size:12px;border:1px solid var(--teal-line)}
  .topbar{background:rgba(5,20,32,.94)!important;border-bottom-color:var(--teal-line)!important}
  .content{padding-top:16px!important}
  .home-hero{border-radius:18px;margin-left:-4px;margin-right:-4px}
  .home-hero .radar-stage{height:330px}
  .home-hero-copy{left:16px;top:18px}.home-hero-copy h1{font-size:26px!important}.home-hero-copy p:not(.eyebrow){font-size:13px!important}
  .today-head{padding:14px}.today-head b{font-size:17px}.confirmed-pill{font-size:10px;padding:5px 8px}
  .today-duty{margin:0 10px;gap:12px;padding:12px}.today-code{font-size:30px;min-width:38px}.today-duty b{font-size:18px}.today-unit{font-size:12px}.today-unit svg{font-size:22px}
  .today-split>div{padding:12px;gap:9px}.today-split svg{font-size:22px}.today-split b{font-size:13px}
  .page-hero{min-height:230px;padding:18px;border-radius:18px;margin-left:-4px;margin-right:-4px}
  .page-hero .hero-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .page-hero h1{font-size:28px!important}.page-hero .primary{padding:11px 13px;font-size:13px;border-radius:12px}
  .art-radar{width:220px;height:220px;left:-50px;top:-60px}.art-tower{height:120px;width:38px;right:8%;bottom:34%}
  .month-stats span{grid-template-columns:1fr;justify-items:center;text-align:center;padding:10px 4px;row-gap:2px}
  .month-stats svg{grid-row:auto;font-size:22px}.month-stats small{font-size:10px}.month-stats b{font-size:17px}
  .monthly-roster{width:calc(100% + 8px)!important;margin-left:-4px!important;margin-right:-4px!important;border:1px solid var(--teal-line)!important;border-radius:16px!important}
  .calendar-cell{min-height:64px}.calendar-number{font-size:13px!important}
  .calendar-cell.today{border-radius:4px}
  .today-next{grid-template-columns:1fr;padding:10px;gap:10px}
  .start-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mobile-nav{background:rgba(5,20,32,.96)!important;border-top:1px solid var(--teal-line)!important}
  .mobile-nav-item.active{background:var(--teal-soft)!important;border:1px solid var(--teal-line)!important;border-radius:16px!important}
}
@media (max-width:340px){.today-split{grid-template-columns:1fr}.today-split>div+div{border-left:0;border-top:1px solid var(--border)}}

/* ---------- light theme: keep the hero art dark, lighten the cards ---------- */
html[data-theme="light"]{--glass:linear-gradient(160deg,#ffffff,#f2f8fb);--teal:#0b9f8a;--teal-soft:rgba(11,159,138,.1);--teal-line:rgba(11,159,138,.3)}
html[data-theme="light"] .home-hero-copy .eyebrow,html[data-theme="light"] .page-hero .eyebrow{color:#55f0d2!important}
html[data-theme="light"] .home-hero .radar-center{color:#3ee6c8}
html[data-theme="light"] .today-duty{background:#eef6f9}
html[data-theme="light"] .today-code{color:#0b77a8}html[data-theme="light"] .today-duty.leave .today-code,html[data-theme="light"] .today-duty.standby .today-code{color:#c46d00}
html[data-theme="light"] .today-duty.night .today-code{color:#c43444}html[data-theme="light"] .today-unit{color:#10283b}
html[data-theme="light"] .mini-card,html[data-theme="light"] .month-stats{background:#f6fafc}
html[data-theme="light"] .calendar-weekdays{background:#e7f1f5!important}html[data-theme="light"] .calendar-weekdays span{color:#10283b!important}
html[data-theme="light"] .calendar-cell,html[data-theme="light"] .calendar-cell.weekend:not(.outside),html[data-theme="light"] .calendar-cell:nth-child(n){background-color:#fff!important;color:#10283b}
html[data-theme="light"] .calendar-cell.outside{background:repeating-linear-gradient(135deg,#eef3f6,#eef3f6 8px,#f6f9fb 8px,#f6f9fb 16px)!important}
html[data-theme="light"] .calendar-cell.today .calendar-number{color:#10283b!important}
html[data-theme="light"] .calendar-cell.selected{background-color:#e6f6f8!important}
html[data-theme="light"] .month-nav{color:#10283b!important}
html[data-theme="light"] .topbar{background:rgba(255,255,255,.94)!important}
html[data-theme="light"] .mobile-brand small{color:#5a7183}
html[data-theme="light"] .mobile-nav{background:rgba(255,255,255,.97)!important}
html[data-theme="light"] .month-toolbar h2{color:#10283b!important;text-shadow:none!important}

/* live traffic on the home hero: compact labels so ~80 targets stay readable */
.home-hero .live-aircraft i{font-size:13px;color:#fff}.home-hero .live-aircraft b{font-size:8px;color:#dff8ff}.home-hero .live-aircraft small{font-size:7px;color:#8fd9e6}
.home-hero .live-aircraft{opacity:.92}
.home-hero .radar-stage.live .home-hero-copy{background:linear-gradient(90deg,rgba(4,17,28,.82),rgba(4,17,28,.35) 80%,transparent);padding:6px 10px 8px 14px;border-radius:0 12px 12px 0}

/* ---------- realistic information radar: LBSR map, borders, 5 main airports, no sweep ---------- */
.home-hero .radar-stage{container-type:size;background:radial-gradient(ellipse at 40% 60%,rgba(20,90,110,.22),transparent 60%),#030e17}
.home-hero .radar-rings,.home-hero .radar-sweep,.home-hero .radar-center{display:none!important}
.scope{position:absolute;inset:0;display:grid;place-items:center}
.scope-map{position:relative;width:min(100cqw,calc(100cqh * 1.27));height:min(100cqh,calc(100cqw / 1.27))}
.scope-map svg.lbsr-map{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}
.lbsr-map .grid line{stroke:rgba(110,190,210,.09);stroke-width:1;vector-effect:non-scaling-stroke}
.lbsr-map .border{fill:rgba(40,120,140,.13);stroke:#4fd6e6;stroke-width:1.4;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px rgba(79,214,230,.45))}
.map-label{position:absolute;font-size:9px;letter-spacing:.18em;color:rgba(150,200,215,.45);font-weight:700;transform:translate(-50%,-50%);pointer-events:none}
.map-label.sea{left:88%;top:58%;writing-mode:vertical-rl;letter-spacing:.3em}.map-label.ro{left:42%;top:14%}.map-label.rs{left:5%;top:44%}
.map-label.mk{left:4%;top:84%}.map-label.gr{left:36%;top:95%}.map-label.tr{left:70%;top:88%}
.airport{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;color:#ffd27a;z-index:2;pointer-events:auto}
.airport svg{font-size:15px;filter:drop-shadow(0 0 5px rgba(255,210,122,.7))}
.airport b{font-size:9px;letter-spacing:.06em;color:#ffe6b0;background:rgba(3,14,23,.7);padding:0 3px;border-radius:3px;margin-top:1px}
.home-hero .static-radar-target,.home-hero .live-aircraft{transform:translate(-50%,-50%);z-index:3}
.static-radar-target i,.live-aircraft i{display:grid;place-items:center;transform:rotate(var(--track,0deg))!important}
.home-hero .static-radar-target i,.home-hero .live-aircraft i{font-size:16px!important;color:#fff}
.home-hero .live-aircraft i{font-size:13px!important}
.home-hero .static-radar-target i svg,.home-hero .live-aircraft i svg{fill:#f4fbff;stroke:none;filter:drop-shadow(0 0 4px rgba(62,230,200,.8))}
.home-hero-copy{max-width:min(560px,80%)}
.home-hero .radar-stage:not(.live) .home-hero-copy,.home-hero .radar-stage.live .home-hero-copy{background:linear-gradient(90deg,rgba(3,14,23,.85),rgba(3,14,23,.4) 85%,transparent);padding:6px 12px 8px 14px;border-radius:0 12px 12px 0}

/* ---------- "Изглед от кулата": photo hero for TWR colleagues (replaceable asset static/img/hero/tower-view.webp) ---------- */
.tower-cab{display:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,14,23,.72) 0%,rgba(3,14,23,.15) 42%,rgba(3,14,23,0) 70%,rgba(3,14,23,.45) 100%),url("/static/img/hero/tower-view.webp") 18% 60%/cover no-repeat}
.tower-view .tower-cab{display:block}
.tower-view .scope{display:none}
.tower-view .home-hero-copy{background:none!important}
@media (max-width:760px){.map-label{font-size:7px}.airport b{font-size:7.5px}.airport svg{font-size:12px}.tower-cab{background-position:12% 60%}}
@media (max-width:760px){.home-hero .radar-stage{height:360px}.home-hero-copy h1{font-size:23px!important}.home-hero-copy p:not(.eyebrow){font-size:12px!important}.home-hero-copy{top:12px;left:12px}}

/* ---------- full-bleed map + decluttered labels (positions computed in appearance.js) ---------- */
.scope{display:block}
.scope-map{position:absolute!important;inset:0;width:auto!important;height:auto!important}
.scope-map svg.lbsr-map{overflow:hidden}
.scope-map [data-lat]{position:absolute;transform:translate(-50%,-50%)}
.map-label{transform:translate(-50%,-50%)}.map-label.sea{writing-mode:vertical-rl}
.home-hero .live-aircraft{position:absolute;width:0;height:0;display:block;transform:none!important;z-index:3}
.home-hero .live-aircraft i{position:absolute;left:0;top:0;width:14px;height:14px;margin:-7px 0 0 -7px;font-size:14px!important}
.home-hero .live-aircraft.muted{opacity:.35}
.acft-label{position:absolute;display:flex;flex-direction:column;line-height:1.05;padding:1px 4px;border-radius:4px;background:rgba(3,14,23,.72);border:1px solid rgba(140,225,240,.35);white-space:nowrap;pointer-events:none}
.acft-label b{display:block!important;font-size:10px!important;color:#eafcff!important;letter-spacing:.02em}
.acft-label small{display:block!important;font-size:9px!important;color:#9fe3ef!important}
.label-r .acft-label{left:9px;top:0;transform:translateY(-50%)}.label-l .acft-label{right:9px;top:0;transform:translateY(-50%)}
.label-t .acft-label{left:0;bottom:9px;transform:translateX(-50%)}.label-b .acft-label{left:0;top:9px;transform:translateX(-50%)}
.home-hero-copy{z-index:4}
@media (max-width:760px){
  .home-hero .live-aircraft i{width:12px;height:12px;margin:-6px 0 0 -6px;font-size:12px!important}
  .acft-label{padding:0 3px}.acft-label b{font-size:8px!important}.acft-label small{font-size:7px!important}
  .home-hero .live-aircraft b,.home-hero .live-aircraft small{display:block}
}
html[data-theme="light"] .home-hero-copy h1{color:#fff!important}
@media (min-width:761px){.home-hero .radar-stage{height:clamp(360px,34vw,480px)}}

/* ---------- map layer: precipitation toggle ---------- */
.precip-layer{position:absolute;z-index:1;opacity:.72;pointer-events:none;image-rendering:auto;mix-blend-mode:screen}
.map-toggles{position:absolute;left:14px;bottom:14px;z-index:5;display:flex;gap:6px}
.map-toggles button{font-size:10px;font-weight:800;letter-spacing:.06em;padding:6px 10px;border-radius:20px;border:1px solid rgba(140,225,240,.35);background:rgba(3,14,23,.75);color:#a9c9d4;cursor:pointer}
.map-toggles button.active{color:#052a2a;background:var(--teal);border-color:var(--teal)}
.tower-view .map-toggles{display:none}
.airport.foreign{color:#c9d6de}.airport.foreign svg{filter:none;opacity:.8}.airport.foreign b{color:#d8e4ea}

/* iPhone-style paging between main screens (phones), driven by swipe-nav.js */
.content{position:relative}
.page.swipe-peek{display:block!important;position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));pointer-events:none;will-change:transform}
.swipe-dots{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:7px;padding:6px 9px;border-radius:12px;background:rgba(3,14,23,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;transition:opacity .25s;pointer-events:none;z-index:40}
.swipe-dots.visible{opacity:1}
.swipe-dots i{--on:0;width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,calc(.3 + .7 * var(--on)));transform:scale(calc(.85 + .25 * var(--on)))}
html[data-theme="light"] .swipe-dots{background:rgba(16,40,59,.35)}
@media (min-width:761px){.swipe-dots{display:none}}
/* home on-call (СД/СН): click the duty in the day detail to mark it activated */
button.detail-item.on-call-item{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border:1px dashed rgba(227,154,45,.45)}
button.detail-item.on-call-item:hover{border-color:var(--chip-standby)}
.detail-item.on-call-item.activated{border:1px solid var(--chip-standby);background:rgba(227,154,45,.12)}
.on-call-state{display:block;font-style:normal;font-size:11px;margin-top:4px;color:var(--muted)}
.on-call-state.active{color:#ffcf86;font-weight:700}
.calendar-tag.on-call-tag{cursor:pointer}
.calendar-tag.on-call-tag.activated{outline:2px solid #ffcf86;outline-offset:1px;background:#c9791a}
