/* Curve Hub. The website's world, built as a work tool: studio black, chrome display type in Unbounded,
   hairline pills with a light sweep, one ice-blue headlight accent, cold key light from above.
   Layout: phone-first app with a bottom tab bar; a left rail from 900px up. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* Polish letters (ą ć ę ł ń ś ź ż): Latin Extended-A subsets of the same fonts, only downloaded when a page uses them. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-ext.woff2") format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0100-017F; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-017F; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500-ext.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-017F; }

:root {
  --night: #050608;        /* page, same as the website */
  --panel: #090b0e;        /* raised surfaces */
  --raise: #10141a;        /* inputs, hover */
  --line: #1a1f27;         /* hairlines */
  --line-strong: #2a313b;  /* pill and field borders */
  --steel: #8792a0;        /* secondary text: 5.9:1 on --night, 5.6:1 on --panel */
  --mist: #b3bcc7;         /* body text */
  --chrome: #e9eef4;       /* primary text */
  --led: #bfe3ff;          /* headlight ice: the one accent */
  --good: #8fe3b0;
  --warn: #f2c879;
  --bad: #ff9a8f;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --chrome-fill: linear-gradient(180deg, #ffffff 0%, #d3dae1 46%, #7f8a96 54%, #e7ecf1 68%, #a3adb8 100%);
  --hairline: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  --radius: 16px;
  --ease: cubic-bezier(.65, 0, .2, 1);
  --rail: 240px;
  --tabbar: 66px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--chrome); }
body { font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; min-height: 100dvh; overflow-x: hidden; }
a { color: var(--led); }
:focus-visible { outline: 1px solid var(--led); outline-offset: 4px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* film grain, same as the website, kept faint so small text stays crisp */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } 100% { transform: translate(0,0) } }

/* ---------- type ---------- */
.chrome { background: var(--chrome-fill); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { margin: 0; font: 300 11px/1.2 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--steel); }
.h1 { margin: 0; font: 200 clamp(22px, 3.4vw, 32px)/1.25 var(--display); letter-spacing: .14em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.h1 b { font-weight: 700; }
.h2 { margin: 0; font: 300 13px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--chrome); }
.muted { color: var(--steel); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }
.plate { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; background: #f6d24a; color: #111; font: 500 14px/1.2 var(--mono); letter-spacing: .1em; box-shadow: 0 0 0 1px rgba(0,0,0,.4) inset; }

/* ---------- brand: the dyno curve above the wordmark, like the website's nav ---------- */
.brand { display: grid; justify-items: center; gap: 7px; text-decoration: none; color: inherit; }
.brand svg { width: 46px; height: 13px; overflow: visible; }
.brand span { font: 300 10px/1 var(--display); letter-spacing: .34em; text-indent: .34em; white-space: nowrap; }
.brand b { font-weight: 700; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 1fr; min-height: 100dvh; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--night) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--hairline); }
.topbar .brand { grid-column: 2; }
.who { grid-column: 3; justify-self: end; font: 300 10px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--steel); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
main.view {
  position: relative; padding: 26px max(16px, env(safe-area-inset-right, 0px)) calc(var(--tabbar) + env(safe-area-inset-bottom, 0px) + 32px) max(16px, env(safe-area-inset-left, 0px));
  width: 100%; max-width: 1100px; margin: 0 auto; isolation: isolate;
}
main.view::before { /* cold key light falling on the page from above, as on the website */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -120px; height: 560px; pointer-events: none;
  background: radial-gradient(46% 50% at 50% 30%, rgba(70,96,128,.13), transparent 100%);
}

.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); padding: 0 max(4px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--night) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.tabbar::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--hairline); }
.nav-item { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 44px; color: var(--steel); text-decoration: none; font: 300 9.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; position: relative; transition: color .3s; }
.nav-item svg { width: 22px; height: 22px; stroke-width: 1.25; }
.nav-item[aria-current="page"] { color: var(--chrome); }
.nav-item[aria-current="page"] svg { color: var(--led); filter: drop-shadow(0 0 6px rgba(191,227,255,.45)); }
.nav-item[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 26%; right: 26%; height: 1px; background: var(--led); box-shadow: 0 0 10px var(--led), 0 0 22px rgba(191,227,255,.5); }
.nav-item .badge { position: absolute; top: 8px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--led); color: #061018; font: 700 10px/17px var(--body); letter-spacing: 0; text-align: center; box-shadow: 0 0 10px rgba(191,227,255,.5); }
.rail { display: none; }

