/* AdminSky — Gestaltung v2 (Stil-Guide: 9-Design/styleguide.md)
   Handy zuerst; ab 900 px Breite: Seitenleiste links + Kopfzeile oben. */

/* ---------- Farben (Tokens) ---------- */
:root {
  --bg: #f6f8fb; --card: #ffffff; --card-2: #fafbfd; --text: #0f1a2e; --muted: #6b7590; --faint: #a3abba;
  --accent: #1d4ed8; --accent-2: #2563eb; --accent-soft: #eef4ff; --accent-line: #dbe7ff; --accent-text: #ffffff;
  --border: #e8ecf2; --line: #f1f3f7;
  --error-bg: #fdecec; --error: #a61b1b; --info-bg: #eef4ff; --info: #1d4ed8;
  --warn-bg: #fff6e5; --warn: #a15c00; --ok-bg: #eaf7ef; --ok: #1a7f43; --danger: #b42318;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 26, 46, .04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c111c; --card: #141b29; --card-2: #182032; --text: #e6eaf2; --muted: #9aa4b6; --faint: #6b7590;
    --accent: #6d96ff; --accent-2: #6d96ff; --accent-soft: #1a2540; --accent-line: #24345c; --accent-text: #0c111c;
    --border: #253047; --line: #1d2638;
    --error-bg: #3a1a1d; --error: #ffb4b4; --info-bg: #17284a; --info: #a9c4ff;
    --warn-bg: #3a2e10; --warn: #ffd27a; --ok-bg: #12301f; --ok: #7ee2a4; --danger: #ff8a80;
    --shadow: none;
  }
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
h2 { font-size: 1rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: .5rem; }
h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1.1rem 0 .3rem; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }
.small { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
ol { padding-left: 1.2rem; }

/* ---------- Formulare & Knöpfe ---------- */
label { display: block; margin: .75rem 0; font-weight: 600; font-size: .9rem; }
input, select { display: block; width: 100%; margin-top: .3rem; padding: .65rem .8rem; font: inherit; font-size: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-2); color: var(--text); }
input:focus, select:focus { outline: 2px solid var(--accent-line); border-color: var(--accent); }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin-top: .5rem; padding: .75rem 1rem; font: inherit; font-size: .95rem; font-weight: 600; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-text); text-align: center; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { filter: brightness(1.08); }
button.secondary, .button.secondary { background: var(--card); color: var(--text); border-color: var(--border); }
button.secondary:hover, .button.secondary:hover { filter: none; background: var(--card-2); }
button.danger { background: var(--card); color: var(--danger); border-color: var(--border); margin-top: 1rem; }

