:root {
  --bg: #08090b;
  --panel: #111318;
  --panel-strong: #121a17;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f2ea;
  --muted: #a6adbb;
  --yellow: #d7c92c;
  --yellow-soft: #f0de48;
  --green: #22d477;
  --green-soft: #9ce0b6;
  --green-glow: rgba(34, 212, 119, 0.28);
  --danger: #ff7676;
  --sidebar-closed: 86px;
  --sidebar-open: 284px;
  --image-ratio: 16 / 9;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro,
  .site-intro::after,
  .site-intro-glow,
  .site-intro-logo,
  .site-intro-kicker,
  .site-intro-title,
  .site-intro-line span,
  .site-intro-label,
  .site-intro.is-leaving .site-intro-content {
    animation: none;
    transition: none;
  }

  .site-intro-logo,
  .site-intro-kicker,
  .site-intro-title,
  .site-intro-label {
    opacity: 1;
    transform: none;
  }

  .site-intro-line span {
    transform: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body.intro-active {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 212, 119, 0.08), transparent 42%),
    #050706;
  opacity: 1;
  visibility: visible;
  transition: opacity 480ms ease, visibility 480ms ease;
}

.site-intro::before,
.site-intro::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.site-intro::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.025) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(255, 255, 255, 0.025) 50%, transparent 50.1%);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000, transparent 68%);
}

.site-intro::after {
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--yellow-soft), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: intro-edge 1.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-intro-glow {
  position: absolute;
  width: min(540px, 82vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(34, 212, 119, 0.16), transparent 67%);
  opacity: 0;
  transform: scale(0.7);
  animation: intro-glow 1.4s ease forwards;
}

.site-intro-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(420px, calc(100vw - 44px));
  justify-items: center;
  text-align: center;
}

.site-intro-logo {
  width: 112px;
  aspect-ratio: 1;
  padding: 5px;
  overflow: hidden;
  background: #070908;
  border: 1px solid rgba(240, 222, 72, 0.56);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(34, 212, 119, 0.12), 0 0 48px rgba(34, 212, 119, 0.2);
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  animation: intro-logo 620ms 100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-intro-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.site-intro-kicker,
.site-intro-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-intro-kicker {
  margin-top: 22px;
  color: var(--yellow-soft);
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  animation: intro-copy 420ms 360ms ease forwards;
}

.site-intro-title {
  margin-top: 6px;
  color: #f6f2ea;
  font-size: clamp(2.35rem, 9vw, 4rem);
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-copy 520ms 440ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-intro-line {
  width: min(290px, 70vw);
  height: 1px;
  margin: 22px 0 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.site-intro-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow-soft));
  transform: translateX(-101%);
  animation: intro-line 700ms 610ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-intro-label {
  color: #a6adbb;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0;
  animation: intro-copy 400ms 780ms ease forwards;
}

.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro.is-leaving .site-intro-content {
  transform: scale(1.025);
  transition: transform 480ms ease;
}

@keyframes intro-logo {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes intro-copy {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-line {
  to {
    transform: translateX(0);
  }
}

@keyframes intro-glow {
  45% {
    opacity: 1;
  }

  to {
    opacity: 0.72;
    transform: scale(1);
  }
}

@keyframes intro-edge {
  55%,
  100% {
    transform: scaleX(1);
  }
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--sidebar-closed);
  padding: 20px 14px;
  overflow: hidden;
  background: #030405;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.28);
  transition: width 220ms ease, box-shadow 220ms ease;
}

.sidebar:hover,
.sidebar:focus-within {
  width: var(--sidebar-open);
  box-shadow: 26px 0 70px rgba(0, 0, 0, 0.45);
}

.brand,
.nav-link,
.login-link,
.scroll-top-button {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  height: 56px;
  margin-bottom: 30px;
}

.brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 3px;
  background: #070908;
  border: 1px solid rgba(215, 201, 44, 0.56);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(215, 201, 44, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.brand-copy,
.nav-link span,
.login-link span,
.scroll-top-button span {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.sidebar:hover .brand-copy,
.sidebar:hover .nav-link span,
.sidebar:hover .login-link span,
.sidebar:hover .scroll-top-button span,
.sidebar:focus-within .brand-copy,
.sidebar:focus-within .nav-link span,
.sidebar:focus-within .login-link span,
.sidebar:focus-within .scroll-top-button span {
  opacity: 1;
  transform: translateX(0);
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 350px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list .nav-link[hidden] {
  display: none;
}

.nav-primary-row {
  display: grid;
  grid-template-columns: repeat(2, 25px);
  gap: 4px;
  margin-bottom: 6px;
}

.nav-primary-row .nav-link {
  width: 25px;
  min-width: 25px;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.nav-primary-row .nav-link svg {
  flex-basis: 18px;
  width: 18px;
  height: 18px;
}

.sidebar:hover .nav-primary-row,
.sidebar:focus-within .nav-primary-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sidebar:hover .nav-primary-row .nav-link,
.sidebar:focus-within .nav-primary-row .nav-link {
  width: 100%;
  min-width: 0;
}

.sidebar:hover .nav-primary-row .nav-link svg,
.sidebar:focus-within .nav-primary-row .nav-link svg {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
}

.nav-primary-row .nav-link span,
.sidebar:hover .nav-primary-row .nav-link span,
.sidebar:focus-within .nav-primary-row .nav-link span {
  display: none;
}

.nav-link {
  min-height: 48px;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link svg,
.login-link svg,
.scroll-top-button svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active,
.login-link:hover,
.login-link:focus-visible,
.login-link.active {
  color: var(--text);
  background: rgba(34, 212, 119, 0.12);
  outline: none;
}

.nav-link:hover {
  transform: translateX(2px);
}

.nav-link--special svg {
  color: var(--yellow-soft);
}

.nav-link--special:hover,
.nav-link--special:focus-visible,
.nav-link--special.active {
  background: rgba(215, 201, 44, 0.1);
  border-color: rgba(215, 201, 44, 0.3);
}

.nav-link--reviews {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.06);
  border: 1px solid rgba(34, 212, 119, 0.16);
}

.nav-link--reviews svg {
  color: var(--green);
}

.nav-link--application {
  color: #d8dcff;
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(111, 123, 255, 0.2);
}

.nav-link--application svg {
  color: #8d98ff;
}

.nav-link--application:hover,
.nav-link--application:focus-visible,
.nav-link--application.active {
  background: rgba(88, 101, 242, 0.18);
}

.sidebar-foot {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.theme-switch {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: var(--muted);
  cursor: pointer;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  user-select: none;
}

.theme-switch .checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.theme-switch-container {
  position: relative;
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  overflow: hidden;
  background: #20262d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease;
}

.circle-container {
  position: absolute;
  top: 2px;
  left: 2px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  background: #222a35;
  border-radius: 50%;
  transition: transform 220ms ease, background 180ms ease;
}

.sun-moon-container {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  overflow: hidden;
  background: #d9e2ef;
  border-radius: 50%;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.moon {
  position: absolute;
  inset: 0;
}

.spot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #8793a3;
  border-radius: 50%;
}

.spot:nth-child(1) {
  top: 2px;
  left: 3px;
}

.spot:nth-child(2) {
  top: 6px;
  right: 2px;
}

.spot:nth-child(3) {
  bottom: 1px;
  left: 2px;
  width: 2px;
  height: 2px;
}

.theme-switch .checkbox:checked + .theme-switch-container {
  background: #dff4e8;
  border-color: rgba(34, 150, 92, 0.38);
}

.theme-switch .checkbox:checked + .theme-switch-container .circle-container {
  background: #fff7bf;
  transform: translateX(20px);
}

.theme-switch .checkbox:checked + .theme-switch-container .sun-moon-container {
  background: #f2cb32;
  box-shadow: 0 0 8px rgba(242, 203, 50, 0.56);
}

.theme-switch .checkbox:checked + .theme-switch-container .spot {
  opacity: 0;
}

.theme-switch .checkbox:focus-visible + .theme-switch-container {
  outline: 2px solid var(--yellow-soft);
  outline-offset: 3px;
}

.theme-switch-label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  font-weight: 800;
}

.sidebar:hover .theme-switch-label,
.sidebar:focus-within .theme-switch-label,
.theme-switch--employee .theme-switch-label {
  opacity: 1;
  transform: translateX(0);
}

.theme-switch--employee {
  width: auto;
  min-width: 140px;
}

.theme-switch--toolbar {
  display: none;
}

.login-link,
.scroll-top-button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 8px;
}

.login-link {
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.22);
}

.icon-button {
  flex: 0 0 44px;
  width: 100%;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page {
  min-height: 100vh;
  margin-left: var(--sidebar-closed);
}

.hero {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  padding: 64px clamp(22px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 68% 26%, rgba(34, 212, 119, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(3, 6, 5, 0.96), rgba(4, 18, 12, 0.72) 54%, rgba(8, 9, 11, 0.36)),
    linear-gradient(0deg, #08090b 0%, rgba(8, 9, 11, 0) 42%),
    url("assets/hero.jpg") center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(34, 212, 119, 0.5), rgba(215, 201, 44, 0.42), transparent);
}

.hero-content {
  width: min(720px, 100%);
}

.hero-logo {
  width: clamp(92px, 12vw, 148px);
  aspect-ratio: 1;
  margin-bottom: 18px;
  object-fit: cover;
  border: 1px solid rgba(215, 201, 44, 0.48);
  border-radius: 8px;
  box-shadow: 0 0 36px rgba(34, 212, 119, 0.2);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-content p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d9dee7;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-panel {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 52px;
  display: grid;
  width: min(260px, calc(100% - 44px));
  gap: 6px;
  justify-items: end;
  padding: 0;
  text-align: right;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.panel-label {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.24rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-panel small {
  color: var(--muted);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.toolbar,
.content-section {
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
}

.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
  background: #0c0e12;
  border-bottom: 1px solid var(--line);
}

.search-field {
  display: flex;
  width: min(420px, 100%);
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--muted);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.16);
  border-radius: 8px;
}

.search-field svg {
  width: 20px;
  height: 20px;
}

.search-field input {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.discord-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #f7f8ff;
  text-decoration: none;
  background: #5865f2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(88, 101, 242, 0.22);
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.discord-cta:hover,
.discord-cta:focus-visible {
  background: #6975ff;
  box-shadow: 0 22px 54px rgba(88, 101, 242, 0.32);
  outline: none;
  transform: translateY(-1px);
}

.discord-cta svg {
  width: 20px;
  height: 20px;
}

.segmented {
  display: flex;
  min-height: 48px;
  padding: 4px;
  background: #101711;
  border: 1px solid rgba(34, 212, 119, 0.16);
  border-radius: 8px;
}

.category-summary {
  display: grid;
  min-width: 190px;
  min-height: 48px;
  align-content: center;
  justify-items: end;
  gap: 3px;
  padding: 0 14px;
  background: #101711;
  border: 1px solid rgba(34, 212, 119, 0.16);
  border-radius: 8px;
}

.category-summary strong {
  color: var(--text);
}

.category-summary span {
  color: var(--muted);
  font-size: 0.84rem;
}

.segment {
  min-width: 86px;
  padding: 0 14px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.segment.active,
.segment:focus-visible {
  color: #0b0d0c;
  background: var(--yellow);
  outline: none;
}

.content-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.section-heading {
  display: grid;
  max-width: 720px;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.property-grid--reviews {
  grid-template-columns: 1fr;
}

.reviews-page {
  display: grid;
  gap: 18px;
}

.reviews-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 1px;
  width: fit-content;
  overflow: hidden;
  background: var(--line);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.reviews-overview > div,
.reviews-overview > p {
  display: grid;
  min-height: 120px;
  align-content: center;
  gap: 6px;
  margin: 0;
  padding: 20px;
  background: #0d1512;
}

.reviews-overview > div > strong {
  color: var(--yellow-soft);
  font-size: 1.85rem;
}

.reviews-overview small,
.reviews-overview > p {
  color: var(--muted);
  line-height: 1.55;
}

.reviews-overview > p strong {
  color: var(--green-soft);
}

.review-employee-field {
  position: relative;
}

.review-employee-picker,
.review-filter-picker {
  position: relative;
}

.review-employee-trigger,
.review-filter-trigger {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  color: var(--text);
  cursor: pointer;
  background: #141922;
  border: 1px solid rgba(34, 212, 119, 0.25);
  border-radius: 8px;
  text-align: left;
}

.review-employee-trigger > span,
.review-filter-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-employee-trigger svg,
.review-filter-trigger svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  transition: transform 140ms ease;
}

.review-employee-trigger[aria-expanded="true"],
.review-filter-trigger[aria-expanded="true"] {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.review-employee-trigger[aria-expanded="true"] svg,
.review-filter-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.review-employee-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.review-employee-menu,
.review-filter-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 280px;
  padding: 6px;
  overflow-y: auto;
  background: #10151c;
  border: 1px solid rgba(34, 212, 119, 0.42);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
}

.review-employee-menu[hidden],
.review-filter-menu[hidden] {
  display: none;
}

.review-employee-menu button,
.review-filter-menu button {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
}

.review-employee-menu button:hover,
.review-employee-menu button:focus-visible,
.review-employee-menu button.is-selected,
.review-filter-menu button:hover,
.review-filter-menu button:focus-visible,
.review-filter-menu button.is-selected {
  background: rgba(34, 212, 119, 0.12);
  outline: none;
}

.review-employee-menu button span,
.review-filter-menu button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: none;
}

.review-filter-picker {
  width: min(260px, 100%);
}

.review-filter-trigger {
  background: #101720;
}

.review-filter-menu {
  right: 0;
  left: auto;
  width: min(320px, calc(100vw - 54px));
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.review-form-panel,
.reviews-feed {
  background: #0d1111;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
}

.review-form-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 20px;
  padding: 22px;
}

.review-form-panel h3,
.reviews-feed h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.review-form {
  display: grid;
  gap: 16px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-form input,
.review-form select,
.review-form textarea,
.reviews-feed select {
  width: 100%;
  color: var(--text);
  background: #141922;
  border: 1px solid rgba(34, 212, 119, 0.25);
  border-radius: 8px;
  outline: none;
}

.review-form input,
.review-form select,
.reviews-feed select {
  min-height: 46px;
  padding: 0 13px;
}

.review-form textarea {
  min-height: 122px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus,
.reviews-feed select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.review-form select:disabled,
.review-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.review-rating-field {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
}

.review-rating-field legend {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-rating-buttons {
  display: flex;
  gap: 6px;
}

.review-rating-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #626a70;
  cursor: pointer;
  background: #151a1c;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}

.review-rating-button:hover,
.review-rating-button:focus-visible,
.review-rating-button.is-active {
  color: var(--yellow-soft);
  background: rgba(215, 201, 44, 0.08);
  border-color: rgba(215, 201, 44, 0.45);
  outline: none;
}

.review-rating-button svg,
.review-stars svg {
  width: 19px;
  height: 19px;
}

.review-rating-button.is-active svg,
.review-stars svg.is-active {
  fill: currentColor;
}

.review-submit {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #070907;
  cursor: pointer;
  background: var(--yellow-soft);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.review-submit svg {
  width: 18px;
  height: 18px;
}

.review-form-feedback {
  margin: 0;
  padding: 11px 12px;
  color: var(--muted);
  background: #161b1c;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.review-form-feedback.is-success {
  color: var(--green-soft);
  border-color: rgba(34, 212, 119, 0.34);
}

.review-form-feedback.is-error {
  color: #ffaaaa;
  border-color: rgba(255, 118, 118, 0.34);
}

.reviews-feed {
  min-width: 0;
  overflow: visible;
}

.reviews-feed-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.reviews-feed-header .review-filter-picker {
  width: min(230px, 100%);
}

.reviews-list {
  display: grid;
}

.review-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.review-card:last-child {
  border-bottom: 0;
}

.review-card header,
.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-card header > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.review-card header span,
.review-card footer {
  color: var(--muted);
  font-size: 0.8rem;
}

.review-card header span {
  overflow-wrap: anywhere;
}

.review-card p {
  margin: 0;
  color: #d9ddd9;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-stars {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  color: #4d5355;
}

.review-stars svg.is-active {
  color: var(--yellow-soft);
}

.reviews-empty,
.reviews-loading {
  display: grid;
  min-height: 210px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #0d1111;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
}

.reviews-empty svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.reviews-empty strong {
  color: var(--text);
}

.review-loading-mark {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(34, 212, 119, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: review-loading-spin 700ms linear infinite;
}

@keyframes review-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 981px) {
  .property-grid--catalog-wide {
    grid-template-columns: 1fr;
  }
}

.property-grid--garages .garage-main-heading,
.property-grid--garages .garage-option-heading {
  grid-column: 1 / -1;
}

.property-grid--garages .garage-option-heading {
  margin-top: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.garage-main-heading h3,
.garage-option-heading h3 {
  margin: 8px 0 10px;
  font-size: 1.35rem;
}

.garage-section-note {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.55;
}

.property-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 180ms ease,
    box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .property-card:hover {
    z-index: 4;
    border-color: rgba(34, 212, 119, 0.34);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(34, 212, 119, 0.08);
    transform: translateY(-5px) scale(1.018);
  }
}

.property-card[hidden] {
  display: none;
}

.property-image {
  width: 100%;
  aspect-ratio: var(--image-ratio);
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #07100d;
  filter: contrast(1.08) saturate(1.08) brightness(1.03);
  image-rendering: auto;
}

.property-card--with-gallery {
  display: block;
}

.property-card-layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 100%;
}

.property-card-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.property-card--with-gallery .style-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-self: stretch;
  min-height: 100%;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.property-card--with-gallery .style-gallery figure {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.property-card--with-gallery .style-gallery img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 110px;
  height: 100%;
  aspect-ratio: auto;
}

.special-offer-card {
  border-color: rgba(247, 222, 63, 0.38);
  background:
    linear-gradient(135deg, rgba(247, 222, 63, 0.05), transparent 42%),
    linear-gradient(180deg, #131820 0%, var(--panel) 100%);
}

.special-offer-card .style-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.special-offer-card .style-gallery figure {
  border-color: rgba(247, 222, 63, 0.2);
}

.special-offer-card .style-gallery figcaption {
  color: #f4e98b;
}

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

.property-grid--special-offers .property-card--with-gallery {
  grid-column: 1 / -1;
}

.special-offer-external-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #07100d;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--yellow);
  border-radius: 8px;
  transition: background 150ms ease, transform 150ms ease;
}

.special-offer-external-link:hover {
  color: #07100d;
  background: var(--yellow-soft);
  transform: translateY(-1px);
}

.special-offer-external-link svg {
  width: 18px;
  height: 18px;
}

.auction-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-color: rgba(247, 222, 63, 0.34);
}

.auction-card.is-ended {
  border-color: rgba(255, 255, 255, 0.13);
}

.auction-card-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.auction-card-media .property-image {
  height: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 8.5;
}

.auction-card-label,
.auction-card-clock {
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.auction-card-label {
  top: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  color: #201900;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(247, 222, 63, 0.92);
  border-radius: 999px;
}

.auction-card-clock {
  right: 16px;
  bottom: 16px;
  display: grid;
  min-width: 158px;
  gap: 3px;
  padding: 10px 12px;
  color: var(--text);
  text-align: right;
  background: rgba(7, 10, 12, 0.82);
  border: 1px solid rgba(247, 222, 63, 0.3);
  border-radius: 8px;
}

.auction-card-clock span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auction-card-clock strong {
  color: var(--yellow-soft);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
}

.auction-card-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.auction-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.auction-card-heading > div:first-child {
  display: grid;
  gap: 6px;
}

.auction-card-heading h3 {
  min-height: 0;
}

.auction-card-price {
  display: grid;
  gap: 3px;
  text-align: right;
}

.auction-card-price span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auction-card-price strong {
  color: var(--yellow-soft);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

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

.auction-leading-status {
  margin: 0;
  padding: 10px 12px;
  color: var(--green-soft);
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(34, 212, 119, 0.07);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.auction-card.is-ended .auction-leading-status {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.auction-bid-form {
  display: grid;
  gap: 12px;
}

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

.auction-bid-form label,
.auction-garage-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.auction-bid-form label > span,
.auction-garage-field > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auction-bid-form input,
.auction-bid-form select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  outline: none;
}

.auction-garage-field {
  position: relative;
}

.auction-garage-menu {
  position: relative;
  min-width: 0;
}

.auction-garage-trigger {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.auction-garage-trigger svg {
  width: 17px;
  height: 17px;
  color: var(--green-soft);
  transition: transform 140ms ease;
}

.auction-garage-menu.is-open .auction-garage-trigger {
  border-color: rgba(34, 212, 119, 0.72);
}

.auction-garage-menu.is-open .auction-garage-trigger svg {
  transform: rotate(180deg);
}

.auction-garage-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 5px;
  background: #10161d;
  border: 1px solid rgba(34, 212, 119, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.auction-garage-options button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.auction-garage-options button strong {
  color: var(--green-soft);
  font-size: 0.74rem;
  white-space: nowrap;
}

.auction-garage-options button:hover,
.auction-garage-options button[aria-selected="true"] {
  background: rgba(34, 212, 119, 0.1);
}

.auction-garage-options button[aria-selected="true"] {
  color: var(--yellow-soft);
}

.auction-auto-bid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.75fr);
  gap: 10px;
}

.auction-auto-bid-toggle {
  display: flex !important;
  min-height: 58px;
  grid-template-columns: none !important;
  align-items: center;
  gap: 11px !important;
  padding: 10px 12px;
  background: rgba(34, 212, 119, 0.045);
  border: 1px solid rgba(34, 212, 119, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.auction-auto-bid-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auction-auto-bid-track {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 22px;
  background: #293039;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.auction-auto-bid-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #aab3bd;
  border-radius: 50%;
  transition: transform 140ms ease, background 140ms ease;
}

.auction-auto-bid-toggle input:checked + .auction-auto-bid-track {
  background: rgba(34, 212, 119, 0.28);
  border-color: rgba(34, 212, 119, 0.6);
}

.auction-auto-bid-toggle input:checked + .auction-auto-bid-track span {
  background: var(--green-soft);
  transform: translateX(16px);
}

.auction-auto-bid-toggle > span:last-child {
  display: grid;
  gap: 2px;
}

.auction-auto-bid-toggle strong {
  color: var(--text);
  font-size: 0.78rem;
}

.auction-auto-bid-toggle small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.auction-max-field[hidden] {
  display: none;
}

.auction-bid-form input:focus,
.auction-bid-form select:focus {
  border-color: rgba(34, 212, 119, 0.64);
}

.auction-bid-form input:disabled,
.auction-bid-form select:disabled {
  opacity: 0.45;
}

.auction-quick-bids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.auction-quick-bids button {
  min-height: 36px;
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(34, 212, 119, 0.07);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  cursor: pointer;
}

.auction-quick-bids button:hover {
  background: rgba(34, 212, 119, 0.13);
  border-color: rgba(34, 212, 119, 0.4);
}

.auction-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.auction-submit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.auction-submit-row button {
  min-width: 116px;
  min-height: 42px;
  padding: 0 16px;
  color: #07100d;
  font-weight: 900;
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.auction-submit-row button:hover {
  background: var(--yellow-soft);
}

.auction-submit-row button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.auction-feedback {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 8px;
}

.auction-feedback.is-error {
  color: #ffb2b2;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.24);
}

.auction-feedback.is-success {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.24);
}

.property-card.featured {
  border-color: rgba(215, 201, 44, 0.34);
}

.property-card--interactive {
  cursor: pointer;
}

.property-card--interactive:hover {
  border-color: rgba(34, 212, 119, 0.28);
}

.card-estimate-hint {
  margin-top: auto;
  min-height: 1.25em;
  color: var(--muted);
  font-size: 0.82rem;
  visibility: hidden;
}

.property-card--interactive:hover .card-estimate-hint {
  visibility: visible;
}

.estimate-modal[hidden] {
  display: none !important;
}

body.estimate-modal-open {
  overflow: hidden;
}

.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
}

.estimate-modal-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.78);
  border: 0;
  cursor: pointer;
}

.estimate-modal-dialog {
  position: relative;
  display: grid;
  gap: 0;
  width: min(96vw, 1120px);
  max-height: calc(100vh - 28px);
  overflow: auto;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.estimate-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #d8e2ef;
  font-size: 1.55rem;
  line-height: 1;
  background: rgba(5, 9, 8, 0.54);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.estimate-modal-close:hover {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.12);
  transform: scale(1.04);
}

.estimate-modal-close:focus-visible {
  color: var(--green-soft);
  outline: 2px solid rgba(34, 212, 119, 0.45);
  outline-offset: 3px;
}

.estimate-modal-content {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.estimate-modal-property {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 42px;
}

.estimate-modal-property img {
  width: 128px;
  aspect-ratio: var(--image-ratio);
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(34, 212, 119, 0.18);
}

.estimate-modal-property div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.estimate-modal-property strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.estimate-modal-property small {
  color: var(--green-soft);
}

.service-confirm-modal[hidden] {
  display: none !important;
}

body.service-confirm-open {
  overflow: hidden;
}

.service-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.service-confirm-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.82);
  border: 0;
  cursor: pointer;
}

.service-confirm-dialog {
  position: relative;
  width: min(100%, 420px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(34, 212, 119, 0.08), rgba(34, 212, 119, 0.02)),
    linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.service-confirm-dialog.is-danger {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 84, 84, 0.16), transparent 44%),
    linear-gradient(180deg, #1c171b 0%, #11151a 100%);
  border-color: rgba(255, 104, 104, 0.48);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.66), 0 0 0 1px rgba(255, 104, 104, 0.08);
}

.service-confirm-dialog.is-danger .service-confirm-icon {
  color: #ffb4b4;
  background: rgba(255, 84, 84, 0.12);
  border-color: rgba(255, 104, 104, 0.42);
  box-shadow: 0 12px 34px rgba(255, 70, 70, 0.1);
}

.service-confirm-dialog.is-danger .service-confirm-content .eyebrow,
.service-confirm-dialog.is-danger .service-confirm-stat span {
  color: #ffb4b4;
}

.service-confirm-dialog.is-danger .service-confirm-stat {
  background: rgba(28, 13, 17, 0.82);
  border-color: rgba(255, 104, 104, 0.24);
}

.service-confirm-dialog.is-danger .service-confirm-stat > strong {
  color: #fff;
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  overflow-wrap: anywhere;
}

.service-confirm-dialog.is-danger .service-confirm-actions .service-stop {
  color: #fff;
  background: linear-gradient(135deg, #e84343, #ff6565);
  box-shadow: 0 10px 28px rgba(232, 67, 67, 0.22);
}

.service-confirm-dialog.is-danger .service-confirm-actions .service-stop:hover {
  filter: brightness(1.08);
}

.service-confirm-content {
  display: grid;
  gap: 12px;
  padding: 28px 24px 22px;
  text-align: center;
}

.service-confirm-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 999px;
}

.service-confirm-icon svg {
  width: 26px;
  height: 26px;
}

.service-confirm-content .eyebrow {
  margin: 0;
}

.service-confirm-content h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.15;
}

.service-confirm-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-confirm-stat {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 16px 14px;
  background: rgba(10, 16, 13, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 10px;
}

.service-confirm-stat[hidden] {
  display: none !important;
}

.service-confirm-stat span {
  color: var(--green-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-confirm-stat strong {
  color: var(--yellow-soft);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.1;
}

.service-confirm-list {
  display: grid;
  gap: 7px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.service-confirm-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-confirm-list li span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.service-confirm-list li strong {
  color: var(--yellow-soft);
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.service-confirm-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.service-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.service-confirm-actions .employee-action {
  width: 100%;
  min-height: 44px;
}

.service-confirm-cancel {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.service-confirm-cancel:hover {
  border-color: rgba(34, 212, 119, 0.35);
}

.service-confirm-actions .service-stop {
  color: #07100d;
  background: #ffb4b4;
}

.service-check-modal[hidden] {
  display: none !important;
}

body.service-check-open {
  overflow: hidden;
}

.service-check-modal {
  position: fixed;
  inset: 0;
  z-index: 134;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 224, 80, 0.16), transparent 32%),
    rgba(4, 6, 8, 0.88);
}

.service-check-dialog {
  display: grid;
  width: min(100%, 520px);
  gap: 16px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 224, 80, 0.1), transparent 45%),
    linear-gradient(180deg, #171b20 0%, #101713 100%);
  border: 1px solid rgba(255, 224, 80, 0.34);
  border-radius: 12px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.68);
}

.service-check-pulse {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  color: #07100d;
  background: var(--yellow-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 224, 80, 0.34);
  animation: service-check-pulse 1100ms ease-out infinite;
}

.service-check-pulse svg {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

@keyframes service-check-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 224, 80, 0.42);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(255, 224, 80, 0);
  }
}

.service-check-copy {
  display: grid;
  gap: 8px;
}

.service-check-copy .eyebrow,
.service-check-copy h3,
.service-check-copy p {
  margin: 0;
}

.service-check-copy h3 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.service-check-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.service-check-countdown {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 224, 80, 0.22);
  border-radius: 8px;
}

.service-check-countdown span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-check-countdown strong {
  color: var(--yellow-soft);
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

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

.service-check-actions .employee-action {
  width: 100%;
  min-height: 48px;
}

.client-phone-modal[hidden] {
  display: none !important;
}

body.client-phone-open,
body.client-dossier-edit-open {
  overflow: hidden;
}

.client-dossier-edit-dialog {
  width: min(100%, 620px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
}

.client-dossier-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.client-dossier-identity-field {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.client-dossier-identity-field img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  background: rgba(7, 10, 9, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 9px;
}

.client-dossier-identity-field img[hidden] {
  display: none !important;
}

.client-dossier-identity-field input[type="file"] {
  width: 100%;
  padding: 10px;
  color: var(--text);
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.client-dossier-identity-field small {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 620px) {
  .client-dossier-edit-fields {
    grid-template-columns: 1fr;
  }
}

.client-phone-modal {
  position: fixed;
  inset: 0;
  z-index: 136;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.client-phone-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.84);
  border: 0;
  cursor: pointer;
}

.client-phone-dialog {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
  padding: 26px 24px 22px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(34, 212, 119, 0.1), rgba(34, 212, 119, 0.02)),
    linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid rgba(34, 212, 119, 0.3);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.client-phone-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 999px;
}

.client-phone-icon svg {
  width: 24px;
  height: 24px;
}

.client-phone-copy {
  display: grid;
  gap: 7px;
}

.client-phone-copy .eyebrow,
.client-phone-copy h3,
.client-phone-copy p {
  margin: 0;
}

.client-phone-copy h3 {
  font-size: clamp(1.22rem, 2.4vw, 1.5rem);
  line-height: 1.15;
}

.client-phone-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.client-phone-field {
  display: grid;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.client-phone-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  outline: none;
}

.client-phone-field input:focus {
  border-color: rgba(34, 212, 119, 0.62);
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.12);
}

.client-phone-feedback {
  margin: 0;
  padding: 11px 12px;
  color: #ffb4b4;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.28);
  border-radius: 8px;
}

.client-phone-feedback[hidden] {
  display: none !important;
}

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

.client-phone-actions .employee-action {
  width: 100%;
  min-height: 44px;
}

.client-phone-cancel {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.client-phone-cancel:hover {
  border-color: rgba(34, 212, 119, 0.35);
}

.service-summary-modal[hidden] {
  display: none !important;
}

body.service-summary-open {
  overflow: hidden;
}

.service-summary-modal {
  position: fixed;
  inset: 0;
  z-index: 132;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.service-summary-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.84);
  border: 0;
}

.service-summary-dialog {
  position: relative;
  display: grid;
  gap: 20px;
  width: min(100%, 600px);
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(34, 212, 119, 0.1), transparent 48%),
    #101713;
  border: 1px solid rgba(34, 212, 119, 0.34);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  animation: service-summary-enter 220ms ease-out both;
}

@keyframes service-summary-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-summary-dialog {
    animation: none;
  }
}

.service-summary-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-summary-close svg {
  width: 18px;
  height: 18px;
}

.service-summary-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-right: 38px;
}

.service-summary-heading > div {
  display: grid;
  gap: 5px;
}

.service-summary-heading .eyebrow,
.service-summary-heading h3,
.service-summary-heading p {
  margin: 0;
}

.service-summary-heading h3 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.service-summary-heading p {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-summary-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #07100d;
  background: var(--green-soft);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(34, 212, 119, 0.22);
}

.service-summary-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 3;
}

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

.service-summary-stats article {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-summary-stats svg {
  width: 18px;
  height: 18px;
  color: var(--green-soft);
}

.service-summary-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-summary-stats strong {
  color: var(--yellow-soft);
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
}

.service-summary-detail {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.service-summary-done {
  min-height: 44px;
  padding: 0 18px;
  color: #07100d;
  cursor: pointer;
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 520px) {
  .service-confirm-actions {
    grid-template-columns: 1fr;
  }

  .service-check-dialog {
    padding: 24px 18px;
  }

  .service-check-actions {
    grid-template-columns: 1fr;
  }

  .service-summary-dialog {
    padding: 24px 18px 18px;
  }

  .service-summary-heading {
    grid-template-columns: 1fr;
    padding-right: 30px;
  }

  .service-summary-icon {
    width: 46px;
    height: 46px;
  }

  .service-summary-stats {
    grid-template-columns: 1fr;
  }
}

.mini-configurator {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(10, 16, 13, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.mini-configurator-label {
  margin: 0;
}

.mini-config-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.garage-field-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.included-options-field {
  gap: 12px;
}

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

.included-option {
  display: grid;
  gap: 6px;
  min-height: 64px;
  align-content: center;
  padding: 12px;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.included-option span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.included-option strong {
  color: var(--text);
  font-size: 0.98rem;
}

.custom-options-field {
  gap: 10px;
}

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

.custom-option-group {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 6px;
}

.custom-option-group > span {
  margin: 0;
  color: #aeb7c5;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.custom-option-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px 7px 12px;
  color: var(--text);
  text-align: left;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.custom-option-trigger:hover,
.custom-option-trigger:focus-visible,
.custom-option-group.is-open .custom-option-trigger {
  background: #151d20;
  border-color: rgba(34, 212, 119, 0.58);
}

.custom-option-trigger > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--green-soft);
  transition: transform 150ms ease;
}

.custom-option-group.is-open .custom-option-trigger > svg {
  transform: rotate(180deg);
}

.custom-option-trigger-copy {
  display: block;
  min-width: 0;
}

.custom-option-choice-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.custom-option-choice-copy strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-option-choice-copy small {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.custom-option-choice-copy small.is-paid {
  color: var(--yellow-soft);
}

.custom-option-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 30;
  display: grid;
  width: 100%;
  max-height: 252px;
  gap: 4px;
  overflow: auto;
  padding: 6px;
  background: #0d1315;
  border: 1px solid rgba(34, 212, 119, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
}

.custom-option-list[hidden] {
  display: none !important;
}

.custom-option-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(540px, calc(200% + 8px));
}

.custom-option-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.custom-option-choice:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr);
}

.custom-option-choice img {
  width: 52px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.custom-option-choice:hover,
.custom-option-choice:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(34, 212, 119, 0.22);
  outline: none;
}

.custom-option-choice.is-selected {
  background: rgba(34, 212, 119, 0.11);
  border-color: rgba(34, 212, 119, 0.45);
  box-shadow: inset 3px 0 0 var(--green);
}

.mini-configurator .custom-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-configurator .custom-option-trigger {
  min-height: 36px;
  font-size: 0.78rem;
}

.mini-config-fixed {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-list.mini-summary {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(5, 12, 9, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.16);
  border-radius: 8px;
}

.summary-list.mini-summary div {
  gap: 6px;
  padding: 10px 12px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-list.mini-summary div:first-child {
  border-top: 0;
}

.summary-list.mini-summary dt {
  color: #98a4b5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-list.mini-summary dd {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.mini-duration-panel .duration-choice-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-duration-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 8px;
}

.mini-duration-total-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.mini-duration-amount {
  color: var(--green-soft);
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mini-configurator-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.mini-configurator-total span {
  color: var(--muted);
  font-size: 0.86rem;
}

.mini-configurator-total strong {
  color: var(--green-soft);
  font-size: 1.15rem;
}

.mini-configurator-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (min-width: 761px) {
  .estimate-modal-dialog {
    overflow: hidden;
  }

  .estimate-modal-content {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
  }

  .estimate-modal-property {
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
    align-items: start;
    padding-right: 0;
  }

  .estimate-modal-property img {
    width: 100%;
    max-height: 150px;
  }

  .estimate-modal-property strong {
    font-size: 1rem;
  }

  .mini-configurator {
    gap: 10px;
    padding: 14px;
  }

  .mini-config-field span {
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

  .mini-configurator .range-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 10px;
  }

  .mini-configurator .range-row input[type="number"] {
    min-height: 38px;
    padding: 0 12px;
  }

  .mini-configurator .garage-field-hint {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .mini-configurator .mini-garage-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-configurator .garage-choice {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
    text-align: center;
  }

  .mini-configurator .duration-choice {
    display: grid;
    min-height: 48px;
    align-content: center;
    gap: 2px;
    padding: 6px 10px;
    font-size: 0.78rem;
    text-align: left;
  }

  .duration-choice-label {
    color: #aeb7c5;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .duration-choice strong {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .duration-choice.active strong {
    color: var(--green-soft);
  }

  .summary-list.mini-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .summary-list.mini-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
    min-width: 0;
    padding: 9px 12px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .summary-list.mini-summary div:first-child {
    border-left: 0;
  }

  .summary-list.mini-summary dd {
    text-align: left;
    white-space: nowrap;
  }

  .mini-duration-total,
  .mini-configurator-total {
    padding: 9px 12px;
  }

  .mini-duration-amount {
    font-size: 1.08rem;
  }
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  min-height: 100%;
}

.card-topline,
.spec-list,
.garage-row,
.pricing-strip,
.placeholder-sections {
  display: grid;
  gap: 10px;
}

.card-topline {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-topline strong {
  color: var(--green-soft);
  font-size: 0.95rem;
  text-align: right;
}

.catalog-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: -8px;
}

.catalog-best-seller-badge,
.catalog-new-property-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: #171103;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  background: linear-gradient(135deg, #fff0a6 0%, #f4c84b 48%, #d89b18 100%);
  border: 1px solid rgba(255, 232, 137, 0.86);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(218, 157, 24, 0.2);
}

.catalog-best-seller-badge {
  animation: best-seller-breathe 3.2s ease-in-out infinite;
}

.catalog-new-property-badge {
  color: #dfffee;
  background: linear-gradient(135deg, #197c4b 0%, #19a866 55%, #27c77c 100%);
  border-color: rgba(126, 255, 190, 0.52);
  box-shadow: 0 6px 20px rgba(26, 186, 108, 0.16);
}

.catalog-best-seller-badge svg,
.catalog-new-property-badge svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.7;
}

@keyframes best-seller-breathe {
  0%, 100% {
    filter: brightness(1);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.08);
    transform: translateY(-1px);
  }
}

@keyframes category-card-enter {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(30px) scale(0.94);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.property-grid.is-category-entering .property-card:not([hidden]) {
  animation: category-card-enter 500ms cubic-bezier(0.16, 0.8, 0.24, 1) both;
  animation-delay: calc(var(--category-card-order, 0) * 120ms);
}

.catalog-report-button {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  align-self: flex-end;
  margin-top: auto;
  padding: 0 9px;
  color: #8995a5;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.catalog-report-button svg {
  width: 14px;
  height: 14px;
}

.catalog-report-button:hover,
.catalog-report-button:focus-visible {
  color: #ffd6a1;
  background: rgba(230, 180, 34, 0.08);
  border-color: rgba(230, 180, 34, 0.3);
  outline: none;
}

.property-card-actions {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.property-card-actions .catalog-report-button {
  align-self: auto;
  margin-top: 0;
  margin-left: auto;
}

.property-admin-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  padding: 0;
  color: #a9b5c5;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.property-admin-button svg {
  width: 18px;
  height: 18px;
}

.property-admin-button svg,
.catalog-report-button svg,
.catalog-best-seller-badge svg,
.catalog-new-property-badge svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-admin-button svg circle {
  fill: currentColor;
  stroke: none;
}

.property-admin-button:hover,
.property-admin-button:focus-visible {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.09);
  border-color: rgba(34, 212, 119, 0.35);
  outline: none;
}

.property-card.is-property-unavailable {
  border-color: rgba(255, 82, 82, 0.4);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 82, 82, 0.04);
}

.property-card.is-property-unavailable .property-image,
.property-card.is-property-unavailable .style-gallery {
  filter: grayscale(0.72) brightness(0.58);
}

.property-card.is-property-unavailable.property-card--interactive {
  cursor: not-allowed;
}

.property-card.is-property-unavailable .card-price strong {
  color: #c7ced7;
  text-decoration: line-through;
  opacity: 0.66;
}

.property-unavailable-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  color: #ffd0d0;
  background: linear-gradient(90deg, rgba(255, 74, 74, 0.12), rgba(255, 74, 74, 0.04));
  border: 1px solid rgba(255, 82, 82, 0.3);
  border-radius: 7px;
}

.property-unavailable-notice > svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: #ff7676;
}

.property-unavailable-notice span {
  display: grid;
  gap: 2px;
}

.property-unavailable-notice strong {
  font-size: 0.82rem;
}

.property-unavailable-notice small {
  color: #cfa8a8;
  font-size: 0.7rem;
  line-height: 1.35;
}

.property-admin-modal[hidden] {
  display: none !important;
}

body.property-admin-open {
  overflow: hidden;
}

.property-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  contain: layout paint;
  transition: opacity 150ms ease-out;
}

.property-admin-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.property-admin-modal.is-closing {
  pointer-events: auto;
}

.property-admin-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(3, 6, 7, 0.86);
  border: 0;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.property-admin-modal.is-visible .property-admin-backdrop {
  opacity: 1;
}

.property-admin-dialog {
  position: relative;
  width: min(94vw, 610px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(34, 212, 119, 0.055), transparent 40%),
    #0e1417;
  border: 1px solid rgba(34, 212, 119, 0.34);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition:
    opacity 150ms ease-out,
    transform 170ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.property-admin-modal.is-visible .property-admin-dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.property-admin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.property-admin-close:hover,
.property-admin-close:focus-visible {
  color: #ffaaaa;
  border-color: rgba(255, 82, 82, 0.4);
  outline: none;
}

.property-admin-close svg {
  width: 18px;
  height: 18px;
}

.property-admin-header {
  display: grid;
  gap: 6px;
  padding-right: 45px;
}

.property-admin-header h3 {
  margin: 0;
  font-size: 1.55rem;
}

.property-admin-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.property-admin-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.property-admin-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out;
}

.property-admin-option--danger:has(input:checked) {
  background: rgba(255, 82, 82, 0.07);
  border-color: rgba(255, 82, 82, 0.38);
}

.property-admin-option--discount:has(input:checked) {
  background: rgba(247, 222, 63, 0.06);
  border-color: rgba(247, 222, 63, 0.34);
}

.property-admin-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.property-admin-option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 7px;
}

.property-admin-option--danger .property-admin-option-icon {
  color: #ff8989;
  background: rgba(255, 82, 82, 0.08);
  border-color: rgba(255, 82, 82, 0.2);
}

.property-admin-option--discount .property-admin-option-icon {
  color: var(--yellow);
  background: rgba(247, 222, 63, 0.08);
  border-color: rgba(247, 222, 63, 0.2);
}

.property-admin-option-icon svg {
  width: 21px;
  height: 21px;
}

.property-admin-option-copy {
  display: grid;
  gap: 4px;
}

.property-admin-option-copy strong {
  font-size: 0.93rem;
}

.property-admin-option-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.property-admin-switch {
  position: relative;
  width: 46px;
  height: 25px;
  background: #252d32;
  border: 1px solid #3a454c;
  border-radius: 999px;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

.property-admin-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #9aa5ad;
  border-radius: 50%;
  transition: transform 140ms ease-out, background-color 120ms ease-out;
}

.property-admin-option input:checked + .property-admin-switch {
  background: rgba(34, 212, 119, 0.25);
  border-color: rgba(34, 212, 119, 0.6);
}

.property-admin-option--danger input:checked + .property-admin-switch {
  background: rgba(255, 82, 82, 0.25);
  border-color: rgba(255, 82, 82, 0.6);
}

.property-admin-option input:checked + .property-admin-switch::after {
  background: #ffffff;
  transform: translateX(21px);
}

.property-admin-discount {
  display: grid;
  gap: 10px;
}

.property-admin-discount-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(247, 222, 63, 0.035);
  border: 1px solid rgba(247, 222, 63, 0.18);
  border-radius: 8px;
}

.property-admin-discount-value[hidden] {
  display: none !important;
}

.property-admin-number {
  display: flex;
  align-items: center;
  min-width: 112px;
  min-height: 42px;
  padding: 0 12px;
  background: #11181d;
  border: 1px solid rgba(247, 222, 63, 0.35);
  border-radius: 7px;
}

.property-admin-number input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  background: transparent;
  border: 0;
  outline: 0;
}

.property-admin-number strong {
  color: var(--yellow);
  font-size: 1rem;
}

.property-admin-feedback {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 7px;
}

.property-admin-feedback.is-error {
  color: #ffaaaa;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.25);
}

.property-admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 4px;
}

.property-admin-cancel,
.property-admin-save {
  min-height: 43px;
  padding: 0 17px;
  font: inherit;
  font-weight: 900;
  border-radius: 7px;
  cursor: pointer;
}

.property-admin-cancel {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.06);
  border: 1px solid rgba(34, 212, 119, 0.3);
}

