/* Tokens from artifacts/digiqsl-redesign/tokens.css: light is its warm palette, dark a token swap.
   Bare :root is dark for a browser that signals no preference; a stored choice beats the system. */
:root{
  accent-color:var(--accent);
  --accent:#22c9a6; --accent-ink:#04231d; --neg-fill:#c2410c; --plate-muted:#96a2ae;
  --wheel:conic-gradient(#ef6a4a,#ffd86b,#22c9a6,#5aa9e6,#8b5cf6,#ef6a4a);
  --guide:#ff3ba7; --badge:#d92d20; --accent-fill:#0b7a64; --accent-fill-hover:#086553; --accent-fill-ink:#ffffff; --tap:56px; --btn-sm-h:36px; --badge-flash:#f97316;
}
:root,:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#101418; --panel:#181d22; --panel2:#20262d; --line:#3d4852; --line-soft:#2c343c;
  --row:#232a31; --nav-line:#2c343c; --ink:#eef2f6; --muted:#96a2ae; --accent-line:#22c9a6;
  --sel-tint:#12352e; --neg:#fb923c; --plate:#0c1013; --plate-ink:#eef2f6; --plate-line:#2c343c;
  --chip:#eef2f6; --chip-ink:#101418; --map:#121820; --map-land:#1d252d; --map-grid:#242d36;
  --sent:#7aa2ff; --faint:#5c6773; --heat1:#16574a; --ring:rgba(34,201,166,.35); --scrim:rgba(0,0,0,.62);
  --warn:#fbbf24; --warn-tint:#3a2c0c; --neg-tint:#3b1f14; --info:#8fb0ff; --info-tint:#1a2640;
  --c1:#16a386; --c2:#5c82e0; --c3:#bd800f;
  --danger-bg:#2a100c; --danger-line:#7c2d24;
  --danger-ink:#ffb4a6; --danger-text:#ff8b7a; --toast-bg:#000e; --picker-icon-filter:brightness(2.2);
  --gold:#a16207; --gold-ink:#ffffff;
}
/* The same light values twice: a media query cannot share a rule with the stored choice. */
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]){
    color-scheme:light;
    --side:#fdfdfa; --bg:#fefefc; --panel:#ffffff; --panel2:#f9f8f5; --line:#c6c2b8; --line-soft:#ecebe6;
    --row:#f3f2ee; --nav-line:#e6e4dd; --ink:#1c1a17; --muted:#57534e; --accent-line:#0e8c73;
    --sel-tint:#e3f7f0; --neg:#c2410c; --plate:#1a1f24; --plate-ink:#ffffff; --plate-line:#3a434d;
    --chip:#1a1f24; --chip-ink:#ffffff; --map:#f5f4f0; --map-land:#fffffe; --map-grid:#e8e6df;
    --sent:#3b6fd8; --faint:#9aa6b3; --heat1:#a7ecdc; --ring:rgba(34,201,166,.3); --scrim:rgba(8,11,14,.5);
    --warn:#9a5b00; --warn-tint:#fdf1d8; --neg-tint:#fdebe3; --info:#2f5fc4; --info-tint:#e8eefb;
    --c1:#0e8c73; --c2:#3b6fd8; --c3:#b45309;
    --danger-bg:#fdecea; --danger-line:#c96f62;
    --danger-ink:#8a2b1f; --danger-text:#b83a26; --toast-bg:#ffffffee; --picker-icon-filter:none;
    --gold:#a16207; --gold-ink:#ffffff;
  }
}
:root[data-theme="light"]{
  color-scheme:light;
  --side:#fdfdfa; --bg:#fefefc; --panel:#ffffff; --panel2:#f9f8f5; --line:#c6c2b8; --line-soft:#ecebe6;
  --row:#f3f2ee; --nav-line:#e6e4dd; --ink:#1c1a17; --muted:#57534e; --accent-line:#0e8c73;
  --sel-tint:#e3f7f0; --neg:#c2410c; --plate:#1a1f24; --plate-ink:#ffffff; --plate-line:#3a434d;
  --chip:#1a1f24; --chip-ink:#ffffff; --map:#f5f4f0; --map-land:#fffffe; --map-grid:#e8e6df;
  --sent:#3b6fd8; --faint:#9aa6b3; --heat1:#a7ecdc; --ring:rgba(34,201,166,.3); --scrim:rgba(8,11,14,.5);
  --warn:#9a5b00; --warn-tint:#fdf1d8; --neg-tint:#fdebe3; --info:#2f5fc4; --info-tint:#e8eefb;
  --c1:#0e8c73; --c2:#3b6fd8; --c3:#b45309;
  --danger-bg:#fdecea; --danger-line:#c96f62;
  --danger-ink:#8a2b1f; --danger-text:#b83a26; --toast-bg:#ffffffee; --picker-icon-filter:none;
  --gold:#a16207; --gold-ink:#ffffff;
}

/* What every page takes from the old sheets, in the lowest layer (views/partials/stylesheets.ejs declares it first):
   the originals in this file's legacy block still win over these copies. */
@layer base{
/* Bootstrap's reboot, its variables at their light values, under the old element rules in the legacy block. */
*,::before,::after{box-sizing:border-box}
*{-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}
html{font-size:15px}
@media (max-width:767px){html{font-size:14px}}
html,body{height:100%;margin:0;overscroll-behavior:none}
body{font:15px/1.45 Archivo,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);display:flex;
  flex-direction:column;padding-bottom:env(safe-area-inset-bottom);overflow-x:hidden;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}
hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}
h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:inherit}
h1{font-size:calc(1.375rem + 1.5vw)}
h2{font-size:calc(1.325rem + .9vw)}
h3{font-size:calc(1.3rem + .6vw)}
h4{font-size:calc(1.275rem + .3vw)}
h5{font-size:1.25rem}
h6{font-size:1rem}
@media (min-width:1200px){h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}}
p{margin-top:0;margin-bottom:1rem}
abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}
address{margin-bottom:1rem;font-style:normal;line-height:inherit}
ol,ul{padding-left:2rem}
dl,ol,ul{margin-top:0;margin-bottom:1rem}
ol ol,ol ul,ul ol,ul ul{margin-bottom:0}
dt{font-weight:700}
dd{margin-bottom:.5rem;margin-left:0}
blockquote{margin:0 0 1rem}
b,strong{font-weight:600}
small{font-size:.875em}
mark{padding:.1875em;color:#212529;background-color:#fff3cd}
sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}
sub{bottom:-.25em}
sup{top:-.5em}
a{text-decoration:underline}
a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}
code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}
pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}
pre code{font-size:inherit;color:inherit;word-break:normal}
code{font-size:.875em;color:#d63384;word-wrap:break-word}
a>code{color:inherit}
kbd{padding:.1875rem .375rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.25rem}
kbd kbd{padding:0;font-size:1em}
figure{margin:0 0 1rem}
img,svg{vertical-align:middle}
table{caption-side:bottom;border-collapse:collapse}
caption{padding-top:.5rem;padding-bottom:.5rem;color:rgba(33,37,41,.75);text-align:left}
th{text-align:inherit;text-align:-webkit-match-parent}
tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}
label{display:inline-block}
button{border-radius:0}
button:focus:not(:focus-visible){outline:0}
button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}
button,select{text-transform:none}
[role=button]{cursor:pointer}
select{word-wrap:normal}
select:disabled{opacity:1}
[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}
[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}
[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}
::-moz-focus-inner{padding:0;border-style:none}
textarea{resize:vertical}
fieldset{min-width:0;padding:0;margin:0;border:0}
legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}
@media (min-width:1200px){legend{font-size:1.5rem}}
legend+*{clear:left}
::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}
::-webkit-inner-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-color-swatch-wrapper{padding:0}
::file-selector-button{font:inherit;-webkit-appearance:button}
output{display:inline-block}
iframe{border:0}
summary{display:list-item;cursor:pointer}
progress{vertical-align:baseline}
/* The old .panel's room; a .row panel loses the margin below, and a page that spaces its panels with gap sets it to 0. */
.panel{padding:24px;margin-bottom:16px}

/* The design's fields on every bare input, select and text area (look C); a board .inp beats them. */
input[type=date]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator{
  opacity:1;cursor:pointer;padding:6px;border-radius:8px;filter:var(--picker-icon-filter)}
input[type=date]::-webkit-calendar-picker-indicator:hover,input[type=time]::-webkit-calendar-picker-indicator:hover{background-color:var(--line)}
input[type=text]{width:100%;height:var(--tap);border-radius:11px;border:1px solid var(--line);background:var(--panel2);color:var(--ink);font:inherit;font-size:17px;padding:0 14px}
input[type=range]{width:100%;height:24px;margin:0;-webkit-appearance:none;appearance:none;background:transparent;touch-action:pan-y}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;
  background:linear-gradient(to right,var(--accent-line) var(--fill,50%),var(--line-soft) var(--fill,50%))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;width:22px;height:22px;border-radius:50%;
  background:#ffffff;border:2px solid var(--accent-line);margin-top:-8px}
input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:var(--line-soft)}
input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--accent-line)}
input[type=range]::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border-radius:50%;background:#ffffff;border:2px solid var(--accent-line)}
:focus-visible{outline:3px solid var(--accent-line);outline-offset:3px;border-radius:6px}
input[type=range]:focus-visible{outline-offset:6px}
input:is([type="checkbox"],[type="radio"]):where(:not(.form-switch-row input)){width:20px;height:20px;accent-color:var(--accent-fill);flex:none}
input:is(:not([type]),[type=email],[type=password],[type=number],[type=tel],[type=search],[type=url],[type=date],[type=time],[type=datetime-local],
  [type=month],[type=week]):where(:not(.gin,.bigin)),select:not(.btn,.gin,.bigin),textarea:not(.gin,.bigin){
  height:var(--tap);border-radius:11px;border:1px solid var(--line);background-color:var(--panel2);color:var(--ink);font:inherit;font-size:17px;padding:0 14px}
textarea:not(.gin,.bigin){height:auto;min-height:var(--tap);padding:12px 14px;line-height:1.4}
select:not(.btn,.gin,.bigin){-webkit-appearance:none;appearance:none;padding-right:38px;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 20px) 24px,calc(100% - 14px) 24px;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
[data-callsign-search-input]{text-transform:uppercase}
[data-callsign-search-input]:lang(tr){text-transform:none}
[data-callsign-search-input]::placeholder{text-transform:none}

/* The shell: the menu column from 768 x 520 up, the page area beside it, and the footer. */
:root{--navw:0px}
.stage{--stage-pad-top:clamp(8px, min(3vw, 4vh), 28px);flex:1 1 0%;min-width:0;display:flex;
  flex-direction:column;align-items:stretch;justify-content:flex-start;overflow-y:auto;min-height:0;position:relative;
  padding:var(--stage-pad-top) calc(env(safe-area-inset-right) + clamp(8px, min(3vw, 4vh), 28px)) clamp(8px, min(2.5vw, 3.5vh), 24px)
    calc(env(safe-area-inset-left) + clamp(8px, min(3vw, 4vh), 28px))}
.topname em,.wordmark em{font-style:normal;color:var(--accent-line)}
a.wordmark,a.wordmark:hover,a.wordmark:focus,a.topname,a.topname:hover,a.topname:focus{color:inherit;text-decoration:none}
.pill.zero{position:relative;min-width:24px;height:24px;padding:0;border:0;border-radius:12px;font-family:inherit;cursor:pointer;display:grid;
  place-items:center;background:none;color:var(--muted);font-size:14px;font-weight:800;letter-spacing:0;line-height:1}
