/* share.herget.family – design tokens & components. No framework, no build step. */

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --fg: #1b1f24;
  --muted: #5c6470;
  --border: #e1e5ea;
  --border-strong: #c9d0d8;
  --accent: #0f766e;
  --accent-hover: #0b5f59;
  --accent-soft: #d8f5ef;
  --accent-fg: #ffffff;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --warning: #b54708;
  --warning-soft: #fff1dd;
  --success: #067647;
  --success-soft: #dcf5e8;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .18);
  --radius: 10px;
  --radius-sm: 7px;
  --sidebar: 252px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115;
    --surface: #171a21;
    --surface-2: #1f232c;
    --fg: #e6e8eb;
    --muted: #9aa3ad;
    --border: #262b33;
    --border-strong: #3a414c;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-soft: #123f3a;
    --accent-fg: #06201d;
    --danger: #f97066;
    --danger-soft: #3b1512;
    --warning: #f9b366;
    --warning-soft: #3a2410;
    --success: #75e0a7;
    --success-soft: #0f3324;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1f232c;
  --fg: #e6e8eb;
  --muted: #9aa3ad;
  --border: #262b33;
  --border-strong: #3a414c;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: #123f3a;
  --accent-fg: #06201d;
  --danger: #f97066;
  --danger-soft: #3b1512;
  --warning: #f9b366;
  --warning-soft: #3a2410;
  --success: #75e0a7;
  --success-soft: #0f3324;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100%; background: var(--bg); color: var(--fg);
  font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .5rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
code, .mono { font-family: var(--mono); font-size: .92em; }
small, .muted { color: var(--muted); }
.muted { font-size: .92rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
.icon-lg svg.icon { width: 28px; height: 28px; }

/* ---------- boot / noscript */
.boot { display: grid; place-items: center; min-height: 100vh; color: var(--muted); gap: 1rem; }
.boot-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.92); } }
.noscript { padding: 2rem; text-align: center; }

