/* JARVIS Mail - from the Claude Design file "JARVIS Mail v2". */
:root {
  --bg: #0A0E1A; --ink: #E6F1FF; --ink-hi: #F2F8FF; --ink-2: #C9D8EA; --ink-3: #9FB3C8;
  --ink-4: #8FA8C4; --ink-5: #6F86A3; --cyan: #00F0FF; --cyan-hi: #7FF8FF; --blue: #0066FF;
  --ok: #3DFFB0; --warn: #FFC24D; --crit: #FF6B6B; --crit-ink: #FF8A8A;
  --line: rgba(0,240,255,0.12); --line-2: rgba(0,240,255,0.18); --line-3: rgba(0,240,255,0.45);
  --mono: 'JetBrains Mono', ui-monospace, monospace; --sans: 'IBM Plex Sans', system-ui, sans-serif;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: var(--cyan); text-decoration: none; } a:hover { color: var(--cyan-hi); text-decoration: underline; }
input::placeholder, textarea::placeholder { color: #5E7290; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.18); }
::-webkit-scrollbar-track { background: transparent; }
button { font: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 1px solid var(--cyan); outline-offset: 2px; }
@keyframes jv-spin { to { transform: rotate(360deg); } }
@keyframes jv-spin-r { to { transform: rotate(-360deg); } }
@keyframes jv-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes jv-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.stage { min-height: 100vh; position: relative; color: var(--ink); background-color: var(--bg);
  background-image: linear-gradient(rgba(0,240,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.035) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(0,102,255,0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0,240,255,0.07), transparent 70%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%; }

/* ---- ring ---------------------------------------------------------------------- */
.ring { position: relative; flex: none; }
.ring svg { position: absolute; inset: 0; }
.ring .a { animation: jv-spin 24s linear infinite; } .ring .b { animation: jv-spin-r 14s linear infinite; }
.ring .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); }
.ring .c b { font-size: 20px; font-weight: 600; color: var(--ink); } .ring .c i { font-style: normal; font-size: 9px; letter-spacing: .18em; color: var(--ink-4); }

/* ---- login ---------------------------------------------------------------------- */
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; gap: 28px; }
.login-head { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .28em; color: #7FA3C4; text-align: center; }
.login-head .rule { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); flex: none; }
.login-head .rule.r { background: linear-gradient(90deg, var(--cyan), transparent); }
.login-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: stretch; width: 100%; max-width: 900px; }
.panel { position: relative; background: rgba(12,19,34,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,240,255,0.16); box-shadow: 0 0 0 1px rgba(0,102,255,0.05) inset, 0 20px 60px rgba(0,0,0,0.45); }
.corner { position: absolute; width: 14px; height: 14px; border-color: var(--cyan); border-style: solid; border-width: 0; }
.corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.diag { flex: 1 1 340px; max-width: 400px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.diag-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: #7FA3C4; }
.diag-top .clock { color: var(--cyan); }
.diag-mid { display: flex; align-items: center; gap: 22px; }
.meters { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.meter { display: flex; flex-direction: column; gap: 5px; }
.meter .l { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.meter .l span:last-child { color: var(--ink); }
.meter .bar { height: 3px; background: rgba(0,240,255,0.1); }
.meter .bar div { height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 8px rgba(0,240,255,0.6); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,240,255,0.1); border: 1px solid rgba(0,240,255,0.1); }
.svc { background: #0C1424; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; }
.svc .n { color: var(--ink-3); } .svc .s { display: flex; align-items: center; gap: 6px; }
.svc .s i { width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 6px currentColor; }
.bootlog { font-family: var(--mono); font-size: 11px; line-height: 1.75; color: var(--ink-5); border-top: 1px dashed rgba(0,240,255,0.14); padding-top: 14px; }
.bootlog div { display: flex; gap: 10px; } .bootlog span:first-child { color: #4F7FB0; flex: none; }
.auth { flex: 1 1 360px; max-width: 440px; margin: 0; padding: 32px 30px 26px; display: flex; flex-direction: column; gap: 20px;
  background: rgba(12,19,34,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,240,255,0.28); box-shadow: 0 0 40px rgba(0,240,255,0.08), 0 20px 60px rgba(0,0,0,0.5); position: relative; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--cyan); }
.auth h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-hi); }
.auth p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-4); }
.inp { height: 44px; padding: 0 14px; background: rgba(4,8,16,0.7); border: 1px solid rgba(0,240,255,0.2); color: var(--ink);
  font-family: var(--sans); font-size: 15px; outline: none; border-radius: 2px; width: 100%; }