.pill svg{width:22px;height:22px}
.pill.zero::after{content:'';position:absolute;inset:-8px 0 -8px -8px}
.pill:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-line)}
.navitem:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent-line)}
.nav{display:flex;flex-direction:column;overflow:auto;background:var(--bg)}
nav.nav{flex-wrap:nowrap;padding-left:0;margin-bottom:0;list-style:none}
.navhead{display:flex;align-items:center;flex:none}
.navhead .pill{margin-left:auto}
.langflag{display:block;width:22px;height:16px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px var(--line-soft)}
.langmenu{position:fixed;inset:auto;margin:0;width:220px;max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;padding:6px;border-radius:14px;color:var(--ink)}
.langmenu .sec{display:block}
.wordmark{font-size:40px;font-weight:900;line-height:.9;letter-spacing:-.05em}
.wordmark-icon{display:none}
.navsearch{position:relative;display:flex;flex:none;height:58px;margin-top:24px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--bg)}
.navsearch input[type=text]{flex:1;min-width:0;height:auto;padding:0 14px;border:0;border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:18px;font-weight:600}
.navsearch input::placeholder{color:var(--muted);opacity:1}
.navsearch button{flex:none;width:58px;display:grid;place-items:center;border:0;border-left:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
.navsearch:focus-within button{border-left-color:transparent;background:var(--accent-fill);color:var(--accent-fill-ink)}
.navsearch button:disabled{opacity:.55;cursor:default}
.navsearch svg{width:24px;height:24px}
.navsearch input:focus-visible,.navsearch button:focus-visible{outline:none}
.navsearch:has(:focus-visible)::after{content:'';position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 0 3px var(--accent-line);pointer-events:none}
.navsearch button.callsign-search-btn,.navsearch button.callsign-search-btn:hover,.navsearch button.callsign-search-btn:focus-visible,
.navsearch button.callsign-search-btn:active,.navsearch button.callsign-search-btn:disabled,.navsearch button.callsign-search-btn:disabled:hover,
.navsearch button.callsign-search-btn:disabled:focus-visible,.navsearch button.callsign-search-btn[aria-disabled="true"],
.navsearch button.callsign-search-btn[aria-disabled="true"]:hover,.navsearch button.callsign-search-btn[aria-disabled="true"]:focus-visible{
  background:var(--panel);color:var(--ink);border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none}
.navsearch:focus-within button.callsign-search-btn{border-left-color:transparent;background:var(--accent-fill);color:var(--accent-fill-ink)}
.navsearch button.callsign-search-btn:disabled,.navsearch button.callsign-search-btn[aria-disabled="true"]{opacity:.55;cursor:default}
.navsep{display:flex;align-items:center;gap:10px;flex:none;min-height:4px;margin:30px 0 8px}
.navsep::before{content:'';flex:none;width:44px;height:4px;background:var(--accent-line)}
.navsep::after{content:'';flex:1;height:1px;background:var(--line)}
.navsep span{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.navsep ~ .navsep{margin-top:44px}
.navitem{display:grid;grid-template-columns:42px 1fr auto;align-items:center;flex:none;width:100%;height:58px;
  padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;color:var(--ink);
  font:inherit;font-size:22px;font-weight:800;letter-spacing:-.01em;text-align:left;cursor:pointer}
a.navitem,a.navitem:hover,a.navitem:focus{text-decoration:none}
.navitem .ic{width:26px;height:26px;justify-self:start;color:var(--ink)}
.navitem .go{color:var(--muted);font-weight:400}
.navitem.soon .go{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.navitem.current .ic,.navitem.current .go{color:var(--accent-line)}
/* The menu's Premium row flashes its letters in turn (views/partials/sidebar.ejs adds .premium-flash). */
.premium-text > span{font-weight:inherit;display:inline;transition:color .15s}
#sidebarPremium.premium-flash{animation:premiumPulse 2s ease-in-out 2 alternate}
#sidebarPremium.premium-flash .premium-text > span{animation:premiumLetterColour 1s ease-in-out 2 alternate both}
#sidebarPremium.premium-flash .premium-text > span:nth-child(2){animation-delay:.15s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(3){animation-delay:.3s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(4){animation-delay:.45s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(5){animation-delay:.6s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(6){animation-delay:.75s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(7){animation-delay:.9s}
@keyframes premiumPulse{0%,100%{opacity:1}}
/* Colour only: animating the weight swapped the face mid-flash, so the word changed shape. */
@keyframes premiumLetterColour{0%{color:inherit}15%{color:#e74c3c}30%{color:#f39c12}50%{color:#27ae60}70%{color:#3498db}85%{color:#9b59b6}100%{color:#e74c3c}}
/* Features, Terms and Privacy show here only beside the page; the phone's More sheet has its own. */
.navlegal{display:none}
.navfoot{flex:none;margin-top:auto;background:var(--bg);padding:16px 0 calc(14px + env(safe-area-inset-bottom))}
.navmorewrap{flex:none;position:sticky;bottom:var(--footh,0px);height:0;z-index:1}
.navmore{position:absolute;left:0;right:0;bottom:0;height:56px;display:flex;align-items:flex-end;justify-content:center;
  padding:0 0 6px;border:0;background:linear-gradient(to bottom,transparent,var(--bg) 75%);color:var(--ink);cursor:pointer}
.navmore[hidden]{display:none}
.navmore svg{width:36px;height:36px;padding:7px;border-radius:50%;background:var(--panel);border:1px solid var(--line);animation:navnudge 1.6s ease-in-out infinite}
.navmore:focus-visible{outline:none}
.navmore:focus-visible svg{box-shadow:0 0 0 3px var(--accent-line)}
@keyframes signsweep{0%{transform:translateX(-101%)}20%,30%{transform:translateX(0)}50%,100%{transform:translateX(101%)}}
@keyframes navnudge{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.navmore svg{animation:none}}
.navfoot .navsep{margin:0 0 6px}
@media (min-height:560px){.navfoot{position:sticky;bottom:0}}
@media (min-width:768px) and (min-height:520px){
  :root{--navw:264px}
  .stage{--stage-pad-top:calc(env(safe-area-inset-top) + clamp(8px, min(3vw, 4vh), 28px))}
  body{flex-direction:row}
  .nav{flex:none;width:var(--navw);height:100%}
}
.main-content{padding:0;width:100%;flex:1;display:flex;flex-direction:column}
/* The footer keeps the old sheets' fixed colours, the same in both themes. */
.app-footer{width:100%;padding:28px 0 0;color:#94a3b8;font-size:.867rem;line-height:1.8;text-align:center;margin-top:auto}
@media (max-width:767px){.app-footer{padding-top:24px}}
.app-footer__links{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
/* Its links moved to the menu's foot, so the page footer shows only while it holds one (an admin's Stats). */
.app-footer:not(:has(a)){display:none}
.app-footer a{color:#94a3b8;text-decoration:none;margin:0;font-weight:400}
.app-footer a:hover{color:#059669}
.app-footer--creator{width:min(calc(100% - 32px), 960px);align-self:flex-start;padding-bottom:8px;margin:-24px 0 20px 32px}
@media (max-width:767px){.app-footer--creator{margin-left:16px;margin-right:16px;width:auto}}
.topbar-bell{font-size:1.2rem}
/* A bell's count of every unread notification; the phone's top bar draws it as a dot (the shell's own rule). */
.topbar-bell-badge{position:absolute;top:-2px;right:-4px;font-size:.65rem;font-weight:600;min-width:16px;height:16px;
  border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px;line-height:1}

/* The shared dialog (views/partials/confirmation-modal.ejs): its frame, sizes, scroll lock and fade, and below 600px a sheet. */
dialog.app-dialog{inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;
  color:inherit;overflow-x:hidden;overflow-y:auto;transition:opacity .15s linear}
/* The dialog and its card take focus only to hold it, so they show no ring. */
:where(dialog.app-dialog,dialog.app-dialog .modalin){outline:0}
@media (prefers-reduced-motion:reduce){dialog.app-dialog{transition:none}}
dialog.app-dialog:not(.show){opacity:0}
dialog.app-dialog[open]{display:flex;align-items:center;justify-content:center;padding:12px 12px 12px calc(12px + var(--navw))}
html.app-dialog-open,html.app-dialog-open body{overflow:hidden}
dialog.app-dialog .modal-dialog{display:contents}
dialog.app-dialog .app-modal-grab{display:none}
dialog.app-dialog .modalin{position:relative;width:90%;max-width:520px;max-height:100%;background-clip:padding-box}
dialog.app-dialog .modal-sm .modalin{max-width:400px}
dialog.app-dialog .modal-lg .modalin{max-width:760px}
dialog.app-dialog .modal-xl .modalin{width:100%;max-width:1240px}
dialog.app-dialog .modal-header{flex-shrink:0;border:0}
dialog.app-dialog .modal-body{position:relative;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
dialog.app-dialog .modal-body>*{margin-top:0;margin-bottom:0}
dialog.app-dialog .modal-body>*+*{margin-top:12px}
dialog.app-dialog .modal-footer{flex-shrink:0;flex-wrap:nowrap;align-items:center;justify-content:space-between;border:0;background:none}
dialog.app-dialog .modal-footer>*{margin:0}
dialog.app-dialog .modal-footer .app-modal-footer__actions{display:contents}
@keyframes app-dialog-refuse{50%{transform:scale(1.02)}}
dialog.app-dialog.modal-static .modalin{animation:app-dialog-refuse .3s ease-out}
@media (max-width:599px){
  dialog.app-dialog[open]{align-items:flex-end;padding:0}
  dialog.app-dialog .modal-dialog .modalin{width:100%;max-width:480px;max-height:calc(100% - env(safe-area-inset-top, 0px) - 10px);
    border-bottom:0;border-radius:20px 20px 0 0;box-shadow:none}
  dialog.app-dialog .modal-lg .modalin,dialog.app-dialog .modal-xl .modalin{height:calc(100% - env(safe-area-inset-top, 0px) - 10px)}
  dialog.app-dialog .app-modal-grab{display:flex;flex:none;justify-content:center;padding:10px 0 8px;touch-action:none;cursor:grab}
  dialog.app-dialog .app-modal-grab::before{content:'';width:36px;height:5px;border-radius:3px;background:var(--muted)}
  dialog.app-dialog .app-modal-grab:not([hidden]) + .modal-header{padding-top:6px}
}

/* A wide table's scroller fades at the edge with more to see; public/js/scroll-edge-fade.js sets the classes. */
[data-scroll-fade]{--sef-l:0px;--sef-r:0px}
[data-scroll-fade].has-scroll-left{--sef-l:32px}
[data-scroll-fade].has-scroll-right{--sef-r:32px}
[data-scroll-fade].has-scroll-left,[data-scroll-fade].has-scroll-right{
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--sef-l),#000 calc(100% - var(--sef-r)),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 var(--sef-l),#000 calc(100% - var(--sef-r)),transparent 100%)}
/* The old sheets' resets on design classes, last: here, as there, they go back to the browser's value, past the rules above
   (a board button keeps the browser's focus ring, a .row panel no bottom margin). */
.row{flex-wrap:revert;margin:revert}
.row > *{flex-shrink:revert;width:revert;max-width:revert;padding-right:revert;padding-left:revert}
.row label{display:inline-block;align-items:revert;justify-content:revert;gap:revert;font-size:revert;letter-spacing:revert;color:revert;margin-bottom:revert}
.btn{line-height:inherit;text-align:revert;vertical-align:revert;user-select:revert;transition:revert}
.btn:disabled{opacity:revert;pointer-events:revert}
.btn:focus-visible{outline:revert;box-shadow:revert}
.alert{position:revert;margin-bottom:revert;border:revert}
.pill:where(:not(.zero)){position:revert;min-width:revert;border:revert;cursor:revert;place-items:revert;letter-spacing:revert;line-height:revert}
.pill:where(:not(.zero))::after{content:revert;position:revert;inset:revert}
.toast{line-height:revert;text-align:revert}
}

/* Outside the base layer: there an !important would beat the legacy block's own !important display rules. */
[hidden]{display:none!important}
.d-none{display:none!important}
.visually-hidden,.phead :is(h1,.phead-sub){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.visually-hidden:not(caption),.phead :is(h1,.phead-sub){position:absolute!important}

/* The desktop menu, board Sidebar in its default pill style; phones get the tab bar and More sheet below. */
@media (min-width:768px) and (min-height:520px){
  .nav{padding:calc(28px + env(safe-area-inset-top)) 24px 0 calc(26px + env(safe-area-inset-left));
    background:var(--side,var(--panel));border-right:1px solid var(--line-soft)}
  .wordmark{font-size:46px;font-weight:900;letter-spacing:-.035em;line-height:1;color:var(--ink)}
  .navhead :is(.navhead-bell,.navhead-ai,.navhead-lang){width:30px;height:30px;padding:0;border-radius:11px;background:transparent;color:var(--muted);
    display:flex;align-items:center;justify-content:center}
  .navhead .pill + .pill{margin-left:2px}
  /* The menu head shows only on wide screens, so its buttons take presses on their own 30x30 box alone. */
  .navhead .pill::after{content:none}
  /* With an address the head is a grid: the icons share the callsign's line, and the address runs on under them. */
  .navhead:has(.navme-fwd){display:grid;grid-template-columns:56px minmax(0,1fr) repeat(3,auto);row-gap:4px;align-items:center}
  .navhead:has(.navme-fwd) :is(.navme,.navme-id){display:contents}
  .navhead:has(.navme-fwd) .navme-av{grid-row:1 / 3;grid-column:1}
  .navhead:has(.navme-fwd) .navme-cs{grid-row:1;grid-column:2}
  .navhead:has(.navme-fwd) :is(.navhead-bell,.navhead-ai,.navhead-lang){grid-row:1;margin-top:-2px;margin-bottom:-2px}
  .navhead:has(.navme-fwd) .navme-fwd{grid-row:2;grid-column:2 / -1}
  @media (hover:hover){.navhead :is(.navhead-bell,.navhead-ai,.navhead-lang):hover{color:var(--accent-line)}}
  /* The count keeps its place on the icon's corner that it had on the 40px bell. */
  .navhead .navhead-bell .topbar-bell-badge{top:-7px;right:-9px}
  /* A signed-in head: the member's picture, callsign and DigiQSL address; .av and .cs come later, so these carry .navme. */
  .navme{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
  .navme .navme-av{width:44px;height:44px;font-size:15px;color:var(--muted);text-decoration:none}
  .navme-id{display:flex;flex-direction:column;gap:4px;min-width:0}
  /* Line heights in px: a long name takes a smaller font (sidebar.js) and the head keeps its height. */
  .navme .navme-cs{font-size:26px;font-weight:900;line-height:26px;letter-spacing:.01em;color:var(--ink)}
  .navme .navme-fwd{font-size:13px;font-weight:700;line-height:16px;color:var(--accent-line);text-decoration:none}
  .navme .navme-fwd--problem{color:var(--danger-text);text-decoration:line-through}
  .navsearch{height:48px;background:var(--panel)}
  .navsearch input[type=text]{padding:0 12px;font-size:16px;font-weight:700}
  .navsearch input::placeholder{color:var(--faint)}
  .navsearch button{width:47px}
  .navsearch button svg{width:22px;height:22px}
  .navsearch button i{font-size:22px;line-height:1}
  /* The search 26px under the head, the first header 36px under the search, the rest 30px under a group. */
  .navsep{min-height:3px;margin:0 0 6px;gap:10px;line-height:normal}
  .navsearch,.navsep{margin-top:26px}
  .navsearch{margin-bottom:10px}
  .navsep ~ .navsep{margin-top:30px}
  .navsep::before{width:42px;height:3px}
  .navsep::after{background:var(--nav-line)}
  .navsep span{font-size:12px;font-weight:800;letter-spacing:.24em;color:var(--muted)}
  .navitem{display:flex;align-items:center;gap:14px;width:auto;height:43px;margin:1px -12px;padding:0 12px;
    border:0;border-radius:11px;color:var(--ink);font-size:17px;font-weight:800;letter-spacing:normal}
  .navitem .lb{flex:1;min-width:0}
  .navitem .ic{flex:none;width:22px;height:22px;color:var(--ink)}
  .navitem.current{background:var(--sel-tint)}
  .navitem.current .ic{color:var(--accent-line)}
  /* A guest's sign-in row: the logo's green, mixed into the page so the label stays readable, sweeps through it left to right, then rests 2s. */
  .navitem--signin{position:relative;isolation:isolate;overflow:hidden}
  .navitem--signin::before{content:"";position:absolute;inset:0;z-index:-1;background:color-mix(in srgb,var(--accent-line) 45%,var(--bg));transform:translateX(-101%);animation:signsweep 4s ease-in-out 1s infinite}
  /* The sweep paints over the inset focus ring, so it stops while the row has keyboard focus. */
  .navitem--signin:focus-visible::before{animation:none}
  .navfoot{padding:16px 0 calc(2px + env(safe-area-inset-bottom));background:inherit}
  /* One row in every language: it may use 20px of the sidebar's 24px right padding, and the theme shows as its icon. */
  .navlegal{display:flex;flex-wrap:nowrap;align-items:center;gap:4px 6px;margin-right:-20px;padding:12px 0 0;font-size:11px;line-height:18px;white-space:nowrap}
  .navlegal .navtheme{position:relative;display:inline-flex;margin-left:auto}
  /* It ends 4px inside the sidebar's clipping edge, so its focus ring hugs it. */
  .navlegal .navtheme:focus-visible{outline-offset:0}
  /* The icon names the theme in force: contrast for Auto, a sun for Light, a moon for Dark. */
  .navlegal .navtheme .ic-auto,:root[data-theme="light"] .navlegal .navtheme .ic-light,:root[data-theme="dark"] .navlegal .navtheme .ic-dark{display:block}
  :root[data-theme="light"] .navlegal .navtheme .ic-auto,:root[data-theme="dark"] .navlegal .navtheme .ic-auto{display:none}
  .navlegal .navtheme-txt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .navlegal a,.navlegal .navsignout{color:var(--muted);text-decoration:none}
  .navlegal .navsignout{padding:0;border:0;background:none;font:inherit;cursor:pointer}
  .navlegal .navsignout:hover,.navlegal .navsignout:focus-visible{color:var(--accent-line)}
  .navlegal a:hover,.navlegal a:focus-visible{color:var(--accent-line)}
  .navfoot .navsep{margin:0 0 8px}
  .navswitch{margin:0 0 16px}
  /* Board AdminSidebar: the admin side is denser than the member side, so its twelve rows fit. */
  .nav--admin .navsep{margin-bottom:4px}
  .nav--admin .navsep ~ .navsep{margin-top:22px}
  .nav--admin .navfoot .navsep{margin:0 0 4px}
  .nav--admin .navitem{height:40px;margin:0 -12px}
  .nav--admin .navitem .ic{width:20px;height:20px}
  .nav .navitem .n{padding:0 7px}
}
@media (prefers-reduced-motion:reduce){.navitem--signin::before{animation:none}}
@media (min-width:768px) and (min-height:520px) and (pointer:coarse){
  .navitem,.nav--admin .navitem{height:var(--tap);font-size:19px}
  .navsearch{height:var(--tap)}
  .navsearch button{width:var(--tap)}
}
@media (min-width:1100px) and (min-height:520px){
  :root{--navw:300px}
}
/* Up to 1099px the menu is a 76px rail that opens over the page (sidebar.js reads --nav-rail), so the page never moves.
   Closed, it is the open menu clipped to the rail, so no row moves under the pointer when it opens. */
@media (min-width:768px) and (max-width:1099.98px) and (min-height:520px){
  :root{--navw:76px}
  body:has(#nav){padding-left:var(--navw)}
  .nav{--nav-rail:1;position:fixed;top:0;bottom:0;left:0;height:auto;width:300px;overflow-x:hidden}
  /* Over the page's maps (z-index 1000), under the bell's panel (1060), which opens from this menu. */
  .nav.nav-open{z-index:1055;width:var(--nav-open-w,300px);box-shadow:0 18px 48px var(--scrim)}
  /* The donation meter (z-index 9999) would lie over the open menu's foot. */
  body:has(#nav.nav-open) .fund-meter{visibility:hidden}
  .nav.nav-open.nav-tapped::after{content:'';position:fixed;top:0;right:0;bottom:0;left:var(--nav-open-w,300px);background:var(--scrim)}
  .nav:not(.nav-open){clip-path:inset(0 calc(100% - var(--navw)) 0 0)}
  /* The rail's edge, over the foot's own fill; a border, so forced colours keep it. */
  .nav:not(.nav-open)::before{content:'';position:fixed;top:0;bottom:0;left:calc(var(--navw) - 1px);z-index:2;border-left:1px solid var(--line-soft)}
  /* Unseen and unclickable, yet still named for a screen reader, which reads the closed rail without opening it. */
  .nav:not(.nav-open) :is(.navitem .lb,.navswitch,.navlegal,.f-error-msg){opacity:0;pointer-events:none}
  /* A guest's rail shows the site icon where the wordmark's first letters would be cut. */
  .nav:not(.nav-open) .wordmark{position:relative}
  .nav:not(.nav-open) :is(.wordmark,.wordmark em){color:transparent}
  .nav:not(.nav-open) .wordmark-icon{display:block;position:absolute;left:0;top:50%;width:44px;height:44px;transform:translateY(-50%)}
  .nav:not(.nav-open) .navsearch{width:48px;border-color:transparent;background:transparent;cursor:pointer}
  .nav:not(.nav-open) .navsearch input[type=text]{flex:0 0 0;padding:0}
  .nav:not(.nav-open) .navsearch button{width:100%;border-left:0;background:transparent;opacity:1;pointer-events:none}
  .nav:not(.nav-open) .navitem{position:relative}
  .nav:not(.nav-open) .navitem :is(.nav-badge,.nav-counts,.n.support-count){position:absolute;top:2px;left:28px;transform:scale(.75);transform-origin:top left}
  .nav:not(.nav-open) .nav-counts .n ~ .n{display:none}
  .nav:not(.nav-open) .navmore{left:-26px;right:auto;width:var(--navw)}
}
.navitem .nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;
  box-sizing:border-box;border-radius:11px;background:var(--accent-fill);color:var(--accent-fill-ink);
  font-family:'Inconsolata',monospace;font-size:13px;font-weight:900;line-height:1}
.navitem .nav-badge--danger{background:var(--danger-bg);color:var(--danger-text)}
/* An admin's User | Admin switch (views/partials/admin-sidebar.ejs), board .seg at the boards' full width. */
.seg.navswitch{display:grid;grid-template-columns:1fr 1fr;flex:none;border-radius:13px}
.seg.navswitch a{justify-content:center;gap:8px;height:36px;padding:0;border-radius:10px;font-size:14px}
.navswitch .n{min-width:20px;height:18px;border-radius:9px;font-size:11px}
.nav-counts{display:flex;flex:none;gap:5px}
/* An overdue digest is a failure, so its count takes the boards' failure colour where the queue's own count is amber. */
.nav-counts .n.neg{background:var(--neg-tint);color:var(--neg)}
/* A count's name, read by screen readers only: the queue row's two counts are not told apart by colour alone. */
.nav-count-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* The shared modal (views/partials/confirmation-modal.ejs) and the creator's #modal wear board .dlg; below 600px
   board .sheet. The shared modal's body stays a plain block, since callers fill it with their own markup. */
dialog.app-dialog::backdrop{background:var(--scrim)}
dialog.app-dialog .hd .app-modal-heading{flex-grow:1;min-width:0}
dialog.app-dialog .hd .app-modal-icon{flex:none;width:40px;height:40px;border-radius:12px;background:var(--sel-tint);color:var(--accent-line);display:flex;align-items:center;justify-content:center}
dialog.app-dialog .hd .modal-title{margin:0;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-.015em;color:var(--ink)}
dialog.app-dialog .hd .app-modal-close{flex:none;margin:-8px -10px 0 auto;color:var(--ink)}
/* The send screen's email preview: only the email shows; its title stays for screen readers. */
dialog.app-dialog.email-preview-modal .modalin{position:relative}
dialog.app-dialog.email-preview-modal .app-modal-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
dialog.app-dialog.email-preview-modal .hd{position:absolute;top:10px;right:10px;z-index:2;padding:0;margin:0;border:0;background:none}
dialog.app-dialog.email-preview-modal .hd .app-modal-close{margin:0;width:38px;height:38px;border-radius:50%;background:var(--panel);box-shadow:0 2px 8px rgba(0,0,0,.2)}
dialog.app-dialog.email-preview-modal .app-modal-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding:0;background:var(--panel2)}
.email-preview-frame{display:block;flex:1 1 auto;width:100%;height:min(70vh,820px);border:0}
.email-preview-loading{display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:min(70vh,820px);color:var(--muted)}
dialog.app-dialog .modal-body{padding:14px 22px 6px;font-size:15px;color:var(--ink)}
dialog.app-dialog .ft{padding:16px 22px 20px}
/* The QSL card viewer, board QSLView: the frame keeps the card's 960:611 shape at every width, a phone sheet included. */
@media (min-width:600px){ dialog.app-dialog.qsl-viewer .modalin{width:760px;max-width:100%} }
/* A short screen narrows the frame rather than flattening it; 240px is the header, footer and gutters. */
dialog.app-dialog.qsl-viewer .qsl-viewer-frame{display:block;width:min(100%,max(160px,calc((100dvh - 240px) * 960 / 611)));margin:0 auto;aspect-ratio:960/611;border:0;border-radius:6px;background:var(--panel2)}
dialog.app-dialog.qsl-viewer .ft:not(:has(button:not([hidden]))){display:none}
@media (max-width:599px){
  dialog.app-dialog .dlg,#modal .dlg{border-radius:22px 22px 0 0;border-bottom:0;box-shadow:none}
  dialog.app-dialog .app-modal-grab,#modal .app-modal-grab{padding:10px 0 0}
  dialog.app-dialog .app-modal-grab::before,#modal .app-modal-grab::before{width:40px;height:5px;border-radius:3px;background:var(--line)}
  dialog.app-dialog .ft,#modal .ft{padding-bottom:max(20px, calc(env(safe-area-inset-bottom) + 12px))}
}

/* The phone's shell, boards MobileTop, TabBar and M-Nav, below 768px wide or 520px tall; there the menu column is hidden. */
:root{--topbar:calc(60px + env(safe-area-inset-top));--tabbar:calc(72px + env(safe-area-inset-bottom))}
.top,.tabbar{display:none}
/* Text for the desktop and text for the phone shell; the phone block below swaps them. */
.on-phone{display:none}
@media (min-width:768px) and (min-height:520px){
  :root{--topbar:env(safe-area-inset-top);--tabbar:0px}
}
/* Local development only (views/layouts/main.ejs); on a phone it stands above the tab bar. */
.dev-badge{position:fixed;right:calc(8px + env(safe-area-inset-right));bottom:calc(max(var(--tabbar), env(safe-area-inset-bottom)) + 8px);
  z-index:2147483647;padding:5px 8px;border-radius:6px;font-size:11px;font-weight:800;letter-spacing:.12em;line-height:1;pointer-events:none}
/* A theme block would outweigh the phone block's :root, so the head gap has a rule of its own. */
:root{--head-gap:24px}
@media not all and (min-width:768px) and (min-height:520px){
  body{padding-bottom:0}
  .nav{display:none}
  .top{flex:none;display:flex;align-items:center;gap:4px;height:var(--topbar);
    padding:env(safe-area-inset-top) calc(8px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left));
    background:var(--side,var(--panel));border-bottom:1px solid var(--line-soft)}
  .topname{flex-grow:1;font-size:28px;font-weight:900;letter-spacing:-.035em;line-height:1;color:var(--ink);text-decoration:none}
  /* A signed-in bar: the member's picture and callsign; a long callsign ends in an ellipsis before the buttons. */
  .topme{flex:1 1 auto;display:flex;align-items:center;gap:10px;min-width:0}
  .top .topme-av{width:34px;height:34px;font-size:12px;color:var(--muted);text-decoration:none}
  .topme-cs{font-size:22px;font-weight:900;line-height:1.2;letter-spacing:.01em;color:var(--ink)}
  .topbtn{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;
    border:0;border-radius:11px;background:transparent;color:var(--ink);cursor:pointer}
  .topbtn:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent-line)}
  .top .topbar-bell-badge{position:absolute;top:10px;right:11px;box-sizing:content-box;width:8px;height:8px;min-width:0;padding:0;
    border:2px solid var(--panel);border-radius:50%;font-size:0;line-height:0}
  /* Last in the page's column, after .stage, so it never covers the page. */
  .tabbar{order:1;flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--tabbar);
    padding-bottom:env(safe-area-inset-bottom);background:var(--side,var(--panel));border-top:1px solid var(--line-soft)}
  .tabbar-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;
    padding:0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:800;line-height:normal;
    text-decoration:none;box-shadow:inset 0 3px 0 transparent;cursor:pointer}
  .tabbar-item.on{color:var(--accent-line);box-shadow:inset 0 3px 0 var(--accent-line)}
  .tabbar-item:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent-line)}
  /* While the sheet is open, More is the marked tab. */
  .tabbar:has(#moreTab[aria-expanded="true"]) .tabbar-item{color:var(--muted);box-shadow:inset 0 3px 0 transparent}
  .tabbar:has(#moreTab[aria-expanded="true"]) #moreTab{color:var(--accent-line);box-shadow:inset 0 3px 0 var(--accent-line)}
  .tabbar-item > span:not(.tab-badge){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tab-badge{position:absolute;top:9px;left:calc(50% + 6px);display:inline-flex;align-items:center;justify-content:center;
    min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;border:2px solid var(--side,var(--panel));
    background:var(--accent-fill);color:var(--accent-fill-ink);font-family:'Inconsolata',monospace;font-size:11px;font-weight:900;line-height:1}
  /* The More sheet stands on the tab bar, which stays in view and undimmed. */
  dialog.app-dialog.more-sheet[open]{padding-bottom:var(--tabbar)}
  dialog.app-dialog.more-sheet::backdrop{background:linear-gradient(to top,transparent calc(72px + env(safe-area-inset-bottom)),var(--scrim) 0)}
  .fund-meter,.fund-meter-restore,.qrz-admin-moderation{bottom:calc(var(--tabbar) + 16px)}
  .gallery-toast{bottom:calc(var(--tabbar) + 24px)}
  .on-wide{display:none}
  .on-phone{display:inline}
  /* Weighted above the base rules further down, which would otherwise win on order. */
  .panel.srch{gap:14px;padding:22px 18px}
  .panel.srch.srch--compact{gap:12px;padding:18px}
  /* An admin page's header (admin-phead.ejs), boards M-Admin*: the way back into the Admin console above the title. */
  .phead.adm-head{padding-bottom:14px}
  /* The phone keeps the admin console link, so an admin header stays a row there. */
  .phead.adm-head:not(:has(.phead-acts,.adm-back)){position:static;width:auto;height:auto;margin:0 0 calc(var(--head-gap) - var(--page-gap, var(--head-gap)));overflow:visible;clip-path:none}
  .phead.adm-head h1{font-size:32px}
  .phead .adm-console{display:inline-flex;margin-bottom:10px}
  .phead.adm-head .adm-head-desc{display:none}
  .phead.adm-head .adm-head-acts{flex:1 1 100%;flex-wrap:wrap;min-width:0;margin-top:10px}
  :root{--head-gap:16px}
}
.moresheet{display:flex;flex-direction:column}
.moresheet .more-me{gap:12px;margin:0 0 12px;padding:12px;border-radius:14px;background:var(--panel2);color:var(--ink);text-decoration:none}
.more-me__pic{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:48px;overflow:hidden;
  border:1px solid var(--line-soft);border-radius:12px;background:var(--panel);color:var(--muted)}
.more-me__pic img{width:100%;height:100%;object-fit:cover}
.more-me__text{flex-grow:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.more-me__text b{font-size:20px}
.more-me__text span{font-size:13px;color:var(--muted)}
.more-me > svg{flex:none;color:var(--muted)}
.more-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.more-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:88px;
  border:1px solid var(--line-soft);border-radius:14px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:800}
.more-ext{gap:12px;margin-top:8px;padding:12px;border:1px solid var(--accent-line);border-radius:14px;background:var(--sel-tint);color:var(--ink);text-decoration:none}
.more-ext[hidden]{display:none}
.more-ext__ic{flex:none;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:var(--panel);color:var(--accent-line)}
.more-ext__text{flex-grow:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.more-ext__text > b{font-size:15px;font-weight:800}
.more-ext__text > span{font-size:13px;line-height:1.4;color:var(--muted)}
.more-ext > svg{flex:none;color:var(--muted)}
.more-rows{margin-top:14px;border-top:1px solid var(--row)}
.moresheet .more-row{width:100%;height:50px;margin:0;padding:0;border:0;border-bottom:1px solid var(--row);background:transparent;
  color:var(--ink);font:inherit;font-size:15px;font-weight:800;text-align:left;text-decoration:none;cursor:pointer}
.more-rows > :last-child{border-bottom:0}
.more-row .lb{flex-grow:1}
.more-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;box-sizing:border-box;
  border-radius:11px;background:var(--accent-fill);color:var(--accent-fill-ink);font-family:'Inconsolata',monospace;font-size:13px;font-weight:900;line-height:1}
.more-badge--warn{background:var(--warn-tint);color:var(--warn)}
.moresheet .app-footer__links{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px 16px;margin:0;padding:8px 0 8px;font-size:13px;font-weight:700}
.moresheet .app-footer__links a{color:var(--muted);text-decoration:none}
.navtheme{margin-left:auto;padding:0;border:0;background:none;color:var(--muted);font:inherit;cursor:pointer}
.navtheme:hover,.navtheme:focus-visible{color:var(--accent-line)}
.navtheme .ic{display:none}
/* The Admin console sheet, board M-AdminNav: the column's admin side as phone rows, Support inbox last. */
.admin-console .eb{margin:14px 0 4px}
.admin-console .navitem{display:flex;align-items:center;gap:14px;width:auto;height:46px;margin:0 -12px;padding:0 12px;border:0;border-radius:11px;
  background:transparent;color:var(--ink);font-size:16px;font-weight:800;letter-spacing:normal;text-decoration:none}
.admin-console .navitem.current{background:var(--sel-tint)}
.admin-console .navitem .ic{flex:none;width:20px;height:20px;color:var(--ink)}
.admin-console .navitem.current .ic{color:var(--accent-line)}
.admin-console .navitem .lb{flex:1;min-width:0}
.admin-console .admin-console-support{height:50px;margin:14px 0 0;padding:0;border-top:1px solid var(--row);border-radius:0}

/* The admin confirm's typed box (public/js/admin-confirmations.js): a word with small letters shows as typed, one in
   capitals in capitals, and Confirm fades while the box does not accept, as board AdminDialogs draws Delete user. */
.lbl.admin-confirm-label{margin-top:16px}
.inp.mono.admin-confirm-word:not(.admin-confirm-caps){text-transform:none}
dialog.app-dialog.admin-typed-confirm .ft .btn:disabled{opacity:.45;cursor:not-allowed}

/* Sign in, register and the password dialogs, board AuthDialogs: fields stack 16px apart, as the board's .bd does. */
.auth-step-panel,.auth-modal-form{display:flex;flex-direction:column;gap:16px}
.auth-entry-field .inp::placeholder{text-transform:none}
/* The letter spacing also trails the last letter, so the right padding gives that space back. */
.auth-confirm-callsign{align-self:center;max-width:100%;margin:4px 0;padding:12px calc(24px - .2em) 12px 24px;border:2px solid var(--line);border-radius:12px;font-size:32px;font-weight:900;letter-spacing:.2em;text-align:center;color:var(--ink);overflow-wrap:anywhere}
.auth-callsign-row{gap:8px}
.auth-callsign-row .inp{flex:1;min-width:0}
.auth-callsign-row .inp[readonly]{cursor:pointer}
.auth-label-row{justify-content:space-between;margin-bottom:6px}
.auth-label-row .lbl{margin:0}
.auth-forgot{font-size:13px;font-weight:800}
.cf .auth-eye{position:absolute;right:2px;top:1px;color:var(--ink)}
.auth-eye[aria-pressed="true"] .eye-show,.auth-eye:not([aria-pressed="true"]) .eye-hide{display:none}
.auth-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-terms{gap:10px;font-size:14px;color:var(--ink)}
.auth-station-hint{margin:0}
#authModalNotice{margin-bottom:1rem}

/* The location lookup's results (views/partials/location-lookup-modal.ejs), drawn by public/js/main.js. */
.loc-loading{display:flex;justify-content:center;padding:12px 0;color:var(--accent-line)}
.loc-results{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.loc-result{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%;padding:10px 14px;border:0;
  background:var(--panel);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.loc-result+.loc-result{border-top:1px solid var(--line)}
.loc-result:hover{background:var(--panel2)}
.loc-result__text{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.loc-result__text small{font-size:13px}
.loc-result__provider{color:var(--muted)}

/* A member's Support chat in the shared modal, boards SupportChat and M-SupportChat (views/partials/support-widget.ejs). */
dialog.app-dialog.support-chat .modalin{width:580px;max-width:calc(100vw - 32px);height:min(760px,calc(100dvh - 64px))}
dialog.app-dialog.support-chat .hd{align-items:center;padding:18px 16px 14px 22px;border-bottom:1px solid var(--row)}
dialog.app-dialog.support-chat .hd .modal-title{font-size:22px;letter-spacing:-.01em}
dialog.app-dialog.support-chat .hd .sub{display:flex;align-items:center;gap:6px;margin:2px 0 0;font-size:13px}
dialog.app-dialog.support-chat .hd .sub::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent)}
dialog.app-dialog.support-chat .hd .app-modal-close{margin:0}
dialog.app-dialog.support-chat .modal-body{flex:1 1 auto;min-height:0;display:flex;padding:0}
.support-chat-content{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;width:100%}
.support-thread{flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px 22px;display:flex;flex-direction:column;gap:14px;background:var(--bg)}
.support-thread>:first-child:not([hidden]),.support-thread>[hidden]+*{margin-top:auto}
.support-run{display:flex;gap:8px;align-items:flex-end;max-width:76%}
.support-run.me{align-self:flex-end}
.support-run-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.support-run.me .support-run-body{align-items:flex-end}
.support-run .msg{max-width:100%;overflow-wrap:anywhere}
.support-run .msg>:first-child{margin-top:0}
.support-run .msg>:last-child{margin-bottom:0}
.support-av.av{width:32px;height:32px;border-radius:50%;background:var(--accent);border:0;color:var(--accent-ink)}
.support-who b{color:var(--ink)}
.support-sent-image{position:relative;display:flex;align-items:flex-end;width:220px;height:130px;padding:8px;box-sizing:border-box;border-radius:12px;overflow:hidden;border:1px solid var(--line-soft);background:linear-gradient(135deg,var(--map),var(--map-grid))}
.support-sent-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.support-sent-image .pill{position:relative;background:rgba(12,16,19,.72);color:#ffffff}
.support-sent-file,.support-strip-file{gap:10px;padding:8px 10px;border-radius:12px;border:1px solid var(--line-soft);background:var(--panel);color:var(--ink);text-decoration:none}
.support-file-icon{flex:none;width:34px;height:34px;border-radius:9px;background:var(--sel-tint);color:var(--accent-line);display:flex;align-items:center;justify-content:center}
.support-file-text{display:flex;flex-direction:column;min-width:0}
.support-file-text b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-file-text .mono{font-size:12px;color:var(--muted)}
.support-older{align-self:center}
.support-empty{margin:auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:20px 8px}
.support-empty-icon{width:64px;height:64px;border-radius:20px;background:var(--sel-tint);color:var(--accent-line);display:flex;align-items:center;justify-content:center}
.support-empty h3{margin:0;font-size:22px;font-weight:900;color:var(--ink)}
.support-empty p{margin:0;max-width:360px;font-size:14px;line-height:1.45;color:var(--muted)}
.support-composer{flex:none;border-top:1px solid var(--row);background:var(--panel)}
.support-strip-row{gap:8px;flex-wrap:wrap;padding:10px 16px 0}
.support-strip{gap:8px;flex-wrap:wrap}
.support-strip-image{position:relative;width:58px;height:46px;border-radius:10px;border:1px solid var(--line-soft);background:linear-gradient(135deg,var(--map),var(--map-grid))}
.support-strip-image img{width:100%;height:100%;object-fit:cover;border-radius:9px}
.support-strip-image button{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;border:0;background:var(--ink);color:var(--bg);display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.support-strip-file .btn.ib{width:26px;height:26px;margin-left:2px}
.support-files-count{margin-left:auto;font-size:13px;color:var(--muted)}
.support-compose{gap:8px;align-items:flex-end;padding:12px 16px 6px}
.support-compose .btn{flex:none}
.support-input.inp{flex:1;min-height:44px;height:44px;padding-top:11px;resize:none}
.support-help{padding:0 16px 12px;font-size:12px;line-height:1.4;color:var(--muted)}
@media (max-width:599px){
  dialog.app-dialog.support-chat .modalin{width:100%;max-width:none;height:calc(100dvh - 44px)}
  .support-send.btn{width:44px;padding:0}
  .support-send span{display:none}
}

/* The shared classes, verbatim from artifacts/digiqsl-redesign/tokens.css; its .dq root is :root here. */
body{margin:0}
a{color:var(--accent-line)}
a:hover{color:var(--ink)}
.mono{font-family:'Inconsolata',ui-monospace,monospace}
.lbl{display:block;font-size:13px;font-weight:800;color:var(--ink);margin:0 0 6px}
.hint{font-size:13px;line-height:1.4;color:var(--muted);margin-top:6px}
.inp{box-sizing:border-box;width:100%;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-family:inherit;font-size:16px;font-weight:600;outline:none;appearance:none}
/* A field saved on its own flashes its ring (queued-field-saver.js): the accent once saved, the failure colour when refused. */
.inp.opt-saved{outline:2px solid var(--accent-line);outline-offset:1px;transition:outline-color .3s ease}
.inp.opt-error{outline:2px solid var(--neg);outline-offset:1px;transition:outline-color .3s ease}
textarea.inp{height:auto;padding:12px 14px;line-height:1.45;resize:vertical}
/* .inp's background drops look C's select arrow, so board selects draw it again, 24px down as look C does. */
select.inp{padding-right:38px;background-repeat:no-repeat;background-size:6px 6px,6px 6px;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 20px) 24px,calc(100% - 14px) 24px}
.inp.mono{font-family:'Inconsolata',ui-monospace,monospace;font-size:18px;font-weight:700;text-transform:uppercase}
.inp.mono:lang(tr){text-transform:none}
.inp.focus,.inp:focus{border:2px solid var(--accent-line);box-shadow:0 0 0 4px var(--ring)}
.inp.err{border:2px solid var(--neg)}
.inp.lg{height:50px;font-size:18px}
.inp:disabled,.inp.dis{background:var(--panel2);color:var(--muted)}
/* A field with its icon inside on the left, as the admin boards draw their search fields. */
.inp-icon{position:relative}
.inp-icon>svg{position:absolute;left:14px;top:14px;color:var(--muted);pointer-events:none}
.inp-icon .inp{padding-left:42px}
.errmsg{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:700;color:var(--neg);margin-top:6px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;box-sizing:border-box;border-radius:13px;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer;border:1px solid var(--line);background:var(--panel);color:var(--ink);text-decoration:none;white-space:nowrap}
/* Every filled green button: the darker fill white text can be read on, in both themes. */
.btn.p{border:0;background:var(--accent-fill);color:var(--accent-fill-ink)}
.btn.d{border:1px solid var(--neg);color:var(--neg)}
.btn.dp{border:0;background:var(--neg-fill);color:#ffffff}
.btn.g{border:0;background:transparent}
.btn.ib{width:44px;padding:0}
/* A page head's controls take the small size, so none is taller than the title line. */
.btn.sm,.phead .btn{height:var(--btn-sm-h);padding:0 12px;font-size:14px;border-radius:11px}
.phead .btn.ib{width:var(--btn-sm-h);padding:0}
.eb{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:.2em;color:var(--muted);text-transform:uppercase}
.eb::before{content:'';width:24px;height:3px;background:var(--accent-line);flex-shrink:0}
.eb::after{content:'';flex-grow:1;height:1px;background:var(--line-soft)}
.panel{background:var(--panel);border:1px solid var(--line-soft);border-radius:16px}
.scrim{position:absolute;inset:0;background:var(--scrim)}
.lift{box-shadow:0 24px 60px -18px rgba(0,0,0,.45)}
.chk{width:20px;height:20px;margin:0;accent-color:var(--accent-line)}
.sw{position:relative;width:44px;height:26px;border-radius:13px;background:var(--line);flex-shrink:0}
.sw.on{background:var(--accent-line)}
.sw::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#ffffff}
.sw.on::after{left:21px}
/* A real control wears the switch too: a button with .on, or a checkbox checked. */
button.sw,input.sw{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;cursor:pointer}
input.sw:checked{background:var(--accent-line)}
input.sw:checked::after{left:21px}
.chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 11px;box-sizing:border-box;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-family:inherit;font-size:14px;font-weight:800}
.chip.on{border:2px solid var(--accent-line);background:var(--sel-tint)}
.row{display:flex;align-items:center;gap:12px}
.sk{background:var(--panel2);border-radius:6px}
.mrow{white-space:nowrap}
:root span.sw{display:inline-block;vertical-align:middle}
:root main>*{flex-shrink:0}
.seg button,.seg a{white-space:nowrap}
.kp{display:grid;gap:1px;background:var(--row);border:1px solid var(--line-soft);border-radius:16px;overflow:hidden}
.kp>*{background:var(--panel);padding:16px 18px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--ink);min-width:0}
.kp>.on{box-shadow:inset 0 -3px 0 var(--accent-line);background:var(--sel-tint)}
.kl{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--muted);text-transform:uppercase}
.kpis{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);background:var(--panel);border:1px solid var(--line-soft);border-radius:16px;overflow:hidden}
/* The figures shrink with the page, up to the board's 38px, so six digits stay inside their box. */
.kpi{padding:18px clamp(12px,2.1cqi,22px);min-width:0}
.kpi + .kpi{border-left:1px solid var(--row)}
.kpi .kl{letter-spacing:.2em}
.kpiv{display:block;margin-top:10px;font-size:clamp(22px,3.7cqi,38px);font-weight:900;line-height:1;letter-spacing:-.02em;color:var(--ink)}
@container (max-width:599px){
  .kpis,.kp.kp-strip{display:flex;gap:10px;overflow-x:auto;background:transparent;border:0;border-radius:0}
  /* Bleeds across the page gutter to the screen edge. */
  .kpis{margin:0 calc(-1 * var(--gutter, 16px));padding:0 var(--gutter, 16px)}
  .kpi,.kp-strip>*{flex:none;min-width:118px;box-sizing:border-box;padding:14px 16px;background:var(--panel);border:1px solid var(--line-soft);border-radius:14px}
  .kpi + .kpi{border-left:1px solid var(--line-soft)}
  .kpi .kl{font-size:10px;letter-spacing:.18em}
  .kpiv{margin-top:8px;font-size:30px}
}
.kv{font-size:30px;font-weight:900;line-height:1;letter-spacing:-.02em}
.ks{font-size:13px;line-height:1.35;color:var(--muted)}
.pill{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;box-sizing:border-box;border-radius:7px;font-size:12px;font-weight:800;background:var(--panel2);color:var(--muted);white-space:nowrap;vertical-align:middle}
.pill.ok{background:var(--sel-tint);color:var(--accent-line)}
.pill.warn{background:var(--warn-tint);color:var(--warn)}
.pill.neg{background:var(--neg-tint);color:var(--neg)}
.pill.info{background:var(--info-tint);color:var(--info)}
.pill.solid{background:var(--ink);color:var(--bg)}
.pill.line{border:1px solid var(--ink);background:var(--panel);color:var(--ink)}
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--line-soft);flex-wrap:wrap}
.tab{height:46px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;color:var(--muted);text-decoration:none;box-shadow:inset 0 -3px 0 transparent;white-space:nowrap}
.tab.on{color:var(--ink);box-shadow:inset 0 -3px 0 var(--accent-line)}
.n{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;background:var(--panel2);color:var(--ink);font-family:Inconsolata,monospace;font-size:12px;font-weight:800}
.n.a{background:var(--accent);color:var(--accent-ink)}
.n.w{background:var(--warn-tint);color:var(--warn)}
.chip .n{height:18px;min-width:18px;font-size:11px}
/* Every bell's unread count, every Support count (data-support-badge-class) and the development badge share one red. */
.topbar-bell-badge,.dev-badge,:is(.nav-badge,.n,.more-badge,.tab-badge).support-count,[data-notification-badge]{background:#ef4444;color:#fff}
/* Every bell's count turns orange once the bell was opened after the newest unread one. */
[data-notification-badge][data-notification-seen]{background:var(--accent-fill)}
/* A Support count flashes orange, 700ms each way, so it is noticed sooner; without motion it stays red. */
:is(.nav-badge,.n,.more-badge,.tab-badge).support-count{animation:support-count-flash 1.4s step-end infinite}
@keyframes support-count-flash{50%{background-color:var(--badge-flash)}}
@media (prefers-reduced-motion:reduce){:is(.nav-badge,.n,.more-badge,.tab-badge).support-count{animation:none}}
.th{display:grid;align-items:center;column-gap:14px;height:42px;padding:0 20px;border-bottom:1px solid var(--line);font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--muted);text-transform:uppercase}
.tr{display:grid;align-items:center;column-gap:14px;min-height:58px;padding:10px 20px;box-sizing:border-box;border-bottom:1px solid var(--row);font-size:14px}
.tr:last-child{border-bottom:0}
.tr.sel{background:var(--sel-tint)}
/* Small text only: a .btn.sm keeps its kind's colours. :where adds no specificity, so rules that beat .sm still do. */
.tr .sm:where(:not(.btn)),.sm:where(:not(.btn)){font-size:13px;line-height:1.4;color:var(--muted)}
.cs{font-family:Inconsolata,monospace;font-weight:800;font-size:17px;letter-spacing:.01em}
.trunc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.alert{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;font-size:14px;line-height:1.45}
.alert.warn{background:var(--warn-tint)}
.alert.warn>svg{color:var(--warn);flex-shrink:0;margin-top:1px}
.alert.neg{background:var(--neg-tint)}
.alert.neg>svg{color:var(--neg);flex-shrink:0;margin-top:1px}
.alert.info{background:var(--info-tint)}
.alert.info>svg{color:var(--info);flex-shrink:0;margin-top:1px}
.alert.ok{background:var(--sel-tint)}
.alert.ok>svg{color:var(--accent-line);flex-shrink:0;margin-top:1px}
.av{width:40px;height:40px;border-radius:11px;background:var(--panel2);border:1px solid var(--line-soft);box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;font-family:Inconsolata,monospace;font-weight:900;font-size:13px;color:var(--muted)}
.av>img{width:100%;height:100%;object-fit:cover;display:block}
.ibtn{width:36px;height:36px;box-sizing:border-box;border-radius:10px;border:1px solid var(--line-soft);background:var(--panel);display:inline-flex;align-items:center;justify-content:center;color:var(--ink);flex-shrink:0;padding:0}
.ibtn.neg{color:var(--neg)}
.ibtn.ok{background:var(--accent-fill);border:0;color:var(--accent-fill-ink)}
.pnl{background:var(--panel);border:1px solid var(--line-soft);border-radius:16px;padding:22px 24px;display:flex;flex-direction:column;gap:16px;box-sizing:border-box;min-width:0}
.pnl.flush{padding:0;gap:0;overflow:hidden}
.ph{display:flex;align-items:center;gap:12px}
.ph h2{margin:0;font-size:20px;font-weight:900;letter-spacing:-.01em;flex-grow:1}
.or{display:flex;gap:24px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--row)}
.or:first-child{border-top:0;padding-top:0}
.or .t{flex:1;min-width:0}
.or .t b{display:block;font-size:15px;font-weight:800}
.or .t small{display:block;font-size:13px;color:var(--muted);line-height:1.45;margin-top:3px}
.nu{display:flex;align-items:stretch;height:46px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);box-sizing:border-box}
.nu input{border:0;flex:1;min-width:0;padding:0 14px;font-family:Inconsolata,monospace;font-size:18px;font-weight:800;color:var(--ink);background:transparent;outline:none}
.nu span{padding:0 12px;border-left:1px solid var(--line-soft);font-size:13px;font-weight:700;color:var(--muted);display:flex;align-items:center;background:var(--panel2);white-space:nowrap}
.dflt{font-family:Inconsolata,monospace;font-size:12px;font-weight:700;color:var(--muted);margin-left:6px}
.seg{display:inline-flex;padding:3px;border-radius:12px;background:var(--panel2);gap:2px}
.seg button,.seg a{height:32px;padding:0 12px;border:0;border-radius:9px;background:transparent;font-family:inherit;font-size:13px;font-weight:800;color:var(--muted);display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.seg .on{background:var(--panel);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.14)}
.lg{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;font-weight:700;color:var(--muted)}
.lg i{display:inline-block;width:12px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle}
.msg{max-width:78%;padding:11px 14px;border-radius:16px;font-size:15px;line-height:1.5;box-sizing:border-box}
.msg.me{align-self:flex-end;background:var(--sel-tint);border-bottom-right-radius:6px}
.msg.them{align-self:flex-start;background:var(--panel2);border-bottom-left-radius:6px}
.mt{font-size:12px;color:var(--muted);font-weight:600}
.day{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}
.day::before,.day::after{content:"";flex:1;height:1px;background:var(--row)}
.newdiv{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--accent-line);text-transform:uppercase}
.newdiv::before,.newdiv::after{content:"";flex:1;height:2px;background:var(--accent-line);opacity:.5}
.fchip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 12px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:14px;font-weight:700;color:var(--ink);max-width:230px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}
.code{font-family:Inconsolata,monospace;font-size:13px;font-weight:700;padding:1px 6px;border-radius:6px;background:var(--panel2)}
.lnk{color:var(--accent-line);font-weight:800;text-decoration:none}
.anno{display:flex;gap:8px;padding:10px 12px;border-radius:10px;border:1px dashed var(--accent-line);font-size:12.5px;line-height:1.45;color:var(--muted)}
.anno b{color:var(--accent-line)}
.swc{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);box-sizing:border-box;flex-shrink:0;padding:0;cursor:pointer}
.swc.on{outline:3px solid var(--accent-line);outline-offset:2px}
.swc.any{display:flex;align-items:center;justify-content:center;background:var(--wheel)}
.rng{position:relative;height:6px;border-radius:3px;background:var(--line-soft);flex-grow:1}
.rng i{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--accent-line)}
.rng b{position:absolute;top:-8px;width:22px;height:22px;border-radius:50%;background:#ffffff;border:2px solid var(--accent-line);box-sizing:border-box;margin-left:-11px}
.val{min-width:44px;height:26px;padding:0 6px;box-sizing:border-box;border-radius:7px;background:var(--panel2);font-family:Inconsolata,monospace;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.dlg{box-sizing:border-box;background:var(--panel);border:1px solid var(--line-soft);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.dlg .hd{padding:20px 22px 6px;display:flex;align-items:flex-start;gap:12px}
.dlg .hd :is(h2,h3){margin:0;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-0.015em}
.dlg .sub{margin:6px 0 0;font-size:14px;line-height:1.45;color:var(--muted)}
.dlg .bd{padding:14px 22px 6px;display:flex;flex-direction:column;gap:16px}
.dlg .ft{padding:16px 22px 20px;display:flex;gap:10px}
.dlg .ft .btn{flex:1;height:48px}
.sheet{border-radius:22px 22px 0 0;border-bottom:0}
.sheet .bd{min-height:0;overflow:hidden;flex:1 1 auto}
.fill>.dlg{flex:1 1 auto;min-height:0}
.grabber{width:40px;height:5px;border-radius:3px;background:var(--line);margin:10px auto 0}
.cf{position:relative}
.cf .inp{padding-right:58px}
.cnt{position:absolute;right:12px;top:15px;font-family:Inconsolata,monospace;font-size:12px;font-weight:700;color:var(--muted)}
.cnt.lim{color:var(--neg)}
/* Board form fields: two columns, one once a column would be under 300px; a field's input shares its line with its buttons. */
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(300px,calc(50% - 10px))),1fr));gap:16px 18px}
.fgrid .fwide{grid-column:1/-1}
.fcell{min-width:0}
.fline{display:flex;gap:6px;align-items:center}
.fline > .inp,.fline > .cf{flex:1;min-width:0}
.fline > .btn{flex:none;height:46px}
.stn-look{width:46px;padding:0}
.stn-unit{font-size:16px;font-weight:800;padding-left:4px}
/* Board ImportADIF's drop zone. Row, not the old phone column: the legacy block still sets that. */
.dz{position:static;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px;min-height:150px;padding:20px;box-sizing:border-box;
  border:2px dashed var(--line);border-radius:16px;background:var(--panel);color:var(--ink);text-align:left;cursor:pointer;transition:none}