/* ---------- layout */
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 1rem .75rem; gap: .25rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: .6rem; padding: .35rem .5rem 1rem; font-weight: 700; font-size: 1.05rem; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: var(--accent-fg); }
.brand-mark svg.icon { width: 18px; height: 18px; stroke: currentColor; }
.nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .9rem .6rem .3rem; }
.nav-item {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: var(--radius-sm);
  color: var(--fg); cursor: pointer; border: 0; background: none; width: 100%; text-align: left; font: inherit;
}
.nav-item:hover { background: var(--surface-2); text-decoration: none; }
.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-item svg.icon { color: var(--muted); }
.nav-item.active svg.icon { color: var(--accent); }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--border); padding-top: .75rem; }
.user-card { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.user-card .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-card .mail { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: .75rem; padding: .75rem 1.5rem; border-bottom: 1px solid var(--border);
  background: var(--surface); position: sticky; top: 0; z-index: 5; min-height: 58px;
}
.topbar .grow { flex: 1; min-width: 0; }
.content { padding: 1.5rem; max-width: 1200px; width: 100%; }
.content.narrow { max-width: 760px; }

/* wide screens: the menu button collapses the sidebar */
@media (min-width: 901px) {
  .app.sidebar-collapsed { grid-template-columns: 1fr; }
  .app.sidebar-collapsed .sidebar { display: none; }
}
/* narrow screens: the sidebar is a drawer */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(85vw, var(--sidebar)); z-index: 20; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 15; }
  .topbar, .content { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- public layout */
.public { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.public-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.public-card.wide { max-width: 980px; }
.public-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: 1.25rem; }
.public-brand .brand-mark { width: 34px; height: 34px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .5rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--fg); font: inherit; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; line-height: 1.2;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.92); background: var(--danger); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-icon { padding: .45rem; border-color: transparent; background: transparent; color: var(--muted); }
.btn-icon:hover { background: var(--surface-2); color: var(--fg); }
.btn-sm { padding: .3rem .6rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn .spin { width: 14px; height: 14px; }

/* ---------- forms */
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .select, textarea.input {
  width: 100%; padding: .55rem .7rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--fg); font: inherit;
}
.input:focus, .select:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 0; }
.input.mono { letter-spacing: .12em; font-size: 1.15rem; text-align: center; }
.check { display: flex; align-items: flex-start; gap: .55rem; margin: .4rem 0; cursor: pointer; }
.check input { margin-top: .25rem; accent-color: var(--accent); }
.radio-cards { display: grid; gap: .5rem; }
.radio-card { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input { margin-top: .2rem; accent-color: var(--accent); }
.radio-card b { display: block; }
.radio-card small { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-error { background: var(--danger-soft); color: var(--danger); padding: .6rem .8rem; border-radius: var(--radius-sm); margin-bottom: .9rem; font-size: .92rem; }
.form-info { background: var(--accent-soft); color: var(--fg); padding: .6rem .8rem; border-radius: var(--radius-sm); margin-bottom: .9rem; font-size: .92rem; }
.form-warn { background: var(--warning-soft); color: var(--fg); padding: .6rem .8rem; border-radius: var(--radius-sm); margin-bottom: .9rem; font-size: .92rem; }

/* ---------- cards & lists */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.card h2 { margin-bottom: .75rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem 1rem; }
.stat .v { font-size: 1.4rem; font-weight: 700; }
.stat .l { color: var(--muted); font-size: .85rem; }

.list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 110px 150px auto; align-items: center; gap: .75rem;
  padding: .55rem 1rem; border-top: 1px solid var(--border); cursor: default;
}
.row:first-child { border-top: 0; }
.row:hover { background: var(--surface-2); }
.row.head { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); cursor: default; }
.row .name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .name a, .row .name button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .name a:hover, .row .name button:hover { color: var(--accent); }
.row .sub { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .actions { display: flex; gap: .1rem; opacity: 0; transition: opacity .12s; }
.row:hover .actions, .row:focus-within .actions { opacity: 1; }
.row.folder svg.icon { color: var(--accent); }
.row.file svg.icon { color: var(--muted); }
@media (max-width: 760px) {
  .row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .row .col-size, .row .col-date, .row.head .col-size, .row.head .col-date { display: none; }
  .row .actions { opacity: 1; }
}
.row.selected { background: var(--accent-soft); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .55rem .7rem; border-top: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-top: 0; }
.table td .actions { display: flex; gap: .2rem; justify-content: flex-end; }
.table-wrap { overflow-x: auto; }

.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.warn { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.badge.ok { background: var(--success-soft); color: var(--success); border-color: transparent; }

.breadcrumbs { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; min-width: 0; font-weight: 600; }
.breadcrumbs a, .breadcrumbs span { color: var(--muted); }
.breadcrumbs .sep { color: var(--border-strong); }
.breadcrumbs .current { color: var(--fg); }
.breadcrumbs a:hover { color: var(--accent); text-decoration: none; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty svg.icon { width: 40px; height: 40px; color: var(--border-strong); margin-bottom: .5rem; }
.empty h3 { color: var(--fg); }

/* The base line is an inset shadow, so the active tab's border can sit on
   it without overflowing the box (a negative margin would turn overflow-x
   into a vertical scrollbar). */
.tabs { display: flex; gap: .25rem; box-shadow: inset 0 -1px 0 var(--border); margin-bottom: 1.25rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tab { padding: .6rem .9rem; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--fg); text-decoration: none; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- dropzone & upload */
.dropzone { border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 2rem 1rem; text-align: center; color: var(--muted); transition: border-color .12s, background .12s; }
.dropzone.active, .dropzone:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--fg); }
.drop-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 4px dashed var(--accent); z-index: 30; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; color: var(--fg); pointer-events: none; }
.uploads { position: fixed; right: 1rem; bottom: 1rem; width: min(380px, calc(100vw - 2rem)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 25; overflow: hidden; }
.uploads-head { display: flex; align-items: center; justify-content: space-between; padding: .6rem .9rem; background: var(--surface-2); font-weight: 600; }
.uploads-body { max-height: 260px; overflow-y: auto; }
.upload-item { padding: .5rem .9rem; border-top: 1px solid var(--border); font-size: .9rem; }
.upload-item .t { display: flex; justify-content: space-between; gap: .5rem; }
.upload-item .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-item.error .n { color: var(--danger); }
.progress { height: 5px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-top: .35rem; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .15s linear; }
.upload-item.done .progress > div { background: var(--success); }
.upload-item.error .progress > div { background: var(--danger); }

/* ---------- modal */
.modal-scrim { position: fixed; inset: 0; background: rgba(5, 10, 20, .55); z-index: 40; display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); max-height: calc(100vh - 2rem); display: flex; flex-direction: column; }
.modal.lg { max-width: 760px; }
.modal.xl { max-width: 1000px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem .5rem; gap: 1rem; }
.modal-head h2 { margin: 0; }
.modal-body { padding: .5rem 1.25rem 1rem; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem 1.25rem; flex-wrap: wrap; }
.modal-foot .left { margin-right: auto; }

/* ---------- menu (dropdown) */
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 190px; z-index: 30; padding: .3rem; }
.menu button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem .7rem; border: 0; background: none; color: var(--fg); font: inherit; border-radius: 6px; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--surface-2); }
.menu button.danger { color: var(--danger); }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: .3rem 0; }

