/* Dead Drop styles. © 2026 AIT-Dynamics LLC */
/* Terminal look (v1.1.0): one fixed dark scheme, like a lit control screen in a dark room. */
:root { --bg: #020609; --screen: #04111a; --surface: rgba(8, 34, 48, .55); --line: #1b5368; --line-hi: #2fb7d9; --fg: #c9f6ff; --muted: #63a9bd; --accent: #3fdcff; --glow: rgba(63, 220, 255, .45); --ok: #52ffb8; --bad: #ff5f73; --warn: #ffc95c; --metal-1: #1b232c; --metal-2: #0a0e13; color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 30%, #0a1d2a 0%, var(--bg) 70%); color: var(--fg); font: 400 15px/1.6 "IBM Plex Mono", ui-monospace, monospace; }
#rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .22; }
a { color: var(--accent); text-shadow: 0 0 6px var(--glow); }
::selection { background: var(--accent); color: #001018; }
.wrap { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
.brand img { display: block; height: 26px; width: auto; margin: 0 0 22px; opacity: .8; }

/* The housing: chamfered gunmetal bezel around a glowing screen */
.rig { position: relative; padding: 18px; background: linear-gradient(160deg, var(--metal-1), var(--metal-2) 60%); clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.rig::before { content: ""; position: absolute; top: 6px; left: 50%; width: 34%; height: 6px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, #2a343f 0 14px, #10161c 14px 18px); border-radius: 2px; }
.screen { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #082234 0%, var(--screen) 65%); border: 1px solid #0f3a4c; box-shadow: inset 0 0 70px rgba(63, 220, 255, .10), 0 0 0 1px #000, 0 0 36px rgba(63, 220, 255, .18); padding: 0 22px 18px; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .22) 2px 3px); mix-blend-mode: multiply; }
.titlebar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0 -22px 18px; padding: 8px 22px; border-bottom: 1px solid var(--line-hi); background: linear-gradient(90deg, rgba(63, 220, 255, .16), rgba(63, 220, 255, .03)); font: 400 15px/1.2 "Share Tech Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); text-shadow: 0 0 8px var(--glow); }
.titlebar .readout { font-size: 12px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.statusbar .geo { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; font-variant-numeric: tabular-nums; }
.statusbar .geo:hover, .statusbar .geo[aria-pressed="true"] { color: var(--accent); }
.titlebar .utc, .titlebar .clock { font-variant-numeric: tabular-nums; } .titlebar .utc { display: inline-block; min-width: 28ch; text-align: right; } .titlebar .utc.loc { color: var(--accent); } .titlebar .clock { margin-left: 16px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; } .titlebar .clock { color: var(--bad); } .titlebar .clock.loc { color: var(--accent); } .titlebar .clock:hover { text-decoration: underline; text-underline-offset: 3px; } .titlebar .clock[hidden] { display: none; } .titlebar .clock-zone { margin-left: 16px; max-width: 220px; font: 12px/1.2 inherit; padding: 2px 4px; text-transform: none; letter-spacing: 0; }
.eyebrow { font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h1 { font: 400 clamp(34px, 7.5vw, 54px)/1 "Share Tech Mono", monospace; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; color: var(--accent); text-shadow: 0 0 14px var(--glow), 0 0 2px #fff; }
h1::after { content: "_"; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h2 { display: flex; align-items: center; gap: 10px; font: 400 16px/1.2 "Share Tech Mono", monospace; letter-spacing: .18em; text-transform: uppercase; margin: -16px -16px 12px; padding: 8px 12px; color: var(--accent); border-bottom: 1px solid var(--line); background: rgba(63, 220, 255, .06); text-shadow: 0 0 8px var(--glow); }
h2::before { counter-increment: panel; content: counter(panel, upper-alpha); display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--accent); font-size: 13px; letter-spacing: 0; box-shadow: 0 0 8px var(--glow) inset; }
.lede { color: var(--muted); margin: 0 0 22px; font-size: 14px; max-width: 68ch; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.tabs button { font: 400 14px "Share Tech Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid transparent; border-bottom: 0; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: #001018; background: var(--accent); box-shadow: 0 0 16px var(--glow); }
section[data-pane] { counter-reset: panel; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); padding: 16px; margin: 0 0 14px; }
.card::before, .card::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--accent); pointer-events: none; }
.card::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
label { display: block; font: 400 13px "Share Tech Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); margin: 14px 0 6px; } label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: "IBM Plex Mono", monospace; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=date], input[type=tel], input[type=url], textarea, select { width: 100%; font: inherit; color: var(--fg); background: rgba(0, 8, 12, .7); border: 1px solid var(--line); border-radius: 0; padding: 9px 12px; caret-color: var(--accent); }
select option { background: #04111a; }
textarea { min-height: 160px; resize: vertical; }
::placeholder { color: #2f6476; }
.mono, textarea.mono, pre { font: 13px/1.45 "IBM Plex Mono", ui-monospace, monospace; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 14px var(--glow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } @media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-family: "IBM Plex Mono", monospace; text-transform: none; letter-spacing: 0; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 22px; border-radius: 0; font: 400 16px "Share Tech Mono", monospace; letter-spacing: .24em; text-transform: uppercase; border: 2px solid var(--accent); background: rgba(63, 220, 255, .10); color: var(--accent); text-shadow: 0 0 8px var(--glow); box-shadow: 0 0 12px rgba(63, 220, 255, .25), inset 0 0 12px rgba(63, 220, 255, .15); cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover:not(:disabled) { background: var(--accent); color: #001018; text-shadow: none; }
.btn.ghost { border-width: 1px; border-color: var(--line-hi); background: transparent; color: var(--fg); box-shadow: none; text-shadow: none; }
.btn.ghost:hover:not(:disabled) { background: rgba(63, 220, 255, .14); color: var(--accent); }
.sd { border: 1px solid var(--line); margin: 14px 0 4px; padding: 4px 12px 10px; }
.sd legend { font: 400 13px "Share Tech Mono", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding: 0 6px; }
.drop { border: 1px solid var(--accent); padding: 10px 12px; margin-bottom: 12px; box-shadow: 0 0 12px rgba(63, 220, 255, .2) inset; }
.drop p { margin: 0 0 10px; }
.burn { font-family: "Share Tech Mono", monospace; letter-spacing: .12em; }
.geo-at { display: flex; gap: 8px; align-items: center; }
.geo-at input { flex: 1; min-width: 0; }
.btn.small { min-height: 30px; padding: 3px 10px; font-size: 13px; letter-spacing: .14em; }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); box-shadow: none; text-shadow: none; }
.btn.danger:hover:not(:disabled) { background: var(--bad); color: #1a0005; }
.btn:disabled { opacity: .45; cursor: default; }
.bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.say { margin: 10px 0 0; font-size: 14px; } .say:not(:empty)::before { content: "> "; color: var(--accent); }
.say.err { color: var(--bad); } .say.ok { color: var(--ok); }
/* Mail */
.bot-sw { display: none; }
.pane-scroll { display: contents; }
.m-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.m-top > select { width: auto; max-width: 220px; }
.m-search { flex: 1 1 320px; display: flex; gap: 6px; min-width: 0; }
.m-search input { flex: 1; min-width: 0; }
.m-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 8px 0 0; }
.m-chips button { font: 400 12px "IBM Plex Mono", monospace; color: var(--muted); background: none; border: 1px solid var(--line); padding: 3px 9px; cursor: pointer; }
.m-chips button[aria-pressed="true"] { color: var(--fg); border-color: var(--accent); background: rgba(63, 220, 255, .12); }
.m-count { margin-left: auto; color: var(--muted); font-size: 12px; }
.m-bulk { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 0; font-size: 13px; }
.m-bulk select { width: auto; padding: 3px 6px; font-size: 12px; }
.m-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.m-listwrap { min-width: 0; max-height: 60vh; overflow: auto; border: 1px solid var(--line); }
.m-list { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.m-list th { position: sticky; top: 0; z-index: 1; background: var(--screen); text-align: left; font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px; border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; white-space: nowrap; }
.m-list th[data-dir="a"]::after { content: " ▲"; } .m-list th[data-dir="d"]::after { content: " ▼"; }
.m-list td { padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; vertical-align: top; }
.m-list .m-ck { width: 28px; } .m-list .m-fl { width: 24px; text-align: center; } .m-list .m-dt { width: 92px; } .m-list .m-sz { width: 58px; text-align: right; }
.m-list td.m-sz { text-align: right; color: var(--muted); } .m-list td.m-dt { color: var(--muted); }
.m-list tr.unread td { font-weight: 600; color: var(--fg); }
.m-list tr.on td { background: rgba(63, 220, 255, .14); }
.m-list tr:hover td { background: rgba(63, 220, 255, .07); }
.m-list .m-snip { display: block; font-weight: 400; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.m-list .m-tag { display: inline-block; font: 600 9px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; border: 1px solid var(--line-hi); padding: 2px 3px; margin-right: 4px; vertical-align: 1px; color: var(--accent); }
.m-list .m-star { color: var(--warn); }
.m-list mark { background: rgba(255, 201, 92, .35); color: inherit; }
.m-view { min-width: 0; max-height: 60vh; overflow: auto; border: 1px solid var(--line); padding: 10px 12px; }
.m-subj { font-size: 16px; font-weight: 600; word-break: break-word; }
.m-meta { color: var(--muted); font-size: 12px; margin-top: 4px; word-break: break-word; }
.m-body { max-height: none; color: var(--fg); text-shadow: none; }
.m-pgp { border: 1px solid var(--accent); padding: 8px 10px; margin-top: 10px; }
.m-compose { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.m-set { border: 1px solid var(--line); padding: 10px 12px; margin: 8px 0; }
.m-set-h { margin: 0 0 6px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.m-set-h4 { margin: 14px 0 0; font-size: 13px; }
.m-set details { margin-top: 10px; } .m-set summary { cursor: pointer; color: var(--accent); font-size: 13px; }
.ms-steps { padding-left: 20px; } .ms-steps li { margin: 3px 0; }
.ms-code { word-break: break-all; font-size: 12px; padding: 4px 6px; border: 1px solid var(--line); }
.t-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; }
@media (min-width: 700px) { .t-split { grid-template-columns: minmax(150px, 30fr) minmax(0, 70fr); } }
.t-chats { border: 1px solid var(--line); max-height: 60vh; overflow: auto; }
.t-chats button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .05); color: var(--fg); font: inherit; font-size: 13px; padding: 8px 10px; cursor: pointer; }
.t-chats button small { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-chats button[aria-selected="true"] { background: rgba(63, 220, 255, .14); }
.t-chats button .n { float: right; color: var(--accent); font-size: 11px; }
.t-thread { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); }
.t-head { padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.t-head:empty { display: none; }
.t-msgs { flex: 1; min-height: 160px; max-height: 50vh; overflow: auto; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.t-msg { max-width: 85%; align-self: flex-start; border: 1px solid var(--line); padding: 6px 9px; font-size: 13px; }
.t-msg.out { align-self: flex-end; border-color: var(--accent); }
.t-msg .meta { color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.t-msg pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; color: var(--fg); text-shadow: none; }
.t-msg .btn { margin: 6px 6px 0 0; }
.t-compose { border-top: 1px solid var(--line); padding: 4px 10px 8px; }
.t-compose textarea { min-height: 70px; }
.t-bot { color: var(--muted); font-size: 13px; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.m-compose textarea { min-height: 140px; }
.m-gate { padding: 6px 0; }
.t-steps { margin: 8px 0 12px; padding-left: 20px; }
.t-steps li { margin: 3px 0; }
#t-setup .bar, #t-unlock .bar { margin-top: 10px; }
pre { white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto; background: rgba(0, 8, 12, .75); border: 1px solid var(--line); padding: 12px; margin: 10px 0 0; color: var(--ok); text-shadow: 0 0 6px rgba(82, 255, 184, .35); }
.keys { display: grid; gap: 8px; }
.key { border: 1px solid var(--line); border-left: 3px solid var(--line-hi); background: rgba(0, 8, 12, .45); padding: 10px 12px; display: grid; gap: 4px; }
.key .who { color: var(--fg); overflow-wrap: anywhere; cursor: pointer; padding-left: 16px; position: relative; }
.key .who::before { content: "▾"; position: absolute; left: 0; color: var(--muted); }
.key.shut .who::before { content: "▸"; }
.key.shut > :not(.who) { display: none; }
#d-h2 { cursor: pointer; } #d-h2::after { content: " ▾"; color: var(--muted); } #d-card.shut #d-h2::after { content: " ▸"; }
#d-card.shut > :not(#d-h2) { display: none !important; } #d-card.shut #d-h2 { margin-bottom: 0; }
#d-h2:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
/* Set / Not set badge in a hidden card's title */
.kst { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); vertical-align: middle; }
.kst.on { border-color: var(--accent); color: var(--accent); }
#v-h2 { cursor: pointer; } #v-h2::after { content: " ▾"; color: var(--muted); } #v-card.shut #v-h2::after { content: " ▸"; }
#v-card.shut > :not(#v-h2) { display: none !important; } #v-card.shut #v-h2 { margin-bottom: 0; } #v-h2:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.v-code { font: 500 20px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; color: var(--accent); border: 1px dashed var(--line-hi); padding: 10px 12px; margin-top: 10px; overflow-wrap: anywhere; user-select: all; }
html.pro #v-card.shut { flex-grow: 0 !important; }
html.pro #d-card.shut { flex-grow: 0 !important; } html.pro :is(section[data-pane], .pane-scroll) > .card:has(+ #d-card.shut) { flex-grow: 1; }
.key .who:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.key .fp { font: 12px/1.4 "IBM Plex Mono", monospace; color: var(--muted); overflow-wrap: anywhere; letter-spacing: .06em; }
.tag { display: inline-block; font: 400 11px/1 "Share Tech Mono", monospace; letter-spacing: .14em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line-hi); color: var(--muted); margin-left: 8px; vertical-align: 2px; }
.tag.mine { color: var(--ok); border-color: var(--ok); }
.tag.ver { color: var(--ok); border-color: var(--ok); border-width: 2px; } .tag.unver { color: var(--muted); border-style: dashed; }
.vbox { border: 1px solid var(--line-hi); padding: 10px; margin-top: 8px; }
.vfp { font: 20px/1.5 "Share Tech Mono", ui-monospace, monospace; letter-spacing: .06em; word-spacing: .3em; color: var(--accent); overflow-wrap: anywhere; margin: 6px 0; }
.vok { color: var(--ok); } .vno { color: var(--muted); font-size: .9em; }
.i-scan { margin-top: 8px; } .i-scan video { display: block; width: 100%; max-width: 420px; max-height: 50vh; background: #000; border: 1px solid var(--line); margin-top: 6px; }
.verdict { border: 1px solid var(--line); border-left-width: 4px; padding: 8px 12px; margin: 12px 0 0; font-family: "Share Tech Mono", monospace; letter-spacing: .06em; }
.cls { font: 400 15px/1.2 "Share Tech Mono", monospace; letter-spacing: .14em; text-align: center; text-transform: uppercase; padding: 6px 10px; margin: 12px 0 0; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.cls.u { background: #007a33; } .cls.cui { background: #502b85; } .cls.c { background: #0033a0; } .cls.s { background: #c8102e; } .cls.ts { background: #ff8c00; color: #000; } .cls.biz { background: #1b5368; } .cls.bizhi { background: #8a5a00; }
.con-log { height: min(52vh, 460px); overflow-y: auto; background: rgba(0, 8, 12, .8); border: 1px solid var(--line); padding: 8px 10px; font: 11px/1.45 "IBM Plex Mono", ui-monospace, monospace; color: var(--fg); }
.con-log .cl { white-space: pre-wrap; word-break: break-word; }
.con-log .cmd { color: var(--accent); text-shadow: 0 0 6px var(--glow); } .con-log .ok { color: var(--ok); } .con-log .err { color: var(--bad); } .con-log .dim, .con-log .echo { color: var(--muted); }
.con-log .res { color: var(--ok); text-shadow: 0 0 6px rgba(82, 255, 184, .35); } .con-log .cls { color: var(--warn); letter-spacing: .12em; }
#con-log { container-type: inline-size; }
.con-art { margin: 2px 0 4px; font: 11px/1.05 "IBM Plex Mono", ui-monospace, monospace; font-size: min(11px, calc(100cqi / 43)); color: var(--accent); border: 0; padding: 0; background: none; box-shadow: none; text-shadow: 0 0 6px rgba(0, 220, 255, .45); overflow: hidden; white-space: pre; }
.cl.art2 { color: var(--muted); margin-bottom: 6px; }
.con-help { display: grid; grid-template-columns: max-content 1fr; gap: 3px 18px; margin: 4px 0 8px; }
.con-help .h { grid-column: 1 / -1; margin-top: 8px; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.con-help .c { color: var(--fg); white-space: nowrap; } .con-help .d { color: var(--muted); }
@media (max-width: 560px) { .con-help { grid-template-columns: 1fr; gap: 0; } .con-help .d { padding: 0 0 5px 14px; } }
.con-line { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-hi); border-top: 0; background: rgba(0, 8, 12, .9); padding: 0 0 0 12px; }
.con-line label { margin: 0; font: 11px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0; text-transform: none; color: var(--accent); white-space: nowrap; }
.con-line input { border: 0 !important; background: transparent !important; font: 11px "IBM Plex Mono", ui-monospace, monospace !important; padding: 8px 10px 8px 0 !important; outline: none; box-shadow: none !important; }
@media (pointer: coarse) { .con-line input { font-size: 16px !important; } }   /* below 16px, iPhone Safari zooms the page on focus */
.verdict.good { border-color: var(--ok); color: var(--ok); } .verdict.bad { border-color: var(--bad); color: var(--bad); background: rgba(255, 95, 115, .08); } .verdict.none { color: var(--muted); }
.warnbox { border: 1px solid var(--warn); color: var(--fg); padding: 10px 14px; font-size: 13px; background: rgba(255, 201, 92, .06); }
.warnbox b { color: var(--warn); font-weight: 500; }
.rcpts { display: grid; gap: 2px; max-height: 200px; overflow: auto; border: 1px solid var(--line); background: rgba(0, 8, 12, .5); padding: 6px 10px; }
.empty { color: var(--muted); font-size: 13px; }
.statusbar { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px -22px -18px; padding: 7px 22px; border-top: 1px solid var(--line); background: rgba(63, 220, 255, .05); font: 400 12px/1.3 "Share Tech Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.statusbar b { color: var(--ok); font-weight: 400; } .statusbar b::before { content: "● "; }
.statusbar .myip { font-variant-numeric: tabular-nums; user-select: all; }
/* Standard layout: two rows, Local only left and the key count right; then IP and location left and the privacy line right.
   The pro layout keeps its original single row, with IP and location pushed right. */
html.pro .statusbar .myip { margin-left: auto; }
html:not(.pro) .statusbar > b { order: 1; } html:not(.pro) .statusbar #keycount { order: 2; margin-left: auto; }
html:not(.pro) .statusbar::before { content: ""; order: 3; flex-basis: 100%; height: 0; } html:not(.pro) .statusbar .myip, html:not(.pro) .statusbar .geo { order: 4; }
html:not(.pro) .statusbar > span:not(.myip):not(#keycount) { order: 5; margin-left: auto; }
footer { margin-top: 36px; font-size: 12px; color: var(--muted); text-align: center; }
footer a { text-shadow: none; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .rig { padding: 8px; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px); } .rig::before { display: none; } .screen { padding: 0 12px 14px; } .titlebar, .statusbar { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; } .statusbar { margin-bottom: -14px; } .titlebar .readout { display: none; } }
@media (prefers-reduced-motion: reduce) { h1::after { animation: none; } #rain { display: none; } }
.meter { display: flex; align-items: center; gap: 10px; margin-top: 6px; font: 400 12px "Share Tech Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meter[hidden] { display: none; }
.meter i { flex: 0 0 120px; height: 6px; border: 1px solid var(--line); position: relative; }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--c, var(--bad)); box-shadow: 0 0 8px var(--c, var(--bad)); }
.attach { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 8px; }
.attach .name { color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
/* Until QRFX says it is ready the frame stays out of sight: an empty frame (no address yet, or still loading) is painted white by Safari */
.ag-frame.ag-wait, html.pro .ag-frame.ag-wait { position: absolute; visibility: hidden; opacity: 0; pointer-events: none; width: 1px; height: 1px !important; flex: none; }
.ag-waitbox { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 240px; margin-top: 12px; border: 1px dashed var(--line); color: var(--muted); font-size: 13px; letter-spacing: .08em; }
html.pro .ag-waitbox { flex: 1; min-height: 120px; }
.ag-spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ag-spin .8s linear infinite; }
@keyframes ag-spin { to { transform: rotate(360deg); } }
.ag-frame { display: block; width: 100%; height: 420px; border: 0; background: transparent; margin-top: 12px; color-scheme: dark; }
.ag-load { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.ag-chip { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; border: 1px solid var(--line); padding: 6px 10px; min-width: 0; }
.ag-name { color: var(--accent); overflow-wrap: anywhere; }
.ag-tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 1px 6px; border: 1px solid currentColor; }
.ag-tag.ok { color: var(--ok); } .ag-tag.bad { color: var(--bad); font-weight: 600; }
.ag-credit { margin-top: 8px; }
.f-h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 16px 0 6px; color: var(--accent); }
.f-list { margin: 8px 0 0; padding: 0; list-style: none; } .f-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line); padding: 6px 10px; margin-top: 6px; }
.fc-video { display: block; width: 240px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scaleX(-1); border: 1px solid var(--line); background: #000; margin-top: 10px; }
html.fc-locked body > :not(#fc-gate) { visibility: hidden !important; }
#fc-gate { position: fixed; inset: 0; z-index: 9999; background: #05090d; color: #cfe; display: flex; align-items: center; justify-content: center; padding: 16px; }
#fc-gate[hidden] { display: none; }
/* Watch while open (faceid.js): the page blurs behind a see-through gate instead of disappearing. */
html.watch-locked body > :not(#fc-gate) { filter: blur(18px); pointer-events: none; user-select: none; }
html.watch-locked #fc-gate { background: rgba(5, 9, 13, .55); }
#fc-gate .fc-box { width: 100%; max-width: 420px; text-align: center; font-family: "IBM Plex Mono", monospace; }
#fc-gate .fc-video { width: 100%; margin: 14px auto; }
#fc-gate input { width: 100%; margin-top: 8px; }
.st-img { display: block; max-width: 100%; max-height: 40vh; margin-top: 10px; border: 1px solid var(--line); }
input[type=file] { max-width: 100%; }
.filebox { border: 1px solid var(--line); padding: 12px; margin: 10px 0; }
.hs-algos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 12px; margin: 6px 0 4px; }
.hs-algos .check { margin: 0; font-size: 13px; } .hs-algos .weak { color: var(--muted); font-size: 11px; }
.hs-res { margin-top: 12px; border-top: 1px solid var(--line); }
.hs-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hs-row .an { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hs-row code { font: 13px/1.35 "Share Tech Mono", ui-monospace, monospace; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.hs-row.match { border: 2px solid var(--ok); padding: 6px; } .hs-row.match .an { color: var(--ok); font-weight: 600; }
.hs-row.match .an::after { content: " · matches"; }
.cp-out { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font: 14px/1.45 "Share Tech Mono", ui-monospace, monospace; border: 1px solid var(--line); padding: 10px; min-height: 3em; margin-top: 6px; }
.cp-brute { max-height: 320px; overflow: auto; border: 1px solid var(--line); margin-top: 6px; }
.cp-brute div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 3px 8px; font: 13px/1.35 "Share Tech Mono", ui-monospace, monospace; border-bottom: 1px solid var(--line); cursor: pointer; }
.cp-brute div:hover { background: rgba(127, 127, 127, .12); } .cp-brute b { color: var(--muted); font-weight: 400; } .cp-brute span { overflow-wrap: anywhere; min-width: 0; }
.au-list { display: grid; gap: 8px; margin-top: 10px; }
.au-acct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; border: 1px solid var(--line); padding: 8px 12px; }
.au-acct .au-who { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; } .au-acct .au-who b { color: var(--fg); font-weight: 600; }
.au-code { font: 30px/1.1 "Share Tech Mono", ui-monospace, monospace; letter-spacing: .12em; color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.au-code.low { color: var(--warn); }
.au-acct .au-side { grid-row: 1 / 3; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.au-bar { grid-column: 1 / -1; height: 3px; background: var(--line); } .au-bar i { display: block; height: 100%; background: var(--accent); }
.au-tools { grid-column: 1 / -1; } .au-tools .qr { margin-top: 6px; }
.au-cam video { display: block; width: 100%; max-width: 420px; max-height: 45vh; background: #000; border: 1px solid var(--line); margin-top: 6px; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 12px; }
.cp-grid > div { min-width: 0; }
.cp-crk div { grid-template-columns: 60px 110px minmax(0, 1fr); }
.cp-sh { display: flex; align-items: center; gap: 10px; } .cp-sh input[type=range] { flex: 1; min-width: 0; } .cp-sh output { min-width: 5ch; font-variant-numeric: tabular-nums; }
.hs-prog { width: 100%; height: 6px; margin-top: 8px; accent-color: var(--accent); }
@media (max-width: 560px) { .hs-row { grid-template-columns: minmax(0, 1fr) auto; } .hs-row code { grid-column: 1 / -1; grid-row: 2; } }
.filebox .name { color: var(--accent); overflow-wrap: anywhere; }
.filebox img { display: block; max-width: 100%; max-height: 50vh; margin-top: 10px; border: 1px solid var(--line); }
.qr { margin-top: 10px; }
.qr svg, .qr img { display: block; width: min(320px, 100%); height: auto; background: #fff; }
.install { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: -10px 0 20px; font-size: 13px; color: var(--muted); }
.install[hidden], .install [hidden] { display: none; }
.install form { display: flex; flex-wrap: wrap; gap: 8px; }
.install input { width: 12em; text-transform: uppercase; }
.tab-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; padding: 0 0 4px 12px; }
.tab-acts .wipe { font: 400 12px "Share Tech Mono", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--bad); background: none; border: 1px solid var(--bad); padding: 2px 10px; cursor: pointer; }
.tab-acts .wipe:hover { background: var(--bad); color: #1a0005; }
.tab-acts .wipe.blk { color: var(--fg); border-color: var(--line-hi); }
.tab-acts .wipe.blk:hover { background: #000; color: var(--fg); }
.rd { display: inline-block; background: #000; color: #5f6b70; border: 1px solid #000; outline: 1px solid var(--line-hi); padding: 0 8px; margin: 1px 2px; font-size: .78em; letter-spacing: .16em; text-transform: uppercase; user-select: none; line-height: 1.4; }
.rd-open { background: rgba(255, 196, 0, .10); border-bottom: 1px dashed var(--warn, #ffc400); }
.rd-box { margin-top: 10px; } .rd-row { border: 1px solid var(--line-hi); padding: 10px 12px; margin-top: 8px; } .rd-row label { margin-top: 0; text-transform: none; letter-spacing: 0; }
.w-actions select { width: auto; flex: 0 1 auto; } .w-gap { flex: 1 1 0; } .w-actions .name { color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
.key .who .nick { color: var(--accent); margin-right: 4px; } .fp .bad { color: var(--bad); }

/* ---------- pro layout: every pane on one screen (any width; the person chooses it) ---------- */
.tabs .pro-btn { display: inline-block; }
@media all {
  html.pro .wrap { max-width: none; padding: 10px 12px 0; }
  html.pro .brand, html.pro .eyebrow, html.pro h1, html.pro .lede, html.pro .wrap > footer { display: none; }
  html.pro .rig { padding: 10px; }
  html.pro .screen { display: grid; height: calc(100vh - 40px); grid-template-columns: var(--ck, minmax(330px, 26fr)) var(--cw, minmax(0, 37fr)) minmax(0, 37fr); grid-template-rows: auto auto minmax(0, 1fr) var(--con-h, clamp(160px, calc(100vh - 670px), 45vh)) auto;
    grid-template-areas: "title title title" "tabs tabs tabs" "keys write read" "keys con con" "status status status"; column-gap: 12px; padding-bottom: 0; }
  html.pro .titlebar { grid-area: title; margin-bottom: 8px; }
  html.pro .install { grid-area: tabs; margin: 0 0 8px; position: relative; z-index: 2; justify-self: start; align-self: start; }
  html.pro .tabs { grid-area: tabs; margin: 0 0 10px; }
  html.pro .tabs button[data-tab] { display: none; }
  html.pro section[data-pane][hidden] { display: block !important; }
  html.pro section[data-pane] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 0 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  html.pro [data-subhide] { display: none !important; }
  html.pro .subtabs { display: flex; flex-wrap: wrap; gap: 2px; position: sticky; top: 30px; z-index: 3; margin: -8px 0 8px; padding: 4px 0 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  html.pro .subtabs button { font: 500 12px "IBM Plex Sans", sans-serif; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 10px; cursor: pointer; }
  html.pro .subtabs button:hover { color: var(--fg); }
  html.pro .subtabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
  html.pro section[data-pane="keys"] { grid-area: keys; }
  html.pro section[data-pane="keys"], html.pro section[data-pane="write"], html.pro section[data-pane="read"], html.pro section[data-pane="keys"][hidden], html.pro section[data-pane="write"][hidden], html.pro section[data-pane="read"][hidden] { display: flex !important; flex-direction: column; }
  html.pro section[data-pane] > * { flex-shrink: 0; }
  html.pro :is(section[data-pane], section[data-pane] > .pane-scroll) > :is(.card, .warnbox):not([hidden], [data-subhide]):not(:has(~ :is(.card, .warnbox):not([hidden], [data-subhide]))) { flex-grow: 1; margin-bottom: 0; }
  html.pro section[data-pane="write"] { grid-area: write; }
  html.pro section[data-pane="read"] { grid-area: read; }
  html.pro section[data-pane="console"], html.pro section[data-pane="console"][hidden] { grid-area: con; margin-top: 14px; overflow: hidden; display: flex !important; flex-direction: column; }
  html.pro section[data-pane]::before { content: attr(data-pane); position: sticky; top: 0; z-index: 3; display: block; margin: 0 0 8px; padding: 4px 8px; font: 400 11px/1.2 "Share Tech Mono", monospace; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); background: linear-gradient(90deg, rgba(63, 220, 255, .18), rgba(4, 17, 26, .96) 70%); border-left: 2px solid var(--accent); }
  .col-grip { display: none; }
  html.pro .col-grip { display: block; z-index: 6; justify-self: end; width: 10px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: col-resize; touch-action: none; position: relative; outline: none; }
  html.pro .col-grip::before { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 56px; transform: translate(-50%, -50%); border-left: 2px solid var(--line-hi); border-right: 2px solid var(--line-hi); }
  html.pro .col-grip:hover::before, html.pro .col-grip:focus-visible::before, html.pro.col-drag .col-grip::before { border-color: var(--accent); }
  html.pro.col-drag, html.pro.col-drag * { cursor: col-resize !important; user-select: none; }
  /* panels keep 4px of right padding, so the visible gap sits 2px left of the grid gap */
  html.pro #g-keys, html.pro #g-write { margin-right: -8px; }
  html.pro #g-keys { grid-column: 1; grid-row: 3 / 5; }
  html.pro #g-write { grid-column: 2; grid-row: 3; }
  html.pro .m-listwrap, html.pro .t-chats { grid-column: 1; grid-row: 1; } html.pro .m-view, html.pro .t-thread { grid-column: 2; grid-row: 1; }
  html.pro #g-mail, html.pro #g-tg { grid-column: 1; grid-row: 1; margin-right: -10px; width: 10px; }
  .con-grip { display: none; }
  html.pro section[data-pane="console"] { position: relative; }
  html.pro section[data-pane="console"]::before, html.pro section[data-pane="mail"]::before, html.pro section[data-pane="tg"]::before { cursor: row-resize; user-select: none; }
  html.pro .con-grip { display: block; grid-area: con; align-self: start; justify-self: center; position: relative; margin-top: -7px; z-index: 6; width: 120px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: row-resize; touch-action: none; }
  html.pro .con-grip::before { content: ""; display: block; width: 56px; height: 6px; margin: 0; border-top: 2px solid var(--line-hi); border-bottom: 2px solid var(--line-hi); }
  html.pro .con-grip:hover::before, html.pro .con-grip:focus-visible::before, html.pro.con-drag .con-grip::before { border-color: var(--accent); }
  html.pro.con-drag, html.pro.con-drag * { cursor: row-resize !important; user-select: none !important; }
  html.pro section[data-pane="console"] .card { flex: 1; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 8px 10px; }
  html.pro section[data-pane="console"] .card > h2, html.pro section[data-pane="console"] .card > .hint { display: none; }
  html.pro section[data-pane="console"] .con-log { flex: 1; height: auto; min-height: 0; }
  html.pro section[data-pane="mail"], html.pro section[data-pane="mail"][hidden] { grid-area: con; margin-top: 14px; overflow: hidden; display: none !important; flex-direction: column; }
  html.pro.bot-mail section[data-pane="mail"] { display: flex !important; }
  html.pro.bot-mail section[data-pane="console"] { display: none !important; }
  html.pro section[data-pane="mail"] .mail-card { flex: 1; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 8px 10px; }
  html.pro section[data-pane="mail"] .mail-card > h2 { display: none; }
  html.pro .m-set { overflow: auto; flex: 1; min-height: 0; margin: 0; }
  html.pro #m-app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  html.pro #m-app[hidden] { display: none; }
  /* 2.31.2 wrapped the inbox in #m-mailwrap for the Email / Mail app switch; it has to pass the height down or nothing scrolls. */
  html.pro #m-mailwrap:not([hidden]) { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  html.pro #mapp:not([hidden]) { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
  html.pro .m-split { flex: 1; min-height: 0; grid-template-columns: var(--msp, minmax(0, 46fr)) minmax(0, 54fr); position: relative; }
  html.pro .m-listwrap, html.pro .m-view { max-height: none; min-height: 0; }
  html.pro .m-compose { overflow: auto; max-height: 50%; }
  html.pro section[data-pane="tg"], html.pro section[data-pane="tg"][hidden] { grid-area: con; margin-top: 14px; overflow: hidden; display: none !important; flex-direction: column; }
  html.pro.bot-tg section[data-pane="tg"] { display: flex !important; }
  html.pro.bot-tg section[data-pane="console"] { display: none !important; }
  html.pro section[data-pane="tg"]::before { cursor: row-resize; user-select: none; }
  html.pro section[data-pane="tg"] .tg-card { flex: 1; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 8px 10px; }
  html.pro section[data-pane="tg"] .tg-card > h2 { display: none; }
  html.pro #t-app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  html.pro #t-app[hidden] { display: none; }
  html.pro .t-split { flex: 1; min-height: 0; grid-template-columns: var(--tsp, minmax(160px, 24fr)) minmax(0, 76fr); position: relative; }
  html.pro .t-chats, html.pro .t-msgs { max-height: none; min-height: 0; }
  html.pro .t-thread { min-height: 0; }
  html.pro section[data-pane="tg"]::before { content: "telegram"; }
  html.pro .t-compose { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 8px; align-items: center; padding: 5px 8px; flex: none; }
  html.pro .t-compose .row { margin: 0; display: block; }
  html.pro .t-compose .row label { display: none; }
  html.pro .t-compose textarea { min-width: 0; min-height: 0; height: 32px; resize: none; padding: 6px 8px; }
  html.pro .t-compose .bar { margin: 0; gap: 4px; grid-column: 1 / 3; display: flex; }
  html.pro .t-compose .check { font-size: 11px; white-space: nowrap; }
  html.pro.bot-tg .screen, html.pro.bot-mail .screen { grid-template-rows: auto auto minmax(0, 1fr) var(--con-h, clamp(300px, calc(100vh - 560px), 55vh)) auto; }
  html.pro .t-thread { overflow: hidden; }
  html.pro .t-msgs { min-height: 0; }
  html.pro section[data-pane="airgap"], html.pro section[data-pane="airgap"][hidden], html.pro section[data-pane="stego"], html.pro section[data-pane="stego"][hidden], html.pro section[data-pane="hash"], html.pro section[data-pane="hash"][hidden], html.pro section[data-pane="cipher"], html.pro section[data-pane="cipher"][hidden], html.pro section[data-pane="auth"], html.pro section[data-pane="auth"][hidden], html.pro section[data-pane="split"], html.pro section[data-pane="split"][hidden], html.pro section[data-pane="vault"], html.pro section[data-pane="vault"][hidden], html.pro section[data-pane="sms"], html.pro section[data-pane="sms"][hidden] { grid-area: con; margin-top: 14px; display: none !important; flex-direction: column; }
  html.pro.bot-airgap section[data-pane="airgap"], html.pro.bot-stego section[data-pane="stego"], html.pro.bot-hash section[data-pane="hash"], html.pro.bot-cipher section[data-pane="cipher"], html.pro.bot-auth section[data-pane="auth"], html.pro.bot-split section[data-pane="split"], html.pro.bot-vault section[data-pane="vault"], html.pro.bot-sms section[data-pane="sms"] { display: flex !important; }
  /* The scrolling panes keep their title bar fixed and scroll an inner .pane-scroll under it, the same shape as Console
     and Air gap. Scrolling the section itself left the bar to position: sticky, which Safari lets drift off the text. */
  html.pro :is(section[data-pane="stego"], section[data-pane="hash"], section[data-pane="cipher"], section[data-pane="split"], section[data-pane="vault"], section[data-pane="sms"]) { overflow: hidden !important; min-height: 0; min-width: 0; }
  html.pro section[data-pane] > .pane-scroll { zoom: 1; display: block; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: auto; overflow-x: hidden; overscroll-behavior: contain; }
  html.pro :is(section[data-pane="stego"], section[data-pane="hash"], section[data-pane="cipher"], section[data-pane="split"], section[data-pane="vault"], section[data-pane="sms"]) > .pane-scroll > * { zoom: var(--bz, 1); max-width: 100%; }
  html.pro :is(section[data-pane="write"], section[data-pane="read"], section[data-pane="keys"]) { overflow: hidden; padding-right: 0; }
  html.pro :is(section[data-pane="write"], section[data-pane="read"], section[data-pane="keys"]) > .pane-scroll { display: flex; flex-direction: column; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  html.pro .pane-scroll > * { flex-shrink: 0; }
  html.pro section[data-pane="auth"]::before { content: "authenticator"; cursor: row-resize; user-select: none; } html.pro section[data-pane="auth"] .card { margin: 0; } html.pro section[data-pane="auth"] .card > h2 { display: none; }
  html.pro section[data-pane="xchg"], html.pro section[data-pane="xchg"][hidden] { display: none !important; } html.pro #xc-qr svg { width: min(220px, 100%); }
  html.pro section[data-pane="split"]::before { content: "split"; cursor: row-resize; user-select: none; } html.pro section[data-pane="split"] .card { margin: 0 0 14px !important; }
  html.pro section[data-pane="sms"]::before { content: "sms"; cursor: row-resize; user-select: none; } html.pro section[data-pane="sms"] .card { margin: 0 0 14px !important; }
  html.pro section[data-pane="vault"]::before { content: "vault"; cursor: row-resize; user-select: none; } html.pro section[data-pane="vault"] .card { margin: 0 0 14px !important; }
  html.pro section[data-pane="cipher"]::before { content: "ciphers"; cursor: row-resize; user-select: none; } html.pro section[data-pane="cipher"] .card { margin: 0; } html.pro section[data-pane="cipher"] .card > h2 { display: none; }
  html.pro section[data-pane="hash"]::before { cursor: row-resize; user-select: none; } html.pro section[data-pane="hash"] .card { margin: 0; } html.pro section[data-pane="hash"] .card > h2 { display: none; }
  html.pro.bot-airgap section[data-pane="console"], html.pro.bot-stego section[data-pane="console"], html.pro.bot-hash section[data-pane="console"], html.pro.bot-cipher section[data-pane="console"], html.pro.bot-auth section[data-pane="console"], html.pro.bot-split section[data-pane="console"], html.pro.bot-vault section[data-pane="console"], html.pro.bot-sms section[data-pane="console"] { display: none !important; }
  html.pro section[data-pane="airgap"]::before { content: "air gap"; cursor: row-resize; user-select: none; } html.pro section[data-pane="stego"]::before { cursor: row-resize; user-select: none; }
  html.pro section[data-pane="airgap"] { overflow: hidden; } html.pro section[data-pane="airgap"] .ag-card { flex: 1; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 8px 10px; }
  html.pro section[data-pane="airgap"] .ag-card > h2, html.pro section[data-pane="airgap"] .ag-card > .hint { display: none; }
  html.pro .ag-frame { flex: 1; height: auto !important; min-height: 0; margin-top: 6px; }
  html.pro .ag-load { margin-top: 0; } html.pro .ag-load .btn { min-height: 28px; }
  html.pro.bot-airgap .screen, html.pro.bot-stego .screen, html.pro.bot-hash .screen, html.pro.bot-cipher .screen, html.pro.bot-auth .screen, html.pro.bot-split .screen, html.pro.bot-vault .screen, html.pro.bot-sms .screen { grid-template-rows: auto auto minmax(0, 1fr) var(--con-h, clamp(320px, calc(100vh - 520px), 60vh)) auto; }
  html.pro .bot-sw { display: flex; grid-area: con; align-self: start; justify-self: end; z-index: 5; margin: 17px 8px 0 0; gap: 2px; }
  html.pro .bot-sw { max-width: calc(100% - 110px); overflow-x: auto; scrollbar-width: none; } html.pro .bot-sw > * { flex: none; white-space: nowrap; }
  html.pro .bot-sw button { font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 4px 10px; cursor: pointer; }
  html.pro .bot-sw button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--accent); }
  html.pro .bot-sw [data-bot] { cursor: pointer; touch-action: pan-y; user-select: none; }
  html.pro .bot-sw.bot-dragging, html.pro .bot-sw.bot-dragging [data-bot] { cursor: grabbing; }
  html.pro .bot-sw .bot-drag { color: var(--fg); background: var(--surface); outline: 1px dashed var(--line-hi); outline-offset: -1px; }
  html.pro .bot-sw .bz { display: flex; align-items: center; gap: 1px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
  html.pro .bot-sw .bz button { letter-spacing: 0; padding: 4px 7px; min-width: 24px; font-size: 13px; }
  html.pro .bot-sw .bz #bz-pct { font-size: 11px; min-width: 42px; font-variant-numeric: tabular-nums; }
  html.pro .bot-sw .bz button:hover { color: var(--fg); }
  html.pro :is(section[data-pane="console"], section[data-pane="mail"], section[data-pane="tg"], section[data-pane="airgap"], section[data-pane="stego"], section[data-pane="hash"], section[data-pane="cipher"], section[data-pane="auth"], section[data-pane="split"], section[data-pane="vault"], section[data-pane="sms"]) > * { zoom: var(--bz, 1); }
  html.pro section[data-pane="keys"] .row { grid-template-columns: 1fr; }
  html.pro .card { padding: 12px; margin-bottom: 10px; }
  html.pro .statusbar { grid-area: status; margin-top: 10px; }
  html.pro section[data-pane="write"] > .pane-scroll > .card:not(#s-card), html.pro section[data-pane="read"] > .pane-scroll > .card { display: flex; flex-direction: column; }
  html.pro section[data-pane="write"] > .pane-scroll > .card > *, html.pro section[data-pane="read"] > .pane-scroll > .card > * { flex-shrink: 0; }
  html.pro textarea#w-text, html.pro textarea#r-in { flex: 1 1 0; min-height: 120px; resize: none; }
  html.pro #w-say:empty, html.pro #r-say:empty { display: none; }
  /* Write → Message: the text box and, once there is one, the result share the height; one row of actions between them */
  html.pro label[for="w-text"], html.pro .w-rd-help { display: none; }
  html.pro #w-mode:empty { display: none; }
  html.pro textarea#w-text { min-height: 90px; }
  html.pro .w-actions { margin-top: 8px; flex-wrap: wrap; row-gap: 6px; }
  html.pro .w-actions #w-rd-none { font-size: 12px; flex: 0 1 auto; text-align: right; }
  html.pro #w-out-box:not([hidden]) { flex: 1.8 1 0; min-height: 0; display: flex; flex-direction: column; }
  html.pro #w-out-box > * { flex-shrink: 0; }
  html.pro #w-out { flex: 1.4 1 0; min-height: 60px; max-height: none; margin-top: 8px; }
  html.pro #w-out-box .bar { margin-top: 6px; }
  html.pro #w-out-hint { font-size: 12px; margin: 4px 0 0; }
}

/* ---------- pro skin: flat graphite analyst workstation ---------- */
@media all {
  html.pro { --bg: #1c2127; --screen: #252a31; --surface: #2a2f37; --line: #3a414b; --line-hi: #5c6573; --fg: #e8ebef; --muted: #9aa4b1; --accent: #4c90f0; --glow: transparent; --ok: #3dba7c; --bad: #ef6f73; --warn: #f0a24a; }
  html.pro body { background: var(--bg); font: 400 13px/1.5 "IBM Plex Sans", system-ui, sans-serif; }
  html.pro #rain, html.pro .screen::after, html.pro .rig::before, html.pro .card::before, html.pro .card::after { display: none; }
  html.pro .wrap { padding: 0; }
  html.pro .rig { padding: 0; background: none; clip-path: none; box-shadow: none; }
  html.pro .screen { height: 100vh; background: var(--bg); border: 0; box-shadow: none; padding: 0 12px; column-gap: 10px; }
  html.pro .titlebar { margin: 0 -12px 10px; padding: 0 14px; height: 40px; background: #111418; border-bottom: 1px solid #000; font: 600 12px/1 "IBM Plex Sans", sans-serif; letter-spacing: .06em; color: var(--fg); text-shadow: none; }
  html.pro .titlebar .readout { font: 500 11px "IBM Plex Mono", monospace; color: var(--muted); letter-spacing: .04em; }
  html.pro .tabs { border: 0; margin: 0 0 8px; justify-content: flex-end; }
  html.pro section[data-pane]::before { font: 600 11px/1 "IBM Plex Sans", sans-serif; letter-spacing: .12em; color: var(--fg); background: #111418; border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 8px 10px; margin-bottom: 8px; }
  html.pro .card { background: var(--screen); border: 1px solid var(--line); border-radius: 3px; padding: 12px; }
  html.pro h2 { font: 600 11px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: .1em; color: var(--muted); text-shadow: none; background: var(--surface); margin: -12px -12px 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); border-radius: 3px 3px 0 0; }
  html.pro h2::before { width: 18px; height: 18px; font: 600 10px/1 "IBM Plex Mono", monospace; border: 0; border-radius: 2px; background: #383e47; color: var(--fg); box-shadow: none; }
  html.pro label { font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .04em; color: var(--muted); margin: 10px 0 4px; }
  html.pro label small { font-family: "IBM Plex Sans", sans-serif; font-weight: 400; }
  html.pro input[type=text], html.pro input[type=search], html.pro input[type=email], html.pro input[type=password], html.pro input[type=number], html.pro input[type=datetime-local], html.pro input[type=date], html.pro input[type=tel], html.pro input[type=url], html.pro textarea, html.pro select { background: #111418; border: 1px solid var(--line); border-radius: 3px; padding: 6px 8px; font-size: 13px; }
  html.pro textarea { font: 400 12.5px/1.5 "IBM Plex Mono", monospace; }
  html.pro input:focus, html.pro textarea:focus, html.pro select:focus { outline: 2px solid rgba(76, 144, 240, .6); outline-offset: -1px; border-color: var(--accent); box-shadow: none; }
  html.pro .btn { min-height: 30px; padding: 4px 14px; border: 1px solid #2d72d2; border-radius: 3px; background: #2d72d2; color: #fff; font: 500 13px "IBM Plex Sans", sans-serif; letter-spacing: 0; text-transform: none; text-shadow: none; box-shadow: none; }
  html.pro .btn:hover:not(:disabled) { background: #215db0; color: #fff; }
  html.pro .btn.ghost { background: #383e47; border-color: #383e47; color: var(--fg); }
  html.pro .btn.ghost:hover:not(:disabled) { background: #4a525e; color: #fff; }
  html.pro .btn.small { min-height: 24px; padding: 2px 9px; font-size: 12px; letter-spacing: 0; }
  html.pro .btn.danger, html.pro .btn.ghost.danger { color: var(--bad); }
  html.pro .hint { font-size: 12px; } html.pro .say { font-size: 13px; }
  html.pro .key { background: #20252c; border: 1px solid var(--line); border-left: 3px solid var(--line-hi); border-radius: 3px; padding: 8px 10px; }
  html.pro .key .who { font-weight: 500; } html.pro .key .fp { font-size: 11px; }
  html.pro .tag { border-radius: 2px; font: 600 10px/1 "IBM Plex Sans", sans-serif; letter-spacing: .08em; padding: 3px 6px; }
  html.pro .tag.mine { color: var(--accent); border-color: var(--accent); }
  html.pro .verdict, html.pro .cls { font-family: "IBM Plex Sans", sans-serif; border-radius: 3px; }
  html.pro pre { background: #111418; border-radius: 3px; color: var(--fg); text-shadow: none; }
  html.pro .con-log { background: #111418; border-radius: 3px; text-shadow: none; }
  html.pro .con-log * { text-shadow: none !important; }
  html.pro .con-art { color: var(--accent); font-size: min(6px, calc(100cqi / 43)); }
  html.pro legend { font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .1em; color: var(--muted); text-shadow: none; }
  html.pro fieldset { border-color: var(--line); border-radius: 3px; }
  html.pro .con-line { background: #111418; border-color: var(--line); }
  html.pro .statusbar { margin: 10px -12px 0; padding: 0 14px; height: 28px; align-items: center; background: #111418; border-top: 1px solid #000; font: 500 11px "IBM Plex Sans", sans-serif; letter-spacing: .06em; }
  html.pro .tab-acts .wipe { font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .06em; border-radius: 2px; padding: 1px 10px; }
  html.pro .warnbox { border-radius: 3px; }
  html.pro .tabs .pro-btn { background: transparent; border-color: var(--line); }
}
.subtabs { display: none; }
#blackout-screen { position: fixed; inset: 0; z-index: 2147483647; background: #000; cursor: none; touch-action: manipulation; }
#st-aud:not([hidden]) { display: block; width: 100%; margin-top: 10px; }
.sp-out { display: grid; gap: 10px; margin-top: 10px; }
.sp-share { border: 1px solid var(--line); padding: 10px 12px; }
.sp-head { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.sp-text { font-size: 12px; overflow-wrap: anywhere; word-break: break-all; color: var(--fg); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); padding: 8px; margin: 6px 0; }
.xc-sas { font: 600 clamp(22px, 5vw, 34px)/1.2 "Share Tech Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--accent); margin: 6px 0 10px; }
#sj-text { white-space: pre-wrap; overflow-wrap: anywhere; }

/* tooltips (tips.js) */
#tip { position: fixed; z-index: 10000; max-width: min(340px, calc(100vw - 16px)); padding: 8px 11px; background: var(--screen); color: var(--fg); border: 1px solid var(--line-hi); box-shadow: 0 6px 22px rgba(0, 0, 0, .55), 0 0 10px var(--glow); font: 400 12.5px/1.45 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .01em; text-transform: none; pointer-events: none; white-space: normal; }
html.pro #tip { border-radius: 4px; font-family: Inter, system-ui, sans-serif; font-size: 12.5px; }

/* stego processing effects (stego-fx.js) */
.st-fx { position: relative; margin-top: 10px; border: 1px solid var(--line-hi); background: #000; box-shadow: 0 0 14px var(--glow) inset; overflow: hidden; }
.st-fx canvas { display: block; max-width: 100%; }
.st-fx-hud { padding: 5px 9px; border-top: 1px solid var(--line); font: 400 11px/1.4 "Share Tech Mono", ui-monospace, monospace; letter-spacing: .12em; color: var(--accent); background: rgba(63, 220, 255, .06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-fx-feed { position: absolute; right: 8px; top: 8px; max-width: 60%; font: 400 10.5px/1.35 "Share Tech Mono", ui-monospace, monospace; color: var(--accent); opacity: .75; white-space: pre; text-align: right; text-shadow: 0 0 6px #000, 0 0 2px #000; pointer-events: none; }
.st-fx.st-fx-ok { border-color: var(--ok); } .st-fx.st-fx-ok .st-fx-hud { color: var(--ok); }
.st-fx.st-fx-bad { border-color: var(--bad); } .st-fx.st-fx-bad .st-fx-hud { color: var(--bad); }
html.pro .st-fx { border-radius: 3px; box-shadow: none; }
.st-prev { display: block; max-width: 100%; max-height: 30vh; margin-top: 8px; border: 1px solid var(--line); }
.st-bp { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.st-bp figure { margin: 0; flex: 1 1 240px; min-width: 0; }
.st-bp canvas { display: block; width: 100%; max-height: 46vh; object-fit: contain; image-rendering: pixelated; background: #000; border: 1px solid var(--line-hi); }
.st-bp figcaption { font: 400 11px/1.4 "Share Tech Mono", ui-monospace, monospace; letter-spacing: .1em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.st-bp .hint { flex-basis: 100%; margin: 0; }
.st-bpd { margin-top: 14px; } .st-bpd summary { cursor: pointer; color: var(--accent); }
/* Classification marking and Caveats sit side by side, so they get one fixed height. The select draws its own arrow:
   Safari otherwise keeps a native select at its own (shorter) height whatever the CSS says. */
#w-class, #w-class-x { box-sizing: border-box; height: 44px; }
#w-class { -webkit-appearance: none; appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233fdcff' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
html.pro #w-class, html.pro #w-class-x { height: 32px; }
html.pro #w-class { padding-right: 28px; background-position: right 9px center; background-size: 10px 7px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23aab3bf' stroke-width='1.6'/%3E%3C/svg%3E"); }
/* About */
.about p { line-height: 1.55; }
.guide details { margin: 0; }
.guide .g-sec { border-top: 1px solid var(--line); padding: 8px 0; }
.guide .g-sec > summary { cursor: pointer; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding: 4px 0; }
.guide .g-item { margin: 4px 0 4px 6px; }
.guide .g-item > summary { cursor: pointer; padding: 3px 0; }
.guide .g-item > summary:hover { color: var(--accent); }
.guide ol { margin: 4px 0 8px; padding-left: 22px; } .guide ol li { margin: 0 0 5px; line-height: 1.5; }
.guide .g-dl { margin: 6px 0 0; } .guide .g-dl dt { color: var(--fg); font-weight: 600; margin-top: 10px; } .guide .g-dl dd { margin: 2px 0 0 0; line-height: 1.5; }
.guide code { font-size: 12px; }
.about-list { margin: 0; padding-left: 18px; } .about-list li { margin: 0 0 7px; line-height: 1.5; } .about-list b { color: var(--fg); }
html.pro section[data-pane="about"], html.pro section[data-pane="about"][hidden] { grid-area: con; margin-top: 14px; display: none !important; flex-direction: column; overflow: hidden !important; min-height: 0; min-width: 0; }
html.pro.bot-about section[data-pane="about"] { display: flex !important; }
html.pro.bot-about section[data-pane="console"] { display: none !important; }
html.pro.bot-about .screen { grid-template-rows: auto auto minmax(0, 1fr) var(--con-h, clamp(320px, calc(100vh - 520px), 60vh)) auto; }
html.pro section[data-pane="about"]::before { cursor: row-resize; user-select: none; }
html.pro section[data-pane="about"] > .pane-scroll > * { zoom: var(--bz, 1); max-width: 100%; }
html.pro section[data-pane="about"] .card { margin: 0 0 10px; }
/* Standard layout: Wipe, Blackout, Pro layout and About (?) sit in the top right corner, under the title bar. On narrow
   screens they stay in the tab row, where there's room. About lives behind the ? in both layouts, not as a tab. */
.tabs [data-tab="about"], #bot-sw [data-bot="about"] { display: none !important; }
.tab-acts .qbtn { width: 24px; height: 24px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-hi); background: none; color: var(--accent); font: 600 13px/1 "Share Tech Mono", monospace; cursor: pointer; }
.tab-acts .qbtn:hover, .tab-acts .qbtn[aria-pressed="true"] { border-color: var(--accent); background: rgba(63, 220, 255, .12); }
html.pro .tab-acts .qbtn { width: 22px; height: 22px; font: 600 12px/1 "IBM Plex Sans", sans-serif; color: var(--fg); border-color: var(--line); }
@media (min-width: 720px) { html:not(.pro) .tab-acts { position: absolute; top: 50px; right: 22px; padding: 0; z-index: 4; } }
html:not(.pro) .tab-acts .pro-btn { font: 400 12px "Share Tech Mono", monospace; letter-spacing: .18em; padding: 2px 10px; min-height: 0; line-height: 1.4; }
/* The tab row's buttons have no bottom border (they sit on the row's rule); the layout switch is a button, not a tab. */
.tabs .tab-acts .pro-btn { border-bottom-style: solid; border-bottom-width: 1px; margin: 0; }
html.pro .tabs .tab-acts .pro-btn { font: 600 11px "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 1px 10px; min-height: 0; line-height: 1.5; border-radius: 2px; border: 1px solid var(--line); background: transparent; color: var(--fg); }
html.pro .tabs .tab-acts .pro-btn:hover { background: #383e47; }
/* Standard layout: a row of categories, and under it the chosen category's tabs. The pro layout has no top tabs. */
.tabs { align-items: flex-end; row-gap: 0; }
.tab-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; flex: 1 1 100%; }
.tab-cats .tab-catbtn { font: 400 14px "Share Tech Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: none; border: 1px solid transparent; border-bottom: 0; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.tab-cats .tab-catbtn:hover { color: var(--fg); }
.tab-cats .tab-catbtn[aria-pressed="true"] { color: #001018; background: var(--accent); box-shadow: 0 0 16px var(--glow); }
.tab-grp { display: none; flex: 1 1 100%; min-width: 0; border-top: 1px solid var(--accent); background: rgba(63, 220, 255, .05); padding: 2px 6px; }
.tab-grp.on { display: block; }
.tab-grp.on:has(.tab-btns > [data-tab]:only-child) { display: none; }   /* a one-tab category (Console) needs no row under it */
.tab-cat { display: none; }
.tab-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.tabs .tab-btns button { font-size: 12px; letter-spacing: .18em; padding: 7px 12px 6px; border: 0; border-bottom: 2px solid transparent; }
.tabs .tab-btns button[aria-selected="true"] { color: var(--accent); background: none; box-shadow: none; border-bottom-color: var(--accent); text-shadow: 0 0 8px var(--glow); }
html.pro .tab-grp, html.pro .tab-cats { display: none !important; }
/* The title stays on one line, so the title bar keeps one height and the Wipe, Blackout and ? buttons pinned under it never ride up over it. */
.titlebar > span:first-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titlebar .readout { flex: none; }
/* The pro column grips exist only in the wide pro layout; below that width they were showing as two empty buttons above the title bar and pushing it down under the pinned buttons. */
html:not(.pro) .col-grip { display: none; }
/* Narrow screens: Wipe, Blackout and ? stay at the top right too, on their own line above the heading instead of dropping under the tabs. */
@media (max-width: 719.98px) { html:not(.pro) .tab-acts { position: absolute; top: 46px; right: 12px; padding: 0; z-index: 4; } html:not(.pro) .screen > .eyebrow { margin-top: 40px; } }

/* Vault: VeraCrypt containers */
.vx-dirty { font: 400 11px "Share Tech Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--bad); border: 1px solid var(--bad); padding: 1px 6px; vertical-align: middle; margin-left: 8px; }
.vx-path { font-family: "IBM Plex Mono", monospace; font-size: 13px; margin: 4px 0 8px; overflow-wrap: anywhere; }
.vx-crumb, .vx-dir { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-align: left; }
.vx-crumb:hover, .vx-dir:hover { text-decoration: underline; text-underline-offset: 3px; }
.vx-wrap { overflow-x: auto; border: 1px solid var(--line); max-height: 50vh; overflow-y: auto; }
.vx-list { width: 100%; border-collapse: collapse; font: 13px "IBM Plex Mono", monospace; }
.vx-list th { text-align: left; font: 400 11px "Share Tech Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--screen, #031018); }
.vx-list td { padding: 5px 8px; border-bottom: 1px solid rgba(63, 220, 255, .08); vertical-align: middle; }
.vx-n { overflow-wrap: anywhere; min-width: 12ch; } .vx-s, .vx-m { white-space: nowrap; color: var(--muted); } .vx-a { white-space: nowrap; text-align: right; } .vx-a .btn { margin-left: 6px; min-height: 26px; padding: 1px 8px; }
.vx-rk { border: 1px solid var(--line); padding: 4px 12px 12px; margin-top: 12px; }
@media (max-width: 600px) { .vx-m, .vx-list th:nth-child(3) { display: none; } .vx-a { white-space: normal; } .vx-a .btn { display: block; margin: 3px 0 3px auto; } }
/* Mail: Email / Text message switch, and the manual SMS panel */
.m-mode { margin: 0 0 12px; }
.sms textarea#sms-text { min-height: 140px; } .sms textarea#sms-in { min-height: 90px; }
.sms-count { margin: 4px 0 0; min-height: 1.2em; }
.sms-qrbox { margin-top: 12px; max-width: 360px; } .sms-qrbox svg { display: block; width: 100%; height: auto; background: #fff; }
.sms textarea#ma-text { min-height: 180px; } .sms textarea#ma-in { min-height: 90px; }

/* Screen shield (shield.js): blur what could be read in a screenshot. Instant on, short fade off. */
textarea, input, select, label.check, pre, [contenteditable="true"] { transition: filter .18s ease; }
html.shield section[data-pane="console"] > *, html.shield #keylist, html.shield #cp-out, html.shield #cp-extra, html.shield #hs-res, html.shield select, html.shield input[type=range], html.shield output, html.shield #st-fstrv, html.shield input[type=checkbox], html.shield input[type=radio], html.shield label.check, html.shield textarea, html.shield pre, html.shield [contenteditable="true"],
html.shield input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]):not([type=file]):not([type=color]) { filter: blur(7px); transition: none; }

/* "Show hidden keys" stays blurred until the pointer is over it (or it has keyboard focus from Tab), so a glance at the screen doesn't reveal it exists. */
.k-hidrow { margin: 0 0 14px; padding: 0 2px; }
.k-hid { filter: blur(4px); opacity: .55; transition: filter .15s ease, opacity .15s ease; }
.k-hid:hover, .k-hid:has(:focus-visible) { filter: none; opacity: 1; }

/* Pro stays pro in a narrow window: the key column gives up width first, and below 900px the workstation keeps
   its size and the window pans sideways rather than squeezing three columns into nothing. */
@media (max-width: 1099.98px) { html.pro .screen { --ck: minmax(260px, 28fr); } }
@media (max-width: 899.98px) { html.pro .wrap { overflow-x: auto; } html.pro .rig { min-width: 900px; } }

/* Title bar epoch counter (epoch.js): settled digits dim, a digit mid-roll lit, the milliseconds always moving */
.titlebar .tver { margin-left: 12px; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--accent); opacity: .85; }
.titlebar .epoch { margin-left: 12px; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--muted); opacity: .8; }
.titlebar .epoch i { font-style: normal; display: inline-block; width: 1ch; text-align: center; transition: color .25s, text-shadow .25s; }
.titlebar .epoch i.hot { color: var(--accent); text-shadow: 0 0 8px var(--glow); }
.titlebar .epoch i.pt { width: auto; opacity: .6; }
.titlebar .epoch i:nth-child(n+12) { color: var(--accent); opacity: .7; }
html:not(.pro) .titlebar .tver, html:not(.pro) .titlebar .epoch { font-size: 12px; letter-spacing: .03em; margin-left: 10px; }   /* the standard frame is narrower */
@media (max-width: 600px) { .titlebar .epoch, .titlebar .tver { display: none; } }

/* Pro bottom tabs and the Keys / Write sub-tabs: hover targeting effect. Corner brackets close in on the tab, a scan line sweeps across it once,
   and the underline grows out from the centre. Pure CSS; reduced motion keeps the brackets and drops the movement. */
html.pro .bot-sw [data-bot], html.pro .subtabs button { position: relative; overflow: hidden; transition: color .15s, background-color .15s, text-shadow .15s; }
html.pro .bot-sw [data-bot]::before, html.pro .subtabs button::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 0 35%, color-mix(in srgb, var(--accent) 45%, transparent) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; }
html.pro .bot-sw [data-bot]::after, html.pro .subtabs button::after { content: ""; position: absolute; inset: 1px; pointer-events: none; opacity: 0; transform: scale(1.25);
  transition: opacity .15s, transform .2s cubic-bezier(.2, .8, .2, 1);
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 6px 1px, linear-gradient(var(--accent), var(--accent)) 0 0 / 1px 6px,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 6px 1px, linear-gradient(var(--accent), var(--accent)) 100% 0 / 1px 6px,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 6px 1px, linear-gradient(var(--accent), var(--accent)) 0 100% / 1px 6px,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 6px 1px, linear-gradient(var(--accent), var(--accent)) 100% 100% / 1px 6px;
  background-repeat: no-repeat; }
html.pro .bot-sw [data-bot]:hover, html.pro .subtabs button:hover, html.pro .bot-sw [data-bot]:focus-visible, html.pro .subtabs button:focus-visible { color: var(--fg); background-color: color-mix(in srgb, var(--accent) 10%, transparent); text-shadow: 0 0 8px color-mix(in srgb, var(--accent) 70%, transparent); }
html.pro .bot-sw [data-bot]:hover::after, html.pro .subtabs button:hover::after, html.pro .bot-sw [data-bot]:focus-visible::after, html.pro .subtabs button:focus-visible::after { opacity: 1; transform: none; }
html.pro .bot-sw [data-bot]:hover::before, html.pro .subtabs button:hover::before, html.pro .bot-sw [data-bot]:focus-visible::before, html.pro .subtabs button:focus-visible::before { animation: bot-scan .55s ease-out 1; }
html.pro .bot-sw [data-bot]:not([aria-pressed="true"]), html.pro .subtabs button:not([aria-selected="true"]) { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: 50% 100%; background-size: 0 2px; transition: color .15s, background-color .15s, background-size .25s ease-out, text-shadow .15s; }
html.pro .bot-sw [data-bot]:not([aria-pressed="true"]):hover, html.pro .subtabs button:not([aria-selected="true"]):hover { background-size: 100% 2px; }
html.pro .bot-sw.bot-dragging [data-bot]::before, html.pro .bot-sw.bot-dragging [data-bot]::after { display: none; }
@keyframes bot-scan { 0% { opacity: 1; background-position: 150% 0; } 100% { opacity: 0; background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { html.pro .bot-sw [data-bot]::before, html.pro .subtabs button::before { display: none; } html.pro .bot-sw [data-bot]::after, html.pro .subtabs button::after { transform: none; transition: opacity .15s; } }
/* Pro Keys and Write sub-tabs can be dragged into a new order */
html.pro .subtabs [data-sub] { touch-action: pan-y; user-select: none; }
html.pro .subtabs.sub-dragging, html.pro .subtabs.sub-dragging [data-sub] { cursor: grabbing; }
html.pro .subtabs .sub-drag { color: var(--fg); background-color: var(--surface); outline: 1px dashed var(--line-hi); outline-offset: -1px; }
html.pro .subtabs.sub-dragging [data-sub]::before, html.pro .subtabs.sub-dragging [data-sub]::after { display: none; }
