/* ==========================================================================
   ICECOLD Trans — klientský portál (zakaznik.icecoldtrans.cz)
   Vlastní vzhled subdomény. Bez závislosti na style.css hlavního webu.
   ========================================================================== */

:root {
  --ink: #0a1a2b;
  --ink-2: #31445a;
  --muted: #6c7c90;
  --muted-2: #94a3b5;
  --bg: #f2f5fa;
  --card: #ffffff;
  --line: #e2e9f2;
  --line-soft: #edf2f8;
  --navy: #071a2f;
  --navy-2: #0b2a49;
  --brand: #1b6fd8;
  --brand-dark: #0b3b8c;
  --brand-soft: #eaf1fd;
  --ice: #8fd3ff;
  --green: #1c713b;
  --green-soft: #e7f4ec;
  --amber: #946100;
  --amber-soft: #fdf3dd;
  --red: #b42318;
  --red-soft: #fdecea;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --shadow: 0 1px 2px rgba(10, 26, 43, 0.04), 0 20px 44px -34px rgba(10, 26, 43, 0.4);
  --shadow-lg: 0 40px 90px -40px rgba(3, 16, 30, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "Menlo", monospace;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

/* ==========================================================================
   Start / splash
   ========================================================================== */

.splash {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  background: radial-gradient(120% 90% at 50% 0%, #0d3255 0%, var(--navy) 62%);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.splash img {
  width: min(240px, 62vw);
  padding: 14px 20px;
  border-radius: 14px;
  background: #fff;
}

.splash__bar {
  position: relative;
  display: block;
  width: 140px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.splash__bar i {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: var(--ice);
  animation: splash-slide 1.1s var(--ease) infinite;
}

@keyframes splash-slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-content: center;
  padding: 24px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

/* ==========================================================================
   Přihlášení
   ========================================================================== */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  min-height: 100vh;
  background: var(--card);
}

.auth__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(28px, 3.4vw, 52px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 70% at 92% 4%, rgba(64, 140, 255, 0.32) 0%, transparent 58%),
    radial-gradient(70% 60% at 8% 100%, rgba(143, 211, 255, 0.14) 0%, transparent 62%),
    linear-gradient(155deg, #0b2f52 0%, #071a2f 58%, #051424 100%);
}

.auth__brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 80% at 60% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.auth__glow {
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(143, 211, 255, 0.22), transparent 62%);
  pointer-events: none;
}

.auth__brand-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.auth__logo {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
}

.auth__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.auth__tag {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.auth__brand-body {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: auto;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.auth__brand h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}

.auth__brand h1 em {
  font-style: normal;
  color: var(--ice);
}

.auth__lede {
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.auth__features {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.auth__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.auth__feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(143, 211, 255, 0.24);
  border-radius: 10px;
  background: rgba(143, 211, 255, 0.1);
  color: var(--ice);
}

.auth__feature-icon svg {
  width: 18px;
  height: 18px;
}

.auth__features b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

.auth__features small {
  display: block;
  margin-top: 1px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.56);
}

.auth__brand-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.auth__brand-foot b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
}

.auth__brand-foot span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.auth__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 44px);
  background:
    radial-gradient(80% 60% at 100% 0%, #f6f9ff 0%, transparent 60%),
    var(--card);
}

.auth__card {
  width: min(430px, 100%);
  animation: rise 0.5s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth__head {
  margin-bottom: 22px;
}

.auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border: 1px solid #d7e6fb;
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
}

.auth__badge svg {
  width: 14px;
  height: 14px;
}

.auth__head h2 {
  margin: 0 0 6px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.auth__head p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-2);
}

.stepper li b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
}

.stepper li.is-active {
  color: var(--ink);
}

