/* secret.foxis.be — Foxis-huisstijl (zie foxis.be/assets/css/site.css): oranje #E94E1B, Bariol, driehoek-vos. */

@font-face { font-family: "Bariol"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/bariol-light.woff2") format("woff2"); }
@font-face { font-family: "Bariol"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/bariol-regular.woff2") format("woff2"); }
@font-face { font-family: "Bariol"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bariol-bold.woff2") format("woff2"); }

:root {
  --orange: #E94E1B;
  --orange-dark: #C63F13;
  --ink: #1F1D1B;
  --muted: #6B6560;
  --paper: #FFFFFF;
  --band: #FAF7F4;
  --band-hover: #F3EDE7;
  --tint: #FFF3EE;
  --line: #E6E1DB;
  --ok: #2F7D4F;
  --font: "Bariol", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --pad: 64px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--band); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, p { margin: 0; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
svg { display: block; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
.sr-only, .offscreen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* language */
.lang-nl .en, .lang-nl .fr { display: none !important; }
.lang-en .nl, .lang-en .fr { display: none !important; }
.lang-fr .nl, .lang-fr .en { display: none !important; }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }

/* ---------- header / hero ---------- */
.hero { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--pad); max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }
.nav__logo { display: flex; align-items: flex-end; gap: 10px; color: #fff; text-decoration: none; }
.logo { width: 118px; height: 32px; fill: #fff; }
.nav__product { font-size: 22px; font-weight: 300; line-height: 1; letter-spacing: 0.02em; padding-bottom: 1px; opacity: 0.92; }
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__pages { display: flex; align-items: center; gap: 20px; }
.nav__form { margin: 0; display: inline; }
.nav__link { color: #fff; text-decoration: none; font-size: 17px; font-weight: 700; white-space: nowrap; }
.nav__btn { background: none; border: 0; padding: 0; cursor: pointer; }
.nav__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav__link--pill { border: 1.5px solid rgba(255,255,255,0.7); border-radius: 999px; padding: 6px 16px; }
.nav__link--pill:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.lang-toggle { display: flex; align-items: center; border: 1.5px solid rgba(255,255,255,0.55); border-radius: 999px; padding: 3px; }
.tgl { border: 0; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; background: transparent; color: #fff; opacity: 0.6; min-height: 32px; cursor: pointer; }
.lang-nl .tgl-nl, .lang-en .tgl-en, .lang-fr .tgl-fr { background: #fff; color: var(--orange); opacity: 1; }

.hero__body { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 8px var(--pad) 128px; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }
.hero__text { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.hero__sub { font-size: 22px; line-height: 1.4; font-weight: 300; color: rgba(255,255,255,0.92); text-wrap: pretty; }
.hero--slim .hero__body { padding-bottom: 112px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease; white-space: nowrap; }
.btn svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: 0 0 auto; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink { background: transparent; color: var(--muted); }
.btn--ghost-ink:hover { color: var(--ink); background: var(--band); }
.btn--burn { background: var(--ink); color: #fff; }
.btn--burn:hover { background: #000; color: #fff; }
.btn--big { min-height: 60px; padding: 0 36px; font-size: 21px; }
.btn--small { min-height: 36px; padding: 0 14px; font-size: 15px; gap: 6px; }
.btn.is-busy { opacity: 0.6; pointer-events: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.is-copied { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn:focus-visible, .tgl:focus-visible, .nav__link:focus-visible, .tab:focus-visible, .drop:focus-visible, .switch input:focus-visible + .switch__ui { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero .tgl:focus-visible, .hero .nav__link:focus-visible { outline-color: #fff; }

/* ---------- fox (zie foxis.be) ---------- */
.fox-slot { flex: 0 0 240px; width: 240px; height: 202px; margin-right: 12px; }
.fox { perspective: 700px; width: 300px; height: 252px; cursor: pointer; user-select: none; -webkit-user-select: none; position: relative; touch-action: manipulation; transform-origin: 0 0; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.8); transition: transform 700ms cubic-bezier(.34, 1.56, .64, 1); }
.fox.is-dragging { transition: none; cursor: grabbing; }
.fox__zzz { position: absolute; left: 68%; top: 6%; width: 60px; height: 70px; pointer-events: none; opacity: 0; transition: opacity 600ms ease; }
.fox.is-sleeping .fox__zzz { opacity: 1; }
.fox__zzz svg { position: absolute; left: 0; bottom: 0; fill: #fff; opacity: 0; animation: fox-zzz 3.2s ease-in-out infinite; }
.fox__zzz svg:nth-child(1) { width: 12px; height: 12px; animation-delay: 0s; }
.fox__zzz svg:nth-child(2) { width: 17px; height: 17px; animation-delay: 1.05s; }
.fox__zzz svg:nth-child(3) { width: 22px; height: 22px; animation-delay: 2.1s; }
@keyframes fox-zzz {
  0% { transform: translate(0, 0) rotate(-20deg); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translate(34px, -58px) rotate(25deg); opacity: 0; }
}
.fox-fx { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 41; }
.confetti { position: absolute; top: 0; pointer-events: none; will-change: transform; }
.droplet { position: absolute; pointer-events: none; will-change: transform, opacity; }
.fox__head { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.fox__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: #fff; }
.fox__ears { transform: translateZ(-40px); }
.fox__face { transform: translateZ(30px); }

/* ---------- panel ---------- */
.main { flex: 1 0 auto; }
.panel-wrap { padding: 0 var(--pad); margin-top: -80px; position: relative; z-index: 2; }
.panel { background: var(--paper); max-width: 880px; margin: 0 auto; border-radius: 8px; box-shadow: 0 24px 80px rgba(31, 29, 27, 0.14); padding: 40px 44px 40px; }
.panel--wide { max-width: var(--wrap); }
.lede-sm { font-size: 19px; line-height: 1.5; font-weight: 300; color: var(--muted); text-wrap: pretty; }
.state { display: flex; flex-direction: column; gap: 14px; }
.state__title, .result__title { font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }

/* tabs */
.tabs { display: flex; gap: 6px; background: var(--band); border-radius: 999px; padding: 4px; width: fit-content; margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; color: var(--muted); font-size: 16px; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.tab__count { font-size: 13px; background: var(--line); color: var(--ink); border-radius: 999px; padding: 1px 8px; min-width: 24px; text-align: center; }
.tab.is-on .tab__count { background: var(--orange); color: #fff; }

/* forms */
.form { display: flex; flex-direction: column; gap: 22px; }
.form__intro { font-size: 18px; line-height: 1.5; font-weight: 300; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input[type="text"], .field input[type="password"], .field input[type="number"], .field select, .field textarea {
  font-size: 17px; padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff; color: inherit; min-height: 50px; width: 100%;
  transition: border-color 140ms ease;
}
.field textarea { font-family: var(--mono); font-size: 15px; line-height: 1.55; min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F1D1B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC7BF; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form__error { font-size: 16px; font-weight: 700; color: var(--orange-dark); background: var(--tint); border-radius: 4px; padding: 10px 14px; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__hint { font-size: 15px; color: var(--muted); font-weight: 300; }
.note { font-size: 15px; line-height: 1.45; color: var(--muted); }
.note--warn { color: var(--ink); background: var(--tint); border-left: 3px solid var(--orange); padding: 10px 14px; border-radius: 0 4px 4px 0; }
.note--login { background: var(--band); padding: 12px 16px; border-radius: 4px; }

/* drop zone + file list */
.drop { display: flex; align-items: center; gap: 14px; border: 1.5px dashed #CFC7BF; border-radius: 6px; padding: 18px 20px; cursor: pointer; color: var(--muted); background: var(--band); transition: border-color 140ms ease, background 140ms ease; }
.drop:hover, .drop.is-over { border-color: var(--orange); background: var(--tint); color: var(--ink); }
.drop__icon { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop__text { font-size: 16px; }
.filelist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.filelist:empty { display: none; }
.filelist__item { display: flex; align-items: center; gap: 12px; background: var(--band); border-radius: 4px; padding: 8px 10px 8px 14px; }
.filelist__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.filelist__size { color: var(--muted); font-size: 14px; white-space: nowrap; }
.filelist__rm { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.filelist__rm svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.filelist__rm:hover { background: var(--line); color: var(--ink); }
.filelist--dl .filelist__item { padding: 10px 10px 10px 16px; }

/* options */
.options { border-top: 1px solid var(--line); padding-top: 18px; }
.options > summary { cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); list-style: none; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; width: fit-content; }
.options > summary::-webkit-details-marker { display: none; }
.options > summary::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--orange); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform 160ms ease; }
.options[open] > summary::before { transform: rotate(90deg); }
.options__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-bottom: 18px; }
.field--wide { grid-column: 1 / -1; }
.switches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.switches .field { grid-column: 1 / -1; }
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 6px 0; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch__ui { flex: 0 0 44px; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background 160ms ease; margin-top: 1px; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 180ms cubic-bezier(.34,1.56,.64,1); }
.switch input:checked + .switch__ui { background: var(--orange); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch__text { display: flex; flex-direction: column; gap: 1px; }
.switch__text b { font-size: 16px; line-height: 1.3; }
.switch__text small { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 300; }

/* turnstile */
.cf-turnstile { min-height: 65px; }

/* progress */
.progress { position: relative; height: 30px; background: var(--band); border-radius: 999px; overflow: hidden; }
.progress__bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange); transition: width 200ms ease; }
.progress__text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--ink); mix-blend-mode: multiply; }

/* result */
.result { display: flex; flex-direction: column; gap: 16px; }
.linkbox { display: flex; gap: 10px; align-items: stretch; }
.linkbox input { flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 15px; padding: 0 16px; min-height: 56px; border-radius: 4px; border: 1.5px solid var(--orange); background: var(--tint); color: var(--ink); }
.linkbox input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.linkbox--small input { min-height: 44px; font-size: 13px; border-color: var(--line); background: var(--band); }
.linkbox--small .btn { min-height: 44px; }
.result__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.result__facts li { background: var(--band); border-radius: 999px; padding: 5px 14px; font-size: 15px; font-weight: 700; }

/* shown secret */
.shown__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.shown__meta { font-size: 15px; color: var(--muted); }
.secretbox { border: 1.5px solid var(--line); border-radius: 6px; background: var(--band); overflow: hidden; }
.secretbox__text { margin: 0; padding: 20px 22px; font-family: var(--mono); font-size: 16px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow: auto; color: var(--ink); transition: filter 200ms ease; }
.secretbox.is-masked .secretbox__text { filter: blur(7px); user-select: none; }
.secretbox__tools { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }

/* ---------- dashboard ---------- */
.dash__bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash__bar .tabs { margin-bottom: 0; }
.dash__bar > .btn { margin-left: auto; }
.dash__filter select { font-size: 15px; padding: 7px 36px 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background-color: #fff; min-height: 40px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F1D1B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 11px 7px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 16px; color: var(--muted); font-size: 18px; text-align: center; }
.empty__mark { width: 72px; height: 60px; fill: var(--line); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover td { background: #FDFBF9; }
.ta-r { text-align: right; }
.cell-label { display: block; font-weight: 700; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-sub { display: block; font-size: 13px; color: var(--muted); }
.cell-sub > span + span::before { content: ""; }
.views b { font-size: 18px; }
.actions { white-space: nowrap; }
.actions > *, .actions .inline > * { vertical-align: middle; }
.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--band); color: var(--muted); white-space: nowrap; }
.badge--active, .badge--open { background: #E6F2EA; color: var(--ok); }
.badge--exhausted, .badge--answered { background: var(--tint); color: var(--orange-dark); }
.badge--burned { background: var(--ink); color: #fff; }
.badge--expired, .badge--cancelled, .badge--pending { background: var(--band); color: var(--muted); }
.menu { position: relative; display: inline-block; }
.menu__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; background: #fff; border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); padding: 6px; display: flex; flex-direction: column; min-width: 190px; text-align: left; }
.menu__list button { border: 0; background: transparent; text-align: left; font-size: 15px; font-weight: 700; padding: 9px 12px; border-radius: 4px; cursor: pointer; color: var(--ink); }
.menu__list button:hover { background: var(--tint); color: var(--orange-dark); }
.audit-row td { background: var(--band); padding: 10px 12px 14px; }
.audit-row:hover td { background: var(--band) !important; }
.audit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.audit li { display: grid; grid-template-columns: 130px minmax(160px, 1.4fr) minmax(90px, 1fr) 140px minmax(100px, 1fr); gap: 12px; }
.audit__time { color: var(--muted); font-variant-numeric: tabular-nums; }
.audit__event { font-weight: 700; }
.audit__ip { font-family: var(--mono); font-size: 13px; }
.audit__ua { color: var(--muted); }

/* ---------- footer ---------- */
.footer { padding: 40px var(--pad) 28px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--orange); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__title { font-size: 52px; }
  .fox-slot { flex-basis: 180px; width: 180px; height: 152px; }
  .fox { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.6); }
}
@media (max-width: 800px) {
  :root { --pad: 16px; }
  .nav { padding-top: 16px; padding-bottom: 8px; flex-wrap: wrap; gap: 12px; }
  .nav__links { gap: 8px 12px; flex-wrap: wrap; justify-content: space-between; width: 100%; }
  .nav__pages { gap: 12px; order: -1; flex-wrap: wrap; }
  .nav__link { font-size: 15px; }
  .nav__link--pill { padding: 4px 12px; }
  .tgl { padding: 5px 9px; font-size: 13px; min-height: 30px; }
  .logo { width: 96px; height: 26px; }
  .nav__product { font-size: 19px; }
  .hero__body { padding-top: 8px; padding-bottom: 96px; gap: 8px; }
  .hero__title { font-size: 36px; line-height: 1.05; }
  .hero__sub { font-size: 17px; }
  .fox-slot { flex-basis: 108px; width: 108px; height: 92px; margin: 0; }
  .fox { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.36); }
  .panel-wrap { margin-top: -72px; }
  .panel { padding: 24px 18px 26px; border-radius: 6px; }
  .state__title, .result__title { font-size: 26px; }
  .options__grid, .switches { grid-template-columns: minmax(0, 1fr); }
  .linkbox { flex-direction: column; }
  .linkbox input { min-height: 50px; }
  .btn--big { width: 100%; }
  .form__actions .btn { flex: 1 1 auto; }
  .dash__bar > .btn { margin-left: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* dashboard table → cards */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; padding: 6px 4px; }
  .table td { border: 0; padding: 6px 10px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table td[data-th]::before { content: attr(data-th); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: left; }
  .table td:first-child { display: block; text-align: left; }
  .table td:first-child::before { display: none; }
  .table .actions { justify-content: flex-start; flex-wrap: wrap; white-space: normal; }
  .audit-row td { display: block; }
  .audit li { grid-template-columns: 1fr; gap: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .cell-label { max-width: none; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .fox, .switch__ui::after, .progress__bar { transition: none; }
  .fox__zzz svg { animation: none; opacity: 0.8; }
}
.nowrap { white-space: nowrap; }

/* =====================================================================
   Lockboxes (vault)
   ===================================================================== */
.panel--vault { padding: 0; overflow: hidden; min-height: 560px; }
.panel--vault > .muted { padding: 32px; }
.vicon { display: inline-flex; align-items: center; }
.vicon svg, .vtool svg, .vback svg, .vscreen__icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-mono, .vcode { font-family: var(--mono); }
.vcode { font-size: 13px; background: var(--band); padding: 2px 6px; border-radius: 4px; word-break: break-all; }
.vcode--big { display: block; font-size: 17px; line-height: 1.7; padding: 12px 14px; letter-spacing: 0.04em; }
.field__hint { font-size: 13px; color: var(--muted); font-weight: 300; }
.field input[type="search"], .field input[type="email"] { font-size: 17px; padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff; min-height: 50px; width: 100%; }
.vbadge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 2px 7px; background: var(--band-hover); color: var(--muted); white-space: nowrap; }
.vbadge--ok { background: #E6F2EA; color: var(--ok); }
.vbadge--warn { background: var(--tint); color: var(--orange-dark); }

/* screens (login, unlock, invite) */
.vscreen { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 24px 56px; }
.vscreen__card { width: min(520px, 100%); display: flex; flex-direction: column; gap: 14px; }
.vscreen__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.vscreen__icon svg { width: 24px; height: 24px; }
.vscreen__alt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; width: min(520px, 100%); }
.vradio { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vradio legend { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vradio label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; }
.vradio label:has(input:checked) { border-color: var(--orange); background: var(--tint); }
.vradio input { accent-color: var(--orange); margin-top: 4px; }
.vradio span { display: flex; flex-direction: column; }
.vradio small { color: var(--muted); font-weight: 300; }
.vqr { background: #fff; padding: 8px; border: 1.5px solid var(--line); border-radius: 6px; width: fit-content; }
.vqr img { display: block; image-rendering: pixelated; }

/* app shell */
.vbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--band); flex-wrap: wrap; }
.vbar__who { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.vbar__who .vicon { color: var(--orange); }
.vbar__who small { color: var(--muted); font-weight: 400; }
.vbar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vault { display: grid; grid-template-columns: 260px minmax(260px, 340px) minmax(0, 1fr); min-height: 620px; }
.vside { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #FDFBF9; }
.vside__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vside__head h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vside__tools { display: flex; gap: 4px; }
.vside__folders { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.vside__admin { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.vside__trash summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.vlbs, .vtree, .ventries { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.vlbs__item, .vtree__item { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 15px; color: var(--ink); text-align: left; }
.vlbs__item:hover, .vtree__item:hover { background: var(--band-hover); }
.vlbs__item.is-on, .vtree__item.is-on { background: var(--tint); color: var(--orange-dark); font-weight: 700; }
.vlbs__item .vicon { color: var(--orange); }
.vlbs__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtree__item span:nth-child(2) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtree__item .vicon { color: var(--muted); }
.vtree__count { font-size: 12px; color: var(--muted); font-weight: 400; }
.vtree__depth-1 { padding-left: 14px; } .vtree__depth-2 { padding-left: 28px; } .vtree__depth-3 { padding-left: 42px; } .vtree__depth-4 { padding-left: 56px; }
.vtree__item--trash { color: var(--muted); margin-top: 6px; }

.vlist { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vlist__head, .vdetail__head { display: flex; align-items: center; gap: 10px; }
.vlist__head h3 { flex: 1 1 auto; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsearch { font-size: 15px; padding: 10px 12px; border-radius: 999px; border: 1.5px solid var(--line); width: 100%; min-height: 42px; }
.vsearch:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.ventry { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px; border-radius: 6px; cursor: pointer; text-align: left; color: var(--ink); }
.ventry:hover { background: var(--band); }
.ventry.is-on { background: var(--tint); box-shadow: inset 3px 0 0 var(--orange); }
.ventry__avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ventry__avatar--big { flex-basis: 48px; width: 48px; height: 48px; font-size: 22px; border-radius: 10px; }
.ventry__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ventry__main b, .ventry__main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ventry__main small { color: var(--muted); }
.ventries__empty { color: var(--muted); padding: 16px 10px; }
.vback { display: none; border: 0; background: transparent; color: var(--ink); padding: 6px; border-radius: 6px; cursor: pointer; }

.vbanner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--band); border-radius: 6px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.vbanner > span:not(.vicon) { flex: 1 1 200px; }
.vbanner--warn { background: var(--tint); color: var(--ink); }
.vbanner--warn .vicon { color: var(--orange-dark); }
.vbanner--ok { background: #E6F2EA; }
.vbanner small { display: block; color: var(--muted); }
.vpanel { padding: 12px; display: flex; flex-direction: column; gap: 12px; }

.vdetail { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vdetail__head h3 { font-size: 24px; line-height: 1.15; word-break: break-word; }
.vdetail__head small { color: var(--muted); }
.vrows { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.vrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vrow:last-child { border-bottom: 0; }
.vrow__label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.vrow__value { margin: 0; font-size: 16px; overflow-wrap: anywhere; white-space: pre-wrap; font-family: inherit; }
.vrow__value.is-mono { font-family: var(--mono); font-size: 15px; }
pre.vrow__value { max-height: 260px; overflow: auto; }
.vrow__tools { display: flex; gap: 4px; }
.vtool { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; cursor: pointer; text-decoration: none; }
.vtool:hover { border-color: var(--ink); color: var(--ink); }
.vtool.is-copied { background: var(--ok); border-color: var(--ok); color: #fff; }
.votp { font-size: 22px !important; letter-spacing: 0.08em; font-weight: 700; color: var(--orange-dark); }
.votp__ring { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--band); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.votp__ring:empty { display: none; }
.votp__ring.is-low { background: var(--tint); color: var(--orange-dark); }
.vatts h4, .vsection h4, .vaddmember h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.vmeta { font-size: 13px; color: var(--muted); }
.vdetail__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* modals */
.vmodal { position: fixed; inset: 0; z-index: 60; background: rgba(23,21,15,0.55); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px; }
.vmodal__panel { background: #fff; width: min(640px, 100%); border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,0.35); margin: auto; display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.vmodal__panel--wide { width: min(920px, 100%); }
.vmodal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px 8px; }
.vmodal__title { font-size: 24px; line-height: 1.15; }
.vmodal__body { padding: 8px 26px 16px; overflow-y: auto; }
.vmodal__body .form { gap: 16px; }
.vmodal__text { font-size: 17px; line-height: 1.5; }
.vmodal__actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 26px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.vmodal .tabs { margin-bottom: 18px; }
.vgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.vinline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vinline--wrap > input, .vinline--wrap > select { flex: 1 1 160px; font-size: 15px; padding: 9px 12px; border-radius: 4px; border: 1.5px solid var(--line); min-height: 42px; }
.vcheck { display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: 15px; }
.vcheck input { accent-color: var(--orange); width: 18px; height: 18px; }
.vfields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.vfield { display: grid; grid-template-columns: 1fr 1.4fr auto auto; gap: 8px; align-items: center; }
.vfield input[type="text"] { font-size: 15px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 4px; min-height: 40px; width: 100%; }
.vbreach { font-size: 13px; }
.vbreach.is-bad { color: var(--orange-dark); font-weight: 700; }
.vbreach.is-good { color: var(--ok); }
.vaccess { display: flex; flex-direction: column; gap: 8px; background: var(--band); padding: 12px 14px; border-radius: 6px; }
.vsection { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vsection:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.vsection .field { width: 100%; }
.vsection--danger h4 { color: var(--orange-dark); }
.vaddmember { margin-top: 18px; }
.vrecovery { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.vrecovery > div:last-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.vversions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vversions li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 12px; background: var(--band); border-radius: 6px; }
.vversions small { flex-basis: 100%; color: var(--muted); }
.vlog td { font-size: 14px; }

/* toast */
.vtoast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.vtoast__item { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,0.25); max-width: 90vw; }
.vtoast__item.is-error { background: var(--orange-dark); }

@media (max-width: 1100px) {
  .vault { grid-template-columns: 230px minmax(0, 1fr); }
  .vdetail { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .vlist { border-right: 0; }
}
@media (max-width: 800px) {
  .panel--vault { min-height: 0; }
  .vault { display: block; min-height: 0; }
  .vault .vside, .vault .vlist, .vault .vdetail { display: none; border: 0; }
  .vault.is-view-side .vside, .vault.is-view-list .vlist, .vault.is-view-detail .vdetail { display: flex; }
  .vback { display: inline-flex; }
  .vrow { grid-template-columns: minmax(0, 1fr) auto; }
  .vrow__label { grid-column: 1 / -1; }
  .vgrid2 { grid-template-columns: minmax(0, 1fr); }
  .vfield { grid-template-columns: 1fr 1fr; }
  .vmodal { padding: 8px; }
  .vmodal__head, .vmodal__body, .vmodal__actions { padding-left: 16px; padding-right: 16px; }
  .vbar { padding: 10px 12px; }
}
@media print {
  body * { visibility: hidden; }
  .vrecovery, .vrecovery * { visibility: visible; }
  .vrecovery { position: absolute; left: 0; top: 0; }
  .vrecovery button { display: none; }
}
.modal__close { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal__close svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.modal__close:hover { border-color: var(--ink); }