.inp:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,240,255,0.12), 0 0 18px rgba(0,240,255,0.18); }
.notice { border: 1px solid rgba(0,102,255,0.35); background: rgba(0,102,255,0.07); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.notice .dot { width: 10px; height: 10px; flex: none; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: jv-pulse 1.8s ease-in-out infinite; }
.notice b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.notice span { font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.notice.err { border-color: rgba(255,107,107,0.5); background: rgba(255,107,107,0.08); }
.notice.err .dot { background: var(--crit); box-shadow: 0 0 10px var(--crit); }
.go { position: relative; overflow: hidden; height: 48px; border: 1px solid var(--cyan); background: linear-gradient(90deg, rgba(0,102,255,0.55), rgba(0,240,255,0.35));
  color: #F2FEFF; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .22em; cursor: pointer; border-radius: 2px;
  box-shadow: 0 0 24px rgba(0,240,255,0.25); display: flex; align-items: center; justify-content: center; gap: 12px; }
.go:hover { box-shadow: 0 0 36px rgba(0,240,255,0.45); background: linear-gradient(90deg, rgba(0,102,255,0.7), rgba(0,240,255,0.5)); }
.go .scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: jv-scan .9s linear infinite; }
.go .k { position: relative; font-size: 10px; border: 1px solid rgba(255,255,255,0.5); padding: 2px 5px; letter-spacing: .06em; }
.auth-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-5); gap: 12px; }

/* ---- shell ---------------------------------------------------------------------- */
.shell { height: 100vh; height: 100dvh; display: grid; grid-template-columns: 68px minmax(250px, 330px) minmax(0, 1fr); position: relative; overflow: hidden; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0; border-right: 1px solid var(--line);
  background: rgba(6,10,20,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-y: auto; }
.logo { width: 38px; height: 38px; margin-bottom: 20px; border: 1px solid var(--cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--cyan); box-shadow: 0 0 18px rgba(0,240,255,0.35), inset 0 0 10px rgba(0,240,255,0.25); flex: none; }
.rb { position: relative; width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: transparent;
  border: 1px solid rgba(0,240,255,0.08); color: var(--ink-5); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; cursor: pointer; border-radius: 2px; }
.rb:hover { color: var(--ink); border-color: var(--line-3); }
.rb.on { background: rgba(0,240,255,0.1); border-color: rgba(0,240,255,0.6); color: var(--cyan); }
.rb .cnt { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 3px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--bg); font-size: 10px; font-weight: 600; box-shadow: 0 0 8px rgba(0,240,255,0.6); }
.rb.plus { background: rgba(0,240,255,0.12); border-color: var(--cyan); color: var(--cyan); font-size: 20px; box-shadow: 0 0 16px rgba(0,240,255,0.3); }
.rb.plus:hover { background: rgba(0,240,255,0.22); box-shadow: 0 0 26px rgba(0,240,255,0.5); }
.rb.me { border-color: var(--line-2); color: var(--ink-3); }
.rail .sep { width: 24px; height: 1px; background: var(--line-2); margin: 6px 0; flex: none; }
.rail .grow { flex: 1; min-height: 8px; }

