/* The Sky page (sky.html): the trips page's look (app.css) with the aircraft list where the trips are. */

#skyStatus { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 2px 4px 2px; }
#skyStatus .dot { width: 10px; height: 10px; border-radius: 50%; background: #ffa726; flex: none; }
#skyStatus .dot.good { background: #66bb6a; }
#skyStatus .dot.bad { background: #ff8a80; }
#skyCounts { color: var(--muted); font-size: 13px; margin: 0 4px 2px 22px; }
#skyRange { color: var(--muted); font-size: 13px; margin: 0 4px 12px 22px; }
#skyRange:empty { display: none; }

#skyText { font: inherit; font-size: 15px; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 10px; padding: 9px 12px; width: 100%; box-sizing: border-box; }
#skyAirport { font: inherit; font-size: 15px; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 10px; padding: 9px 12px; width: 100%; box-sizing: border-box; }
#skyFlow { margin-top: 6px; }
#skyPatMore { padding: 0 8px 8px; }
#skyPatMore select { margin-top: 6px; }
#skyPatMore .skyGrid { margin-top: 6px; }
.skyGrid.two { grid-template-columns: repeat(2, 1fr); margin-top: 6px; }
#skyPatHours, #skyPatAirport { font: inherit; font-size: 14px; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 10px; padding: 7px 10px; width: 100%; box-sizing: border-box; margin-top: 6px; }
#skyPatNote { margin-top: 6px; font-size: 12.5px; color: var(--muted); min-height: 1.2em; }
#skyText:focus { outline: 2px solid var(--accent); outline-offset: 0; }

/* The bar that folds the sorting and filters (a full-width rounded rectangle, as the others): its name, what is in force while folded, and a chevron. */
.skyFold { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; margin: 10px 0 2px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--edge); background: none; color: var(--text);
  border-radius: 0; font: inherit; cursor: pointer; text-align: left; }   /* (a heading with a line under it, as the sections below: not a field) */
