:root {
  --yellow: #FFC619;
  --yellow-deep: #E0A800;
  --yellow-soft: #FFE9A3;
  --red: #E3262B;
  --red-deep: #B81A1F;
  --ink: #14161C;
  --ink-2: #3D4250;
  --ink-3: #5E6472;
  --paper: #FFFFFF;
  --ground: #F2F3F5;
  --ground-2: #E7E9EE;
  --rule: #D5D9E0;
  --violet: #6B3FD6;
  --violet-soft: #EEE8FC;
  --green: #17864A;
  --green-soft: #E3F4EA;
  --c1: #E3262B;
  --c2: #1E5BD8;
  --c3: #17864A;
  --c4: #6B3FD6;
  --c5: #E0600F;
  --c6: #0B8484;
  --c7: #C2255C;
  --c8: #7A5230;
  --c9: #243B7A;
  --c10: #5B7F12;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dot: "Doto", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1240px;
  --gutter: 16px;
  --shadow-1: 0 1px 2px rgba(20, 22, 28, .08), 0 2px 6px rgba(20, 22, 28, .06);
  --shadow-2: 0 6px 16px rgba(20, 22, 28, .10), 0 2px 4px rgba(20, 22, 28, .06);
  --shadow-3: 0 18px 40px rgba(20, 22, 28, .18), 0 4px 10px rgba(20, 22, 28, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink-3) var(--ground-2);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

body > main, .shell { flex: 1 0 auto; }

::selection { background: var(--yellow); color: var(--ink); }

img, video, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--yellow-deep); }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.05;
  font-weight: 800;
  font-variation-settings: "wdth" 78;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--yellow);
  border-radius: 4px;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground-2); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border: 3px solid var(--ground-2); border-radius: 12px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -.25em;
}

.dot {
  font-family: var(--dot);
  font-weight: 900;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.num { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--ink-3); }


.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
}

.topbar__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand__mark {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
}

.brand__tld { color: var(--yellow); }