@media (min-width: 900px) {
  .shell { grid-template-columns: var(--rail) 1fr; }
  .tabbar { display: none; }
  .rail { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100dvh; padding: 28px 14px 22px; background: var(--night); }
  .rail::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent); }
  .rail .brand { padding: 0 10px 34px; }
  .rail .brand svg { width: 58px; height: 16px; }
  .rail .brand span { font-size: 11px; }
  .rail .nav-item { grid-template-columns: 22px 1fr; justify-items: start; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; font-size: 10.5px; letter-spacing: .22em; }
  .rail .nav-item:hover { background: rgba(255,255,255,.025); color: var(--chrome); }
  .rail .nav-item[aria-current="page"] { background: radial-gradient(120% 140% at 0% 50%, rgba(191,227,255,.08), transparent 70%); }
  .rail .nav-item[aria-current="page"]::before { top: 12px; bottom: 12px; left: 0; right: auto; width: 1px; height: auto; }
  .rail .nav-item .badge { position: static; margin-left: auto; }
  .rail .grow { flex: 1; }
  .topbar { grid-template-columns: 1fr auto; padding-left: 32px; padding-right: 32px; }
  .topbar .brand { display: none; }
  .who { grid-column: 2; }
  main.view { padding: 34px 32px 56px; }
}

/* ---------- page head: kicker, chrome title, a line of light ---------- */
.page-head { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; padding-bottom: 22px; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(420px, 80%); height: 1px; background: linear-gradient(90deg, rgba(191,227,255,.55), transparent); transform-origin: left; animation: rule 1.2s var(--ease) both; }
@keyframes rule { from { transform: scaleX(0) } }
.page-head > div { display: grid; gap: 12px; min-width: 0; }
.page-head > div:last-child:not(:first-child) { align-self: end; }

/* ---------- buttons: hairline pills with a light sweep (the website's .btn) ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--chrome); cursor: pointer;
  font: 300 11px/1.25 var(--display); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  max-width: 100%; white-space: normal; text-align: center; /* long labels wrap instead of spilling out of cards on phones */
  transition: border-color .4s, color .4s, box-shadow .4s, background .4s;
}
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transition: transform .9s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { border-color: var(--mist); }
.btn.primary { border-color: var(--led); color: var(--led); box-shadow: inset 0 0 18px rgba(191,227,255,.08); }
.btn.primary:hover { box-shadow: 0 0 28px rgba(191,227,255,.22), inset 0 0 18px rgba(191,227,255,.12); }
.btn.danger { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); color: var(--bad); }
.btn.danger:hover { box-shadow: 0 0 22px rgba(255,154,143,.16); }
.btn.ghost { border-color: transparent; }
.btn.ghost:hover { border-color: var(--line-strong); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 10px; letter-spacing: .2em; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn[disabled]::after { display: none; }
.btn svg { width: 16px; height: 16px; flex: none; stroke-width: 1.5; }
@media (max-width: 480px) { .btn { padding: 0 18px; letter-spacing: .18em; } .btn.small { padding: 0 14px; letter-spacing: .16em; } }

/* ---------- fields: the website's booking form ---------- */
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font: 300 10px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--steel); }
.field small { color: var(--steel); font-size: 13px; line-height: 1.5; }
.field .err { margin: 0; color: var(--bad); font-size: 14px; }
.err { color: var(--bad); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.02); color: var(--chrome); font: 400 16px/1.4 var(--body); /* 16px stops iOS zoom */
  transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 42px; }
select.input option { background: var(--night); color: var(--chrome); }
input.input[type="date"], input.input[type="time"], input.input[type="datetime-local"] { color-scheme: dark; }
.input::placeholder { color: #5d6774; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--led); box-shadow: 0 0 0 3px rgba(191,227,255,.1), 0 0 22px rgba(191,227,255,.08); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.input.reg { font: 500 22px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: #f6d24a; color: #111; border-color: #f6d24a; text-align: center; }
.input.reg::placeholder { color: rgba(17,17,17,.38); }
.input.reg:focus { box-shadow: 0 0 0 3px rgba(246,210,74,.25); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; color: var(--mist); font: 300 10px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, color .3s; }
.seg button:hover { border-color: var(--mist); }
.seg button[aria-pressed="true"] { border-color: var(--led); color: var(--led); box-shadow: inset 0 0 18px rgba(191,227,255,.08); }

/* ---------- surfaces ---------- */
.card {
  position: relative; min-width: 0; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.006) 40%), var(--panel);
}
.card::before { /* a thin catch-light along the top edge, like light on the car's bonnet */
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(191,227,255,.28), transparent);
}
.card > .h2:first-child, .card > h2:first-child { margin-bottom: 2px; }
.stack { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  position: relative; display: grid; gap: 10px; padding: 20px 18px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.006) 40%), var(--panel); transition: border-color .4s;
}
a.stat:hover { border-color: var(--line-strong); }
.stat strong { font: 200 clamp(32px, 6vw, 42px)/1 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; background: var(--chrome-fill); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; line-height: 1.4; color: var(--steel); }
.stat.hot { border-color: color-mix(in srgb, var(--led) 35%, var(--line)); }
.stat.hot strong { background: none; color: var(--led); text-shadow: 0 0 18px rgba(191,227,255,.4); }