.list { min-height: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(8,13,24,0.5); }
.list-head { padding: 22px 18px 14px; display: flex; flex-direction: column; gap: 16px; }
.list-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--mono); }
.list-title span:first-child { font-size: 12px; letter-spacing: .24em; color: var(--cyan); text-shadow: 0 0 10px rgba(0,240,255,0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-title span:last-child { font-size: 11px; color: var(--ink-4); white-space: nowrap; }
.search { position: relative; display: flex; align-items: center; }
.search .p { position: absolute; left: 0; font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.search input { width: 100%; height: 34px; padding: 0 26px 0 18px; background: transparent; border: none; border-bottom: 1px solid rgba(0,240,255,0.22);
  color: var(--ink); font-family: var(--mono); font-size: 13px; outline: none; border-radius: 0; }
.search input:focus { border-bottom-color: var(--cyan); box-shadow: 0 8px 14px -10px rgba(0,240,255,0.6); }
.search .k { position: absolute; right: 0; font-family: var(--mono); font-size: 10px; color: var(--ink-4); border: 1px solid rgba(0,240,255,0.25); padding: 0 5px; line-height: 16px; }
.rows { flex: 1; min-height: 0; overflow-y: auto; padding: 0 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.row { display: grid; grid-template-columns: 2px 44px minmax(0,1fr); column-gap: 12px; align-items: center; padding: 12px 10px; border: 1px solid transparent; cursor: pointer; }
.compact .row { padding: 8px 10px; }
.row:hover { background: rgba(0,240,255,0.05); }
.row.sel { background: rgba(0,240,255,0.07); border-color: rgba(0,240,255,0.45); }
.row .bar { align-self: stretch; background: rgba(159,179,200,0.15); }
.row.unread .bar { background: var(--cyan); } .row.flag .bar { background: var(--warn); }
.row .t { font-family: var(--mono); font-size: 11px; color: var(--ink-5); }
.row.unread .t { color: var(--cyan); }
.row .m { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row .f, .row .s, .row .pv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .f { font-size: 14px; font-weight: 500; color: #A9BCD1; }
.row.unread .f { font-weight: 700; color: var(--ink-hi); text-shadow: 0 0 12px rgba(0,240,255,0.45); }
.row .s { font-size: 13px; color: #A9BCD1; } .row.unread .s { color: var(--ink); }
.row .pv { font-size: 12px; color: var(--ink-5); } .compact .row .pv { display: none; }
.row .clip { color: var(--cyan); font-family: var(--mono); font-size: 10px; margin-left: 6px; }
.clear { padding: 60px 12px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--ink-4); }
.more { margin: 8px auto; }

.main { min-height: 0; position: relative; display: flex; flex-direction: column; overflow: hidden;
  background-image: repeating-linear-gradient(0deg, rgba(0,240,255,0.022) 0px, rgba(0,240,255,0.022) 1px, transparent 1px, transparent 4px); }
.main .bigring { position: absolute; top: -70px; right: -90px; opacity: .22; pointer-events: none; }
.hud { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 36px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-4); }
.hud .lbl { color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud .ln { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,240,255,0.5), rgba(0,240,255,0.04)); min-width: 20px; }
.hud .clock { color: var(--ink); }
.hud .back { display: none; }
.pane { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 18px 36px 36px; }
article { max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; padding: 3px 8px; border: 1px solid; }
.tag.p1 { color: var(--warn); border-color: var(--warn); background: rgba(255,194,77,0.08); }
.tag.spam { color: var(--crit); border-color: var(--crit); background: rgba(255,107,107,0.1); }
article h1 { margin: 0; font-size: 30px; line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-hi); text-shadow: 0 0 28px rgba(0,240,255,0.25); overflow-wrap: anywhere; }
.readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; padding: 16px 0;
  border-top: 1px solid rgba(0,240,255,0.16); border-bottom: 1px solid rgba(0,240,255,0.16); }
.readout div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.readout .k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-5); }
.readout .v { font-family: var(--mono); font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.readout .v.ok { color: var(--ok); } .readout .v.bad { color: var(--crit); } .readout .v.hi { color: var(--ink); }
.body-text { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.75; color: #D5E2F1; white-space: pre-wrap; overflow-wrap: anywhere; }
.body-frame { width: 100%; border: 0; background: #F4F7FB; min-height: 120px; display: block; }
.remote { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--warn); }
.atts { display: flex; flex-direction: column; gap: 0; max-width: 520px; }
.att { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed rgba(0,240,255,0.25); font-family: var(--mono); font-size: 12px; }
.att .x { color: var(--cyan); flex: none; } .att .n { flex: 1; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att .z { color: var(--ink-5); flex: none; }
.dock { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 36px; border-top: 1px solid rgba(0,240,255,0.14);
  background: rgba(6,10,20,0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1px solid rgba(0,240,255,0.2);
  color: var(--ink-2); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; cursor: pointer; border-radius: 2px; white-space: nowrap; }
.btn:hover { background: rgba(0,240,255,0.1); box-shadow: 0 0 18px rgba(0,240,255,0.25); }
.btn .key { color: var(--cyan); } .btn.hi { border-color: rgba(0,240,255,0.5); color: var(--ink); }
.btn.danger { border-color: rgba(255,107,107,0.4); color: var(--crit-ink); } .btn.danger .key { color: var(--crit); }
.btn.primary { height: 40px; padding: 0 18px; background: rgba(0,240,255,0.14); border-color: var(--cyan); color: #F2FEFF; font-weight: 600; letter-spacing: .2em; box-shadow: 0 0 20px rgba(0,240,255,0.3); }
.btn.primary:hover { background: rgba(0,240,255,0.24); box-shadow: 0 0 30px rgba(0,240,255,0.5); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 11px; letter-spacing: .1em; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.dock .grow { flex: 1; } .hints { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-5); }
.standby { flex: 1; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: var(--ink-4); }

/* ---- compose -------------------------------------------------------------------- */
.compose { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 18px 36px 28px; display: flex; flex-direction: column; gap: 18px; max-width: 840px; }
.cl { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-2); min-height: 48px; }
.cl > span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; width: 64px; color: var(--ink-5); flex: none; }
.cl input, .cl select { flex: 1; min-width: 0; height: 46px; background: transparent; border: none; outline: none; color: var(--ink); font-family: var(--mono); font-size: 14px; }
.cl select option { background: var(--bg); }
.cl.subj input { font-family: var(--sans); font-size: 20px; font-weight: 500; color: var(--ink-hi); }
.cl .tog { font-family: var(--mono); font-size: 10px; color: var(--ink-4); background: none; border: 0; cursor: pointer; letter-spacing: .14em; }
.compose textarea { flex: 1; min-height: 260px; resize: none; padding: 4px 0; background: transparent; border: none; outline: none; color: #D5E2F1;
  font-family: var(--sans); font-size: 16px; line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); padding: 4px 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.chip button { background: none; border: 0; color: var(--crit-ink); cursor: pointer; padding: 0; font-family: var(--mono); }
.compose-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; white-space: nowrap; }
.compose-foot .grow { flex: 1; } .compose-foot .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-5); }

