/* FAXXME — green-phosphor CRT. Crisp, color-matched glows (no cross-color smudging). */
:root {
  --bg:        #04100a;
  --bg-soft:   #061a10;
  --panel:     #06160e;
  --line:      #12482c;   /* borders / rules */
  --line-soft: #0d3320;

  --fg:        #46f08a;   /* primary phosphor green */
  --fg-bright: #b6ffd2;   /* highlights / emphasis */
  --fg-mid:    #2fbf6a;   /* secondary text */
  --fg-dim:    #5f9c7b;   /* muted labels/meta — sage, not muddy */
  --amber:     #ffcf4d;   /* section headers / accents */
  --amber-dim: #b8923a;
  --red:       #ff6b6b;   /* errors / offline */

  /* Color-matched glows — each color glows in its OWN hue, tight radius = crisp. */
  --glow-green:  0 0 1px rgba(70,240,138,.45), 0 0 5px rgba(70,240,138,.22);
  --glow-bright: 0 0 1px rgba(182,255,210,.6), 0 0 6px rgba(120,255,180,.30);
  --glow-dim:    0 0 1px rgba(95,156,123,.30);
  --glow-amber:  0 0 1px rgba(255,207,77,.45), 0 0 5px rgba(255,207,77,.20);
  --glow-red:    0 0 1px rgba(255,107,107,.5), 0 0 6px rgba(255,107,107,.25);

  --mono: "DejaVu Sans Mono", ui-monospace, "Cascadia Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; min-height: 100%;
  background:
    radial-gradient(ellipse 120% 90% at 50% 0%, #0a2417 0%, var(--bg) 60%),
    var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .2px;
  text-shadow: var(--glow-green);
  -webkit-font-smoothing: none;   /* keep pixels sharp, not smeared */
}

/* CRT overlays — subtle, so text stays legible */
body::before {  /* fine scanlines */
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2.5px, rgba(0,0,0,.10) 3px);
  mix-blend-mode: multiply;
}
body::after {   /* gentle vignette */
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 62%, rgba(0,0,0,.45) 100%);
  animation: flicker 7s infinite steps(40);
}
@keyframes flicker { 0%,100%{opacity:.99} 96%{opacity:.94} 98%{opacity:1} }

.wrap {
  max-width: 800px; margin: 0 auto; padding: 34px 22px 72px;
}
.wrap.wide { max-width: 1120px; }   /* admin console — data-dense tables need room */

/* ---- header ---- */
.masthead { text-align: center; margin: 4px 0 22px; }
.wordmark {
  margin: 0; font-family: var(--mono); font-weight: 800;
  font-size: clamp(42px, 13vw, 96px); line-height: 1.02;
  letter-spacing: .06em; text-transform: none;
  color: var(--fg-bright);
  text-shadow:
    0 0 2px  rgba(182,255,210,.95),
    0 0 12px rgba(120,255,180,.55),
    0 0 28px rgba(70,240,138,.45),
    0 0 60px rgba(70,240,138,.28);
  animation: wm-glow 3.4s ease-in-out infinite;
}
.wordmark span {           /* "Mee" — amber accent, with a gap after "Faxx" */
  margin-left: .28em; color: var(--amber);
  text-shadow:
    0 0 2px  rgba(255,207,77,.9),
    0 0 12px rgba(255,207,77,.5),
    0 0 30px rgba(255,207,77,.30);
}
@keyframes wm-glow { 0%, 100% { opacity: .93; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } }
.tag {
  color: var(--fg-dim); text-shadow: var(--glow-dim);
  text-align: center; margin: 12px 0 0; font-size: 13.5px; letter-spacing: .3px;
}

hr { border: none; border-top: 1px solid var(--line-soft); margin: 18px 0; }

.hidden { display: none !important; }

/* boot log */
#bootlog { color: var(--fg-mid); }
#bootlog div { padding: 1px 0; }

/* cursor */
.cursor::after { content: "▊"; animation: blink 1.05s steps(1) infinite; color: var(--fg); }
@keyframes blink { 50% { opacity: 0; } }