.stepper li.is-active b {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.stepper li.is-done b {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.stepper li + li::before {
  content: "";
  width: 22px;
  height: 1px;
  margin-right: 4px;
  background: var(--line);
}

.auth__alert {
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid #f3c9c4;
  border-radius: var(--radius-xs);
  background: var(--red-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8f1d14;
}

.auth__alert.is-info {
  border-color: #cfe0f8;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.auth__form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > span:first-child,
.field > label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field textarea {
  min-height: 78px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 111, 216, 0.14);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: var(--line-soft);
  color: var(--muted);
}

.pw {
  position: relative;
  display: block;
}

.pw input {
  padding-right: 44px;
}

.pw__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.pw__toggle:hover {
  background: var(--line-soft);
  color: var(--ink);
}

.pw__toggle svg {
  width: 18px;
  height: 18px;
}

.auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.secure-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.link {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

.link:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  text-decoration: none;
}

.code-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #f8fafd;
  font-size: 0.85rem;
  color: var(--muted);
}

.code-mail b {
  color: var(--ink);
  font-weight: 600;
}

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.code-digit {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.code-digit:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 111, 216, 0.14);
}

.code-digit.is-error {
  border-color: #e6a9a2;
  background: #fff8f7;
  animation: shake 0.28s var(--ease);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.code-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}

.code-meta .is-expired {
  color: var(--red);
  font-weight: 600;
}

.code-hint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.auth__support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}

.auth__support div {
  display: grid;
  gap: 1px;
}

.auth__support span {
  color: var(--muted);
}

.auth__support a {
  font-weight: 600;
  color: var(--ink-2);
}

.auth__support a:hover {
  color: var(--brand);
}

.auth__legal {
  margin: 14px 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted-2);
}

.auth__powered {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.auth__powered img {
  display: block;
  width: auto;
  height: 18px;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Tlačítka, štítky, formuláře
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--brand);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn:hover {
  background: #155fbe;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: linear-gradient(180deg, #2479e6 0%, var(--brand) 100%);
  box-shadow: 0 10px 22px -14px rgba(27, 111, 216, 0.9);
}

.btn--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink-2);
}

.btn--ghost:hover {
  border-color: #cdd9e6;
  background: #f8fafd;
  color: var(--ink);
}

.btn--soft {
  border-color: #d7e6fb;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn--soft:hover {
  background: #dfeafd;
}

.btn--danger {
  border-color: #f0cbc6;
  background: #fff;
  color: var(--red);
}

.btn--danger:hover {
  background: var(--red-soft);
}

.btn--sm {
  padding: 8px 13px;
  font-size: 0.8rem;
}

.btn--tiny {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
}

.btn--icon {
  width: 34px;
  height: 34px;
  padding: 0;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--line-soft);
  color: var(--ink);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--line-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--green { background: var(--green-soft); color: var(--green); }
.pill--blue { background: var(--brand-soft); color: var(--brand-dark); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.pill--red { background: var(--red-soft); color: var(--red); }
.pill--gray { background: #eef2f7; color: var(--muted); }

.pill--plain::before {
  display: none;
}

/* ==========================================================================
   Aplikace — rozložení
   ========================================================================== */

.app {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.side {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 22px 16px 18px;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(90% 50% at 0% 0%, rgba(36, 121, 230, 0.24) 0%, transparent 60%),
    linear-gradient(180deg, #0b2a49 0%, #071a2f 62%, #05131f 100%);
  scrollbar-width: thin;
}

.side__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px 20px;
}

.side__logo {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
}

.side__logo img {
  display: block;
  width: 132px;
  height: auto;
}

.side__close {
  display: none;
  color: rgba(255, 255, 255, 0.7);
}

.side__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.side__nav {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.side__nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.89rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.side__nav a svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.72;
}

.side__nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}

.side__nav a.is-active {
  background: rgba(143, 211, 255, 0.14);
  box-shadow: inset 2px 0 0 var(--ice);
  color: #fff;
  font-weight: 600;
}

.side__nav a.is-active svg {
  opacity: 1;
  color: var(--ice);
}

.nav-badge {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
}

.nav-badge--dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: var(--ice);
  box-shadow: 0 0 0 3px rgba(143, 211, 255, 0.2);
}

.side__support {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.side__support span {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.side__support a {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}

.side__support small {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.46);
}

.side__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--ice), #4f9fe8);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
}