.property-admin-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #07100d;
  background: var(--yellow);
  border: 0;
}

.property-admin-save svg {
  width: 17px;
  height: 17px;
}

.property-admin-save:disabled {
  opacity: 0.55;
  cursor: wait;
}

.catalog-report-modal[hidden] {
  display: none !important;
}

body.catalog-report-open {
  overflow: hidden;
}

.catalog-report-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
}

.catalog-report-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.8);
  border: 0;
}

.catalog-report-dialog {
  position: relative;
  display: grid;
  width: min(94vw, 560px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  background: #0f1519;
  border: 1px solid rgba(34, 212, 119, 0.3);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.catalog-report-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.catalog-report-close:hover {
  color: #ffaaaa;
  border-color: rgba(255, 82, 82, 0.35);
}

.catalog-report-close svg {
  width: 18px;
  height: 18px;
}

.catalog-report-header {
  display: grid;
  gap: 6px;
  padding-right: 44px;
}

.catalog-report-header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.catalog-report-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.catalog-report-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.catalog-report-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.catalog-report-form legend,
.catalog-report-details > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.catalog-report-types label {
  cursor: pointer;
}

.catalog-report-types input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catalog-report-types label > span {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.catalog-report-types svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.catalog-report-types strong {
  color: inherit;
  font-size: 0.82rem;
}

.catalog-report-types input:checked + span {
  color: var(--yellow-soft);
  background: rgba(230, 180, 34, 0.08);
  border-color: rgba(230, 180, 34, 0.42);
}

.catalog-report-details {
  display: grid;
}

.catalog-report-details textarea {
  width: 100%;
  min-height: 122px;
  resize: vertical;
  padding: 12px;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.5;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 7px;
  outline: none;
}

.catalog-report-details textarea:focus {
  border-color: rgba(34, 212, 119, 0.64);
}

.catalog-report-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.catalog-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.catalog-report-actions button {
  min-height: 40px;
  padding: 0 15px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 7px;
  cursor: pointer;
}

.catalog-report-cancel {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.06);
  border: 1px solid rgba(34, 212, 119, 0.24);
}

.catalog-report-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #080d0b;
  background: var(--yellow);
  border: 0;
}

.catalog-report-submit svg {
  width: 16px;
  height: 16px;
}

.catalog-report-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.catalog-report-feedback {
  margin: 0;
  padding: 10px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 7px;
}

.catalog-report-feedback.is-success {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.22);
}

.catalog-report-feedback.is-error {
  color: #ffaaaa;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.22);
}

.card-price {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.card-price strong {
  color: var(--green-soft);
  font-size: 0.95rem;
  text-align: right;
}

.card-price.has-discount strong {
  color: #ff7777;
}

.discount-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: #fff7f0;
  background: rgba(255, 41, 41, 0.18);
  border: 1px solid rgba(255, 83, 83, 0.58);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(255, 47, 47, 0.16);
  white-space: nowrap;
}

.price-original {
  color: #ffaaaa;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: line-through;
  opacity: 0.86;
}

.property-card h3 {
  margin: 0;
  min-height: calc(2 * 1.1em);
  font-size: clamp(1.22rem, 1.8vw, 1.72rem);
  line-height: 1.1;
}

.property-card h3.has-catalog-badges {
  min-height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-best-seller-badge {
    animation: none;
  }
}

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

.spec-list.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-list div,
.pricing-strip span {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
}