/* ---- admin / identity panes ----------------------------------------------------- */
.sect { display: flex; flex-direction: column; gap: 14px; max-width: 980px; margin-bottom: 34px; }
.sect h2 { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: var(--cyan); font-weight: 500; }
.sect h3 { margin: 0; font-size: 22px; font-weight: 500; color: var(--ink-hi); }
.sect p.dim { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.grid-list { display: flex; flex-direction: column; border: 1px solid var(--line); }
.gl-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(8,13,24,0.5); }
.gl-row:first-child { border-top: 0; }
.gl-row.click { cursor: pointer; } .gl-row.click:hover, .gl-row.on { background: rgba(0,240,255,0.06); }
.gl-row .a { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-row .b { font-family: var(--mono); font-size: 11px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-row .acts { display: flex; gap: 6px; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.form-row .field { flex: 1 1 180px; } .form-row .inp { height: 38px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; height: 38px; }
.dns { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; table-layout: fixed; }
.dns th { text-align: left; font-weight: 500; font-size: 10px; letter-spacing: .2em; color: var(--ink-5); padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.dns td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); overflow-wrap: anywhere; }
.dns td.v { color: var(--ink); } .dns td small { display: block; color: var(--ink-5); font-size: 10px; margin-top: 4px; font-family: var(--sans); }
.dns .st { font-size: 10px; letter-spacing: .12em; } .st.ok { color: var(--ok); } .st.missing, .st.error { color: var(--crit); } .st.mismatch { color: var(--warn); }
.dns .cp { background: none; border: 1px solid var(--line-2); color: var(--cyan); font-family: var(--mono); font-size: 10px; cursor: pointer; padding: 2px 6px; margin-top: 6px; }
.notes { font-size: 13px; color: var(--warn); line-height: 1.55; display: flex; flex-direction: column; gap: 6px; }
.quota { height: 4px; background: rgba(0,240,255,0.1); max-width: 420px; } .quota div { height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.err-line { font-family: var(--mono); font-size: 11px; color: var(--crit-ink); min-height: 16px; }

/* ---- toast ---------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 16px;
  background: rgba(8,13,24,0.94); border: 1px solid var(--cyan); box-shadow: 0 0 30px rgba(0,240,255,0.25); font-family: var(--mono); font-size: 12px; color: var(--ink);
  letter-spacing: .06em; max-width: calc(100vw - 32px); }
.toast.err { border-color: var(--crit); box-shadow: 0 0 30px rgba(255,107,107,0.25); }
.toast button { background: transparent; border: 1px solid rgba(0,240,255,0.4); color: var(--cyan); font-family: var(--mono); font-size: 11px; padding: 3px 8px; cursor: pointer; border-radius: 2px; white-space: nowrap; }

/* ---- small screens: one column at a time ----------------------------------------- */
@media (max-width: 860px) {
  .shell { grid-template-columns: 56px minmax(0, 1fr); }
  .rb { width: 40px; height: 40px; }
  .shell .main { display: none; }
  .shell.reading .list { display: none; } .shell.reading .main { display: flex; }
  .hud, .pane, .compose, .dock { padding-left: 16px; padding-right: 16px; }
  .hud .back { display: inline-flex; }
  .hints { display: none; }
  article h1 { font-size: 24px; }
  .gl-row { grid-template-columns: minmax(0,1fr) auto; } .gl-row .b { display: none; }
  .dns th:nth-child(3), .dns td:nth-child(3) { display: none; }
}