.skyFold:hover b { color: var(--accent); }
.skyFold b { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.skyFold span { flex: 1; color: var(--muted); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skyFold .chev { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform 0.15s; }
.skyFold.folded .chev { transform: rotate(-45deg); margin: 0 4px 0 0; }
#skyControls[hidden] { display: none; }
#skyText { margin-top: 8px; }

/* The sort and filter buttons: one rounded rectangle, all the same size, in a grid. */
.skyGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.skyGrid.four { grid-template-columns: repeat(4, 1fr); }
.skyGrid button, #skyClearBtn { height: 36px; min-width: 0; border: 1px solid var(--edge); background: var(--field); color: var(--text); border-radius: 10px; font: inherit; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 4px; white-space: nowrap; overflow: hidden; }
.skyGrid button:hover, #skyClearBtn:hover { border-color: var(--accent); }
.skyGrid button.on { border: 2px solid var(--accent); background: var(--chosen); padding: 0 3px; }
.skyGrid button i { width: 10px; height: 10px; border-radius: 3px; flex: none; border: 1px solid rgba(255, 255, 255, 0.5); }
#skyClear { margin-top: 8px; }
#skyClearBtn { width: 100%; }

/* The aircraft: a callsign and what it is, how high, then type, speed and where from home. */
#skyList { margin-top: 4px; }
#skyList .none { color: var(--muted); font-size: 14px; padding: 10px 6px; }
.plane { display: grid; grid-template-columns: 6px 1fr auto; column-gap: 10px; row-gap: 1px; width: 100%; text-align: left; font: inherit; color: var(--text);
  background: none; border: 1px solid transparent; border-radius: 10px; padding: 7px 10px 7px 8px; margin: 2px 0; cursor: pointer; }
.plane:hover { background: rgba(255, 255, 255, 0.05); }
.plane.on { background: var(--chosen); border-color: var(--accent); }
.plane .band { grid-row: 1 / span 2; border-radius: 3px; align-self: stretch; }
.plane .n { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plane .n b { font-weight: 700; }
.plane .n small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.plane .v { font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.plane .s { grid-column: 2 / span 2; color: var(--muted); font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The map's buttons under Layers and the compass: zoom in and out, in the same rounded rectangle. */
.mapBtn { width: 56px; height: 56px; border-radius: 10px; border: 2px solid var(--edge); background: var(--panel); color: #fff; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mapBtn:hover { border-color: var(--accent); }
#skySettingsBtn:not(.whoItem) { display: flex; align-items: center; justify-content: center; width: 40px; height: 36px; margin-left: 0; padding: 0; border: 1px solid var(--edge); border-radius: 10px; background: var(--field); color: var(--muted); cursor: pointer; flex: none; }
#skySettingsBtn:hover { color: var(--text); border-color: var(--accent); }
#side .head #who.userMenu { margin-left: auto; }
#live3dBtn.on { border-color: var(--accent); background: var(--chosen); color: var(--accent); }
#styles button:disabled { opacity: 0.4; cursor: not-allowed; }
#styles img.night { filter: invert(1) hue-rotate(180deg) brightness(0.75); }

/* The aircraft's card: a rounded rectangle on the app's slate, three sections with a thin line between them. What matters is largest: the callsign, then the route's codes, then the
   aircraft's numbers as labelled tiles; the housekeeping (distance, address, squawk) is small and quiet at the bottom. */
.acard { --text: #f3f6f9; --muted: rgba(243, 246, 249, 0.64); --line: rgba(255, 255, 255, 0.11); --accent: #4fc3f7; --up: #66bb6a; --down: #ffa726; --alert: #ff8a80;
  position: absolute; left: 12px; top: 12px; z-index: 5; pointer-events: auto; min-width: min(440px, calc(100vw - 24px)); max-width: min(820px, calc(100vw - 24px)); padding: 16px 20px 18px; box-sizing: border-box;
  background: rgba(24, 29, 34, 0.97); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color: var(--text); font: 14px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; }
.acard .sec { padding: 14px 0; border-top: 1px solid var(--line); }
.acard .sec:first-child { padding-top: 0; border-top: 0; }
.acard .sec:last-child { padding-bottom: 0; }
.acard .row { margin: 3px 0; }
.acard .muted { color: var(--muted); }

/* 1. Who it is */
/* The top line: the callsign at the left edge, the airline button at the center of the line, the flight number at the right edge. The two sides are equal (so the airline is exactly at the center)
   unless a long airline name needs the room: its name then gives way with an ellipsis, and the sides keep what their own text needs. */
.acard .idrow { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr); align-items: center; column-gap: 10px; }
.acard .idrow > .pill { grid-column: 1; justify-self: start; }
.acard .idrow > .chip, .acard .idrow > .airlinename { grid-column: 2; justify-self: center; }
.acard .pill { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.45; }
.acard a.fnum { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border: 1px solid rgba(255, 255, 255, 0.38); border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer; }
.acard a.fnum::after { content: '↗'; margin-left: 6px; font-size: 12px; opacity: 0.6; }
.acard a.fnum:hover { border-color: var(--accent); color: var(--accent); }
.acard .idrow .chip, .acard .airlinename { max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.acard .airlinename { font-weight: 600; }

/* The card's buttons (the airline, the type): one rounded rectangle */
.acard .chip { background: var(--field); border: 1px solid var(--edge); border-radius: 10px; color: var(--text); font: inherit; font-weight: 600; padding: 3px 11px; cursor: pointer; }   /* (as the Edit route button) */
.acard .chip:hover { border-color: var(--accent); }
.acard .chip.on { background: rgba(102, 187, 106, 0.30); border-color: var(--up); }

/* 2. Where it is going, and the aircraft */
.acard .routehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acard .routetext { min-width: 0; flex: 1 1 auto; }
.acard .routeboxes .routebtn { align-self: flex-end; margin-left: auto; margin-bottom: 3px; }   /* (level with the middle of the boxes) */
.acard .codes { display: flex; align-items: baseline; gap: 10px; font-size: 30px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.1; }
.acard .codes .arrow { color: var(--accent); font-size: 22px; font-weight: 600; }
.acard .cities { margin-top: 5px; font-size: 14px; color: var(--muted); }
.acard .routenote { margin-top: 3px; font-size: 12px; color: rgba(243, 246, 249, 0.46); }
.acard .routenote.stale { color: rgba(255, 167, 38, 0.72); }
.acard .warntri { position: relative; align-self: center; flex: none; width: 0; height: 0; margin-left: 2px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 20px solid #ffc107; font-size: 0; }
.acard .warntri::after { content: '!'; position: absolute; left: -3px; top: 3px; width: 6px; text-align: center; font-size: 13px; font-weight: 900; line-height: 16px; color: #1b1b1b; }
.acard .routewarn { margin-top: 6px; font-size: 13px; line-height: 1.35; color: #ffc107; }
.acard .noroute { font-size: 15px; color: var(--muted); padding-top: 4px; }
.acard .aircraft { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.acard .slot:empty + .aircraft { margin-top: 0; padding-top: 0; border-top: 0; }
.acard .tail { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; margin: 10px 0 0; }
.acard .tail .chip { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard .reg { flex: none; margin-left: auto; padding: 3px 10px; background: var(--field); border: 1px solid var(--edge); border-radius: 8px; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }   /* (a small plate, like the tail number painted on the aircraft) */
.acard .typename { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }
.acard .badge { flex: none; display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.acard .badge.military { background: rgba(255, 167, 38, 0.16); border: 1px solid rgba(255, 167, 38, 0.5); color: #ffcc80; }
.acard .stats { display: flex; align-items: flex-start; gap: 8px; }
.acard .stat { flex: 1 1 auto; text-align: center; }
.acard .stat .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.acard .stat .v { margin-top: 2px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.acard .stat.up .v { color: var(--up); }
.acard .stat.down .v { color: var(--down); }

/* 3. The rest: quiet */
.acard .miscrow { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--muted); }
.acard .miscdist { margin-left: auto; white-space: nowrap; }
.acard .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; color: var(--text); }
.acard .banner { margin-top: 10px; padding: 7px 11px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.acard .banner.warn { background: rgba(255, 167, 38, 0.14); color: #ffcc80; }
.acard .banner.alert { background: rgba(255, 138, 128, 0.16); color: var(--alert); }
.filterchip { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5; padding: 6px 14px; background: rgba(102, 187, 106, 0.35); border: 2px solid #66bb6a;
  border-radius: 10px; color: #fff; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.maplibregl-ctrl-scale { border-radius: 6px; }

/* The chosen aircraft's card: the upper right corner of the map, a rounded rectangle on the app's slate. */
.acard.corner { left: auto; right: 16px; top: 16px; min-width: 340px; max-width: 460px; }


/* The card's Set route button, and the boxes that take its place while a route is typed: the same rounded rectangle as the page's other buttons. */
.acard .routebtn { flex: none; height: 32px; min-width: 0; padding: 0 13px; border: 1px solid var(--edge); background: var(--field); color: var(--text); border-radius: 10px; font: inherit; font-size: 13px; cursor: pointer; }
.acard .routebtn:hover { border-color: var(--accent); }
.acard .routebtn:disabled { opacity: 0.45; cursor: default; }
.acard .routeedit { margin: 4px 0 6px; }
.acard .routeboxes { display: flex; align-items: flex-end; gap: 10px; }
.acard .routebox { display: flex; flex-direction: column; gap: 3px; }
.acard .routeboxes .routelabel { width: auto; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.acard .routeboxes .arrow { color: var(--accent); font-size: 22px; font-weight: 600; padding-bottom: 8px; }
.acard .routeboxes input { font: inherit; font-size: 26px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; width: 3.6ch; text-align: center; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 10px; padding: 3px 8px; box-sizing: content-box; }
.acard .routeboxes input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.acard .routeboxes input:disabled { opacity: 1; color: var(--text); -webkit-text-fill-color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.acard .routename { min-height: 16px; margin: 4px 0 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.acard .routename.bad, .acard .routenote.bad { color: #ff8a80; }
.acard .routenote:empty { display: none; }
.acard .routenote { margin-top: 8px; min-height: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.acard .routebuttons { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* The redesigned top: filter pills, the flight line, the route as two big airports, the update pill and the four numbers */
.acard .label { margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.acard .picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.acard .picks .chip, .acard .picks .airlinename { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; max-width: 100%; padding: 7px 15px; border-radius: 999px; font-size: 14px; }
.acard .picks .typetext { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard .typeicon { flex: none; width: 26px; height: 26px; }
.acard .flightline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.acard a.callsign { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: 0.03em; text-decoration: none; cursor: pointer; }
.acard a.callsign::after { content: '↗'; margin-left: 5px; font-size: 12px; }
.acard a.callsign:hover { text-decoration: underline; }
.acard .flightmeta { font-size: 13px; color: var(--muted); }
.acard .routerow { display: flex; align-items: flex-start; gap: 10px; }
.acard .routerow .routeend { flex: 1 1 0; min-width: max-content; text-align: center; position: relative; }   /* (each end is as wide as its longest line, the city or the time: the card grows to fit, and nothing is cut) */
.acard .routerow .dice { position: absolute; top: 4px; right: 2px; line-height: 0; color: var(--muted); pointer-events: auto; }
.acard .routerow .code { font-size: 48px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.05; }
.acard .routerow .code.unknown { color: var(--muted); }
.acard .routerow .arrow { flex: none; align-self: flex-start; margin-top: 8px; color: var(--accent); font-size: 34px; font-weight: 400; line-height: 1.1; }
.acard .routerow .cities { margin-top: 4px; font-size: 15px; min-height: 1.3em; white-space: nowrap; }
.acard .routerow .times { margin-top: 2px; font-size: 13px; color: var(--accent); white-space: nowrap; }
.acard .routerow .noroute { flex: 1 1 auto; padding: 8px 0; text-align: left; }
.acard .routerow .routebtn { flex: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.acard .datapill { display: table; position: relative; margin: 12px auto 0; padding: 7px 16px 7px 31px; border: 1px solid rgba(255, 167, 38, 0.5); background: rgba(255, 167, 38, 0.13); border-radius: 999px; font-size: 13px; color: #ffb74d; }
.acard .datapill::before { content: ''; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: currentColor; }
.acard .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acard .stats { align-items: stretch; gap: 8px; margin-top: 16px; }
.acard .stat { flex: 1 1 0; min-width: 0; padding: 14px 8px; text-align: center; background: #161e26; border: 1px solid var(--edge); border-radius: 18px; }
.acard .stat .k { letter-spacing: 0.12em; white-space: nowrap; }
.acard .stat .v { margin-top: 6px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.acard .stat .u { margin-top: 8px; font-size: 12px; color: var(--muted); min-height: 1.2em; white-space: nowrap; }
.acard .stat.up .v { color: var(--up); }
.acard .stat.down .v { color: var(--down); }

/* Editing a route: the boxes are the codes' own places, as big as the letters */
.acard .routerow .routefrom, .acard .routerow .routeto { box-sizing: border-box; width: 113px; height: 52px; max-width: 100%; margin: 0; padding: 0; font: inherit; font-size: 40px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.05; text-align: center; text-transform: uppercase; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 12px; }
.acard .routerow .routefrom:focus, .acard .routerow .routeto:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.acard .routerow.editing .routeend { min-width: 0; }   /* (the editor's boxes share the width as before: the airport's long name wraps under its box) */
.acard .routerow .routename { min-height: 1.3em; margin-top: 4px; font-size: 15px; white-space: normal; overflow-wrap: anywhere; color: var(--muted); }
.acard .routerow .routename.bad { color: #ff8a80; }
.acard .routebuttons { flex-wrap: nowrap; }
.acard .routebuttons .routebtn { flex: 1 1 0; min-width: 0; padding: 0 8px; text-align: center; }   /* (Save, Clear route and Cancel: equal widths, filling the line) */
.acard .routebuttons .routebtn[hidden] { display: none; }

/* The entertainment mode ("Show"): the page is the map, with big captions, for a screen on a wall. The panel, the buttons and the cursor are out of the way. */
body.show #measureBar, body.show #toast, body.show #filterChip, body.show .filterchip { display: none !important; }
/* (the left panel stays, as Patterns': its page switch (Sky | Show: back to Sky only), who is signed in and the receiver's status; not Sky's tools; not the live aircraft: their counts, sorting and filters, and the list) */
body.show #skyCounts, body.show #skyRange, body.show #skyFold, body.show #skyControls, body.show #skyListSection { display: none !important; }
body.show #map { cursor: none; }
#showCaption { position: absolute; left: 4vw; bottom: 6vh; z-index: 6; max-width: 55vw; padding: 1.2vw 1.8vw; border-radius: 18px; background: rgba(12, 16, 20, 0.72); color: #fff;
  opacity: 0; transform: translateY(12px); transition: opacity 0.6s, transform 0.6s; pointer-events: none; }
#showCaption.on { opacity: 1; transform: none; }
#showCaption .t { font-size: clamp(28px, 3.4vw, 72px); font-weight: 700; line-height: 1.1; }
#showCaption .s { font-size: clamp(18px, 2vw, 42px); color: #b8c2cc; margin-top: 0.3em; }
#showCaption .t:empty, #showCaption .s:empty { display: none; }
#showCaption .lines { list-style: none; margin: 0.6em 0 0; padding: 0; font-size: clamp(20px, 2.4vw, 50px); line-height: 1.5; }
#showCaption.stats { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); max-width: 70vw; padding: 2.4vw 3vw; }
#showCaption.stats.on { transform: translate(-50%, -50%); }

/* The show: a word for a moment when the map's mode changes (D). */
#showFlash { position: absolute; right: 4vw; top: 6vh; z-index: 7; padding: 0.6vw 1.4vw; border-radius: 14px; background: rgba(12, 16, 20, 0.78); color: #fff; font-size: clamp(20px, 2.4vw, 48px);
  opacity: 0; transition: opacity 0.3s; pointer-events: none; }
#showFlash.on { opacity: 1; }


/* The show's full screen button, in the window's bottom right corner (full screen is never automatic). */
#showFull { position: fixed; right: 14px; bottom: 14px; z-index: 9; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--edge);
  border-radius: 10px; background: rgba(43, 54, 64, 0.92); color: var(--text); cursor: pointer; padding: 0; }
#showFull:hover { border-color: var(--accent); }

/* The show keeps the layers button, with only the light or dark map and the globe in its popover: the rest of the panel and of the popover is for the map page. */
body.show #layersPanel > :not(#layersRow), body.show #layersRow > :not(#layersBtn), body.show #layersPop .noShow { display: none !important; }

/* An admin's popup on a receiver: its name, a field to rename it, and its range switched on or off (the popup is the app's slate: light text, the app's buttons). */
.recvPop { display: flex; flex-direction: column; gap: 10px; width: 350px; max-width: 100%; padding: 2px 2px 0; color: var(--text); }
.recvPop b { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; padding-right: 22px; }
.recvMeta { font-size: 13px; line-height: 1.35; color: #b6c3cf; }
.recvPop input { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--field); border: 1px solid var(--edge); border-radius: 10px; padding: 9px 12px; outline: none; }
.recvPop input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--chosen); }
.recvPop input::placeholder { color: var(--muted); }
.recvRow { display: flex; gap: 8px; }
.recvPop button { flex: 1; white-space: nowrap; font: inherit; font-size: 14px; font-weight: 600; border-radius: 10px; padding: 9px 12px; cursor: pointer; border: 1px solid var(--edge); background: var(--field); color: var(--text); }
.recvPop button:hover { border-color: var(--accent); }
.recvPop button:disabled { opacity: 0.5; cursor: default; }
.recvPop button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.recvPop button.primary:hover { filter: brightness(1.08); }
.recvPop button.rangeBtn::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--c, #FFA726); vertical-align: middle; }
.recvPop button.rangeBtn.off { color: #b6c3cf; }
.recvPop button.rangeBtn.off::before { background: transparent; border: 1.5px solid #b6c3cf; }