.dz:hover{border-color:var(--accent-line);background:var(--panel)}
.dz:focus-visible{border-color:var(--accent-line);outline:2px solid var(--accent-line);outline-offset:2px}
.dz.dz--drag{border-style:solid;border-color:var(--accent-line);background:var(--sel-tint);box-shadow:none}
.dz.dz--has-file{border-style:solid;border-color:var(--accent-line);background:var(--panel);cursor:default}
.dz.dz--error{border-style:solid;border-color:var(--neg);background:var(--panel)}
.dz.dz--disabled{opacity:.55;pointer-events:none;cursor:not-allowed;background:var(--panel)}
.dz-idle,.dz-file{display:flex;flex-direction:row;align-items:center;gap:16px;min-width:0;text-align:left}
.dz-file{width:100%}
.dz.dz--has-file .dz-idle{display:none}
.dz-icon,.dz-file-icon{flex:none;width:52px;height:52px;border:0;border-radius:14px;background:var(--sel-tint);color:var(--accent-line);
  display:flex;align-items:center;justify-content:center;font-size:inherit;transition:none}
.dz.dz--processing .dz-file-icon svg{display:none}
.dz.dz--processing .dz-file-icon::after{content:'';width:20px;height:20px;box-sizing:border-box;border:2px solid var(--line);
  border-top-color:var(--accent-line);border-radius:50%;animation:dq-spin .6s linear infinite}