/* ---------- Karten, Meldungen, Etiketten ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; margin-top: 1rem; box-shadow: var(--shadow); }
.card-flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.card-flush .card-head { padding: .95rem 1.1rem .4rem; margin: 0; }
.card-note { padding: 0 1.1rem; margin: 0 0 .4rem; }
.card-head h2 .i, .card > h2 .i { color: var(--accent); }
.more { font-size: .85rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.more:hover { color: var(--accent); }
.msg { display: flex; gap: .5rem; align-items: baseline; padding: .7rem .85rem; border-radius: var(--radius-sm); margin: 1rem 0 0; }
.msg-error { background: var(--error-bg); color: var(--error); }
.msg-info { background: var(--info-bg); color: var(--info); }
.msg-warn { background: var(--warn-bg); color: var(--warn); margin-top: 0; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.info { background: var(--accent-soft); color: var(--accent); }
.qr { display: block; margin: 1rem auto; background: #fff; padding: 8px; border-radius: 8px; }
.secret { font-family: ui-monospace, monospace; word-break: break-all; }

/* ---------- Seitenkopf ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; }
.page-head .sub { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; width: 100%; }
.page-actions .button, .page-actions button { margin: 0; }
.h-ic { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .6rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-size: 1rem; vertical-align: -.35rem; }
.crumbs { margin: 0 0 .5rem; font-size: .9rem; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Hochladen ---------- */
.upload-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; width: 100%; }
.upload-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; margin: 0; padding: 1rem .5rem; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--accent-text); cursor: pointer; text-align: center; font-weight: 600; }
.upload-btn.secondary { background: var(--card); color: var(--accent); border-color: var(--accent-line); }
.upload-btn .i { font-size: 1.5rem; }
.upload-btn input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.upload-btn:focus-within { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.upload-hint { width: 100%; margin: 0; text-align: center; }
.space-select { width: 100%; margin: 0; }
form.busy { opacity: .6; pointer-events: none; }

/* ---------- Kennzahlen ---------- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.kpi { display: flex; flex-direction: column; margin: 0; padding: .85rem 1rem; color: var(--text); text-decoration: none; }
a.kpi:hover { border-color: var(--accent-line); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 500; color: var(--muted); }
.kpi-top .i { color: var(--accent); }
.kpi b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin-top: .25rem; }
.kpi .small { font-size: .78rem; }

/* ---------- Listen & Dokumente ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.list .row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; }
.row-main { display: inline-flex; align-items: center; gap: .5rem; }
.row-main .i { color: var(--accent); }
.empty-note { padding: .3rem 1.1rem 1rem; margin: 0; }
.card:not(.card-flush) > .empty-note { padding: 0; }
.docs-head { display: none; }
.doc-row { display: flex; align-items: center; gap: .75rem; padding: .65rem 1.1rem; color: var(--text); text-decoration: none; }
.doc-row:hover { background: var(--card-2); }
.doc-ic { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); }
[data-ki="pruefen"] .doc-ic, [data-ki="nicht_lesbar"] .doc-ic, [data-ki="fehler"] .doc-ic { background: var(--warn-bg); color: var(--warn); }
.doc-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.doc-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.doc-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-col { display: none; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts .i { color: var(--accent); }
.facts span { flex: 1; }

/* ---------- Kategorien-Balken (Übersicht) ---------- */
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.bars a { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr 1.5rem; align-items: center; gap: .7rem; padding: .25rem 0; font-size: .85rem; color: var(--text); text-decoration: none; }
.bars a:hover span:first-child { color: var(--accent); }
.bars .track { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bars .track i { display: block; height: 100%; border-radius: 99px; background: var(--accent-2); }
.bars b { text-align: right; font-weight: 600; }
.bars .zero a { color: var(--faint); }

/* ---------- Kategorien-Kacheln (Ablage) ---------- */
.tiles { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tile { display: flex; flex-direction: column; gap: .5rem; min-height: 7rem; height: 100%; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.tile:hover { border-color: var(--accent-line); }
.tile-ic { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); }
.tile-name { font-weight: 600; line-height: 1.25; font-size: .92rem; }
.tile-count { margin-top: auto; font-size: 1.5rem; font-weight: 700; }
.tile.empty { color: var(--faint); box-shadow: none; background: transparent; }
.tile.empty .tile-ic { background: var(--line); color: var(--faint); }
.tile.inbox .tile-ic { background: var(--warn-bg); color: var(--warn); }

/* ---------- Detail & Formulare ---------- */
.preview { display: block; max-width: 100%; max-height: 26rem; margin: .4rem auto .8rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.category-form { display: flex; gap: .5rem; align-items: flex-end; }
.category-form label { flex: 1; margin: .5rem 0 0; font-weight: 500; }
.category-form button { width: auto; margin: 0; padding: .65rem 1rem; white-space: nowrap; }
.search { display: flex; gap: .5rem; }
.search input { margin: 0; }
.search button { width: auto; margin: 0; }
.consent { border-color: var(--accent-line); background: var(--accent-soft); }
.consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent-buttons button { margin: 0; }
.danger-zone summary { cursor: pointer; color: var(--danger); font-weight: 600; margin-top: .4rem; }
.danger-zone h2 .i { color: var(--danger); }
.grid-main > .card:first-child, .stack > .card:first-child { margin-top: 0; }
.grid-main, .grid-2 { margin-top: 1rem; }
.stack > * + * { margin-top: 1rem; }
.grid-main > * + *, .grid-2 > * + * { margin-top: 1rem; }

/* ---------- Gerüst Handy ---------- */
body.app { padding-bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
.shell { max-width: 36rem; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: .55rem; padding: calc(1rem + env(safe-area-inset-top)) 1rem .25rem; color: var(--text); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 8px; background: var(--accent); color: #fff; font-size: .9rem; }
.topbar { display: none; }
.side { display: none; }
.main { display: block; padding: .75rem 1rem 2rem; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .25rem; padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--border); }
.tabbar a { flex: 1; max-width: 9rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem; font-size: .75rem; color: var(--muted); text-decoration: none; border-radius: 10px; }
.tabbar .i { font-size: 1.2rem; }
.tabbar a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

/* Anmelde- und Info-Seiten (nicht angemeldet) */
.wrap { max-width: 28rem; margin: 0 auto; padding: calc(1.5rem + env(safe-area-inset-top)) 1rem 2rem; }
.guest h1 { margin-bottom: .6rem; }
.back { margin: .8rem 0 0; }
.back a { text-decoration: none; }

/* ---------- Desktop (ab 900 px) ---------- */
@media (min-width: 900px) {
  body.app { padding-bottom: 0; }
  .shell { max-width: none; display: grid; grid-template-columns: 15rem 1fr; grid-template-rows: 3.75rem 1fr; min-height: 100vh; }
  .logo { grid-column: 1; grid-row: 1; padding: 0 1.25rem; background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 2; }
  .topbar { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 1rem; padding: 0 2rem; background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 2; }
  .topsearch { display: flex; align-items: center; gap: .5rem; width: 22rem; padding: 0 .8rem; border: 1px solid var(--border); border-radius: 10px; background: var(--card-2); color: var(--muted); }
  .topsearch:focus-within { border-color: var(--accent); }
  .topsearch input { border: 0; background: transparent; margin: 0; padding: .5rem 0; font-size: .9rem; outline: none; }
  .avatar { margin-left: auto; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent-line); color: var(--accent); font-weight: 700; font-size: .8rem; text-decoration: none; }
  .side { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: .1rem; padding: .9rem .75rem; background: var(--card); border-right: 1px solid var(--border); position: sticky; top: 3.75rem; height: calc(100vh - 3.75rem); overflow-y: auto; }
  .side-nav { display: flex; flex-direction: column; gap: .1rem; }
  .side-nav a { display: flex; align-items: center; gap: .7rem; padding: .5rem .65rem; border-radius: 8px; color: var(--text); opacity: .82; font-weight: 500; font-size: .9rem; text-decoration: none; }
  .side-nav a .i { color: var(--muted); width: 1.05em; }
  .side-nav a:hover { background: var(--card-2); opacity: 1; }
  .side-nav a.active { background: var(--accent-soft); color: var(--accent); opacity: 1; font-weight: 600; }
  .side-nav a.active .i { color: var(--accent); }
  .side-nav .count { margin-left: auto; font-size: .75rem; color: var(--muted); }
  .side-nav .count.accent { padding: 0 .45rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
  .side-nav.sub a { padding: .38rem .65rem; font-size: .85rem; }
  .side-nav.sub a span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-nav.sub a.zero { color: var(--faint); }
  .side-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 1rem .65rem .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
  .side-group summary::-webkit-details-marker { display: none; }
  .side-group summary .i { font-size: .7rem; transition: transform .15s; }
  .side-group:not([open]) summary .i { transform: rotate(-90deg); }
  .side-foot { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--line); }
  .main { grid-column: 2; grid-row: 2; padding: 1.6rem 2rem 3rem; max-width: 80rem; width: 100%; }
  .tabbar { display: none; }

  h1 { font-size: 1.45rem; }
  .page-actions { width: auto; }
  .page-actions .button, .page-actions button { width: auto; }
  .upload-buttons { display: flex; width: auto; }
  .upload-btn { flex-direction: row; padding: .55rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; }
  .upload-btn .i { font-size: 1rem; }
  .upload-hint { text-align: right; margin-top: -.3rem; font-size: .78rem; }
  .space-select { width: 12rem; font-weight: 500; font-size: .8rem; color: var(--muted); }
  .space-select select { padding: .5rem .7rem; font-size: .9rem; }
  .actions { display: flex; }

  .kpis { grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; }
  .kpi { padding: 1rem 1.2rem; }
  .kpi b { font-size: 1.75rem; }

  .grid-main { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); gap: 1rem; align-items: start; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
  .grid-main > * + *, .grid-2 > * + * { margin-top: 0; }
  .grid-2 > .card { margin-top: 0; }

  /* Dokumente als Tabelle */
  .docs-head { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) 10rem 6.5rem 7.5rem; gap: .75rem; padding: .5rem 1.1rem; background: var(--card-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .docs-head span:first-child { grid-column: 2; }
  .docs-head.no-cat { grid-template-columns: 2.1rem minmax(0, 1fr) 6.5rem 7.5rem; }
  .doc-row { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) 10rem 6.5rem 7.5rem; padding: .55rem 1.1rem; }
  .docs.no-cat .doc-row { grid-template-columns: 2.1rem minmax(0, 1fr) 6.5rem 7.5rem; }
  .doc-col { display: block; font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .doc-meta { font-size: .8rem; }
  .doc-meta .m-status, .doc-meta .m-date { display: none; }
  .consent-buttons { display: flex; }
  .consent-buttons button { width: auto; }
  /* in schmalen Spalten (z. B. „Bitte prüfen" rechts) keine Tabelle */
  .stack .docs-head { display: none; }
  .stack .doc-row { display: flex; }
  .stack .doc-col { display: none; }
  .stack .doc-meta .m-status, .stack .doc-meta .m-date { display: inline; }

  .tiles { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }

  .wrap { padding-top: 3rem; }
}

/* ---------- Anmelde-Seiten: Hintergrundbild, Logo, Bereichs-Kacheln (Login) ---------- */
body.guest { min-height: 100vh; color: var(--text);
  background: linear-gradient(180deg, rgba(6, 14, 36, .45), rgba(6, 14, 36, .15) 45%, rgba(6, 14, 36, .6)), #1b3a6b url(/img/login-bg.jpg) center / cover fixed;
  background-image: linear-gradient(180deg, rgba(6, 14, 36, .45), rgba(6, 14, 36, .15) 45%, rgba(6, 14, 36, .6)), image-set(url(/img/login-bg.webp) type("image/webp"), url(/img/login-bg.jpg) type("image/jpeg")); }
@media (max-width: 700px) {
  body.guest { background-attachment: scroll; background-image: linear-gradient(180deg, rgba(6, 14, 36, .45), rgba(6, 14, 36, .2) 45%, rgba(6, 14, 36, .65)), url(/img/login-bg-900.webp); }
}
.guest .wrap { position: relative; z-index: 1; }
.guest .wrap.wide { max-width: 40rem; }
.guest .wrap.wide > .card { max-width: 25rem; margin-left: auto; margin-right: auto; }
.guest .card { border: 0; box-shadow: 0 20px 50px rgba(0, 10, 40, .35); }
.brand { display: flex; justify-content: center; margin-bottom: .5rem; }
.brand a { color: #fff; text-decoration: none; }
.biglogo { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.biglogo-row { display: flex; align-items: center; gap: .75rem; }
.biglogo-mark { width: 3.4rem; height: 3.1rem; }
.biglogo-word { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; text-shadow: 0 2px 18px rgba(0, 10, 40, .35); }
.biglogo-word span { background: linear-gradient(90deg, #6cbaff, #2a7ff3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.biglogo-tag { font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; opacity: .92; text-shadow: 0 1px 8px rgba(0, 10, 40, .5); }

.areas { margin-top: 1.5rem; }
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.area { display: block; width: 100%; height: 6.6rem; margin: 0; padding: 0; border: 0; background: none; color: #fff; perspective: 700px; cursor: default; font: inherit; }
.area:hover { filter: none; }
.area:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: var(--radius); }
.area-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.area.flipped .area-inner { transform: rotateY(180deg); }
.area-front, .area-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: .5rem .6rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .85); backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; }
.area-front { background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 600; font-size: .78rem; line-height: 1.2; -webkit-hyphens: auto; hyphens: auto; text-shadow: 0 1px 6px rgba(0, 10, 40, .55); }
.area-front .i { font-size: 1.35rem; }
.area-back { transform: rotateY(180deg); background: rgba(255, 255, 255, .94); color: #0f1a2e; font-size: .68rem; line-height: 1.3; padding: .4rem .45rem; }
.area-back b { display: none; color: #1d4ed8; font-size: .75rem; }
.area-net { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
@media (min-width: 700px) {
  .area { height: 6.4rem; }
  .area-front { font-size: .92rem; }
  .area-back { font-size: .82rem; line-height: 1.35; padding: .6rem .9rem; }
  .area-back b { display: block; }
  .area-grid { gap: .9rem; }
  .biglogo-word { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .area-inner { transition: none; }
}
