@font-face { font-family: "Geist"; src: url("geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Same system as innernetcorp.com: monochrome, square, thin, bracket frames. */
:root {
  --bg: #000; --surface: #0A0A0A; --surface-2: #121212; --border: #222; --border-2: #333;
  --frame: #A3A3A3; --text: #EDEDED; --muted: #A8A8A8; --dim: #8A8A8A;
  --ok: #EDEDED; --warn: #F5A524; --bad: #FF6166;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 "Geist", system-ui, sans-serif; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
code, .mono { font-family: var(--mono); font-size: 0.85em; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.05rem; }
p { margin: 0; color: var(--muted); }

.wrap { width: min(1120px, 100% - 2 * clamp(20px, 4vw, 32px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.top .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.top .logo img { display: block; }
.top .spacer { flex: 1; }
.top .who { color: var(--muted); font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.frame { position: relative; border: 1px solid var(--border); background: var(--surface); }
.frame::before, .frame::after { content: ""; position: absolute; pointer-events: none; }
.frame::before { left: -1px; top: -1px; bottom: -1px; width: 14px; border: 2px solid var(--frame); border-right: 0; }
.frame::after { right: -1px; top: -1px; width: 14px; height: 14px; border-top: 2px solid var(--frame); border-right: 2px solid var(--frame); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border: 1px solid var(--border-2); background: transparent; color: var(--text); font: 500 .9rem "Geist", sans-serif;
  cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); border-color: #4A4A4A; }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: #D4D4D4; border-color: #D4D4D4; color: #000; }
.btn-sm { height: 30px; padding: 0 12px; font-size: .8rem; }
.btn:disabled { opacity: .5; cursor: default; }

main { padding: 40px 0 80px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.head p { margin-top: 6px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.card { padding: 24px; min-width: 0; }
.span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 900px) { .span-4, .span-6, .span-8 { grid-column: span 12; } }
.card h2 { margin-bottom: 16px; }
.card .sub { font-size: .85rem; margin-top: 12px; }

.state { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem var(--mono); border: 1px solid var(--border-2); padding: 4px 10px; }
.state::before { content: ""; width: 7px; height: 7px; background: var(--dim); }
.state.listed::before { background: var(--ok); }
.state.testing::before { background: var(--warn); }
.state.suspended::before, .state.removed::before { background: var(--bad); }
.big { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; font-size: .9rem; }
.kv dt { color: var(--dim); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.nums div { background: var(--bg); padding: 14px 16px; min-width: 0; }
.nums span { display: block; font-size: .8rem; color: var(--dim); }
.nums strong { display: block; font-weight: 500; font-size: 1.15rem; margin-top: 2px; }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 96px; margin-top: 20px; border-bottom: 1px solid var(--border-2); }
.bars i { flex: 1; min-height: 1px; background: #5A5A5A; }
.bars i:hover { background: #fff; }
.bars-legend { display: flex; justify-content: space-between; font-size: .75rem; color: var(--dim); margin-top: 6px; }

table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--dim); font-weight: 400; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow: visible; }
.scroll td { overflow-wrap: anywhere; }
.empty { color: var(--dim); font-size: .9rem; padding: 16px 0 4px; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.tag { font: .75rem var(--mono); border: 1px solid var(--border-2); padding: 2px 6px; color: var(--muted); }

.center { min-height: calc(100vh - 61px); display: grid; place-items: center; padding: 40px 0; }
.panel { width: min(440px, 100% - 40px); padding: 36px 32px; }
.panel h1 { margin-bottom: 10px; }
.panel p + p, .panel p + .btn, .panel .btn + p { margin-top: 16px; }
.panel .btn { width: 100%; margin-top: 24px; }
.panel label { display: block; font-size: .85rem; color: var(--muted); margin-top: 20px; }
.panel input { width: 100%; height: 40px; margin-top: 6px; padding: 0 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border-2); font: inherit; }
.msg { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.msg.error { color: var(--bad); }
.terminal { margin-top: 16px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); font: .85rem var(--mono); overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; }
.note { font-size: .85rem; color: var(--dim); margin-top: 12px; }
.scroll table { min-width: 0; }
/* Small screens: each row becomes a short stacked block, so nothing scrolls sideways. */
@media (max-width: 640px) {
  .scroll thead { display: none; }
  .scroll tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .scroll td { display: block; border: 0; padding: 2px 0; text-align: left; }
  .scroll td.num { text-align: left; }
  .scroll .row-actions { justify-content: flex-start; margin-top: 6px; }
}
@media (max-width: 600px) {
  .card { padding: 20px 16px; }
  .nums { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
}
.head > div { min-width: 0; }
.head .mono { overflow-wrap: anywhere; }
td .note { margin-top: 2px; }
.narrow { max-width: 720px; }
.step { margin-top: 16px; }
.step p + p, .step p + .btn, .step .note + .btn { margin-top: 14px; }
.step .btn { margin-top: 18px; }
.step label { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.field { width: 100%; height: 40px; margin-top: 6px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border-2); font-size: .85rem; }
.copyable { display: flex; align-items: center; gap: 12px; justify-content: space-between; white-space: normal; }
.copyable code { overflow-wrap: anywhere; font-size: .85rem; }
.copyable .btn { margin-top: 0; flex: none; }
strong { color: var(--text); font-weight: 500; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; margin-top: 16px; }
.fields label, .step > label { display: block; font-size: .85rem; color: var(--muted); }
.step > label { margin-top: 16px; }
.offer .toggle { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; color: var(--muted); font-size: .95rem; cursor: pointer; }
.offer .toggle:first-child { margin-top: 0; }
.offer .toggle input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 2px 0 0; width: 20px; height: 20px;
  border: 1.5px solid var(--frame); border-radius: 4px; background: transparent; cursor: pointer;
  display: grid; place-content: center;
}
.offer .toggle input:hover { border-color: #fff; }
.offer .toggle input:checked { background: #fff; border-color: #fff; }
.offer .toggle input:checked::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px;
  border: solid #000; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.offer .toggle input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.offer .group { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.offer .group h3 { font-size: 1rem; color: var(--text); }
.offer .group .note { margin: 4px 0 0; color: var(--dim); font-size: .9rem; }
.offer .group .toggle { margin-top: 16px; }
#gpu-block { margin-top: 4px; }
.offer .toggle strong { display: block; color: var(--text); }
.offer .fields { padding-left: 28px; }
.code-input { font-family: var(--mono) !important; font-size: clamp(.95rem, 3.6vw, 1.3rem) !important; letter-spacing: .08em; text-align: center; height: 52px !important; }
.offer .group .msg { padding-left: 32px; margin-top: 10px; }
.terms h2 { font-size: 1.25rem; margin-bottom: 12px; }
.terms h3 { font-size: 1rem; margin-top: 22px; }
.terms p { color: var(--muted); line-height: 1.65; }
.terms .fp { font-family: var(--mono); font-size: .75rem; color: var(--dim); word-break: break-all; margin: 0 0 8px; }
.offer .terms-box { margin-top: 0; }
select.field { color: var(--text); background-color: #000; }

/* live setup progress */
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.steps li { display: grid; grid-template-columns: 22px max-content minmax(0, 1fr); gap: 4px 12px; align-items: baseline; }
.steps li .mk { font-weight: 700; text-align: center; }
.steps li .lb { color: var(--dim); }
.steps li .tx { overflow-wrap: anywhere; }
.steps li.ok .mk { color: var(--ok); }
.steps li.warn .mk { color: var(--warn); }
.steps li.fail .mk, .steps li.fail .tx { color: var(--bad); }
.steps li.run .mk { color: var(--muted); }
@media (max-width: 560px) { .steps li { grid-template-columns: 22px minmax(0, 1fr); } .steps li .tx { grid-column: 2; } }

/* registry admin */
.admin-list { display: grid; gap: 12px; margin-bottom: 32px; }
.admin-h { margin: 8px 0 12px; }
.admin-item { display: grid; gap: 14px; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.admin-row .mono, .admin-audit .mono { font-family: var(--mono); font-size: .8rem; }
.dim { color: var(--dim); }
.admin-keys { display: grid; gap: 8px; font-size: .88rem; }
.btn-danger { border-color: var(--bad); color: var(--bad); background: transparent; }
.btn-danger:hover { background: var(--bad); color: #000; }
.admin-audit { width: 100%; border-collapse: collapse; font-size: .82rem; }
.admin-audit td { padding: 6px 10px 6px 0; border-top: 1px solid var(--border-2); vertical-align: top; overflow-wrap: anywhere; }
.notice { border: 1px solid var(--warn); padding: 12px 14px; font-size: .88rem; color: var(--text, #EDEDED); margin-top: 10px; }
.notice strong { color: var(--warn); }

/* schedule */
.sched { width: 100%; max-width: 520px; border-collapse: collapse; margin: 12px 0; font-size: .9rem; }
.sched th { text-align: left; color: var(--dim); font-weight: 500; padding: 4px 12px 4px 0; }
.sched td { padding: 4px 12px 4px 0; }
.sched input[type=time] { width: 120px; }
.sched label { display: flex; gap: 8px; align-items: center; }

/* admin at scale */
.tiles-adm { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--border-2); border: 1px solid var(--border-2); }
.tiles-adm li { background: var(--bg, #000); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.tiles-adm strong { font-size: 1.35rem; font-weight: 600; }
.tiles-adm span { color: var(--dim); font-size: .8rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border-2); margin: 20px 0 16px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
.tabs button[aria-selected=true] { color: var(--text, #fff); border-bottom-color: var(--text, #fff); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar .field { width: auto; min-width: 180px; margin: 0; }
.toolbar #m-q, .toolbar #o-q, .toolbar #a-q { flex: 1 1 280px; }
.toolbar .spacer { flex: 1; }
.bulkbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--border-2); margin-bottom: 12px; }
.tbl-wrap { width: 100%; }
table.adm { width: 100%; border-collapse: collapse; font-size: .86rem; table-layout: auto; }
table.adm th { text-align: left; color: var(--dim); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--border-2); white-space: nowrap; }
table.adm td { padding: 9px 10px; border-bottom: 1px solid var(--border-2); vertical-align: top; overflow-wrap: anywhere; }
table.adm tr.clickable { cursor: pointer; }
table.adm tr.clickable:hover td { background: rgba(255,255,255,.03); }
table.adm th.sortable { cursor: pointer; }
table.adm .mono, .mono { font-family: var(--mono); font-size: .78rem; }
table.adm .link { text-decoration: underline; text-underline-offset: 3px; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin: 12px 0 32px; font-size: .85rem; color: var(--dim); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 100vw); background: #050505; border-left: 1px solid var(--border-2); padding: 20px 24px; overflow-y: auto; z-index: 50; box-shadow: -20px 0 40px rgba(0,0,0,.6); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.drawer h3 { margin: 20px 0 8px; font-size: .95rem; }
.drawer .admin-acts { margin-top: 16px; }
@media (max-width: 900px) {
  .tiles-adm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.adm thead { display: none; }
  table.adm tr { display: block; border-bottom: 1px solid var(--border-2); padding: 8px 0; }
  table.adm td { display: block; border: 0; padding: 3px 4px; }
}
.plain { margin: 8px 0 16px; padding-left: 22px; display: grid; gap: 6px; font-size: .92rem; }

/* Phone wallet pairing (WalletConnect) */
.wc-box { margin-top: 16px; }
.qr { display: inline-block; background: #fff; padding: 8px; border-radius: 8px; line-height: 0; }
.qr svg { width: 232px; height: 232px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; text-align: left; }
.pay-box { margin: 12px 0; }
.pay-box .qr { margin: 8px 0; }
/* Drawer event list: date and event never wrap; only the detail does. */
.drawer table.adm td:nth-child(1), .drawer table.adm td:nth-child(2) { white-space: nowrap; overflow-wrap: normal; }
.drawer table.adm td:nth-child(3) { overflow-wrap: break-word; width: 100%; }
@media (min-width: 1100px) { .drawer { width: min(760px, 100vw); } }

/* ---- Send ---- */
.label { display: block; margin: 16px 0 6px; color: var(--dim); font-size: .9rem; }
.file-field { height: auto; padding: 10px 12px; }
.plain { margin: 0 0 12px; padding-left: 20px; }
.plain li { margin: 6px 0; }
.stored { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.stored h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 500; }
.flow, .keys, .life { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.flow, .keys { grid-template-columns: repeat(3, 1fr); }
.life { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.flow li, .keys li, .life li { background: var(--bg); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flow strong, .keys strong, .life strong { font-weight: 500; overflow-wrap: anywhere; }
.flow-k { color: var(--dim); font-size: .8rem; }
.flow-d, .keys span, .life span { color: var(--dim); font-size: .85rem; line-height: 1.4; }
.parts { display: flex; flex-wrap: wrap; gap: 4px; min-height: 22px; align-items: center; }
.parts i { width: 16px; height: 16px; border: 1px solid var(--text); background: repeating-linear-gradient(45deg, transparent 0 3px, var(--dim) 3px 4px); }
@media (max-width: 640px) { .flow, .keys { grid-template-columns: 1fr; } .life { grid-template-columns: repeat(2, 1fr); } }
.sent { list-style: none; margin: 16px 0 0; padding: 0; }
.sent li { padding: 16px 0; border-top: 1px solid var(--border); }
.sent-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.sent-head strong { overflow-wrap: anywhere; }
.sent .msg { margin: 6px 0 10px; }

/* INNERNET Send: choosing, the six live steps, payment, history */
.seg { display: inline-flex; border: 1px solid var(--border-2); margin-bottom: 16px; }
.seg label { margin: 0 !important; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 18px; font-size: .9rem; color: var(--muted); }
.seg input:checked + span { background: #fff; color: #000; }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.drop { display: grid !important; gap: 6px; place-items: center; text-align: center; padding: 36px 16px; margin: 0 !important;
  border: 1px dashed var(--border-2); background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.drop strong { color: var(--text); font-weight: 500; font-size: 1rem; overflow-wrap: anywhere; }
.drop span { color: var(--dim); font-size: .85rem; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:hover, .drop.over, .drop:focus-within { border-color: #fff; background: var(--surface-2); }
.drop.has { border-style: solid; border-color: var(--frame); }
.area { height: auto !important; padding: 10px 12px !important; line-height: 1.5; resize: vertical; font-family: inherit; font-size: .95rem !important; }
.more { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.more summary { cursor: pointer; color: var(--text); font-weight: 500; }
.more summary .dim { font-weight: 400; font-size: .85rem; margin-left: 8px; }
.opts { display: grid; gap: 14px; margin-top: 16px; }
.opt { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; margin: 0 !important; color: var(--text) !important; font-size: .9rem !important; }
.opt .field { margin-top: 0; width: auto; }
.inline { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.num { width: 84px !important; margin-top: 0 !important; text-align: right; }
.check { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; color: var(--text) !important; font-size: .9rem !important; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: #fff; flex: none; }
.price { font: 400 .78rem var(--mono); color: var(--dim); margin-left: 6px; white-space: nowrap; }
.opts input:disabled, .opts input:disabled + * { opacity: .5; }
.meter { margin-top: 18px; border: 1px solid var(--border); background: var(--bg); padding: 12px 14px; }
.meter ul { list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); }
.meter li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.meter li span:last-child { font-family: var(--mono); }
.meter-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-size: .9rem; }
.meter ul:not(:empty) + .meter-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.meter-total strong { color: var(--text); font-size: 1.25rem; font-weight: 500; }

.bar { position: relative; height: 6px; background: var(--surface-2); margin: 30px 0 22px; }
.bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: #fff; transition: width .3s ease; }
.bar::after { content: attr(data-pct); position: absolute; right: 0; bottom: 12px; font: 500 1.25rem var(--mono); color: var(--text); }
.six { list-style: none; margin: 0; padding: 0; display: grid; }
.six li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; position: relative; }
.six li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 1px; background: var(--border-2); }
.six li.done:not(:last-child)::before { background: var(--frame); }
.six-n { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border-2); font: 500 .8rem var(--mono); color: var(--dim); background: var(--surface); transition: background .25s, color .25s, border-color .25s; }
.six strong { display: block; font-weight: 500; color: var(--dim); line-height: 30px; transition: color .25s; }
.six-t { display: block; font-size: .85rem; color: var(--dim); max-width: 60ch; }
.six li.wait .six-t { display: none; }
.six li.run .six-n { border-color: #fff; color: #fff; animation: six-pulse 1.1s ease-in-out infinite; }
.six li.run strong, .six li.done strong { color: var(--text); }
.six li.run .six-t { color: var(--muted); }
.six li.done .six-n { background: #fff; border-color: #fff; color: #000; }
@keyframes six-pulse { 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .14); } }
.cells { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; margin-top: 10px; max-width: 420px; }
.cells i { height: 12px; background: var(--surface-2); border: 1px solid var(--border); transition: background .2s, border-color .2s, opacity .5s, transform .5s; }
.cells i.on { background: #fff; border-color: #fff; }
.cells i.gone { background: #fff; opacity: 0; transform: scale(.2) rotate(45deg); }
.six li.wait .cells { display: none; }
.paybox { border: 1px solid var(--frame); padding: 18px; margin: 4px 0 8px 44px; background: var(--bg); }
.paybox h3 { font-size: 1.05rem; margin-bottom: 8px; }
.paybox .big { font-size: 1.5rem; }
.six[hidden] + .paybox { margin-left: 0; }
.chip { font: 500 .72rem var(--mono); border: 1px solid var(--border-2); padding: 1px 8px; color: var(--muted); }
.chip.on { background: #fff; color: #000; border-color: #fff; }
.chip.off { color: var(--dim); border-style: dashed; }
.msg.warn { color: var(--warn); }
.reply, .shown { border-left: 2px solid var(--frame); padding: 8px 14px; margin: 8px 0 12px; color: var(--text); background: var(--bg); white-space: pre-wrap; overflow-wrap: anywhere; }
.shown { font-size: 1.05rem; line-height: 1.6; padding: 16px 18px; margin-top: 14px; }
.ext { margin-top: 10px; }
.ext .btn { margin-top: 0; }
.sent .row-actions { flex-wrap: wrap; justify-content: flex-start; }
.sent .row-actions .btn { margin-top: 0; }
.tally { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 28px 0 40px; }
.tally div { background: var(--bg); padding: 16px; display: grid; gap: 2px; }
.tally strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.tally span { font-size: .78rem; color: var(--dim); }
@media (max-width: 560px) {
  .tally { grid-template-columns: repeat(2, 1fr); }
  .opt { grid-template-columns: 1fr; }
  .paybox { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bar::before, .six-n, .cells i { transition: none; }
  .six li.run .six-n { animation: none; }
}

/* INNERNET Send: packages, add-on cards, ready-made uses, holders */
.recipes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.recipes .btn { margin-top: 0; }
.recipes .dim { margin-left: 6px; font-size: .75rem; }
.grp { font-size: .8rem !important; color: var(--dim); font-weight: 500; margin: 26px 0 10px !important; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.tile { background: var(--bg); padding: 12px 14px; display: grid !important; gap: 2px; margin: 0 !important; position: relative; color: var(--muted) !important; }
.tile strong { font-weight: 500; font-size: .92rem; color: var(--muted); }
.tile span, .tile .price { font: 400 .8rem var(--mono); color: var(--dim); margin: 0; }
.tile.pick { cursor: pointer; }
.tile.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile.pick:hover { background: var(--surface-2); }
.tile.on { background: #fff; }
.tile.on strong { color: #000; }
.tile.on span, .tile.on .price { color: #333; }
.tile.pick:focus-within { outline: 2px solid #fff; outline-offset: 2px; z-index: 1; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.addon { background: var(--bg); padding: 14px 16px; min-width: 0; transition: background .15s; }
.addon.on { background: var(--surface-2); box-shadow: inset 2px 0 0 #fff; }
.addon > .check > span { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.addon strong { font-weight: 500; }
.addon p { font-size: .82rem; color: var(--dim); margin: 6px 0 0 26px; line-height: 1.45; }
.addon .sub { margin: 10px 0 0 26px; }
.addon .sub .field { margin-top: 0; }
.holders { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.holders code { font-size: .78rem; }
#cu-fields { display: grid; gap: 8px; margin-top: 14px; }
select.num { width: auto !important; text-align: left; }
@media (max-width: 620px) { .addons { grid-template-columns: 1fr; } }
.holders { list-style: none; padding-left: 0; }
.holders li { border-left: 2px solid var(--frame); padding: 2px 0 2px 12px; }
.keyrow { display: grid !important; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) auto auto; gap: 10px; align-items: center; margin: 0 !important; }
.keyrow strong { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.keyrow .field { margin-top: 0; font-family: var(--mono); }
.keyrow.ok .field { border-color: #fff; }
@media (max-width: 560px) { .keyrow { grid-template-columns: 1fr auto; } .keyrow .field { grid-column: 1 / -1; grid-row: 2; } }
.meter-renew { font-size: .8rem; color: var(--dim); margin-top: 6px; }
.ext { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .85rem; }
.keyrow .btn { margin-top: 0; }
.keyrow.ok { grid-template-columns: minmax(80px, 1fr) auto; }

/* INNERNET Send: the wizard */
.wz-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 16px; }
.wz-dot { background: var(--bg); color: var(--dim); border: 0; padding: 10px 6px; font: inherit; font-size: .78rem; cursor: pointer; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-dot.done { color: var(--text); }
.wz-dot.on { background: #fff; color: #000; font-weight: 500; }
.wz-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.wz-foot .btn { margin-top: 0; }
.wz-sum { margin-left: auto; font: 400 .85rem var(--mono); color: var(--muted); }
.addons.one { grid-template-columns: 1fr; margin-top: 16px; }
.wz .plan { margin-top: 16px; }
@media (max-width: 620px) { .wz-nav { grid-template-columns: repeat(3, 1fr); } .wz-sum { margin-left: 0; width: 100%; order: -1; } }
.addon.lock { display: block !important; margin: 0 !important; cursor: pointer; }
.addon.lock .check input { width: 16px; height: 16px; accent-color: #fff; }
.wz #keys-box { margin: 14px 0 0; }
#pin-extras { margin-top: 16px; }

/* INNERNET Send: use cases, artefacts, the opening page's extra panels */
.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 8px; }
.use { background: var(--bg); border: 0; color: var(--text); text-align: left; padding: 12px 14px; cursor: pointer; display: grid; gap: 4px; font: inherit; }
.use strong { font-weight: 500; font-size: .9rem; }
.use span { font-size: .78rem; color: var(--dim); line-height: 1.4; }
.use:hover:not(:disabled) { background: var(--surface-2); }
.use:disabled { opacity: .45; cursor: default; }
.use:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.qr { background: #fff; display: inline-block; padding: 6px; margin: 6px 12px 6px 0; line-height: 0; }
.badges { font-size: .8rem; color: var(--dim); margin-top: 8px; }
.view { position: relative; overflow: hidden; margin-top: 14px; }
.view img { max-width: 100%; display: block; }
.view .shown { margin: 0; }
.view.away > * { visibility: hidden; }
.mark { position: absolute; inset: -20% -20%; pointer-events: none; color: rgba(255, 255, 255, .13); font-size: .8rem; line-height: 2.6; transform: rotate(-24deg); word-break: break-all; user-select: none; mix-blend-mode: difference; }
table.adds { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .88rem; }
table.adds th, table.adds td { border-top: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
table.adds th { color: var(--dim); font-weight: 400; white-space: nowrap; font-size: .8rem; }
.sent .extra { margin-top: 8px; }
.shown.card-gift, .shown.card-invite, .shown.card-voucher, .shown.card-letter { border: 1px solid var(--frame); border-left-width: 1px; padding: 36px 28px; text-align: center; font-size: 1.2rem; }
.shown.card-gift { background: #fff; color: #000; }
.shown.card-voucher { border-style: dashed; font-family: var(--mono); letter-spacing: .04em; }
.shown.card-invite { font-size: 1.35rem; letter-spacing: -0.01em; }
.shown.card-letter { text-align: left; font-size: 1.05rem; line-height: 1.8; }
#artifacts .note { margin-top: 4px; }
#handon-out code { overflow-wrap: anywhere; display: block; margin-top: 10px; }
@media print { header, .wz-nav, #sent-card, #tally, .actions, #stored, form { display: none !important; } body { background: #fff; color: #000; } .card { border: 0; } }

/* INNERNET Send: form builder, ways to pay, formatted notes, signatures */
.formrows { display: grid; gap: 8px; margin: 8px 0; }
.formrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto auto; gap: 8px; align-items: center; }
.formrow .field { margin-top: 0; }
.formrow .btn { margin-top: 0; }
.formrow > input:last-child { grid-column: 1 / -1; }
.feeline { font-size: .85rem; color: var(--text); border-left: 2px solid #fff; padding: 6px 12px; margin-top: 12px; background: var(--surface-2); }
.payways { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
.payways .btn { margin-top: 0; }
.payways .qr { margin: 0 0 8px; display: block; width: max-content; }
.shown.rich { white-space: normal; }
.shown.rich h3, .shown.rich h4, .shown.rich h5 { margin: 14px 0 6px; }
.shown.rich p { margin: 6px 0; }
.shown.rich ul { margin: 6px 0 6px 20px; }
.shown.rich a { color: #fff; text-decoration: underline; }
.shown.rich hr { border: 0; border-top: 1px solid var(--border-2); margin: 14px 0; }
table.adds .signed { font-weight: 500; margin-top: 4px; }
table.adds .error { color: var(--bad, #ff6b6b); font-weight: 500; }
.use.on { background: #fff; }
.use.on strong { color: #000; } .use.on span { color: #333; }
@media (max-width: 620px) { .formrow { grid-template-columns: 1fr 1fr; } .payways { grid-template-columns: 1fr; } }
.senderkey { border: 1px solid #fff; padding: 14px 16px; margin: 18px 0 6px; background: var(--surface-2); }
.senderkey .label { margin-top: 0; color: var(--text); }
.editor { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 4px; display: grid; gap: 4px; max-width: 420px; }
.editor .btn { justify-self: start; margin-top: 10px; }

/* INNERNET Send as an app: its own bar, a home screen, a setup screen, and "Your sends" */
.app-top .logo span { font-weight: 500; color: var(--text); }
.app-nav { display: flex; gap: 2px; margin-left: 24px; }
.app-nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; font-size: .9rem; border-bottom: 2px solid transparent; }
.app-nav a:hover { color: var(--text); }
.app-nav a.on { color: var(--text); border-bottom-color: #fff; }
.app-start { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0 10px; }
.app-start .btn { margin-top: 0; }
[data-view="home"] .grp { font-size: .95rem !important; color: var(--text); margin: 30px 0 8px !important; }
.usebar { font-size: .8rem; color: var(--dim); margin: 18px 0 2px; }
.usebar span { color: var(--text); margin-right: 10px; }
.usebar a { color: var(--muted); }
@media (max-width: 620px) { .app-nav { margin-left: 8px; } .app-nav a { padding: 8px 6px; font-size: .82rem; } .app-top .btn { display: none; } }
.uses { background: none; border: 0; gap: 0; padding: 1px; }
.use { box-shadow: 0 0 0 1px var(--border); }

/* INNERNET Send: the film (same look as the homepage diagram) */
.film { position: relative; margin: 8px 0 4px; }
.film svg { width: 100%; height: auto; display: block; overflow: visible; }
.film text { font-family: inherit; fill: var(--text); }
.film .dia-step { font-size: 15px; }
.film .link { fill: none; stroke: #2E2E2E; stroke-width: 1.2; transition: stroke 400ms ease; }
.film .link.live { stroke: #6B6B6B; stroke-dasharray: 6 6; animation: film-flow 700ms linear infinite; }
@keyframes film-flow { to { stroke-dashoffset: -12; } }
.film .node { fill: #050505; stroke: #262626; stroke-width: 1.2; }
.film .node-frame { fill: none; stroke: var(--frame); stroke-width: 2.4; }
.film .node-label { font-size: 13px; font-weight: 500; fill: var(--muted); }
.film .node-state { font-size: 11px; fill: var(--dim); font-family: var(--mono); }
.film .server { transition: opacity 400ms ease; }
.film .server.down { opacity: .45; }
.film .cell, .film .tok { transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 400ms ease; }
.film .cell rect { fill: #111; stroke: #3A3A3A; stroke-width: 1; transition: fill 300ms ease, stroke 300ms ease; }
.film .cell text { font-family: var(--mono); font-size: 16px; text-anchor: middle; }
.film .cell.sealed rect { fill: #1A1A1A; stroke: #5A5A5A; }
.film .cell.sealed text { fill: var(--muted); }
.film .cell.empty rect { fill: none; stroke: #262626; stroke-dasharray: 3 3; }
.film .chunk-no { font-family: var(--mono); font-size: 11px; fill: var(--dim); text-anchor: middle; transition: opacity 300ms ease; }
.film .tok rect { fill: var(--text); }
.film .tok text { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: #000; text-anchor: middle; }
.film .tok.dim { opacity: .3 !important; }
.film .tok.key rect { fill: #000; stroke: #fff; stroke-width: 2; }
.film .tok.key text { fill: #fff; }
.film svg.fast .cell, .film svg.fast .tok, .film svg.fast .cell rect, .film svg.fast .link { transition: none; animation: none; }
.film-skip { position: absolute; right: 0; top: -2px; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#done-film .film { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .film .cell, .film .tok, .film .link.live { transition: none; animation: none; } }
@media (max-width: 560px) { .film .dia-step { font-size: 19px; } .film .node-label { font-size: 17px; } .film .cell text { font-size: 19px; } .film-skip { position: static; margin-top: 6px; } }
@media (max-width: 620px) {
  .app-nav a { white-space: nowrap; }
  #nav-home { display: none; }
  .film .tok text { font-size: 12.5px; }
  .film .node-state, .film .chunk-no { font-size: 14px; }
}
.film .content-label { font-size: 12px; fill: var(--muted); text-anchor: middle; font-family: var(--mono); }
.film .rule text { font-size: 11px; fill: var(--muted); font-family: var(--mono); }
.film .rule { transition: opacity 350ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.film .tok.person rect { fill: #2A2A2A; stroke: #8A8A8A; }
.film .tok.person text { fill: #fff; }
.film .tok.coin rect { fill: #fff; rx: 13; }
.film .cell image { image-rendering: pixelated; }
.film .cell.sealed image { filter: none; }
.film .tok.shard rect { fill: #fff; }
.film .tok.shard text { font-size: 12px; }

/* Admin: INNERNET Send prices */
.price-fee { margin: 18px 0 8px; }
.price-fee .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-fee .field { max-width: 120px; }
.price-h { margin: 28px 0 10px; font-size: 1rem; }
table.prices td:first-child { width: 50%; }
.price-in { max-width: 120px; padding: 6px 8px; }
.price-in.edited { border-color: var(--text, #EDEDED); }
/* HTML from the sender: a closed, clipped box. Nothing inside can draw outside it. */
.shown.html { white-space: normal; padding: 0; border-left: 0; background: transparent; }
.html-note { display: block; contain: paint; isolation: isolate; position: relative; overflow: auto; max-height: 75vh; border: 1px solid var(--frame); background: #fff; }
#fmt-view { margin-top: 12px; }
.fmt { display: grid; gap: 4px; margin-top: 6px; }
/* Free protection, shown to sender and receiver */
.protect { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--border-2, #333); }
.protect h3, .shield h3 { font-size: 1rem; margin: 0 0 10px; }
.protect .field.num { max-width: 90px; }
.shield { margin-top: 14px; }
.shield ul.checks li { margin: 6px 0; font-size: .92rem; color: var(--muted, #A8A8A8); }
.shield ul.checks strong { color: var(--text, #EDEDED); font-weight: 500; }

/* Share link first; the sender key folded away and marked private */
.share-box { padding: 14px; border: 1px solid var(--seal, #9DB7FF); border-radius: 12px; }
.share-box .label { color: var(--text, #EDEDED); font-weight: 500; }
details.senderkey.private { margin-top: 18px; padding: 12px 14px; border: 1px solid #5a2a2a; border-left: 3px solid #d46a6a; border-radius: 10px; background: rgba(212,106,106,.05); }
details.senderkey.private summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
details.senderkey.private summary span { font-size: .85rem; color: var(--muted, #A8A8A8); }
details.senderkey.private .actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.mk-ask { margin: 0 0 18px; padding: 18px; border: 1px solid #5a2a2a; border-left: 3px solid #d46a6a; border-radius: 12px; background: rgba(212,106,106,.06); }
.mk-ask h3 { margin: 0 0 8px; }
.mk-ask p { margin: 6px 0; }
.mk-ask .actions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Copy and share */
.share-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-bar .btn { text-decoration: none; }
@media (max-width: 600px) { .share-bar .btn { flex: 1 1 auto; justify-content: center; } }

/* One button style with the website: black with a white outline; hover and active are inverted. */
.btn-light { background: #000; color: #fff; border: 1px solid #fff; }
.btn-light:hover:not(:disabled), .btn-light:active:not(:disabled), .btn-light[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }

/* Three levels; periods in one row */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; border: 1px solid var(--border); }
.levels > div { padding: 12px 14px; border-right: 1px solid var(--border); min-width: 0; }
.levels > div:nth-child(3) { border-right: 0; }
.levels b { display: block; font-weight: 500; color: var(--text); font-size: .92rem; }
.levels span { display: block; margin-top: 2px; font-size: .8rem; color: var(--dim); line-height: 1.45; }
.levels p { grid-column: 1 / -1; margin: 0; padding: 9px 14px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--dim); }
.plan.periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.plan.periods .pc { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; min-width: 0; }
.plan.periods .pc input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.plan.periods .ph { font-size: .95rem; font-weight: 500; color: inherit; }
.plan.periods .pc strong { font-size: .8rem; font-weight: 400; color: var(--dim); }
.plan.periods .pc:hover { border-color: #666; }
.plan.periods .pc.on { background: #fff; color: #000; border-color: #fff; }
.plan.periods .pc.on strong { color: #333; }
.plan.periods .pc.off { opacity: .45; cursor: default; }
.plan.periods .pc:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { .plan.periods { grid-template-columns: 1fr 1fr; } .levels { grid-template-columns: 1fr; } .levels > div { border-right: 0; border-bottom: 1px solid var(--border); } .levels > div:nth-child(3) { border-bottom: 0; } }
.price.adv { color: var(--seal, #9DB7FF); }
.resume { margin: 0 0 18px; padding: 16px 18px; border: 1px solid #fff; background: var(--surface); }
.resume h3 { margin: 0 0 6px; font-size: 1rem; }
.resume p { margin: 4px 0; color: var(--dim); }
.resume .actions { margin-top: 10px; }
.term-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 14px; margin: 12px 0; }
.term-form .label { display: grid; gap: 6px; }
.term-deploy { margin-top: 14px; border: 1px solid var(--border); padding: 12px 14px; }
.term-deploy summary { cursor: pointer; }
@media (max-width: 760px) { .term-form { grid-template-columns: 1fr; } }
.term-form .field { width: 100%; box-sizing: border-box; }

/* Receiver: send your own */
.invite { margin: 22px 0 0; padding: 22px 22px 20px; border: 1px solid #fff; background: var(--surface); }
.invite h2 { margin: 0 0 6px; font-size: 1.25rem; }
.invite > p { margin: 0 0 14px; color: var(--dim); }
.inv-points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); }
.inv-points li { padding: 12px 14px; border-right: 1px solid var(--border); min-width: 0; }
.inv-points li:last-child { border-right: 0; }
.inv-points strong { display: block; font-weight: 500; font-size: .92rem; }
.inv-points span { display: block; margin-top: 3px; font-size: .82rem; color: var(--dim); line-height: 1.45; }
.invite .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inv-count { margin: 12px 0 0; font-size: .82rem; color: var(--dim); }
@media (max-width: 600px) { .inv-points { grid-template-columns: 1fr; } .inv-points li { border-right: 0; border-bottom: 1px solid var(--border); } .inv-points li:last-child { border-bottom: 0; } }

/* Ad box of a free send: a frame from a separate address */
.ad-slot { margin: 22px 0 0; padding: 12px; border: 1px dashed var(--border); text-align: center; }
.ad-label { display: block; text-align: left; font-size: .72rem; color: var(--dim); margin-bottom: 8px; }
.ad-box { display: flex; justify-content: center; overflow: hidden; }
.ad-box iframe { border: 0; display: block; background: transparent; }
.ad-note { margin: 8px 0 0; font-size: .72rem; color: var(--dim); text-align: left; }

/* Accounts */
.acct-btn { margin-right: 8px; }
.acct-btn.on-acct { border-color: #fff; }
.ac-tabs { margin: 0 0 14px; }
.ac-form .field { margin-bottom: 4px; }
.ac-form .label { margin-top: 10px; }
.ac-form .check { margin-top: 12px; align-items: flex-start; }
.code-big { font-size: 1.15rem; letter-spacing: .06em; padding: 14px 16px; border: 1px solid #fff; background: #000; word-break: break-all; }
.txt-rec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 12px 0; }
.txt-rec dt { color: var(--dim); }
.txt-rec dd { margin: 0; word-break: break-all; }
.ac-who-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ac-who h2 { margin: 0 0 4px; }
.bal-big { font-size: 1.8rem; margin: 4px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.field-sm { width: auto; min-width: 0; max-width: 150px; padding: 6px 10px; }
.pay-box { border: 1px solid var(--border); padding: 14px; margin: 10px 0; }
.pay-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 10px 0; }
.fold-sm { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; }
.fold-sm summary { cursor: pointer; }
.ledger td { padding: 6px 8px; }
.thing-group { margin-top: 14px; }
.thing-group h3 { font-size: 1rem; margin: 0 0 6px; }
.thing-list li { padding: 10px 0; border-top: 1px solid var(--border); }
.co-add { margin-top: 12px; flex-wrap: wrap; }
.lim-form { margin-top: 8px; flex-wrap: wrap; gap: 6px; }
.ac-box { border: 1px solid var(--border); padding: 12px 14px; margin: 12px 0; display: grid; gap: 6px; }
.sender-line { margin: -4px 0 10px; color: var(--dim); }
.sender-line.ok { color: var(--text); }
@media (max-width: 600px) { .txt-rec { grid-template-columns: 1fr; } .ac-who-row { flex-direction: column; } }
.sent-section { list-style: none; padding: 16px 0 6px !important; border: 0 !important; font-weight: 500; color: var(--dim); font-size: .85rem; }
.thing-list { list-style: none; padding-left: 0; }
.thing-list .row-actions { flex-wrap: wrap; justify-content: flex-start; align-items: center; margin-top: 8px; }
.thing-list .row-actions .check { margin: 0; }
@media (max-width: 620px) {
  .app-top .acct-btn { display: inline-flex; margin-right: 0; padding: 6px 10px; font-size: .8rem; }
  .app-top .wrap { gap: 6px; }
  .app-nav a#nav-home { display: none; }
  .tbl-wrap { overflow-x: auto; }
  .co-add .field { width: 100%; }
}
.quick .q-field { margin-bottom: 14px; }
.quick .q-field .label { display: block; margin-bottom: 6px; }
.quick .seg { margin-bottom: 8px; }
.quick textarea.field { min-height: 90px; }
.q-price { margin: 14px 0 0; color: var(--dim); }
.q-price strong { color: var(--text); font-weight: 500; }
.use-new { font-size: .7rem; border: 1px solid var(--border); padding: 1px 6px; margin-left: 6px; color: var(--dim); }
.quick .q-field { margin-bottom: 14px; }
.quick .q-field .label { display: block; margin-bottom: 6px; }
.quick .seg { margin-bottom: 8px; }
.quick textarea.field { min-height: 90px; }
.q-price { margin: 14px 0 0; color: var(--dim); }
.q-price strong { color: var(--text); font-weight: 500; }
#sends-n { margin-left: 5px; }
.acct-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.acct-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); background: var(--panel, #0b0b0b); color: var(--text); text-decoration: none; }
.acct-card:hover, .acct-card:focus-visible { border-color: var(--text); }
.acct-card strong { font-weight: 500; font-size: 1.05rem; }
.acct-card span { color: var(--dim); font-size: .9rem; line-height: 1.5; flex: 1; }
.acct-card em { font-style: normal; align-self: flex-start; margin-top: 4px; }
.acct-already { grid-column: 1 / -1; margin: 2px 0 0; font-size: .85rem; }
.acct-already a, .acct-nudge a { color: var(--text); }
.acct-nudge { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--border); color: var(--dim); font-size: .9rem; }
@media (max-width: 700px) {
  .acct-offer { grid-template-columns: 1fr; }
  .nav-wide { display: none; }
  #nav-home { display: none; }
  .app-nav a { padding-left: 6px; padding-right: 6px; }
  #nav-account, #nav-signup { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 480px) { #nav-new, #nav-sends { display: none; } .app-nav { gap: 0; } }
.start-from { margin: 26px 0 0; }

/* Outline is the main button: white line, no fill. Chosen options are outlined, not filled. */
.btn-light, .btn-light:hover:not(:disabled), .btn-light:active:not(:disabled), .btn-light[aria-pressed="true"] { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-light:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.btn:not(.btn-light) { border-color: #333; }
.seg input:checked + span, .wz-dot.on, .chip.on, .plan.periods .pc.on { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; border-color: #fff; }
.tile.on, .use.on { background: transparent; box-shadow: inset 0 0 0 1px #fff; }
.tile.on *, .use.on * { color: inherit; }
.six li.done .six-n { background: transparent; color: #fff; border-color: #fff; }
.top .logo-app { margin-left: -4px; color: var(--text); font-weight: 500; }

/* The company space: people as tiles; drop a file on one. */
.nav-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border: 1px solid #fff; font-size: .72rem; line-height: 16px; text-align: center; font-weight: 500; }
.tm-bar { display: flex; gap: 8px; align-items: center; }
.tm-bar .field { flex: 1; min-width: 0; }
.tm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.tm-tile { display: grid; gap: 2px; text-align: left; padding: 14px 12px; min-height: 78px; background: transparent; color: var(--text); border: 1px solid var(--border-2); cursor: pointer; font: inherit; }
.tm-tile strong { font-weight: 500; overflow-wrap: anywhere; }
.tm-tile span, .tm-tile em { font-size: .8rem; font-style: normal; overflow-wrap: anywhere; }
.tm-tile em { color: var(--dim); }
.tm-tile:hover, .tm-tile:focus-visible { border-color: var(--frame); }
.tm-tile[aria-pressed=true] { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.tm-tile.over { border-color: #fff; background: var(--surface-2); box-shadow: inset 0 0 0 2px #fff; }
.tm-tile:disabled { opacity: .45; cursor: not-allowed; }
.tm-card { margin-top: 14px; padding: 16px; border: 1px solid #fff; }
.tm-card h3 { margin: 0 0 4px; font-weight: 500; }
.tm-opts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 10px 0; }
.tm-opts .check { margin: 0; }
.tm-list { list-style: none; padding: 0; margin: 0; }
.tm-list li.dim { padding: 4px 0; }
.tm-list li.tm-row { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); }
.tm-list li.tm-row:first-child { border-top: 0; }
.tm-list li.new strong::before { content: ""; display: inline-block; width: 7px; height: 7px; background: #fff; margin-right: 8px; vertical-align: middle; }
.tm-list .dim { font-size: .85rem; }
.tm-rules { display: grid; gap: 10px; margin-bottom: 18px; }
@media (max-width: 560px) { .tm-tiles { grid-template-columns: repeat(2, 1fr); } .tm-bar { flex-wrap: wrap; } .tm-bar .btn { width: 100%; } }

/* A download that stopped: it goes on from the last part, without another opening. */
.dl-pause { margin-top: 14px; padding: 14px 16px; border: 1px solid #fff; }
.dl-pause p { margin: 0 0 10px; }
table.adm.mach td { vertical-align: middle; }
.move { margin: 0 0 18px; border-color: var(--warn); }
.move h2 { margin-top: 0; }
table.adm.mach td.acts { white-space: nowrap; } table.adm.mach td.acts .btn + .btn { margin-left: 6px; }

/* inside the INNERNET desktop app: one menu for everything */
body.in-app .app-top .logo span, body.in-app #nav-home, body.in-app .app-top .nav-wide, body.in-app #nav-signup { display: none !important; }
body.in-app .app-nav a { white-space: nowrap; }
body.in-app .app-nav { flex-wrap: wrap; }
body.one-group [data-view=home] > .head p, body.one-group #acct-offer { display: none; }
#ac-machines, .grp { scroll-margin-top: 90px; }

/* Signed in: the account page shows one part at a time (home tiles, machines, balance or activity, people). */
#ac-in-view[data-show="home"] [data-part]:not([data-part="home"]),
#ac-in-view[data-show="machines"] [data-part]:not([data-part="machines"]),
#ac-in-view[data-show="balance"] [data-part]:not([data-part="balance"]),
#ac-in-view[data-show="people"] [data-part]:not([data-part="people"]) { display: none !important; }
.launch { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.lt { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; min-height: 132px; padding: 18px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.lt:hover, .lt:focus-visible { border-color: var(--frame); background: var(--surface-2); color: var(--text); }
.lt svg { width: 28px; height: 28px; margin-bottom: 10px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lt strong { font-weight: 500; font-size: 1rem; }
.lt span { color: var(--dim); font: 400 .85rem/1.45 "Geist", system-ui, sans-serif; }
.cmd-line { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; padding: 10px 12px; border: 1px solid var(--border); background: var(--bg); }
.cmd-line code { flex: 1; overflow-x: auto; white-space: nowrap; color: var(--text); margin: 0; padding: 0; border: 0; background: none; display: block; }
#ac-machines h3 { margin: 22px 0 6px; font-size: .95rem; }
#ac-machines .dim { font-size: .85rem; margin-top: 8px; }
#add-form { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
#add-form .field { flex: 1; max-width: 320px; margin: 0; }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.cmd-line .btn, #add-form .btn { margin: 0; }

/* ---- v0.9 app pass: fewer words, one clear first action, folds for the detail ---- */
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.hero-send { padding: 28px 0 8px; }
.hero-send h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.025em; line-height: 1.08; }
.hero-send p { max-width: 560px; margin-top: 14px; font-size: 1.02rem; line-height: 1.55; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.acct-offer { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 30px 0 0; padding: 14px 16px;
  border: 1px solid var(--border); background: var(--surface); grid-template-columns: none !important; }
.acct-offer[hidden] { display: none !important; }
.acct-offer p { flex: 1 1 320px; font-size: .9rem; color: var(--dim); }
.acct-offer p strong { color: var(--text); font-weight: 500; }
.acct-offer-acts { display: flex; gap: 8px; flex-wrap: wrap; }
h2.start-from { margin: 34px 0 10px; font-size: .95rem; color: var(--text); }
.more-uses { margin-top: 22px; }
.more-uses > summary, .more-opts > summary, .lv > summary { cursor: pointer; list-style: none; }
.more-uses > summary::-webkit-details-marker, .more-opts > summary::-webkit-details-marker, .lv > summary::-webkit-details-marker { display: none; }
.more-uses > summary { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--border-2); font-size: .9rem; }
.more-uses > summary::after, .more-opts > summary::after { content: "+"; margin-left: 10px; color: var(--dim); }
.more-uses[open] > summary::after, .more-opts[open] > summary::after { content: "–"; }
.more-uses h2.grp { margin: 26px 0 4px; font-size: .9rem; color: var(--muted); }
.levels { display: block; border: 0; margin-bottom: 14px; }
.levels[hidden] { display: none; }
.levels .lv > summary b { display: inline; font-size: inherit; }
.levels .lv > summary span { display: inline; margin: 0; }
.levels .lv-rows > div { border-right: 0; }
.levels .lv-rows > div b, .levels .lv-rows > div span { display: block; }
.levels .lv-rows > p { border-top: 0; }
.levels .lv { border: 1px solid var(--border); background: var(--surface); font-size: .88rem; }
.levels .lv > summary { padding: 10px 14px; color: var(--muted); }
.levels .lv > summary b { color: var(--text); font-weight: 500; }
.levels .lv > summary span { float: right; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.levels .lv-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.levels .lv-rows > div { background: var(--surface); padding: 10px 14px; display: grid; gap: 2px; }
.levels .lv-rows > div span { color: var(--dim); font-size: .82rem; }
.levels .lv-rows > p { grid-column: 1 / -1; background: var(--surface); padding: 8px 14px; font-size: .82rem; }
@media (max-width: 620px) { .levels .lv-rows { grid-template-columns: 1fr; } .levels .lv > summary span { display: none; } }
.more-opts { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.more-opts > summary { color: var(--text); font-size: .92rem; }
.more-opts > summary span { color: var(--dim); font-size: .82rem; margin-left: 8px; }
.more-opts .addons { margin-top: 12px; }
/* the result replaces the form: no "New send" header above it */
[data-view="new"]:has(#done:not([hidden])) > .head, [data-view="new"]:has(#done:not([hidden])) .levels { display: none; }
.done-h { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.done-tick { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; font-size: 1rem; }
.how-safe { margin-top: 18px; }
.how-safe > summary { color: var(--muted); }
/* the receiver's page: PIN and Open first, one ad slot below on free sends */
.ad-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 22px auto 0; }
.ad-slot iframe { border: 0; display: block; max-width: 100%; background: var(--surface); }
.ad-label { font-size: .7rem; color: var(--dim); letter-spacing: .04em; }
/* footer */
.app-foot { border-top: 1px solid var(--border); margin-top: 56px; }
.app-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; min-height: 60px; font-size: .82rem; color: var(--dim); }
.app-foot .spacer { flex: 1; }
.app-foot a { color: var(--muted); text-decoration: none; }
.app-foot a:hover { color: var(--text); }
.nav-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--surface-2); color: var(--text); font-size: .72rem; font-weight: 500; text-align: center; line-height: 18px; }

[data-view="new"]:has(#done:not([hidden])) .usebar { display: none; }
#done #pin { display: block; font-size: 2rem; letter-spacing: .18em; color: var(--text); margin: 2px 0 8px; }
.hero-acts .btn-light, #ask #go, #done .share-bar .btn-light, .q-price ~ .actions .btn-light, #q-go { background: #fff; color: #000; border-color: #fff; }
.hero-acts .btn-light:hover, #ask #go:hover, #done .share-bar .btn-light:hover, #q-go:hover { background: #dcdcdc; border-color: #dcdcdc; color: #000; }
.usebar #use-name { display: none; }
