:root {
  /* Brand from www.enjoyment.si */
  --brand: #18aff0;
  --brand-dark: #3398dc;
  --brand-hover: #0f9ad6;
  --brand-green: #72c02c;
  --snow: #f5f9f9;
  --ice: #e8f6fc;
  --deep: #333333;
  --pine: #18aff0;
  --pine-light: #3398dc;
  --accent: #18aff0;
  --accent-hover: #0f9ad6;
  --text: #555555;
  --muted: #777777;
  --line: #d7e8f0;
  --white: #ffffff;
  --danger: #c0392b;
  --ok: #72c02c;
  --font-display: "Open Sans", Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
}

a {
  color: var(--pine);
}

a:hover {
  color: var(--accent);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.75rem clamp(0.85rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(24, 175, 240, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  letter-spacing: 0.02em;
  color: var(--deep);
  text-decoration: none;
  min-width: 0;
}

.brand-logos {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.brand-logos img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 2.2vw, 0.72rem);
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep);
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.25rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

.lang-switch a {
  font-weight: 600;
  opacity: 0.55;
}

.lang-switch a.is-active {
  opacity: 1;
  color: var(--accent, #18aff0);
}

.hero {
  position: relative;
  min-height: min(72dvh, 640px);
  display: grid;
  align-items: end;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(0.85rem, 3vw, 1.5rem) clamp(1.75rem, 5vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(24, 175, 240, 0.92) 0%, rgba(51, 152, 220, 0.88) 55%, rgba(15, 120, 180, 0.9) 100%),
    linear-gradient(180deg, #e8f6fc, #ffffff);
  z-index: -1;
}

.hero-inner {
  max-width: min(720px, 100%);
  color: var(--white);
  animation: rise 0.9s ease both;
}

.hero-inner .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.hero-inner .brand-hero em {
  font-style: normal;
  color: #dff4ff;
}

.hero-inner p {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  max-width: min(42ch, 100%);
  color: color-mix(in srgb, white 92%, #cfe0ee);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 0.35rem;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}

.btn:focus-visible {
  outline: 3px solid #7ec8ff;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.hero .btn-primary {
  background: var(--white);
  color: var(--brand-dark);
}

.hero .btn-primary:hover {
  background: #f0f9ff;
  color: var(--deep);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1px solid var(--line);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.wrap {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(0.85rem, 3vw, 1rem) clamp(2.5rem, 6vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  color: var(--deep);
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: min(50ch, 100%);
}

.form-panel {
  background: color-mix(in srgb, var(--white) 92%, var(--ice));
  border: 1px solid var(--line);
  padding: clamp(0.9rem, 3vw, 1.5rem);
  animation: rise 0.7s ease 0.1s both;
  min-width: 0;
}

.form-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 720px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.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;
}

.phone-field {
  min-width: 0;
}

.phone-field-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.phone-field-row > .phone-dial {
  flex: 0 0 5.75rem;
  width: 5.75rem;
  max-width: 5.75rem;
  font-variant-numeric: tabular-nums;
}

.phone-field-row > .phone-national {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.address-suggest-field {
  position: relative;
  display: block;
  min-width: 0;
}

.address-suggestions {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--deep) 12%, transparent);
  max-height: 14rem;
  overflow: auto;
}

.address-suggestions button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--text);
  cursor: pointer;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: color-mix(in srgb, var(--ice) 70%, var(--white));
  outline: none;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--deep);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  font: inherit;
  background: var(--white);
  color: var(--text);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.fieldset {
  border: 1px solid var(--line);
  padding: 1rem;
  margin: 0 0 1.25rem;
  background: var(--white);
}

.fieldset legend {
  font-family: var(--font-display);
  padding: 0 0.4rem;
  color: var(--pine);
}

.participant {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--line);
}

.participant:first-of-type {
  border-top: none;
}

/* Checkbox / radio: vodoravno ob besedilu, ne na sredini širine */
.check-label,
label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}

.check-label > input[type="checkbox"],
.check-label > input[type="radio"],
label:has(> input[type="checkbox"]) > input[type="checkbox"],
label:has(> input[type="radio"]) > input[type="radio"] {
  width: auto;
  max-width: none;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--pine);
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.price-box {
  margin: 1.25rem 0;
  padding: 1rem clamp(0.85rem, 3vw, 1.15rem);
  background: linear-gradient(135deg, var(--deep), var(--pine));
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
}

.price-box strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.6rem);
}