@keyframes dq-spin{to{transform:rotate(360deg)}}
/* A shared icon that turns while its button or field waits (icons.js spinner or refresh, className spin-icon). */
.spin-icon{animation:dq-spin .7s linear infinite}
.dz-text,.dz-file-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.dz-file-info{flex:1}
.dz-title,.dz-file-name{font-size:17px;font-weight:800;color:var(--ink)}
.dz-file-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dz-sub,.dz-meta{font-size:14px;color:var(--muted);margin:0}
.dz-file-meta{font-family:'Inconsolata',ui-monospace,monospace;font-size:14px;font-weight:700;color:var(--muted)}
.dz-file-remove{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--line);
  border-radius:13px;background:var(--panel);color:var(--ink);font-size:inherit;cursor:pointer;transition:none}
.dz-file-remove:hover{border-color:var(--neg);color:var(--neg);background:var(--panel)}
.dz-status{margin-top:6px}
.dz-hint{font-size:13px;color:var(--muted)}
.dz-error-msg{display:block;align-items:normal;gap:normal;font-size:13px;font-weight:700;color:var(--neg)}
/* A page's header: the title row, a row above it (.phead-pre) and a description under it. The title's line box is a small
   control's height, so a page's controls sit on its centre line and every title row is as tall. It follows its page's container. */
/* Every page's first card sits --head-gap under the head; a page column names its own gap in --page-gap, which this evens out. */
.phead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 24px;padding-bottom:22px;border-bottom:1px solid var(--line);
  margin-bottom:calc(var(--head-gap) - var(--page-gap, var(--head-gap)))}