/* ---------- toasts */
.toasts { position: fixed; top: 1rem; right: 1rem; display: flex; flex-direction: column; gap: .5rem; z-index: 60; pointer-events: none; }
.toast { background: var(--fg); color: var(--bg); padding: .65rem .95rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-weight: 500; max-width: 360px; pointer-events: auto; animation: toast-in .18s ease; }
.toast.error { background: var(--danger); color: #fff; }
.toast.success { background: var(--success); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- notification bell */
.bell-wrap { position: relative; flex: none; }
.bell-btn { position: relative; }
.badge-dot { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font-size: .68rem; font-weight: 700; line-height: 16px; text-align: center; }
.popover { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 30; }
.notifications { width: min(380px, calc(100vw - 2rem)); }
.notif-list { max-height: 60vh; overflow-y: auto; }
.notif { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem .8rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
.notif .grow { flex: 1; min-width: 0; }
.notif .msg { overflow-wrap: anywhere; }
.notif .time { font-size: .78rem; }
.notif > .ic { margin-top: .15rem; color: var(--muted); flex: none; }
.notif.success > .ic { color: var(--success); }
.notif.error > .ic { color: var(--danger); }
.notif-empty { padding: 1.25rem; text-align: center; }
.notif-foot { padding: .5rem .8rem; display: flex; justify-content: flex-end; }

/* ---------- preview */
.preview { background: #000; display: grid; place-items: center; min-height: 50vh; border-radius: var(--radius-sm); overflow: hidden; }
.preview img, .preview video { max-width: 100%; max-height: 75vh; }
.preview iframe { width: 100%; height: 75vh; border: 0; background: #fff; }
.preview pre { color: #e6e8eb; padding: 1rem; margin: 0; max-height: 75vh; overflow: auto; width: 100%; white-space: pre-wrap; font-family: var(--mono); font-size: .85rem; }
.preview audio { width: 90%; }

/* ---------- misc */
.qr { width: 200px; height: 200px; background: #fff; padding: 8px; border-radius: var(--radius-sm); border: 1px solid var(--border); margin: .5rem auto; }
.qr svg { width: 100%; height: 100%; display: block; }
.secret { font-family: var(--mono); word-break: break-all; background: var(--surface-2); padding: .5rem .7rem; border-radius: var(--radius-sm); text-align: center; letter-spacing: .06em; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; font-family: var(--mono); background: var(--surface-2); padding: .9rem; border-radius: var(--radius-sm); font-size: 1rem; }
.linkbox { display: flex; gap: .4rem; align-items: center; }
.linkbox .input { font-family: var(--mono); font-size: .85rem; }
.steps { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.steps span.done { background: var(--accent); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; font-size: .92rem; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; }
.spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { text-align: center; }
.mt { margin-top: 1rem; }
.mb0 { margin-bottom: 0; }
.flex { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.right { margin-left: auto; }
.search { max-width: 320px; }
.file-card { text-align: center; padding: 1rem 0; }
.file-card .big { margin-bottom: .5rem; }
.file-card .big svg.icon { width: 48px; height: 48px; color: var(--accent); }
.perm-note { font-size: .88rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }

/* ---------- tags */
.chips { display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; padding: .05rem .45rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); border: 0; cursor: pointer; font-family: inherit; line-height: 1.4; }
.chip:hover { filter: brightness(.95); }
.row .sub.chips { white-space: normal; overflow: visible; }
.doc-type { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-right: .2rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: .35rem; }
.status-dot.ok { background: var(--success); }
.status-dot.bad { background: var(--danger); }