/* ---- forms ---- */
label, .ilabel {
  display: block; color: var(--fg-dim); text-shadow: var(--glow-dim);
  margin: 15px 0 5px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
}
.prompt-line { position: relative; }
.prompt-line::before {
  content: "›"; color: var(--amber); text-shadow: var(--glow-amber);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; line-height: 1; pointer-events: none; z-index: 1;
}
.prompt-line input { padding-left: 28px; }

input, textarea, select, button {
  font-family: var(--mono); font-size: 15px; letter-spacing: .3px;
  background: var(--bg-soft); color: var(--fg);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 11px; text-shadow: var(--glow-green); width: 100%;
  outline: none; transition: border-color .12s, box-shadow .12s, background .12s;
}
input::placeholder, textarea::placeholder { color: #3c6b52; text-shadow: none; }
input:focus, textarea:focus, select:focus {
  border-color: var(--fg); box-shadow: 0 0 0 1px rgba(70,240,138,.25), inset 0 0 12px rgba(70,240,138,.06);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

.counter { text-align: right; font-size: 11px; letter-spacing: .5px; margin-top: 4px;
           color: var(--fg-dim); text-shadow: var(--glow-dim); }
.counter.full { color: var(--amber); text-shadow: var(--glow-amber); }

button {
  cursor: pointer; width: auto; padding: 9px 20px; letter-spacing: 1.2px;
  background: var(--bg-soft); border-color: var(--fg); color: var(--fg-bright);
  text-shadow: var(--glow-bright);
}
button:hover:not(:disabled) { background: var(--fg); color: #041008; text-shadow: none; box-shadow: 0 0 10px rgba(70,240,138,.4); }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .35; cursor: not-allowed; color: var(--fg-dim); border-color: var(--line-soft); text-shadow: none; }
button.ghost { background: transparent; border-color: var(--line); color: var(--fg-mid); text-shadow: var(--glow-green); }
button.ghost:hover:not(:disabled) { border-color: var(--fg); color: var(--fg-bright); background: rgba(70,240,138,.06); box-shadow: none; }
button.danger { background: transparent; border-color: var(--red); color: var(--red); text-shadow: var(--glow-red); }
button.danger:hover:not(:disabled) { background: var(--red); color: #180404; text-shadow: none; box-shadow: 0 0 10px rgba(255,107,107,.45); }

/* TEST button lights up once a printer is connected (ghost → bright, glowing) */
button.ghost.armed {
  border-color: var(--fg); color: var(--fg-bright); text-shadow: var(--glow-bright);
  background: rgba(70,240,138,.10); box-shadow: 0 0 8px rgba(70,240,138,.28);
}
button.ghost.armed:hover:not(:disabled) { background: var(--fg); color: #041008; text-shadow: none; }

/* speaker icon toggle (status bar) — same boxed style as [ + PRINTER ] when on;
   goes quiet/dim only when muted so the off-state still reads at a glance */
button.icon-btn { line-height: 1; }
button.icon-btn.muted {
  background: transparent; border-color: var(--line-soft);
  color: var(--fg-dim); text-shadow: none; opacity: .75;
}
button.icon-btn.muted:hover:not(:disabled) {
  border-color: var(--fg); color: var(--fg-bright); background: rgba(70,240,138,.06); box-shadow: none;
}

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* keep the two printer buttons on one row; long label wraps inside its button if too narrow */
.printer-actions { flex-wrap: nowrap; }
.printer-actions > button { min-width: 0; }
.grow { flex: 1 1 220px; }

/* consistent vertical rhythm for form field groups */
.field { margin: 0 0 20px; }
.field > label:first-child { margin-top: 0; }
.attach-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.attach-row .small { flex: 1 1 auto; min-width: 0; word-break: break-all; }
.submit-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.small.block { display: block; line-height: 1.5; margin: 4px 0 12px; max-width: 62ch; }

/* ---- status bar ---- */
.statusbar {
  display: flex; flex-direction: column; align-items: stretch; gap: 9px;  /* row 1: greeting, row 2: controls */
  border: 1px solid var(--line); border-radius: 2px;
  background: linear-gradient(rgba(70,240,138,.03), rgba(0,0,0,0));
  padding: 10px 14px; margin-bottom: 20px; font-size: 11.5px; color: var(--fg-dim);
  text-shadow: var(--glow-dim);
}
.sb-greeting { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  /* long name stays on its line */
/* row 1: statuses only (YOUR PRINTER + LINK on one line) */
.sb-status {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 16px;
  overflow-x: auto; scrollbar-width: none;
}
/* row 2: action buttons */
.sb-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
}
.sb-status::-webkit-scrollbar { display: none; }
.sb-status > div { flex: 0 0 auto; }
.statusbar b, #who { color: var(--fg-bright); text-shadow: var(--glow-bright); }
.sb-printer, .sb-link { display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; }
.statusbar button { padding: 3px 9px; font-size: 11px; letter-spacing: .4px; }
.pill {
  display: inline-block; padding: 1px 8px; border: 1px dashed currentColor; border-radius: 2px;
  font-size: 11px; letter-spacing: 1px; margin-left: 4px;
}
.on   { color: var(--fg);   text-shadow: var(--glow-green); }
.off  { color: var(--red);  text-shadow: var(--glow-red); }
.warn { color: var(--amber);text-shadow: var(--glow-amber); }

/* ---- messages (color-matched, no smudge) ---- */
.msg { min-height: 20px; margin: 12px 0; font-size: 13.5px; }
.msg:empty { min-height: 0; margin: 0; }          /* don't reserve space when there's no message */
#local-note:empty { margin: 0; }
.msg.err  { color: var(--red);        text-shadow: var(--glow-red); }
.msg.ok   { color: var(--fg-bright);  text-shadow: var(--glow-bright); }
.msg.info { color: var(--amber);      text-shadow: var(--glow-amber); }
.msg.warn { color: var(--amber);      text-shadow: var(--glow-amber); }

/* ---- section headers ---- */
h2 {
  font-size: 13px; color: var(--amber); text-shadow: var(--glow-amber);
  letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  margin: 22px 0 12px; padding: 8px 12px;
  background: rgba(255,207,77,.10);          /* amber highlight band per section */
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  display: flex; align-items: center; gap: 8px;
}
h2 .small { color: var(--amber-dim); text-shadow: none; }
h2 button.tiny { margin-left: auto; font-size: 11px; padding: 2px 10px; letter-spacing: .5px; }
@media (max-width: 600px) { h2 .small { display: none; } }   /* hide the "( … )" note on phones */

/* footer */
.footer {
  margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--fg-dim); text-shadow: var(--glow-dim);
}
.footer a { color: var(--amber); text-shadow: var(--glow-amber); }

/* ---- admin console ---- */
a.backlink { color: var(--fg-mid); text-shadow: var(--glow-green); text-decoration: none; font-size: 12px; letter-spacing: .5px; }
a.backlink:hover { color: var(--fg-bright); text-shadow: var(--glow-bright); }
button.tiny { font-size: 11px; padding: 2px 10px; letter-spacing: .5px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.stat { border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; background: var(--bg-soft); }
.stat-num { font-size: 22px; font-weight: 700; color: var(--fg-bright); text-shadow: var(--glow-bright); line-height: 1.1; }
.stat-label { font-size: 11px; color: var(--fg-dim); text-shadow: var(--glow-dim); letter-spacing: .5px; margin-top: 2px; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 3px; }
table.admin { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.admin th, table.admin td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.admin thead th { color: var(--amber-dim); text-shadow: none; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; font-size: 11px; position: sticky; top: 0; background: var(--panel); }
table.admin tbody tr:hover { background: rgba(70,240,138,.05); }
table.admin td.num, table.admin th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.admin .nowrap { white-space: nowrap; }
table.admin .mono { color: var(--fg-bright); text-shadow: var(--glow-green); }
table.admin .empty { color: var(--fg-dim); text-align: center; padding: 18px; }
table.admin td.msgcell { max-width: 360px; white-space: pre-wrap; word-break: break-word; color: var(--fg); }
table.admin td.actions { white-space: normal; }
.actbtns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
.actbtns button { margin: 0; }
.tag-img { font-size: 10px; letter-spacing: .5px; padding: 0 5px; border: 1px solid currentColor;
  border-radius: 2px; color: var(--amber); text-shadow: var(--glow-amber); }
.statuscell { white-space: nowrap; }
.statuscell .dot { margin-right: 5px; }
.sesscell { white-space: nowrap; }
.sesscell .ua { max-width: 210px; overflow: hidden; text-overflow: ellipsis; color: var(--fg-dim); }
.statuscell .dot.on  { color: var(--fg);     text-shadow: var(--glow-green); }
.statuscell .dot.off { color: var(--fg-dim); text-shadow: none; }
.tag-node, .tag-tok { font-size: 10px; letter-spacing: .5px; padding: 0 5px; border: 1px solid currentColor;
  border-radius: 2px; margin-right: 3px; color: var(--fg-mid); text-shadow: var(--glow-green); }
a.imglink { color: var(--amber); text-shadow: var(--glow-amber); text-decoration: none; }
a.imglink:hover { color: var(--fg-bright); }

.pager { display: flex; align-items: center; gap: 12px; margin: 10px 2px 4px; }
.pager .pageinfo { font-size: 12px; color: var(--fg-dim); text-shadow: var(--glow-dim); letter-spacing: .4px; }
.pager button[disabled] { opacity: .3; }

/* ---- logs ---- */
.log {
  border: 1px solid var(--line); border-radius: 2px; background: rgba(0,0,0,.2);
  padding: 4px 12px; max-height: 280px; overflow-y: auto;
}
.log .entry { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.log .entry.clickable { cursor: pointer; transition: background .1s; padding-left: 8px; margin-left: -8px; padding-right: 8px; margin-right: -8px; }
.log .entry.clickable:hover { background: rgba(70,240,138,.06); }
.log .entry:last-child { border-bottom: none; }
.log .meta { color: var(--fg-dim); text-shadow: var(--glow-dim); font-size: 12px; letter-spacing: .4px; margin-bottom: 4px; }
.log .bodytext { white-space: pre-wrap; word-break: break-word; color: var(--fg); }
.log .empty, .empty { color: var(--fg-dim); text-shadow: var(--glow-dim); padding: 12px 0; font-style: italic; }

/* scrollbars */
.log::-webkit-scrollbar { width: 8px; }
.log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.log::-webkit-scrollbar-track { background: transparent; }

/* ---- recipient combobox (searchable dropdown) ---- */
.combo { position: relative; }
.dropdown {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 5px);
  background: var(--bg-soft); border: 1px solid var(--fg); border-radius: 2px;
  max-height: 268px; overflow-y: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(70,240,138,.12);
}
.dd-head {
  position: sticky; top: 0; z-index: 1; background: var(--bg-soft);
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 12px; font-size: 11px; letter-spacing: .5px;
  color: var(--fg-dim); text-shadow: var(--glow-dim);
  border-bottom: 1px solid var(--line);
}
.dd-head span:last-child { color: var(--amber-dim); }
.dropdown .opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--line-soft);
}
.dropdown .opt:last-child { border-bottom: none; }
.dropdown .opt.active, .dropdown .opt:hover { background: rgba(70,240,138,.12); }
.dropdown .opt .dot.on  { color: var(--fg);     text-shadow: var(--glow-green); }
.dropdown .opt .dot.off { color: var(--fg-dim); text-shadow: none; }
.dropdown .opt .u  { color: var(--fg-bright); text-shadow: var(--glow-bright); }
.dropdown .opt .nm { margin-left: auto; color: var(--fg-dim); text-shadow: var(--glow-dim);
                     font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.dd-empty { padding: 12px; color: var(--fg-dim); text-shadow: var(--glow-dim); font-style: italic; }
.dropdown::-webkit-scrollbar { width: 8px; }
.dropdown::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.dropdown::-webkit-scrollbar-track { background: transparent; }

code { background: rgba(70,240,138,.10); border: 1px solid var(--line-soft); border-radius: 2px; padding: 0 5px; color: var(--fg-bright); text-shadow: none; }

/* device-token reveal box */
#token-reveal { margin-top: 10px; }
.token-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--fg-dim);
             border-radius: 2px; padding: 8px 10px; background: var(--bg-soft); max-width: 640px; }
.token-box code { flex: 1; overflow-x: auto; white-space: nowrap; background: transparent; border: none;
                  padding: 0; color: var(--amber); text-shadow: var(--glow-amber); }
.token-box button { flex: 0 0 auto; }
/* all secret-box controls are equal-size icon buttons (eye · copy · regenerate · revoke) */
.token-box .icon-btn { display: inline-flex; align-items: center; justify-content: center;
                       width: 36px; height: 32px; padding: 0; }
.token-box .icon-btn svg { display: block; width: 16px; height: 16px; }

/* webhook secret: full-width box, dots on the left, the action cluster pinned right */
#secret-box { max-width: none; padding: 10px 12px; gap: 12px; }
#secret-box code { letter-spacing: 2px; margin-right: 4px; }
.secret-actions { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }

/* image attachment preview + fax thumbnails — rendered like paper */
#attach-preview { margin: 10px 0 2px; }
#attach-img, .fax-img {
  image-rendering: pixelated;            /* show the halftone dots crisply */
  background: #f4f4ea; padding: 6px; border: 1px solid var(--line);
  border-radius: 2px; max-width: 260px; width: 100%; height: auto; margin-top: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.fax-img { max-width: 220px; }
input[type=file] { display: none; }

a { color: var(--amber); text-shadow: var(--glow-amber); text-decoration: none; border-bottom: 1px dotted var(--amber-dim); }
.small { font-size: 12px; color: var(--fg-dim); text-shadow: var(--glow-dim); letter-spacing: .3px; }

/* auth tabs spacing */
#auth .row { margin-bottom: 6px; }

/* ---- confirm modal (terminal styled) ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(2, 8, 4, .74);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: modal-in .12s ease-out;
}
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 440px; background: var(--panel);
  border: 1px solid var(--fg);
  box-shadow: 0 0 26px rgba(70,240,138,.28), inset 0 0 44px rgba(70,240,138,.05);
}
.modal-title {
  color: var(--amber); text-shadow: var(--glow-amber);
  border-bottom: 1px solid var(--line); padding: 11px 16px;
  letter-spacing: 2px; font-size: 13px; text-transform: uppercase;
}
.modal-body { padding: 20px 16px; color: var(--fg); text-shadow: var(--glow-green); line-height: 1.55; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; padding: 0 16px 18px; }
.modal-actions button { min-width: 96px; text-align: center; justify-content: center; }

/* ---- receipt modal: printed paper slip with torn (zigzag) edges ---- */
.receipt-overlay { align-items: flex-start; overflow-y: auto; padding: 34px 16px; }
.receipt-wrap { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.receipt {
  --paper: #f2ece0;
  --ink:   #1b1710;
  --s: 22px;                 /* zigzag tooth width */
  position: relative;
  width: 340px; max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  text-shadow: none;         /* paper = crisp ink, no phosphor glow */
  font-size: 13px; line-height: 1.55;
  padding: 30px 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
  /* torn edges top + bottom */
  -webkit-mask:
    conic-gradient(from 135deg at top,    #0000, #000 1deg 89deg, #0000 90deg) 0 0   / var(--s) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 0 100% / var(--s) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top,    #0000, #000 1deg 89deg, #0000 90deg) 0 0   / var(--s) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 0 100% / var(--s) 51% repeat-x;
}
.receipt::after {            /* faint thermal-paper warmth + top/bottom shading */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(120,90,40,.05), rgba(0,0,0,0) 12%, rgba(0,0,0,0) 88%, rgba(120,90,40,.05));
}
.receipt > * { position: relative; }
.r-head {
  text-align: center; font-weight: 700; font-size: 30px; letter-spacing: 6px;
  margin: 2px 0 4px; padding-left: 6px;
}
.r-sub { text-align: center; font-size: 12px; opacity: .85; }
.r-rule { white-space: nowrap; overflow: hidden; opacity: .7; margin: 8px 0; letter-spacing: .5px; }
.r-meta { font-size: 12.5px; word-break: break-word; }
.r-body { white-space: pre-wrap; word-break: break-word; font-weight: 600; margin: 2px 0; }
.r-img {
  display: block; width: 100%; margin: 10px 0; image-rendering: pixelated;
  filter: contrast(1.05);
}
.r-end { text-align: center; font-size: 12.5px; opacity: .85; margin-top: 2px; }
.receipt-wrap .r-close { min-width: 120px; }

/* incoming fax flash */
@keyframes fax-flash { 0% { box-shadow: inset 0 0 0 1px var(--fg), 0 0 18px rgba(70,240,138,.5); } 100% { box-shadow: none; } }
.flash { animation: fax-flash 1.3s ease-out; }
