/* vFileLock: VOIMAR red (#CC0000 since 27 Nov 2026; was Cipher Purple #581C87), large type, one decision per screen (spec section 3). */
:root{--brand:#CC0000;--brand-d:#A30000;--red:#CC0000;--ink:#151515;--muted:#5f6368;--line:#e3e3e6;--soft:#f6f4fa;--ok:#13893b;--bad:#b42318;--bg:#fff}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--ink:#f1f1f3;--muted:#b4b4bb;--line:#33333a;--soft:#1f1b26;--bg:#121216}}
:root[data-theme="dark"]{--ink:#f1f1f3;--muted:#b4b4bb;--line:#33333a;--soft:#1f1b26;--bg:#121216}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{font:19px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}
a{color:var(--brand)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) a{color:#c9a7f0}}
.top{background:var(--brand);color:#fff;padding:12px 16px;display:flex;align-items:center;gap:12px}
/* The VOIMAR reverse (white) corporate logo straight on the purple bar (Leonard, 14 Nov 2026: no red block). The file
   (voimar-shared brand/voimar-logo-white.png, 800 x 371) has a transparent margin; the negative margins take it back, so the
   logo itself is 34 px high. */
.top .logo{display:block;height:57px;width:auto;margin:-10px -13px -13px -13px;flex:0 0 auto}
.top .tile{width:40px;height:40px;border-radius:9px;box-shadow:0 0 0 2px #fff}  /* the vFileLock tile is purple on the purple bar: a white edge, as the VOIMAR logo has */
.top b{font-size:19px;display:block}.top span{display:block;font-size:14px;opacity:.88}
.top .who{margin-left:auto;font-size:14px;opacity:.9;text-align:right}
.top .who a{color:#fff}
.wrap{max-width:820px;width:100%;margin:0 auto;padding:20px 16px 40px;flex:1}
h1{font-size:30px;line-height:1.2;margin:8px 0 12px}
h2{font-size:23px;margin:26px 0 8px}
.lead{font-size:22px}
.card{border:1px solid var(--line);border-radius:14px;padding:16px;margin:12px 0;background:var(--soft)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.tag{display:inline-block;font-weight:800;color:var(--brand);letter-spacing:.02em}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .tag{color:#c9a7f0}}
.btn{display:inline-block;font:inherit;font-size:20px;font-weight:700;border-radius:14px;padding:15px 24px;border:2px solid var(--brand);background:var(--bg);
  color:var(--brand);cursor:pointer;text-decoration:none;text-align:center}
.btn.go{background:var(--brand);color:#fff}
.btn.red{background:var(--red);border-color:var(--red);color:#fff}
.btn:disabled{opacity:.4;cursor:not-allowed}
.big3{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}
.big3 button{font:inherit;font-size:24px;font-weight:800;min-height:130px;border-radius:18px;border:3px solid var(--brand);background:var(--soft);color:var(--ink);cursor:pointer}
.big3 button small{display:block;font-size:15px;font-weight:500;color:var(--muted);margin-top:6px}
.drop{border:3px dashed var(--brand);border-radius:18px;padding:26px;text-align:center;background:var(--soft);margin:12px 0}
.drop.over{background:#efe6fb}
label.tick{display:flex;gap:14px;align-items:flex-start;border:2px solid var(--line);border-radius:12px;padding:14px;margin:10px 0;cursor:pointer;background:var(--bg)}
label.tick input{width:28px;height:28px;flex:0 0 28px;accent-color:var(--brand);margin-top:2px}
label.tick:has(input:checked){border-color:var(--ok)}
input[type=text],input[type=email],input[type=password],textarea,select{font:inherit;font-size:19px;width:100%;padding:12px;border:2px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
textarea{min-height:140px;font-family:ui-monospace,Menlo,monospace;font-size:14px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0}
.ok{color:var(--ok);font-weight:700}.bad{color:var(--bad);font-weight:700}
.warn{border-left:6px solid var(--bad);background:#fff1f0;color:#151515;padding:12px 14px;border-radius:8px;font-weight:600}
.good{border-left:6px solid var(--ok);background:#ecfdf3;color:#151515;padding:12px 14px;border-radius:8px;font-weight:600}
.phrase{font:700 28px/1.3 ui-monospace,Menlo,monospace;letter-spacing:.06em;background:var(--soft);border:2px solid var(--brand);border-radius:12px;padding:14px;text-align:center;word-break:break-all}
.small{font-size:15px;color:var(--muted)}
.steps{display:flex;gap:6px;margin:4px 0 18px}.steps i{flex:1;height:8px;border-radius:4px;background:var(--line)}.steps i.on{background:var(--brand)}
section.step{display:none}section.step.show{display:block}
.bar{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:12px 0;display:flex;gap:12px;justify-content:center}
table.list{width:100%;border-collapse:collapse;font-size:16px}
table.list td,table.list th{border-bottom:1px solid var(--line);padding:8px 6px;text-align:left;vertical-align:top}
pre.terms{white-space:pre-wrap;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:14px}
pre.code{white-space:pre-wrap;word-break:break-all;font-size:12px;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:10px}
.hidden{display:none !important}
footer.v{font-size:12px;color:var(--muted);text-align:right;padding:8px 14px}
@media (max-width:600px){h1{font-size:25px}.top .who{display:none}.top{gap:10px}.top .logo{height:47px;margin:-8px -11px -10px -11px}.top span{font-size:13px}.btn{width:100%}.big3 button{min-height:96px}}
@media print{.top,.bar,footer.v,.noprint{display:none !important}body{font-size:14px}}
/* FileLock share rules v1 (13 Nov 2026): the viewer at /s/<id> and the owner screens */
input[type=number],input[type=tel],input[type=datetime-local]{font:inherit;font-size:19px;width:100%;padding:12px;border:2px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
details.more{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:12px 0;background:var(--soft)}details.more summary{cursor:pointer;font-weight:700}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 16px}
.pill{display:inline-block;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700;border:1px solid var(--line)}
.vstage canvas{display:block;margin:0 auto 14px;max-width:100%;box-shadow:0 1px 6px rgba(0,0,0,.18)}
.wmbox{position:relative;overflow:hidden}
.wm{position:absolute;inset:-20%;pointer-events:none;display:flex;flex-wrap:wrap;gap:46px 70px;align-content:space-around;justify-content:space-around;opacity:.22;color:#CC0000;font-weight:700;transform:rotate(-14deg);user-select:none}
.wm span{white-space:nowrap}
body.viewonly .vstage{user-select:none;-webkit-user-select:none}
.noshow-print{display:none}
@media print{body.viewonly .vstage,body.viewonly #v-dlrow{display:none}body.viewonly .noshow-print{display:block}}
.ledger td{font-size:14px}.ledger code{font-size:12px;word-break:break-all}
/* the classification label: a banner at the top and bottom of every viewer page (ISO/IEC 27001 A 5.13) */
.label-banner{text-align:center;font-weight:800;letter-spacing:.12em;padding:6px 10px;margin:8px 0;border-radius:8px;background:#CC0000;color:#fff}
.connect{max-width:520px;margin:0 auto}.connect h1{font-size:24px}
/* vFileLock Business shop pages (Shelf 1.8.0) */
.price .amount{font-size:22px;margin:8px 0}
.steps li{margin:6px 0}
ol.steps,ul.steps{display:block}   /* a list with the class steps is a list, not the flex progress bar (375 wide: no sideways scroll; 1.8.1) */
main code{overflow-wrap:anywhere}   /* long fingerprints and ids wrap on a phone (the terms page was 219 px too wide at 375; 1.8.1) */
/* vFileLock Business: one row per person (15 Nov 2026). Name and address side by side, stacked on a phone; the check sits under its row. */
fieldset.people{border:0;padding:0;margin:14px 0}
fieldset.people legend{font-size:21px;font-weight:700;padding:0;margin-bottom:4px}
.person{border:2px solid var(--line);border-radius:12px;padding:12px;margin:10px 0;background:var(--bg)}
.person.person-bad{border-color:var(--bad)}
.person-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.person-fields label{display:block;font-size:15px;font-weight:600;margin:0}
.person-fields label input{margin-top:4px}
.person-fields button{font:inherit;font-size:15px;padding:12px 14px;border:2px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);cursor:pointer}
.person-error{color:var(--bad);font-size:15px;font-weight:600;margin:8px 0 0}
.person-error[hidden]{display:none}
/* The red text on the dark page: #b42318 is too dark to read there (contrast under 3:1), so the marks use a lighter red in dark mode. */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .person-error{color:#ff8a80}:root:not([data-theme="light"]) .person.person-bad{border-color:#ff8a80}}
:root[data-theme="dark"] .person-error{color:#ff8a80}:root[data-theme="dark"] .person.person-bad{border-color:#ff8a80}
/* The form's first submit button is the one Enter presses: an off-screen Next, so Enter never presses the first row's Remove. */
.default-submit{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media (max-width:600px){.person-fields{grid-template-columns:1fr}.person-fields button{justify-self:start}}
/* The shop pages' numbered steps are a plain list, not the wizard's progress bar (.steps is flex there): on a phone the steps ran off the side. */
ol.steps{display:block;padding-left:24px}
/* A hidden attribute wins over .btn's display, so "Add another person" really goes at the limit. */
fieldset.people [hidden]{display:none !important}
table.ledger{border-collapse:collapse;width:100%}
table.ledger th,table.ledger td{padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--bg);color:var(--ink);box-sizing:border-box}
form.inline{display:inline}
/* vFileLock: the app's signed-out entry page /gpg (Shelf 1.8.1) */
.entry{max-width:520px;margin:28px auto 8px;text-align:center}
.entry .entry-tile{width:96px;height:96px;border-radius:21px;display:block;margin:0 auto 14px}
.entry h1{margin:0 0 6px}
.entry .btn{min-width:240px}
.entry .entry-more{font-size:19px;font-weight:600}
/* dark mode: the purple and red buttons keep white text (the dark link colour was winning on <a class="btn go">) */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) a.btn.go,:root:not([data-theme="light"]) a.btn.red{color:#fff}}
:root[data-theme="dark"] a.btn.go,:root[data-theme="dark"] a.btn.red{color:#fff}