.plan-list {
  display: grid;
  gap: 0.65rem;
}

.plan-list label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.errors {
  background: #fde8e8;
  border: 1px solid #e7b0b0;
  color: var(--danger);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.errors ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.flash {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.flash-success {
  background: #e7f6ee;
  border-color: #9dcfb3;
  color: var(--ok);
}

.flash-error {
  background: #fde8e8;
  border-color: #e7b0b0;
  color: var(--danger);
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  background: var(--white);
  margin: 1rem 0 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7fbfd;
  padding: 1.5rem clamp(0.85rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.site-footer a {
  color: var(--brand-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer strong {
  color: var(--deep);
  font-weight: 700;
}

/* Admin */
.admin-body {
  background: #eef3f7;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-nav {
  background: linear-gradient(180deg, #0f7fb8 0%, #0c5f8a 100%);
  color: white;
  padding: 1.25rem 1rem;
  min-width: 0;
}

.admin-nav a {
  color: #e8f6fc;
  text-decoration: none;
  display: block;
  padding: 0.45rem 0.5rem;
}

.admin-nav a:hover {
  color: white;
}

.admin-main {
  padding: clamp(0.85rem, 2.5vw, 1.25rem);
  min-width: 0;
  overflow-x: auto;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: white;
  border: 1px solid var(--line);
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f5f9fc;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: var(--ice);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.action-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .action-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.panel {
  background: white;
  border: 1px solid var(--line);
  padding: clamp(0.85rem, 2.5vw, 1rem);
  min-width: 0;
  overflow-wrap: anywhere;
}

.panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep);
}

.stack {
  display: grid;
  gap: 0.65rem;
}

.meta-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.meta-list div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meta-list dt {
  font-weight: 600;
  min-width: min(9rem, 100%);
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.login-box {
  width: min(420px, calc(100% - 1.5rem));
  margin: max(2rem, 8vh) auto;
  background: white;
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.login-box h1 {
  font-family: var(--font-display);
  margin-top: 0;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
}

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

@media (max-width: 800px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.85rem 1rem;
  }

  .admin-nav .brand {
    margin-bottom: 0 !important;
    margin-right: auto;
  }

  .admin-nav > p {
    width: 100%;
    margin: 0 !important;
    order: 3;
  }

  .admin-nav a {
    display: inline-block;
    padding: 0.35rem 0.45rem;
  }

  .admin-nav form {
    margin-top: 0 !important;
    margin-left: auto;
  }

  .hero {
    min-height: min(58dvh, 480px);
  }

  .plan-list label {
    padding: 0.55rem 0.65rem;
  }

  .check-row {
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

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

  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 0.5rem 0.55rem;
  }
}

@media (max-height: 640px) {
  .hero {
    min-height: min(52dvh, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.list-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.list-tab {
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 600;
}

.list-tab:hover {
  color: var(--deep);
}

.list-tab.is-active {
  color: var(--deep);
  border-bottom-color: var(--pine);
}

.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.list-search {
  flex: 1 1 16rem;
  min-width: 12rem;
}

.list-filter {
  flex: 0 1 16rem;
  min-width: 12rem;
}

.pipeline-panel h3 {
  margin-bottom: 0.35rem;
}

.status-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem 0.25rem;
  margin-bottom: 1.25rem;
}

.pipeline-step {
  flex: 1 1 6.5rem;
  min-width: 6.2rem;
  max-width: 9.5rem;
  padding: 0.75rem 0.65rem 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  text-align: center;
  position: relative;
}

.pipeline-step.is-active {
  border-color: var(--pine);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pine) 35%, transparent);
}

.pipeline-step.is-done.is-active {
  border-color: var(--ok);
  background: color-mix(in srgb, var(--ok) 8%, #fff);
}

.pipeline-step.is-empty {
  opacity: 0.55;
}

.pipeline-count {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--deep);
}

.pipeline-label {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--deep);
  font-size: 0.92rem;
}

.pipeline-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.pipeline-bar {
  margin-top: 0.55rem;
  height: 4px;
  background: var(--ice);
  border-radius: 2px;
  overflow: hidden;
}

.pipeline-bar span {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: var(--pine);
  border-radius: 2px;
}

.pipeline-step.is-done .pipeline-bar span {
  background: var(--ok);
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.1rem;
  padding: 0 0.1rem;
  flex: 0 0 auto;
}

.pipeline-side-title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}

.status-side {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pipeline-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.pipeline-chip strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--deep);
}

.pipeline-chip.is-active {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  color: var(--deep);
}

@media (max-width: 720px) {
  .pipeline-arrow {
    display: none;
  }

  .pipeline-step {
    max-width: none;
    flex: 1 1 calc(50% - 0.35rem);
  }
}

.request-stack {
  display: grid;
  gap: 0.65rem;
}

.request-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
}

.request-card--compact {
  padding: 0.75rem 1rem;
}

.request-card.is-stale-warn {
  border-color: #e0b400;
  background: color-mix(in srgb, #ffe566 28%, #fff);
  box-shadow: inset 4px 0 0 #e0b400;
}

.request-card.is-stale-danger {
  border-color: #c0392b;
  background: color-mix(in srgb, #ff6b5a 18%, #fff);
  box-shadow: inset 4px 0 0 #c0392b;
}

.request-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.request-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  min-width: 0;
}

.request-ref {
  font-family: var(--font-display);
  color: var(--deep);
}

.request-name {
  color: var(--deep);
}

.request-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  color: var(--deep);
  font-size: 0.95rem;
}

.request-row-meta small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}

.request-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.request-card-title {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.request-card-body {
  display: grid;
  gap: 0.85rem;
}

.request-card-body h4 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.request-card-body ul {
  margin: 0;
  padding-left: 1.1rem;
}

.request-card-body p {
  margin: 0;
}

.request-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.flag {
  font-size: 0.92rem;
}

.flag-on {
  color: var(--deep);
  font-weight: 600;
}

.flag-off {
  color: var(--muted);
}

.course-pictogram {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--ice) center / 70% no-repeat;
}

.course-pictogram--ski {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%231a4d3e' d='M10 48l36-28 4 5-36 28z'/%3E%3Cpath fill='%231a4d3e' d='M14 52l36-28 4 5-36 28z'/%3E%3Ccircle cx='44' cy='18' r='5' fill='%231a4d3e'/%3E%3C/svg%3E");
}

.course-pictogram--snowboard {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='12' y='28' width='40' height='10' rx='5' transform='rotate(-28 32 33)' fill='%231a4d3e'/%3E%3Ccircle cx='40' cy='18' r='5' fill='%231a4d3e'/%3E%3C/svg%3E");
}

.section-title .course-pictogram {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.phase-banner {
  display: grid;
  gap: 0.85rem;
  margin: 0.85rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #e8f3ee, #eef4f8);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine, #1a4d3e);
}

.phase-banner--compact {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
}

.phase-banner-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.phase-banner-hero .phase-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--deep);
  font-weight: 700;
  line-height: 1.15;
}

.phase-remain-block {
  text-align: right;
}

.phase-banner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.phase-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.phase-stat {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep);
}

.phase-stat--remain {
  color: #9a3412;
}

.phase-stat--lg {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
}