.list { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; min-height: 56px; padding: 16px 18px; text-decoration: none; color: inherit; min-width: 0; transition: background .3s; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: var(--line); }
a.row:hover, button.row:hover { background: rgba(255,255,255,.025); }
button.row { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.row .title { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.row .sub { grid-column: 1 / -1; color: var(--steel); font-size: 14px; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--steel); font: 300 10px/1.9 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* status chips: each tone differs in lightness and fill as well as hue */
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--line-strong); font: 600 12px/1 var(--body); letter-spacing: .02em; color: var(--mist); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.chip.info { color: var(--led); border-color: color-mix(in srgb, var(--led) 45%, var(--line)); background: rgba(191,227,255,.06); }
.chip.good { color: #06120b; border-color: var(--good); background: var(--good); }
.chip.good::before { background: #06120b; box-shadow: none; }
.chip.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); background: rgba(242,200,121,.1); }
.chip.bad { color: var(--bad); border-color: var(--bad); border-style: dashed; background: rgba(255,154,143,.08); }
.chip.dim { color: var(--steel); border-color: var(--line); }
.chip.dim::before { box-shadow: none; }

.empty { display: grid; justify-items: center; gap: 14px; padding: 48px 22px; text-align: center; color: var(--steel); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: radial-gradient(50% 60% at 50% 0%, rgba(120,160,205,.06), transparent); }
.empty svg { width: 44px; height: 44px; color: var(--chrome); stroke-width: 1.1; }
.empty svg > * { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.8s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } }

/* ---------- sheet (bottom on phones, centred dialog on desktop) ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s ease; }
.sheet {
  position: fixed; z-index: 51; inset: auto 0 0 0; max-height: 92dvh; overflow: auto; padding: 24px max(18px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  background: radial-gradient(70% 40% at 50% 0%, rgba(70,96,128,.14), transparent), var(--panel); border-top: 1px solid var(--line-strong); border-radius: 22px 22px 0 0; animation: rise .32s var(--ease);
}
.sheet::before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(191,227,255,.6), transparent); }
@media (min-width: 700px) { .sheet { inset: 50% auto auto 50%; width: min(640px, 92vw); transform: translate(-50%, -50%); border: 1px solid var(--line-strong); border-radius: 22px; animation: pop .25s var(--ease); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sheet-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
@keyframes fade { from { opacity: 0 } }
@keyframes rise { from { transform: translateY(30px); opacity: 0 } }
@keyframes pop { from { transform: translate(-50%, -46%); opacity: 0 } }

.toasts { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--raise) 94%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); box-shadow: 0 12px 34px rgba(0,0,0,.55); animation: rise .25s var(--ease); }
.toast:not(.bad) { border-color: color-mix(in srgb, var(--led) 35%, var(--line-strong)); }
.toast.bad { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); }

.spinner { width: 20px; height: 20px; border: 1px solid var(--line-strong); border-top-color: var(--led); border-radius: 50%; animation: spin .8s linear infinite; box-shadow: 0 0 12px rgba(191,227,255,.15); }
@keyframes spin { to { transform: rotate(360deg) } }
.loading { display: flex; justify-content: center; padding: 56px 0; }

/* ---------- sign-in: the website's hero, without the car ---------- */
.auth { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(60% 46% at 50% 22%, rgba(70,96,128,.2), transparent 70%), var(--night); }
.auth::before { /* the headlight streak */
  content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(191,227,255,.22) 30%, rgba(255,255,255,.5) 50%, rgba(191,227,255,.22) 70%, transparent);
  box-shadow: 0 0 18px rgba(191,227,255,.25);
}
.auth-card { position: relative; width: min(420px, 100%); display: grid; gap: 30px; }
.auth-card .brand { gap: 16px; }
.auth-card .brand svg { width: 150px; height: 42px; filter: drop-shadow(0 0 14px rgba(191,227,255,.25)); }
.auth-card .brand span { font-size: 15px; letter-spacing: .36em; text-indent: .36em; }
.auth-card .tag { margin: -6px 0 0; text-align: center; }
.auth-card .card { padding: 26px; background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.secret { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px dashed var(--line-strong); font: 500 15px/1.6 var(--mono); letter-spacing: .14em; text-align: center; overflow-wrap: anywhere; user-select: all; color: var(--led); }
.code-input { font: 500 26px/1 var(--mono); letter-spacing: .4em; text-align: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; } }

.flip { transform: rotate(180deg); }
.row > svg, .row > span > svg { width: 18px; height: 18px; color: var(--steel); }
main.view:focus { outline: none; } /* focused for screen readers on navigation, no visible ring */

/* Sign-in language switch (EN | PL) */
.auth .lang-switch { justify-self: center; margin-top: -14px; }
.auth .lang-switch button { padding: 0 16px; }

/* Tab bar labels: never run into each other. Polish labels are longer, so they get tighter tracking. */
.tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tabbar .nav-item > span:not(.badge) { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[lang="pl"] .tabbar .nav-item { font-size: 8px; letter-spacing: 0; }
html[lang="pl"] .tabbar .nav-item > span:not(.badge) { padding: 0; }