.side__user-text {
  min-width: 0;
  flex: 1;
}

.side__user-text b {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side__user-text span {
  display: block;
  overflow: hidden;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side__user .icon-btn {
  color: rgba(255, 255, 255, 0.55);
}

.side__user .icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px clamp(16px, 2.4vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.topbar__menu {
  display: none;
}

.topbar__title {
  min-width: 0;
}

.topbar__title p {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.topbar__title h1 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 32px) clamp(16px, 2.4vw, 34px) 40px;
}

.app__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px clamp(16px, 2.4vw, 34px) 22px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--muted-2);
}

.app__foot-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app__foot-secure svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.app__powered {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.app__powered img {
  display: block;
  width: auto;
  height: 20px;
  mix-blend-mode: multiply;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 16, 30, 0.5);
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   Obsah — hlavička, KPI, karty
   ========================================================================== */

.view-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.view-intro h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.view-intro p {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted);
}

.view-intro__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -32px rgba(10, 26, 43, 0.55);
}

.kpi__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

.kpi__icon svg {
  width: 19px;
  height: 19px;
}

.kpi--green .kpi__icon { background: var(--green-soft); color: var(--green); }
.kpi--ice .kpi__icon { background: #e4f4f9; color: #0e6c80; }
.kpi--amber .kpi__icon { background: var(--amber-soft); color: var(--amber); }

.kpi__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi__value {
  display: block;
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.kpi__value i {
  margin-left: 3px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.kpi__hint {
  display: block;
  margin-top: 2px;
  font-size: 0.73rem;
  color: var(--muted-2);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.card__head h3 {
  font-size: 0.98rem;
  line-height: 1.3;
}

.card__head p {
  margin-top: 2px;
  font-size: 0.79rem;
  color: var(--muted);
}

.card__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__body {
  padding: 16px 18px;
}

.card__body--flush {
  padding: 0;
}

.card__foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
  font-size: 0.79rem;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Tabulky
   ========================================================================== */

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.tbl th {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbfcfe;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}

.tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  vertical-align: middle;
}

.tbl tbody tr:last-child td {
  border-bottom: 0;
}

.tbl tbody tr.is-clickable {
  cursor: pointer;
}

.tbl tbody tr.is-clickable:hover td {
  background: #f7fafe;
}

.tbl .mono {
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.tbl .route {
  display: block;
  min-width: 180px;
  color: var(--ink);
}

.tbl .route span {
  padding: 0 4px;
  color: var(--muted-2);
}

.cell-sub {
  display: block;
  margin-top: 1px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.cell-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.temp-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f2f6fb;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

.row-end {
  text-align: right;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 34px 20px;
  text-align: center;
}

.empty svg {
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  color: var(--muted-2);
}

.empty b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.empty p {
  max-width: 44ch;
  font-size: 0.83rem;
  color: var(--muted);
}

.empty .btn {
  margin-top: 6px;
}

/* ==========================================================================
   Přehled
   ========================================================================== */

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px 16px;
}

.quick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.quick:hover {
  border-color: #cddff5;
  background: #f8fbff;
  text-decoration: none;
}

.quick svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--brand);
}

.pickup-list {
  display: grid;
  margin: 0;
  padding: 4px 8px 10px;
  list-style: none;
}

.pickup-list li {
  display: flex;
  gap: 12px;
  padding: 11px 8px;
}

.pickup-list li + li {
  border-top: 1px solid var(--line-soft);
}

.pickup-list time {
  flex: none;
  width: 82px;
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.pickup-list time span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.pickup-list b {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.pickup-list div span {
  display: block;
  margin-top: 1px;
  font-size: 0.74rem;
  color: var(--muted);
}

.pickup-list .is-empty {
  display: block;
  padding: 18px 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.chat-teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
}

.chat-teaser__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

.chat-teaser__icon svg {
  width: 18px;
  height: 18px;
}

.chat-teaser__body {
  flex: 1;
  min-width: 0;
}

.chat-teaser__body b {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.chat-teaser__body span {
  display: block;
  font-size: 0.77rem;
  color: var(--muted);
}

/* ==========================================================================
   Zásilky — filtry
   ========================================================================== */

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.search {
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}

.search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.87rem;
  color: var(--ink);
}

.search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 111, 216, 0.13);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.chip:hover {
  border-color: #cdd9e6;
  color: var(--ink);
}

.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.toolbar__count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ==========================================================================
   Detail zásilky (drawer)
   ========================================================================== */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 30, 0.46);
  backdrop-filter: blur(2px);
  animation: fade 0.2s var(--ease);
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  overflow-y: auto;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  animation: slide-in 0.25s var(--ease);
}

@keyframes slide-in {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.drawer__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.drawer__head p {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer__head h2 {
  margin-top: 2px;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.drawer__body {
  display: grid;
  gap: 20px;
  padding: 20px 22px 28px;
}

.drawer__route {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(150deg, #f8fbff 0%, #fff 100%);
}

.drawer__route span {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer__route b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.drawer__route em {
  font-style: normal;
  padding: 0 5px;
  color: var(--muted-2);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fact {
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbfcfe;
}

.fact span {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact b {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.note-box {
  padding: 12px 14px;
  border: 1px solid #f0e2c2;
  border-radius: 10px;
  background: #fffaef;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #6d530f;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 18px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__item.is-done::before {
  background: #b7d6f8;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted-2);
}

.timeline__dot svg {
  width: 13px;
  height: 13px;
}

.timeline__item.is-done .timeline__dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.timeline__item.is-current .timeline__dot {
  border-color: var(--brand);
  background: #fff;
  color: var(--brand);
  box-shadow: 0 0 0 4px rgba(27, 111, 216, 0.14);
}

.timeline__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}

.timeline__item span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.timeline__item time {
  display: block;
  margin-top: 1px;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.drawer__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* ==========================================================================
   Plán svozů
   ========================================================================== */

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: start;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  padding: 14px 16px 16px;
}

.cal-day {
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: all 0.14s var(--ease);
}

.cal-day:hover {
  border-color: #c9d9ea;
  background: #f8fbff;
}

.cal-day b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.cal-day span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.cal-day em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand);
}

.cal-day.is-empty em {
  color: var(--muted-2);
  font-weight: 500;
}

.cal-day.has-pickups {
  border-color: #c7ddf7;
  background: #f2f8ff;
}

.cal-day.is-selected {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.cal-day.is-today b {
  color: var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.form-grid .field--full,
.form-grid .form-actions {
  grid-column: 1 / -1;
}

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

.form-actions small {
  font-size: 0.76rem;
  color: var(--muted);
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #f0cbc6;
  border-radius: 9px;
  background: var(--red-soft);
  font-size: 0.82rem;
  color: #8f1d14;
}

.form-error[hidden] {
  display: none !important;
}

.pick-shipments {
  display: grid;
  gap: 6px;
  max-height: 230px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfe;
}

.pick-shipment {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  cursor: pointer;
}

.pick-shipment:hover {
  background: #f2f7fd;
}

.pick-shipment:has(input:checked) {
  background: var(--brand-soft);
}

.pick-shipment input {
  margin: 3px 0 0;
  accent-color: var(--brand);
}

.pick-shipment__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.pick-shipment__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pick-shipment__route {
  font-size: 0.79rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.pick-shipment__meta {
  font-size: 0.72rem;
  color: var(--muted);
}

.pick-empty {
  padding: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   Adresář
   ========================================================================== */

.contact-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-name .avatar {
  width: 30px;
  height: 30px;
  font-size: 0.68rem;
}

.contact-name b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Chat
   ========================================================================== */

.chat-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.chat-head .avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(150deg, #0b3b8c, #1b6fd8);
  color: #fff;
}

.chat-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-head span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--muted);
}

.chat-head .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.chat-stream {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  min-height: 300px;
  max-height: 56vh;
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(60% 40% at 100% 0%, #f7fbff 0%, transparent 70%),
    #fbfcfe;
  scrollbar-width: thin;
}

.chat-msg {
  max-width: min(78%, 560px);
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 13px 13px 13px 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 26, 43, 0.03);
}

.chat-msg.is-me {
  align-self: flex-end;
  border-color: transparent;
  border-radius: 13px 13px 3px 13px;
  background: linear-gradient(160deg, #2479e6, var(--brand));
  color: #fff;
}

.chat-msg__meta {
  margin-bottom: 2px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

.chat-msg.is-me .chat-msg__meta {
  color: rgba(255, 255, 255, 0.7);
}

.chat-msg__text {
  font-size: 0.87rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.chat-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  max-height: 140px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
  resize: vertical;
}

.chat-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 111, 216, 0.13);
}

.chat-form .btn {
  height: 44px;
}

.chat-empty {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: auto;
  padding: 26px;
  text-align: center;
}

.chat-empty b {
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.chat-empty p {
  max-width: 40ch;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   Účet
   ========================================================================== */

.account-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 100% at 100% 0%, #eef6ff 0%, transparent 65%),
    #fff;
  box-shadow: var(--shadow);
}

.account-hero .avatar {
  width: 56px;
  height: 56px;
  font-size: 1.05rem;
}

.account-hero__text {
  min-width: 0;
}

.account-hero__text h2 {
  font-size: 1.25rem;
}

.account-hero__text p {
  font-size: 0.86rem;
  color: var(--muted);
}

.account-hero__badge {
  margin-left: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info {
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbfcfe;
}

.info span {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info b {
  display: block;
  margin-top: 2px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.team {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.team li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.team__text {
  min-width: 0;
  flex: 1;
}

.team__text b {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
}

.team__text span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.team__meta {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.security-note {
  display: flex;
  gap: 11px;
  padding: 14px;
  border: 1px solid #d9e7f9;
  border-radius: 12px;
  background: #f5faff;
}

.security-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  color: var(--brand);
}

.security-note b {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.security-note p {
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   Modály
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 30, 0.5);
  backdrop-filter: blur(3px);
  animation: fade 0.18s var(--ease);
}

.modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  animation: rise 0.22s var(--ease);
  overflow: hidden;
}

.modal__panel--sm {
  width: min(460px, 100%);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 15px;
  border-bottom: 1px solid var(--line-soft);
}

.modal__head h2 {
  font-size: 1.15rem;
}

.modal__head p {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--muted);
}

.modal__panel > form {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.modal__body {
  min-height: 0;
  padding: 18px 22px;
  overflow-y: auto;
}

.modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
}

.modal__foot-left {
  margin-right: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.shipment-rows {
  display: grid;
  gap: 10px;
}

.shipment-row {
  position: relative;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfe;
}

.shipment-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.shipment-row__head b {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shipment-row__remove {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
}

.shipment-row__remove:hover {
  border-color: #f0cbc6;
  background: var(--red-soft);
  color: var(--red);
}

.shipment-row__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shipment-row__grid .field--wide {
  grid-column: span 2;
}

.add-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 500;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 18px;
  transform: translate(-50%, 16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: #0b2439;
  box-shadow: 0 20px 40px -20px rgba(3, 16, 30, 0.7);
  font-size: 0.85rem;
  line-height: 1.45;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.toast.is-error {
  background: #7c1d15;
}

/* ==========================================================================
   Skelet a chybové stavy
   ========================================================================== */

.skeleton {
  border-radius: 10px;
  background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 37%, #eef2f7 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.loading-view {
  display: grid;
  gap: 14px;
}

.loading-view .skeleton--head { height: 34px; width: 260px; }
.loading-view .skeleton--kpi { height: 96px; }
.loading-view .skeleton--card { height: 280px; }

.error-view {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 60px 20px;
  text-align: center;
}

.error-view b {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.error-view p {
  max-width: 46ch;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ==========================================================================
   Responzivita
   ========================================================================== */

@media (max-width: 1240px) {
  .layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .side {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 282px;
    transform: translateX(-102%);
    transition: transform 0.25s var(--ease);
    box-shadow: 24px 0 60px -30px rgba(3, 16, 30, 0.8);
  }

  body.is-menu-open .side {
    transform: translateX(0);
  }

  .side__close {
    display: grid;
  }

  .topbar__menu {
    display: grid;
  }

  .plan-grid,
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth__brand {
    gap: 22px;
    padding: 26px 22px 30px;
  }

  .auth__brand-body {
    margin-top: 0;
  }

  .auth__brand h1 {
    font-size: 1.9rem;
  }

  .auth__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 18px;
  }

  .auth__feature-icon {
    display: none;
  }

  .auth__brand-foot {
    display: none;
  }

  .auth__panel {
    padding: 28px 22px 44px;
  }
}

@media (max-width: 760px) {
  .topbar__support {
    display: none;
  }

  .topbar__actions .btn--primary {
    padding: 8px 11px;
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .kpi {
    flex-direction: column;
    gap: 8px;
    padding: 13px;
  }

  .kpi__value {
    font-size: 1.5rem;
  }

  .kpi__hint {
    display: none;
  }

  .form-grid,
  .shipment-row__grid,
  .facts,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .shipment-row__grid .field--wide {
    grid-column: span 1;
  }

  .quick-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 12px;
  }

  .cal-day em {
    display: none;
  }

  .cal-day.has-pickups em {
    display: block;
  }

  .drawer__panel {
    width: 100%;
  }

  .modal__panel {
    max-height: 92vh;
  }

  .modal__head,
  .modal__body,
  .modal__foot {
    padding-inline: 16px;
  }

  .view-intro h2 {
    font-size: 1.3rem;
  }

  .toolbar__count {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .content {
    padding: 16px 14px 32px;
  }

  .topbar {
    padding: 10px 14px;
  }

  .topbar__title p {
    display: none;
  }

  .topbar__title h1 {
    font-size: 1.05rem;
  }

  .topbar__actions .btn--primary svg {
    display: none;
  }

  .auth__features {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth__head h2 {
    font-size: 1.4rem;
  }

  .code-inputs {
    gap: 5px;
  }

  .code-digit {
    height: 50px;
    font-size: 1.2rem;
    border-radius: 9px;
  }

  .auth__support {
    flex-direction: column;
    align-items: flex-start;
  }

  .stepper li span {
    font-size: 0.72rem;
  }

  .app__foot {
    justify-content: center;
    text-align: center;
  }

  .calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cal-day em {
    display: block;
    font-size: 0.58rem;
  }

  .kpi__value {
    font-size: 1.35rem;
  }

  .kpi__label {
    font-size: 0.62rem;
  }
}

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

/* ==========================================================================
   Onboarding nové firmy + změna dočasného hesla
   ========================================================================== */

.onboarding {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: auto;
  background:
    radial-gradient(80% 60% at 15% 0%, #dcecff 0%, transparent 62%),
    radial-gradient(70% 60% at 100% 100%, #e4f1ff 0%, transparent 58%),
    #eef4fb;
}

.onboarding__panel {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  width: min(1080px, 100%);
  min-height: 600px;
  border: 1px solid #dbe6f2;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 90px -40px rgba(3, 16, 30, 0.55);
  overflow: hidden;
}

.onboarding__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 26px;
  background:
    radial-gradient(100% 55% at 10% 0%, rgba(143, 211, 255, 0.18) 0%, transparent 62%),
    linear-gradient(165deg, #071a2f 0%, #0b2a49 72%, #0d3255 100%);
  color: #dce8f4;
}

.onboarding__logo {
  display: inline-grid;
  place-items: center;
  width: max-content;
  padding: 8px 12px;
  border-radius: 11px;
  background: #fff;
}

.onboarding__logo img {
  display: block;
  width: 130px;
  height: auto;
}

.onboarding__aside-text h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  color: #fff;
}

.onboarding__aside-text p:not(.onboarding__kicker) {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #9db3c8;
}

.onboarding__kicker {
  margin: 0 0 7px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.onboarding__steps {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.onboarding__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  color: #8fa6bd;
}

.onboarding__steps li > b {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
}

.onboarding__steps li span {
  display: grid;
  gap: 1px;
  padding-top: 2px;
}

.onboarding__steps strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
}

.onboarding__steps small {
  font-size: 0.67rem;
  color: #7891a9;
}

.onboarding__steps li.is-current {
  background: rgba(143, 211, 255, 0.12);
  color: #fff;
}

.onboarding__steps li.is-current > b {
  border-color: var(--ice);
  background: var(--ice);
  color: var(--navy);
}

.onboarding__steps li.is-done {
  color: #b9dcc7;
}

.onboarding__steps li.is-done > b {
  border-color: #1c713b;
  background: #1c713b;
  color: #fff;
}

.onboarding__aside-foot {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  color: #8fa6bd;
}

.onboarding__aside-foot a {
  color: #fff;
  font-weight: 600;
}

.onboarding__aside-foot small {
  font-size: 0.7rem;
  color: #7891a9;
}

.onboarding__logout {
  justify-self: start;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.74rem;
  color: var(--ice);
  cursor: pointer;
}

.onboarding__logout:hover {
  text-decoration: underline;
}

.onboarding__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 38px;
}

.onboarding__count {
  display: block;
  margin-bottom: 7px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}

.onboarding__head h1 {
  font-size: 1.55rem;
  line-height: 1.2;
}

.onboarding__head > p {
  max-width: 56ch;
  margin-top: 7px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.onboarding__progress {
  display: block;
  height: 4px;
  margin-top: 17px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}

.onboarding__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, #5aa8ff 100%);
  transition: width 0.35s var(--ease);
}

.onboarding__body {
  flex: 1;
  padding: 22px 0 18px;
}

.onboarding__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
}

.onboarding__welcome > p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.onboarding__welcome > p b {
  color: var(--ink);
}

.onboarding__seal {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 15px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
}

.onboarding__seal svg {
  width: 26px;
  height: 26px;
}

.onboarding__checklist {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.onboarding__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fbfcfe;
}

.onboarding__checklist li > b {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--brand-dark);
}

.onboarding__checklist strong {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
}

.onboarding__checklist span {
  display: block;
  margin-top: 1px;
  font-size: 0.77rem;
  line-height: 1.5;
  color: var(--muted);
}

.onboarding__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  font-size: 0.77rem;
  color: var(--muted);
}

.onboarding__note svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--green);
}

.form-hint {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}

.pw-strength {
  display: grid;
  gap: 6px;
}

.pw-strength__bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.pw-strength__bars i {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.2s var(--ease);
}

.pw-strength[data-score="1"] .pw-strength__bars i:nth-child(-n + 1) {
  background: var(--red);
}

.pw-strength[data-score="2"] .pw-strength__bars i:nth-child(-n + 2) {
  background: #d99a00;
}

.pw-strength[data-score="3"] .pw-strength__bars i:nth-child(-n + 3),
.pw-strength[data-score="4"] .pw-strength__bars i {
  background: var(--green);
}

.pw-strength__label {
  font-size: 0.73rem;
  color: var(--muted);
}

.onboarding__done {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 8px;
  text-align: center;
}

.onboarding__done--compact {
  padding-top: 24px;
}

.onboarding__done-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.onboarding__done-icon svg {
  width: 32px;
  height: 32px;
}

.onboarding__done h3 {
  font-size: 1.2rem;
}

.onboarding__done > p {
  margin-top: 7px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

.onboarding__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  text-align: left;
}

.onboarding__summary > div {
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbfcfe;
}

.onboarding__summary span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.onboarding__summary b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  color: var(--ink-2);
}

@media (max-width: 920px) {
  .onboarding {
    align-items: start;
    padding: 12px;
  }

  .onboarding__panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .onboarding__aside {
    gap: 14px;
    padding: 20px;
  }

  .onboarding__aside-text h2 {
    font-size: 1.1rem;
  }

  .onboarding__steps {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .onboarding__steps li {
    padding: 7px 8px;
  }

  .onboarding__steps small {
    display: none;
  }

  .onboarding__aside-foot {
    display: none;
  }

  .onboarding__main {
    padding: 24px 20px;
  }

  .onboarding__body {
    padding: 18px 0;
  }
}

@media (max-height: 780px) {
  .onboarding {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .onboarding {
    padding: 0;
  }

  .onboarding__panel {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .onboarding__steps {
    display: none;
  }

  .onboarding__head h1 {
    font-size: 1.25rem;
  }

  .onboarding__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .onboarding__foot .btn {
    flex: 1;
  }
}

/* ==========================================================================
   Ceník
   ========================================================================== */

.price-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: var(--radius);
  background:
    radial-gradient(85% 100% at 100% 0%, rgba(64, 140, 255, 0.35) 0%, transparent 62%),
    linear-gradient(135deg, #0b2f52 0%, #071a2f 70%, #051424 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.price-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 100% at 70% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.price-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.price-hero__eyebrow {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.price-hero h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  line-height: 1.1;
  color: #fff;
}

.price-hero__sub {
  margin-top: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

.price-hero__badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #1c7a45;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  white-space: nowrap;
}

.price-panel {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.price-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.price-panel__head h3 {
  font-size: 0.98rem;
  line-height: 1.3;
}

.price-panel__head p {
  margin-top: 2px;
  font-size: 0.79rem;
  color: var(--muted);
}

.price-table {
  min-width: 680px;
}

.price-table thead th {
  padding: 12px 16px;
  border-bottom: 1px solid #d7e4f5;
  background: #e9f1fc;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brand-dark);
  vertical-align: bottom;
}

.price-table thead th:first-child {
  width: 34%;
  text-align: left;
}

.price-table thead th span {
  display: block;
}

.price-table thead th small {
  display: block;
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #4d6b8e;
  white-space: nowrap;
}

.price-table thead th + th {
  border-left: 1px solid #d7e4f5;
}

.price-table tbody th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
}

.price-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) th,
.price-table tbody tr:nth-child(even) td {
  background: #f7faff;
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
  background: #edf5ff;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-panel__foot {
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
  font-size: 0.76rem;
  color: var(--muted);
}

.price-express {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid #f0d0cc;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #fff8f7 100%);
  box-shadow: var(--shadow);
}

.price-express__kicker {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.price-express h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.price-express h3 em {
  font-style: normal;
  color: var(--red);
}

.price-express__surcharge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--red);
  font-size: 0.78rem;
  line-height: 1.35;
  color: #fff;
}

.price-express__surcharge b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.price-checks svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--brand);
}

.price-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.25fr);
  align-items: stretch;
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.price-benefit {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.price-benefit svg {
  flex: none;
  width: 21px;
  height: 21px;
  color: var(--ice);
}

.price-benefits__claim {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
}

.price-benefits__claim b {
  font-weight: 600;
  font-style: normal;
}

@media (max-width: 1100px) {
  .price-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.13);
  }

  .price-benefit {
    border: 0;
    background: var(--navy);
  }

  .price-benefits__claim {
    grid-column: 1 / -1;
    background: var(--navy-2);
  }
}

@media (max-width: 760px) {
  .price-hero__top {
    flex-direction: column;
  }

  .price-hero__badge {
    align-self: flex-start;
  }

  .price-express {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .price-table {
    min-width: 620px;
  }

  .price-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-benefits__claim {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .price-hero {
    padding: 20px;
  }

  .price-hero h2 {
    font-size: 1.45rem;
  }

  .price-hero__badge {
    white-space: normal;
  }

  .price-express {
    padding: 18px;
  }

  .price-express__surcharge {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
}