.phead h1{margin:0;font-size:34px;line-height:var(--btn-sm-h);font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.phead > h1,.phead-main > h1,.phead-title{flex:1 1 0;min-width:0}
.phead-main{display:contents}
.phead-pre{flex-basis:100%;display:flex;flex-direction:column;align-items:flex-start}
.phead-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.phead-acts{flex:none;display:flex;align-items:center;gap:10px}
.phead-sub{margin-left:12px;font-size:20px;font-weight:800;letter-spacing:0;color:var(--muted);overflow-wrap:anywhere}
.phead .phead-back{flex:none}
.phead-desc{flex-basis:100%;order:1;margin:10px 0 0;font-size:15px;line-height:1.45;color:var(--muted)}
/* The title (hidden with .visually-hidden) and its description show nowhere; a header keeps a slim row only for its controls. */
.phead .phead-desc{display:none}
.phead{justify-content:flex-end;padding-bottom:0;border-bottom:0}
.phead .phead-back,.phead .adm-back{margin-right:auto}
.phead:not(:has(.phead-acts,.phead-back,.adm-back)){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0}
@container (max-width:599px){
  .phead{gap:0 10px;padding-bottom:16px}
  .phead-sub{display:block;margin:6px 0 0;font-size:16px;line-height:1}
  .phead .phead-back{width:var(--btn-sm-h);padding:0;border:1px solid var(--line);background:var(--panel)}
  .phead-label{display:none}
  .phead-desc{margin-top:8px;font-size:14px}
}
/* The 4xx and 5xx pages (views/pages/errors/): several controllers and the error handler render them, so their rules are here, not in a page sheet. */
.error-page{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:560px;margin:0 auto;padding:60px 0;text-align:center}
.error-page .error-code{font-size:64px;line-height:1;font-weight:900;letter-spacing:-.03em;color:var(--faint)}
.error-page .error-heading{margin:0;font-size:24px;font-weight:900;letter-spacing:-.01em;color:var(--ink)}
.error-page .error-message{margin:0;font-size:15px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.error-page .error-ref{margin:0;font-size:13px;color:var(--muted)}
.error-page .error-dev{align-self:stretch;gap:8px;border-color:var(--neg);text-align:left}
.error-page .error-dev-title{font-size:13px;font-weight:800;color:var(--neg)}
.error-page .error-dev p{margin:0;font-size:13px;overflow-wrap:anywhere}
.error-page .error-dev pre{margin:0;font-size:12px;overflow-x:auto;color:var(--muted)}
.error-page .error-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
/* A board table's pager (admin-pager.ejs), boards Admin*. */
.adm-pager{gap:8px;padding:14px 20px;border-top:1px solid var(--row);flex-wrap:wrap}
.adm-pager-count{flex-grow:1}
.adm-pager .btn.sm.mono{min-width:36px;padding:0 8px}
.adm-pager .btn.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.adm-pager-gap{color:var(--muted);padding:0 4px}
.adm-head-desc{max-width:760px}
.adm-back{width:fit-content;gap:6px;margin-bottom:10px;font-size:14px}
/* The admin header's Admin console link shows only in the phone's shell (the block above). */
.adm-console{display:none;align-items:center;gap:6px;align-self:flex-start;padding:0;border:0;background:none;font-family:inherit;font-size:12px;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
/* The callsign search panel, boards Callbook and M-Callbook, on /callbook, /qrz and an unknown callsign's page. */
.srch{container:srch / inline-size;display:flex;flex-direction:column;gap:16px;min-width:0;margin:0;padding:32px 36px;box-sizing:border-box}
.srch-top{display:flex;align-items:center;gap:12px}
.srch-kicker{flex-grow:1;margin:0}
/* One line wherever it fits: English runs about 8.3em, so 11% of the panel leaves it room; a longer title wraps. */
.srch-title{margin:0;font-size:clamp(22px,11cqi,56px);line-height:1;font-weight:900;letter-spacing:-.035em;color:var(--ink)}
.srch-title span{color:var(--accent-line)}
.srch-hint{margin:0;font-size:15px;line-height:1.45;color:var(--muted)}
.srch-quota{display:flex;flex-direction:column;gap:10px}
.srch-quota p{margin:0;font-size:15px;color:var(--muted)}
.srch-quota .row{flex-wrap:wrap;gap:10px}
.srch-form{margin:0}
.srch-field{display:flex;height:64px;box-sizing:border-box;overflow:hidden;border:2px solid var(--ink);border-radius:16px;background:var(--panel)}
.srch-field:focus-within{box-shadow:0 0 0 4px var(--ring)}
.srch-field:has(.f-input-error){border-color:var(--neg)}
.srch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.srch-input{flex-grow:1;min-width:0;height:100%;margin:0;padding:0 22px;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;
  color:var(--ink);font-size:24px;font-weight:700;text-transform:uppercase}
.srch-input:lang(tr){text-transform:none}
.srch-input::placeholder{color:var(--muted);text-transform:none}
.srch-field .srch-go{flex:none;display:flex;align-items:center;justify-content:center;gap:10px;height:100%;margin:0;padding:0 28px;border:0;border-radius:0;
  background:var(--accent-fill);color:var(--accent-fill-ink);font-family:inherit;font-size:17px;font-weight:800;cursor:pointer}
.srch-field .srch-go:disabled{opacity:.6;cursor:not-allowed}
.srch-field .srch-go:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent-fill-ink)}
.srch .errmsg{margin-top:8px}
.srch-recent{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding-top:14px;border-top:1px solid var(--row)}
.srch-recent[hidden]{display:none}
.srch-recent-l{margin-right:6px;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.srch-recent-list{display:contents}
.srch-chip{display:inline-flex;align-items:center;height:30px;margin:0;padding:0 10px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:9px;
  background:var(--panel);color:var(--ink);font-size:14px;font-weight:800;cursor:pointer}
.srch-chip:hover{border-color:var(--accent-line)}
/* Board CallbookResults: a plain title, a board text box beside a Search button, and chips that wrap. */
.srch--compact{gap:12px;padding:24px}
.srch--compact .srch-title{font-size:28px;line-height:1.15;letter-spacing:-.02em}
.srch--compact .srch-title span{color:inherit}
.srch-row{display:flex;align-items:center;gap:8px}
.srch-row .inp{flex-grow:1;min-width:0}
.srch-row .inp.f-input-error{border:2px solid var(--neg)}
.srch-row .btn{height:50px}
.srch--compact .srch-hint{font-size:13px;line-height:1.4}
.srch-quota-left{color:var(--accent-line);font-weight:700}
.srch--compact .srch-recent{padding-top:0;border-top:0}
.srch--compact .srch-recent-l{margin-right:0;font-size:13px;font-weight:700;letter-spacing:0;text-transform:none}
.srch--compact .srch-chip{height:34px;padding:0 11px;border-color:var(--line);border-radius:10px}
@container srch (max-width:599px){
  .srch-hint{font-size:14px}
  .srch-field{height:56px;border-radius:14px}
  .srch-input{padding:0 14px;font-size:20px}
  .srch-field .srch-go{width:56px;padding:0}
  .srch-go-t{display:none}
  .srch-recent{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:8px}
  .srch-recent-l{font-size:10px}
  .srch-recent-list{display:flex;gap:8px;min-width:0;margin:0 -18px;padding:0 18px;overflow-x:auto;scrollbar-width:none}
  .srch-chip{flex:none;height:36px;padding:0 12px;border-radius:10px;font-size:15px}
  .srch--compact .srch-title{font-size:24px}
  .srch--compact .srch-recent{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
  .srch--compact .srch-recent-l{font-size:13px}
  .srch--compact .srch-recent-list{display:contents}
  .srch--compact .srch-chip{height:34px;padding:0 11px;font-size:14px}
  .srch-row{gap:6px}
  .srch-row .btn{padding:0 14px}
  .srch-row .inp{padding:0 12px}
}
/* Map chrome of the Activity and Spotter maps, drawn by map-basemap: zoom, Resume Auto Map, hover cards. */
.map-zoom{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;border:1px solid var(--line);border-radius:12px;
  background:var(--panel);user-select:none}
.map-zoom-step{width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink);
  font-family:inherit;font-size:20px;font-weight:800;line-height:1;cursor:pointer}
.map-zoom-step:hover{background:var(--row)}
.map-zoom-step:focus-visible{outline:2px solid var(--accent-line);outline-offset:1px}
.map-zoom-track{position:relative;width:26px;height:150px}
.map-zoom-track input{position:absolute;top:50%;left:50%;width:150px;height:26px;margin:0;background:transparent;cursor:pointer;
  transform:translate(-50%,-50%) rotate(-90deg);-webkit-appearance:none;appearance:none}
.map-zoom-track input:focus-visible{outline:2px solid var(--accent-line);outline-offset:2px}
/* A large thumb, so older operators can take it on a phone. */
.map-zoom-track input::-webkit-slider-runnable-track{height:8px;border-radius:4px;background:var(--panel2)}
.map-zoom-track input::-moz-range-track{height:8px;border-radius:4px;background:var(--panel2)}
.map-zoom-track input::-webkit-slider-thumb{width:24px;height:24px;margin-top:-8px;border:2px solid var(--panel);border-radius:50%;
  background:var(--accent-line);-webkit-appearance:none;appearance:none}
.map-zoom-track input::-moz-range-thumb{width:20px;height:20px;border:2px solid var(--panel);border-radius:50%;background:var(--accent-line)}
.map--short .map-zoom-track{height:90px}
.map--short .map-zoom-track input{width:90px}
.map--short .map-resume{right:auto;left:50%;transform:translateX(-50%)}
.map-resume{position:absolute;right:18px;bottom:14px;z-index:1000;box-shadow:0 8px 20px -10px rgba(0,0,0,.4)}
.map-notice{position:absolute;left:50%;top:50%;z-index:900;transform:translate(-50%,-50%);max-width:calc(100% - 32px);padding:8px 14px;border:1px solid var(--line-soft);border-radius:10px;background:var(--panel);color:var(--muted);font-size:14px;font-weight:700;text-align:center;pointer-events:none}
.map-notice[hidden]{display:none}
.map-place{display:inline-block;transform:translate(-50%,-50%);white-space:nowrap;font-size:10px;font-weight:600;line-height:1;letter-spacing:.04em;
  color:var(--muted);text-shadow:0 0 2px var(--map-land),0 0 2px var(--map-land),0 0 2px var(--map-land)}
.map-place--city{transform:translate(5px,-50%);font-size:9px;font-weight:500;letter-spacing:0}
.map-card{display:inline-block;margin-left:8px;padding:6px 9px;border:1px solid var(--line-soft);border-radius:10px;background:var(--panel);
  color:var(--ink);font-size:12px;line-height:1.4;white-space:nowrap;box-shadow:0 12px 30px -16px rgba(0,0,0,.45)}
.map-card b{font-family:'Inconsolata',ui-monospace,monospace;font-size:13px;color:var(--ink)}
.map-card-k{color:var(--muted)}
.map-card-div{margin:5px 0;border-top:1px solid var(--line-soft)}
.map-card-badges{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}
/* The leaderboards of the QSL Creator's activity block, with their own phone layout (.ranks--activity). */
.ranks{container:ranks / inline-size;min-width:0}
.ranks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.rk{container:rk / inline-size;display:flex;flex-direction:column;min-width:0;margin:0;padding:22px 24px 8px;box-sizing:border-box}
.rk-head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.rk-head .eb{flex-grow:1;margin:0}
.rk-col{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.rk-list{margin:0;padding:0;list-style:none}
.rk-row{display:flex;align-items:center;gap:12px;height:44px;border-bottom:1px solid var(--row);color:var(--ink);text-decoration:none}
a.rk-row:hover{color:var(--ink)}
a.rk-row:hover .rk-call{color:var(--accent-line)}
.rk-i{flex:none;width:18px;font-size:14px;color:var(--muted)}
.rk-flag{flex:none;width:34px;height:24px;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;object-fit:cover}
.rk-name{flex-grow:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-bar{flex-grow:1;min-width:24px;height:8px;border-radius:4px;background:var(--panel2);overflow:hidden}
.rk-bar i{display:block;height:100%;border-radius:4px;background:var(--ink)}
.rk-bar--short{flex:none;width:90px;height:6px;border-radius:3px}
.rk-bar--short i{background:var(--accent)}
.rk-n{flex:none;min-width:88px;text-align:right;font-size:16px;font-weight:700}
.rk-av{flex:none;width:28px;height:28px;box-sizing:border-box;overflow:hidden;border-radius:7px;border:1px solid var(--line-soft);background:var(--panel2)}
.rk-av img{display:block;width:100%;height:100%;object-fit:cover}
.rk-call{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:800}
.rk-fill{flex-grow:1}
/* A signed-out visitor sees each badge's icon alone; the word stays in the text for screen readers. */
.rk--icons .rk-row :is(.prem-badge,.founder-badge,.donor-badge){gap:0;padding:0 5px;font-size:0}
/* A narrow rank row with two badges keeps the callsign readable: the badges keep only their icons there. */
@container rk (max-width:420px){
  /* A long label in a narrow panel would push the page wider; the column keeps its short half only. */
  .rk-col-wide{display:none}
  .rk-row:has(> :is(.prem-badge,.founder-badge,.donor-badge) + :is(.prem-badge,.founder-badge,.donor-badge)) > :is(.prem-badge,.founder-badge,.donor-badge){gap:0;padding:0 5px;font-size:0}
}
@container ranks (max-width:599px){
  .ranks-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .rk{padding:18px 16px 6px}
  .rk-head{margin-bottom:4px}
  .rk-col{font-size:10px}
  .rk-col-wide{display:none}
  .rk--countries .rk-i{display:none}
  /* A country's bar runs under its name. */
  .ranks--activity .rk--countries .rk-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-content:center;gap:6px 10px;height:52px}
  .ranks--activity .rk--countries .rk-bar{grid-column:2/-1;grid-row:2;width:auto;height:4px;border-radius:2px}
  .rk--active .rk-row{height:48px}
  .rk-flag{height:22px}
  .rk-n{min-width:0;font-size:15px}
  .rk--active .rk-n{font-size:16px}
}
.swline{display:flex;align-items:center;gap:14px;min-height:48px}
.swline .t{flex-grow:1;display:flex;flex-direction:column;gap:2px;font-size:15px;font-weight:800}
.swline .t small{font-size:13px;font-weight:500;color:var(--muted)}
/* Five chips share a phone row: the size follows the width so an eight-letter name (CONTESTI) fits one line. */
.opt{height:46px;padding:0 3px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-family:Inconsolata,monospace;font-size:clamp(10px, calc((100vw - 64px) / 21 - 2px), 17px);font-weight:800;line-height:1.05;cursor:pointer}
.opt.on{border:2px solid var(--accent-line);background:var(--sel-tint)}
.soft{height:46px;border:1px solid transparent;border-radius:12px;background:var(--sel-tint);color:var(--ink);font-family:inherit;font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;width:100%}
.dash{height:48px;border:2px dashed var(--line);border-radius:12px;background:transparent;color:var(--ink);font-family:inherit;font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;width:100%}
.menu{box-sizing:border-box;background:var(--panel);border:1px solid var(--line-soft);border-radius:18px;padding:8px}
.menu .sec{padding:10px 12px 6px;font-size:11px;font-weight:800;letter-spacing:.2em;color:var(--muted)}
.mrow{display:flex;align-items:center;gap:12px;width:100%;height:46px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:var(--ink);font-family:inherit;font-size:15px;font-weight:700;text-align:left;box-sizing:border-box}
.mrow svg{flex-shrink:0;color:var(--muted)}
.mrow.neg,.mrow.neg svg{color:var(--neg)}
.mrow.dis{color:var(--faint)}
.mrow.dis svg{color:var(--faint)}
.mrow.hov{background:var(--row)}
.toast{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--panel);border:1px solid var(--line-soft);box-shadow:0 12px 30px -16px rgba(0,0,0,.4);font-size:14px;font-weight:700}
.toast-error{border-color:var(--danger-text)}.toast-error .toast-icon{color:var(--danger-text)}
.toast-warning{border-color:var(--warn)}.toast-warning .toast-icon{color:var(--warn)}
.toast-success{border-color:var(--accent-line)}.toast-success .toast-icon{color:var(--accent-line)}
.toast-info{border-color:var(--info)}.toast-info .toast-icon{color:var(--info)}
.hint2{display:flex;gap:10px;padding:12px 14px;border-radius:12px;background:var(--panel2);font-size:13px;line-height:1.45;color:var(--muted)}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}
.thumb{position:relative;width:96px;height:62px;border-radius:9px;overflow:hidden;border:1px solid var(--line-soft)}
.thumb span{position:absolute;left:6px;bottom:5px;padding:1px 6px;border-radius:5px;background:rgba(12,16,19,.75);color:#fff;font-size:11px;font-weight:800}
.cap{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:flex;gap:10px;align-items:center;margin-bottom:10px}
.cap::before{content:"";width:22px;height:3px;background:var(--accent-line)}
.cap2{font-size:13px;line-height:1.4;color:var(--muted);margin:-4px 0 10px}

/* Board Notifications: the bell's panel, on every page; notifications.js places and fills it. */
.notif-dropdown{display:none;position:fixed;z-index:1060;box-sizing:border-box;flex-direction:column;max-height:calc(100dvh - 16px);border:1px solid var(--line-soft);border-radius:18px;background:var(--panel);color:var(--ink);overflow:hidden}
.notif-dropdown--open{display:flex}
.notif-dropdown .nd-head{gap:8px;padding:18px 20px 12px}
.notif-dropdown .nd-head h2{flex-grow:1;margin:0;font-size:22px;font-weight:900;color:var(--ink)}
.notif-dropdown .nd-markall{padding:0 8px;color:var(--accent-line)}
.notif-dropdown .nd-close{width:36px;height:36px}
.notif-dropdown .nd-tabs{gap:6px;padding:0 20px 12px;border-bottom:1px solid var(--row)}
.notif-dropdown .nd-tabs .chip{cursor:pointer}
.notif-dropdown .nd-count{color:var(--muted)}
.notif-dropdown .nd-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.notif-dropdown .nd-row{display:flex;align-items:flex-start;gap:12px;padding:14px 20px;border-bottom:1px solid var(--row);background:var(--panel);cursor:pointer}
.notif-dropdown .nd-row.notif-item--unread{background:var(--sel-tint)}
.notif-dropdown .nd-ic{position:relative;flex:none;width:36px;height:36px;border-radius:10px;background:var(--panel2);color:var(--ink);display:flex;align-items:center;justify-content:center}
.notif-dropdown .notif-item--unread .nd-ic{background:var(--accent);color:var(--accent-ink)}
.notif-dropdown .nd-text{flex-grow:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.notif-dropdown .notif-item-title{font-size:15px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
.notif-dropdown .notif-item-time{font-size:13px;color:var(--muted)}
.notif-dropdown .notif-item-unread-dot{position:relative;flex:none;width:9px;height:9px;margin-top:6px;padding:0;border:0;border-radius:50%;background:var(--accent-line);cursor:pointer}
/* The dot is 9px on the board; this gives it a finger-sized target. */
.notif-dropdown .notif-item-unread-dot::after{content:'';position:absolute;inset:-14px}
.notif-dropdown .notif-item-group-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;box-sizing:border-box;padding:0 4px;border-radius:9px;background:var(--chip);color:var(--chip-ink);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.notif-dropdown .notif-item--busy{opacity:.6;pointer-events:none}
.notif-dropdown .notif-dropdown-empty{padding:28px 20px;text-align:center;font-size:14px;color:var(--muted)}
.notif-dropdown .nd-all{display:block;padding:14px 0;text-align:center;font-size:14px;font-weight:800;color:var(--accent-line)}

/* The member badges, from public/js/icons.js premiumBadge(), founderBadge() and donorBadge(): one shape, the icon first. */
:is(.prem-badge,.founder-badge,.donor-badge){display:inline-flex;align-items:center;gap:4px;width:fit-content;height:22px;padding:0 8px;box-sizing:border-box;border-radius:7px;font-size:12px;font-weight:800;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:middle}
:is(.prem-badge,.founder-badge,.donor-badge) svg,.mrow.dis :is(.prem-badge,.founder-badge,.donor-badge) svg{flex:none;color:inherit}
.prem-badge{background:var(--accent-fill);color:var(--accent-fill-ink)}
/* A badge on a locked option links to Premium, and stays pressable inside a disabled control. */
a.prem-link{display:inline-flex;flex:none;border-radius:7px;text-decoration:none;cursor:pointer;pointer-events:auto}
a.prem-link:hover .prem-badge{filter:brightness(1.08)}
a.prem-link:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring)}
.founder-badge{background:var(--gold);color:var(--gold-ink)}
.donor-badge{border:1px solid var(--neg);background:transparent;color:var(--neg)}
/* What the old sheets still give some pages, in their old order (styles.css, new-design.css, the bridge), below every
   unlayered rule; their colours are the old light ones, as --old- names, until a step redoes each part. */
@layer legacy{
:root{--old-page-bg:#f1f5f96b;--old-surface:#fff;--old-border:#ecebe6;--old-border-light:#f3f2ee;--old-text:#1c1a17;--old-text-2:#57534e;--old-text-3:#94a3b8;--old-text-inv:#fff;--old-pri:#059669;--old-pri-hover:#047857;--old-pri-bg:#ecfdf5;--old-pri-text:#065f46;--old-pri-ring:rgba(5, 150, 105, .25);--old-info:#3b82f6;--old-info-bg:#eff6ff;--old-ok:#22c55e;--old-ok-bg:#f0fdf4;--old-warn:#f59e0b;--old-warn-bg:#fffbeb;--old-warn-text:#92400e;--old-err:#ef4444;--old-err-bg:#fef2f2;--old-err-text:#991b1b;--old-r:8px;--old-r-sm:6px;--old-r-lg:12px;--old-font:'Archivo', system-ui, -apple-system, sans-serif}
/* Inside the shared dialog these follow the theme, as they did there before. */
dialog.app-dialog{--old-text:var(--ink);--old-text-2:var(--muted);--old-text-3:var(--muted);--old-surface:var(--panel);--old-page-bg:var(--panel2);--old-border:var(--line);--old-err:var(--danger-text);--old-err-bg:var(--danger-bg);--old-err-text:var(--danger-ink);--old-info-bg:var(--panel2);--old-info:var(--accent-line)}
@keyframes qrz-pulse{0%, 100% { opacity: .4; } 50% { opacity: 1; }}
@keyframes dz-spin{to { transform: rotate(360deg); }}
@keyframes toast-in{from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); }}
@keyframes dw-heartbeat{0%, 100% { transform: scale(1); } 14% { transform: scale(1.15); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } 56% { transform: scale(1); }}
@keyframes meter-voice{0%   { opacity: 0; clip-path: inset(0 0 0 25%); } 15%  { opacity: 0; clip-path: inset(0 0 0 25%); } 17%  { opacity: .5; clip-path: inset(0 0 0 20%); } 19%  { opacity: .1; clip-path: inset(0 0 0 24%); } 21%  { opacity: .55; clip-path: inset(0 0 0 15%); } 23%  { opacity: .1; clip-path: inset(0 0 0 22%); } 25%  { opacity: .45; clip-path: inset(0 0 0 18%); } 27%  { opacity: 0; clip-path: inset(0 0 0 25%); } 44%  { opacity: 0; clip-path: inset(0 0 0 25%); } 46%  { opacity: .4; clip-path: inset(0 0 0 21%); } 48%  { opacity: .08; clip-path: inset(0 0 0 24%); } 50%  { opacity: .5; clip-path: inset(0 0 0 16%); } 52%  { opacity: .08; clip-path: inset(0 0 0 23%); } 54%  { opacity: .5; clip-path: inset(0 0 0 14%); } 56%  { opacity: .08; clip-path: inset(0 0 0 23%); } 58%  { opacity: .35; clip-path: inset(0 0 0 19%); } 60%  { opacity: 0; clip-path: inset(0 0 0 25%); } 78%  { opacity: 0; clip-path: inset(0 0 0 25%); } 80%  { opacity: .4; clip-path: inset(0 0 0 20%); } 82%  { opacity: .08; clip-path: inset(0 0 0 24%); } 84%  { opacity: .4; clip-path: inset(0 0 0 17%); } 86%  { opacity: 0; clip-path: inset(0 0 0 25%); } 100% { opacity: 0; clip-path: inset(0 0 0 25%); }}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){@keyframes pulse{0%,100%{opacity:.35}50%{opacity:1}}}
*, *::before, *::after{box-sizing: border-box}
html{font-size: 15px}
body{font-family: var(--old-font); color: var(--old-text); background: var(--old-page-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; font-weight: 400; overflow-x: hidden}
a{color: var(--old-pri)}
strong, b{font-weight: 600}
.premium-text > span{font-weight: inherit; display: inline; transition: color .15s}
#sidebarPremium.premium-flash{animation: premiumPulse 2s ease-in-out 2 alternate}
#sidebarPremium.premium-flash .premium-text > span{animation: premiumLetterColour 1s ease-in-out 2 alternate both}
#sidebarPremium.premium-flash .premium-text > span:nth-child(1){animation-delay: 0s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(2){animation-delay: .15s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(3){animation-delay: .3s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(4){animation-delay: .45s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(5){animation-delay: .6s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(6){animation-delay: .75s}
#sidebarPremium.premium-flash .premium-text > span:nth-child(7){animation-delay: .9s}
.main-content{padding: 0; width: 100%; flex: 1; display: flex; flex-direction: column}
.app-footer{width: 100%; padding: 28px 0 0; /* border-top: 1px solid var(--old-border); */ color: var(--old-text-3); font-size: .867rem; line-height: 1.8; text-align: center; margin-top: auto}
.app-footer--creator{/* calc(100% - 32px) not plain 100%: width+margin are independent boxes, so bare 100% + the 32px left margin overflowed by 32px at 768px (regression test: tests/browser/specs/responsive/no-hscroll.spec.js). */ width: min(calc(100% - 32px), 960px); align-self: flex-start; padding-bottom: 8px; margin: -24px 0 20px 32px}
.app-footer__links{display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap}
.app-footer a{color: var(--old-text-3); text-decoration: none; margin: 0; font-weight: 400}
.app-footer a:hover{color: var(--old-pri)}
.page-header{display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; min-height: 34px; /* margin-bottom: 24px; */ margin-bottom: 19px}
.page-title{font-size: 1.4rem; font-weight: 600; margin: 0; letter-spacing: -.3px; min-height: 34px; display: inline-flex; align-items: center}
.page-header-right{margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap}
.page-header-tools{display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap}
.page-header-tool{display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--old-border); border-radius: var(--old-r-sm); background: var(--old-surface); color: var(--old-text-2); font-size: .867rem; font-weight: 500; line-height: 1; text-decoration: none; transition: border-color .15s, background .15s, color .15s}
.page-header-tool:hover{border-color: var(--old-text-3); background: var(--old-page-bg); color: var(--old-text); text-decoration: none}
.page-header-tool--premium{border-color: var(--old-pri); background: var(--old-pri-bg); color: var(--old-pri-text)}
.page-header-tool--premium:hover{border-color: var(--old-pri-hover); background: #dff7eb; color: var(--old-pri-text)}
.page-header-tool--premium svg{color: var(--old-pri)}
.page-header-tool--support, .page-header-tool--notifications, .page-header-tool--ai{position: relative; justify-content: center; width: 34px; height: 34px; padding: 0; gap: 0; border-radius: 999px; flex-shrink: 0; border-color: transparent; background: transparent; color: var(--old-text)}
.page-header-tool--support:hover, .page-header-tool--notifications:hover, .page-header-tool--ai:hover{border-color: transparent; background: transparent; color: var(--old-pri-hover)}
/* The bell beside it is a link, which the global link rules colour at rest and on hover; this button takes the same colours. */
.page-header-tool--ai{color: var(--accent-line)}
.page-header-tool--ai:hover{color: var(--ink)}
.page-header-tool--active{border-color: var(--old-pri); background: var(--old-pri-bg); color: var(--old-pri-text)}
.page-header-tool-badge{display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--old-err); color: #fff; font-size: .65rem; font-weight: 600; line-height: 1}
.page-header-tool--support .page-header-tool-badge, .page-header-tool--notifications .page-header-tool-badge{position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; color: var(--old-text-inv); box-shadow: none}
.page-header-tool--notifications .page-header-tool-badge{background: var(--old-pri)}
.panel{background: var(--old-surface); border: 1px solid var(--old-border); border-radius: var(--old-r-lg); padding: 24px; margin-bottom: 16px}
.panel-compact{padding: 14px 20px}
.panel-scroll{overflow-x: auto}
.section-label{font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--old-text-3); margin: 0 0 10px}
.form-group{display: flex; flex-direction: column; gap: 5px}
.f-labeled{display: flex; border: 1px solid var(--old-border); border-radius: var(--old-r-sm); overflow: hidden; background: var(--old-surface); transition: border-color .15s}
.f-labeled:focus-within{border-color: var(--old-pri); box-shadow: 0 0 0 2px var(--old-pri-ring)}
.qrz-photo{flex: none; background: var(--old-page-bg); color: var(--old-text-3); display: none; align-items: center; justify-content: center; margin: 0; border: none; border-left: 1px solid var(--old-border); min-width: 38px; position: relative; overflow: hidden}
.qrz-photo--visible{display: flex}
.qrz-photo--loading .qrz-photo__placeholder{animation: qrz-pulse 1.5s ease-in-out infinite}
.qrz-photo .qrz-photo__placeholder{font-size: 1.1rem; position: absolute}
.qrz-photo .qrz-photo__img{position: absolute; top: 0; left: 0; height: 100%; width: auto; display: block; opacity: 0; transition: opacity .3s}
.qrz-photo .qrz-photo__img--loaded{opacity: 1}
.f-label{background: var(--old-page-bg); color: var(--old-text-2); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; padding: 10px 12px; white-space: nowrap; display: flex; align-items: center; border-right: 1px solid var(--old-border); min-width: 76px; flex-shrink: 0}
.f-labeled input, .f-labeled select, .f-labeled textarea{border: none; outline: none; padding: 10px 12px; font-size: .933rem; font-family: var(--old-font); flex: 1; min-width: 0; background: transparent; color: var(--old-text)}
.f-labeled select{-webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px}
.f-labeled input:disabled, .f-labeled select:disabled{opacity: .5; cursor: not-allowed}
.f-labeled input[type="color"]{flex: 1 1 32px; min-width: 32px; padding: 2px; border: none; height: auto}
label.f-top{font-size: .8rem; font-weight: 600; color: var(--old-text-2); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; display: block}
.helper-text{display: block; font-size: .8rem; color: var(--old-text-3); margin-top: 4px}
input.f-input, select.f-input, textarea.f-input{width: 100%; border: 1px solid var(--old-border); border-radius: var(--old-r-sm); background: var(--old-surface); padding: 10px 12px; font-size: .933rem; font-family: var(--old-font); outline: none; color: var(--old-text); transition: .15s}
input.f-input:focus, select.f-input:focus, textarea.f-input:focus{border-color: var(--old-pri); box-shadow: 0 0 0 2px var(--old-pri-ring)}
input.f-input:disabled{opacity: .5; cursor: not-allowed}
textarea.f-input{resize: vertical}
.callsign-search-btn{background: var(--old-pri-bg); color: var(--old-pri-text); border-color: rgba(5, 150, 105, .2)}
.callsign-search-btn:hover, .callsign-search-btn:focus-visible{background: var(--accent-fill); color: var(--accent-fill-ink); border-color: var(--accent-fill)}
.callsign-search-btn:active{background: var(--accent-fill-hover); color: var(--accent-fill-ink); border-color: var(--accent-fill-hover)}
.callsign-search-btn:disabled, .callsign-search-btn[aria-disabled="true"]{background: var(--old-page-bg); color: var(--old-text-3); border-color: var(--old-border); cursor: not-allowed; box-shadow: none}
.callsign-search-btn:disabled:hover, .callsign-search-btn:disabled:focus-visible, .callsign-search-btn[aria-disabled="true"]:hover, .callsign-search-btn[aria-disabled="true"]:focus-visible{background: var(--old-page-bg); color: var(--old-text-3); border-color: var(--old-border)}
.f-input-with-action .callsign-search-btn, .f-labeled .callsign-search-btn{background: var(--old-pri-bg); color: var(--old-pri-text); border-left-color: rgba(5, 150, 105, .2)}
.f-input-with-action .callsign-search-btn:hover, .f-input-with-action .callsign-search-btn:focus-visible, .f-labeled .callsign-search-btn:hover, .f-labeled .callsign-search-btn:focus-visible{background: var(--accent-fill); color: var(--accent-fill-ink); border-left-color: var(--accent-fill)}
.f-input-with-action .callsign-search-btn:active, .f-labeled .callsign-search-btn:active{background: var(--accent-fill-hover); color: var(--accent-fill-ink); border-left-color: var(--accent-fill-hover)}
.f-input-with-action .callsign-search-btn:disabled, .f-labeled .callsign-search-btn:disabled, .f-input-with-action .callsign-search-btn[aria-disabled="true"], .f-labeled .callsign-search-btn[aria-disabled="true"]{background: var(--old-page-bg); color: var(--old-text-3); border-left-color: var(--old-border)}
.f-input-with-action .callsign-search-btn:disabled:hover, .f-input-with-action .callsign-search-btn:disabled:focus-visible, .f-labeled .callsign-search-btn:disabled:hover, .f-labeled .callsign-search-btn:disabled:focus-visible, .f-input-with-action .callsign-search-btn[aria-disabled="true"]:hover, .f-input-with-action .callsign-search-btn[aria-disabled="true"]:focus-visible, .f-labeled .callsign-search-btn[aria-disabled="true"]:hover, .f-labeled .callsign-search-btn[aria-disabled="true"]:focus-visible{background: var(--old-page-bg); color: var(--old-text-3); border-left-color: var(--old-border)}
.btn{display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 20px; font-size: .933rem; font-weight: 500; font-family: var(--old-font); border: 1px solid transparent; border-radius: var(--old-r-sm); cursor: pointer; transition: .15s; text-decoration: none; white-space: nowrap}
.btn:hover{text-decoration: none}
.btn-pri{background: var(--accent-fill); color: var(--accent-fill-ink); border-color: var(--accent-fill)}
.btn-pri:hover{background: var(--accent-fill-hover); color: var(--accent-fill-ink)}
.btn-sec{background: var(--old-surface); color: var(--old-text); border-color: var(--old-border)}
.btn-sec:hover{background: var(--old-page-bg)}
.badge-queued{background: var(--old-warn-bg); color: var(--old-warn-text)}
.badge-sent{background: var(--old-pri-bg); color: var(--old-pri-text)}
.badge-delivered{background: #d1e7dd; color: #0f5132}
.badge-failed{background: var(--old-err-bg); color: var(--old-err-text)}
.badge-confirmed{background: var(--old-info-bg); color: var(--old-info)}
.badge-prop{font-size: .65rem; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; letter-spacing: .3px; font-weight: 600; border-radius: 3px}
.badge-prop-sat{background: #e8f0fe; color: #1a56db}
.badge-prop-eme{background: #f3e8ff; color: #7c3aed}
.badge-prop-ms{background: #fef3c7; color: #b45309}
.badge-prop-other{background: var(--old-page-bg); color: var(--old-text-3); border: 1px solid var(--old-border)}
.chip{padding: 5px 12px; border-radius: var(--old-r-sm); font-size: .8rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px}
.dz{display: flex; align-items: center; gap: 16px; padding: 28px 24px; border: 2px dashed var(--old-border); border-radius: var(--old-r-lg); background: var(--old-surface); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; text-decoration: none; position: relative}
.dz:hover{border-color: var(--old-pri); background: var(--old-pri-bg)}
.dz:focus-visible{border-color: var(--old-pri); outline: 3px solid var(--old-pri-ring); outline-offset: 2px}
.dz.dz--drag{border-style: solid; border-color: var(--old-pri); background: var(--old-pri-bg); box-shadow: 0 0 0 4px var(--old-pri-ring)}
.dz.dz--has-file{border-style: solid; border-color: var(--old-pri); background: var(--old-pri-bg); cursor: default}
.dz.dz--error{border-style: solid; border-color: var(--old-err); background: var(--old-err-bg)}
.dz.dz--disabled{opacity: .5; pointer-events: none; cursor: not-allowed; background: var(--old-page-bg)}
.dz.dz--disabled .dz-icon i{color: var(--old-text-3)}
.dz-icon{width: 52px; height: 52px; border-radius: var(--old-r); background: var(--old-page-bg); border: 1px solid var(--old-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .2s}
.dz-icon i{font-size: 1.5rem; color: var(--old-pri)}
.dz:hover .dz-icon{background: var(--old-surface); border-color: var(--old-pri)}
.dz-text{display: flex; flex-direction: column; min-width: 0}
.dz-title{font-weight: 600; font-size: .933rem; color: var(--old-text)}
.dz-sub{font-size: .867rem; color: var(--old-text-2)}
.dz-meta{font-size: .8rem; color: var(--old-text-3); margin-top: 2px}
.dz-idle{display: flex; align-items: center; gap: 16px}
.dz.dz--has-file .dz-idle{display: none}
.dz-file{display: flex; align-items: center; gap: 14px; width: 100%}
.dz-file-icon{width: 40px; height: 40px; border-radius: var(--old-r-sm); background: var(--old-pri-bg); color: var(--old-pri-text); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0}
.dz-file-info{display: flex; flex-direction: column; min-width: 0; flex: 1}
.dz-file-name{font-weight: 600; font-size: .933rem; color: var(--old-pri-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.dz-file-meta{font-size: .8rem; color: var(--old-text-3)}
.dz-file-remove{background: none; border: none; color: var(--old-text-3); cursor: pointer; padding: 6px; font-size: .933rem; border-radius: var(--old-r-sm); transition: .15s; flex-shrink: 0}
.dz-file-remove:hover{color: var(--old-err); background: var(--old-err-bg)}
.dz.dz--processing .dz-file-icon i{display: none}
.dz.dz--processing .dz-file-icon::after{content: ''; width: 20px; height: 20px; border: 2px solid var(--old-border); border-top-color: var(--old-pri); border-radius: 50%; animation: dz-spin .6s linear infinite}
.dz-status{margin-top: 6px}
.dz-hint{font-size: .8rem; color: var(--old-text-3)}
.dz-error-msg{font-size: .8rem; color: var(--old-err-text); display: flex; align-items: center; gap: 4px}
@media (max-width: 767px){.dz{flex-direction: column; text-align: center; padding: 24px 16px}}
@media (max-width: 767px){.dz-idle{flex-direction: column; text-align: center}}
@media (max-width: 767px){.dz-file{flex-direction: column; text-align: center}}
.tbl{width: 100%; border-collapse: collapse; font-size: .933rem}
.tbl th{text-align: left; font-weight: 600; color: var(--old-text-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; padding: 10px 14px; border-bottom: 2px solid var(--old-border); white-space: nowrap}
.tbl td{padding: 10px 14px; border-bottom: 1px solid var(--old-border-light); vertical-align: middle}
.tbl tr:hover td{background: var(--old-page-bg)}
.tbl .cell-call{font-weight: 600; letter-spacing: .2px}
.info-grid{display: grid; grid-template-columns: 140px 1fr; gap: 0}
.profile-photo-uploader__avatar{position: relative; width: 72px; height: 72px; flex: 0 0 auto}
.profile-photo-uploader__photo{width: 72px; height: 72px; border-radius: var(--old-r-lg); object-fit: cover; display: block; box-shadow: 0 10px 24px rgba(15, 23, 42, .12)}
.profile-photo-uploader__avatar .avatar-lg{width: 72px; height: 72px; border-radius: var(--old-r-lg); font-size: 1.35rem; box-shadow: 0 10px 24px rgba(15, 23, 42, .12)}
.profile-photo-uploader__action{position: absolute; right: 1px; top: 1px; width: 22px; height: 22px; border: 1px solid rgba(15, 23, 42, .12); border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--old-text); font-size: .62rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(15, 23, 42, .14); transition: transform .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease}
.profile-photo-uploader__action:hover, .profile-photo-uploader__action:focus-visible{border-color: rgba(5, 150, 105, .25); color: var(--old-pri); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15, 23, 42, .18)}
.profile-photo-uploader__action.is-disabled, .profile-photo-uploader__action[aria-disabled="true"]{cursor: wait; opacity: .7; transform: none; pointer-events: none}
.profile-photo-upload-status{margin: 10px 0 0}
.app-inline-status{color: var(--old-text-2)}
.app-inline-status--muted{color: var(--old-text-2)}
.app-inline-status--success{color: var(--old-ok, #166534)}
.app-inline-status--error{color: var(--old-err)}
.app-inline-status__text{color: inherit; font-size: inherit}
.avatar-lg{width: 64px; height: 64px; border-radius: 50%; background: var(--old-pri); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.4rem; flex-shrink: 0}
.info-label{padding: 10px 0; border-bottom: 1px solid var(--old-border-light); color: var(--old-text-2); font-weight: 500; font-size: .933rem}
.info-val{padding: 10px 0; border-bottom: 1px solid var(--old-border-light); font-size: .933rem; font-weight: 400}
.info-grid > :nth-last-child(-n+2){border-bottom: none}
.pgn{display: flex; gap: 2px; justify-content: center; margin-top: 16px; flex-wrap: wrap}
.pgn a, .pgn span{padding: 6px 12px; border-radius: var(--old-r-sm); font-size: .867rem; font-weight: 500; text-decoration: none; color: var(--old-text-2); border: 1px solid var(--old-border); background: var(--old-surface)}
.pgn .pg-active{background: var(--old-pri); color: #fff; border-color: var(--old-pri)}
.pgn a:hover{border-color: var(--old-pri); color: var(--old-pri)}
[data-scroll-fade]{--sef-l: 0px; --sef-r: 0px}
[data-scroll-fade].has-scroll-left{--sef-l: 32px}
[data-scroll-fade].has-scroll-right{--sef-r: 32px}
[data-scroll-fade].has-scroll-left, [data-scroll-fade].has-scroll-right{-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sef-l), #000 calc(100% - var(--sef-r)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--sef-l), #000 calc(100% - var(--sef-r)), transparent 100%)}
.grid-2col{display: grid; grid-template-columns: 1fr 1fr; gap: 16px}
.toast{pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--old-r); border: 1px solid var(--old-border); background: var(--old-surface); box-shadow: 0 8px 24px rgba(0,0,0,.12); font-size: .933rem; line-height: 1.5}
.toast-stack{position: fixed; left: calc(50% + var(--navw) / 2); top: calc(var(--topbar) + 16px); transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: min(92vw, calc(100vw - var(--navw) - 24px)); pointer-events: none}
.no-nav .toast-stack{left: 50%; top: calc(env(safe-area-inset-top) + 16px); max-width: min(92vw, calc(100vw - 24px))}
.toast-stack .toast{pointer-events: auto; width: auto; max-width: 100%; margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--toast-bg); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-size: 15px; line-height: 1.35; animation: toast-in .25s ease}
.toast-icon{font-size: 1.1rem; flex-shrink: 0}
.toast-text{flex: 1; min-width: 0; padding: .75rem; white-space: pre-line; overflow-wrap: anywhere}
.toast-action{flex-shrink: 0; min-height: 36px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel2); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer}
.toast-dismiss{background: none; border: none; color: var(--old-text-3); font-size: 1.1rem; cursor: pointer; padding: 4px; margin-left: 2px; flex-shrink: 0; min-width: 32px; min-height: 32px}
.toast-dismiss:hover{color: var(--old-text)}
.toast{transition: opacity .2s, transform .2s}
.opt-saved{outline: 2px solid var(--old-pri); outline-offset: 1px; border-radius: var(--old-r-sm); transition: outline-color .3s ease}
.opt-error{outline: 2px solid var(--old-err); outline-offset: 1px; border-radius: var(--old-r-sm); transition: outline-color .3s ease}
:is(input, select, textarea).opt-saved, :is(.f-labeled, .f-input-with-action):has(.opt-saved){outline: 2px solid var(--old-pri); outline-offset: 1px}
:is(input, select, textarea).opt-error, :is(.f-labeled, .f-input-with-action):has(.opt-error){outline: 2px solid var(--old-err); outline-offset: 1px}
:is(.f-labeled, .f-input-with-action) :is(.opt-saved, .opt-error){outline: none}
.f-error-msg{color: var(--old-err-text); font-size: .8rem; font-weight: 400; margin-top: 4px; display: flex; align-items: center; gap: 4px}
.f-input.f-input-error{border-color: var(--old-err)}
.f-input.f-input-error:focus{box-shadow: 0 0 0 2px rgba(239,68,68,.2)}
.f-labeled.f-labeled-error{border-color: var(--old-err)}
.f-labeled.f-labeled-error:focus-within{border-color: var(--old-err); box-shadow: 0 0 0 2px rgba(239,68,68,.2)}
.validation-banner{background: var(--old-err-bg); border: 1px solid var(--old-err); border-radius: var(--old-r); padding: 14px 18px; margin-bottom: 16px}
.validation-banner-title{font-weight: 600; font-size: .933rem; color: var(--old-err-text); margin-bottom: 6px; display: flex; align-items: center; gap: 6px}
.validation-banner ul{margin: 0; padding: 0 0 0 18px; font-size: .867rem; color: var(--old-err-text)}
.validation-banner li{margin-bottom: 2px}
.modal-title{font-weight: 600; font-size: 1rem; margin: 0}
.app-modal-footer{display: flex; align-items: center; justify-content: space-between; gap: 12px}
.app-modal-footer__cancel{flex: 0 0 auto}
.app-modal-footer__actions{display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto}
.creator-wrap{max-width: 960px}
.location-lookup .f-label{min-width: auto; padding: 10px 12px; font-size: 1rem}
.location-lookup .f-labeled .btn{border-radius: 0; flex-shrink: 0}
:where(dialog.app-dialog) a{color: var(--accent-line)}
#authModal .alert{font-size: .867rem; border-radius: var(--old-r-sm); padding: 10px 14px; margin-top: 12px}
.auth-inline-error{color: var(--old-err); font-size: .8rem; margin-top: 4px}
.text-mono{font-family: 'SF Mono', 'Consolas', monospace}
.d-none{display: none}
.admin-page{}
.badge-ok{background: var(--old-ok-bg); color: #166534}
.badge-info{background: var(--old-info-bg); color: #1e40af}
.badge-premium{background: var(--old-ok-bg); color: #166534}
.badge-premium-trial{background: var(--old-page-bg); color: var(--old-text-3); border: 1px solid var(--old-border)}
.badge-founder, .badge-premium-lifetime{background: linear-gradient(135deg, rgba(20, 184, 166, .14), rgba(251, 191, 36, .24)); color: #8a4b08; border: 1px solid rgba(217, 119, 6, .18)}
.badge-founder{font-size: .72rem; padding: 2px 8px; gap: 3px}
.badge-donor{background: var(--old-warn-bg); color: var(--old-warn-text)}
.badge-muted{background: var(--old-page-bg); color: var(--old-text-3)}
.badge-light{background: var(--old-page-bg); color: var(--old-text-2); border: 1px solid var(--old-border)}
@media (max-width: 767px){.app-modal-footer{flex-wrap: wrap}}
@media (max-width: 767px){.app-modal-footer__actions{width: auto}}
@media (max-width: 767px){.page-header{flex-direction: column; align-items: flex-start}}
@media (max-width: 767px){.page-header-right{width: 100%; margin-left: 0; justify-content: flex-start}}
@media (max-width: 767px){.page-header-tools{display: none}}
@media (max-width: 767px){.info-grid{grid-template-columns: 110px 1fr}}
@media (max-width: 767px){.grid-2col{grid-template-columns: 1fr}}
@media (max-width: 767px){.app-footer{padding-top: 24px}}
@media (max-width: 767px){.app-footer--creator{margin-left: 16px; margin-right: 16px; width: auto}}
@media (max-width: 767px){html{font-size: 14px}}
.impersonation-banner{display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: var(--old-warn-bg); border: 1px solid var(--old-warn); border-radius: var(--old-r-sm); font-size: .933rem; color: var(--old-warn-text); margin-bottom: 16px}
.impersonation-banner-actions{display: flex; align-items: center; gap: 12px}
.beta-banner{display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; background: var(--old-warn-bg); border: 1px solid var(--old-warn); border-radius: var(--old-r-sm); font-size: .867rem; color: var(--old-text); margin-bottom: 1.5rem; transition: background .15s, box-shadow .15s}
.beta-banner:hover{background: #fef3c7; box-shadow: 0 0 0 3px var(--old-warn-bg); color: var(--old-text)}
.beta-banner-link{display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; color: inherit; text-decoration: none; cursor: pointer}
.beta-banner-link:hover{color: inherit; text-decoration: none}
.beta-banner-link > svg:first-child{font-size: 1.25rem; color: var(--old-warn); flex-shrink: 0}
.beta-banner-copy{min-width: 0}
.beta-banner-dismiss{display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; border-radius: var(--old-r-sm); background: transparent; color: var(--old-text-3); cursor: pointer; flex: 0 0 auto}
.beta-banner-dismiss:hover{background: rgba(255,255,255,.55); color: var(--old-text)}
.beta-banner-dismiss:focus-visible{outline: 2px solid var(--old-pri); outline-offset: 2px}
.site-banner-cq{container-type: inline-size}
.site-banner-actions{display: flex; align-items: center; gap: 12px; flex-shrink: 0}
@container (max-width: 768px){.beta-banner{flex-wrap: wrap; align-items: flex-start}}
@container (max-width: 768px){.beta-banner .beta-banner-link{order: 1; flex-basis: 0}}
@container (max-width: 768px){.beta-banner .beta-banner-dismiss{order: 2}}
@container (max-width: 768px){.beta-banner .site-banner-actions{order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 2px}}
@container (max-width: 768px){.beta-banner .site-banner-actions .btn{width: 100%; justify-content: center}}
@container (max-width: 768px){.beta-banner .site-banner-actions a:not(.btn){text-align: center}}
.topbar-bell, .topbar-support{background: none; border: none; color: var(--old-text); font-size: 1.2rem; cursor: pointer; padding: 4px; position: relative; display: flex; align-items: center; text-decoration: none}
.topbar-bell-badge{position: absolute; top: -2px; right: -4px; background: var(--old-err); color: #fff; font-size: .65rem; font-weight: 600; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1}
.empty-state{text-align: center; padding: 48px 24px; color: var(--old-text-3); font-size: .933rem}
.empty-state i{display: block; font-size: 2.5rem; margin-bottom: 8px; color: var(--old-text-3)}
.empty-state p{margin: 0}
.empty-state-title{margin: 12px 0 6px; font-size: 1.1rem; font-weight: 600; color: var(--old-text)}
.empty-state-copy{color: var(--old-text-2); font-size: .933rem}
.qrz-status{display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--old-text-2); padding: 8px 12px; background: var(--old-page-bg); border-radius: var(--old-r-sm)}
.qrz-status i{font-size: 1rem}
[data-callsign-search-input]{text-transform: uppercase}
[data-callsign-search-input]:lang(tr){text-transform: none}
[data-callsign-search-input]::placeholder{text-transform: none}
.leaflet-div-icon.activity-map-label, .leaflet-div-icon.dq-map-label{width: auto !important; height: auto !important; background: transparent; border: none; box-shadow: none; margin: 0; pointer-events: none}
.callsign-invitations-panel{padding: 0; overflow-x: auto}
.callsign-invitations-table__note, .callsign-invitations-table__accepted-at{margin-top: 6px}
.callsign-invitation-review-modal__subtitle{margin: 6px 0 0; font-size: .85rem; color: var(--old-text-2)}
.callsign-invitation-review-modal__layout{display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr); gap: 18px; min-height: 100%}
.callsign-invitation-review-modal__preview-pane, .callsign-invitation-review-modal__sidebar{min-width: 0}
.callsign-invitation-review-modal__preview-card, .callsign-invitation-review-modal__sidebar{border: 1px solid var(--old-border); border-radius: var(--old-r-lg); background: var(--old-surface)}
.callsign-invitation-review-modal__preview-card{display: grid; gap: 12px; padding: 14px; background: linear-gradient(180deg, rgba(248,250,252,.96) 0%, rgba(255,255,255,.98) 100%)}
.callsign-invitation-review-modal__preview-toolbar{display: flex; align-items: flex-start; justify-content: space-between; gap: 12px}
.callsign-invitation-review-modal__eyebrow{font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--old-text-3)}
.callsign-invitation-review-modal__subject{margin-top: 4px; font-size: 1rem; font-weight: 600; color: var(--old-text)}
.callsign-invitation-review-modal__preview-meta{display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--old-text-2)}
.callsign-invitation-review-modal__preview-recipient{font-weight: 600; color: var(--old-text)}
.callsign-invitation-review-modal__preview-status{min-height: 20px; font-size: .82rem; color: var(--old-text-2)}
.callsign-invitation-review-modal__preview-status--loading{color: var(--old-text-2)}
.callsign-invitation-review-modal__preview-status--success{color: var(--accent-line)}
.callsign-invitation-review-modal__preview-status--error{color: var(--old-err)}
.callsign-invitation-review-modal__frame-wrap{min-height: 620px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: var(--old-r); overflow: hidden; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6)}
.callsign-invitation-review-modal__frame{display: block; width: 100%; min-height: 620px; border: 0; background: #ffffff}
.callsign-invitation-review-modal__sidebar{display: grid; align-content: start; gap: 14px; padding: 16px}
.callsign-invitation-review-modal__summary{padding-bottom: 14px; border-bottom: 1px solid var(--old-border-light)}
.callsign-invitation-review-modal__callsign{margin-top: 6px; font-size: 1.2rem; font-weight: 700}
.callsign-invitation-review-modal__summary-copy{margin: 10px 0 0; font-size: .9rem; line-height: 1.55; color: var(--old-text-2)}
.qrz-invite-modal__copy{margin: 8px 0 0; color: var(--old-text-2); line-height: 1.45}
.callsign-invite-modal__fields{display: grid; gap: 14px; margin-top: 14px}
.qrz-profile-map-empty__title, .qrz-profile-map-empty__copy{margin: 0; padding: 10px 14px; background: rgba(255,255,255,.9); border: 1px solid rgba(148,163,184,.3); box-shadow: 0 10px 30px rgba(15,23,42,.08)}
.qrz-profile-map-empty__title{border-radius: 999px; font-weight: 600; color: var(--old-text)}
.qrz-profile-map-empty__copy{max-width: 420px; margin-top: 10px; border-radius: var(--old-r); color: var(--old-text-2); line-height: 1.5}
.callsign-invite-status{margin: 16px 0 0}
@media (max-width: 960px){.callsign-invitation-review-modal__layout{grid-template-columns: 1fr}}
@media (max-width: 960px){.callsign-invitation-review-modal__frame-wrap, .callsign-invitation-review-modal__frame{min-height: 420px}}
@media (max-width: 575.98px){.qrz-profile-map-empty__title, .qrz-profile-map-empty__copy{padding: 9px 12px}}
.rtp{padding: 10px 12px; background: var(--old-page-bg); border: 1px solid var(--old-border); border-left: 4px solid var(--old-pri, #2563eb); border-radius: var(--old-r-sm, 4px); font-size: .82rem}
.rtp-suppressed{background: #fef2f2; border-color: #fecaca; border-left-color: #dc2626}
.rtp-header{margin-bottom: 6px; line-height: 1.4}
.rtp-callsign{font-weight: 700; font-size: .9rem; display: block; margin-bottom: 2px}
.rtp-callsign-link{color: inherit; text-decoration: none}
.rtp-callsign-link:hover{text-decoration: underline}
.rtp-badge{display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 1px 6px; border-radius: 8px; vertical-align: middle; margin-left: 4px}
.rtp-badge-ok{background: #d4edda; color: #155724}
.rtp-badge-needs{background: #fff3cd; color: #856404}
.rtp-badge-mismatch{background: #fce4ec; color: #b71c1c}
.rtp-badge-suppressed{background: #fecaca; color: #991b1b}
.rtp-badge-none{background: #f1f5f9; color: var(--old-text-3)}
.rtp-badge-reciprocated{background: #d1ecf1; color: #0c5460}
.rtp-active-label{font-weight: 600; color: var(--old-text-2)}
.rtp-active-email{font-family: monospace; font-weight: 600; word-break: break-all}
.rtp-none{color: var(--old-text-3)}
.rtp-suppressed-note{font-size: .72rem; font-weight: 700; color: #991b1b; margin-bottom: 6px; display: flex; align-items: center; gap: 4px}
.rtp-breakdown{display: flex; flex-direction: column; gap: 1px}
.rtp-row{display: flex; align-items: baseline; gap: 6px; line-height: 1.5}
.rtp-src{font-weight: 600; color: var(--old-text-3); min-width: 58px; flex-shrink: 0; font-size: .78rem}
.rtp-val{font-family: monospace; font-size: .78rem; color: var(--old-text-2); word-break: break-all}
.rtp-dash{color: var(--old-text-3)}
.gallery-lightbox{position: fixed; inset: 0; z-index: 1000; background: rgba(15,23,42,.88); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; opacity: 0; pointer-events: none; transition: opacity .25s}
.gallery-toast{position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--old-text); color: #fff; padding: 12px 24px; border-radius: var(--old-r); font-size: .867rem; font-weight: 500; z-index: 1100; transition: transform .3s ease; box-shadow: 0 8px 24px rgba(0,0,0,.2)}
.gallery-toast.on{transform: translateX(-50%) translateY(0)}
.donate-widget{position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1000}
.donate-widget__tab{position: relative; z-index: 1; width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; background: var(--accent-fill); border-radius: var(--old-r) 0 0 var(--old-r); cursor: pointer; box-shadow: -2px 2px 12px rgba(0,0,0,.15); transition: background .2s}
.donate-widget__tab:hover{background: var(--accent-fill-hover)}
.donate-widget__tab svg{width: 22px; height: 22px; fill: #fff; animation: dw-heartbeat 1.8s ease-in-out infinite}
.donate-widget__tab-label{color: #fff; font-size: .65rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-top: 5px}
.donate-widget__panel{position: absolute; right: 0; top: 50%; width: 320px; padding: 18px 22px; transform: translateY(-50%) translateX(20px); overflow: hidden; background: var(--old-surface); border: 1px solid var(--old-border); border-right: none; border-radius: var(--old-r-lg) 0 0 var(--old-r-lg); box-shadow: -4px 4px 20px rgba(0,0,0,.1); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .3s ease; display: flex; flex-direction: column; justify-content: center; z-index: 2}
.donate-widget:hover .donate-widget__panel, .donate-widget.is-open .donate-widget__panel{opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto}
.donate-widget__panel-title{font-size: .933rem; font-weight: 600; color: var(--old-text); margin: 0 0 8px; display: flex; align-items: center; gap: 8px}
.donate-widget__panel-title svg{width: 18px; height: 18px; fill: var(--old-pri)}
.donate-widget__panel-text{font-size: .8rem; color: var(--old-text-2); line-height: 1.5; margin: 0 0 14px}
.donate-widget__buttons{display: flex; gap: 8px}
.donate-widget__buttons .btn{flex: 1; justify-content: center; font-size: .8rem; padding: 8px 12px}
.donate-widget__footer{text-align: center; margin: 10px 0 0; font-size: .75rem; color: var(--old-text-3); line-height: 1.4}
/* Hidden wherever the phone shell (tab bar) shows, a phone held sideways included. */
@media not all and (min-width:768px) and (min-height:520px){.donate-widget{display: none}}
.fund-meter{position: fixed; bottom: 16px; transform: translateX(-50%); z-index: 9999; background: var(--old-surface); border: 1px solid var(--old-border); border-radius: var(--old-r-lg); box-shadow: 0 -4px 24px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06); padding: 14px 18px 12px; font-size: .8rem; transition: transform .3s ease, opacity .3s ease, left .2s ease, width .2s ease}
.fund-meter.is-hidden{transform: translateX(-50%) translateY(120%); opacity: 0; pointer-events: none}
.fund-meter__header{display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px}
.fund-meter__title{font-size: .85rem; font-weight: 600; color: var(--old-text); display: flex; align-items: center; gap: 6px}
.fund-meter__title svg{color: var(--old-pri); font-size: 1rem}
.fund-meter__amounts{font-size: .75rem; color: var(--old-text); font-weight: 700}
.fund-meter__track{position: relative; height: 18px; background: var(--old-border-light); border-radius: 10px; overflow: hidden; border: 1px solid var(--old-border)}
.fund-meter__fill{height: 100%; border-radius: 10px; background: linear-gradient(90deg, #ef4444 0%, #f59e0b 35%, #eab308 55%, #22c55e 71%, #059669 85%, #047857 100%); transition: width 1s ease; position: relative}
.fund-meter__fill::after{content: ''; position: absolute; top: 0; bottom: 0; width: 80%; right: 0; border-radius: 0 10px 10px 0; background: linear-gradient(270deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.06) 60%, rgba(255,255,255,0) 100% ); clip-path: inset(0 0 0 0); animation: meter-voice 8s ease-in-out infinite}
.fund-meter__scale{display: flex; margin-top: 4px; padding: 0 2px}
.fund-meter__scale span{font-size: .6rem; color: var(--old-text-3); font-weight: 500; font-family: 'Courier New', monospace; text-align: center}
.fund-meter__scale span.s-unit{flex: 2}
.fund-meter__scale span.s-over{flex: 1}
.fund-meter__scale span.active{color: var(--old-pri); font-weight: 700}
.fund-meter__footer{display: flex; align-items: center; justify-content: space-between; margin-top: 8px}
.fund-meter__message{font-size: .733rem; color: var(--old-text-3)}
.fund-meter__cta{background: var(--accent-fill); color: var(--accent-fill-ink); border: none; border-radius: var(--old-r-sm); padding: 6px 14px; font-size: .75rem; font-weight: 500; font-family: var(--old-font); cursor: pointer; transition: background .15s; display: flex; align-items: center; gap: 5px; text-decoration: none}
.fund-meter__cta:hover{background: var(--accent-fill-hover); color: var(--accent-fill-ink)}
.fund-meter__close{position: absolute; top: 2px; right: 1px; background: none; border: none; color: var(--old-text-3); font-size: .9rem; cursor: pointer; padding: 2px 4px; line-height: 1; border-radius: 4px}
@media (max-width: 767px){.fund-meter{display: none !important}}
@media (max-width: 767px){.fund-meter-restore{display: none !important}}
.fund-meter-restore{position: fixed; bottom: 24px; z-index: 1050; width: 48px; height: 48px; border-radius: 50%; background: var(--old-surface); border: 2px solid #16a34a; color: #16a34a; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; font-family: var(--old-font); cursor: pointer; padding: 0; box-shadow: 0 2px 12px rgba(0,0,0,.08); transition: background .15s, color .15s, left .2s ease}
.fund-meter-restore:hover{background: var(--accent-fill-hover); color: var(--accent-fill-ink); border-color: var(--accent-fill-hover)}
.profile-photo--blurred{filter: blur(14px); transform: scale(1.08)}
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;padding:6px;border-radius:8px; filter:var(--picker-icon-filter)}
input[type=date]::-webkit-calendar-picker-indicator:hover, input[type=time]::-webkit-calendar-picker-indicator:hover{background-color:var(--line)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0;overscroll-behavior:none}
body{background:var(--bg);color:var(--ink); font:15px/1.45 Archivo,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom); -webkit-font-smoothing:antialiased}
.stage{--stage-pad-top:calc(env(safe-area-inset-top) + clamp(8px, min(3vw, 4vh), 28px)); flex:1 1 0%;min-width:0;display:flex;align-items:flex-start;justify-content:center; padding:var(--stage-pad-top) calc(env(safe-area-inset-right) + clamp(8px, min(3vw, 4vh), 28px)) clamp(8px, min(2.5vw, 3.5vh), 24px) calc(env(safe-area-inset-left) + clamp(8px, min(3vw, 4vh), 28px)); min-height:0;position:relative}
.stagein{display:flex;flex-direction:column;align-items:center; gap:clamp(8px, min(2vw, 2vh), 12px); width:100%;max-width:1200px;min-height:0;min-width:0}
.topname em,.wordmark em{font-style:normal;color:var(--accent-line)}
.pill{position:relative;min-width:24px;height:24px;padding:0 7px;border:0;border-radius:12px;font-family:inherit;cursor:pointer; display:grid;place-items:center;background:var(--badge);color:#fff;font-size:14px;font-weight:800;letter-spacing:0;line-height:1}
.pill.zero{padding:0;background:none;color:var(--muted)}
.pill svg{width:22px;height:22px}
.pill::after{content:'';position:absolute;inset:-8px 0 -8px -8px}
.pill:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-line)}
.navitem:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent-line)}
.nav{display:flex;flex-direction:column;overflow:auto;background:var(--bg)}
.navhead{display:flex;align-items:center;flex:none}
.navhead .pill{margin-left:auto}
.wordmark{font-size:40px;font-weight:900;line-height:.9;letter-spacing:-.05em}
.navsearch{position:relative;display:flex;flex:none;height:58px;margin-top:24px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--bg)}
.navsearch input[type=text]{flex:1;min-width:0;height:auto;padding:0 14px;border:0;border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:18px;font-weight:600}
.navsearch input::placeholder{color:var(--muted);opacity:1}
.navsearch button{flex:none;width:58px;display:grid;place-items:center;border:0;border-left:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
.navsearch:focus-within button{border-left-color:transparent;background:var(--accent-fill);color:var(--accent-fill-ink)}
.navsearch button:disabled{opacity:.55;cursor:default}
.navsearch svg{width:24px;height:24px}
.navsearch input:focus-visible,.navsearch button:focus-visible{outline:none}
.navsearch:has(:focus-visible)::after{content:'';position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 0 3px var(--accent-line);pointer-events:none}
.navsep{display:flex;align-items:center;gap:10px;flex:none;min-height:4px;margin:30px 0 8px}
.navsep::before{content:'';flex:none;width:44px;height:4px;background:var(--accent-line)}
.navsep::after{content:'';flex:1;height:1px;background:var(--line)}
.navsep span{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.navsep ~ .navsep{margin-top:44px}
.navitem{display:grid;grid-template-columns:42px 1fr auto;align-items:center;flex:none;width:100%;height:58px; padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;color:var(--ink); font:inherit;font-size:22px;font-weight:800;letter-spacing:-.01em;text-align:left;cursor:pointer}
.navitem .ic{width:26px;height:26px;justify-self:start;color:var(--ink)}
.navitem .go{color:var(--muted);font-weight:400}
.navitem.soon .go{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.navitem.current .ic,.navitem.current .go{color:var(--accent-line)}
.navfoot{flex:none;margin-top:auto;background:var(--bg);padding:16px 0 calc(14px + env(safe-area-inset-bottom))}
.navmorewrap{flex:none;position:sticky;bottom:var(--footh,0px);height:0;z-index:1}
.navmore{position:absolute;left:0;right:0;bottom:0;height:56px;display:flex;align-items:flex-end;justify-content:center; padding:0 0 6px;border:0;background:linear-gradient(to bottom,transparent,var(--bg) 75%);color:var(--ink);cursor:pointer}
.navmore[hidden]{display:none}
.navmore svg{width:36px;height:36px;padding:7px;border-radius:50%;background:var(--panel);border:1px solid var(--line); animation:navnudge 1.6s ease-in-out infinite}
.navmore:focus-visible{outline:none}
.navmore:focus-visible svg{box-shadow:0 0 0 3px var(--accent-line)}
@media (prefers-reduced-motion:reduce){.navmore svg{animation:none}}
.navfoot .navsep{margin:0 0 6px}
@media (min-height:560px){.navfoot{position:sticky;bottom:0}}
/* Below 1024px the gutter is 16px, in line with the phone top bar's own inset. */
@media (max-width:1023px) and (min-width:768px) and (min-height:520px){.stage{--gutter:16px;--stage-pad-top:calc(env(safe-area-inset-top) + 16px);padding:var(--stage-pad-top) calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}
@media not all and (min-width:768px) and (min-height:520px){.stage{--gutter:16px;--stage-pad-top:16px;padding:var(--stage-pad-top) calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}
@media (min-width:768px) and (min-height:520px){body{flex-direction:row}}
@media (min-width:768px) and (min-height:520px){.nav{flex:none;width:var(--navw);height:100%}}
#card{opacity:0;transition:opacity .22s ease}
#card.ready{opacity:1}
.loader{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center; justify-content:flex-start;padding-top:max(15vh, 60px); gap:14px;color:var(--muted);font-size:13.5px}
.loader.gone{display:none}
.spin{width:38px;height:38px;border-radius:50%;border:3px solid var(--line); border-top-color:var(--accent-line);animation:spin .9s linear infinite}
@media (prefers-reduced-motion:reduce){.spin{animation:pulse 1.2s ease-in-out infinite;border-top-color:var(--line);background:var(--accent-line)}}
.cardwrap{container-type:inline-size;width:100%;max-width:1200px;aspect-ratio:140 / 90;position:relative; box-shadow:0 10px 40px rgba(0,0,0,.55);border-radius:6px;overflow:hidden; touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none; background:#123; isolation:isolate; font-family:Inconsolata,monospace}
#bg{position:absolute;inset:0;overflow:hidden}
#bg img{position:absolute;top:0;left:0;transform-origin:0 0;pointer-events:none;display:block}
.el{position:absolute;top:0;left:0;transform-origin:0 0;display:flex;align-items:center; white-space:pre;cursor:grab;z-index:2}
.el.photo2{z-index:1;overflow:hidden;display:block}
.el.station{z-index:3}
.el.qsopanel{z-index:4}
.el.callsign{z-index:5}
/* A text's box (qsl-editor-behaviours.js applyBoxStyles), behind its letters inside the element's own layer. */
#card .el[data-boxed]::before{content:'';position:absolute;z-index:-1;inset:calc(-1 * var(--box-out));border:var(--box-edge) solid var(--box-border);border-radius:var(--box-radius);background:var(--box-fill);pointer-events:none}
/* A boxed text is hovered, selected and carried on its box's own edge: no gap, and nothing past the card. */
#card .el[data-boxed].sel,#card .el[data-boxed]:hover{outline:none}
#card .el[data-boxed].sel::before{outline:2px solid var(--accent);outline-offset:-2px}
#card .el[data-boxed].lift::before{outline:3px solid var(--accent);outline-offset:-3px;box-shadow:0 10px 26px rgba(0,0,0,.55)}
@media (hover:hover) and (pointer:fine){#card .el[data-boxed]:not(.sel):hover::before{outline:2px dashed rgba(34,201,166,.75);outline-offset:-2px}}
.el.photo2 img{position:absolute;top:0;left:0;transform-origin:0 0;pointer-events:none;display:block}
.el.sel:not(.station):not(.qsopanel){border-radius:3px;outline:2px solid var(--accent);outline-offset:4px}
/* The resize dot: a solid dot in a white ring, at the selection's bottom right corner. */
.grab{position:absolute;padding:0;border:0;background:transparent;z-index:9;touch-action:none;display:flex;align-items:center;justify-content:center}
.grab{cursor:nwse-resize}
.grab::after{content:'';width:var(--dot);height:var(--dot);box-sizing:border-box;border-radius:50%;border:2px solid #ffffff;box-shadow:0 4px 10px -4px rgba(0,0,0,.45);background-repeat:no-repeat;background-position:center;background-size:50% 50%}
.grab::after{background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304231d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6L18 18M18 12v6h-6M6 12V6h6'/%3E%3C/svg%3E")}
.grab:active::after{transform:scale(1.15)}
@media (prefers-reduced-motion:reduce){.grab:active::after{transform:none}}
/* The desktop toolbar and its tray stay inside the card (new-design-editor.js placeBar). This layer loses to the
   unlayered .lift, .row, .lbl, .swline and .swc, which draw the shadow, the rows and the swatches. */
.eltb,.eltray{position:absolute;z-index:10;font-family:Archivo,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;white-space:normal;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;cursor:default;touch-action:manipulation}
.eltb{display:flex;align-items:center;gap:2px;padding:4px;white-space:nowrap}
.eltb .tb{display:flex;align-items:center;gap:7px;height:34px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:inherit;font-family:inherit;font-size:15px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer}
.eltb .tb svg{width:20px;height:20px;flex:none}
.eltb .tb .cdot{width:19px;height:19px;border-radius:50%;box-shadow:0 0 0 1px var(--line);flex:none;background:var(--wheel)}
.eltb .tb[aria-expanded="true"]{background:var(--sel-tint);color:var(--accent-line)}
.eltb .tb.neg{color:var(--neg)}
.eltb .tb:focus-visible,.eltray :focus-visible{outline:2px solid var(--accent-line);outline-offset:1px}
@media (hover:hover){.eltb .tb:hover{background:var(--row)}}
.eltb .sep{width:1px;align-self:stretch;margin:4px 3px;background:var(--line)}
.eltb.icons .tl{display:none}
/* The move tip closes the toolbar's box under a separator, as one block. */
.eltb.tipped{border-bottom:0;border-radius:12px 12px 0 0}
.eltb:not(.tipped) .movehint{display:none}
.eltb .movehint{position:absolute;left:-1px;right:-1px;top:100%;padding:7px 10px 6px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:var(--panel);color:var(--muted);font-size:13px;font-weight:600;line-height:1.3;text-align:center;white-space:normal;box-shadow:0 24px 60px -18px rgba(0,0,0,.45)}
.eltb .movehint::before{content:"";position:absolute;top:0;left:10px;right:10px;height:1px;background:var(--line)}
.eltray{padding:10px 12px;max-width:calc(100% - 16px);display:flex;flex-direction:column;gap:10px}
.eltray .swatches{display:flex;flex-wrap:wrap;gap:8px}
.eltray[data-tray="opacity"]{width:240px}
.eltray .row{flex-wrap:wrap;justify-content:space-between}
.eltray .row > .lbl{flex:1 1 100%}
.eltray input[type=range]{width:100%}
.eltray .swrow{justify-content:space-between;font-size:14px;font-weight:700}
.cardwrap.carrying :is(.eltb,.eltray){display:none}
.el.autofit{width:auto;height:auto}
.el .hit{position:absolute}
.emenu{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.emenu{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;z-index:500; align-items:flex-end;justify-content:center;padding-left:var(--navw)}
.emenu.on{display:flex}
.emenuin{width:100%;max-height:82dvh;overflow:auto}
.emrow{cursor:pointer;text-decoration:none}
.emrow .ic{display:flex;flex:none}
.emrow .lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.empair{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.emsep{height:1px;background:var(--row);margin:6px 4px}
@media (hover:hover) and (pointer:fine) and (min-width:820px){.emenu{align-items:flex-start;justify-content:flex-start;background:rgba(0,0,0,.22)}}
@media (hover:hover) and (pointer:fine) and (min-width:820px){.emenuin{position:absolute;width:330px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}
@media (hover:hover) and (pointer:fine) and (min-width:820px){.emenuin.wide{width:min(calc(90vw - 32px), 488px)}}
.el.lift{outline:3px solid var(--accent);outline-offset:0; box-shadow:0 10px 26px rgba(0,0,0,.55);cursor:grabbing}
.el{opacity:var(--el-o,1)}
.carrying .el:not(.lift){opacity:calc(var(--el-o,1) * .85)}
button.gin{text-align:left;cursor:pointer;display:flex;align-items:center;gap:10px}
button.gin .lb{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.gin .arrow{flex:none;display:flex;color:var(--muted)}
button.gin.on{outline:2px solid var(--accent-line);outline-offset:0}
.grow .gline{display:flex;gap:10px;align-items:center}
.grow .gline .gin{flex:1;min-width:0}
.grow .gline .inwrap{flex:1;min-width:0}
#mBody .unit{flex:none;font-size:16px;font-weight:800}
.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bigline{display:flex;gap:10px;align-items:center}
.bigline .inwrap{flex:1;min-width:0}
@media (hover:hover) and (pointer:fine){.el:not(.qsopanel):hover{cursor:pointer}}
@media (hover:hover) and (pointer:fine){.el.qsopanel:hover{cursor:default}}
@media (hover:hover) and (pointer:fine){.el:not(.sel):not(.station):not(.qsopanel):hover{outline:2px dashed rgba(34,201,166,.75);outline-offset:2px;border-radius:4px}}
@media (hover:hover) and (pointer:fine){.qsocell:hover,.strow:hover{cursor:pointer}}
/* The line keeps 2px off every text: above and below into the strip's padding, before this detail and before the next. */
@media (hover:hover) and (pointer:fine){.qsocell:hover::after{content:'';position:absolute;inset:-5px 3px -5px -3px; border:1px dashed rgba(34,201,166,.9);border-radius:4px;pointer-events:none}}
@media (hover:hover) and (pointer:fine){.qsocell.last:hover::after{inset:-5px -3px}}
@media (hover:hover) and (pointer:fine){.el.station:hover{outline:2px dashed rgba(34,201,166,.75);outline-offset:0}}
@media (hover:hover) and (pointer:fine){.qsocell:hover .qsolab{color:var(--accent);opacity:1}}
@media (hover:hover) and (pointer:fine){.qsocell:hover .qsoval{opacity:.92}}
.el.qsopanel{display:flex;align-items:stretch;overflow:hidden;white-space:normal}
.qsogrid{display:flex;width:100%;height:100%;align-items:stretch}
.qsocell{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start; min-width:0;position:relative}
.qsoin{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%; position:relative}
.qsocell.last{align-items:flex-end}
.qsolab{font-weight:900;letter-spacing:.05em;opacity:.62;text-transform:uppercase;line-height:1.1;white-space:nowrap;overflow:hidden}
.qsoval{font-weight:400;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qsoval.strong{font-weight:900}
.el.station{display:flex;flex-direction:column;overflow:hidden;white-space:normal}
.stgrid{display:flex;flex-direction:column;justify-content:flex-start;width:100%;gap:0}
.stlab{text-align:left}
.strow{display:flex;align-items:baseline;min-width:0;position:relative}
.stlab{font-weight:700;text-transform:uppercase;letter-spacing:.05em;opacity:.62;white-space:nowrap}
.stval{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gridwrap{position:absolute;inset:0;pointer-events:none;z-index:50;opacity:0; transition:opacity .12s ease; background-image: repeating-linear-gradient(to right,  rgba(255,255,255,.10) 0 1px, transparent 1px var(--gx)), repeating-linear-gradient(to bottom, rgba(255,255,255,.10) 0 1px, transparent 1px var(--gy))}
.carrying .gridwrap{opacity:1}
.guide{position:absolute;background:var(--guide);pointer-events:none;opacity:.95;z-index:99}
.guide.v{width:1px;top:0;bottom:0}
.guide.h{height:1px;left:0;right:0}
input[type=text]{width:100%;height:var(--tap);border-radius:11px;border:1px solid var(--line);background:var(--panel2);color:var(--ink);font:inherit;font-size:17px;padding:0 14px}
input[type=range]{width:100%;height:24px;margin:0;-webkit-appearance:none;appearance:none;background:transparent; touch-action:pan-y}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px; background:linear-gradient(to right,var(--accent-line) var(--fill,50%),var(--line-soft) var(--fill,50%))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;width:22px;height:22px;border-radius:50%; background:#ffffff;border:2px solid var(--accent-line);margin-top:-8px}
input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:var(--line-soft)}
input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--accent-line)}
input[type=range]::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border-radius:50%;background:#ffffff;border:2px solid var(--accent-line)}
.savewarn{background:var(--danger-bg);border:1px solid var(--danger-line);color:var(--danger-ink);border-radius:11px; padding:11px 13px;font-size:15px;line-height:1.35;margin-bottom:12px;width:100%}
.modalwrap{position:fixed;left:0;right:0; top:var(--vv-top, 0px); height:var(--vv-h, 100%); background:rgba(0,0,0,.72);display:none;z-index:400; align-items:center;justify-content:center;padding:12px 12px 12px calc(12px + var(--navw))}
.modalwrap.on{display:flex}
.modalin{background:var(--panel);width:90%;max-width:520px;border-radius:20px; border:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.6); max-height:100%;display:flex;flex-direction:column;overflow:hidden}
.modalscroll{overflow:auto;overscroll-behavior:contain;flex:1 1 auto;min-height:0}
.opts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#mBody{display:flex;flex-direction:column;gap:16px}
#mBody > *{margin-top:0;margin-bottom:0}
#mSub:empty,#mExtra:empty{display:none}
.mbtns{flex:none}
.mbtns button{flex:1;height:var(--tap);border-radius:13px;border:1px solid var(--line);background:var(--panel2);color:var(--ink);font:inherit;font-size:16px;font-weight:700}
:focus-visible{outline:3px solid var(--accent-line);outline-offset:3px;border-radius:6px}
input[type=range]:focus-visible{outline-offset:6px}
a.navitem, a.navitem:hover, a.navitem:focus{text-decoration: none}
.navitem i.ic{font-size: 22px; line-height: 1; justify-self: start; color: var(--ink)}
.navitem.current i.ic{color: var(--accent-line)}
.navitem .go .nav-lock{color: var(--muted)}
.fund-meter{left: calc(50% + var(--navw) / 2); width: min(540px, calc(100% - var(--navw) - 32px))}
.fund-meter-restore{left: calc(var(--navw) + 16px)}
.creator-wrap{max-width: none}
.stage{flex-direction: column; align-items: stretch; /* The design centres the card in a ROW. As a column that centres the whole PAGE vertically, and a page taller than the window loses its top off-screen with no way to scroll back. */ justify-content: flex-start; overflow-y: auto}
nav.nav{flex-wrap: nowrap}
a.wordmark, a.wordmark:hover, a.wordmark:focus, a.topname, a.topname:hover, a.topname:focus{color: inherit; text-decoration: none}
.pill i{font-size: 22px; line-height: 1}
.navsearch button.callsign-search-btn, .navsearch button.callsign-search-btn:hover, .navsearch button.callsign-search-btn:focus-visible, .navsearch button.callsign-search-btn:active, .navsearch button.callsign-search-btn:disabled, .navsearch button.callsign-search-btn:disabled:hover, .navsearch button.callsign-search-btn:disabled:focus-visible, .navsearch button.callsign-search-btn[aria-disabled="true"], .navsearch button.callsign-search-btn[aria-disabled="true"]:hover, .navsearch button.callsign-search-btn[aria-disabled="true"]:focus-visible{background: var(--panel); color: var(--ink); border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none}
.navsearch:focus-within button.callsign-search-btn{border-left-color: transparent; background: var(--accent-fill); color: var(--accent-fill-ink)}
.navsearch button.callsign-search-btn:disabled, .navsearch button.callsign-search-btn[aria-disabled="true"]{opacity: .55; cursor: default}
input:is([type="checkbox"], [type="radio"]):where(:not(.form-switch-row input)){width: 20px; height: 20px; accent-color: var(--accent-fill); flex: none}
input:is(:not([type]), [type=email], [type=password], [type=number], [type=tel], [type=search], [type=url], [type=date], [type=time], [type=datetime-local], [type=month], [type=week]):where(:not(.gin, .bigin)), select:not(.btn, .gin, .bigin), textarea:not(.gin, .bigin){height: var(--tap); border-radius: 11px; border: 1px solid var(--line); background-color: var(--panel2); color: var(--ink); font: inherit; font-size: 17px; padding: 0 14px}
textarea:not(.gin, .bigin){height: auto; min-height: var(--tap); padding: 12px 14px; line-height: 1.4}
select:not(.btn, .gin, .bigin){-webkit-appearance: none; appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat}
:is(.f-input-with-action, .f-labeled){min-height: var(--tap); border: 1px solid var(--line); border-radius: 11px; background: var(--panel2)}
:is(.f-input-with-action, .f-labeled) :is(input, select, textarea){height: auto; border: none; border-radius: 0; background-color: transparent; font-size: 17px}
:is(.f-input-with-action, .f-labeled) :is(.f-label, .shortcut-btn:where(:not(.callsign-search-btn))){background: transparent; color: var(--muted); border-color: var(--line)}
.sendlink{border: 0; padding: 0; background: none; color: var(--accent-line); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer}
dialog.app-dialog{inset: 0; max-width: none; max-height: none; margin: 0; border: 0; background: transparent; color: inherit}
dialog.app-dialog[open]{display: flex; align-items: center; justify-content: center; padding: 12px 12px 12px calc(12px + var(--navw))}
dialog.app-dialog::backdrop{background: rgba(0, 0, 0, .72)}
html.app-dialog-open, html.app-dialog-open body{overflow: hidden}
dialog.app-dialog .modal-dialog{display: contents}
dialog.app-dialog .app-modal-grab, #modal .app-modal-grab{display: none}
dialog.app-dialog .modal-sm .modalin{max-width: 400px}
dialog.app-dialog .modal-lg .modalin{max-width: 760px}
dialog.app-dialog .modal-xl .modalin{width: 100%; max-width: 1240px}
dialog.app-dialog .modal-header{align-items: flex-start; gap: 12px; padding: 20px 16px 0; border: 0}
dialog.app-dialog .modal-body{flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 12px 16px 10px; font-size: 15px}
dialog.app-dialog .modal-body > *{margin-top: 0; margin-bottom: 0}
dialog.app-dialog .modal-body > * + *{margin-top: 12px}
dialog.app-dialog .modal-footer{flex-wrap: nowrap; border: 0; background: none}
dialog.app-dialog .modal-footer > *{margin: 0}
dialog.app-dialog .modal-footer .app-modal-footer__actions{display: contents}
dialog.app-dialog.modal-static .modalin{animation: app-dialog-refuse .3s ease-out}
@media (max-width: 599px){dialog.app-dialog[open], #modal{align-items: flex-end; padding: 0}}
@media (max-width: 599px){dialog.app-dialog .modal-dialog .modalin, #modal .modalin{width: 100%; max-width: 480px; max-height: calc(100% - env(safe-area-inset-top, 0px) - 10px); border-bottom: 0; border-radius: 20px 20px 0 0; box-shadow: none}}
@media (max-width: 599px){dialog.app-dialog .modal-lg .modalin, dialog.app-dialog .modal-xl .modalin{height: calc(100% - env(safe-area-inset-top, 0px) - 10px)}}
@media (max-width: 599px){dialog.app-dialog .app-modal-grab, #modal .app-modal-grab{display: flex; flex: none; justify-content: center; padding: 10px 0 8px; touch-action: none; cursor: grab}}
@media (max-width: 599px){dialog.app-dialog .app-modal-grab::before, #modal .app-modal-grab::before{content: ''; width: 36px; height: 5px; border-radius: 3px; background: var(--muted)}}
@media (max-width: 599px){dialog.app-dialog .app-modal-grab:not([hidden]) + .modal-header{padding-top: 6px}}
#card .qsoval.qsoempty{color: var(--plate-muted)}
#card .qsopanel.lightbox .qsoval.qsoempty{color: #7a848e}
.memberlock{margin-left: auto; padding-left: 10px; color: var(--muted)}
.changebtn .memberlock{margin-left: 0}
#mBody [data-send-alert]{margin-bottom: 12px}
.row{flex-wrap: revert; margin: revert}
.row > *{flex-shrink: revert; width: revert; max-width: revert; padding-right: revert; padding-left: revert}
.row label{display: inline-block; align-items: revert; justify-content: revert; gap: revert; font-size: revert; letter-spacing: revert; color: revert; margin-bottom: revert}
.btn{line-height: inherit; text-align: revert; vertical-align: revert; user-select: revert; transition: revert}
.btn:disabled{opacity: revert; pointer-events: revert}
.btn:focus-visible{outline: revert; box-shadow: revert}
.alert{position: revert; margin-bottom: revert; border: revert}
.pill:where(:not(.zero)){position: revert; min-width: revert; border: revert; place-items: revert; letter-spacing: revert; line-height: revert}
.pill:where(:not(.zero):not(button:enabled)){cursor: revert}
.pill:where(:not(.zero))::after{content: revert; position: revert; inset: revert}
.toast{line-height: revert; text-align: revert}
}

/* Cards Style and Cards Layout: two choices drawn as small cards, the picked one ringed. */
.looktiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.looktile{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel2);color:var(--ink);font:inherit;font-size:16px;font-weight:700;line-height:1.25;cursor:pointer;text-align:center}
.looktile[aria-checked="true"]{border-color:var(--accent-line);box-shadow:0 0 0 1px var(--accent-line);background:var(--sel-tint)}
.looktile:focus-visible{outline:2px solid var(--accent-line);outline-offset:2px}
.looklb{display:flex;align-items:center;justify-content:center;gap:6px}
.looktile[aria-checked="true"] .looklb::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent-line)}
.lookpic{position:relative;display:block;aspect-ratio:140 / 90;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#8d8d88 0%,#c9c8c2 45%,#7a7a76 100%)}
.lookpic i{position:absolute;border-radius:4px}
.lookpic .c{left:6%;top:9%;width:40%;height:18%}
.lookpic .s{right:6%;top:34%;width:36%;height:26%}
.lookpic .q{left:6%;right:6%;bottom:8%;height:15%}
.lookpic.side .c,.lookpic.stacked .c{width:34%;height:15%}
.lookpic.side .q{right:auto;width:58%}
.lookpic.side .s{top:auto;bottom:8%;width:28%;height:34%}
.lookpic.stacked .s{top:auto;bottom:29%;width:32%;height:34%}
.lookpic.light i{background:rgba(255,255,255,.88);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.lookpic.dark i{background:rgba(0,0,0,.8)}
.lookpic i::after{content:"";position:absolute;left:8%;top:50%;width:55%;height:3px;margin-top:-1.5px;border-radius:2px}
.lookpic.light i::after{background:#2a2f35}
.lookpic.dark i::after{background:#ffffff}
.looknote{color:var(--muted);font-size:14px;line-height:1.4}
.lookskip{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}
.lookskip .ic{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:10px;background:var(--row);color:var(--muted)}
.lookskip .emtx{flex:1;min-width:0;display:flex;flex-direction:column}
.lookskip .lb{font-size:16px;font-weight:700}
.lookskip .emsub{font-size:13px;color:var(--muted)}