.garage-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.garage-row span {
  min-height: 40px;
  padding: 10px;
  color: #d7dde7;
  font-size: 0.74rem;
  text-align: center;
  white-space: nowrap;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

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

.style-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.style-gallery img {
  width: 100%;
  aspect-ratio: var(--image-ratio);
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #07100d;
  filter: contrast(1.08) saturate(1.08) brightness(1.03);
}

.style-gallery figcaption {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.muted-band {
  background: #0a100d;
  border-block: 1px solid var(--line);
}

.section-heading.compact {
  margin-bottom: 20px;
}

.pricing-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.pricing-strip strong {
  color: var(--text);
  font-size: 1.1rem;
}

.placeholder-sections {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 34px;
  padding-bottom: 46px;
  background: #08090b;
}

.placeholder-sections a {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: var(--muted);
  background: #101218;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.placeholder-sections a:hover,
.placeholder-sections a:focus-visible {
  color: var(--text);
  border-color: rgba(215, 201, 44, 0.46);
  outline: none;
  transform: translateY(-2px);
}

.placeholder-sections svg {
  width: 22px;
  height: 22px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.configurator-grid {
  grid-template-columns: 1fr;
}

.configurator {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.property-picker,
.selected-property,
.configurator-result {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.configurator-result {
  align-content: start;
  min-width: 0;
  background: #0a100d;
}

.picker-top {
  display: grid;
  gap: 6px;
}

.picker-top strong {
  font-size: 1.15rem;
}

.config-search {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
  outline: none;
}

.property-choice-list {
  display: grid;
  max-height: 320px;
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
}

.property-choice,
.garage-choice {
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.property-choice {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  text-align: left;
}

.property-choice:hover,
.property-choice.active,
.garage-choice:hover,
.garage-choice.active {
  background: rgba(34, 212, 119, 0.11);
  border-color: rgba(34, 212, 119, 0.48);
}

.property-choice.active {
  box-shadow: inset 3px 0 0 var(--yellow);
}

.property-choice.is-unavailable,
.property-choice:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  background: rgba(255, 82, 82, 0.045);
  border-color: rgba(255, 82, 82, 0.24);
  transform: none;
}

.property-choice.is-unavailable:hover,
.property-choice:disabled:hover {
  background: rgba(255, 82, 82, 0.045);
  border-color: rgba(255, 82, 82, 0.24);
}

.property-choice img {
  width: 88px;
  aspect-ratio: var(--image-ratio);
  object-fit: cover;
  object-position: center;
  background: #07100d;
  border-radius: 6px;
}

.property-choice span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.property-choice strong,
.property-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-choice small {
  color: var(--muted);
}

.property-choice .property-choice-stock {
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  color: #fff2a4;
  background: rgba(247, 222, 63, 0.08);
  border: 1px solid rgba(247, 222, 63, 0.3);
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.property-choice .property-choice-stock.is-empty {
  color: #ffb0b0;
  background: rgba(255, 82, 82, 0.08);
  border-color: rgba(255, 82, 82, 0.34);
}

.selected-property-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 6px;
  background: #07100d;
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.selected-property-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: contrast(1.08) saturate(1.08) brightness(1.03);
  border: 0;
  border-radius: 4px;
}

.selected-property {
  padding: 16px 18px;
}

.selected-property-layout {
  display: grid;
  grid-template-columns: minmax(128px, 168px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.selected-property-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.selected-property-body .config-field > span {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.selected-property-body .garage-field-hint {
  margin-bottom: 8px;
  font-size: 0.76rem;
  line-height: 1.35;
}

.selected-property-body .garage-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.selected-property-body .garage-choice {
  min-height: 36px;
  padding: 0 8px;
  font-size: 0.78rem;
}

.selected-property-body .custom-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selected-property-body .custom-option-trigger {
  min-height: 36px;
  font-size: 0.78rem;
}

.selected-property-body .range-row {
  gap: 8px;
}

.selected-property-body .range-row input[type="number"] {
  width: 72px;
  min-height: 38px;
}

.selected-property-body .range-row input[type="range"] {
  min-width: 0;
}

@media (max-width: 1100px) {
  .property-grid--special-offers,
  .direction-auctions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .property-grid--special-offers,
  .direction-auctions-grid {
    grid-template-columns: 1fr;
  }

  .auction-card-media,
  .auction-card-media .property-image {
    min-height: 210px;
  }

  .auction-card-heading,
  .auction-submit-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .auction-card-price {
    text-align: left;
  }

  .auction-identity-grid,
  .auction-bid-grid,
  .auction-auto-bid {
    grid-template-columns: 1fr;
  }

  .auction-submit-row button {
    width: 100%;
  }

  .direction-auctions-heading {
    display: grid;
  }

  .direction-auction-head {
    align-items: start;
  }

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

  .direction-auction-config button {
    grid-column: 1 / -1;
  }

  .special-offer-card .style-gallery,
  .mini-configurator .custom-option-grid,
  .custom-option-grid {
    grid-template-columns: 1fr;
  }

  .custom-option-list--grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .estimate-modal-dialog {
    width: min(100%, 520px);
  }

  .estimate-modal-property {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .estimate-modal-property img {
    width: 96px;
  }

  .mini-duration-panel .duration-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected-property-layout {
    grid-template-columns: 1fr;
  }

  .selected-property-image {
    max-height: 180px;
  }
}

.login-view .hero,
.login-view .toolbar,
.login-view .section-heading {
  display: none;
}

.login-view .content-section {
  display: grid;
  min-height: calc(100vh - 0px);
  align-items: start;
  padding-top: 0;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 212, 119, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 1px),
    #08090b;
}

.login-view .property-grid:has(.login-page) {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(24px, 5vw, 48px) 18px;
}

.employee-view .sidebar {
  display: none;
}

.employee-view .page {
  display: grid;
  min-height: 100vh;
  margin-left: 0;
}

.employee-view .hero,
.employee-view .toolbar,
.employee-view .section-heading {
  display: none;
}

.employee-view .content-section {
  display: grid;
  min-height: 100vh;
  align-items: start;
  padding: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 212, 119, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 1px),
    #08090b;
}

.employee-view .property-grid {
  display: block;
  min-height: 100vh;
  padding: 0;
}

.login-page {
  width: min(100%, 440px);
}

.login-panel {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 40px);
  background: rgba(8, 9, 11, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.login-panel-head {
  display: grid;
  gap: 10px;
  text-align: center;
}

.login-panel-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.login-logo {
  width: 78px;
  aspect-ratio: 1;
  justify-self: center;
  object-fit: cover;
  border: 1px solid rgba(215, 201, 44, 0.55);
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(34, 212, 119, 0.18);
}

.login-lead,
.login-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.login-hint code {
  color: var(--green-soft);
  font-size: 0.82rem;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form label span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.login-form input {
  min-height: 52px;
  padding: 0 14px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  outline: none;
}

.login-form input:focus {
  border-color: rgba(34, 212, 119, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.1);
}

.login-feedback {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
}

.login-feedback.is-error {
  color: #ffd4d4;
  background: rgba(255, 118, 118, 0.12);
  border: 1px solid rgba(255, 118, 118, 0.35);
}

.login-submit {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  color: #07100d;
  cursor: pointer;
  background: var(--yellow-soft);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.login-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.login-back {
  justify-self: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.login-back:hover,
.login-back:focus-visible {
  color: var(--green-soft);
  outline: none;
}

.employee-shell {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 100vh;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.employee-sidebar {
  position: sticky;
  top: 0;
  z-index: 18;
  display: grid;
  align-content: start;
  gap: 30px;
  width: 86px;
  height: 100vh;
  padding: 20px 14px;
  overflow: hidden;
  background: rgba(3, 4, 5, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.22);
  transition: width 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.employee-sidebar:hover,
.employee-sidebar:focus-within {
  width: 270px;
  background: rgba(3, 4, 5, 0.99);
  box-shadow: 26px 0 70px rgba(0, 0, 0, 0.46);
}

.employee-sidebar-head {
  display: flex;
  min-width: 242px;
  align-items: center;
}

.employee-brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 3px;
  background: #070908;
  border: 1px solid rgba(215, 201, 44, 0.55);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(215, 201, 44, 0.14);
}

.employee-brand img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.employee-brand {
  display: flex;
  min-width: 242px;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.employee-brand:hover,
.employee-brand:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(34, 212, 119, 0.24);
  outline: none;
}

.employee-brand-copy,
.employee-sidebar nav a span {
  opacity: 0;
  transform: translateX(-8px);
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.employee-sidebar:hover .employee-brand-copy,
.employee-sidebar:hover nav a span,
.employee-sidebar:focus-within .employee-brand-copy,
.employee-sidebar:focus-within nav a span {
  opacity: 1;
  transform: translateX(0);
}

.employee-brand-copy {
  display: grid;
  gap: 2px;
}

.employee-brand-copy strong {
  color: var(--text);
  font-size: 0.98rem;
}

.employee-brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.employee-sidebar nav {
  display: grid;
  gap: 8px;
  min-width: 242px;
  max-height: calc(100vh - 172px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.employee-sidebar nav::-webkit-scrollbar {
  display: none;
}

.employee-sidebar nav a {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.employee-sidebar:hover nav a,
.employee-sidebar:focus-within nav a {
  background: rgba(255, 255, 255, 0.03);
}

.employee-sidebar nav a svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.employee-sidebar nav a:hover,
.employee-sidebar nav a:focus-visible,
.employee-sidebar nav a.active {
  color: var(--text);
  background: rgba(34, 212, 119, 0.12);
  border-color: rgba(34, 212, 119, 0.24);
  outline: none;
}

.employee-sidebar nav a:hover {
  transform: translateX(2px);
}

.employee-sidebar:not(:hover):not(:focus-within) nav a.active {
  color: var(--green);
  background: transparent;
  border-color: transparent;
}

.employee-sidebar:not(:hover):not(:focus-within) nav a.active::before {
  position: absolute;
  top: 50%;
  left: -14px;
  width: 3px;
  height: 24px;
  content: "";
  background: var(--green);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 14px var(--green-glow);
  transform: translateY(-50%);
}

.employee-sidebar nav a.reduction-link.active,
.employee-sidebar nav a.reduction-link:hover,
.employee-sidebar nav a.reduction-link:focus-visible {
  background: rgba(255, 60, 60, 0.14);
  border-color: rgba(255, 80, 80, 0.42);
}

.employee-sidebar:not(:hover):not(:focus-within) nav a.reduction-link.active {
  color: var(--danger);
  background: transparent;
  border-color: transparent;
}

.employee-sidebar:not(:hover):not(:focus-within) nav a.reduction-link.active::before {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 118, 118, 0.28);
}

.employee-workspace {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px) clamp(22px, 4vw, 48px) clamp(22px, 4vw, 48px);
}

.employee-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.employee-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-logout {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--text);
  background: #171b20;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.employee-logout:hover,
.employee-logout:focus-visible {
  color: #07100d;
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
  outline: none;
}

.employee-intro {
  display: grid;
  max-width: 760px;
  gap: 8px;
  min-width: 0;
}

.employee-intro .eyebrow {
  margin-bottom: 2px;
}

.employee-intro h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.employee-status,
.employee-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.employee-status {
  min-height: 26px;
}

.employee-module {
  max-width: 860px;
  margin-top: 8px;
}

.employee-module--configurator {
  max-width: none;
  width: 100%;
}

.employee-module--reglement {
  max-width: none;
  width: 100%;
}

.employee-module--partnership {
  max-width: none;
  width: 100%;
}

.employee-module--direction-logs {
  width: 100%;
  max-width: none;
}

.employee-module--direction-tools {
  width: 100%;
  max-width: none;
}

.partnership-layout {
  display: grid;
  gap: 22px;
}

.partnership-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 8px;
}

.partnership-head > .eyebrow,
.partnership-head > h3,
.partnership-head > .partnership-lead {
  grid-column: 1;
}

.partnership-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.partnership-lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.partnership-promo-notice {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 74px;
  align-items: center;
  gap: 13px;
  align-self: center;
  padding: 14px 16px;
  color: #ffe8a3;
  background: linear-gradient(135deg, rgba(215, 201, 44, 0.12), rgba(255, 152, 56, 0.07));
  border: 1px solid rgba(239, 193, 54, 0.34);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.partnership-promo-notice svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partnership-promo-notice span {
  display: grid;
  gap: 5px;
}

.partnership-promo-notice strong {
  color: #fff2bb;
  font-size: 0.92rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.partnership-promo-notice small {
  color: #cdbf91;
  font-size: 0.78rem;
  line-height: 1.4;
}

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

.partnership-overview .employee-empty.partnership-empty {
  grid-column: 1 / -1;
}

.dashboard-card--partnership-admin {
  grid-column: 1 / -1;
}

.partnership-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.partnership-field {
  display: grid;
  gap: 6px;
}

.partnership-field span {
  color: var(--green-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partnership-field input {
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.partnership-field input:focus {
  border-color: rgba(34, 212, 119, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.partnership-form .employee-action.submit {
  min-height: 42px;
  align-self: end;
}

.partnership-form-feedback {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.86rem;
}

.partnership-form-feedback.is-error {
  color: #ffb4b4;
}

.partnership-delete {
  width: 100%;
  justify-content: center;
}

.partnership-code-copy {
  justify-self: end;
  padding: 4px 10px;
  color: var(--yellow-soft);
  font-size: inherit;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(215, 201, 44, 0.1);
  border: 1px dashed rgba(215, 201, 44, 0.45);
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.partnership-code-copy:hover {
  color: #fff6b0;
  background: rgba(215, 201, 44, 0.16);
  border-color: rgba(215, 201, 44, 0.65);
}

.partnership-code-copy.is-copied {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.12);
  border-color: rgba(34, 212, 119, 0.45);
  border-style: solid;
}

@media (max-width: 980px) {
  .partnership-head {
    grid-template-columns: 1fr;
  }

  .partnership-promo-notice {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
  }

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

  .partnership-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .partnership-overview {
    grid-template-columns: 1fr;
  }
}

.employee-module--configurator .configurator {
  grid-template-columns: 1fr;
}

.employee-module--configurator .configurator-result {
  align-content: start;
}

@media (max-width: 1180px) {
  .billing-capture-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  display: grid;
  width: 100%;
  height: 100%;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 22px;
  background: rgba(18, 24, 22, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.employee-module--dashboard {
  max-width: none;
  width: 100%;
}

.employee-module--classement {
  max-width: 1240px;
}

.classement-panel {
  display: grid;
  gap: 18px;
}

.classement-leaderboard {
  display: grid;
  gap: 12px;
}

.classement-leaderboards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.sales-leaderboard--bare {
  padding-top: 0;
}

.dashboard-panel {
  width: 100%;
}

.dashboard-admin-bar {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-activity-log-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.dashboard-activity-log-button svg {
  width: 17px;
  height: 17px;
}

.dashboard-activity-log-button:hover,
.dashboard-activity-log-button:focus-visible {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.34);
  outline: none;
}

.dashboard-admin-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-announcement-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: min(7vh, 56px) 18px 28px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.78);
}

.dashboard-announcement-overlay[hidden] {
  display: none;
}

.dashboard-announcement-form {
  position: relative;
  display: grid;
  gap: 14px;
  justify-self: center;
  width: min(720px, 100%);
  max-height: calc(100vh - 72px);
  overflow: visible;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 24, 0.96), rgba(7, 13, 12, 0.92));
  border: 1px solid rgba(34, 212, 119, 0.36);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
  contain: layout paint;
}

.dashboard-announcement-form[hidden] {
  display: none;
}

.dashboard-announcement-form label {
  display: grid;
  gap: 8px;
}

.dashboard-announcement-form label > span:not(.dashboard-announcement-switch):not(.dashboard-announcement-check-text) {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-announcement-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 12px 14px;
  color: var(--text);
  background: #141922;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.dashboard-announcement-form input[type="url"],
.dashboard-announcement-form input[type="text"],
.dashboard-announcement-status-trigger {
  width: 100%;
  padding: 12px 14px;
  color: var(--muted);
  background: #141922;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.dashboard-announcement-form textarea:focus,
.dashboard-announcement-form input[type="url"]:focus,
.dashboard-announcement-form input[type="text"]:focus,
.dashboard-announcement-status-trigger:focus {
  border-color: rgba(34, 212, 119, 0.6);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.dashboard-announcement-option {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0;
  margin: 0;
  border: 0;
}

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

.dashboard-announcement-check {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 10px 14px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.dashboard-announcement-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dashboard-announcement-check:has(input:checked) {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.14);
  border-color: rgba(34, 212, 119, 0.46);
}

.dashboard-announcement-check:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.dashboard-announcement-switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.dashboard-announcement-switch::after {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--muted);
  border-radius: 999px;
  transform: translateY(-50%);
  transition: left 0.12s ease, background 0.12s ease;
}

.dashboard-announcement-check:has(input:checked) .dashboard-announcement-switch {
  background: rgba(34, 212, 119, 0.2);
  border-color: rgba(34, 212, 119, 0.5);
}

.dashboard-announcement-check:has(input:checked) .dashboard-announcement-switch::after {
  left: 20px;
  background: var(--green-soft);
}

.dashboard-announcement-check-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboard-announcement-check-text strong,
.dashboard-announcement-check-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-announcement-check-text strong {
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.dashboard-announcement-check-text small {
  color: var(--muted);
  font-size: 0.74rem;
}

.dashboard-announcement-check:has(input:checked) .dashboard-announcement-check-text small {
  color: var(--green-soft);
}

.dashboard-announcement-status-menu {
  position: relative;
  display: grid;
  gap: 8px;
}

.dashboard-announcement-status-trigger {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.dashboard-announcement-status-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.dashboard-announcement-status-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 3;
  display: grid;
  overflow: hidden;
  background: #111720;
  border: 1px solid rgba(34, 212, 119, 0.38);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.dashboard-announcement-status-list[hidden] {
  display: none;
}

.dashboard-announcement-status-list button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.dashboard-announcement-status-list button:last-child {
  border-bottom: 0;
}

.dashboard-announcement-status-list button:hover,
.dashboard-announcement-status-list button:focus {
  color: #07100d;
  background: var(--green-soft);
  outline: none;
}

.dashboard-announcement-action-fields {
  display: grid;
  gap: 8px;
}

.dashboard-announcement-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sales-leaderboard {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sales-leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sales-leaderboard-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.sales-leaderboard-total {
  display: grid;
  gap: 4px;
  min-width: 118px;
  padding: 10px 12px;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.sales-leaderboard-total span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sales-leaderboard-total strong {
  color: var(--yellow-soft);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.sales-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sales-podium-card {
  display: grid;
  gap: 12px;
  min-height: 150px;
  align-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.sales-podium-card.is-self {
  border-color: rgba(34, 212, 119, 0.36);
  box-shadow: inset 0 0 0 1px rgba(34, 212, 119, 0.1);
}

.sales-podium-rank {
  display: inline-flex;
  width: fit-content;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.sales-rank-gold .sales-podium-rank {
  color: #2b2100;
  background: linear-gradient(135deg, #f6de72, #d7a928);
}

.sales-rank-silver .sales-podium-rank {
  color: #1d2430;
  background: linear-gradient(135deg, #eef2f7, #9aa6b2);
}

.sales-rank-bronze .sales-podium-rank {
  color: #2a1608;
  background: linear-gradient(135deg, #efb27a, #b56a2d);
}

.sales-podium-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sales-podium-copy strong {
  overflow: hidden;
  font-size: 1.08rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-podium-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.sales-podium-count {
  color: var(--green-soft);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

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

.sales-leaderboard-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.sales-leaderboard-item.is-self {
  border-color: rgba(34, 212, 119, 0.28);
  box-shadow: inset 0 0 0 1px rgba(34, 212, 119, 0.08);
}

.sales-leaderboard-rank {
  display: inline-flex;
  min-width: 52px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.sales-rank-gold .sales-leaderboard-rank,
.sales-rank-badge.sales-rank-gold {
  color: #2b2100;
  background: linear-gradient(135deg, #f6de72, #d7a928);
  border: 1px solid rgba(255, 236, 153, 0.65);
}

.sales-rank-silver .sales-leaderboard-rank,
.sales-rank-badge.sales-rank-silver {
  color: #1d2430;
  background: linear-gradient(135deg, #eef2f7, #9aa6b2);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.sales-rank-bronze .sales-leaderboard-rank,
.sales-rank-badge.sales-rank-bronze {
  color: #2a1608;
  background: linear-gradient(135deg, #efb27a, #b56a2d);
  border: 1px solid rgba(255, 205, 160, 0.55);
}

.sales-rank-default .sales-leaderboard-rank,
.sales-rank-badge.sales-rank-default {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.sales-leaderboard-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sales-leaderboard-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-leaderboard-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.sales-leaderboard-count {
  color: var(--green-soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.sales-rank-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  margin-top: 6px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.sales-leaderboard-empty {
  margin: 0;
}

.dashboard-team {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-team-head {
  display: grid;
  gap: 8px;
}

.dashboard-team-head .eyebrow {
  margin-bottom: 0;
}

.dashboard-team-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.dashboard-direction {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(12, 26, 20, 0.84), rgba(10, 13, 16, 0.78));
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.direction-weekly-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.direction-weekly-highlight {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 96px;
  padding: 17px 20px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(247, 222, 63, 0.075), transparent 55%),
    #0c1512;
  border: 1px solid rgba(247, 222, 63, 0.3);
  border-radius: 8px;
}

.direction-weekly-highlight::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 3px;
  background: var(--yellow);
}

.direction-weekly-highlight--time {
  background:
    linear-gradient(110deg, rgba(34, 212, 119, 0.07), transparent 55%),
    #0c1512;
  border-color: rgba(34, 212, 119, 0.28);
}

.direction-weekly-highlight--time::after {
  background: var(--green-soft);
}

.direction-weekly-highlight-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--yellow);
  background: rgba(247, 222, 63, 0.09);
  border: 1px solid rgba(247, 222, 63, 0.26);
  border-radius: 8px;
}

.direction-weekly-highlight--time .direction-weekly-highlight-icon {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.24);
}

.direction-weekly-highlight-icon svg {
  width: 25px;
  height: 25px;
}

.direction-weekly-highlight > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.direction-weekly-highlight > div > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.direction-weekly-highlight strong {
  overflow-wrap: anywhere;
  color: var(--yellow-soft);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.direction-weekly-highlight--time strong {
  color: var(--green-soft);
}

.direction-weekly-highlight small {
  color: var(--muted);
  font-size: 0.72rem;
}

.direction-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.direction-quick-links button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 12px;
  min-height: 92px;
  align-items: center;
  padding: 14px;
  color: var(--text);
  cursor: pointer;
  background: #0c1512;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.direction-quick-links button:hover,
.direction-quick-links button:focus-visible {
  background: #102019;
  border-color: rgba(34, 212, 119, 0.58);
  outline: none;
  transform: translateY(-1px);
}

.direction-quick-links button > span:not(.direction-quick-icon) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.direction-quick-links strong {
  font-size: 1rem;
}

.direction-quick-links small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.direction-quick-links button > svg {
  width: 18px;
  height: 18px;
  color: var(--green-soft);
}

.direction-quick-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--green);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.direction-quick-icon svg {
  width: 21px;
  height: 21px;
}

.direction-tool-page {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(12, 26, 20, 0.84), rgba(10, 13, 16, 0.78));
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 8px;
}

@media (min-width: 1280px) {
  .direction-tool-page--catalog {
    grid-template-columns: minmax(420px, 0.86fr) minmax(620px, 1.34fr);
    gap: 16px;
    align-items: start;
  }

  .direction-tool-page--catalog > .direction-tool-header,
  .direction-tool-page--catalog > .employee-empty {
    grid-column: 1 / -1;
  }

  .direction-tool-page--catalog > .direction-season-themes,
  .direction-tool-page--catalog > .direction-page-visibility {
    grid-column: 1;
  }

  .direction-tool-page--catalog > .direction-golden-ticket,
  .direction-tool-page--catalog > .direction-auctions {
    grid-column: 2;
  }

  .direction-tool-page--catalog > .direction-season-themes,
  .direction-tool-page--catalog > .direction-golden-ticket {
    grid-row: 2;
    height: 100%;
  }

  .direction-tool-page--catalog > .direction-page-visibility,
  .direction-tool-page--catalog > .direction-auctions {
    grid-row: 3;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .direction-tool-page--catalog .direction-golden-ticket-fields {
    grid-template-columns: minmax(110px, 0.45fr) minmax(220px, 1fr);
  }

  .direction-tool-page--catalog .direction-golden-ticket-fields label:nth-child(3),
  .direction-tool-page--catalog .direction-golden-ticket-save {
    grid-column: 1 / -1;
  }
}

.direction-tool-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.direction-tool-header > div {
  display: grid;
  gap: 7px;
}

.direction-tool-header h3,
.direction-tool-header p {
  margin: 0;
}

.direction-tool-header h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.direction-tool-header p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.direction-tool-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--green-soft);
  cursor: pointer;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.26);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.direction-tool-back:hover,
.direction-tool-back:focus-visible {
  background: rgba(34, 212, 119, 0.14);
  outline: none;
}

.direction-tool-back svg {
  width: 18px;
  height: 18px;
}

.direction-log-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.direction-log-summary article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-log-summary svg {
  width: 21px;
  height: 21px;
  color: var(--green);
}

.direction-log-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-log-summary strong {
  color: var(--yellow-soft);
  font-size: 1.15rem;
}

.direction-logs-table-panel {
  overflow: visible;
  background: rgba(5, 10, 9, 0.66);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-log-filters {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

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

.direction-filter-field > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-filter-picker {
  position: relative;
  min-width: 0;
}

.direction-filter-trigger {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  color: var(--text);
  cursor: pointer;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  outline: none;
  text-align: left;
}

.direction-filter-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-filter-trigger svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--green-soft);
  transition: transform 140ms ease;
}

.direction-filter-trigger:hover,
.direction-filter-trigger:focus-visible,
.direction-filter-trigger[aria-expanded="true"] {
  border-color: var(--green);
  outline: none;
}

.direction-filter-trigger[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.direction-filter-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.direction-filter-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 300px;
  padding: 6px;
  overflow-y: auto;
  background: #10151c;
  border: 1px solid rgba(34, 212, 119, 0.42);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52);
}

.direction-filter-menu[hidden] {
  display: none;
}

.direction-filter-menu button {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
}

.direction-filter-menu button:hover,
.direction-filter-menu button:focus-visible,
.direction-filter-menu button.is-selected {
  background: rgba(34, 212, 119, 0.12);
  outline: none;
}

.direction-filter-menu button > svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--green-soft);
}

.direction-filter-menu button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.direction-filter-menu button strong,
.direction-filter-menu button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-filter-menu button small {
  color: var(--muted);
  font-size: 0.72rem;
}

.direction-filter-menu--employees {
  min-width: min(360px, calc(100vw - 64px));
}

.direction-log-filters > strong {
  min-width: 100px;
  padding-bottom: 12px;
  color: var(--green-soft);
  font-size: 0.82rem;
  text-align: right;
}

.direction-log-grid {
  min-width: 0;
}

.direction-log-grid-head,
.direction-log-row {
  display: grid;
  grid-template-columns:
    minmax(105px, 0.8fr)
    minmax(94px, 0.65fr)
    minmax(140px, 1fr)
    minmax(220px, 1.65fr)
    minmax(92px, 0.65fr);
  gap: 14px;
  align-items: center;
}

.direction-log-grid-head {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}

.direction-log-grid-head span {
  color: var(--green-soft);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-log-grid-body {
  display: grid;
}

.direction-log-row {
  min-width: 0;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.direction-log-row:last-child {
  border-bottom: 0;
}

.direction-log-row > div,
.direction-log-row > strong {
  min-width: 0;
}

.direction-log-employee > strong,
.direction-log-employee > span {
  display: block;
}

.direction-log-employee > span,
.direction-log-date time,
.direction-log-detail span {
  color: var(--muted);
  font-size: 0.78rem;
}

.direction-log-detail {
  min-width: 0;
}

.direction-log-detail span {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.direction-log-type {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.direction-log-type svg {
  width: 15px;
  height: 15px;
}

.direction-log-type--paye {
  color: #f1de64 !important;
  background: rgba(215, 201, 44, 0.08);
}

.direction-log-type--vente {
  color: var(--green-soft) !important;
  background: rgba(34, 212, 119, 0.08);
}

.direction-log-type--avis {
  color: #b9c9ff !important;
  background: rgba(102, 126, 234, 0.1);
}

.direction-log-type--reset {
  color: #ffaaaa !important;
  background: rgba(255, 91, 91, 0.1);
}

.direction-log-amount {
  color: var(--yellow-soft);
  font-weight: 900;
  white-space: nowrap;
}

.direction-logs-empty {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: var(--muted);
}

.direction-logs-empty svg {
  width: 20px;
  height: 20px;
}

.direction-audit-page {
  min-width: 0;
}

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

.direction-audit-summary article {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-audit-summary span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-audit-summary strong {
  color: var(--yellow-soft);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.direction-audit-panel {
  min-width: 0;
  overflow: visible;
  background: rgba(5, 10, 9, 0.66);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-audit-filters {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(210px, 0.8fr) minmax(280px, 1.15fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.direction-audit-filters label,
.direction-audit-filter-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.direction-audit-filters label > span,
.direction-audit-filter-field > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-audit-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.direction-audit-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.direction-audit-search svg {
  width: 17px;
  height: 17px;
  color: var(--green-soft);
}

.direction-audit-search input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
}

.direction-audit-filter-field .direction-filter-menu {
  min-width: max(100%, 260px);
}

.direction-audit-filters > strong {
  min-width: 90px;
  padding-bottom: 12px;
  color: var(--green-soft);
  font-size: 0.78rem;
  text-align: right;
  white-space: nowrap;
}

.direction-audit-head,
.direction-audit-row {
  display: grid;
  grid-template-columns:
    minmax(155px, 0.9fr)
    minmax(130px, 0.72fr)
    minmax(190px, 1.05fr)
    minmax(320px, 1.9fr)
    minmax(180px, 1fr);
  gap: 18px;
  align-items: center;
}

.direction-audit-head {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.direction-audit-head span {
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-audit-list {
  display: grid;
}

.direction-audit-row {
  min-width: 0;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 120ms ease;
}

.direction-audit-row:last-child {
  border-bottom: 0;
}

.direction-audit-row:hover {
  background: rgba(34, 212, 119, 0.04);
}

.direction-audit-row time {
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.direction-audit-type {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.direction-audit-type svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

.direction-audit-type--green { color: #74e7aa; background: rgba(34, 212, 119, 0.08); }
.direction-audit-type--yellow { color: #f1de64; background: rgba(215, 201, 44, 0.08); }
.direction-audit-type--blue { color: #9dc5ff; background: rgba(79, 145, 255, 0.1); }
.direction-audit-type--purple { color: #cfb5ff; background: rgba(156, 106, 255, 0.1); }
.direction-audit-type--orange { color: #ffc178; background: rgba(255, 151, 55, 0.1); }
.direction-audit-type--red { color: #ffaaaa; background: rgba(255, 91, 91, 0.1); }
.direction-audit-type--cyan { color: #79ddeb; background: rgba(56, 193, 214, 0.1); }
.direction-audit-type--neutral { color: var(--muted); background: rgba(255, 255, 255, 0.035); }

.direction-audit-actor,
.direction-audit-action,
.direction-audit-target {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.direction-audit-actor strong,
.direction-audit-action strong,
.direction-audit-target strong {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.direction-audit-actor span,
.direction-audit-action span,
.direction-audit-target span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.dashboard-direction-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.dashboard-direction-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.dashboard-direction-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 8px;
}

.dashboard-direction-summary article {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-direction-summary span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-direction-summary strong {
  color: var(--yellow-soft);
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}

.direction-season-themes {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(7, 15, 12, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.direction-season-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.direction-season-heading > div {
  display: grid;
  gap: 5px;
}

.direction-season-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.direction-season-heading p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.direction-season-current {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
}

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

.direction-season-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  transition: background 160ms ease, border-color 160ms ease;
}

.direction-season-card--christmas.is-active {
  background: rgba(28, 154, 91, 0.09);
  border-color: rgba(69, 222, 139, 0.5);
}

.direction-season-card--halloween.is-active {
  background: rgba(235, 116, 35, 0.09);
  border-color: rgba(245, 133, 58, 0.52);
}

.direction-season-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #e9fff3;
  background: #17392a;
  border: 1px solid rgba(69, 222, 139, 0.36);
  border-radius: 8px;
}

.direction-season-card--halloween .direction-season-icon {
  color: #ffe2c8;
  background: #3a2117;
  border-color: rgba(245, 133, 58, 0.42);
}

.direction-season-icon svg {
  width: 21px;
  height: 21px;
}

.direction-season-copy {
  display: grid;
  gap: 4px;
}

.direction-season-copy strong {
  color: var(--text);
  font-size: 0.94rem;
}

.direction-season-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.42;
}

.direction-golden-ticket {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #10150f;
  border: 1px solid rgba(247, 222, 63, 0.32);
  border-radius: 8px;
}

.direction-golden-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.direction-golden-ticket-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.direction-golden-ticket-heading > div {
  display: grid;
  gap: 4px;
}

.direction-golden-ticket-heading strong {
  color: var(--text);
  font-size: 1.05rem;
}

.direction-golden-ticket-heading p,
.direction-golden-ticket-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.direction-golden-ticket-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #171609;
  background: var(--yellow-soft);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(247, 222, 63, 0.14);
}

.direction-golden-ticket-icon svg {
  width: 22px;
  height: 22px;
}

.direction-golden-ticket-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(210px, 0.68fr) minmax(300px, 1.25fr) auto;
  gap: 10px;
  align-items: end;
}

.direction-golden-ticket-fields label {
  display: grid;
  gap: 6px;
}

.direction-golden-ticket-fields label > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-golden-ticket-count small {
  min-height: 16px;
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.direction-golden-ticket-fields input,
.direction-golden-ticket-fields textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  background: #121820;
  border: 1px solid rgba(247, 222, 63, 0.22);
  border-radius: 8px;
  outline: none;
}

.direction-golden-ticket-fields input {
  min-height: 44px;
  padding: 0 12px;
}

.direction-golden-ticket-fields textarea {
  min-height: 76px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.45;
}

.direction-golden-ticket-fields input:focus,
.direction-golden-ticket-fields textarea:focus {
  border-color: rgba(247, 222, 63, 0.7);
  box-shadow: 0 0 0 3px rgba(247, 222, 63, 0.08);
}

.direction-golden-ticket-save {
  min-height: 44px;
  padding: 0 16px;
  color: #111006;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  background: var(--yellow-soft);
  border: 0;
  border-radius: 8px;
}

.direction-golden-ticket-save:hover {
  background: #fff078;
}

.direction-golden-ticket-save:disabled {
  cursor: wait;
  opacity: 0.6;
}

.golden-ticket-found {
  position: absolute;
  z-index: 8;
  top: 86px;
  right: 12px;
  display: flex;
  flex-direction: row-reverse;
  width: 196px;
  height: 92px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 13px;
  overflow: hidden;
  color: #4b3100;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: wait;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.62) 45%, transparent 59%) -160px 0 / 120px 100% no-repeat,
    linear-gradient(135deg, #c98a13 0%, #ffe890 30%, #e5a622 62%, #fff0a3 100%);
  border: 1px solid #ffdb62;
  border-radius: 5px 13px 13px 5px;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(128, 76, 0, 0.2),
    inset 0 0 0 5px rgba(255, 245, 180, 0.22);
  clip-path: inset(0 0 0 154px round 5px 13px 13px 5px);
  transform: rotate(-2deg);
  transform-origin: right center;
  transition: clip-path 420ms cubic-bezier(0.2, 0.85, 0.25, 1), transform 320ms ease, box-shadow 320ms ease;
}

.property-card.has-golden-ticket,
.reviews-feed.has-golden-ticket {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.property-card.has-golden-ticket::after,
.reviews-feed.has-golden-ticket::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border-radius: inherit;
}

.reviews-feed.has-golden-ticket::after {
  background: #0d1111;
}

.property-card.has-golden-ticket > .property-image,
.property-card.has-golden-ticket > .card-body,
.property-card.has-golden-ticket > .property-card-layout,
.reviews-feed.has-golden-ticket > .reviews-feed-header,
.reviews-feed.has-golden-ticket > .reviews-list {
  position: relative;
  z-index: 2;
}

.golden-ticket-found--card,
.golden-ticket-found--reviews {
  z-index: 0;
  right: -36px;
  clip-path: none;
}

.golden-ticket-found--reviews {
  top: 78px;
}

.estimate-modal-content.has-golden-ticket {
  position: relative;
}

.golden-ticket-found--estimate {
  top: 88px;
  right: 0;
}

.golden-ticket-found::before,
.golden-ticket-found::after {
  position: absolute;
  left: -5px;
  z-index: 2;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--bg);
  border-radius: 50%;
  box-shadow:
    0 14px 0 var(--bg),
    0 28px 0 var(--bg),
    0 42px 0 var(--bg),
    0 56px 0 var(--bg),
    0 70px 0 var(--bg);
}

.golden-ticket-found::before {
  top: -3px;
}

.golden-ticket-found::after {
  right: -5px;
  left: auto;
  top: -3px;
}

.golden-ticket-found:hover,
.golden-ticket-found:focus-visible,
.golden-ticket-found.is-watching,
.golden-ticket-found.is-unlocked {
  background-position: 260px 0, 0 0;
  clip-path: inset(0 round 5px 13px 13px 5px);
  outline: none;
  transform: rotate(0);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.52),
    0 0 32px rgba(247, 222, 63, 0.2),
    inset 0 0 0 2px rgba(128, 76, 0, 0.2),
    inset 0 0 0 5px rgba(255, 245, 180, 0.24);
  transition:
    clip-path 420ms cubic-bezier(0.2, 0.85, 0.25, 1),
    transform 320ms ease,
    box-shadow 320ms ease,
    background-position 900ms ease;
}

.golden-ticket-found--card:hover,
.golden-ticket-found--card:focus-visible,
.golden-ticket-found--card.is-watching,
.golden-ticket-found--card.is-unlocked,
.golden-ticket-found--reviews:hover,
.golden-ticket-found--reviews:focus-visible,
.golden-ticket-found--reviews.is-watching,
.golden-ticket-found--reviews.is-unlocked {
  z-index: 4;
  right: 12px;
}

.golden-ticket-stub {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 52px;
  place-items: center;
  color: #5b3a00;
  border-left: 1px dashed rgba(91, 58, 0, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.golden-ticket-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 5px;
}

.golden-ticket-copy small {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.golden-ticket-copy strong {
  min-height: 1.15em;
  font-size: 0.78rem;
  line-height: 1.15;
}

.golden-ticket-progress {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(82, 49, 0, 0.2);
  border-radius: 999px;
}

.golden-ticket-progress i {
  position: absolute;
  inset: 0;
  background: #604000;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
}

.golden-ticket-found.is-watching .golden-ticket-progress i {
  transform: scaleX(1);
  transition: transform 15s linear;
}

.golden-ticket-found.is-unlocked {
  cursor: pointer;
  animation: goldenTicketUnlocked 1.3s ease-in-out infinite;
}

.golden-ticket-found.is-unlocked .golden-ticket-progress i {
  background: #19794d;
  transform: scaleX(1);
}

.golden-ticket-found.is-opening {
  pointer-events: none;
  animation: goldenTicketOpening 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.golden-ticket-found.is-impatient {
  animation: goldenTicketShake 360ms ease;
}

.golden-ticket-found.is-claimed {
  color: #cbd6d0;
  background: #17201c;
  border-color: rgba(34, 212, 119, 0.36);
  animation: none;
}

@keyframes goldenTicketUnlocked {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}

@keyframes goldenTicketShake {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(4px);
  }
}

@keyframes goldenTicketOpening {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  55% {
    opacity: 1;
    transform: scale(1.12) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.65) rotate(10deg);
  }
}

body.golden-ticket-open {
  overflow: hidden;
}

.golden-ticket-modal[hidden] {
  display: none !important;
}

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

.golden-ticket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 4, 0.82);
  backdrop-filter: blur(8px);
}

.golden-ticket-dialog {
  position: relative;
  display: grid;
  width: min(520px, 100%);
  gap: 16px;
  padding: 26px;
  overflow: hidden;
  color: var(--text);
  background: #11170f;
  border: 1px solid rgba(247, 222, 63, 0.56);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.64);
  opacity: 0;
  transform: translateY(18px) scale(0.94);
}

.golden-ticket-dialog.is-revealing {
  animation: goldenRewardDialogIn 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.golden-ticket-reward-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 250px;
  align-content: center;
  padding: 34px 42px;
  overflow: hidden;
  color: #493000;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(135deg, #bd7910, #ffe795 35%, #d99b1f 68%, #ffec9f);
  border: 1px solid #ffe69a;
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 3px rgba(125, 75, 0, 0.22),
    inset 0 0 0 8px rgba(255, 247, 191, 0.25),
    0 22px 54px rgba(0, 0, 0, 0.38);
}

.golden-ticket-reward-card::before,
.golden-ticket-reward-card::after {
  position: absolute;
  top: -5px;
  left: -6px;
  width: 12px;
  height: 12px;
  content: "";
  background: #11170f;
  border-radius: 50%;
  box-shadow:
    0 22px 0 #11170f,
    0 44px 0 #11170f,
    0 66px 0 #11170f,
    0 88px 0 #11170f,
    0 110px 0 #11170f,
    0 132px 0 #11170f,
    0 154px 0 #11170f,
    0 176px 0 #11170f,
    0 198px 0 #11170f,
    0 220px 0 #11170f,
    0 242px 0 #11170f;
}

.golden-ticket-reward-card::after {
  right: -6px;
  left: auto;
}

.golden-ticket-reward-shine {
  position: absolute;
  inset: -70% auto -70% -35%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(18deg);
  animation: goldenRewardShine 1.1s 300ms ease-out both;
}

.golden-ticket-dialog h2 {
  margin: 2px 0 0;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
}

.golden-ticket-reward-card > p {
  margin: 0;
  color: #5d4108;
  font-weight: 700;
  line-height: 1.65;
  white-space: pre-wrap;
}

.golden-ticket-reward-card .panel-label {
  color: #684700;
}

.golden-ticket-emblem {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  place-items: center;
  color: #ffe99b;
  background: #503400;
  border: 2px solid rgba(255, 241, 169, 0.68);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(80, 52, 0, 0.16);
}

.golden-ticket-emblem span {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.golden-ticket-close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  background: #1b211f;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.golden-ticket-close svg {
  width: 18px;
  height: 18px;
}

.golden-ticket-confirm {
  justify-self: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  color: #111006;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: var(--yellow-soft);
  border: 0;
  border-radius: 8px;
}

@keyframes goldenRewardDialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes goldenRewardShine {
  from {
    left: -35%;
  }
  to {
    left: 125%;
  }
}

.direction-page-visibility {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 20px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(7, 15, 12, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.direction-page-visibility-copy {
  display: grid;
  gap: 5px;
}

.direction-page-visibility-copy strong {
  color: var(--text);
  font-size: 1rem;
}

.direction-page-visibility-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.direction-page-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.direction-page-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.direction-page-switch-track {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  background: #282d2c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: background 160ms ease, border-color 160ms ease;
}

.direction-page-switch-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #a8b0af;
  border-radius: 50%;
  transition: transform 160ms ease, background 160ms ease;
}

.direction-page-switch input:checked + .direction-page-switch-track {
  background: rgba(34, 212, 119, 0.24);
  border-color: rgba(34, 212, 119, 0.68);
}

.direction-page-switch input:checked + .direction-page-switch-track span {
  background: var(--green-soft);
  transform: translateX(22px);
}

.direction-page-switch input:focus-visible + .direction-page-switch-track {
  outline: 2px solid var(--yellow-soft);
  outline-offset: 3px;
}

.direction-page-switch input:disabled + .direction-page-switch-track {
  opacity: 0.55;
}

.direction-page-switch-status {
  min-width: 70px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
}

.direction-page-stock {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(150px, 190px) auto;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.direction-page-stock-switch {
  align-self: center;
}

.direction-page-stock-count {
  display: grid;
  gap: 6px;
}

.direction-page-stock-count span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-page-stock-count input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  outline: none;
}

.direction-page-stock-count input:focus {
  border-color: rgba(34, 212, 119, 0.64);
}

.direction-page-stock-count input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.direction-page-stock-save {
  min-height: 40px;
  padding: 0 15px;
  color: #07100d;
  font-weight: 900;
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.direction-page-stock-save:hover {
  background: var(--yellow-soft);
}

.direction-page-stock-save:disabled {
  opacity: 0.6;
  cursor: wait;
}

.direction-page-visibility-feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
}

.direction-page-visibility-feedback.is-success {
  color: var(--green-soft);
}

.direction-page-visibility-feedback.is-error {
  color: #ffaaaa;
}

.catalog-season-layer {
  position: fixed;
  z-index: 18;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.catalog-season-garland {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 33px;
  grid-template-columns: repeat(14, 1fr);
  align-items: start;
  padding: 0 18px;
}

.catalog-season-garland::before {
  position: absolute;
  top: 3px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: #244e39;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.catalog-season-garland > span {
  position: relative;
  justify-self: center;
  width: 8px;
  height: 13px;
  margin-top: 7px;
  background: #f5df4a;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 11px currentColor;
  animation: catalogChristmasLight 2.2s ease-in-out infinite;
  animation-delay: calc(var(--season-index) * -0.14s);
}

.catalog-season-garland > span:nth-child(3n + 1) {
  color: #ff665f;
  background: #ff665f;
}

.catalog-season-garland > span:nth-child(3n + 2) {
  color: #61e99f;
  background: #61e99f;
}

.catalog-season-garland > span:nth-child(3n) {
  color: #f5df4a;
  background: #f5df4a;
}

.catalog-season-side-garland {
  position: absolute;
  top: 64px;
  bottom: 70px;
  display: grid;
  width: 22px;
  grid-template-rows: repeat(9, 1fr);
  align-items: center;
}

.catalog-season-side-garland::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  content: "";
  background: #244e39;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.catalog-season-side-garland--left {
  left: 4px;
}

.catalog-season-side-garland--right {
  right: 4px;
}

.catalog-season-side-garland > span {
  position: relative;
  width: 9px;
  height: 13px;
  justify-self: center;
  color: #f5df4a;
  background: currentColor;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  animation: catalogChristmasLight 2.2s ease-in-out infinite;
  animation-delay: calc(var(--season-index) * -0.18s);
}

.catalog-season-side-garland > span:nth-child(3n + 1) {
  color: #ff665f;
}

.catalog-season-side-garland > span:nth-child(3n + 2) {
  color: #61e99f;
}

.christmas-card-decoration {
  display: none;
}

body.catalog-season-christmas .property-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background:
    radial-gradient(circle at 8px 3px, #ff665f 0 3px, transparent 3.5px) 0 0 / 36px 7px repeat-x,
    radial-gradient(circle at 26px 3px, #f5df4a 0 3px, transparent 3.5px) 0 0 / 36px 7px repeat-x,
    #244e39;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

body.catalog-season-christmas .christmas-card-decoration {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 14px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff4b2;
  background: rgba(170, 34, 47, 0.9);
  border: 1px solid rgba(255, 240, 176, 0.72);
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
  animation: catalogGiftFloat 3.2s ease-in-out infinite;
}

body.catalog-season-christmas .christmas-card-decoration svg:first-child {
  width: 22px;
  height: 22px;
}

body.catalog-season-christmas .christmas-card-decoration svg + svg {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 16px;
  height: 16px;
  color: #f5df4a;
}

body.catalog-season-christmas .property-card:nth-child(even) .christmas-card-decoration {
  color: #e9fff3;
  background: rgba(25, 119, 74, 0.92);
}

body.catalog-season-christmas .property-card:has(.golden-ticket-found) .christmas-card-decoration {
  right: 142px;
}

.catalog-season-corner {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: end;
  gap: 5px;
  opacity: 0.88;
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, 0.45));
}

.catalog-season-corner--left {
  left: 18px;
}

.catalog-season-corner--right {
  right: 18px;
}

.catalog-season-corner svg {
  width: 38px;
  height: 38px;
}

.catalog-season-corner svg + svg {
  width: 27px;
  height: 27px;
}

.catalog-season-layer--christmas .catalog-season-corner {
  color: #f7de3f;
}

.catalog-season-layer--christmas .catalog-season-corner svg:first-child {
  color: #38d985;
}

.catalog-season-particles {
  position: absolute;
  inset: 0;
}

.catalog-season-particle {
  position: absolute;
  left: var(--season-left);
  display: block;
  width: var(--season-size);
  height: var(--season-size);
  color: rgba(239, 252, 255, 0.88);
}

.catalog-season-particle svg {
  display: block;
  width: 100%;
  height: 100%;
}

.catalog-season-layer--christmas .catalog-season-particle {
  top: -32px;
  animation: catalogSnowFall var(--season-duration) linear infinite;
  animation-delay: var(--season-delay);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.catalog-season-halloween-frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(238, 112, 35, 0.45);
  box-shadow: inset 0 0 22px rgba(92, 35, 109, 0.2);
}

.catalog-season-layer--halloween .catalog-season-corner {
  color: #f18a3a;
}

.catalog-season-layer--halloween .catalog-season-corner svg + svg {
  color: #b07acb;
}

.catalog-season-particles--halloween .catalog-season-particle {
  top: var(--season-top);
  color: rgba(241, 138, 58, 0.62);
  animation: catalogHalloweenFloat var(--season-duration) ease-in-out infinite;
  animation-delay: var(--season-delay);
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.48));
}

.catalog-season-particles--halloween .catalog-season-particle:nth-child(even) {
  color: rgba(176, 122, 203, 0.56);
}

@keyframes catalogChristmasLight {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes catalogSnowFall {
  from {
    opacity: 0;
    transform: translate3d(0, -5vh, 0) rotate(0deg);
  }
  12% {
    opacity: 0.9;
  }
  to {
    opacity: 0.18;
    transform: translate3d(30px, 108vh, 0) rotate(320deg);
  }
}

@keyframes catalogHalloweenFloat {
  0%,
  100% {
    opacity: 0.3;
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    opacity: 0.72;
    transform: translate3d(12px, -16px, 0) rotate(5deg);
  }
}

@keyframes catalogGiftFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-4px) rotate(2deg);
  }
}

.direction-auctions {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(7, 15, 12, 0.72);
  border: 1px solid rgba(247, 222, 63, 0.2);
  border-radius: 8px;
}

.direction-auctions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.direction-auctions-heading > div {
  display: grid;
  gap: 5px;
}

.direction-auctions-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.direction-auctions-heading p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

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

.direction-auction-control {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.direction-auction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direction-auction-head > div {
  display: grid;
  gap: 4px;
}

.direction-auction-head strong {
  font-size: 0.96rem;
}

.direction-auction-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.direction-auction-stats > div,
.direction-auction-winner {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.direction-auction-stats span,
.direction-auction-winner > span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-auction-stats strong {
  color: var(--yellow-soft);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.direction-auction-winner {
  min-height: 82px;
  align-content: center;
  border-color: rgba(34, 212, 119, 0.16);
}

.direction-auction-winner.is-empty {
  opacity: 0.68;
}

.direction-auction-winner strong {
  color: var(--green-soft);
  font-size: 0.9rem;
}

.direction-auction-winner small {
  color: var(--muted);
  font-size: 0.72rem;
}

.direction-auction-config {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(110px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.direction-auction-config label {
  display: grid;
  gap: 5px;
}

.direction-auction-config label > span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction-auction-config input,
.direction-auction-config select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
  outline: none;
}

.direction-auction-config button {
  min-height: 38px;
  padding: 0 13px;
  color: #07100d;
  font-weight: 900;
  background: var(--yellow);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.direction-auction-config button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.direction-auction-feedback {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.direction-auction-feedback.is-error {
  color: #ffaaaa;
}

.direction-auction-feedback.is-success {
  color: var(--green-soft);
}

.special-offer-stock-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff2a4;
  font-size: 0.75rem;
  font-weight: 900;
  background: rgba(247, 222, 63, 0.1);
  border: 1px solid rgba(247, 222, 63, 0.42);
  border-radius: 999px;
}

.special-offer-stock-badge[hidden] {
  display: none !important;
}

.special-offer-stock-badge.is-empty {
  color: #ffb0b0;
  background: rgba(255, 82, 82, 0.1);
  border-color: rgba(255, 82, 82, 0.42);
}

.special-offer-stock-badge--modal {
  margin-top: 6px;
}

.special-offer-card.is-unavailable {
  border-color: rgba(255, 82, 82, 0.38);
}

.special-offer-card.is-unavailable .property-image,
.special-offer-card.is-unavailable .style-gallery {
  opacity: 0.48;
  filter: grayscale(0.55);
}

.special-offer-card.is-unavailable.property-card--interactive {
  cursor: not-allowed;
}

.special-offer-card.is-unavailable .card-estimate-hint {
  color: #ffb0b0;
  background: rgba(255, 82, 82, 0.08);
  border-color: rgba(255, 82, 82, 0.28);
}

.direction-table-wrap {
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.direction-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: rgba(7, 10, 12, 0.34);
}

.direction-table th,
.direction-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
}

.direction-table th {
  color: var(--green-soft);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(0, 0, 0, 0.22);
}

.direction-table td {
  color: var(--text);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.direction-table td:first-child {
  min-width: 0;
  white-space: normal;
}

.direction-table th:nth-child(1) {
  width: 18%;
}

.direction-table th:nth-child(2) {
  width: 10%;
}

.direction-table th:nth-child(3) {
  width: 20%;
}

.direction-table th:nth-child(4) {
  width: 9%;
}

.direction-table th:nth-child(5) {
  width: 10%;
}

.direction-table th:nth-child(6) {
  width: 8%;
}

.direction-table th:nth-child(7) {
  width: 12%;
}

.direction-table th:nth-child(8) {
  width: 13%;
}

.direction-table td:first-child strong {
  display: block;
  font-size: 0.92rem;
}

.direction-table td:first-child span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-service-summary {
  white-space: normal;
}

.direction-service-summary .dashboard-shift-badge {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.68rem;
}

.direction-service-details {
  display: inline-grid;
  gap: 2px;
  margin-left: 10px;
  vertical-align: middle;
}

.direction-service-details strong {
  color: var(--text);
  font-size: 0.82rem;
}

.direction-service-details span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.direction-metric-cell {
  white-space: normal;
}

.direction-metric-cell strong,
.direction-metric-cell span {
  display: block;
}

.direction-metric-cell strong {
  color: var(--text);
  font-size: 0.92rem;
}

.direction-metric-cell span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.direction-money-cell,
.direction-total-cell,
.direction-action-cell {
  white-space: nowrap;
}

.direction-total-cell strong {
  color: var(--yellow-soft);
  font-size: 0.9rem;
}

.direction-action-cell {
  text-align: center !important;
}

.direction-action-buttons {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.direction-latest-sales {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.direction-latest-sales-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.direction-latest-sales-head span {
  color: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.direction-sale-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  background: rgba(5, 10, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.direction-sale-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.direction-sale-card strong,
.direction-sale-card p,
.direction-sale-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-sale-card strong {
  font-size: 0.9rem;
}

.direction-sale-card div span,
.direction-sale-card small {
  color: var(--muted);
  font-size: 0.76rem;
}

.direction-sale-card p {
  margin: 0;
  color: var(--yellow-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.direction-sale-card time {
  color: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 900;
}

.direction-sale-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.direction-table tfoot td {
  color: var(--yellow-soft);
  font-weight: 900;
}

.direction-table tbody tr[data-direction-profile-id] {
  cursor: pointer;
}

.direction-table tbody tr:hover {
  background: rgba(34, 212, 119, 0.045);
}

.direction-table tbody tr.is-selected {
  background: rgba(34, 212, 119, 0.1);
  box-shadow: inset 3px 0 0 rgba(34, 212, 119, 0.85);
}

.direction-table tfoot td {
  border-bottom: 0;
  background: rgba(34, 212, 119, 0.08);
}

.direction-stop-service {
  display: inline-flex;
  min-width: 72px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #07100d;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffc0c0, #ff9d9d);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 91, 91, 0.12);
}

.direction-stop-service svg,
.direction-reset-employee svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.7;
}

.direction-reset-employee {
  display: inline-flex;
  min-width: 76px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #ffc5c5;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 91, 91, 0.07);
  border: 1px solid rgba(255, 91, 91, 0.34);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.direction-reset-employee:hover {
  color: #ffe1e1;
  background: rgba(255, 91, 91, 0.14);
  border-color: rgba(255, 91, 91, 0.54);
}

.direction-stop-service:disabled,
.direction-reset-employee:disabled {
  cursor: wait;
  opacity: 0.6;
}

.direction-stop-placeholder {
  color: var(--muted);
  font-weight: 900;
}

.direction-adjust-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.direction-adjust-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  border: 0;
  cursor: pointer;
}

.direction-adjust-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: none;
  gap: 10px;
  padding: 12px 14px;
  overflow: visible;
  background: rgba(6, 12, 10, 0.96);
  border: 1px solid rgba(34, 212, 119, 0.34);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.direction-adjust-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.direction-adjust-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.direction-adjust-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.direction-adjust-close {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.direction-adjust-current {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.direction-adjust-current article {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-adjust-current span,
.direction-adjust-form span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.direction-adjust-current strong {
  color: var(--yellow-soft);
  font-variant-numeric: tabular-nums;
}

.direction-adjust-form {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(210px, 0.7fr) minmax(260px, 1.2fr) auto;
  gap: 10px;
  align-items: end;
}

.direction-adjust-form label {
  display: grid;
  gap: 7px;
}

.direction-adjust-type-field {
  position: relative;
  grid-column: auto;
}

.direction-adjust-type {
  position: relative;
  min-width: 0;
}

.direction-adjust-type-trigger {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  background: #121820;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  cursor: pointer;
  outline: none;
}

.direction-adjust-type-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-adjust-type-trigger:hover,
.direction-adjust-type-trigger:focus-visible,
.direction-adjust-type-trigger[aria-expanded="true"] {
  border-color: var(--green);
  outline: none;
}

.direction-adjust-type-trigger[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.direction-adjust-type-trigger > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--green-soft);
  transition: transform 160ms ease;
}

.direction-adjust-type-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.direction-adjust-type-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  max-height: none;
  padding: 6px;
  overflow-y: auto;
  background: #10151c;
  border: 1px solid rgba(34, 212, 119, 0.42);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52);
}

.direction-adjust-type-menu[hidden] {
  display: none;
}

.direction-adjust-type-menu button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  color: var(--text);
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.direction-adjust-type-menu button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--green-soft);
}

.direction-adjust-type-menu button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.direction-adjust-type-menu button strong,
.direction-adjust-type-menu button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direction-adjust-type-menu button strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.direction-adjust-type-menu button small {
  display: none;
}

.direction-adjust-type-menu button:hover,
.direction-adjust-type-menu button:focus-visible,
.direction-adjust-type-menu button.is-selected {
  color: var(--text);
  background: rgba(34, 212, 119, 0.12);
  outline: none;
}

.direction-adjust-form input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  background: #111821;
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
  outline: none;
}

.direction-adjust-form input:focus {
  border-color: rgba(34, 212, 119, 0.62);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.1);
}

.direction-adjust-form .employee-action {
  min-height: 40px;
  white-space: nowrap;
}

.direction-adjust-feedback {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.direction-adjust-feedback.is-error {
  color: #ffb4b4;
}

.dashboard-reset-feedback {
  width: fit-content;
  max-width: min(100%, 620px);
  margin: 8px 0 0 auto;
  padding: 9px 11px;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 7px;
}

.dashboard-reset-feedback.is-success {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.22);
}

.dashboard-reset-feedback.is-error {
  color: #ffaaaa;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.22);
}

.dashboard-team-member {
  display: grid;
  gap: 14px;
}

.dashboard-team-member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-team-member-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-team-member-head strong {
  font-size: 1.05rem;
}

.dashboard-team-member-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.dashboard-shift-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.dashboard-shift-badge.is-active {
  color: #07100d;
  background: rgba(34, 212, 119, 0.88);
}

.dashboard-shift-badge.is-off {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.dashboard-shift-manage {
  display: grid;
  gap: 10px;
}

.dashboard-shift-manage .employee-action {
  width: 100%;
  justify-content: center;
}

.dashboard-shift-manage [hidden] {
  display: none;
}

.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.dashboard-last-shift {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.45fr);
  align-items: center;
  gap: 18px 24px;
  margin-top: 16px;
  padding: 18px 20px;
  background:
    linear-gradient(105deg, rgba(34, 212, 119, 0.1), transparent 42%),
    rgba(18, 24, 22, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.26);
  border-radius: 8px;
}

.dashboard-last-shift-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.dashboard-last-shift-head > div {
  display: grid;
  gap: 3px;
}

.dashboard-last-shift-head strong {
  font-size: 1rem;
}

.dashboard-last-shift-head small,
.dashboard-last-shift > p {
  color: var(--muted);
  font-size: 0.76rem;
}

.dashboard-last-shift-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.dashboard-last-shift-icon svg {
  width: 20px;
  height: 20px;
}

.dashboard-last-shift-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-last-shift-stats article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-last-shift-stats span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-last-shift-stats strong {
  color: var(--yellow-soft);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dashboard-last-shift > p {
  grid-column: 1 / -1;
  margin: -10px 0 0;
  text-align: right;
}

@media (max-width: 900px) {
  .dashboard-last-shift {
    grid-template-columns: 1fr;
  }

  .dashboard-last-shift > p {
    margin-top: -4px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .dashboard-last-shift-stats {
    grid-template-columns: 1fr;
  }
}

.dashboard-card-head {
  display: grid;
  gap: 6px;
}

.dashboard-card-head strong {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.15;
}

.dashboard-stats {
  display: grid;
  gap: 10px;
}

.dashboard-stats article,
.dashboard-pay-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-stats span,
.dashboard-pay-line span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.dashboard-stats strong,
[data-pay-total],
[data-pay-service] {
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease;
}

.dashboard-pay-line strong {
  color: var(--yellow-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1;
  white-space: nowrap;
}

.dashboard-objective-list {
  display: grid;
  gap: 14px;
}

.dashboard-objective-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-objective-row div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.dashboard-objective-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-objective-row strong {
  color: var(--green-soft);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dashboard-objective-bar {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.dashboard-objective-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow-soft));
  border-radius: inherit;
  transition: width 240ms ease;
}

.dashboard-card--training .dashboard-card-section {
  display: none;
}

.dashboard-training-form {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.dashboard-training-form label {
  display: grid;
  gap: 7px;
}

.dashboard-training-form label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-training-form input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: #141922;
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.dashboard-training-form input:focus {
  border-color: rgba(34, 212, 119, 0.6);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.dashboard-training-feedback {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-training-feedback.is-error {
  color: #ffb4b4;
}

.dashboard-announcements {
  display: grid;
  gap: 16px;
  min-height: 280px;
  margin-top: 38px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(8, 19, 15, 0.7), rgba(8, 11, 14, 0.78));
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.dashboard-announcements-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-announcements-head strong {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.dashboard-announcement-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.dashboard-announcements--count-1 .dashboard-announcement-grid {
  grid-template-columns: 1fr;
}

.dashboard-announcements--count-2 .dashboard-announcement-grid,
.dashboard-announcements--count-3 .dashboard-announcement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-announcements--count-2 .dashboard-announcement-card:first-child {
  grid-column: span 2;
}

.dashboard-announcement-card {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 168px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.dashboard-announcement-card--info {
  border-color: rgba(34, 212, 119, 0.28);
  box-shadow: inset 0 0 0 1px rgba(34, 212, 119, 0.06), 0 20px 46px rgba(0, 0, 0, 0.18);
}

.dashboard-announcement-card--important {
  border-color: rgba(255, 234, 58, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 234, 58, 0.07), 0 20px 46px rgba(0, 0, 0, 0.18);
}

.dashboard-announcement-card--urgent {
  border-color: rgba(255, 90, 90, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 90, 0.08), 0 20px 46px rgba(0, 0, 0, 0.18);
}

.dashboard-announcement-status {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-announcement-status--info {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.12);
  border: 1px solid rgba(34, 212, 119, 0.34);
}

.dashboard-announcement-status--important {
  color: var(--yellow-soft);
  background: rgba(255, 234, 58, 0.12);
  border: 1px solid rgba(255, 234, 58, 0.34);
}

.dashboard-announcement-status--urgent {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.38);
}

.dashboard-announcement-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #ffb4b4;
  cursor: pointer;
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.34);
  border-radius: 8px;
  font-weight: 900;
}

.dashboard-announcement-delete:hover:not(:disabled) {
  background: rgba(255, 90, 90, 0.18);
  border-color: rgba(255, 90, 90, 0.5);
}

.dashboard-announcement-delete:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dashboard-announcement-image {
  display: block;
  width: 100%;
  height: min(240px, 34vh);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.dashboard-announcements--count-1 .dashboard-announcement-image {
  height: min(360px, 42vh);
}

.dashboard-announcements--count-1 .dashboard-announcement-card {
  min-height: 220px;
  padding: clamp(24px, 3vw, 40px);
}

.dashboard-announcement-body {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.75rem);
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dashboard-announcement-line {
  display: block;
}

.dashboard-announcement-line--title {
  margin-bottom: 0.1em;
  line-height: 1.06;
}

.dashboard-announcement-line--title-1 {
  font-size: 1.25em;
}

.dashboard-announcement-line--title-2 {
  font-size: 1.12em;
}

.dashboard-announcement-line--title-3 {
  font-size: 1.04em;
}

.dashboard-announcement-body strong {
  font-weight: 950;
}

.dashboard-announcement-body em {
  font-style: italic;
}

.dashboard-announcement-body u {
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.08em;
}

.dashboard-announcement-body s {
  color: var(--muted);
  text-decoration-thickness: 0.08em;
}

.dashboard-announcement-body mark {
  padding: 0 0.18em;
  color: #07100d;
  background: var(--yellow-soft);
  border-radius: 4px;
}

.dashboard-announcement-body code {
  padding: 0.08em 0.28em;
  color: var(--green-soft);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.82em;
}

.dashboard-announcement-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #07100d;
  background: var(--yellow-soft);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.dashboard-announcement-link:hover {
  filter: brightness(1.05);
}

.dashboard-announcements--count-2 .dashboard-announcement-body,
.dashboard-announcements--count-3 .dashboard-announcement-body {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.28;
}

.dashboard-announcement-card span,
.dashboard-announcement-empty {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.dashboard-announcement-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-announcement-reactions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.dashboard-announcement-reactions button:hover:not(:disabled),
.dashboard-announcement-reactions button.is-active {
  color: var(--text);
  background: rgba(34, 212, 119, 0.12);
  border-color: rgba(34, 212, 119, 0.38);
}

.dashboard-announcement-reactions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-announcement-reactions strong {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.dashboard-announcement-direction {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.dashboard-announcement-empty {
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.dashboard-card-section {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-card-section-label {
  color: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-shift-actions {
  display: grid;
  gap: 10px;
}

.dashboard-shift-actions .employee-action {
  width: 100%;
  justify-content: center;
}

.dashboard-shift-actions [hidden] {
  display: none;
}

.dashboard-card-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1280px) {
  .direction-log-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-log-filters > strong {
    grid-column: 1 / -1;
    padding: 0;
    text-align: left;
  }

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

  .sales-podium {
    grid-template-columns: 1fr;
  }

  .dashboard-direction-head {
    grid-template-columns: 1fr;
  }

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

  .dashboard-announcements--count-2 .dashboard-announcement-grid,
  .dashboard-announcements--count-3 .dashboard-announcement-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-announcements--count-2 .dashboard-announcement-card:first-child {
    grid-column: auto;
  }

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

  .direction-adjust-current {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .direction-adjust-form {
    grid-template-columns: minmax(240px, 0.8fr) minmax(210px, 0.7fr) minmax(260px, 1.2fr) auto;
  }

  .direction-adjust-form .employee-action {
    grid-column: auto;
  }

  .direction-stop-service,
  .direction-reset-employee {
    min-width: 36px;
    width: 36px;
    padding: 0;
  }

  .direction-stop-service span,
  .direction-reset-employee span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .direction-weekly-highlights {
    grid-template-columns: 1fr;
  }

  .direction-weekly-highlight {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 84px;
    padding: 14px;
  }

  .direction-weekly-highlight-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1050px) {
  .direction-log-grid-head {
    display: none;
  }

  .direction-log-grid-body {
    gap: 10px;
    padding: 10px;
  }

  .direction-log-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .direction-log-row > * {
    display: grid;
    align-content: start;
    gap: 5px;
  }

  .direction-log-row > *::before {
    content: attr(data-label);
    color: var(--green-soft);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .direction-log-detail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .direction-page-visibility {
    grid-template-columns: 1fr;
  }

  .direction-page-switch {
    justify-content: space-between;
  }

  .direction-page-stock {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .direction-page-stock-switch {
    align-self: auto;
  }
}

@media (max-width: 1080px) {
  .direction-audit-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-audit-filters > strong {
    align-self: center;
    padding: 0;
    text-align: left;
  }

  .direction-audit-head {
    display: none;
  }

  .direction-audit-row {
    grid-template-columns: minmax(115px, 0.75fr) minmax(105px, 0.7fr) minmax(145px, 1fr) minmax(0, 1.8fr);
  }

  .direction-audit-target {
    grid-column: 3 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .direction-quick-links,
  .direction-log-summary,
  .direction-log-filters,
  .direction-audit-summary,
  .direction-audit-filters {
    grid-template-columns: 1fr;
  }

  .direction-tool-header {
    align-items: stretch;
    flex-direction: column;
  }

  .direction-tool-back {
    width: 100%;
  }

  .direction-log-filters > strong {
    grid-column: auto;
  }

  .direction-filter-menu--employees {
    min-width: 100%;
  }

  .direction-log-row {
    grid-template-columns: 1fr;
  }

  .direction-log-detail {
    grid-column: auto;
  }

  .direction-audit-filters > strong {
    text-align: left;
  }

  .direction-audit-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .direction-audit-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .direction-audit-target {
    grid-column: auto;
  }

  .dashboard-overview {
    grid-template-columns: 1fr;
  }

  .dashboard-admin-bar,
  .dashboard-announcement-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-announcement-options {
    grid-template-columns: 1fr;
  }

  .dashboard-admin-bar .employee-action,
  .dashboard-admin-bar .dashboard-activity-log-button,
  .dashboard-announcement-form-actions .employee-action {
    width: 100%;
  }

  .dashboard-announcements {
    min-height: 220px;
    margin-top: 24px;
    padding: 16px;
  }

  .sales-leaderboard-head {
    align-items: stretch;
    flex-direction: column;
  }

  .classement-leaderboards {
    grid-template-columns: 1fr;
  }

  .dashboard-direction {
    padding: 16px;
  }

  .dashboard-direction-summary {
    grid-template-columns: 1fr;
  }

  .formation-hero {
    grid-template-columns: 1fr;
  }

  .direction-sale-list {
    grid-template-columns: 1fr;
  }

  .direction-adjust-current,
  .direction-adjust-form {
    grid-template-columns: 1fr;
  }
}

.dashboard-shift-actions .service-stop {
  color: #07100d;
  background: #ffb4b4;
  border: 0;
}

.employee-module--reductions {
  max-width: none;
  width: 100%;
}

.discount-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  overflow: visible;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 47, 47, 0.26), transparent 32%),
    linear-gradient(135deg, rgba(84, 10, 14, 0.82), rgba(17, 19, 24, 0.96));
  border: 1px solid rgba(255, 76, 76, 0.42);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(255, 40, 40, 0.1);
}

.discount-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.discount-head h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
}

.discount-current {
  display: grid;
  flex-shrink: 0;
  justify-items: end;
  gap: 6px;
}

.discount-current strong {
  display: inline-flex;
  min-width: 140px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff7f0;
  background: rgba(255, 31, 31, 0.18);
  border: 1px solid rgba(255, 92, 92, 0.52);
  border-radius: 8px;
  font-size: 1.2rem;
  text-align: center;
}

.discount-current small {
  color: #ffd1d1;
  font-size: 0.8rem;
  font-weight: 900;
}

.discount-lead {
  margin: 6px 0 0;
  color: #f2c7c7;
  font-size: 0.88rem;
  line-height: 1.45;
}

.discount-body {
  display: block;
}

.discount-setup {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.discount-active-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 92, 92, 0.22);
}

.discount-active-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.discount-active-empty {
  margin: 0;
}

.discount-active-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 92, 92, 0.28);
  border-radius: 8px;
}

.discount-active-card div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.discount-active-card strong {
  color: #fff7f0;
  font-size: 1.15rem;
}

.discount-active-card span {
  color: #ffd1d1;
  font-weight: 800;
  font-size: 0.9rem;
}

.discount-active-card small {
  color: #f2c7c7;
  font-size: 0.8rem;
}

.discount-remove {
  display: inline-flex;
  flex-shrink: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff7f0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.discount-remove:hover,
.discount-remove:focus-visible {
  background: rgba(255, 40, 40, 0.22);
  border-color: rgba(255, 92, 92, 0.64);
  outline: none;
}

.discount-category-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: #ffd1d1;
  font-size: 0.86rem;
  font-weight: 900;
}

.discount-category-trigger {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 92, 92, 0.46);
  border-radius: 8px;
}

.discount-category-trigger:hover,
.discount-category-trigger:focus-visible,
.discount-category-trigger[aria-expanded="true"] {
  background: rgba(255, 40, 40, 0.14);
  border-color: rgba(255, 122, 122, 0.82);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 40, 40, 0.12);
}

.discount-category-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  background: #21080b;
  border: 1px solid rgba(255, 92, 92, 0.52);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.46), 0 0 34px rgba(255, 40, 40, 0.14);
}

.discount-category-menu[hidden] {
  display: none;
}

.discount-category-menu button {
  min-height: 40px;
  padding: 0 12px;
  color: #f8e7e7;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: left;
}

.discount-category-menu button:hover,
.discount-category-menu button:focus-visible,
.discount-category-menu button.active {
  color: #fff7f0;
  background: rgba(255, 47, 47, 0.2);
  border-color: rgba(255, 92, 92, 0.38);
  outline: none;
}

.flash-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 40, 40, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.28);
  border-radius: 8px;
}

.flash-offer div:first-child {
  display: grid;
  gap: 4px;
}

.flash-offer strong {
  font-size: 1rem;
}

.flash-offer span {
  color: #ffd1d1;
  font-size: 0.84rem;
  font-weight: 900;
}

.flash-duration-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.flash-duration-list button {
  min-height: 36px;
  padding: 0 10px;
  color: #fff7f0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.flash-duration-list button:hover,
.flash-duration-list button:focus-visible,
.flash-duration-list button.active {
  background: rgba(255, 40, 40, 0.22);
  border-color: rgba(255, 92, 92, 0.64);
  outline: none;
}

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

.discount-choice {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 10px 8px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.discount-choice:hover,
.discount-choice:focus-visible,
.discount-choice.active {
  background: rgba(255, 40, 40, 0.18);
  border-color: rgba(255, 92, 92, 0.72);
  outline: none;
}

.discount-choice span {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.discount-choice small {
  color: #ffd1d1;
  font-size: 0.74rem;
  font-weight: 800;
}

.discount-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.discount-footer p {
  margin: 0;
  color: #f2c7c7;
  font-size: 0.88rem;
  line-height: 1.4;
}

.discount-clear {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff7f0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 900;
}

.discount-clear:hover,
.discount-clear:focus-visible {
  background: rgba(255, 40, 40, 0.18);
  border-color: rgba(255, 92, 92, 0.52);
  outline: none;
}

.discount-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discount-feedback {
  margin: 0;
  font-weight: 800;
}

.discount-feedback.is-error {
  color: #ffb4b4;
}

.catalog-promo-banner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.9fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: linear-gradient(90deg, rgba(92, 15, 20, 0.98), rgba(25, 14, 18, 0.98) 55%, rgba(9, 19, 16, 0.98));
  border: 1px solid rgba(255, 83, 83, 0.38);
  border-right: 0;
  border-left: 0;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.catalog-promo-banner[hidden] {
  display: none;
}

.catalog-promo-main {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.catalog-promo-kicker,
.catalog-promo-timer span,
.catalog-promo-action span {
  color: var(--yellow-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-promo-main strong {
  color: #fff7f0;
  font-size: clamp(1.06rem, 1.8vw, 1.48rem);
  line-height: 1.05;
}

.catalog-promo-main small {
  color: #ffb7b7;
  font-size: 0.86rem;
  font-weight: 850;
}

.catalog-promo-chips {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-promo-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff7f0;
  background: rgba(255, 41, 41, 0.18);
  border: 1px solid rgba(255, 83, 83, 0.58);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-promo-timer {
  display: grid;
  min-width: 128px;
  gap: 3px;
  justify-items: end;
}

.catalog-promo-timer strong {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #fff7f0;
  background: rgba(255, 40, 40, 0.18);
  border: 1px solid rgba(255, 92, 92, 0.52);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

.catalog-promo-action {
  display: grid;
  min-height: 46px;
  min-width: 150px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 8px 16px;
  color: #07100c;
  cursor: pointer;
  background: var(--green-soft);
  border: 1px solid rgba(156, 224, 182, 0.8);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(34, 212, 119, 0.16);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.catalog-promo-action:hover,
.catalog-promo-action:focus-visible {
  background: #c6f0d4;
  box-shadow: 0 16px 38px rgba(34, 212, 119, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.catalog-promo-action span {
  color: rgba(7, 16, 12, 0.62);
  font-size: 0.68rem;
}

.catalog-promo-action strong {
  max-width: 180px;
  overflow: hidden;
  color: #07100c;
  font-size: 0.92rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estimate-price-copy .price-original {
  margin-right: 8px;
}

.estimate-discounted {
  color: #ff7777;
}

.estimate-discount-badge {
  display: inline-flex;
  margin-top: 8px;
}

.reglement-layout {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.reglement-hero {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(34, 212, 119, 0.1), rgba(34, 212, 119, 0.02)),
    rgba(18, 24, 22, 0.82);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 10px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.reglement-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reglement-hero-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.reglement-pay-info-button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--yellow-soft);
  cursor: pointer;
  background: rgba(215, 201, 44, 0.1);
  border: 1px solid rgba(215, 201, 44, 0.38);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(215, 201, 44, 0.08);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.reglement-pay-info-button:hover,
.reglement-pay-info-button:focus-visible {
  color: #09100d;
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
  outline: none;
  transform: translateY(-1px);
}

.reglement-hero h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.reglement-hero .reglement-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: 0.02em;
}

.reglement-intro--welcome {
  margin-top: 6px;
}

.reglement-card--section {
  grid-column: 1 / -1;
}

.reglement-card--section .reglement-card-head strong {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.reglement-card--neutral .reglement-rule--neutral {
  border-left-color: rgba(34, 212, 119, 0.55);
}

.reglement-card--green .reglement-rule--green {
  border-left-color: rgba(34, 212, 119, 0.75);
}

.reglement-card--danger .reglement-rule--danger {
  border-left-color: rgba(255, 180, 180, 0.75);
}

.reglement-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.reglement-card--interdictions {
  grid-column: 1 / -1;
}

.reglement-subtitle {
  margin: 0;
  color: var(--yellow-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.reglement-icon {
  margin-right: 6px;
}

.reglement-intro {
  display: grid;
  gap: 6px;
}

.reglement-intro-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.reglement-rules {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reglement-rule {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 180, 180, 0.75);
  border-radius: 8px;
}

.reglement-rule p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.reglement-rule-note {
  color: var(--muted) !important;
  font-size: 0.86rem !important;
}

.reglement-reminder {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(215, 201, 44, 0.08);
  border: 1px solid rgba(215, 201, 44, 0.28);
  border-radius: 8px;
}

.reglement-reminder strong {
  color: var(--yellow-soft);
  font-size: 1rem;
}

.reglement-reminder p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .reglement-panel {
    grid-template-columns: 1fr;
  }

  .reglement-pay-bonuses {
    grid-template-columns: 1fr;
  }
}

.reglement-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(18, 24, 22, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.reglement-card-head {
  display: grid;
  gap: 8px;
}

.reglement-card-head strong {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.reglement-pay-title {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.reglement-card--pay .reglement-pay-title:first-of-type {
  margin-top: 4px;
}

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

.reglement-pay-bonuses article {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.reglement-pay-bonuses span {
  color: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reglement-pay-bonuses strong {
  color: var(--yellow-soft);
  font-size: 1.18rem;
  font-variant-numeric: tabular-nums;
}

.reglement-pay-bonuses p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.reglement-pay-overlay[hidden] {
  display: none;
}

.reglement-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.reglement-pay-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
}

.reglement-pay-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

.reglement-pay-dialog .reglement-card {
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(18px, 2.5vw, 28px);
  border-color: rgba(34, 212, 119, 0.34);
  scrollbar-gutter: stable;
}

.reglement-pay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #ffb7b7;
  cursor: pointer;
  background: rgba(130, 30, 30, 0.36);
  border: 1px solid rgba(255, 120, 120, 0.44);
  border-radius: 8px;
  font-weight: 900;
}

.reglement-pay-close:hover,
.reglement-pay-close:focus-visible {
  color: #130707;
  background: #ffb7b7;
  outline: none;
}

@media (max-width: 900px) {
  .reglement-pay-bonuses {
    grid-template-columns: 1fr;
  }
}

.reglement-table--service {
  min-width: 520px;
}

.reglement-table-wrap {
  overflow-x: auto;
}

.reglement-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.reglement-table--sales {
  min-width: 260px;
}

.reglement-table th,
.reglement-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.reglement-table th:last-child,
.reglement-table td:last-child {
  text-align: right;
}

.reglement-table th {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reglement-table td {
  color: var(--text);
  font-size: 0.92rem;
}

.reglement-table tbody tr:last-child td {
  border-bottom: none;
}

.absence-panel {
  display: grid;
  gap: 18px;
}

.absence-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.35fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.absence-layout--readonly {
  grid-template-columns: 1fr;
}

.absence-layout .absence-list-wrap {
  align-content: start;
  min-height: 100%;
  padding: 18px;
  background: rgba(18, 24, 22, 0.46);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.formation-panel {
  display: grid;
  gap: 18px;
}

.formation-hero,
.formation-step,
.formation-note {
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  background: rgba(18, 24, 22, 0.72);
}

.formation-hero {
  display: grid;
  align-items: center;
  padding: 22px 24px;
}

.formation-hero h4 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.formation-hero p,
.formation-step p,
.formation-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.formation-steps {
  display: grid;
  gap: 10px;
}

.formation-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
}

.formation-step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #07100d;
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.formation-step-copy {
  display: grid;
  gap: 6px;
}

.formation-step-copy strong {
  color: var(--text);
  font-size: 1rem;
}

.formation-note {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-color: rgba(215, 201, 44, 0.28);
  background: rgba(215, 201, 44, 0.07);
}

.formation-note strong {
  color: var(--yellow-soft);
  font-size: 1rem;
}

.module-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.module-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.employee-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #07100d;
  cursor: pointer;
  background: var(--yellow-soft);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.employee-action.submit {
  width: fit-content;
}

.employee-action.ghost,
.employee-action.dashboard-announcement-toggle {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.34);
}

.employee-action.ghost:hover:not(:disabled),
.employee-action.dashboard-announcement-toggle:hover:not(:disabled) {
  background: rgba(34, 212, 119, 0.18);
  border-color: rgba(34, 212, 119, 0.5);
}

.employee-action.dashboard-reset-all {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.34);
}

.employee-action.dashboard-reset-all:hover:not(:disabled) {
  background: rgba(255, 90, 90, 0.18);
  border-color: rgba(255, 90, 90, 0.5);
}

.employee-action.dashboard-reset-all:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.team-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(680px, 1fr));
  align-items: start;
  gap: 18px;
  overflow: visible;
}

.team-admin-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.team-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.team-feedback {
  margin: 0;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
}

.team-feedback.is-error {
  color: #ffd4d4;
  background: rgba(255, 118, 118, 0.12);
  border: 1px solid rgba(255, 118, 118, 0.35);
}

.team-feedback.is-success {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.35);
}

.team-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
}

.team-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.team-table th:first-child, .team-table td:first-child { width: 31%; }
.team-table th:nth-child(2), .team-table td:nth-child(2) { width: 36%; }
.team-table th:last-child, .team-table td:last-child { width: 33%; }

.team-table th,
.team-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  overflow: visible;
}

.team-table td:last-child {
  white-space: nowrap;
}

.team-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
}

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

.team-email {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.team-role-field {
  position: relative;
  min-width: 0;
  max-width: 250px;
}

.team-role-trigger {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: var(--text);
  cursor: pointer;
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  appearance: none;
}

.team-role-trigger strong {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-role-trigger span {
  color: var(--green-soft);
  font-size: 0.82rem;
}

.team-role-trigger:hover,
.team-role-trigger:focus-visible,
.team-role-trigger[aria-expanded="true"] {
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.58);
  outline: none;
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.1);
}

.team-role-trigger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.team-role-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 140;
  display: grid;
  gap: 4px;
  max-height: min(280px, 50vh);
  overflow-y: auto;
  padding: 8px;
  background: #10141b;
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 212, 119, 0.55) rgba(255, 255, 255, 0.06);
}

.team-role-menu::-webkit-scrollbar {
  width: 8px;
}

.team-role-menu::-webkit-scrollbar-track {
  margin: 6px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.team-role-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 212, 119, 0.72), rgba(34, 212, 119, 0.38));
  border: 2px solid #10141b;
  border-radius: 999px;
}

.team-role-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(34, 212, 119, 0.92), rgba(34, 212, 119, 0.58));
}

.team-role-menu--floating {
  position: fixed;
  z-index: 140;
  top: 0;
  left: 0;
  right: auto;
}

.team-role-menu[hidden] {
  display: none !important;
}

.team-role-menu button {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  appearance: none;
}

.team-role-menu button:hover,
.team-role-menu button:focus-visible,
.team-role-menu button.active {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.12);
  border-color: rgba(34, 212, 119, 0.32);
  outline: none;
}

.team-role-menu button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.team-active {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.team-save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.team-row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.team-row-actions .employee-action {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.8rem;
  border-radius: 7px;
}

.team-delete {
  color: #ff8d8d;
  border-color: rgba(255, 82, 82, 0.38);
  background: rgba(255, 82, 82, 0.08);
}

.team-delete:hover:not(:disabled),
.team-delete:focus-visible:not(:disabled) {
  color: #fff;
  border-color: rgba(255, 82, 82, 0.72);
  background: rgba(255, 82, 82, 0.2);
}

.team-delete:disabled { opacity: 0.4; cursor: not-allowed; }

.team-role-readonly {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.team-pay-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  background: linear-gradient(145deg, rgba(34, 212, 119, .07), rgba(19, 24, 32, .94));
  border: 1px solid rgba(34, 212, 119, .24);
  border-radius: 12px;
}

.team-pay-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.team-pay-heading h4 { margin: 4px 0 0; font-size: 1.25rem; }
.team-pay-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: .86rem; }
.team-pay-warning { margin: 0; padding: 12px 14px; color: #ffe49a; background: rgba(255, 205, 64, .08); border: 1px solid rgba(255, 205, 64, .28); border-radius: 9px; }
.team-pay-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #111820, var(--panel)); }
.team-pay-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.team-pay-table th, .team-pay-table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.team-pay-table th:first-child, .team-pay-table td:first-child { width: 25%; padding-left: 14px; }
.team-pay-table th:nth-child(2), .team-pay-table td:nth-child(2) { width: 27%; }
.team-pay-table th:nth-child(3), .team-pay-table td:nth-child(3) { width: 29%; }
.team-pay-table th:last-child, .team-pay-table td:last-child { width: 19%; }
.team-pay-table th { color: var(--green-soft); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.team-pay-table tbody tr:last-child td { border-bottom: 0; }
.team-money-field { display: flex; width: 100%; min-width: 0; align-items: center; overflow: hidden; background: #151820; border: 1px solid rgba(34, 212, 119, .24); border-radius: 8px; }
.team-money-field:focus-within { border-color: rgba(34, 212, 119, .65); box-shadow: 0 0 0 3px rgba(34, 212, 119, .1); }
.team-money-field input { width: 100%; min-width: 0; min-height: 42px; padding: 0 8px; color: var(--text); background: transparent; border: 0; outline: 0; font: inherit; font-weight: 750; }
.team-money-field span { padding-right: 10px; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.team-money-field:has(input:disabled) { opacity: .65; }
.team-pay-save { width: 100%; padding-inline: 8px; }

@media (max-width: 720px) {
  .team-pay-heading { align-items: start; flex-direction: column; gap: 8px; }
}

@media (max-width: 1550px) {
  .team-panel { grid-template-columns: 1fr; }
  .team-pay-panel { order: -1; }
}

.dashboard-card-note .employee-empty {
  text-align: left;
}

.absence-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(18, 24, 22, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
}

.absence-form[hidden] {
  display: none;
}

.absence-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.dynasty-datetime-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.dynasty-datetime-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.dynasty-datetime-trigger {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: var(--text);
  cursor: pointer;
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dynasty-datetime-trigger strong {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dynasty-datetime-trigger span {
  color: var(--green-soft);
  font-size: 0.82rem;
}

.dynasty-datetime-trigger:hover,
.dynasty-datetime-trigger:focus-visible,
.dynasty-datetime-trigger[aria-expanded="true"] {
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.58);
  outline: none;
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.1);
}

.dynasty-datetime-panel {
  position: fixed;
  z-index: 140;
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #10141b;
  border: 1px solid rgba(34, 212, 119, 0.28);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.dynasty-datetime-panel[hidden] {
  display: none !important;
}

.dynasty-datetime-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dynasty-datetime-nav strong {
  color: var(--text);
  font-size: 0.95rem;
}

.dynasty-datetime-nav-btn {
  min-width: 36px;
  min-height: 36px;
  color: var(--green-soft);
  cursor: pointer;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
}

.dynasty-datetime-nav-btn:hover {
  background: rgba(34, 212, 119, 0.16);
}

.dynasty-datetime-weekdays,
.dynasty-datetime-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.dynasty-datetime-weekdays span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.dynasty-datetime-day {
  min-height: 36px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 8px;
}

.dynasty-datetime-day.is-empty {
  background: transparent;
  border: 0;
}

.dynasty-datetime-day.is-today {
  border-color: rgba(34, 212, 119, 0.28);
}

.dynasty-datetime-day.is-selected {
  color: #07100d;
  background: var(--green-soft);
  border-color: rgba(34, 212, 119, 0.72);
}

.dynasty-datetime-day.is-disabled,
.dynasty-datetime-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dynasty-datetime-day:not(.is-disabled):not(:disabled):hover {
  background: rgba(34, 212, 119, 0.12);
  border-color: rgba(34, 212, 119, 0.24);
}

.dynasty-datetime-time {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dynasty-datetime-time-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dynasty-datetime-time-list {
  display: grid;
  gap: 4px;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 212, 119, 0.55) rgba(255, 255, 255, 0.06);
}

.dynasty-datetime-time-list::-webkit-scrollbar {
  width: 8px;
}

.dynasty-datetime-time-list::-webkit-scrollbar-thumb {
  background: rgba(34, 212, 119, 0.55);
  border-radius: 999px;
}

.dynasty-datetime-time-list button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: left;
}

.dynasty-datetime-time-list button:hover,
.dynasty-datetime-time-list button:focus-visible,
.dynasty-datetime-time-list button.active {
  color: #07100d;
  background: var(--yellow-soft);
  border-color: rgba(255, 214, 102, 0.72);
  outline: none;
}

.absence-form input,
.absence-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
  outline: none;
}

.absence-form input {
  min-height: 50px;
}

.absence-form textarea {
  resize: vertical;
}

.absence-form input:focus,
.absence-form textarea:focus {
  border-color: rgba(34, 212, 119, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.1);
}

.absence-form input[readonly] {
  color: var(--muted);
  cursor: default;
  background: rgba(255, 255, 255, 0.04);
}

.absence-feedback {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.absence-feedback.is-error {
  color: #ffb4b4;
}

.absence-feedback.is-success {
  color: var(--green-soft);
}

.absence-list-wrap {
  display: grid;
  gap: 12px;
}

.absence-list-title {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.absence-list {
  display: grid;
  gap: 12px;
}

.absence-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.absence-card-head,
.absence-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.absence-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.absence-card strong {
  color: var(--text);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.absence-card span {
  color: var(--yellow-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.absence-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.absence-delete {
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 14px;
  color: #ffb4b4;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.rdv-public-panel {
  grid-column: 1 / -1;
  max-width: 720px;
}

.rdv-public-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
  background: var(--panel);
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.rdv-public-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.rdv-public-form input,
.rdv-public-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 8px;
  font: inherit;
  outline: none;
}

.rdv-public-form input {
  min-height: 50px;
}

.rdv-public-form textarea {
  resize: vertical;
}

.rdv-public-form input:focus,
.rdv-public-form textarea:focus {
  border-color: rgba(34, 212, 119, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 212, 119, 0.1);
}

.rdv-public-form .employee-action {
  width: fit-content;
}

.rdv-public-feedback.is-success {
  color: #9ce0b6;
}

.rdv-public-feedback.is-error {
  color: var(--danger);
}

.application-public-panel {
  grid-column: 1 / -1;
  width: min(1080px, 100%);
  overflow: hidden;
  background: linear-gradient(180deg, #15171b, #101217);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.application-public-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 16px;
}

.application-public-header > span:last-child {
  display: grid;
  gap: 3px;
}

.application-public-header small {
  color: var(--green-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-public-header strong {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.application-public-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #07110c;
  background: var(--green);
  border-radius: 12px;
}

.application-public-icon svg,
.application-safety-note svg,
.application-submit svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.application-public-icon svg {
  width: 25px;
  height: 25px;
}

.application-safety-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0 24px;
  padding: 13px 14px;
  color: #ffe3a0;
  font-size: 0.84rem;
  line-height: 1.45;
  background: rgba(231, 170, 24, 0.09);
  border: 1px solid rgba(231, 170, 24, 0.48);
  border-radius: 9px;
}

.application-safety-note svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.application-public-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 18px 24px 22px;
}

.application-public-form label {
  display: grid;
  gap: 8px;
  color: #d6d8de;
  font-size: 0.88rem;
  font-weight: 800;
}

.application-public-actions {
  grid-column: 1 / -1;
}

.application-public-form label > small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.application-public-form em {
  color: #ff7979;
  font-style: normal;
}

.application-public-form input,
.application-public-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #0d0f13;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.application-public-form input { min-height: 48px; }
.application-public-form textarea { min-height: 74px; resize: vertical; }

.application-public-form input:focus,
.application-public-form textarea:focus {
  border-color: #5c68ff;
  box-shadow: 0 0 0 3px rgba(92, 104, 255, 0.16);
}

.application-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.application-public-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.application-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: #5865f2;
  border: 0;
  border-radius: 8px;
}

.application-submit:disabled { cursor: wait; opacity: 0.62; }
.application-submit svg { width: 17px; height: 17px; }

.application-public-feedback {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.application-public-feedback.is-success { color: var(--green-soft); }
.application-public-feedback.is-error { color: var(--danger); }

@media (max-width: 680px) {
  .application-public-form { grid-template-columns: 1fr; }
  .application-public-form label { grid-column: 1 / -1; }
}

.rdv-panel {
  display: grid;
  gap: 18px;
}

.rdv-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rdv-feedback.is-success {
  color: #9ce0b6;
}

.rdv-feedback.is-error {
  color: var(--danger);
}

.rdv-list-wrap {
  display: grid;
  gap: 12px;
}

.rdv-list-title {
  margin: 0;
  color: var(--yellow-soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rdv-list {
  display: grid;
  gap: 12px;
}

.rdv-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rdv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.rdv-card.is-patron-hold {
  border-color: rgba(255, 90, 90, 0.28);
}

.rdv-patron-button {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.34);
}

.rdv-patron-button:hover:not(:disabled) {
  background: rgba(255, 90, 90, 0.18);
  border-color: rgba(255, 90, 90, 0.5);
}

.rdv-patron-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.rdv-card.is-assigned {
  border-color: rgba(34, 212, 119, 0.28);
}

.rdv-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.rdv-card-copy {
  display: grid;
  gap: 4px;
}

.rdv-card-copy strong {
  color: var(--text);
  font-size: 1.05rem;
}

.rdv-card-copy span {
  color: var(--yellow-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.rdv-card-date {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.rdv-card-label {
  color: var(--muted);
  font-weight: 800;
}

.rdv-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.rdv-card-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  color: #9ce0b6;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 999px;
}

.rdv-card-badge--patron {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.1);
  border-color: rgba(255, 90, 90, 0.24);
}

.rdv-card-badge--team {
  color: var(--yellow-soft);
  background: rgba(240, 222, 72, 0.08);
  border-color: rgba(240, 222, 72, 0.24);
}

.absence-delete:hover:not(:disabled) {
  background: rgba(255, 90, 90, 0.16);
}

.absence-delete:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.selected-property-meta {
  display: grid;
  gap: 4px;
}

.selected-property-meta span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-property-meta strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.selected-property-meta small {
  color: var(--green-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.selected-property-meta .config-stock-status {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #fff2a4;
  background: rgba(247, 222, 63, 0.08);
  border: 1px solid rgba(247, 222, 63, 0.34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: none;
}

.selected-property-meta .config-stock-status.is-empty {
  color: #ffb0b0;
  background: rgba(255, 82, 82, 0.08);
  border-color: rgba(255, 82, 82, 0.4);
}

.config-field {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.config-field[hidden] {
  display: none !important;
}

.config-field select,
.config-field input[type="text"],
.config-field input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
  outline: none;
}

.config-field select:focus,
.config-field input[type="text"]:focus,
.config-field input[type="number"]:focus {
  border-color: rgba(34, 212, 119, 0.58);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  align-items: center;
}

.range-row input[type="range"] {
  accent-color: var(--green);
}

.toggle-row {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--text);
  background: #151820;
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 8px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.garage-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.garage-choice-list.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.garage-choice {
  min-height: 44px;
  padding: 0 10px;
  font-weight: 800;
}

.config-rental-total {
  color: var(--yellow-soft);
  font-size: clamp(1.65rem, 2.35vw, 2.15rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.config-weekly-total {
  color: var(--green-soft);
  font-size: 1.05rem;
  line-height: 1.2;
}

#configDiscount {
  color: #ff7777;
  font-weight: 900;
}

.configurator-result > strong.config-rental-total {
  margin-bottom: 2px;
}

.config-client-total-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.config-estimate-layout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.config-duration-panel,
.config-estimate-panel {
  display: grid;
  flex: 1 1 0;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.config-duration-panel .duration-choice-list {
  grid-template-columns: 1fr;
}

.config-estimate-panel .summary-list div:first-child {
  border-top: none;
  padding-top: 4px;
}

.employee-module--configurator .config-estimate-layout {
  flex-direction: row;
}

@media (max-width: 520px) {
  .config-estimate-layout {
    flex-direction: column;
  }
}

.config-bill-actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.config-bill-amount {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.config-bill-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.config-bill-amount-label {
  color: var(--green-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.config-bill-amount strong {
  color: var(--yellow-soft);
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

.config-bill-amount-note {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.config-bill-button {
  min-height: 42px;
  padding: 0 16px;
  align-self: center;
}

.config-bill-button:disabled {
  color: #ffd0d0;
  cursor: not-allowed;
  background: rgba(255, 82, 82, 0.16);
  border-color: rgba(255, 82, 82, 0.38);
  opacity: 1;
}

@media (max-width: 720px) {
  .config-bill-actions {
    grid-template-columns: 1fr;
  }
}

.config-billing-readonly-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.config-billing-block {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.configurator-result .config-billing-block .billing-field-label {
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.configurator-result .config-billing-block .billing-client-control {
  min-height: 40px;
  padding: 0 12px;
  gap: 8px;
  border-radius: 8px;
}

.configurator-result .config-billing-block .billing-client-control svg {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
}

.configurator-result .config-billing-block .billing-client-control input {
  font-size: 0.92rem;
}

.billing-phone-hint {
  margin: 4px 0 0;
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.billing-phone-hint[hidden] {
  display: none;
}

.configurator-result .config-billing-block .client-property-list {
  gap: 4px;
}

.configurator-result .config-billing-block .client-property-list .panel-label {
  font-size: 0.68rem;
}

.configurator-result .config-billing-block .client-property-actions,
.configurator-result .config-billing-block .client-suggest-list {
  gap: 4px;
}

.configurator-result .config-billing-block .client-property-choice,
.configurator-result .config-billing-block .client-suggest-item {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.86rem;
}

.configurator-result .config-billing-block .billing-capture-grid {
  gap: 8px;
}

.configurator-result .config-billing-block .billing-capture-zone {
  min-height: 92px;
  padding: 8px 10px;
  border-radius: 8px;
}

.configurator-result .config-billing-block .billing-capture-empty {
  gap: 2px;
  max-width: none;
}

.configurator-result .config-billing-block .billing-capture-empty svg {
  width: 20px;
  height: 20px;
}

.configurator-result .config-billing-block .billing-capture-empty strong {
  font-size: 0.82rem;
}

.configurator-result .config-billing-block .billing-capture-empty span {
  font-size: 0.72rem;
  line-height: 1.25;
}

.configurator-result .config-billing-block .billing-capture-preview {
  max-height: 140px;
}

.configurator-result .config-billing-block .billing-capture-clear {
  top: 6px;
  right: 6px;
  min-height: 28px;
  padding: 0 8px;
  font-size: 0.76rem;
}

.duration-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.duration-choice,
.client-suggest-item,
.client-property-choice {
  display: grid;
  gap: 3px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.client-suggest-item small,
.client-property-choice small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.duration-choice.active,
.client-property-choice.active,
.client-property-choice:hover,
.client-suggest-item:hover {
  background: rgba(34, 212, 119, 0.11);
  border-color: rgba(34, 212, 119, 0.48);
}

.client-suggest-list {
  display: grid;
  gap: 6px;
}

.client-duplicate-alert {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 224, 80, 0.12), rgba(255, 224, 80, 0.035)),
    rgba(18, 24, 22, 0.82);
  border: 1px solid rgba(255, 224, 80, 0.28);
  border-radius: 8px;
}

.client-duplicate-alert[hidden] {
  display: none;
}

.client-duplicate-copy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.client-duplicate-copy svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--yellow-soft);
}

.client-duplicate-copy div {
  display: grid;
  gap: 2px;
}

.client-duplicate-copy strong {
  font-size: 0.9rem;
}

.client-duplicate-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.client-duplicate-actions {
  display: grid;
  gap: 6px;
}

.client-duplicate-choice {
  display: grid;
  gap: 3px;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  font-weight: 800;
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 224, 80, 0.22);
  border-radius: 8px;
  cursor: pointer;
}

.client-duplicate-choice:hover {
  background: rgba(255, 224, 80, 0.12);
  border-color: rgba(255, 224, 80, 0.42);
}

.client-duplicate-choice small {
  color: var(--muted);
  font-size: 0.74rem;
}

.client-property-list {
  display: grid;
  gap: 8px;
}

.client-property-actions {
  display: grid;
  gap: 8px;
}

.billing-field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.billing-client-field {
  display: grid;
  gap: 0;
}

.billing-client-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.billing-client-control:focus-within {
  border-color: rgba(34, 212, 119, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.billing-client-control svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.billing-client-control:focus-within svg {
  color: var(--green-soft);
}

.billing-client-control input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text);
  font-size: 1rem;
  background: transparent;
  border: 0;
  outline: 0;
}

.billing-client-control input::placeholder {
  color: rgba(215, 221, 231, 0.42);
}

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

.billing-capture-field {
  display: grid;
  gap: 0;
  min-width: 0;
}

.billing-capture-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: 16px;
  overflow: hidden;
  cursor: default;
  background:
    linear-gradient(135deg, rgba(34, 212, 119, 0.06), rgba(34, 212, 119, 0.02)),
    rgba(7, 10, 9, 0.92);
  border: 1px dashed rgba(34, 212, 119, 0.24);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.billing-capture-zone:focus-visible,
.billing-capture-zone.is-active {
  border-color: rgba(34, 212, 119, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.billing-capture-zone:hover {
  border-color: rgba(34, 212, 119, 0.38);
}

.billing-capture-zone.has-image {
  display: block;
  min-height: 0;
  padding: 8px;
  border-style: solid;
}

.billing-capture-empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 220px;
  text-align: center;
}

.billing-capture-empty[hidden] {
  display: none !important;
}

.billing-capture-empty svg {
  width: 28px;
  height: 28px;
  color: var(--green-soft);
}

.billing-capture-empty strong {
  font-size: 0.92rem;
}

.billing-capture-empty span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.billing-capture-preview {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: #07100d;
  border-radius: 6px;
}

.billing-capture-preview[hidden] {
  display: none !important;
}

.billing-capture-clear {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-height: 34px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(8, 9, 11, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.billing-capture-clear[hidden] {
  display: none;
}

.billing-capture-clear:hover {
  border-color: rgba(34, 212, 119, 0.35);
}

.config-bill-feedback.is-error {
  color: #ffb4b4;
  background: rgba(255, 86, 86, 0.12);
  border: 1px solid rgba(255, 86, 86, 0.28);
}

.config-bill-feedback.is-success {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border: 1px solid rgba(34, 212, 119, 0.28);
}

.employee-module--dossier {
  max-width: none;
  width: 100%;
}

.dossier-panel {
  display: grid;
  gap: 18px;
}

.dossier-search {
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(34, 212, 119, 0.08), rgba(34, 212, 119, 0.02)),
    rgba(12, 16, 14, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.dossier-search-wrap {
  display: grid;
  gap: 12px;
  margin: 0;
}

.dossier-search-label {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dossier-search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dossier-search-control:focus-within {
  border-color: rgba(34, 212, 119, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.12);
}

.dossier-search-control svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.dossier-search-control:focus-within svg {
  color: var(--green-soft);
}

.dossier-search-control input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text);
  font-size: 1rem;
  background: transparent;
  border: 0;
  outline: 0;
}

.dossier-search-control input::placeholder {
  color: rgba(215, 221, 231, 0.42);
}

.dossier-search-control input::-webkit-search-cancel-button {
  display: none;
}

.dossier-search-clear {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dossier-search-clear[hidden] {
  display: none;
}

.dossier-search-clear:hover {
  color: var(--text);
  background: rgba(34, 212, 119, 0.1);
  border-color: rgba(34, 212, 119, 0.28);
}

.dossier-search-clear svg {
  width: 16px;
  height: 16px;
}

.dossier-results {
  display: grid;
  gap: 10px;
}

.dossier-client-block {
  display: grid;
  gap: 0;
  padding: 10px 14px;
  background: rgba(18, 24, 22, 0.72);
  border: 1px solid rgba(34, 212, 119, 0.22);
  border-radius: 8px;
}

.dossier-client-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.dossier-client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.dossier-client-toggle {
  display: grid;
  width: 100%;
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dossier-client-toggle:focus-visible {
  outline: 2px solid rgba(34, 212, 119, 0.52);
  outline-offset: 4px;
}

.dossier-client-name {
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-client-count {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.dossier-client-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--green-soft);
  transition: transform 160ms ease;
}

.dossier-client-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.dossier-merge-toggle,
.dossier-edit-button,
.dossier-phone-button,
.dossier-phone-label,
.dossier-export-button {
  display: inline-flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dossier-merge-toggle[hidden],
.dossier-edit-button[hidden],
.dossier-phone-button[hidden],
.dossier-phone-label[hidden],
.dossier-export-button[hidden] {
  display: none !important;
}

.dossier-merge-toggle,
.dossier-edit-button,
.dossier-phone-button,
.dossier-export-button {
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dossier-merge-toggle:hover:not(:disabled),
.dossier-merge-toggle[aria-expanded="true"] {
  color: var(--yellow-soft);
  background: rgba(255, 224, 80, 0.08);
  border-color: rgba(255, 224, 80, 0.28);
}

.dossier-edit-button:hover:not(:disabled) {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.3);
}

.dossier-phone-button:hover:not(:disabled),
.dossier-phone-button.has-phone,
.dossier-phone-label.has-phone {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.08);
  border-color: rgba(34, 212, 119, 0.26);
}

.dossier-export-button:hover:not(:disabled) {
  color: #9ed8ff;
  background: rgba(90, 172, 255, 0.09);
  border-color: rgba(90, 172, 255, 0.3);
}

.dossier-phone-button:disabled,
.dossier-edit-button:disabled,
.dossier-export-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dossier-merge-toggle svg,
.dossier-edit-button svg,
.dossier-phone-button svg,
.dossier-phone-label svg,
.dossier-export-button svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

.dossier-merge-toggle span,
.dossier-edit-button span,
.dossier-phone-button span,
.dossier-phone-label span,
.dossier-export-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dossier-merge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
  padding: 12px;
  background: rgba(255, 224, 80, 0.055);
  border: 1px solid rgba(255, 224, 80, 0.22);
  border-radius: 8px;
}

.dossier-merge-panel[hidden] {
  display: none;
}

.dossier-merge-panel label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.dossier-merge-panel label span {
  color: var(--yellow-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dossier-merge-panel select {
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  color: var(--text);
  font-weight: 800;
  background: rgba(7, 10, 9, 0.92);
  border: 1px solid rgba(255, 224, 80, 0.24);
  border-radius: 8px;
}

.dossier-merge-confirm {
  min-height: 38px;
  padding: 0 14px;
  color: #08100d;
  font-size: 0.84rem;
  font-weight: 900;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 224, 80, 0.5);
  border-radius: 8px;
  cursor: pointer;
}

.dossier-merge-confirm:hover:not(:disabled) {
  filter: brightness(1.05);
}

.dossier-merge-confirm:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.dossier-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.dossier-property-grid[hidden] {
  display: none;
}

.dossier-property-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dossier-property-head {
  display: grid;
  gap: 4px;
}

.dossier-property-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dossier-property-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.dossier-property-meta div {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dossier-property-meta dt {
  color: var(--muted);
  font-size: 0.74rem;
}

.dossier-property-meta dd {
  margin: 0;
  font-weight: 800;
}

.dossier-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dossier-proof-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--green-soft);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.dossier-proof-button:hover {
  background: rgba(34, 212, 119, 0.16);
}

.dossier-proof-empty {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.dossier-delete-property {
  min-height: 38px;
  padding: 0 14px;
  color: #ffb4b4;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.dossier-delete-property:hover:not(:disabled) {
  background: rgba(255, 90, 90, 0.16);
}

.dossier-delete-property:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dossier-heading-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dossier-overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 10px;
}

.dossier-overview-stats div,
.dossier-detail-stats > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(34, 212, 119, 0.2);
  border-radius: 10px;
}

.dossier-overview-stats span,
.dossier-detail-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dossier-overview-stats strong {
  color: var(--green-soft);
  font-size: 1.15rem;
}

.dossier-overview-stats div:last-child strong {
  color: var(--yellow-soft);
}

.dossier-search-count {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(34, 212, 119, 0.12);
  border-radius: 999px;
}

.dossier-search-count[hidden] {
  display: none;
}

.dossier-client-block {
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dossier-client-block:hover {
  background: rgba(22, 34, 29, 0.84);
  border-color: rgba(34, 212, 119, 0.38);
  transform: translateY(-1px);
}

.dossier-client-block:focus-visible {
  outline: 2px solid rgba(34, 212, 119, 0.62);
  outline-offset: 3px;
}

.dossier-client-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(170px, 0.8fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 13px 15px;
}

.dossier-client-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-soft);
  font-size: 0.88rem;
  font-weight: 900;
  background: rgba(34, 212, 119, 0.13);
  border: 1px solid rgba(34, 212, 119, 0.18);
  border-radius: 50%;
}

.dossier-client-avatar--large {
  width: 64px;
  height: 64px;
  font-size: 1.15rem;
}

.dossier-client-copy,
.dossier-client-latest {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.dossier-client-copy > span,
.dossier-client-latest > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-client-copy .dossier-client-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8d9d0;
  font-weight: 700;
}

.dossier-client-phone svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  color: var(--green-soft);
}

.dossier-client-latest strong {
  overflow: hidden;
  color: #dce8e1;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-client-count {
  padding: 7px 10px;
  color: var(--green-soft);
  font-weight: 800;
  background: rgba(34, 212, 119, 0.08);
  border-radius: 999px;
}

.dossier-view-button,
.dossier-detail-back,
.dossier-detail-secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dossier-view-button {
  color: #07110c;
  background: var(--green-soft);
  border-color: rgba(34, 212, 119, 0.58);
}

.dossier-view-button:hover,
.dossier-detail-primary:hover {
  filter: brightness(1.07);
}

.dossier-view-button svg,
.dossier-detail-back svg,
.dossier-detail-secondary svg {
  width: 16px;
  height: 16px;
}

.dossier-panel.is-detail-view > .module-heading,
.dossier-panel.is-detail-view > .dossier-search {
  display: none;
}

.dossier-detail {
  display: grid;
  gap: 16px;
}

.dossier-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dossier-detail-topbar > span {
  color: var(--yellow-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(34, 212, 119, 0.12), rgba(34, 212, 119, 0.025)),
    rgba(10, 19, 15, 0.92);
  border: 1px solid rgba(34, 212, 119, 0.38);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.dossier-detail-hero:hover {
  border-color: rgba(34, 212, 119, 0.6);
}

.dossier-detail-hero:has(button:hover, a:hover, input:hover, select:hover, textarea:hover, label:hover) {
  cursor: default;
}

.dossier-detail-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.dossier-detail-profile h3,
.dossier-detail-heading h3 {
  margin: 0;
}

.dossier-detail-profile h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.dossier-detail-profile p,
.dossier-detail-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dossier-detail-phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.dossier-copy-phone {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0 10px;
  color: var(--green-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(34, 212, 119, 0.08);
  border: 1px solid rgba(34, 212, 119, 0.25);
  border-radius: 8px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dossier-copy-phone:hover,
.dossier-copy-phone:focus-visible {
  color: #07110c;
  background: var(--green-soft);
  border-color: var(--green-soft);
  outline: none;
  transform: translateY(-1px);
}

.dossier-copy-phone.is-copied {
  color: #07110c;
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
}

.dossier-copy-phone svg {
  width: 14px;
  height: 14px;
}

.dossier-client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dossier-client-badges span,
.dossier-property-status {
  padding: 6px 10px;
  font-size: 0.73rem;
  font-weight: 800;
  border-radius: 999px;
}

.dossier-client-badges .is-complete,
.dossier-property-status {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.12);
}

.dossier-client-badges .is-missing {
  color: var(--yellow-soft);
  background: rgba(255, 224, 80, 0.1);
}

.dossier-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dossier-detail-actions .dossier-edit-button,
.dossier-detail-actions .dossier-merge-toggle,
.dossier-detail-actions .dossier-export-button {
  min-height: 40px;
}

.dossier-detail-actions .dossier-detail-primary {
  color: #07110c;
  background: var(--green-soft);
  border-color: rgba(34, 212, 119, 0.58);
}

.dossier-detail-merge {
  grid-column: 1 / -1;
  width: 100%;
}

.dossier-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dossier-detail-stats strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-detail-stats > div:nth-child(2) strong {
  color: var(--yellow-soft);
}

.dossier-detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.dossier-detail-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  margin-top: 0;
}

.dossier-detail-grid .dossier-property-card {
  align-content: start;
  border-color: rgba(34, 212, 119, 0.22);
  border-radius: 12px;
}

.dossier-property-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dossier-property-head > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dossier-property-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dossier-detail-grid .dossier-delete-property {
  margin-left: auto;
}

@media (max-width: 1120px) {
  .dossier-client-summary {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .dossier-client-latest {
    display: none;
  }

  .dossier-detail-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 760px) {
  .dossier-overview-stats {
    width: 100%;
  }

  .dossier-search-count {
    display: none;
  }

  .dossier-client-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
  }

  .dossier-client-count {
    display: none;
  }

  .dossier-view-button {
    width: 40px;
    padding: 0;
  }

  .dossier-view-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .dossier-detail-hero,
  .dossier-detail-stats,
  .dossier-detail-grid {
    grid-template-columns: 1fr;
  }

  .dossier-detail-actions {
    justify-content: flex-start;
  }

  .dossier-detail-actions > * {
    flex: 1 1 150px;
  }

  .dossier-detail-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .dossier-client-avatar--large {
    width: 50px;
    height: 50px;
  }

  .dossier-detail-hero {
    padding: 16px;
  }

  .dossier-property-meta {
    grid-template-columns: 1fr;
  }
}

.photo-viewer[hidden] {
  display: none !important;
}

body.photo-viewer-open {
  overflow: hidden;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
}

.photo-viewer-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(4, 6, 8, 0.86);
  border: 0;
  cursor: pointer;
}

.photo-viewer-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 920px);
  max-height: min(92vh, 960px);
  padding: 18px;
  background: linear-gradient(180deg, #131820 0%, var(--panel) 100%);
  border: 1px solid rgba(34, 212, 119, 0.24);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.photo-viewer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.photo-viewer-title {
  margin: 0;
  padding-right: 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.photo-viewer-dialog img {
  width: 100%;
  max-height: calc(92vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(34, 212, 119, 0.18);
  background: #07100d;
}

.dossier-proof-links a {
  color: var(--green-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.summary-list > div[hidden] {
  display: none !important;
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .review-form-panel {
    position: static;
  }

  .catalog-promo-banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-promo-chips {
    grid-column: 1 / -1;
  }

  .catalog-promo-action {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .property-card-layout {
    grid-template-columns: 1fr;
  }

  .property-card--with-gallery .style-gallery {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .property-card--with-gallery .style-gallery img {
    aspect-ratio: var(--image-ratio);
    height: auto;
    min-height: 0;
  }

  .property-grid,
  .configurator,
  .pricing-strip,
  .placeholder-sections {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 470px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --sidebar-closed: 0px;
  }

  .catalog-report-types {
    grid-template-columns: 1fr;
  }

  .catalog-report-dialog {
    padding: 20px 16px;
  }

  .sidebar {
    right: 0;
    bottom: auto;
    width: auto;
    height: 72px;
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-promo-banner {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }

  .catalog-promo-timer {
    justify-items: start;
  }

  .catalog-promo-action {
    width: 100%;
  }

  .sidebar:hover,
  .sidebar:focus-within {
    width: auto;
  }

  .brand {
    display: none;
  }

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

  .reviews-overview > p {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .reviews-feed-header,
  .review-card header,
  .review-card footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-feed-header .review-filter-picker {
    width: 100%;
  }

  .nav-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-primary-row {
    display: contents;
  }

  .nav-link {
    min-width: 52px;
  }

  .nav-link span,
  .sidebar-foot {
    display: none;
  }

  .page {
    margin-left: 0;
    padding-top: 72px;
  }

  .hero,
  .toolbar,
  .content-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: 500px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .theme-switch--toolbar {
    display: flex;
    width: 100%;
  }

  .theme-switch--toolbar .theme-switch-label {
    opacity: 1;
    transform: none;
  }

  .discord-cta {
    width: 100%;
  }

  .category-summary {
    justify-items: start;
  }

  .segmented {
    overflow-x: auto;
  }

  .segment {
    flex: 1 0 auto;
  }

  .property-grid,
  .configurator,
  .spec-list,
  .garage-row,
  .style-gallery,
  .pricing-strip,
  .placeholder-sections {
    grid-template-columns: 1fr;
  }

  .card-topline {
    grid-template-columns: 1fr;
  }

  .card-topline strong {
    text-align: left;
  }

  .employee-shell {
    grid-template-columns: 1fr;
  }

  .employee-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    gap: 16px;
    padding: 16px 18px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .employee-sidebar:hover,
  .employee-sidebar:focus-within {
    width: 100%;
    box-shadow: none;
  }

  .employee-sidebar-head {
    min-width: 0;
  }

  .employee-brand {
    min-width: 0;
  }

  .employee-brand-copy {
    opacity: 1;
    transform: none;
  }

  .employee-sidebar nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    min-width: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .employee-sidebar nav a span {
    opacity: 1;
    transform: none;
  }

  .employee-sidebar nav a,
  .employee-sidebar:not(:hover):not(:focus-within) nav a.active,
  .employee-sidebar:not(:hover):not(:focus-within) nav a.reduction-link.active {
    background: rgba(255, 255, 255, 0.03);
  }

  .employee-sidebar:not(:hover):not(:focus-within) nav a.active::before {
    display: none;
  }

  .absence-layout {
    grid-template-columns: 1fr;
  }

  .employee-workspace {
    padding: 22px 18px;
  }

  .module-heading,
  .absence-card-head,
  .absence-card div {
    align-items: start;
    flex-direction: column;
  }

  .dossier-client-head {
    grid-template-columns: 1fr;
  }

  .dossier-client-actions {
    width: 100%;
  }

  .dossier-merge-toggle,
  .dossier-edit-button,
  .dossier-phone-button,
  .dossier-phone-label,
  .dossier-export-button {
    justify-content: flex-start;
    width: 100%;
  }

  .dossier-merge-panel {
    grid-template-columns: 1fr;
  }

  .client-phone-actions {
    grid-template-columns: 1fr;
  }

  .dynasty-datetime-time {
    grid-template-columns: 1fr;
  }

  .direction-golden-ticket-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .direction-season-grid {
    grid-template-columns: 1fr;
  }

  .direction-season-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .direction-season-card .direction-page-switch {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .direction-golden-ticket-fields {
    grid-template-columns: 1fr;
  }

  .direction-golden-ticket-save {
    width: 100%;
  }

  .golden-ticket-dialog {
    padding: 24px 20px;
  }

  .golden-ticket-found {
    top: 64px;
    right: 9px;
  }

  .golden-ticket-found:hover,
  .golden-ticket-found:focus-visible,
  .golden-ticket-found.is-watching,
  .golden-ticket-found.is-unlocked {
    clip-path: inset(0 round 5px 13px 13px 5px);
  }

  .golden-ticket-found--card,
  .golden-ticket-found--reviews {
    right: -30px;
    clip-path: none;
  }

  .golden-ticket-found--card:hover,
  .golden-ticket-found--card:focus-visible,
  .golden-ticket-found--card.is-watching,
  .golden-ticket-found--card.is-unlocked,
  .golden-ticket-found--reviews:hover,
  .golden-ticket-found--reviews:focus-visible,
  .golden-ticket-found--reviews.is-watching,
  .golden-ticket-found--reviews.is-unlocked {
    right: 8px;
  }

  .golden-ticket-found--reviews {
    top: 92px;
  }

  .golden-ticket-found--estimate {
    top: 72px;
  }

  .golden-ticket-reward-card {
    min-height: 230px;
    padding: 30px 28px;
  }

  .catalog-season-corner {
    bottom: 10px;
  }

  .catalog-season-corner--left {
    left: 10px;
  }

  .catalog-season-corner--right {
    right: 10px;
  }

  .catalog-season-corner svg {
    width: 30px;
    height: 30px;
  }

  .catalog-season-side-garland {
    display: none;
  }

  body.catalog-season-christmas .christmas-card-decoration {
    top: 12px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  body.catalog-season-christmas .property-card:has(.golden-ticket-found) .christmas-card-decoration {
    top: 54px;
    right: 10px;
  }

  .catalog-season-particle:nth-child(n + 11) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .golden-ticket-found,
  .golden-ticket-found.is-unlocked,
  .golden-ticket-found.is-opening,
  .golden-ticket-found.is-impatient,
  .golden-ticket-dialog.is-revealing,
  .golden-ticket-reward-shine,
  .catalog-season-garland > span,
  .catalog-season-side-garland > span,
  .christmas-card-decoration,
  .catalog-season-particle {
    animation: none;
  }

  .golden-ticket-dialog.is-revealing {
    opacity: 1;
    transform: none;
  }

  .golden-ticket-reward-shine {
    display: none;
  }
}

html.theme-light {
  --bg: #f2f5f3;
  --panel: #ffffff;
  --panel-strong: #edf3ef;
  --line: rgba(22, 53, 37, 0.15);
  --text: #15221b;
  --muted: #637168;
  --green: #13975b;
  --green-soft: #17794d;
  --green-glow: rgba(19, 151, 91, 0.18);
  --yellow: #d2bb17;
  --yellow-soft: #ead735;
  color-scheme: light;
}

body.theme-light {
  background: var(--bg);
  color: var(--text);
}

body.theme-light .sidebar {
  background: #fbfdfc;
  border-color: rgba(22, 53, 37, 0.12);
  box-shadow: 18px 0 42px rgba(25, 49, 36, 0.12);
}

body.theme-light .sidebar:hover,
body.theme-light .sidebar:focus-within {
  box-shadow: 24px 0 58px rgba(25, 49, 36, 0.16);
}

body.theme-light .brand-mark {
  background: #ffffff;
}

body.theme-light .nav-link--reviews,
body.theme-light .login-link {
  background: rgba(19, 151, 91, 0.08);
}

body.theme-light .nav-link:hover,
body.theme-light .nav-link:focus-visible,
body.theme-light .nav-link.active,
body.theme-light .login-link:hover,
body.theme-light .login-link:focus-visible,
body.theme-light .login-link.active {
  background: rgba(19, 151, 91, 0.12);
}

body.theme-light .page,
body.theme-light .content-section {
  background: var(--bg);
}

body.theme-light .hero-media {
  background:
    linear-gradient(90deg, rgba(248, 251, 249, 0.94), rgba(242, 249, 245, 0.62) 54%, rgba(242, 245, 243, 0.18)),
    linear-gradient(0deg, #f2f5f3 0%, rgba(242, 245, 243, 0) 44%),
    url("assets/hero.jpg") center / cover;
}

body.theme-light .hero-content,
body.theme-light .hero-panel {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.78);
}

body.theme-light .toolbar,
body.theme-light .category-summary,
body.theme-light .segmented,
body.theme-light .search-field,
body.theme-light .theme-switch,
body.theme-light .icon-button {
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .property-card,
body.theme-light .special-offer-card {
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.15);
  box-shadow: 0 18px 40px rgba(31, 57, 43, 0.1);
}

body.theme-light .property-card--with-gallery .style-gallery,
body.theme-light .style-gallery,
body.theme-light .spec-list > div,
body.theme-light .garage-row > div,
body.theme-light .pricing-strip > div {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.13);
}

body.theme-light input,
body.theme-light textarea,
body.theme-light select,
body.theme-light .review-employee-trigger,
body.theme-light .review-filter-trigger,
body.theme-light .dashboard-announcement-status-trigger {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.28);
}

body.theme-light .employee-view .content-section,
body.theme-light.employee-view .content-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(19, 151, 91, 0.09), transparent 30%),
    #f2f5f3;
}

body.theme-light .employee-shell {
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .employee-sidebar {
  background: #fbfdfc;
  border-color: rgba(22, 53, 37, 0.12);
  box-shadow: 18px 0 40px rgba(22, 53, 37, 0.09);
}

body.theme-light .employee-sidebar:hover,
body.theme-light .employee-sidebar:focus-within {
  background: #ffffff;
  box-shadow: 26px 0 70px rgba(22, 53, 37, 0.16);
}

body.theme-light .employee-sidebar nav a {
  background: transparent;
}

body.theme-light .employee-sidebar:hover nav a,
body.theme-light .employee-sidebar:focus-within nav a {
  background: #f1f5f2;
}

body.theme-light .employee-sidebar nav a:hover,
body.theme-light .employee-sidebar nav a:focus-visible,
body.theme-light .employee-sidebar nav a.active {
  background: rgba(19, 151, 91, 0.12);
}

body.theme-light .employee-sidebar:not(:hover):not(:focus-within) nav a.active,
body.theme-light .employee-sidebar:not(:hover):not(:focus-within) nav a.reduction-link.active {
  background: transparent;
}

body.theme-light .employee-brand-mark {
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .employee-sidebar,
  .employee-brand-copy,
  .employee-sidebar nav a,
  .employee-sidebar nav a span {
    transition: none;
  }
}

body.theme-light .employee-logout,
body.theme-light .dashboard-card,
body.theme-light .dashboard-panel,
body.theme-light .dashboard-announcements,
body.theme-light .direction-tool-page,
body.theme-light .dashboard-direction,
body.theme-light .direction-latest-sales,
body.theme-light .direction-page-visibility,
body.theme-light .direction-auctions,
body.theme-light .direction-season-themes,
body.theme-light .direction-golden-ticket,
body.theme-light .direction-adjust-panel,
body.theme-light .absence-panel,
body.theme-light .discount-panel,
body.theme-light .training-page,
body.theme-light .dossier-panel,
body.theme-light .partnership-panel,
body.theme-light .reviews-feed,
body.theme-light .review-form-panel,
body.theme-light .login-panel {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.15);
  box-shadow: 0 16px 34px rgba(31, 57, 43, 0.08);
}

body.theme-light .direction-season-current,
body.theme-light .direction-season-card {
  color: var(--text);
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.13);
}

body.theme-light .direction-season-card--christmas.is-active {
  background: #edf8f1;
  border-color: rgba(19, 151, 91, 0.48);
}

body.theme-light .direction-season-card--halloween.is-active {
  background: #fff3e9;
  border-color: rgba(207, 99, 33, 0.45);
}

body.theme-light .direction-season-icon {
  color: #146840;
  background: #e3f4ea;
  border-color: rgba(19, 151, 91, 0.28);
}

body.theme-light .direction-season-card--halloween .direction-season-icon {
  color: #9f4b1c;
  background: #ffeadb;
  border-color: rgba(207, 99, 33, 0.3);
}

body.theme-light .dashboard-stats article,
body.theme-light .dashboard-pay-line,
body.theme-light .dashboard-direction-summary article,
body.theme-light .direction-sale-card,
body.theme-light .direction-auction-control,
body.theme-light .direction-auction-stats > div,
body.theme-light .direction-auction-winner,
body.theme-light .direction-table,
body.theme-light .direction-log-table,
body.theme-light .announcement-card,
body.theme-light .review-card {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.12);
}

body.theme-light .direction-weekly-highlight {
  color: var(--text);
  background:
    linear-gradient(110deg, rgba(210, 187, 23, 0.09), transparent 55%),
    #ffffff;
  border-color: rgba(193, 163, 0, 0.28);
  box-shadow: 0 12px 26px rgba(31, 57, 43, 0.06);
}

body.theme-light .direction-weekly-highlight--time {
  background:
    linear-gradient(110deg, rgba(19, 151, 91, 0.08), transparent 55%),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .direction-table th,
body.theme-light .direction-log-table th {
  background: #eaf2ed;
}

body.theme-light .direction-table tr:hover td,
body.theme-light .direction-table tr.is-selected td {
  background: rgba(19, 151, 91, 0.08);
}

body.theme-light .review-employee-menu,
body.theme-light .review-filter-menu,
body.theme-light .dashboard-announcement-status-list {
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.34);
  box-shadow: 0 18px 42px rgba(31, 57, 43, 0.16);
}

body.theme-light .golden-ticket-dialog,
body.theme-light .catalog-report-dialog,
body.theme-light .estimate-dialog,
body.theme-light .photo-viewer-dialog,
body.theme-light .service-confirm-dialog,
body.theme-light .service-summary-dialog,
body.theme-light .pay-grid-dialog {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 57, 43, 0.22);
}

body.theme-light .dashboard-last-shift {
  background:
    linear-gradient(105deg, rgba(19, 151, 91, 0.08), transparent 42%),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 12px 28px rgba(31, 57, 43, 0.06);
}

body.theme-light .dashboard-last-shift-stats article,
body.theme-light .service-summary-stats article {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.12);
}

body.theme-light .golden-ticket-dialog > p {
  color: #405047;
}

body.theme-light .golden-ticket-reward-card::before,
body.theme-light .golden-ticket-reward-card::after {
  background: #ffffff;
  box-shadow:
    0 22px 0 #ffffff,
    0 44px 0 #ffffff,
    0 66px 0 #ffffff,
    0 88px 0 #ffffff,
    0 110px 0 #ffffff,
    0 132px 0 #ffffff,
    0 154px 0 #ffffff,
    0 176px 0 #ffffff,
    0 198px 0 #ffffff,
    0 220px 0 #ffffff,
    0 242px 0 #ffffff;
}

body.theme-light .property-card.has-golden-ticket::after {
  background: #ffffff;
}

body.theme-light .reviews-feed.has-golden-ticket::after {
  background: #ffffff;
}

body.theme-light .golden-ticket-backdrop,
body.theme-light .catalog-report-backdrop,
body.theme-light .estimate-backdrop,
body.theme-light .photo-viewer-backdrop,
body.theme-light .service-confirm-backdrop,
body.theme-light .pay-grid-backdrop {
  background: rgba(227, 235, 230, 0.78);
}

/* Complete light-theme coverage for components with explicit dark surfaces. */
body.theme-light .estimate-modal-dialog {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.28);
  box-shadow: 0 28px 80px rgba(31, 57, 43, 0.24);
}

body.theme-light .estimate-modal-backdrop {
  background: rgba(21, 34, 27, 0.72);
}

body.theme-light .estimate-modal-close {
  color: #405047;
  background: #edf3ef;
  box-shadow: 0 8px 22px rgba(31, 57, 43, 0.14);
}

body.theme-light .mini-configurator,
body.theme-light .service-confirm-stat,
body.theme-light .summary-list.mini-summary {
  color: var(--text);
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .summary-list.mini-summary div {
  border-color: rgba(22, 53, 37, 0.1);
}

body.theme-light .mini-storage-number {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.28);
}

body.theme-light .configurator-result {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 16px 36px rgba(31, 57, 43, 0.08);
}

body.theme-light .config-estimate-panel,
body.theme-light .config-duration-panel,
body.theme-light .config-bill-amount {
  color: var(--text);
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.13);
}

body.theme-light .config-estimate-panel .summary-list div,
body.theme-light .config-billing-block {
  border-color: rgba(22, 53, 37, 0.11);
}

body.theme-light .duration-choice,
body.theme-light .client-suggest-item,
body.theme-light .client-property-choice,
body.theme-light .client-duplicate-choice {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .duration-choice:hover,
body.theme-light .duration-choice.active,
body.theme-light .client-property-choice.active,
body.theme-light .client-property-choice:hover,
body.theme-light .client-suggest-item:hover,
body.theme-light .client-duplicate-choice:hover {
  color: var(--text);
  background: #e4f4ea;
  border-color: rgba(19, 151, 91, 0.42);
}

body.theme-light .client-duplicate-alert {
  background:
    linear-gradient(135deg, rgba(226, 185, 35, 0.16), rgba(226, 185, 35, 0.035)),
    #ffffff;
  border-color: rgba(177, 137, 17, 0.28);
}

body.theme-light .billing-client-control {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .billing-client-control input::placeholder {
  color: #87958d;
}

body.theme-light .billing-capture-zone {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(19, 151, 91, 0.07), rgba(19, 151, 91, 0.015)),
    #f8fbf9;
  border-color: rgba(19, 151, 91, 0.3);
}

body.theme-light .billing-capture-zone:hover,
body.theme-light .billing-capture-zone:focus-visible,
body.theme-light .billing-capture-zone.is-active {
  background: #eef8f2;
  border-color: rgba(19, 151, 91, 0.5);
}

body.theme-light .billing-capture-preview {
  background: #edf3ef;
}

body.theme-light .billing-capture-clear {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(22, 53, 37, 0.16);
}

body.theme-light .config-bill-amount-note,
body.theme-light .config-client-total-hint,
body.theme-light .garage-field-hint,
body.theme-light .billing-capture-empty span {
  color: var(--muted);
}

body.theme-light .custom-option-trigger,
body.theme-light .direction-filter-trigger,
body.theme-light .team-role-trigger {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.28);
}

body.theme-light .custom-option-trigger:hover,
body.theme-light .custom-option-trigger:focus-visible,
body.theme-light .custom-option-group.is-open .custom-option-trigger,
body.theme-light .direction-filter-trigger:hover,
body.theme-light .direction-filter-trigger:focus-visible,
body.theme-light .direction-filter-trigger[aria-expanded="true"],
body.theme-light .team-role-trigger:hover,
body.theme-light .team-role-trigger:focus-visible,
body.theme-light .team-role-trigger[aria-expanded="true"] {
  background: #edf6f0;
}

body.theme-light .custom-option-list,
body.theme-light .direction-filter-menu,
body.theme-light .team-role-menu {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.34);
  box-shadow: 0 18px 44px rgba(31, 57, 43, 0.18);
}

body.theme-light .custom-option-choice:hover,
body.theme-light .custom-option-choice:focus-visible,
body.theme-light .direction-filter-menu button:hover,
body.theme-light .direction-filter-menu button:focus-visible,
body.theme-light .direction-filter-menu button.is-selected,
body.theme-light .team-role-menu button:hover,
body.theme-light .team-role-menu button:focus-visible,
body.theme-light .team-role-menu button.active {
  background: rgba(19, 151, 91, 0.1);
}

body.theme-light .reviews-overview {
  background: rgba(22, 53, 37, 0.12);
  border-color: rgba(19, 151, 91, 0.25);
}

body.theme-light .reviews-overview > div,
body.theme-light .reviews-overview > p,
body.theme-light .reviews-empty,
body.theme-light .reviews-loading {
  color: var(--muted);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .reviews-empty strong,
body.theme-light .review-card p {
  color: var(--text);
}

body.theme-light .review-rating-button {
  color: #78847d;
  background: #f1f5f2;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .review-form-feedback {
  background: #f1f5f2;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .direction-quick-links button {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.24);
  box-shadow: 0 10px 24px rgba(31, 57, 43, 0.07);
}

body.theme-light .direction-quick-links button:hover,
body.theme-light .direction-quick-links button:focus-visible {
  background: #edf6f0;
  border-color: rgba(19, 151, 91, 0.48);
}

body.theme-light .direction-logs-table-panel,
body.theme-light .direction-audit-panel,
body.theme-light .team-table-wrap {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.15);
  box-shadow: 0 14px 32px rgba(31, 57, 43, 0.08);
}

body.theme-light .direction-log-summary article,
body.theme-light .direction-audit-summary article,
body.theme-light .direction-log-grid-head,
body.theme-light .direction-audit-head,
body.theme-light .team-table th {
  background: #edf3ef;
}

body.theme-light .direction-log-row:hover,
body.theme-light .direction-audit-row:hover,
body.theme-light .team-table tbody tr:hover {
  background: rgba(19, 151, 91, 0.06);
}

body.theme-light .direction-audit-search {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .dashboard-activity-log-button {
  color: var(--muted);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.15);
}

body.theme-light .dashboard-activity-log-button:hover,
body.theme-light .dashboard-activity-log-button:focus-visible {
  color: var(--green);
  background: #edf6f0;
  border-color: rgba(19, 151, 91, 0.4);
}

body.theme-light .team-role-readonly {
  color: var(--text);
  background: #edf3ef;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .sales-leaderboard {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(22, 53, 37, 0.15);
  box-shadow: 0 14px 32px rgba(31, 57, 43, 0.08);
}

body.theme-light .sales-podium-card,
body.theme-light .sales-leaderboard-item {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.12);
}

body.theme-light .sales-rank-default .sales-leaderboard-rank,
body.theme-light .sales-rank-badge.sales-rank-default {
  color: var(--text);
  background: #e8efea;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .formation-hero,
body.theme-light .formation-step,
body.theme-light .formation-note {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 10px 24px rgba(31, 57, 43, 0.06);
}

body.theme-light .formation-note {
  background: rgba(210, 187, 23, 0.09);
  border-color: rgba(210, 187, 23, 0.3);
}

body.theme-light .absence-form {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 14px 32px rgba(31, 57, 43, 0.08);
}

body.theme-light .absence-layout .absence-list-wrap {
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 14px 32px rgba(31, 57, 43, 0.08);
}

body.theme-light .absence-form input,
body.theme-light .absence-form textarea,
body.theme-light .dynasty-datetime-trigger {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.28);
}

body.theme-light .dynasty-datetime-trigger:hover,
body.theme-light .dynasty-datetime-trigger:focus-visible,
body.theme-light .dynasty-datetime-trigger[aria-expanded="true"] {
  background: #edf6f0;
}

body.theme-light .dynasty-datetime-panel {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.3);
  box-shadow: 0 20px 50px rgba(31, 57, 43, 0.2);
}

body.theme-light .dynasty-datetime-day,
body.theme-light .dynasty-datetime-time-list button {
  color: var(--text);
  background: #f3f7f4;
}

body.theme-light .dynasty-datetime-time {
  border-color: rgba(22, 53, 37, 0.12);
}

body.theme-light .dossier-search {
  background:
    linear-gradient(135deg, rgba(19, 151, 91, 0.08), rgba(19, 151, 91, 0.015)),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.22);
  box-shadow: 0 14px 32px rgba(31, 57, 43, 0.08);
}

body.theme-light .dossier-search-control {
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .dossier-search-control input::placeholder {
  color: #87958d;
}

body.theme-light .dossier-search-clear {
  color: var(--muted);
  background: #edf3ef;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .dossier-client-block {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 10px 25px rgba(31, 57, 43, 0.06);
}

body.theme-light .dossier-merge-toggle,
body.theme-light .dossier-edit-button,
body.theme-light .dossier-phone-button,
body.theme-light .dossier-phone-label,
body.theme-light .dossier-export-button {
  background: #f3f7f4;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .dossier-merge-toggle:hover:not(:disabled),
body.theme-light .dossier-merge-toggle[aria-expanded="true"] {
  color: #9a7608;
  background: rgba(226, 185, 35, 0.11);
  border-color: rgba(177, 137, 17, 0.28);
}

body.theme-light .dossier-edit-button:hover:not(:disabled) {
  color: var(--green-soft);
  background: rgba(19, 151, 91, 0.08);
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .client-dossier-identity-field input[type="file"],
body.theme-light .client-dossier-identity-field img {
  color: var(--text);
  background: #f3f7f4;
  border-color: rgba(19, 151, 91, 0.22);
}

body.theme-light .dossier-phone-button:hover:not(:disabled),
body.theme-light .dossier-phone-button.has-phone,
body.theme-light .dossier-phone-label.has-phone {
  color: var(--green-soft);
  background: rgba(19, 151, 91, 0.08);
  border-color: rgba(19, 151, 91, 0.24);
}

body.theme-light .dossier-export-button:hover:not(:disabled) {
  color: #2673a7;
  background: rgba(69, 144, 205, 0.1);
  border-color: rgba(69, 144, 205, 0.28);
}

body.theme-light .dossier-merge-panel {
  background: rgba(226, 185, 35, 0.08);
  border-color: rgba(177, 137, 17, 0.24);
}

body.theme-light .dossier-merge-panel select {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(177, 137, 17, 0.24);
}

body.theme-light .client-phone-dialog {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(19, 151, 91, 0.08), rgba(19, 151, 91, 0.02)),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.26);
  box-shadow: 0 24px 70px rgba(31, 57, 43, 0.22);
}

body.theme-light .client-phone-field input {
  color: var(--text);
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .client-phone-cancel {
  background: #f3f7f4;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .dossier-property-card,
body.theme-light .dossier-property-meta div {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.12);
}

body.theme-light .dossier-overview-stats div,
body.theme-light .dossier-detail-stats > div {
  background: #f6f9f7;
  border-color: rgba(19, 151, 91, 0.18);
}

body.theme-light .dossier-client-block:hover {
  background: #f8fbf9;
  border-color: rgba(19, 151, 91, 0.34);
}

body.theme-light .dossier-client-avatar {
  color: #087a43;
  background: rgba(19, 151, 91, 0.11);
  border-color: rgba(19, 151, 91, 0.18);
}

body.theme-light .dossier-client-latest strong {
  color: var(--text);
}

body.theme-light .service-confirm-dialog.is-danger {
  background:
    radial-gradient(circle at 50% 0%, rgba(220, 55, 55, 0.12), transparent 44%),
    #ffffff;
  border-color: rgba(210, 58, 58, 0.34);
  box-shadow: 0 28px 80px rgba(90, 30, 38, 0.24);
}

body.theme-light .service-confirm-dialog.is-danger .service-confirm-stat {
  background: #fff5f5;
  border-color: rgba(210, 58, 58, 0.2);
}

body.theme-light .service-confirm-dialog.is-danger .service-confirm-stat > strong {
  color: #821f2b;
}

body.theme-light .dossier-client-copy .dossier-client-phone {
  color: var(--text);
}

body.theme-light .dossier-client-count,
body.theme-light .dossier-search-count,
body.theme-light .dossier-client-badges .is-complete,
body.theme-light .dossier-property-status {
  color: #087a43;
  background: rgba(19, 151, 91, 0.1);
}

body.theme-light .dossier-detail-hero {
  background:
    linear-gradient(135deg, rgba(19, 151, 91, 0.09), rgba(19, 151, 91, 0.015)),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.3);
}

body.theme-light .dossier-view-button,
body.theme-light .dossier-detail-actions .dossier-detail-primary {
  color: #ffffff;
  background: #13975b;
  border-color: #13975b;
}

body.theme-light .dossier-detail-back,
body.theme-light .dossier-detail-secondary {
  color: var(--text);
  background: #f3f7f4;
  border-color: rgba(22, 53, 37, 0.14);
}

body.theme-light .dossier-detail-grid .dossier-property-card {
  background: #ffffff;
  border-color: rgba(19, 151, 91, 0.2);
  box-shadow: 0 10px 24px rgba(31, 57, 43, 0.05);
}

body.theme-light .employee-action:not(.submit):not(.dashboard-reset-all),
body.theme-light .direction-tool-back {
  color: var(--green-soft);
}

body.theme-light .property-admin-button {
  color: #52665c;
  background: #f3f7f4;
  border-color: rgba(22, 53, 37, 0.15);
}

body.theme-light .property-card.is-property-unavailable {
  border-color: rgba(205, 52, 52, 0.42);
}

body.theme-light .property-unavailable-notice {
  color: #8e2626;
  background: #fff2f2;
  border-color: rgba(205, 52, 52, 0.28);
}

body.theme-light .property-unavailable-notice small {
  color: #855f5f;
}

body.theme-light .property-admin-dialog {
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(19, 151, 91, 0.06), transparent 40%),
    #ffffff;
  border-color: rgba(19, 151, 91, 0.3);
  box-shadow: 0 28px 70px rgba(31, 57, 43, 0.25);
}

body.theme-light .property-admin-option {
  background: #f6f9f7;
  border-color: rgba(22, 53, 37, 0.13);
}

body.theme-light .property-admin-option--danger:has(input:checked) {
  background: #fff2f2;
  border-color: rgba(205, 52, 52, 0.32);
}

body.theme-light .property-admin-option--discount:has(input:checked),
body.theme-light .property-admin-discount-value {
  background: #fffcec;
  border-color: rgba(193, 163, 0, 0.3);
}

body.theme-light .property-admin-number {
  background: #ffffff;
  border-color: rgba(193, 163, 0, 0.4);
}

@media (max-width: 760px) {
  .employee-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-switch--employee {
    min-width: 0;
  }

  .property-admin-dialog {
    padding: 22px 16px 16px;
  }

  .property-admin-option {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .property-admin-option-icon {
    width: 38px;
    height: 38px;
  }

  .property-admin-option-copy small {
    font-size: 0.69rem;
  }

  .property-admin-discount-value {
    align-items: stretch;
    flex-direction: column;
  }

  .property-admin-number {
    width: 100%;
  }
}

/* Configurateur immobilier — interface trois colonnes */
.employee-module--configurator .configurator {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(440px, 1.65fr) minmax(270px, 0.88fr);
  grid-template-areas:
    "heading heading heading"
    "picker details summary"
    "client client client"
    "footer footer footer";
  gap: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 212, 119, 0.055), transparent 32%),
    linear-gradient(145deg, rgba(13, 20, 25, 0.98), rgba(6, 10, 13, 0.99));
  border: 1px solid rgba(116, 137, 150, 0.28);
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.configurator-heading {
  display: grid;
  grid-area: heading;
  justify-items: center;
  gap: 3px;
  padding: 2px 16px 8px;
  text-align: center;
}

.configurator-heading-kicker {
  color: var(--green-soft);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.configurator-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.configurator-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.employee-module--configurator .property-picker,
.employee-module--configurator .selected-property,
.employee-module--configurator .configurator-result,
.employee-module--configurator .configurator-client-panel {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(15, 22, 27, 0.97), rgba(9, 14, 18, 0.98));
  border: 1px solid rgba(116, 137, 150, 0.24);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.employee-module--configurator .property-picker {
  grid-area: picker;
  align-content: start;
  gap: 14px;
}

.employee-module--configurator .selected-property {
  grid-area: details;
  align-content: start;
}

.employee-module--configurator .configurator-result {
  grid-area: summary;
  gap: 14px;
}

.employee-module--configurator .configurator-client-panel {
  grid-area: client;
  margin: 0;
  padding: 18px;
  border-top: 1px solid rgba(116, 137, 150, 0.24);
}

.employee-module--configurator .picker-top {
  gap: 9px;
}

.employee-module--configurator .picker-top > strong {
  font-size: 1.22rem;
}

.config-search-control {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: rgba(5, 10, 14, 0.84);
  border: 1px solid rgba(116, 137, 150, 0.28);
  border-radius: 9px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.config-search-control:focus-within {
  border-color: rgba(46, 211, 116, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 212, 119, 0.09);
}

.config-search-control svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: #78848f;
}

.employee-module--configurator .config-search {
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.config-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.config-category-filter {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(116, 137, 150, 0.24);
  border-radius: 7px;
}

.config-category-filter:hover,
.config-category-filter.active {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.09);
  border-color: rgba(34, 212, 119, 0.38);
}

.employee-module--configurator .property-choice-list {
  max-height: 590px;
  gap: 9px;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 212, 119, 0.34) transparent;
}

.employee-module--configurator .property-choice {
  position: relative;
  grid-template-columns: 84px minmax(0, 1fr) 28px;
  min-height: 92px;
  padding: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(116, 137, 150, 0.26);
  border-radius: 9px;
}

.employee-module--configurator .property-choice.active {
  background: linear-gradient(100deg, rgba(34, 212, 119, 0.12), rgba(34, 212, 119, 0.035));
  border-color: #2ed374;
  box-shadow: 0 0 0 1px rgba(46, 211, 116, 0.12), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.employee-module--configurator .property-choice img {
  width: 84px;
  height: 72px;
  aspect-ratio: auto;
}

.employee-module--configurator .property-choice small {
  color: #9ea9b3;
  line-height: 1.35;
  white-space: normal;
}

.property-choice-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 5px;
  color: #04150b;
  background: #2ed374;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.property-choice.active .property-choice-check {
  opacity: 1;
  transform: scale(1);
}

.config-choice-empty {
  margin: 0;
  padding: 24px 14px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(116, 137, 150, 0.28);
  border-radius: 9px;
}

.employee-module--configurator .selected-property-layout {
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
}

.employee-module--configurator .selected-property-media {
  min-height: 245px;
  padding: 0;
  overflow: hidden;
  background: #080d11;
  border-color: rgba(116, 137, 150, 0.24);
  border-radius: 10px;
}

.employee-module--configurator .selected-property-image {
  width: 100%;
  height: 245px;
  max-height: none;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.08) brightness(0.94);
}

.employee-module--configurator .selected-property-body {
  gap: 15px;
}

.employee-module--configurator .selected-property-meta strong {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.employee-module--configurator .selected-property-meta small {
  font-size: 1.08rem;
}

.employee-module--configurator .range-row {
  grid-template-columns: minmax(0, 1fr) 90px;
}

.employee-module--configurator .range-row input[type="range"] {
  height: 7px;
  accent-color: #2ed374;
}

.employee-module--configurator .garage-choice-list {
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}

.employee-module--configurator .garage-choice {
  min-height: 58px;
  padding: 8px;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(116, 137, 150, 0.28);
}

.employee-module--configurator .garage-choice.active {
  color: var(--green-soft);
  background: rgba(34, 212, 119, 0.1);
  border-color: #2ed374;
}

.config-summary-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.config-summary-heading > svg {
  width: 30px;
  height: 30px;
  color: #2ed374;
}

.config-summary-heading > div {
  display: grid;
  gap: 2px;
}

.config-summary-heading strong {
  font-size: 1.2rem;
}

.config-summary-property {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 12px;
  padding: 13px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(116, 137, 150, 0.22);
}

.config-summary-property strong {
  max-width: 150px;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

.employee-module--configurator .config-estimate-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.employee-module--configurator .config-estimate-panel,
.employee-module--configurator .config-duration-panel {
  padding: 0;
  background: transparent;
  border: 0;
}

.employee-module--configurator .config-weekly-total {
  order: 3;
  padding-top: 10px;
  border-top: 1px solid rgba(116, 137, 150, 0.22);
}

.employee-module--configurator .summary-list {
  gap: 0;
}

.employee-module--configurator .summary-list div {
  padding: 10px 0;
}

.employee-module--configurator .duration-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employee-module--configurator .duration-choice {
  min-height: 38px;
  padding: 0 9px;
  text-align: center;
}

.config-total-block {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(116, 137, 150, 0.28);
}

.config-total-block > span {
  font-size: 1.05rem;
  font-weight: 800;
}

.config-total-block > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.config-total-block .config-rental-total {
  color: #f4d73f;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.config-total-block .config-client-total-hint {
  margin: 0;
  font-size: 0.76rem;
}

.employee-module--configurator .configurator-client-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.employee-module--configurator .configurator-client-panel > .client-suggest-list,
.employee-module--configurator .configurator-client-panel > .client-duplicate-alert,
.employee-module--configurator .configurator-client-panel > .client-property-list,
.employee-module--configurator .configurator-client-panel > .billing-capture-grid,
.employee-module--configurator .configurator-client-panel > .config-bill-actions,
.employee-module--configurator .configurator-client-panel > .config-bill-feedback {
  grid-column: 1 / -1;
}

.employee-module--configurator .configurator-client-panel .billing-capture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employee-module--configurator .config-bill-actions {
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
}

.employee-module--configurator .config-bill-button {
  min-height: 52px;
  padding: 0 28px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, #25a958, #329f51);
  border-color: #3bdd78;
  box-shadow: 0 10px 26px rgba(34, 212, 119, 0.16);
}

.configurator-footer {
  display: flex;
  grid-area: footer;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #87929d;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(116, 137, 150, 0.2);
  border-radius: 9px;
}

.configurator-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.configurator-footer svg {
  width: 18px;
  height: 18px;
}

body.theme-light .employee-module--configurator .configurator {
  background: linear-gradient(145deg, #f3f7f5, #eaf1ed);
  border-color: rgba(31, 64, 48, 0.18);
}

body.theme-light .employee-module--configurator .property-picker,
body.theme-light .employee-module--configurator .selected-property,
body.theme-light .employee-module--configurator .configurator-result,
body.theme-light .employee-module--configurator .configurator-client-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(31, 64, 48, 0.15);
}

body.theme-light .config-search-control,
body.theme-light .employee-module--configurator .property-choice {
  background: #f6faf8;
  border-color: rgba(31, 64, 48, 0.16);
}

@media (max-width: 1280px) {
  .employee-module--configurator .configurator {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.45fr);
    grid-template-areas:
      "heading heading"
      "picker details"
      "summary summary"
      "client client"
      "footer footer";
  }

  .employee-module--configurator .configurator-result {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    align-items: start;
  }

  .employee-module--configurator .config-summary-heading,
  .employee-module--configurator .config-summary-property {
    grid-column: 1 / -1;
  }

  .employee-module--configurator .config-total-block {
    align-self: stretch;
  }
}

@media (max-width: 860px) {
  .employee-module--configurator .configurator {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "picker"
      "details"
      "summary"
      "client"
      "footer";
    padding: 10px;
  }

  .employee-module--configurator .configurator-result,
  .employee-module--configurator .configurator-client-panel {
    grid-template-columns: 1fr;
  }

  .employee-module--configurator .configurator-result > *,
  .employee-module--configurator .configurator-client-panel > * {
    grid-column: 1;
  }

  .employee-module--configurator .property-choice-list {
    max-height: 420px;
  }

  .configurator-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }
}

@media (max-width: 560px) {
  .employee-module--configurator .property-picker,
  .employee-module--configurator .selected-property,
  .employee-module--configurator .configurator-result,
  .employee-module--configurator .configurator-client-panel {
    padding: 14px;
  }

  .employee-module--configurator .property-choice {
    grid-template-columns: 68px minmax(0, 1fr) 24px;
    min-height: 80px;
  }

  .employee-module--configurator .property-choice img {
    width: 68px;
    height: 60px;
  }

  .employee-module--configurator .selected-property-media,
  .employee-module--configurator .selected-property-image {
    min-height: 190px;
    height: 190px;
  }

  .employee-module--configurator .configurator-client-panel .billing-capture-grid,
  .employee-module--configurator .config-bill-actions {
    grid-template-columns: 1fr;
  }
}

/* Dossier de facturation */
.employee-module--configurator .configurator-client-panel.config-billing-block {
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(420px, 1.3fr) minmax(270px, 0.9fr);
  gap: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 212, 119, 0.04), transparent 34%),
    rgba(5, 10, 14, 0.7);
  border-color: rgba(116, 137, 150, 0.25);
}

.billing-dossier-column {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(15, 22, 27, 0.97), rgba(9, 14, 18, 0.98));
  border: 1px solid rgba(116, 137, 150, 0.24);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.billing-dossier-title {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 11px;
}

.billing-dossier-title svg {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  color: #2ed374;
}

.billing-dossier-title strong {
  font-size: 1.12rem;
}

.billing-dossier-property > img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: #080d11;
  border: 1px solid rgba(116, 137, 150, 0.24);
  border-radius: 9px;
  filter: contrast(1.06) saturate(1.08) brightness(0.94);
}

.billing-property-meta {
  display: grid;
  gap: 4px;
}

.billing-property-meta span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-property-meta strong {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.12;
}

.billing-property-meta small {
  color: var(--green-soft);
  font-size: 1rem;
  font-weight: 900;
}

.billing-property-summary {
  display: grid;
  margin: 2px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(116, 137, 150, 0.24);
  border-radius: 9px;
}

.billing-property-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-top: 1px solid rgba(116, 137, 150, 0.18);
}

.billing-property-summary div:first-child {
  border-top: 0;
}

.billing-property-summary dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.billing-property-summary dt svg {
  width: 18px;
  height: 18px;
}

.billing-property-summary dd {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.billing-property-summary div:first-child dd {
  color: var(--green-soft);
}

.billing-dossier-client {
  gap: 12px;
}

.billing-dossier-client .billing-client-field {
  gap: 5px;
}

.billing-dossier-client .billing-field-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.billing-dossier-client .billing-client-control {
  min-height: 52px;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(116, 137, 150, 0.26);
}

.billing-dossier-client .client-property-list {
  padding: 12px;
  background: rgba(34, 212, 119, 0.035);
  border: 1px dashed rgba(116, 137, 150, 0.3);
  border-radius: 9px;
}

.billing-documents-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3px;
}

.billing-documents-heading span {
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.billing-documents-heading small {
  color: var(--muted);
  font-size: 0.68rem;
}

.billing-dossier-client .billing-capture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.billing-dossier-client .billing-field-label {
  margin-bottom: 6px;
}

.billing-dossier-client .billing-capture-zone {
  min-height: 152px;
  background: rgba(4, 9, 12, 0.55);
  border-color: rgba(116, 137, 150, 0.38);
  border-radius: 9px;
}

.billing-dossier-client .billing-capture-empty svg {
  color: #8d99a5;
}

.billing-dossier-recap {
  gap: 16px;
}

.billing-dossier-recap .config-duration-panel {
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

.billing-dossier-recap .config-duration-panel > .panel-label {
  color: var(--green-soft);
  font-size: 0.76rem;
}

.billing-dossier-recap .config-duration-panel > .garage-field-hint {
  display: none;
}

.billing-dossier-recap .duration-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.billing-dossier-recap .duration-choice {
  position: relative;
  min-height: 68px;
  place-items: center;
  padding: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(116, 137, 150, 0.28);
}

.billing-dossier-recap .duration-choice.active {
  color: var(--text);
  background: linear-gradient(145deg, rgba(34, 212, 119, 0.14), rgba(34, 212, 119, 0.04));
  border-color: #2ed374;
  box-shadow: inset 0 0 22px rgba(34, 212, 119, 0.04);
}

.billing-dossier-recap .duration-choice.active::after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #04200e;
  font-size: 0.72rem;
  font-weight: 950;
  background: #2ed374;
  border-radius: 50%;
}

.billing-dossier-recap .config-total-block {
  gap: 8px;
  padding-top: 16px;
}

.billing-dossier-recap .config-total-block > span {
  color: var(--muted);
  font-size: 0.82rem;
}

.billing-dossier-recap .config-total-block .config-rental-total {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.billing-dossier-recap .config-bill-actions {
  display: block;
}

.billing-dossier-recap .config-bill-amount {
  display: none;
}

.billing-dossier-recap .config-bill-button {
  width: 100%;
  min-height: 54px;
  justify-content: center;
}

.billing-dossier-recap .config-bill-feedback {
  margin: 0;
}

body.theme-light .billing-dossier-column {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(31, 64, 48, 0.16);
}

body.theme-light .billing-property-summary,
body.theme-light .billing-dossier-client .billing-client-control,
body.theme-light .billing-dossier-client .billing-capture-zone {
  background: #f6faf8;
  border-color: rgba(31, 64, 48, 0.16);
}

@media (max-width: 1280px) {
  .employee-module--configurator .configurator-client-panel.config-billing-block {
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.25fr);
  }

  .billing-dossier-recap {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  }

  .billing-dossier-recap .billing-dossier-title {
    grid-column: 1 / -1;
  }

  .billing-dossier-recap .config-bill-actions,
  .billing-dossier-recap .config-bill-feedback {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .employee-module--configurator .configurator-client-panel.config-billing-block,
  .billing-dossier-recap {
    grid-template-columns: 1fr;
  }

  .billing-dossier-recap,
  .billing-dossier-recap .billing-dossier-title,
  .billing-dossier-recap .config-bill-actions,
  .billing-dossier-recap .config-bill-feedback {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .billing-dossier-client .billing-capture-grid,
  .billing-dossier-recap .duration-choice-list {
    grid-template-columns: 1fr;
  }

  .billing-documents-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Zone de configuration compacte */
.employee-module--configurator .selected-property,
.employee-module--configurator .configurator-result {
  align-self: start;
}

.employee-module--configurator .selected-property {
  padding: 12px;
}

.employee-module--configurator .selected-property-layout {
  gap: 12px;
}

.employee-module--configurator .selected-property-media {
  position: relative;
  min-height: 220px;
  isolation: isolate;
}

.employee-module--configurator .selected-property-media::after {
  content: "";
  position: absolute;
  inset: 32% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 11, 0.94));
}

.employee-module--configurator .selected-property-image {
  height: 220px;
}

.employee-module--configurator .selected-property-media .selected-property-meta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  gap: 3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.employee-module--configurator .selected-property-media .selected-property-meta span {
  color: #56e895;
}

.employee-module--configurator .selected-property-media .selected-property-meta strong {
  max-width: 90%;
  color: #fff;
  font-size: clamp(1.32rem, 2vw, 1.8rem);
}

.employee-module--configurator .selected-property-media .selected-property-meta small {
  color: #75eda7;
  font-size: 0.96rem;
}

.employee-module--configurator .selected-property-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.config-options-heading {
  display: flex;
  grid-column: 1 / -1;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 3px 2px;
}

.config-options-heading > svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: var(--green-soft);
}

.config-options-heading > div {
  display: grid;
  gap: 1px;
}

.config-options-heading strong {
  font-size: 0.9rem;
}

.config-options-heading span {
  color: var(--muted);
  font-size: 0.68rem;
}

.employee-module--configurator .selected-property-body > .config-field {
  min-width: 0;
  align-content: start;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(116, 137, 150, 0.22);
  border-radius: 9px;
}

.employee-module--configurator .selected-property-body > .config-field > span {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.employee-module--configurator .selected-property-body > .storage-field,
.employee-module--configurator .selected-property-body > .config-field:has(.garage-choice-list),
.employee-module--configurator .selected-property-body > .custom-options-field,
.employee-module--configurator .selected-property-body > .included-options-field,
.employee-module--configurator .selected-property-body > .floor-field {
  grid-column: 1 / -1;
}

.employee-module--configurator .selected-property-body .range-row {
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 10px;
}

.employee-module--configurator .selected-property-body .range-row input[type="number"],
.employee-module--configurator .selected-property-body .floor-field input {
  min-height: 40px;
  background: rgba(3, 8, 11, 0.7);
  border-color: rgba(116, 137, 150, 0.28);
}

.employee-module--configurator .selected-property-body .garage-field-hint {
  margin: -2px 0 0;
  font-size: 0.7rem;
}

.employee-module--configurator .selected-property-body .garage-choice-list {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.employee-module--configurator .selected-property-body .garage-choice {
  min-height: 44px;
  font-size: 0.72rem;
}

.employee-module--configurator .selected-property-body .included-option-list {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 7px;
}

.employee-module--configurator .selected-property-body .included-option {
  min-height: 52px;
  padding: 9px 11px;
  gap: 3px;
  background: rgba(34, 212, 119, 0.055);
  border-color: rgba(34, 212, 119, 0.2);
}

.employee-module--configurator .selected-property-body .included-option span {
  font-size: 0.64rem;
}

.employee-module--configurator .selected-property-body .included-option strong {
  font-size: 0.86rem;
}

.employee-module--configurator .configurator-result {
  padding: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.employee-module--configurator .config-summary-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(116, 137, 150, 0.2);
}

.employee-module--configurator .config-summary-property {
  padding: 4px 0 12px;
}

.employee-module--configurator .config-estimate-panel .summary-list div {
  padding: 9px 0;
}

.employee-module--configurator .config-estimate-panel .config-weekly-total {
  margin-top: 2px;
  padding: 13px 12px;
  color: #07130c;
  text-align: center;
  background: linear-gradient(135deg, #59e390, #2ed374);
  border: 0;
  border-radius: 8px;
}

body.theme-light .employee-module--configurator .selected-property-body > .config-field {
  background: #f6faf8;
  border-color: rgba(31, 64, 48, 0.14);
}

@media (max-width: 560px) {
  .employee-module--configurator .selected-property-body {
    grid-template-columns: 1fr;
  }

  .employee-module--configurator .selected-property-body > .config-field,
  .config-options-heading {
    grid-column: 1;
  }

  .employee-module--configurator .selected-property-media,
  .employee-module--configurator .selected-property-image {
    min-height: 190px;
    height: 190px;
  }
}

/* Navigation des photos du catalogue, sur ordinateur et mobile. */
.property-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.property-carousel .property-image {
  display: block;
}
.property-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.property-carousel-arrow.is-previous { left: 10px; }
.property-carousel-arrow.is-next { right: 10px; }
.property-carousel-arrow:hover { background: #000; }
.property-carousel-arrow:focus-visible { outline: 3px solid #f7de3f; outline-offset: 3px; }
.property-carousel-status {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

/* Galerie agrandie dans la fenêtre d'estimation. */
.estimate-modal-dialog {
  width: min(96vw, 1320px);
  overflow: auto;
}
.estimate-modal-content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 24px;
  padding: 24px;
}
.estimate-modal-property {
  grid-template-columns: minmax(0, 1fr);
  padding-right: 0;
  gap: 16px;
}
.estimate-modal-property .property-carousel {
  display: block;
  border-radius: 10px;
}
.estimate-modal-property .property-carousel .property-image {
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #07100d;
}
.estimate-modal-property strong { font-size: 1.15rem; }
.estimate-modal-close { z-index: 5; }
@media (max-width: 900px) {
  .estimate-modal-content {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
    gap: 18px;
  }
  .estimate-modal-property .property-carousel .property-image {
    aspect-ratio: 16 / 9;
  }
}