.topbar__toggle {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.topbar__toggle .icon { width: 26px; height: 26px; }

.topbar__panel {
  position: fixed;
  inset: 64px 0 auto 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 18px var(--gutter) 24px;
  background: var(--ink);
  border-top: 1px solid #2B2F3A;
}
.topbar__panel.is-open { display: flex; }

.topnav { display: flex; flex-direction: column; gap: 2px; }
.topnav a {
  padding: 12px 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid #262A34;
}
.topnav a[aria-current="page"] { color: var(--yellow); }

.topbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.topbar__logout { display: contents; }

.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.token-chip__num { font-family: var(--dot); font-weight: 900; font-size: 1.3rem; line-height: 1; }

.icon-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
}
.icon-link:hover { background: #262A34; }
.icon-link__badge {
  position: absolute;
  top: 2px; right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

@media (min-width: 1024px) {
  .topbar__toggle { display: none; }
  .topbar__panel {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    padding: 0;
    border: 0;
    overflow: visible;
    max-height: none;
  }
  .topnav { flex-direction: row; gap: 4px; margin-left: 20px; }
  .topnav a {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    font-size: .98rem;
    color: #D8DBE2;
  }
  .topnav a:hover { color: #fff; background: #232733; }
  .topnav a[aria-current="page"] { color: var(--ink); background: var(--yellow); }
  .topbar__actions { margin-left: auto; flex-wrap: nowrap; }
}


.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-edge: var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--btn-edge);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1.1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease-out), background-color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--primary {
  --btn-bg: var(--yellow);
  --btn-edge: var(--yellow);
  box-shadow: inset 0 -3px 0 var(--yellow-deep);
}
.btn--primary:hover { --btn-bg: #FFD13D; box-shadow: inset 0 -3px 0 var(--yellow-deep), var(--shadow-2); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-edge: var(--ink); }
.btn--dark:hover { --btn-bg: #262A34; }
.btn--dark .icon { color: var(--yellow); }

.btn--ghost { --btn-bg: transparent; --btn-edge: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--paper); }

.btn--plain { --btn-bg: transparent; --btn-edge: transparent; --btn-fg: inherit; }
.btn--plain:hover { box-shadow: none; text-decoration: underline; }

.btn--danger { --btn-bg: var(--paper); --btn-fg: var(--red-deep); --btn-edge: #F2B8BA; }
.btn--danger:hover { --btn-bg: #FDECEC; }

.btn--violet { --btn-bg: var(--violet); --btn-fg: #fff; --btn-edge: var(--violet); }

.btn--sm { min-height: 38px; padding: 7px 12px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 14px 24px; font-size: 1.08rem; }
.btn--block { width: 100%; }

.topbar .btn--plain { --btn-fg: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }


.flashes {
  max-width: var(--wrap);
  margin: 16px auto 0;
  padding-inline: var(--gutter);
  display: grid;
  gap: 8px;
  width: 100%;
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-1);
  animation: flash-in .5s var(--ease-out);
}
.flash p { flex: 1; font-weight: 600; padding-top: 1px; }
.flash--success { background: var(--green-soft); border-color: var(--green); }
.flash--success > .icon { color: var(--green); }
.flash--error { background: #FDECEC; border-color: var(--red); }
.flash--error > .icon { color: var(--red); }
.flash--info { background: var(--yellow-soft); border-color: var(--yellow-deep); }
.flash__close {
  border: 0;
  background: transparent;
  padding: 2px;
  cursor: pointer;
  color: inherit;
  border-radius: 6px;
}

@keyframes flash-in {
  from { transform: translateY(-8px); opacity: .4; }
  to { transform: none; opacity: 1; }
}


[hidden] { display: none !important; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field__label { font-weight: 700; font-size: .95rem; }
.field__label--split { display: flex; justify-content: space-between; gap: 8px; }
.field__label--split a { font-weight: 600; font-size: .88rem; }
.field__hint { margin: -8px 0 16px; font-size: .88rem; color: var(--ink-3); }
.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--red-deep);
  font-weight: 600;
  font-size: .9rem;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  caret-color: var(--red);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #6F7582; }
.input:hover { border-color: #AEB4BF; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow); }
.input[aria-invalid="true"] { border-color: var(--red); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
select.input[multiple] { background-image: none; padding-right: 14px; min-height: 160px; }
input[type="file"].input { padding: 9px; }
input[type="file"].input::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font: 700 .9rem var(--font);
  cursor: pointer;
}

.input-affix { position: relative; }
.input-affix .input { padding-right: 48px; }
.input-affix__suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--ink-3);
  pointer-events: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.form-card {
  width: 100%;
  max-width: 560px;
  padding: 24px 20px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
@media (min-width: 640px) { .form-card { padding: 36px 36px 28px; } }
.form-card__title { font-size: 2rem; margin-bottom: 20px; }
.form-card__text { margin: -8px 0 20px; color: var(--ink-2); }
.form-card__alt { margin-top: 18px; text-align: center; color: var(--ink-2); }
.form-card__alt a { font-weight: 700; }

.role-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.role-pick legend { margin-bottom: 8px; }
.role-pick__option { position: relative; }
.role-pick__option input { position: absolute; opacity: 0; inset: 0; }
.role-pick__card {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 14px;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.role-pick__card .icon { width: 26px; height: 26px; margin-bottom: 4px; }
.role-pick__card strong { font-size: 1.02rem; }
.role-pick__card small { color: var(--ink-3); line-height: 1.35; }
.role-pick__option input:checked + .role-pick__card { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.role-pick__option input:focus-visible + .role-pick__card { box-shadow: 0 0 0 4px var(--yellow); }
.role-pick .field__error { grid-column: 1 / -1; }

.form-section {
  padding: 22px 18px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  margin-bottom: 18px;
}
@media (min-width: 640px) { .form-section { padding: 28px; } }
.form-section__title { font-size: 1.4rem; margin-bottom: 4px; }
.form-section__lead { color: var(--ink-3); margin-bottom: 20px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.skill-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding: 4px;
}
.skill-picker__group { width: 100%; margin: 8px 0 0; font-size: .82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.skill-picker label { position: relative; }
.skill-picker input { position: absolute; opacity: 0; inset: 0; }
.skill-picker span {
  display: inline-block;
  padding: 7px 12px;
  border: 2px solid var(--rule);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  user-select: none;
}
.skill-picker input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.skill-picker input:focus-visible + span { box-shadow: 0 0 0 3px var(--yellow); }


.auth {
  display: grid;
  min-height: calc(100vh - 64px);
}
.auth__side {
  position: relative;
  padding: 40px var(--gutter) 36px;
  background: var(--yellow);
  overflow: hidden;
}
.auth__title {
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  font-variation-settings: "wdth" 70;
  max-width: 12ch;
  margin-bottom: 16px;
}
.auth__lead { max-width: 38ch; font-size: 1.1rem; color: #3B2F00; margin-bottom: 28px; }
.auth__main {
  display: grid;
  place-items: start center;
  padding: 28px var(--gutter) 56px;
}
@media (min-width: 960px) {
  .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .auth__side { padding: 72px 56px; }
  .auth__main { place-items: center; padding: 56px; }
}

.narrow {
  display: grid;
  place-items: center;
  padding: 48px var(--gutter) 72px;
}


.line { display: inline-flex; align-items: center; gap: 8px; }
.line__num {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--dot);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}
.line__name { font-weight: 700; }
.line--c1 { background: var(--c1); }
.line--c2 { background: var(--c2); }
.line--c3 { background: var(--c3); }
.line--c4 { background: var(--c4); }
.line--c5 { background: var(--c5); }
.line--c6 { background: var(--c6); }
.line--c7 { background: var(--c7); }
.line--c8 { background: var(--c8); }
.line--c9 { background: var(--c9); }
.line--c10 { background: var(--c10); }
.line--lg .line__num { min-width: 44px; height: 44px; font-size: 1.5rem; border-radius: 9px; }


.route {
  --route-color: var(--ink);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stop;
}
.route__stop {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-top: 0;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
}
.route__stop::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--route-color);
}
.route__stop:last-child::before { right: auto; width: 12px; }
.route__node {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 5px solid var(--route-color);
}
.route__stop.is-current .route__node { background: var(--route-color); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--route-color); }
.route__stop span:last-child { padding-right: 12px; }

.route--vertical { grid-auto-flow: row; gap: 0; }
.route--vertical .route__stop { grid-template-columns: 24px 1fr; align-items: center; gap: 14px; padding: 0 0 22px; }
.route--vertical .route__stop::before { top: 12px; bottom: -12px; left: 9px; right: auto; width: 6px; height: auto; }
.route--vertical .route__stop:last-child::before { display: none; }
.route--on-yellow .route__node { background: var(--yellow); }
.route--on-yellow .route__stop.is-current .route__node { background: var(--ink); box-shadow: 0 0 0 4px var(--yellow), 0 0 0 6px var(--ink); }


.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ground);
  border: 1px solid var(--rule);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--more { background: transparent; border-style: dashed; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--ground-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill--active, .pill--paid, .pill--resolved { background: var(--green-soft); color: var(--green); }
.pill--pending, .pill--open { background: var(--yellow-soft); color: #6B4E00; }
.pill--closed, .pill--paused, .pill--hidden, .pill--dismissed, .pill--cancelled { background: var(--ground-2); color: var(--ink-2); }
.pill--rejected, .pill--deleted, .pill--blocked, .pill--failed { background: #FDECEC; color: var(--red-deep); }
.pill--draft { background: #E8EEFB; color: #1E4BB0; }
.pill--own { background: var(--ground-2); color: var(--ink-2); }
.pill--client { background: var(--violet-soft); color: var(--violet); }

.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }
.rating__star { color: var(--yellow-deep); width: 1.1em; height: 1.1em; }
.rating__count { font-weight: 500; color: var(--ink-3); }
.rating--none { color: var(--ink-3); font-weight: 500; font-size: .9rem; }

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  object-fit: cover;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-variation-settings: "wdth" 80;
}
.avatar--sm { width: 36px; height: 36px; border-radius: 9px; font-size: .9rem; }
.avatar--md { width: 56px; height: 56px; font-size: 1.2rem; }
.avatar--lg { width: 96px; height: 96px; border-radius: 18px; font-size: 2rem; }
.avatar--xl { width: 132px; height: 132px; border-radius: 22px; font-size: 2.8rem; }


.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--yellow { background: var(--yellow); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.section__title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.section__lead { max-width: 52ch; color: var(--ink-2); font-size: 1.08rem; margin-top: 10px; }
.section--ink .section__lead { color: #C4C8D2; }

.page-head {
  padding: 36px 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.page-head__title { font-size: clamp(2.2rem, 6vw, 3.8rem); font-variation-settings: "wdth" 72; }
.page-head__lead { margin-top: 10px; max-width: 60ch; color: var(--ink-2); font-size: 1.05rem; }
.page-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }


.hero {
  position: relative;
  background: var(--yellow);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.hero__board {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 12px 6px 6px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 8px;
  font-family: var(--dot);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .06em;
}
.hero__board .line__num { background: var(--red); }
.hero__title {
  font-size: clamp(3rem, 10vw, 5.6rem);
  line-height: .9;
  font-variation-settings: "wdth" 66;
  font-weight: 900;
  letter-spacing: -.035em;
  max-width: 12ch;
}
.hero__title em { font-style: normal; background: linear-gradient(transparent 62%, var(--paper) 62%, var(--paper) 92%, transparent 92%); }
.hero__lead { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.4; color: #2E2400; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ctas .btn { min-height: 60px; padding-inline: 24px; font-size: 1.1rem; }
.hero__route { margin-top: 44px; max-width: 640px; }
.hero__route .route__node { background: var(--yellow); }
.hero__route .route__stop.is-current .route__node { background: var(--ink); box-shadow: 0 0 0 4px var(--yellow), 0 0 0 6px var(--ink); }

.hero__stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 420px;
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; padding-top: 72px; padding-bottom: 80px; }
}

.search-bar {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  padding: 6px;
  max-width: 560px;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
}
.search-bar .input { border: 0; min-height: 50px; }
.search-bar .input:focus { box-shadow: none; }
.search-bar select.input { max-width: 150px; border-left: 1px solid var(--rule); border-radius: 0; }
.search-bar .btn { flex: none; }
@media (max-width: 560px) {
  .search-bar { flex-wrap: wrap; }
  .search-bar .input { flex: 1 1 100%; }
  .search-bar select.input { max-width: none; flex: 1; border-left: 0; border-top: 2px solid var(--ground-2); }
}


.validator {
  position: relative;
  width: min(100%, 340px);
  padding: 22px 22px 26px;
  border-radius: 22px 22px 14px 14px;
  background: #F2A900;
  background: linear-gradient(180deg, #FFB81C 0%, #F2A300 100%);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), var(--shadow-3);
}
.validator__screen {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #1A1D12;
  color: #B7F25B;
  font-family: var(--dot);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: .05em;
  box-shadow: inset 0 0 0 3px #0C0E08;
  min-height: 72px;
}
.validator__screen small { color: #7FA83E; font-size: .8rem; }
.validator__slot {
  position: relative;
  height: 18px;
  margin: 18px 8px 0;
  border-radius: 6px;
  background: #1F1A0A;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, .6);
}
.validator__label {
  margin-top: 12px;
  text-align: center;
  font-weight: 900;
  font-variation-settings: "wdth" 70;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3D2B00;
}
.validator__lamp {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6E1D10;
}
.validator.is-stamped .validator__lamp { background: #3DF26B; box-shadow: 0 0 10px #3DF26B; }

.hero-ticket {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  margin-top: -6px;
  transition: transform .9s var(--ease-out);
  cursor: pointer;
}
.hero-ticket .ticket { box-shadow: var(--shadow-3); }
.hero__stage.is-stamped .hero-ticket { transform: translateY(-14px) rotate(-2deg); }


.ticket {
  --notch: 11px;
  --stub-bg: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s;
  isolation: isolate;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 104px 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 104px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 104px 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 104px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
a.ticket:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.ticket__stub {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 10px;
  padding: 16px 12px 16px 14px;
  background: var(--stub-bg);
  color: #fff;
  border-radius: 12px 0 0 12px;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 1.5px);
  background-size: 6px 6px;
}
.ticket__stub-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #AEB3BF; }
.ticket__stub-value { font-family: var(--dot); font-weight: 900; font-size: 1.75rem; letter-spacing: -.02em; line-height: .95; color: var(--yellow); }
.ticket__stub-value small { display: block; font-size: .95rem; color: #fff; margin-top: 2px; }

.ticket__body {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px 18px 16px 20px;
  border-left: 2px dashed var(--rule);
}
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket__date { font-size: .82rem; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.ticket__title { font-size: 1.28rem; font-weight: 800; font-variation-settings: "wdth" 82; line-height: 1.12; letter-spacing: -.01em; }
.ticket__text { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-2);
}
.ticket__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ticket__meta .icon { width: 1.05em; height: 1.05em; color: var(--ink-3); }

.ticket--demo { grid-template-columns: 104px 1fr; max-width: 380px; }
.ticket--demo .ticket__title { font-size: 1.15rem; }
.ticket--demo .ticket__meta { display: block; }

.ticket.is-closed { opacity: .72; }
.ticket.is-closed .ticket__stub { --stub-bg: #5E6472; }

.stamp {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 12px;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 6px 10px 5px;
  border: 3px solid var(--violet);
  border-radius: 6px;
  color: var(--violet);
  font-family: var(--dot);
  font-weight: 900;
  font-size: .82rem;
  line-height: 1.05;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  opacity: .92;
  pointer-events: none;
}
.stamp strong { font-size: 1.05rem; letter-spacing: .1em; }
.stamp.is-fresh { animation: stamp-press .55s var(--ease-out) both; }

@keyframes stamp-press {
  0% { transform: rotate(-8deg) scale(1.9); opacity: 0; filter: blur(3px); }
  55% { transform: rotate(-8deg) scale(.94); opacity: 1; filter: blur(0); }
  100% { transform: rotate(-8deg) scale(1); opacity: .92; }
}

.punch {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ground);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35);
}

.tickets { display: grid; gap: 14px; }
@media (min-width: 860px) { .tickets--2 { grid-template-columns: 1fr 1fr; } }


.fcards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }

.fcard {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.fcard__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.fcard__mosaic img, .fcard__mosaic span { width: 100%; height: 100%; object-fit: cover; }
.fcard__mosaic > :first-child { grid-row: 1 / 3; }
.fcard__mosaic--1 { grid-template-columns: 1fr; }
.fcard__mosaic--1 > :first-child { grid-row: 1 / 3; }
.fcard__mosaic--2 { grid-template-columns: 1fr 1fr; }
.fcard__mosaic--2 > * { grid-row: 1 / 3; }
.fcard__empty {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 198, 25, .25) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
  color: var(--yellow);
  font-family: var(--dot);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fcard__body { display: grid; align-content: start; gap: 10px; padding: 0 16px 16px; }
.fcard__id { display: flex; align-items: flex-end; gap: 12px; margin-top: -26px; }
.fcard__id .avatar { border: 4px solid var(--paper); box-shadow: var(--shadow-1); }
.fcard__price { margin-left: auto; text-align: right; line-height: 1; padding-bottom: 4px; }
.fcard__price small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.fcard__price .dot { font-size: 1.45rem; }
.fcard__name { font-size: 1.3rem; font-variation-settings: "wdth" 80; }
.fcard__headline { color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.fcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--ground-2);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.fcard__foot span { display: inline-flex; align-items: center; gap: 5px; }


.ocards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.ocard {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.ocard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.ocard__cover { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.ocard__cover img { width: 100%; height: 100%; object-fit: cover; }
.ocard__cover--empty {
  display: grid;
  place-items: center;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 198, 25, .22) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
}
.ocard__body { display: grid; align-content: start; gap: 8px; padding: 14px 16px; }
.ocard__title { font-size: 1.15rem; font-variation-settings: "wdth" 84; line-height: 1.15; }
.ocard__author { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.ocard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 2px dashed var(--ground-2);
}
.ocard__price { font-family: var(--dot); font-weight: 900; font-size: 1.35rem; line-height: 1; }
.ocard__time { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--ink-3); }


.listing { display: grid; gap: 24px; padding-block: 28px 64px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 290px minmax(0, 1fr); align-items: start; } }

.filters {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.filters__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font: 800 1.05rem var(--font);
  color: var(--ink);
  cursor: pointer;
}
.filters__body { display: none; padding: 0 18px 18px; }
.filters.is-open .filters__body { display: block; }
@media (min-width: 1024px) {
  .filters { position: sticky; top: 84px; }
  .filters__toggle { pointer-events: none; }
  .filters__toggle .icon { display: none; }
  .filters__body { display: block; }
}
.filters .field { margin-bottom: 14px; }
.filters__actions { display: grid; gap: 8px; }

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.results-bar__count { font-weight: 700; }
.results-bar__count .dot { font-size: 1.3rem; }
.results-bar select { min-height: 42px; width: auto; }

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
  background: var(--paper);
  border: 2px dashed var(--rule);
  border-radius: var(--radius-lg);
}
.empty__title { font-size: 1.5rem; }
.empty p { max-width: 44ch; color: var(--ink-2); }
.empty__code { font-family: var(--dot); font-weight: 900; font-size: 2.6rem; color: var(--rule); line-height: 1; }


.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; }
.pagination__stops {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination__stops::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--ink);
  z-index: 0;
}
.pagination__stops li { position: relative; z-index: 1; }
.pagination__stop {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}
.pagination__stop:hover { background: var(--yellow-soft); }
.pagination__stop.is-current { background: var(--ink); color: var(--yellow); }
.pagination__gap { padding: 0 2px; background: var(--ground); font-weight: 800; }
.pagination__step { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding: 8px; }


.lines-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.line-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.line-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.line-tile .line { grid-row: 1 / 3; }
.line-tile strong { font-size: 1.08rem; font-variation-settings: "wdth" 84; }
.line-tile small { color: var(--ink-3); font-weight: 600; }

.skills-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.skills-cloud a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  background: var(--paper);
}
.skills-cloud a:hover { background: var(--ink); color: var(--yellow); }

.how { display: grid; gap: 40px; }
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr; gap: 56px; } }
.how__side h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.how .route--vertical .route__stop { align-items: start; padding-bottom: 28px; }
.how .route--vertical .route__node { margin-top: 2px; }
.how .route__stop p { font-weight: 400; color: #C4C8D2; margin-top: 4px; font-size: .98rem; line-height: 1.45; }
.how .route__stop strong { font-size: 1.12rem; }
.section--ink .route { --route-color: var(--yellow); }
.section--ink .route__node { background: var(--ink); }
.section--ink .route__stop.is-current .route__node { background: var(--yellow); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--yellow); }
.route--red { --route-color: var(--red) !important; }
.section--ink .route--red .route__stop.is-current .route__node { background: var(--red); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--red); }

.token-rule {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--ink);
}
@media (min-width: 900px) { .token-rule { grid-template-columns: auto 1fr auto; align-items: center; padding: 28px 32px; } }
.token-rule__big { font-family: var(--dot); font-weight: 900; font-size: 3.6rem; line-height: .9; }
.token-rule__text strong { display: block; font-size: 1.4rem; font-variation-settings: "wdth" 80; margin-bottom: 4px; }
.token-rule__text p { color: #3B2F00; max-width: 60ch; }

.cta-band { padding: 56px 0; background: var(--red); color: #fff; }
.cta-band__inner { display: grid; gap: 22px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band__title { font-size: clamp(2.2rem, 6vw, 4rem); font-variation-settings: "wdth" 68; font-weight: 900; max-width: 16ch; }
.cta-band .btn--primary { box-shadow: inset 0 -3px 0 var(--yellow-deep); }


.profile-hero { background: var(--ink); color: #fff; }
.profile-hero__inner { display: grid; gap: 22px; padding-top: 36px; padding-bottom: 36px; }
@media (min-width: 900px) { .profile-hero__inner { grid-template-columns: auto 1fr auto; align-items: center; padding-top: 48px; padding-bottom: 48px; } }
.profile-hero .avatar { border: 4px solid var(--yellow); }
.profile-hero__name { font-size: clamp(2.2rem, 6vw, 3.6rem); font-variation-settings: "wdth" 72; }
.profile-hero__headline { margin-top: 8px; font-size: 1.15rem; color: #D5D8E0; max-width: 50ch; }
.profile-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-weight: 600; color: #C4C8D2; }
.profile-hero__facts span { display: inline-flex; align-items: center; gap: 6px; }
.profile-hero .rating__count { color: #AEB3BF; }
.profile-hero__panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  min-width: 260px;
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--ink);
}
.profile-hero__panel .dot { font-size: 2.2rem; line-height: 1; }
.profile-hero__panel small { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }

.profile-body { display: grid; gap: 28px; padding-block: 32px 72px; }
@media (min-width: 1024px) { .profile-body { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.block-title { font-size: 1.8rem; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.block-title .dot { font-size: 1.3rem; color: var(--ink-3); }
.prose { max-width: 70ch; white-space: pre-line; color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; }
.panel {
  padding: 20px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.panel + .panel { margin-top: 16px; }
.panel__title { font-size: 1.2rem; margin-bottom: 12px; font-variation-settings: "wdth" 84; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ground-2); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }


.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pgrid--large { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pitem {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  text-align: left;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.pitem:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pitem__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  overflow: hidden;
}
.pitem__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pitem:hover .pitem__media img { transform: scale(1.04); }
.pitem__placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  height: 100%;
  color: var(--yellow);
  font-weight: 800;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 198, 25, .22) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
  align-content: center;
}
.pitem__placeholder .icon { width: 42px; height: 42px; }
.pitem__type {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(20, 22, 28, .82);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.pitem__body { display: grid; gap: 6px; padding: 12px 14px 14px; align-content: start; }
.pitem__title { font-size: 1.05rem; font-weight: 800; font-variation-settings: "wdth" 86; line-height: 1.2; }
.pitem__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--ink-3); font-weight: 600; }

.viewer {
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-3);
}
.viewer::backdrop { background: rgba(20, 22, 28, .82); }
.viewer__media { background: var(--ink); display: grid; place-items: center; max-height: 70vh; overflow: hidden; }
.viewer__media img, .viewer__media video { max-height: 70vh; width: auto; margin: auto; }
.viewer__media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.viewer__body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.viewer__title { font-size: 1.5rem; padding-right: 48px; }
.viewer__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
}


.detail { display: grid; gap: 24px; padding-block: 28px 72px; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.detail__aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .detail__aside { position: sticky; top: 84px; } }

.job-sheet {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.job-sheet__head {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
  background: var(--ink);
  color: #fff;
}
@media (min-width: 640px) { .job-sheet__head { padding: 28px; } }
.job-sheet__title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-variation-settings: "wdth" 74; }
.job-sheet__perf {
  height: 22px;
  background:
    radial-gradient(circle 11px at 0 50%, var(--ground) 98%, transparent) left / 22px 22px no-repeat,
    radial-gradient(circle 11px at 100% 50%, var(--ground) 98%, transparent) right / 22px 22px no-repeat,
    linear-gradient(90deg, var(--rule) 50%, transparent 50%) center / 14px 2px repeat-x;
}
.job-sheet__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ground-2); border-bottom: 1px solid var(--ground-2); }
@media (min-width: 720px) { .job-sheet__grid { grid-template-columns: repeat(4, 1fr); } }
.job-sheet__cell { padding: 14px 18px; background: var(--paper); }
.job-sheet__cell small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.job-sheet__cell strong { font-size: 1.05rem; }
.job-sheet__cell .dot { font-size: 1.3rem; }
.job-sheet__body { padding: 22px 20px 26px; display: grid; gap: 22px; }
@media (min-width: 640px) { .job-sheet__body { padding: 28px; } }
.job-sheet__body h2 { font-size: 1.25rem; margin-bottom: 8px; font-variation-settings: "wdth" 86; }

.contact-box {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--yellow);
  overflow: hidden;
}
.contact-box__title { font-size: 1.45rem; font-variation-settings: "wdth" 76; }
.contact-box__cost { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contact-box__cost .dot { font-size: 1.8rem; line-height: 1; }
.contact-box p { color: #3B2F00; }
.contact-box .input { border-color: transparent; }
.contact-box--unlocked { background: var(--violet-soft); }
.contact-box--unlocked p { color: #3A2380; }
.contact-box--muted { background: var(--paper); box-shadow: var(--shadow-1); }
.contact-box--muted p { color: var(--ink-2); }

.attachments { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.attachments a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.attachments a:hover { border-color: var(--ink); }
.attachments small { margin-left: auto; color: var(--ink-3); font-weight: 500; }


.shell { display: block; }
.shell__main { display: block; min-width: 0; padding: 24px var(--gutter) 64px; }

.routenav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 12px var(--gutter);
}
.routenav__who { display: none; }
.routenav__line {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.routenav__line::-webkit-scrollbar { display: none; }
.routenav__stop a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  color: var(--ink-2);
}
.routenav__stop a:hover { background: var(--ground); color: var(--ink); }
.routenav__stop.is-current a { background: var(--ink); color: #fff; }
.routenav__stop.is-current .icon { color: var(--yellow); }
.routenav__node { display: none; }
.routenav__badge {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); max-width: 1440px; margin: 0 auto; width: 100%; }
  .shell__main { padding: 36px 40px 80px; }
  .routenav {
    position: sticky;
    top: 64px;
    align-self: start;
    height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 28px 18px 28px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .routenav__who { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
  .routenav__who span { display: grid; line-height: 1.2; }
  .routenav__who small { color: var(--ink-3); font-weight: 600; }
  .routenav__line { display: grid; gap: 0; overflow: visible; padding: 0; }
  .routenav__stop { position: relative; }
  .routenav__stop::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ink);
  }
  .routenav__stop:first-child::before { top: 50%; }
  .routenav__stop:last-child::before { bottom: 50%; }
  .routenav__stop a { position: relative; width: 100%; padding: 10px 10px 10px 40px; font-size: .96rem; }
  .routenav__stop a .icon { display: none; }
  .routenav__node {
    display: block;
    position: absolute;
    left: 6px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 4px solid var(--ink);
    background: var(--paper);
  }
  .routenav__stop.is-current a { background: var(--yellow); color: var(--ink); }
  .routenav__stop.is-current .routenav__node { background: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
  .routenav__stop a:hover .routenav__node { background: var(--yellow); }
  .routenav__badge { margin-left: auto; }
}

.dash-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.dash-head__title { font-size: clamp(2rem, 5vw, 3rem); font-variation-settings: "wdth" 74; }
.dash-head__lead { margin-top: 6px; color: var(--ink-2); }

.dash-grid { display: grid; gap: 18px; }
@media (min-width: 1100px) { .dash-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }

.board {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.board__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #2B2F3A;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #AEB3BF;
  font-variation-settings: "wdth" 90;
}
.board__title time { font-family: var(--dot); color: var(--yellow); letter-spacing: .06em; }
.board__rows { margin: 0; padding: 0; list-style: none; }
.board__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #22262F;
  color: #fff;
  text-decoration: none;
}
.board__row:last-child { border-bottom: 0; }
a.board__row:hover { background: #1D2029; }
.board__label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #D8DBE2; }
.board__label .icon { color: var(--ink-3); }
.board__value { font-family: var(--dot); font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.board__row--accent .board__value { color: #B7F25B; }

.checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checklist .icon { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--ground-2); color: var(--ink-3); }
.checklist .is-done .icon { background: var(--green); color: #fff; }
.checklist .is-done span { color: var(--ink-3); text-decoration: line-through; }
.progress-line { position: relative; height: 8px; margin: 4px 0 16px; border-radius: 4px; background: var(--ground-2); overflow: hidden; }
.progress-line span { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 4px; }


.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th {
  padding: 12px 14px;
  background: var(--ink);
  color: #C4C8D2;
  text-align: left;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--ground-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FAFAFB; }
.table .t-right { text-align: right; }
.table .t-num { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; white-space: nowrap; }
.table .t-plus { color: var(--green); }
.table .t-minus { color: var(--red-deep); }
.table .t-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.table .t-actions form { display: inline; }
.table small { color: var(--ink-3); display: block; }
.table a { font-weight: 700; }


.machine {
  display: grid;
  gap: 22px;
  padding: 18px;
  border-radius: 24px;
  background: #2A2F3B;
  background: linear-gradient(180deg, #313746 0%, #242935 100%);
  box-shadow: var(--shadow-3), inset 0 2px 0 rgba(255, 255, 255, .06);
}
@media (min-width: 640px) { .machine { padding: 28px; } }
.machine__screen {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #0E1A12;
  color: #B7F25B;
  box-shadow: inset 0 0 0 3px #060B08;
}
.machine__screen small { color: #6D9A3A; font-family: var(--dot); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.machine__balance { font-family: var(--dot); font-weight: 900; font-size: clamp(2.6rem, 8vw, 4rem); line-height: .95; }
.machine__options { display: grid; gap: 12px; }
@media (min-width: 720px) { .machine__options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .machine__options { grid-template-columns: repeat(4, 1fr); } }
.machine__option { display: contents; }
.package {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 -4px 0 var(--ground-2);
}
.package--best { background: var(--yellow); box-shadow: inset 0 -4px 0 var(--yellow-deep); }
.package__name { font-size: 1.05rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-variation-settings: "wdth" 90; }
.package__tokens { font-family: var(--dot); font-weight: 900; font-size: 3rem; line-height: .9; }
.package__tokens small { font-family: var(--font); font-size: 1rem; font-weight: 700; margin-left: 4px; }
.package__price { font-size: 1.4rem; font-weight: 800; }
.package__unit { font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.package--best .package__unit { color: #5A4500; }
.package__flag {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--rule);
}
.notice > .icon { flex: none; margin-top: 2px; }
.notice--warn { background: var(--yellow-soft); border-color: var(--yellow-deep); }
.notice--violet { background: var(--violet-soft); border-color: #CBB9F6; }


.inbox { display: grid; gap: 16px; }
@media (min-width: 1024px) { .inbox { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } }
.inbox__list { margin: 0; padding: 0; list-style: none; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.inbox__item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ground-2);
  text-decoration: none;
  color: var(--ink);
}
.inbox__item a:hover { background: #FAFAFB; }
.inbox__item.is-current a { background: var(--yellow-soft); }
.inbox__item .avatar { grid-row: 1 / 4; }
.inbox__name { font-weight: 800; }
.inbox__time { font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.inbox__job { grid-column: 2 / 4; font-size: .82rem; font-weight: 700; color: var(--violet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__preview { grid-column: 2 / 3; font-size: .9rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__unread { grid-column: 3; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

.thread { display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); min-height: 520px; overflow: hidden; }
.thread__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ground-2); }
.thread__head h2 { font-size: 1.25rem; font-variation-settings: "wdth" 84; }
.thread__head small { display: block; color: var(--ink-3); font-weight: 600; }
.thread__head .btn { margin-left: auto; }
.thread__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--ground);
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 22, 28, .06) 1px, transparent 1.5px);
  background-size: 14px 14px;
}
.bubble {
  max-width: min(78%, 560px);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.bubble--mine { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.bubble__time { display: block; margin-top: 4px; font-size: .74rem; color: var(--ink-3); }
.bubble--mine .bubble__time { color: #AEB3BF; }
.thread__system {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: .82rem;
  font-weight: 700;
}
.thread__form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--ground-2); align-items: flex-end; }
.thread__form textarea.input { min-height: 52px; height: 52px; max-height: 200px; }


.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { cursor: pointer; color: var(--rule); }
.stars-input label .icon { width: 32px; height: 32px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--yellow-deep); }
.stars-input input:focus-visible + label { outline: 3px solid var(--ink); border-radius: 4px; }

.review { padding: 16px 0; border-bottom: 1px solid var(--ground-2); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 6px; }
.review__head strong { font-size: 1rem; }
.review__head time { color: var(--ink-3); font-size: .85rem; }
.review p { color: var(--ink-2); white-space: pre-line; }

.report { margin-top: 16px; font-size: .9rem; }
.report summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-3); font-weight: 600; }
.report summary::-webkit-details-marker { display: none; }
.report__form { margin-top: 12px; padding: 14px; border-radius: var(--radius); background: var(--ground); }


.own-list { display: grid; gap: 12px; }
.own-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
@media (min-width: 760px) { .own-item { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; } }
.own-item__thumb { width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; background: var(--ink); }
.own-item__thumb--empty { display: grid; place-items: center; color: var(--yellow); }
.own-item__title { font-size: 1.15rem; font-weight: 800; font-variation-settings: "wdth" 86; }
.own-item__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.own-item__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.own-item__actions form { display: inline; }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; overflow-x: auto; }
.tabs a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a .num { margin-left: 4px; opacity: .7; }

.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.inline-form .field { margin: 0; }

.demo-panel {
  max-width: 520px;
  margin: 40px auto;
  padding: 24px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 14px;
}
.demo-panel__brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--violet); font-size: 1.2rem; }


.detour { display: grid; place-items: center; padding: 64px var(--gutter); background: var(--yellow); min-height: 60vh; }
.detour__board { max-width: 640px; }
.detour__code {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--dot);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
}
.detour__title { font-size: clamp(2.4rem, 7vw, 4.4rem); font-variation-settings: "wdth" 68; margin-bottom: 14px; }
.detour__text { font-size: 1.15rem; margin-bottom: 24px; color: #3B2F00; }
.detour__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.legal { max-width: 760px; padding-block: 40px 72px; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal ol, .legal ul { padding-left: 1.2em; }


.footer { background: var(--ink); color: #C4C8D2; margin-top: auto; }
.footer__route { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.footer__route span:nth-child(1) { background: var(--yellow); }
.footer__route span:nth-child(2) { background: var(--red); }
.footer__route span:nth-child(3) { background: var(--c2); }
.footer__route span:nth-child(4) { background: var(--c3); }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px var(--gutter) 28px;
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand p { margin-top: 14px; max-width: 36ch; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 4px; font-variation-settings: "wdth" 100; }
.footer__col a { color: #C4C8D2; text-decoration: none; }
.footer__col a:hover { color: var(--yellow); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid #262A34; font-size: .88rem; color: #8A8F9C; }
.footer__legal p { margin: 0; }
.footer__legal a { color: #C9CDD6; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .footer__legal a:focus-visible { color: var(--yellow); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .footer, .routenav, .filters { display: none; }
}

.stack-section { margin-top: 56px; }
.panel__action { margin-top: 14px; }
.input--sm { min-height: 38px; padding: 6px 10px; width: auto; min-width: 180px; font-size: .9rem; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.admin-filters .field { margin: 0; }
.admin-filters .input { min-height: 42px; }
.admin-grid { display: grid; gap: 18px; }
@media (min-width: 1100px) { .admin-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-box .stamp { top: 16px; bottom: auto; }
.is-confirming { background: var(--red) !important; color: #fff !important; border-color: var(--red) !important; }
.btn--block { white-space: normal; text-align: center; }
.contact-box, .detail__aside, .detail > * { min-width: 0; }
.machine .btn--ghost { --btn-fg: #fff; --btn-edge: #5E6472; }
.machine .btn--ghost:hover { --btn-bg: #3A4050; }
.inbox__unread { justify-self: end; }
.contact-box--unlocked { padding-top: 72px; }
.contact-box--unlocked .stamp { top: 14px; right: 16px; }
.log-entry { margin: 0; white-space: pre-wrap; word-break: break-word; font: .82rem/1.45 ui-monospace, Consolas, monospace; color: var(--ink-2); }
.table td.num { white-space: nowrap; }
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px var(--gutter); background: var(--violet-soft); border-bottom: 1px solid #CBB9F6; color: #3A2380; font-weight: 600; }
.verify-banner p { display: flex; align-items: center; gap: 8px; }
.verify-banner .icon { color: var(--violet); }
.input--code { font-family: var(--dot); font-weight: 900; font-size: 2rem; letter-spacing: .35em; text-align: center; min-height: 64px; }
.checkout { display: grid; gap: 20px; }
@media (min-width: 1100px) { .checkout { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } .checkout__summary { position: sticky; top: 84px; } }
.checkout__pay { min-width: 0; }
.checkout__frame { min-height: 420px; padding: 8px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.checkout__loading { display: grid; place-items: center; gap: 14px; min-height: 400px; color: var(--ink-3); font-weight: 600; text-align: center; }
.checkout__spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--ground-2); border-top-color: var(--ink); animation: checkout-spin .8s linear infinite; }
@keyframes checkout-spin { to { transform: rotate(360deg); } }
.checkout__fallback { display: grid; gap: 14px; justify-items: start; padding: 24px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.checkout__fallback[hidden] { display: none; }
.contact-details { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--paper); }
.contact-details dd a { font-weight: 800; }
.contact-details--masked dd { font-family: var(--dot); font-weight: 900; letter-spacing: .08em; color: var(--ink-3); }
.contact-box--reveal { background: var(--ink); color: #fff; }
.contact-box--reveal p { color: #C4C8D2; }
.contact-box--reveal .btn--dark { --btn-bg: var(--yellow); --btn-fg: var(--ink); --btn-edge: var(--yellow); }
.contact-box--reveal .btn--dark .icon { color: var(--ink); }
.contact-box--reveal .contact-details { background: #22262F; }
.contact-box--reveal .contact-details dt { color: #AEB3BF; }
.contact-box--reveal .contact-details div { border-color: #2B2F3A; }
.machine__balance--text { font-size: clamp(1.4rem, 4vw, 2.2rem); word-break: break-all; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card--wide { max-width: 720px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--ground-2); color: var(--ink-2); }
.badge .icon { width: 1em; height: 1em; }
.badge--green { background: var(--green-soft); color: var(--green); }
.badge--yellow { background: var(--yellow-soft); color: #6B4E00; }
.badge--violet { background: var(--violet-soft); color: var(--violet); }
.profile-hero .badges { margin-top: 12px; }
.pill--featured { background: var(--yellow); color: var(--ink); }
.ocard--featured { box-shadow: 0 0 0 3px var(--yellow), var(--shadow-2); }
.fav-btn.is-on { --btn-bg: var(--yellow); --btn-edge: var(--yellow); }
.fav-btn.is-on .icon { color: var(--ink); }
.bubble__file { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.12); color: inherit; font-weight: 700; text-decoration: none; }
.bubble:not(.bubble--mine) .bubble__file { background: var(--ground); }
.bubble__file img { max-width: 220px; border-radius: 8px; }
.thread__attach { display: inline-grid; place-items: center; width: 46px; min-height: 46px; border-radius: var(--radius); border: 2px solid var(--rule); cursor: pointer; flex: none; }
.thread__attach input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thread__attach.has-file { border-color: var(--ink); background: var(--yellow-soft); }
.referral-link { display: flex; gap: 8px; }
.referral-link .input { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 0; padding: 14px; list-style: none; background: var(--ground); border-radius: var(--radius); font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.ocard__tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.crumbs { margin-bottom: 14px; font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--ground-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.faq details p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.stories { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.story { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.story__quote { font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 82; line-height: 1.25; }
.story__quote::before { content: "„"; color: var(--yellow-deep); }
.story__quote::after { content: "”"; color: var(--yellow-deep); }
.story__who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.story__who small { display: block; color: var(--ink-3); font-weight: 600; }
.story__amount { position: absolute; top: 18px; right: 18px; font-family: var(--dot); font-weight: 900; font-size: 1.3rem; color: var(--green); }
.guarantee { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--green-soft); color: #0E5A31; font-weight: 600; }
.guarantee .icon { flex: none; color: var(--green); margin-top: 2px; }
.promo-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.promo-form .field { margin: 0; flex: 1 1 200px; }
.stat-bars { display: flex; align-items: flex-end; gap: 4px; height: 180px; padding: 12px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); overflow-x: auto; }
.stat-bar { flex: 1 0 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.stat-bar__fill { display: block; width: 100%; height: var(--h); min-height: 2px; border-radius: 3px 3px 0 0; background: var(--ink); }
.stat-bar:hover .stat-bar__fill { background: var(--yellow); }
.stat-bar__label { font-size: 0.6875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__note { margin-top: 14px; font-weight: 600; }
.hero__note a { text-decoration: underline; text-underline-offset: 3px; }

.qr-box { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin: 0; }
.qr-box .qr { display: block; width: 220px; height: 220px; padding: 6px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.qr-box figcaption { flex: 1 1 220px; color: var(--ink-3); font-size: .9375rem; }
