:root {
  --ink: #132238;
  --muted: #667085;
  --line: #d9e2ec;
  --surface: #ffffff;
  --bg: #eef4f7;
  --nav: #0d2b3e;
  --nav-soft: #143d55;
  --accent: #25c2a0;
  --accent-dark: #11856f;
  --blue: #2266d8;
  --title-metal-blue: linear-gradient(180deg, #2f6fca 0%, #164b93 46%, #0b2f66 100%);
  --title-metal-gold: linear-gradient(180deg, #fff1a8 0%, #f5c84c 42%, #b97912 100%);
  --green: #19a974;
  --amber: #d9961b;
  --red: #d64550;
  --gold: #f5c84c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  display: grid;
  grid-template-columns: 280px 1fr;
}

body:not(.is-authenticated) .sidebar,
body:not(.is-authenticated) .app {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: auto;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 200, 76, 0.12), transparent 26%),
    radial-gradient(circle at 74% 20%, rgba(37, 194, 160, 0.18), transparent 34%),
    radial-gradient(circle at 76% 74%, rgba(34, 102, 216, 0.14), transparent 36%),
    linear-gradient(145deg, #061d31 0%, #0d2b3e 48%, #03101f 100%);
}

.login-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.045) 34% 34.3%, transparent 34.3%),
    linear-gradient(115deg, transparent 0 58%, rgba(37, 194, 160, 0.07) 58% 58.25%, transparent 58.25%);
  background-size: 260px 260px, 360px 360px;
  animation: landingDrift 18s linear infinite;
}

.login-screen::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 38%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 8, 18, 0.34));
}

.login-screen[hidden] {
  display: none;
}

.landing-cinema {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(37, 194, 160, 0.16), transparent 30%),
    radial-gradient(circle at 48% 52%, rgba(245, 200, 76, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(3, 16, 31, 0.92) 0%, rgba(3, 16, 31, 0.76) 45%, rgba(3, 16, 31, 0.62) 100%),
    linear-gradient(180deg, rgba(3, 16, 31, 0.16), rgba(3, 16, 31, 0.66));
  z-index: 4;
}

.landing-cinema::after {
  content: "";
  position: absolute;
  inset: 10% 5% auto auto;
  width: min(48vw, 860px);
  height: min(48vw, 860px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%),
    conic-gradient(from 145deg, rgba(37, 194, 160, 0.1), transparent 32%, rgba(245, 200, 76, 0.09), transparent 70%, rgba(34, 102, 216, 0.09));
  filter: blur(2px);
  opacity: 0.72;
}

.cinema-light {
  position: absolute;
  inset: -14% -8% auto auto;
  width: 58vw;
  height: 58vw;
  min-width: 520px;
  min-height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 194, 160, 0.22), rgba(245, 200, 76, 0.08) 34%, transparent 68%);
  filter: blur(18px);
  animation: cinemaBreath 9s ease-in-out infinite;
}

.tower-office {
  display: none;
}

.city-layer {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 31%;
  height: 34%;
  opacity: 0.58;
  background-repeat: repeat-x;
  background-size: 260px 100%;
}

.city-layer-back {
  bottom: 38%;
  opacity: 0.24;
  filter: blur(1px);
  background-image:
    linear-gradient(180deg, transparent 0 48%, rgba(187, 220, 230, 0.42) 49% 52%, transparent 53%),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.16) 20px 23px, transparent 23px 64px),
    linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.16) 18px 48px, transparent 48px 74px, rgba(255, 255, 255, 0.12) 74px 104px, transparent 104px);
  animation: cityDrift 26s linear infinite;
}

.city-layer-front {
  opacity: 0.36;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(245, 200, 76, 0.2) 18px 20px, transparent 20px 52px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 44px, transparent 44px 72px, rgba(255, 255, 255, 0.14) 72px 110px, transparent 110px 136px, rgba(255, 255, 255, 0.16) 136px 188px, transparent 188px);
  animation: cityDrift 18s linear infinite reverse;
}

.office-glass {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 2;
}

.office-glass span {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.08), transparent 32%, rgba(37, 194, 160, 0.08) 76%, transparent);
}

.office-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 43%;
  z-index: 3;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(10, 44, 64, 0.18), rgba(4, 18, 30, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.desk,
.meeting-table {
  position: absolute;
  border-radius: 18px;
  background: rgba(2, 16, 30, 0.68);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.desk-left {
  left: 13%;
  bottom: 23%;
  width: 260px;
  height: 70px;
}

.desk-right {
  right: 13%;
  bottom: 27%;
  width: 310px;
  height: 72px;
}

.screen {
  position: absolute;
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(37, 194, 160, 0.78), rgba(8, 62, 85, 0.92));
  box-shadow: 0 0 24px rgba(37, 194, 160, 0.32);
  overflow: hidden;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-top: 3px solid rgba(255, 255, 255, 0.68);
  border-bottom: 3px solid rgba(245, 200, 76, 0.55);
  transform-origin: left;
  animation: screenScan 4s ease-in-out infinite;
}

.screen-large {
  width: 92px;
  height: 64px;
  left: 22px;
  bottom: 52px;
}

.screen-small {
  width: 62px;
  height: 46px;
  left: 128px;
  bottom: 58px;
  animation-delay: 0.7s;
}

.screen-wide {
  width: 132px;
  height: 60px;
  right: 34px;
  bottom: 57px;
}

.person {
  position: absolute;
  display: block;
  width: 30px;
  height: 58px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #f4c36f 0 18px, #e8f3f6 18px 32px, #16435b 32px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  animation: personPulse 5s ease-in-out infinite;
}

.person-a { left: 70px; bottom: 70px; }
.person-b { left: 174px; bottom: 68px; animation-delay: 1.2s; }
.person-c { right: 190px; bottom: 72px; animation-delay: 0.6s; }
.person-d { right: 86px; bottom: 70px; animation-delay: 1.8s; }

.meeting-table {
  left: 42%;
  bottom: 8%;
  width: 220px;
  height: 42px;
  transform: skewX(-12deg);
}

.meeting-table span {
  position: absolute;
  top: -22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 200, 76, 0.88);
  box-shadow: 0 0 22px rgba(245, 200, 76, 0.2);
}

.meeting-table span:nth-child(1) { left: 26px; }
.meeting-table span:nth-child(2) { left: 92px; background: rgba(37, 194, 160, 0.9); }
.meeting-table span:nth-child(3) { right: 34px; }

.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 30px 80px rgba(0, 12, 28, 0.28);
}

.login-logo {
  width: 250px;
  max-width: 100%;
}

.landing-page {
  width: min(1760px, calc(100vw - clamp(36px, 5vw, 112px)));
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 3vh, 42px);
  position: relative;
  z-index: 1;
}

.landing-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.landing-logo {
  width: 260px;
  max-width: 58vw;
}

.landing-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.landing-menu a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #eef8fb;
  text-decoration: none;
  font-weight: 900;
  font-size: 17px;
  border-bottom: 2px solid transparent;
}

.landing-menu a:hover,
.landing-menu a[aria-current="page"] {
  color: #ffe08a;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--gold);
}

.landing-actions,
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.landing-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  background: white;
}

.landing-actions button {
  min-height: 48px;
  padding-inline: 18px;
  font-size: 15px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(44px, 5vw, 106px);
  align-items: center;
  min-height: clamp(560px, 68vh, 760px);
  padding: clamp(28px, 5vh, 64px) 0 10px;
}

.landing-copy {
  color: white;
}

.landing-kicker {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 200, 76, 0.55);
  border-radius: 999px;
  color: #ffe08a;
  font-weight: 900;
  background: rgba(245, 200, 76, 0.08);
}

.landing-copy h1 {
  max-width: 840px;
  font-size: clamp(54px, 5.2vw, 96px);
  line-height: 0.98;
  margin-bottom: 22px;
  color: white;
}

.landing-lead {
  max-width: 760px;
  color: #d8e8f0;
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.65;
}

.landing-flow {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6fbfd;
  font-weight: 900;
}

.landing-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 200, 76, 0.45), rgba(18, 196, 164, 0.95));
}

.hero-button {
  min-height: 52px;
  padding-inline: 22px;
}

.landing-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.landing-proof span {
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #eff9fc;
  font-weight: 800;
}

.product-visual {
  position: relative;
  min-height: clamp(500px, 56vh, 680px);
}

.product-visual > .hero-proof-card,
.product-visual > .hero-proof-card[hidden] {
  display: none;
}

.ai-demo-panel {
  position: absolute;
  left: 0;
  top: clamp(24px, 5vh, 72px);
  z-index: 4;
  width: min(820px, 100%);
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 248, 0.94));
  box-shadow: 0 34px 90px rgba(0, 12, 28, 0.42);
  color: var(--ink);
  animation: previewFloat 6s ease-in-out infinite;
}

.ai-demo-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.ai-demo-header strong {
  display: block;
  font-size: clamp(24px, 2vw, 34px);
}

.ai-demo-header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.ai-demo-header em {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff7dd;
  color: #7a5600;
  font-style: normal;
  font-weight: 950;
}

.ai-demo-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(300px, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.receipt-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 18%, rgba(18, 196, 164, 0.2), transparent 34%),
    linear-gradient(145deg, #071e31, #10384a);
}

.receipt-paper {
  position: relative;
  z-index: 1;
  width: min(240px, 90%);
  min-height: 300px;
  padding: 30px 22px;
  border-radius: 10px;
  background: #fbfaf5;
  color: #132336;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.receipt-paper::before,
.receipt-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(10, 31, 45, 0.14) 9px 17px);
}

.receipt-paper::before {
  top: 0;
}

.receipt-paper::after {
  bottom: 0;
}

.receipt-paper strong,
.receipt-paper span,
.receipt-paper p,
.receipt-paper b,
.receipt-paper small {
  display: block;
  text-align: center;
}

.receipt-paper strong {
  font-size: 24px;
  margin-bottom: 8px;
}

.receipt-paper span,
.receipt-paper small {
  color: #516275;
  font-weight: 800;
}

.receipt-paper i {
  display: block;
  height: 88px;
  margin: 22px 0;
  background: repeating-linear-gradient(180deg, rgba(19, 35, 54, 0.18) 0 5px, transparent 5px 17px);
}

.receipt-paper p {
  margin: 0;
  color: #516275;
  font-weight: 900;
}

.receipt-paper b {
  margin: 4px 0 12px;
  font-size: 34px;
}

.scan-frame {
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(18, 196, 164, 0.58);
  border-radius: 18px;
  pointer-events: none;
}

.scan-frame span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: #7af4df;
}

.scan-frame span:nth-child(1) {
  top: -2px;
  left: -2px;
  border-top: 4px solid;
  border-left: 4px solid;
}

.scan-frame span:nth-child(2) {
  top: -2px;
  right: -2px;
  border-top: 4px solid;
  border-right: 4px solid;
}

.scan-frame span:nth-child(3) {
  bottom: -2px;
  left: -2px;
  border-bottom: 4px solid;
  border-left: 4px solid;
}

.scan-frame span:nth-child(4) {
  right: -2px;
  bottom: -2px;
  border-right: 4px solid;
  border-bottom: 4px solid;
}

.autofill-card {
  display: grid;
  gap: 12px;
}

.autofill-row {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #d8e5ec;
  border-radius: 10px;
  background: white;
}

.autofill-row.two {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.autofill-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.autofill-row strong {
  font-size: 18px;
}

.autofill-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #032337;
  font-weight: 950;
}

.dashboard-preview-secondary {
  display: none;
}

.scan-showcase {
  position: absolute;
  left: 0;
  top: clamp(18px, 5vh, 62px);
  z-index: 3;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(240px, 300px) 46px minmax(280px, 1fr);
  align-items: center;
  gap: 14px;
}

.scan-phone,
.scan-form-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 90px rgba(0, 12, 28, 0.42);
}

.scan-phone {
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #061d30 0%, #0b3447 100%);
  color: white;
  animation: phoneFloat 7s ease-in-out infinite;
}

.scan-camera-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #dff8f5;
  font-weight: 900;
}

.scan-camera-bar span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, #112f42 0 32%, transparent 34%),
    linear-gradient(135deg, var(--gold), #ffe08a);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.scan-receipt {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 22px 18px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 250, 0.96));
  color: var(--ink);
}

.scan-receipt::before,
.scan-receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(11, 40, 56, 0.12) 10px 18px);
}

.scan-receipt::before {
  top: 0;
}

.scan-receipt::after {
  bottom: 0;
}

.scan-receipt i {
  display: block;
  height: 90px;
  margin-bottom: 18px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(18, 196, 164, 0.22) 18% 82%, transparent 82%),
    repeating-linear-gradient(180deg, rgba(12, 32, 46, 0.18) 0 5px, transparent 5px 17px);
}

.scan-receipt strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.scan-receipt span {
  display: block;
  padding: 7px 0;
  border-top: 1px dashed rgba(10, 31, 45, 0.22);
  color: #405569;
  font-weight: 800;
}

.scan-flash {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(18, 196, 164, 0.16);
  color: #b9fff2;
  text-align: center;
  font-weight: 900;
}

.scan-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #062033;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(18, 196, 164, 0.34);
}

.scan-form-card {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  animation: previewFloat 6s ease-in-out infinite;
}

.scan-form-card > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.scan-form-card > strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  margin-bottom: 18px;
}

.scan-form-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.scan-form-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #eef6f8;
}

.scan-form-card dt {
  color: var(--muted);
  font-weight: 800;
}

.scan-form-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.dashboard-preview,
.phone-preview {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 12, 28, 0.35);
}

.dashboard-preview {
  position: absolute;
  right: clamp(0px, 5vw, 72px);
  top: clamp(28px, 7vh, 88px);
  z-index: 1;
  width: min(560px, 92%);
  padding: clamp(22px, 2vw, 30px);
  border-radius: 18px;
  background: #ffffff;
  animation: previewFloat 6s ease-in-out infinite;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  margin-bottom: 18px;
}

.preview-header span {
  color: var(--muted);
  font-size: 13px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.preview-metrics span {
  padding: 12px;
  border-radius: 8px;
  background: #eef6f8;
  color: var(--muted);
  font-size: 12px;
}

.preview-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-top: 4px;
}

.preview-bars {
  display: grid;
  gap: 12px;
}

.preview-bars i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #6ad8c3);
  transform-origin: left center;
  animation: barPulse 4s ease-in-out infinite;
}

.preview-bars i:nth-child(2) {
  animation-delay: 0.8s;
}

.preview-bars i:nth-child(3) {
  animation-delay: 1.5s;
}

.phone-preview {
  position: absolute;
  left: clamp(0px, 3vw, 70px);
  bottom: clamp(18px, 6vh, 90px);
  z-index: 2;
  width: clamp(250px, 18vw, 330px);
  padding: clamp(18px, 1.6vw, 24px);
  border-radius: 28px;
  background: #f8fbfd;
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-preview-secondary {
  left: clamp(12px, 2vw, 46px);
  bottom: clamp(0px, 2vh, 28px);
  width: clamp(220px, 15vw, 280px);
  opacity: 0.94;
}

.phone-top {
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: #c8d6e2;
  margin: 0 auto 18px;
}

.receipt-capture,
.mini-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: white;
  margin-bottom: 12px;
}

.receipt-capture span,
.mini-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.receipt-capture strong,
.mini-list strong {
  display: block;
  margin-top: 5px;
}

.receipt-capture em {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7dd;
  color: #7a5600;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

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

.landing-sections article,
.free-band {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.landing-sections article {
  padding: 20px;
}

.landing-sections strong {
  color: #ffe08a;
}

.landing-sections p,
.free-band p {
  color: #d8e8f0;
  line-height: 1.55;
}

.free-band {
  overflow: hidden;
}

.free-band h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 8px;
}

.pricing-band {
  position: relative;
  border-color: rgba(37, 194, 160, 0.42);
  background:
    linear-gradient(135deg, rgba(37, 194, 160, 0.2), rgba(255, 255, 255, 0.08) 45%, rgba(245, 200, 76, 0.12)),
    rgba(6, 29, 49, 0.64);
  box-shadow: 0 24px 70px rgba(0, 12, 28, 0.24);
}

.pricing-band-link {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(720px, 1.55fr) minmax(220px, 270px);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 30px);
  color: white;
  text-decoration: none;
}

.pricing-band-link:hover .pricing-band-side,
.pricing-band-link:focus-visible .pricing-band-side {
  transform: translateY(-2px);
  border-color: rgba(245, 200, 76, 0.58);
}

.pricing-band-link:hover .pricing-proof-card,
.pricing-band-link:focus-visible .pricing-proof-card {
  transform: translateY(-4px);
  border-color: rgba(245, 200, 76, 0.82);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(245, 200, 76, 0.34) inset;
}

.pricing-band-main {
  display: grid;
  align-content: center;
}

.pricing-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #062920;
  background: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pricing-band-main h2 {
  max-width: 780px;
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.03;
}

.pricing-band-main p {
  max-width: 820px;
  margin: 0;
  font-size: 18px;
}

.pricing-band-main strong {
  color: #ffe08a;
}

.pricing-proof-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 1.8vw, 24px);
  border: 1px solid rgba(37, 194, 160, 0.58);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(22, 54, 70, 0.96), rgba(9, 30, 47, 0.94) 58%, rgba(5, 19, 33, 0.96)),
    #0b2033;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 1px rgba(37, 194, 160, 0.12) inset;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-band .pricing-proof-card-dark {
  border-color: rgba(37, 194, 160, 0.62) !important;
  background:
    linear-gradient(145deg, rgba(22, 54, 70, 0.98), rgba(9, 30, 47, 0.96) 58%, rgba(5, 19, 33, 0.98)),
    #0b2033 !important;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 1px rgba(37, 194, 160, 0.14) inset !important;
}

.pricing-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 38%);
  pointer-events: none;
}

.proof-kicker {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #ffe08a;
  color: #062920;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.pricing-proof-card > strong {
  position: relative;
  color: #ffffff;
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.15;
}

.pricing-band-benefits {
  position: relative;
  display: grid;
  align-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-band-benefits li {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbfd;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 850;
}

.pricing-band .pricing-proof-card-dark .pricing-band-benefits li {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f7fbfd !important;
  transform: translateX(0);
  transform-origin: left center;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.pricing-band .pricing-proof-card-dark:hover .pricing-band-benefits li {
  animation: benefitWave 0.95s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}

.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:hover {
  transform: translateX(10px) translateY(-3px) scale(1.012) !important;
  border-color: rgba(37, 194, 160, 0.56) !important;
  background: rgba(37, 194, 160, 0.16) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2), 0 0 22px rgba(37, 194, 160, 0.16);
}

.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(2) { animation-delay: 0.06s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(3) { animation-delay: 0.12s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(4) { animation-delay: 0.18s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(5) { animation-delay: 0.24s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(6) { animation-delay: 0.3s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(7) { animation-delay: 0.36s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(8) { animation-delay: 0.42s; }

.pricing-band-benefits li::before {
  content: "";
  position: static;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  transform: none;
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(37, 194, 160, 0.16),
    0 0 14px rgba(37, 194, 160, 0.42);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.pricing-band .pricing-proof-card-dark:hover .pricing-band-benefits li::before {
  animation: benefitPulse 0.95s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}

.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(2)::before { animation-delay: 0.06s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(3)::before { animation-delay: 0.12s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(4)::before { animation-delay: 0.18s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(5)::before { animation-delay: 0.24s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(6)::before { animation-delay: 0.3s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(7)::before { animation-delay: 0.36s; }
.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:nth-child(8)::before { animation-delay: 0.42s; }

.pricing-band .pricing-proof-card-dark .pricing-band-benefits li:hover::before {
  transform: scale(1.22);
  box-shadow:
    0 0 0 6px rgba(37, 194, 160, 0.16),
    0 0 24px rgba(37, 194, 160, 0.78);
}

@keyframes benefitWave {
  0% { transform: translateX(0) translateY(0) scale(1); }
  22% { transform: translateX(7px) translateY(-4px) scale(1.01); }
  46% { transform: translateX(13px) translateY(0) scale(1.014); }
  68% { transform: translateX(6px) translateY(3px) scale(1.006); }
  100% { transform: translateX(0) translateY(0) scale(1); }
}

@keyframes benefitPulse {
  0% { transform: scale(1); }
  36% { transform: scale(1.28); }
  72% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.pricing-band-side {
  display: grid;
  align-content: center;
  gap: 8px;
  align-self: stretch;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.pricing-band-side strong {
  color: white;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.9;
}

.pricing-trial,
.pricing-price {
  color: #d8e8f0;
  font-weight: 900;
}

.pricing-card-note {
  color: #ffe08a;
  font-size: 13px;
  font-weight: 1000;
}

.pricing-band-side em {
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #062920;
  background: var(--accent);
  font-style: normal;
  font-weight: 1000;
}

.landing-info-panel,
.landing-about {
  scroll-margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(6, 29, 49, 0.58);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  backdrop-filter: blur(16px);
}

.landing-info-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  padding: 28px;
}

.section-kicker {
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  color: #ffe08a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-info-panel h2,
.landing-about h2 {
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.landing-info-panel p,
.landing-about p {
  color: #d8e8f0;
  line-height: 1.65;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.workflow-steps article {
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.workflow-steps span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #061d31;
  background: var(--gold);
  font-weight: 1000;
}

.workflow-steps strong {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: 18px;
}

.landing-about {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: 28px;
  padding: 30px;
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points span {
  padding: 16px;
  border: 1px solid rgba(37, 194, 160, 0.3);
  border-radius: 12px;
  color: white;
  background: rgba(37, 194, 160, 0.12);
  font-weight: 900;
}

.landing-page .login-card {
  margin: 8px auto 36px;
}

.login-modal-card {
  width: 100%;
  box-shadow: none;
  border-radius: 0;
}

.auth-dialog {
  width: min(860px, calc(100vw - 28px));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 14, 34, 0.34);
}

.auth-login-dialog {
  width: min(560px, calc(100vw - 28px));
}

.company-dialog {
  width: min(680px, calc(100vw - 28px));
}

.auth-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 28%, rgba(37, 194, 160, 0.18), transparent 32%),
    rgba(3, 16, 31, 0.68);
  backdrop-filter: blur(4px);
}

.auth-card,
.company-card {
  display: block;
  padding: 0;
  background: #ffffff;
}

.auth-card header,
.company-card header {
  padding: 26px 30px 18px;
  border-bottom: 0;
}

.company-card header {
  padding: 20px 26px 8px;
}

.auth-card h2,
.company-card h2 {
  margin: 0;
  color: #111827;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-size: 28px;
}

.auth-login-dialog .eyebrow {
  font-size: 15px;
}

.company-card h2 {
  font-size: 26px;
}

.auth-form {
  display: grid;
  gap: 15px;
  padding: 0 30px 30px;
}

.auth-card.login-card {
  width: 100%;
  gap: 0;
  padding: 0;
}

.auth-card > .login-logo {
  width: 210px;
  display: block;
  margin: -15px 30px 16px;
}

.company-logo {
  width: 210px;
  display: block;
  margin: 0 26px 12px;
}

.auth-card > label,
.auth-card > .form-feedback,
.auth-card > .auth-note,
.auth-card > .forgot-password,
.auth-card > button:not(.ghost):not(.link-button) {
  margin-left: 30px;
  margin-right: 30px;
}

.auth-card > label {
  margin-bottom: 15px;
}

.auth-card > .form-feedback {
  margin-bottom: 12px;
}

.auth-card > button:not(.ghost):not(.link-button) {
  width: calc(100% - 60px);
  min-height: 48px;
  margin-bottom: 12px;
}

.auth-main-submit {
  min-height: 54px !important;
  font-size: 16px;
}

.forgot-submit {
  margin-top: -15px;
}

.auth-card > .auth-note {
  margin-bottom: 4px;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
}

.auth-help-text {
  margin: 0 30px 16px;
  color: #516174;
  font-size: 14px;
  line-height: 1.5;
}

.forgot-password {
  width: max-content;
  justify-self: end;
  margin-top: -8px;
}

.link-button {
  border: 0;
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.link-button:hover {
  color: var(--nav);
  text-decoration: underline;
}

.auth-note {
  padding: 15px;
  border: 1px solid rgba(37, 194, 160, 0.24);
  border-radius: 12px;
  background: #eefbf8;
}

.auth-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.auth-note p {
  margin: 0;
  color: #516174;
  line-height: 1.48;
  font-size: 14px;
}

.auth-aside {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 80% 16%, rgba(245, 200, 76, 0.26), transparent 34%),
    linear-gradient(160deg, #0d2b3e, #061d31);
}

.auth-aside strong {
  font-size: 22px;
  line-height: 1.16;
}

.auth-aside p {
  margin: 0 0 8px;
  color: #d8e8f0;
  line-height: 1.55;
}

.auth-aside span {
  display: block;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe08a;
  font-size: 12px;
  font-weight: 900;
}

.company-card .auth-aside {
  min-height: 100%;
}

.company-grid {
  padding: 0 26px 10px;
  gap: 12px;
}

.company-grid label {
  gap: 5px;
}

.company-grid input {
  min-height: 42px;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.password-field input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.password-toggle {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #c7d5e2;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #f8fbfd;
  color: var(--accent-dark);
  font-weight: 900;
  cursor: pointer;
}

.password-toggle:hover {
  background: #eefbf8;
  color: var(--nav);
}

.password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: -4px;
  padding: 12px;
  border: 1px solid #dce7f0;
  border-radius: 10px;
  background: #f8fbfd;
}

.password-rules span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

.password-rules span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #c8d6e2;
  box-shadow: 0 0 0 3px rgba(102, 112, 133, 0.08);
}

.password-rules span.valid {
  color: #08745f;
}

.password-rules span.valid::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 194, 160, 0.16), 0 0 12px rgba(37, 194, 160, 0.42);
}

.company-grid .auth-note {
  padding: 12px 14px;
  border-radius: 10px;
}

.company-grid .auth-note p {
  font-size: 13px;
}

.company-card footer {
  padding: 12px 26px 16px;
  border-top: 1px solid #eef2f6;
}

.marketing-body {
  min-height: 100vh;
  display: block;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 194, 160, 0.18), transparent 32%),
    linear-gradient(145deg, #061d31 0%, #0d2b3e 48%, #03101f 100%);
}

.setup-body {
  min-height: 100vh;
  display: block;
  grid-template-columns: none;
  width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 200, 76, 0.18), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(37, 194, 160, 0.18), transparent 30%),
    linear-gradient(135deg, #061d31, #0e3447);
}

.setup-shell {
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 42px 0;
  display: block;
}

.setup-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 14, 34, 0.28);
}

.setup-header {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  color: white;
  background:
    radial-gradient(circle at 82% 8%, rgba(37, 194, 160, 0.28), transparent 34%),
    linear-gradient(135deg, #071f36, #0d354c);
}

.setup-header img {
  width: 190px;
}

.setup-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
}

.setup-header p:last-child {
  margin: 0;
  color: #d8e8f0;
  font-size: 17px;
}

.setup-form {
  display: grid;
}

.setup-form .form-grid {
  padding: 0;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.setup-form section {
  padding: 26px 34px;
  border-bottom: 1px solid #e7edf4;
}

.setup-form h2 {
  margin: 0 0 14px;
  color: var(--nav);
  font-size: 22px;
}

.setup-help {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.setup-form .form-feedback {
  margin: 18px 34px 0;
}

.setup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 34px 30px;
}

.marketing-body::before {
  content: none;
}

.marketing-nav {
  width: min(1620px, calc(100% - 96px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 54px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.marketing-brand img {
  width: clamp(220px, 15vw, 320px);
  max-width: 46vw;
  display: block;
}

.marketing-nav .landing-menu {
  flex: 1 1 520px;
  width: auto;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
}

.marketing-nav .landing-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body.marketing-body .marketing-nav .landing-menu {
  width: auto;
  overflow-x: visible;
}

.marketing-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  border-radius: 8px;
}

.marketing-page {
  width: min(1620px, calc(100% - 96px));
  margin: 0 auto;
  padding: clamp(54px, 6vh, 92px) 0 90px;
  position: relative;
  z-index: 1;
}

.marketing-hero {
  max-width: min(1180px, 70vw);
  margin-bottom: 42px;
}

.marketing-hero h1 {
  color: white;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 0.98;
  margin-bottom: 20px;
}

.marketing-hero p {
  max-width: 980px;
  color: #d8e8f0;
  font-size: 19px;
  line-height: 1.65;
}

.marketing-timeline,
.marketing-grid,
.marketing-split,
.marketing-contact {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(6, 29, 49, 0.62);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  backdrop-filter: blur(16px);
}

.marketing-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
}

.marketing-timeline article {
  min-height: 280px;
  padding: clamp(24px, 2vw, 34px);
  background: rgba(255, 255, 255, 0.05);
}

.marketing-timeline span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 10px;
  color: #061d31;
  background: var(--gold);
  font-weight: 1000;
}

.marketing-timeline h2,
.marketing-split h2 {
  color: white;
  font-size: 25px;
  margin-bottom: 12px;
}

.marketing-timeline p,
.marketing-grid p,
.marketing-split p {
  color: #d8e8f0;
  line-height: 1.62;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
  margin-bottom: 20px;
}

.how-steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.how-steps article {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  min-height: 155px;
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(37, 194, 160, 0.04)),
    rgba(8, 31, 50, 0.78);
  box-shadow: 0 22px 58px rgba(0, 12, 28, 0.18);
}

.how-steps span {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-size: 34px;
  font-weight: 1000;
  box-shadow: 0 16px 36px rgba(37, 194, 160, 0.22);
}

.how-steps h2 {
  color: white;
  font-size: clamp(23px, 2vw, 30px);
  margin-bottom: 10px;
}

.how-steps p {
  max-width: 860px;
  color: #d8e8f0;
  font-size: 17px;
  line-height: 1.62;
}

.how-steps small {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffe08a;
  background: rgba(255, 224, 138, 0.12);
  border: 1px solid rgba(255, 224, 138, 0.24);
  font-weight: 800;
}

.how-summary {
  align-self: stretch;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(37, 194, 160, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 194, 160, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(11, 46, 67, 0.94), rgba(6, 24, 41, 0.9));
  box-shadow: 0 24px 74px rgba(0, 12, 28, 0.22);
}

.how-summary .section-kicker {
  margin-bottom: 18px;
}

.how-summary strong {
  display: block;
  margin-bottom: 18px;
  color: white;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
}

.how-summary p:not(.section-kicker) {
  color: #d8e8f0;
  font-size: 18px;
  line-height: 1.65;
}

.how-summary ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.how-summary li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 12px;
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.how-summary li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(37, 194, 160, 0.55);
}

.validated-stamp {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
  border: 5px solid rgba(255, 224, 138, 0.86);
  border-radius: 50%;
  color: #ffe08a;
  font-size: 30px;
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: rotate(-10deg);
  background:
    radial-gradient(circle, rgba(255, 224, 138, 0.16), transparent 64%),
    rgba(3, 16, 31, 0.28);
  box-shadow:
    inset 0 0 0 2px rgba(255, 224, 138, 0.22),
    0 18px 38px rgba(0, 12, 28, 0.22);
}

.workflow-benefits {
  margin-top: 24px;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
}

.marketing-grid article {
  padding: clamp(24px, 2vw, 34px);
  background: rgba(255, 255, 255, 0.05);
}

.marketing-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #ffe08a;
  font-size: 18px;
}

.marketing-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(28px, 3vw, 52px);
  padding: clamp(30px, 3vw, 46px);
}

.marketing-split aside {
  align-self: stretch;
  padding: 24px;
  border-radius: 14px;
  background: rgba(37, 194, 160, 0.12);
  border: 1px solid rgba(37, 194, 160, 0.3);
}

.marketing-split aside strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe08a;
  font-size: 20px;
}

.marketing-contact {
  padding: 30px;
}

.marketing-contact label {
  color: #f4fbff;
}

.marketing-contact input,
.marketing-contact textarea,
.marketing-contact select {
  color: var(--ink);
  background: #ffffff;
}

.marketing-contact input::placeholder,
.marketing-contact textarea::placeholder {
  color: #737b88;
}

.marketing-contact .contact-form {
  grid-template-columns: repeat(2, 1fr);
}

.marketing-footer {
  width: min(1620px, calc(100% - 96px));
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.landing-footer {
  width: 100%;
  padding: 4px 0 22px;
}

.marketing-footer a {
  color: #d8e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.marketing-footer a:hover {
  color: #ffe08a;
  text-decoration: underline;
}

.pricing-page {
  padding-top: clamp(40px, 5vh, 72px);
}

.pricing-hero {
  max-width: min(1060px, 76vw);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-plan,
.pricing-note,
.pricing-details {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(6, 29, 49, 0.62);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  backdrop-filter: blur(16px);
  color: white;
}

.pricing-plan {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 3vw, 44px);
}

.pricing-plan-header h2,
.pricing-note h2 {
  margin: 16px 0 10px;
  color: white;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.pricing-plan-header p,
.pricing-note p {
  color: #d8e8f0;
  line-height: 1.62;
}

.price-stack {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(37, 194, 160, 0.34);
  border-radius: 14px;
  background: rgba(37, 194, 160, 0.12);
}

.price-stack span {
  color: #ffe08a;
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 13px;
}

.price-stack strong {
  color: white;
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.88;
}

.price-stack small {
  font-size: 0.34em;
}

.price-stack em {
  color: #d8e8f0;
  font-style: normal;
  font-weight: 800;
}

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

.pricing-features li {
  position: relative;
  padding-left: 28px;
  color: #eff9fc;
  line-height: 1.48;
  font-weight: 750;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 194, 160, 0.13);
}

.pricing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background:
    linear-gradient(145deg, rgba(245, 200, 76, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(6, 29, 49, 0.66);
}

.custom-offer-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.custom-offer-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  line-height: 1.35;
}

.custom-offer-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(37, 194, 160, 0.5);
}

.custom-offer-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 200, 76, 0.34);
  background:
    radial-gradient(circle at 86% 18%, rgba(245, 200, 76, 0.22), transparent 34%),
    rgba(245, 200, 76, 0.1);
}

.custom-offer-card strong {
  color: #ffe08a;
  font-size: 18px;
}

.custom-offer-card span {
  color: #f4fbff;
  line-height: 1.45;
  font-weight: 750;
}

.pricing-note .primary-link {
  display: inline-flex;
  margin-top: 18px;
}

.pricing-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.pricing-details article {
  position: relative;
  min-height: 210px;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 12%, rgba(37, 194, 160, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.68);
  box-shadow: 0 18px 52px rgba(0, 12, 28, 0.18);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pricing-details article:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 194, 160, 0.42);
  box-shadow: 0 24px 64px rgba(0, 12, 28, 0.24);
}

.pricing-details article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 34px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-radius: 999px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.pricing-details strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe08a;
  font-size: 20px;
}

.pricing-details p {
  color: #d8e8f0;
  line-height: 1.62;
}

.security-page {
  display: grid;
  gap: 24px;
}

.security-hero {
  margin-bottom: 10px;
}

.security-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.security-hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0, 12, 28, 0.18);
}

.security-trust-panel,
.security-payments,
.security-disclaimer {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 16%, rgba(37, 194, 160, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.66);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  color: white;
}

.security-trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(28px, 3vw, 46px);
}

.security-trust-main h2,
.security-payments h2 {
  margin: 16px 0 16px;
  color: white;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.04;
}

.security-trust-main p,
.security-payments p,
.security-disclaimer p {
  color: #d8e8f0;
  font-size: 18px;
  line-height: 1.66;
}

.security-location-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(37, 194, 160, 0.34);
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 224, 138, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(8, 48, 60, 0.82), rgba(4, 20, 36, 0.9));
}

.security-location-card strong {
  display: block;
  margin-bottom: 14px;
  color: #ffe08a;
  font-size: 24px;
}

.security-location-card p {
  color: #f4fbff;
  line-height: 1.6;
  font-weight: 750;
}

.security-pillars,
.security-grid {
  display: grid;
  gap: 18px;
}

.security-pillars {
  grid-template-columns: repeat(4, 1fr);
}

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

.security-pillars article,
.security-grid article {
  min-height: 230px;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.68);
  box-shadow: 0 18px 52px rgba(0, 12, 28, 0.16);
}

.security-pillars article span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-weight: 1000;
}

.security-pillars strong,
.security-grid strong,
.security-disclaimer strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe08a;
  font-size: 20px;
}

.security-pillars p,
.security-grid p {
  color: #d8e8f0;
  line-height: 1.62;
}

.security-payments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
  padding: clamp(28px, 3vw, 46px);
}

.security-payments ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.security-payments li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border-radius: 12px;
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-weight: 850;
  line-height: 1.4;
}

.security-payments li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(37, 194, 160, 0.55);
}

.security-disclaimer {
  padding: clamp(24px, 3vw, 34px);
  border-color: rgba(255, 224, 138, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 224, 138, 0.12), rgba(37, 194, 160, 0.06)),
    rgba(6, 29, 49, 0.7);
}

.privacy-page {
  display: grid;
  gap: 24px;
}

.privacy-hero {
  margin-bottom: 8px;
}

.privacy-overview,
.privacy-data-panel,
.privacy-ai-panel,
.privacy-disclaimer {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 14%, rgba(245, 200, 76, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.66);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  color: white;
}

.privacy-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(28px, 3vw, 46px);
}

.privacy-overview-main h2,
.privacy-panel-header h2,
.privacy-ai-panel h2 {
  margin: 16px 0;
  color: white;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.04;
}

.privacy-overview-main p,
.privacy-panel-header p,
.privacy-ai-panel p,
.privacy-disclaimer p {
  color: #d8e8f0;
  font-size: 18px;
  line-height: 1.66;
}

.privacy-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.privacy-responsibility-grid article {
  min-height: 142px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(2, 22, 39, 0.26);
}

.privacy-responsibility-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #ffe08a;
  font-size: 15px;
}

.privacy-responsibility-grid p {
  margin: 0;
  color: #d8e8f0;
  font-size: 14px;
  line-height: 1.48;
}

@media (max-width: 860px) {
  .privacy-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .privacy-responsibility-grid article {
    min-height: 0;
  }
}

.privacy-summary-card {
  align-self: stretch;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(37, 194, 160, 0.34);
  background:
    radial-gradient(circle at 74% 18%, rgba(37, 194, 160, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(8, 48, 60, 0.82), rgba(4, 20, 36, 0.9));
}

.privacy-summary-card strong {
  display: block;
  margin-bottom: 18px;
  color: #ffe08a;
  font-size: 24px;
}

.privacy-summary-card ul,
.privacy-ai-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.privacy-summary-card li,
.privacy-ai-panel li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border-radius: 12px;
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-weight: 850;
  line-height: 1.42;
}

.privacy-summary-card li::before,
.privacy-ai-panel li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(37, 194, 160, 0.55);
}

.privacy-data-panel {
  padding: clamp(28px, 3vw, 46px);
}

.privacy-panel-header {
  max-width: 980px;
  margin-bottom: 26px;
}

.privacy-data-grid,
.privacy-rights-grid {
  display: grid;
  gap: 18px;
}

.privacy-data-grid {
  grid-template-columns: repeat(3, 1fr);
}

.privacy-rights-grid {
  grid-template-columns: repeat(3, 1fr);
}

.privacy-data-grid article,
.privacy-rights-grid article {
  min-height: 230px;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.68);
  box-shadow: 0 18px 52px rgba(0, 12, 28, 0.16);
}

.privacy-data-grid article span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-weight: 1000;
}

.privacy-data-grid strong,
.privacy-rights-grid strong,
.privacy-disclaimer strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe08a;
  font-size: 20px;
}

.privacy-data-grid p,
.privacy-rights-grid p {
  color: #d8e8f0;
  line-height: 1.62;
}

.privacy-ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 480px);
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
  padding: clamp(28px, 3vw, 46px);
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 194, 160, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.7);
}

.privacy-disclaimer {
  padding: clamp(24px, 3vw, 34px);
  border-color: rgba(255, 224, 138, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 224, 138, 0.12), rgba(37, 194, 160, 0.06)),
    rgba(6, 29, 49, 0.7);
}

.about-page {
  display: grid;
  gap: 24px;
}

.about-hero {
  margin-bottom: 8px;
}

.about-promise-panel,
.about-method-panel,
.about-cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 14%, rgba(37, 194, 160, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.66);
  box-shadow: 0 22px 70px rgba(0, 12, 28, 0.18);
  color: white;
}

.about-promise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(28px, 3vw, 46px);
}

.about-promise-main h2,
.about-method-panel h2 {
  margin: 16px 0;
  color: white;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.04;
}

.about-promise-main p,
.about-method-panel p,
.about-cta-panel p {
  color: #d8e8f0;
  font-size: 18px;
  line-height: 1.66;
}

.about-trust-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(245, 200, 76, 0.34);
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 224, 138, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(8, 48, 60, 0.82), rgba(4, 20, 36, 0.9));
}

.about-trust-card strong {
  display: block;
  margin-bottom: 16px;
  color: #ffe08a;
  font-size: 26px;
}

.about-trust-card p {
  color: #f4fbff;
  line-height: 1.6;
  font-weight: 750;
  font-size: 16px;
}

.about-trust-card p:last-child {
  margin-bottom: 0;
}

.about-trust-card a {
  color: #ffe08a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-trust-card a:hover {
  color: #ffffff;
}

.about-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-benefits-grid article {
  min-height: 250px;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.68);
  box-shadow: 0 18px 52px rgba(0, 12, 28, 0.16);
}

.about-benefits-grid article span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-weight: 1000;
}

.about-benefits-grid strong,
.about-cta-panel strong {
  display: block;
  margin-bottom: 12px;
  color: #ffe08a;
  font-size: 21px;
}

.about-benefits-grid p {
  color: #d8e8f0;
  line-height: 1.62;
}

.about-method-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 480px);
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
  padding: clamp(28px, 3vw, 46px);
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 194, 160, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(6, 29, 49, 0.7);
}

.about-method-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-method-panel li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border-radius: 12px;
  color: #f4fbff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-weight: 850;
  line-height: 1.42;
}

.about-method-panel li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(37, 194, 160, 0.55);
}

.about-cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 3vw, 38px);
  border-color: rgba(37, 194, 160, 0.38);
  background:
    linear-gradient(135deg, rgba(37, 194, 160, 0.14), rgba(255, 224, 138, 0.07)),
    rgba(6, 29, 49, 0.72);
}

.about-cta-panel strong {
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.marketing-nav .landing-menu a,
.marketing-nav .landing-actions a {
  white-space: nowrap;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 40;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(217, 226, 236, 0.88);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 251, 0.96));
  box-shadow: 0 24px 80px rgba(0, 14, 34, 0.22);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent h2 {
  margin: 2px 0 6px;
  color: var(--ink);
  font-size: 20px;
}

.cookie-consent p:not(.eyebrow) {
  margin: 0;
  color: #516174;
  line-height: 1.45;
}

.cookie-consent a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.cookie-consent a:hover {
  text-decoration: underline;
}

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

@keyframes landingDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 180px 180px, 0 0; }
}

@keyframes cinemaBreath {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.08) translate(-2%, 2%); opacity: 1; }
}

@keyframes cityDrift {
  from { background-position: 0 0; }
  to { background-position: 260px 0; }
}

@keyframes officePresence {
  0%, 100% { transform: perspective(1200px) rotateY(-3deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-2deg) translateY(-12px); }
}

@keyframes screenScan {
  0%, 100% { transform: scaleX(0.58); opacity: 0.72; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes personPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes previewFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes barPulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.9); }
}

.account-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 800;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--nav) 0%, #0b2231 100%);
  color: white;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-home-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.brand-home-button:focus-visible {
  outline: 3px solid rgba(255, 213, 106, 0.85);
  outline-offset: 6px;
  border-radius: 8px;
}

.brand-logo-wrap {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 236px;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.brand strong {
  display: block;
  font-size: 22px;
}

.brand small {
  display: block;
  color: #b9c9d6;
  margin-top: 2px;
}

nav {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.nav-item,
.add-button {
  border: 0;
  cursor: pointer;
}

.nav-item {
  color: #cbd5e1;
  background: transparent;
  text-align: left;
  padding: 13px 14px;
  border-radius: 6px;
}

.nav-item.active,
.nav-item:hover {
  background: var(--nav-soft);
  color: white;
}

.sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.add-button {
  background: var(--accent);
  color: #062920;
  border-radius: 6px;
  padding: 14px 18px;
  font-weight: 800;
}

.sidebar-logout {
  width: 100%;
  min-height: 46px;
  color: #f4fbff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-logout:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.13);
}

.app {
  min-width: 0;
  padding: 34px 42px 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
}

.profile-avatar,
.user-avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  color: #061d31;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(0, 12, 28, 0.12);
}

.profile-avatar {
  cursor: pointer;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.profile-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 12, 28, 0.18);
}

.avatar-status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(0, 12, 28, 0.16);
  pointer-events: none;
}

.avatar-status-dot.offline {
  background: #a8b3c2;
}

.profile-avatar img,
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.user-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-stats-trigger {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.user-stats-trigger:hover strong,
.user-stats-trigger:focus-visible strong {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.user-avatar-box {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.user-online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
}

.user-online-dot.offline {
  background: #a8b3c2;
}

.user-avatar {
  cursor: pointer;
}

.avatar-preview-dialog {
  width: min(300px, calc(100vw - 28px));
}

.avatar-preview-dialog form {
  overflow: hidden;
}

.avatar-preview-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(circle at 50% 34%, rgba(37, 194, 160, 0.18), transparent 36%),
    #f8fbfd;
}

.avatar-preview-frame {
  position: relative;
  width: 190px;
  height: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  color: #061d31;
  font-size: 56px;
  font-weight: 1000;
  box-shadow: 0 24px 70px rgba(0, 12, 28, 0.24);
}

.avatar-preview-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-preview-status {
  position: absolute;
  right: 7px;
  bottom: 20px;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(0, 12, 28, 0.18);
}

.avatar-preview-status.offline {
  background: #a8b3c2;
}

.avatar-preview-upload {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  color: #061d31;
  font-size: 0;
  line-height: 0;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 12, 28, 0.18);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.avatar-account-actions {
  width: 100%;
  padding-top: 15px;
  border-top: 1px solid #d8e2ec;
  text-align: center;
}

.avatar-account-actions[hidden] {
  display: none;
}

.account-delete-link {
  border: 0;
  background: transparent;
  color: #c93645;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-delete-link:disabled {
  color: #7a8495;
  cursor: default;
  text-decoration: none;
}

.avatar-account-actions small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.4;
}

.account-closure-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-color: #efc9cf;
  background: #fffafb;
}

.account-closure-panel h2 {
  margin: 4px 0 8px;
}

.account-closure-panel p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
}

.account-closure-panel small {
  display: block;
  margin-top: 10px;
  color: #8f2733;
  font-weight: 800;
}

.account-closure-panel > button {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .account-closure-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .account-closure-panel > button {
    width: 100%;
  }
}

.avatar-preview-upload::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: #061d31;
  transform: translate(-50%, -50%);
}

.avatar-preview-upload::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: #061d31;
  transform: translate(-50%, -50%);
}

.avatar-preview-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 12, 28, 0.24);
}

.avatar-preview-upload.is-loading {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.wide-submit {
  min-width: 190px;
  min-height: 48px;
  padding-inline: 28px;
  font-size: 16px;
}

select:disabled,
input:disabled {
  color: #6b7a90;
  background: #f3f6fa;
  cursor: not-allowed;
}

.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: -10px 0 22px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(23, 31, 45, 0.035);
}

.filter-bar[hidden] {
  display: none;
}

.filter-bar label {
  min-width: 140px;
  font-size: 12px;
}

.filter-bar input,
.filter-bar select {
  min-height: 40px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: 34px;
  margin-bottom: 0;
}

h2 {
  font-size: 18px;
  margin-bottom: 0;
}

.user-switch {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

select,
input,
textarea {
  border: 1px solid #cfd7e6;
  border-radius: 6px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
}

.inline-control {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.mini-button {
  border: 1px solid var(--accent);
  background: #e8faf6;
  color: var(--accent-dark);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
}

.field-help {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.metrics article,
.panel,
.table-wrap,
.export-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(23, 31, 45, 0.04);
}

.metrics article {
  padding: 20px;
}

.metric-clickable {
  cursor: pointer;
}

.metric-clickable:hover,
.metric-clickable:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 194, 160, 0.16);
  outline: none;
}

.metrics span,
.panel-title span {
  color: var(--muted);
  font-size: 13px;
}

.billing-company-name {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 6px 10px;
  border: 1px solid #bfeee4;
  border-radius: 6px;
  background: #edfdf8;
  color: #0a7564;
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.super-admin-metrics {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.super-admin-metric-group {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.super-admin-metric-group h2 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(23, 31, 45, 0.04);
}

.super-admin-metric-group > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.super-admin-metric-group.billing-group > div {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.super-admin-metric-group article {
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 31, 45, 0.04);
}

.super-admin-metric-group span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.super-admin-metric-group strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 23px;
}

.list-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.list-controls label,
.compact-field {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.list-controls select,
.compact-field select {
  min-width: 145px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 0 12px;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

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

.page-button {
  min-width: 38px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.page-button.active,
.page-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #061a2b;
}

.metrics article.metric-alert {
  background: #fff5f6;
  border-color: #f4b8bf;
}

.metrics article.metric-alert strong {
  color: var(--red);
}

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

.panel {
  padding: 22px;
  margin-bottom: 18px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

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

.compact-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.receipt-field {
  display: grid;
  gap: 10px;
}

.receipt-field > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.receipt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.scan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #0f9f88;
  border-radius: 8px;
  background: #102a3a;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 159, 136, 0.16);
}

.scan-button:hover {
  background: #0f766e;
}

.scan-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.scan-button.is-scanning::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 999px;
  animation: scanSpin 0.8s linear infinite;
}

@keyframes scanSpin {
  to {
    transform: rotate(360deg);
  }
}

.receipt-control-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid #f3b36b;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
}

.receipt-control-panel strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  font-size: 13px;
  line-height: 1.2;
}

.receipt-control-panel.danger {
  border-color: #ef4444;
  background: #fff1f2;
  color: #7f1d1d;
}

.receipt-control-panel.scanning {
  border-color: #5eead4;
  background: #ecfeff;
  color: #0f766e;
}

.receipt-control-panel.scanning span {
  font-size: 13px;
  font-weight: 700;
}

.receipt-control-panel p {
  flex-basis: 100%;
  margin: 0;
}

.receipt-preview {
  display: block;
  width: min(100%, 420px);
  max-height: 520px;
  object-fit: contain;
  margin: 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid transparent;
}

.upload-button.secondary-upload {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.upload-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.pilotage-controls {
  padding-bottom: 18px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.filter-grid label {
  font-size: 12px;
}

.chart-box {
  min-height: 230px;
}

.chart-controls {
  align-items: flex-end;
}

.chart-controls label {
  min-width: 150px;
  font-size: 12px;
}

.chart-bars {
  display: grid;
  gap: 12px;
}

.chart-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 105px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.chart-bar-track {
  height: 18px;
  border-radius: 999px;
  background: #edf1f8;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.chart-bar-fill.color-1 { background: var(--blue); }
.chart-bar-fill.color-2 { background: var(--gold); }
.chart-bar-fill.color-3 { background: var(--green); }
.chart-bar-fill.color-4 { background: var(--amber); }
.chart-bar-fill.color-5 { background: var(--red); }

.pie-layout,
.radar-layout {
  display: grid;
  grid-template-columns: 340px max-content;
  gap: 24px;
  align-items: center;
  justify-content: start;
}

.pie-chart {
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.35), 0 16px 34px rgba(23, 31, 45, 0.08);
}

.pie-chart span {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  padding: 10px;
}

.chart-legend {
  display: grid;
  gap: 9px;
  width: max-content;
  max-width: 420px;
}

.chart-legend div {
  display: grid;
  grid-template-columns: 12px minmax(150px, max-content) max-content;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.chart-legend strong {
  justify-self: end;
  min-width: 86px;
}

.chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.compact-legend div {
  grid-template-columns: minmax(150px, max-content) max-content;
}

.radar-chart {
  width: 260px;
  height: 260px;
}

.radar-grid {
  fill: none;
  stroke: #dbe4ee;
  stroke-width: 1;
}

.radar-axis {
  stroke: #e3e9f2;
  stroke-width: 1;
}

.radar-area {
  fill: rgba(37, 194, 160, 0.24);
  stroke: var(--accent);
  stroke-width: 3;
}

.radar-dot {
  fill: var(--accent-dark);
  stroke: white;
  stroke-width: 2;
}

.bars {
  display: grid;
  gap: 13px;
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: #edf1f8;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.bar-fill.color-0 { background: #25c2a0; }
.bar-fill.color-1 { background: #2266d8; }
.bar-fill.color-2 { background: #f5c84c; }
.bar-fill.color-3 { background: #19a974; }
.bar-fill.color-4 { background: #d9961b; }
.bar-fill.color-5 { background: #d64550; }

.bar-fill-alt {
  background: var(--blue);
}

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

.activity-item {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.activity-item span,
.activity-item small {
  color: var(--muted);
}

.activity-item strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.activity-item.warning {
  border-color: #f6cf74;
  background: #fff8e8;
}

.activity-item.danger {
  border-color: #ff9b9b;
  background: #fff1f1;
}

.mail-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mail-status-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fbff;
}

.mail-status-grid span {
  color: var(--muted);
}

.mail-status-grid strong {
  overflow-wrap: anywhere;
}

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

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

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

.billing-grid article,
.billing-ledger > div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.billing-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.billing-grid strong {
  color: var(--ink);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.billing-grid p,
.billing-compliance p {
  margin: 0;
  color: #4b5565;
  line-height: 1.55;
}

.billing-settings-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: #4b5565;
}

.billing-settings-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.billing-settings-strip strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.billing-settings-strip b {
  font-weight: 900;
}

.status.billing-critical {
  color: #4a120c;
  background: linear-gradient(135deg, #ffd24d, #ff7a45);
  border: 1px solid rgba(202, 72, 24, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 122, 69, 0.16), 0 10px 24px rgba(202, 72, 24, 0.28);
}

.billing-attention-panel {
  border: 2px solid rgba(255, 122, 69, 0.85);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 210, 77, 0.28), transparent 32%),
    linear-gradient(135deg, #fff7df, #fff1e8 48%, #f8fbff);
  box-shadow: 0 24px 70px rgba(202, 72, 24, 0.22);
}

.billing-attention-card {
  border-color: rgba(202, 72, 24, 0.85) !important;
  background: linear-gradient(135deg, #fff3cc, #ffe5d5) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 18px 42px rgba(202, 72, 24, 0.2);
}

.billing-attention-card p {
  color: #8a2b16;
  font-weight: 900;
}

.billing-status-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.billing-status-actions[hidden] {
  display: none !important;
}

.billing-status-actions small {
  color: #7c2d12;
  font-weight: 900;
}

.billing-status-ok {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(40, 195, 165, 0.35);
  border-radius: 8px;
  background: #edfdf7;
  color: #0b6b4f;
}

.billing-status-ok[hidden] {
  display: none;
}

.billing-status-ok strong {
  font-size: 0.98rem;
}

.billing-status-ok small {
  color: #3e6b5e;
  font-weight: 800;
}

.billing-row-alert {
  background: #fff7df;
  box-shadow: inset 5px 0 0 #ff7a45;
}

.billing-blocked-dialog {
  width: min(560px, calc(100vw - 28px));
}

.billing-blocked-dialog form {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 210, 77, 0.28), transparent 28%),
    linear-gradient(145deg, #ffffff, #f8fbff);
}

.billing-blocked-dialog header {
  justify-content: flex-start;
}

.billing-blocked-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #4a120c;
  background: linear-gradient(135deg, #ffd24d, #ff7a45);
  box-shadow: 0 10px 26px rgba(202, 72, 24, 0.24);
  font-weight: 1000;
}

.billing-blocked-dialog .dialog-close-button {
  margin-left: auto;
}

.billing-blocked-dialog .confirm-body {
  margin: 0 24px 8px;
  padding: 18px 20px;
  border: 1px solid rgba(202, 72, 24, 0.22);
  border-radius: 8px;
  background: #fff7df;
}

.billing-blocked-dialog .confirm-body p {
  color: #4a120c;
  font-weight: 850;
}

.billing-payment-dialog {
  width: min(680px, calc(100vw - 28px));
}

.billing-pricing-dialog {
  width: min(720px, calc(100vw - 28px));
}

.billing-pricing-body {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
}

.billing-pricing-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.billing-pricing-company span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.billing-pricing-company strong {
  color: var(--ink);
  font-size: 22px;
}

.billing-pricing-company small {
  color: #52627a;
  font-weight: 800;
}

.billing-pricing-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 14px;
}

.billing-pricing-fields label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 850;
}

.percentage-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
}

.percentage-input input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.percentage-input b {
  display: grid;
  place-items: center;
  border: 1px solid #c7d5e2;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  color: #334155;
  background: #f3f7fb;
}

.billing-free-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 194, 160, 0.42);
  border-radius: 8px;
  background: #effcf8;
  cursor: pointer;
}

.billing-free-option input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.billing-free-option span {
  display: grid;
  gap: 3px;
}

.billing-free-option strong {
  color: #075b4d;
}

.billing-free-option small {
  color: #44655f;
  line-height: 1.4;
}

.billing-pricing-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(245, 200, 76, 0.58);
  border-radius: 8px;
  background: #fff9e8;
}

.billing-pricing-preview span {
  color: #70510f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.billing-pricing-preview strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #172033;
  font-size: 20px;
  text-align: right;
}

.billing-pricing-preview small {
  color: #70510f;
  font-weight: 800;
}

.billing-pricing-note {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.company-pricing-cell {
  display: grid;
  gap: 2px;
  min-width: 116px;
}

.company-pricing-cell strong {
  white-space: nowrap;
}

.company-pricing-cell small {
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}

.billing-payment-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
}

.payment-summary-box {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(37, 194, 160, 0.35);
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 210, 77, 0.24), transparent 34%),
    linear-gradient(145deg, #12384b, #061d2f);
}

.payment-summary-box span {
  color: #ffd56a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-summary-box strong {
  font-size: 32px;
  line-height: 1;
}

.payment-summary-box p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.45;
}

.payment-method-box {
  display: grid;
  gap: 12px;
}

.payment-method-box label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 850;
}

.payment-card-field[hidden] {
  display: none !important;
}

.payment-method-box input,
.payment-method-box select {
  min-height: 44px;
}

.payment-method-box .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  line-height: 1.35;
}

.payment-method-box .checkbox-line input {
  min-height: auto;
  margin-top: 3px;
}

.payment-stripe-box {
  padding: 14px 16px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #f2f6ff);
}

.payment-stripe-box strong {
  color: #182335;
}

.payment-stripe-box p {
  margin: 6px 0 0;
  color: #52627a;
  line-height: 1.45;
  font-weight: 700;
}

.payment-inline-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: end;
}

.payment-inline-fields label {
  min-width: 0;
}

.payment-cvc-field {
  width: 58px;
  max-width: 58px;
  justify-self: start;
}

.payment-cvc-field input {
  width: 58px;
  min-width: 0;
  max-width: 58px;
  padding-inline: 6px;
  text-align: center;
}

.payment-secure-note {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
  font-size: 13px;
}

.payment-vat-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(245, 200, 76, 0.45);
  border-radius: 8px;
  color: #51380a;
  background: #fff8dc;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.billing-ledger h3 {
  margin: 0;
  color: var(--ink);
}

.billing-empty {
  color: var(--muted);
}

.billing-rules-card {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(37, 194, 160, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 194, 160, 0.2), transparent 32%),
    radial-gradient(circle at 10% 12%, rgba(245, 200, 76, 0.16), transparent 28%),
    linear-gradient(145deg, #12384b 0%, #0b263b 52%, #071a2c 100%);
  box-shadow: 0 28px 80px rgba(3, 16, 31, 0.28);
}

.billing-rules-header {
  max-width: 920px;
}

.billing-rules-header h2 {
  margin: 10px 0 10px;
  font-size: 34px;
  color: #ffffff;
}

.billing-rules-header p,
.billing-rules-list p,
.billing-rules-footer p {
  color: #d7e8ef;
  line-height: 1.65;
}

.billing-rules-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.billing-rules-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(37, 194, 160, 0.045));
  box-shadow: 0 12px 30px rgba(3, 16, 31, 0.18);
}

.billing-rules-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe08a, #25c2a0);
  color: #061d31;
  font-weight: 950;
}

.billing-rules-list h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.billing-rules-list p {
  margin: 0;
}

.billing-rules-footer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(245, 200, 76, 0.42);
  background: linear-gradient(135deg, rgba(245, 200, 76, 0.16), rgba(37, 194, 160, 0.09));
  color: #ffffff;
}

.billing-rules-footer p {
  margin: 0;
  color: #d9ecf2;
}

.billing-rules-footer .primary-link {
  width: fit-content;
}

.status-ok {
  color: #07866f;
}

.status-error {
  color: #d94352;
}

.status-warning {
  color: #9a6700;
}

.alerts {
  display: grid;
  gap: 10px;
}

.alerts-panel {
  border-color: rgba(34, 102, 216, 0.22);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 35, 60, 0.08);
}

.alert {
  border: 1px solid #d4e7f5;
  background: #f2f9fd;
  color: #16435b;
  padding: 12px 14px;
  border-radius: 6px;
}

.alert-clickable {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.alert-clickable span {
  display: grid;
  gap: 3px;
}

.alert-clickable strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.alert-clickable b {
  white-space: nowrap;
  color: #087c67;
  font-size: 0.86rem;
}

.alert-clickable:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 195, 165, 0.55);
  box-shadow: 0 12px 24px rgba(15, 35, 60, 0.1);
}

.alert-warning {
  border-color: #f2c35c;
  background: #fff9e8;
  color: #6b4a00;
}

.alert-danger {
  border-color: #f3a4a4;
  background: #fff1f1;
  color: #8a1f1f;
}

.alert-info,
.alert-ok {
  border-color: #cfe5ff;
  background: #f2f9fd;
  color: #16435b;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.export-summary {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.export-summary strong {
  color: var(--ink);
}

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

.contact-destination-note {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #9bded2;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #effcf8;
  color: #173b42;
}

.contact-destination-note strong {
  color: #087865;
  font-size: 15px;
}

.contact-destination-note p,
.contact-destination-note small {
  margin: 0;
  line-height: 1.5;
}

.contact-destination-note small {
  color: #526577;
}

.contact-destination-note-marketing {
  border-color: rgba(245, 200, 76, 0.62);
  border-left-color: var(--gold);
  background: rgba(5, 34, 49, 0.72);
  color: #eef8ff;
}

.contact-destination-note-marketing strong {
  color: #ffe08a;
}

.contact-destination-note-marketing small {
  color: #d3e4ef;
}

.form-feedback {
  min-height: 22px;
  margin: 0;
  font-weight: 800;
}

.form-feedback.error {
  color: var(--red);
}

.form-feedback.success {
  color: var(--accent-dark);
}

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

.chip,
.secondary,
.primary,
.primary-link,
.ghost {
  border-radius: 6px;
  border: 1px solid #cfd7e6;
  background: white;
  padding: 10px 13px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.chip.active {
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
}

.search {
  min-width: 280px;
}

.table-wrap {
  overflow: auto;
}

.expense-summary {
  position: sticky;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 14px;
  margin-left: auto;
  width: fit-content;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 31, 45, 0.1);
  color: var(--muted);
}

.expense-summary strong {
  color: var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1050px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  font-size: 12px;
  text-transform: uppercase;
  color: #8a94a6;
}

.table-person-primary {
  display: inline-block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.table-label-primary {
  display: inline-block;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.muted-row {
  background: #f7f9fb;
  color: #7a8495;
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #edf1f8;
}

.status.submitted {
  background: #e8f1ff;
  color: #1c5eb8;
}

.status.approved,
.status.verified {
  background: #e8f8ef;
  color: #117447;
}

.status.draft {
  background: #fff7dd;
  color: #7a5600;
}

.approval-list {
  display: block;
}

.missing-receipt-row {
  background: #fffaf0;
}

.receipt-missing-badge,
.receipt-ok-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.receipt-missing-badge {
  border: 1px solid #f2b46a;
  background: #fff0d6;
  color: #8a5200;
}

.receipt-ok-badge {
  border: 1px solid #b9eadf;
  background: #e9fbf7;
  color: #08745f;
}

.detail-dialog {
  max-width: 780px;
}

.detail-body {
  display: grid;
  gap: 18px;
  padding: 22px 24px 14px;
}

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

.detail-grid div,
.detail-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfd;
}

.detail-grid span,
.detail-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-grid strong,
.detail-note p {
  margin: 0;
}

.missing-text {
  color: var(--red);
  font-weight: 800;
}

.rejection-field textarea {
  resize: vertical;
}

.detail-dialog .rejection-field {
  margin: 0 24px 18px;
}

.user-stats-dialog {
  width: min(860px, calc(100vw - 28px));
}

.user-stats-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(37, 194, 160, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 0%, rgba(37, 194, 160, 0.16), transparent 36%),
    linear-gradient(135deg, #f8fbfd, #eef7f6);
}

.user-stats-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.user-stats-identity .user-avatar {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.user-stats-identity strong,
.user-stats-identity span {
  display: block;
}

.user-stats-identity strong {
  color: var(--ink);
  font-size: 22px;
}

.user-stats-identity span {
  color: var(--muted);
  font-weight: 750;
}

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

.user-stats-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.user-stats-grid span,
.user-stats-grid small {
  color: var(--muted);
  font-weight: 800;
}

.user-stats-grid strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

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

.user-created-at {
  display: block;
  margin-top: 5px;
  color: #52627a;
  font-size: 13px;
  font-weight: 750;
}

.user-stats-section {
  display: grid;
  gap: 10px;
}

.user-stat-bar {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 850;
}

.user-stat-bar i {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef5;
}

.user-stat-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.user-stat-bar b.color-0 { background: #25c2a0; }
.user-stat-bar b.color-1 { background: #2266d8; }
.user-stat-bar b.color-2 { background: #f5c84c; }
.user-stat-bar b.color-3 { background: #19a974; }
.user-stat-bar b.color-4 { background: #d9961b; }
.user-stat-bar b.color-5 { background: #d64550; }

.detail-dialog footer {
  padding: 18px 24px;
}

.missing-list {
  display: grid;
  gap: 10px;
}

.missing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfd;
}

.missing-row span,
.missing-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.alert-detail-table {
  max-height: min(62vh, 620px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reject-reason {
  color: var(--red);
  font-weight: 800;
}

.control-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

.control-alerts span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff7dd;
  color: #7a5600;
  font-size: 12px;
  font-weight: 900;
}

.control-note {
  border-color: #f5d889;
  background: #fffaf0;
}

.control-note p {
  margin-top: 10px;
  color: #66501c;
}

.primary,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  background: var(--accent);
  border-color: var(--accent);
  color: #062920;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(28, 184, 150, 0.18);
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  color: var(--accent-dark);
  border-color: var(--accent);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 128, 104, 0.08);
}

.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 1px solid #f2a7ae;
  background: #fff1f2;
  color: #d94352;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(217, 67, 82, 0.12);
}

.primary:hover,
.primary-link:hover {
  background: #20b99a;
  border-color: #20b99a;
  transform: translateY(-1px);
}

.secondary:hover {
  background: #e9fbf7;
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.danger:hover {
  background: #ffe4e7;
  border-color: #e15f6b;
  color: #b91c1c;
  transform: translateY(-1px);
}

.primary:focus-visible,
.primary-link:focus-visible,
.secondary:focus-visible,
.danger:focus-visible {
  outline: 3px solid rgba(28, 184, 150, 0.22);
  outline-offset: 2px;
}

.danger:focus-visible {
  outline-color: rgba(217, 67, 82, 0.24);
}

.danger:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.compact {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 13px;
}

.export-panel {
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

dialog {
  width: min(920px, calc(100vw - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.confirm-dialog {
  width: min(520px, calc(100vw - 28px));
}

dialog::backdrop {
  background: rgba(18, 24, 33, 0.42);
}

dialog header,
dialog footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

dialog header h2 {
  margin: 0;
  color: #111827;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.confirm-body {
  padding: 24px;
}

.confirm-body p {
  margin: 0;
  color: #384152;
  line-height: 1.55;
}

dialog footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.ghost {
  border: 0;
  color: var(--muted);
}

.dialog-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #b8c5d4;
  background: #ffffff;
  color: #182335;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.dialog-close-button:hover {
  border-color: #ef4444;
  color: #991b1b;
  background: #fff1f2;
}

.dialog-close-button:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.22);
  outline-offset: 2px;
}

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

.reference-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 320px;
  gap: 18px;
  padding: 24px;
}

.reference-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.reference-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.reference-row:last-child {
  border-bottom: 0;
}

.reference-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.row-actions {
  display: flex;
  gap: 7px;
}

.billing-actions {
  flex-wrap: wrap;
  min-width: 150px;
}

.billing-actions .mini-button {
  min-width: 70px;
}

.lock-reason {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.reference-editor {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.reference-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #384152;
}

.wide {
  grid-column: 1 / -1;
}

.vat-breakdown {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbfd;
}

.vat-breakdown-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.vat-breakdown-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.vat-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

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

@media (prefers-reduced-motion: reduce) {
  .login-screen::before,
  .cinema-light,
  .city-layer,
  .tower-office,
  .screen::after,
  .person,
  .ai-demo-panel,
  .scan-phone,
  .scan-form-card,
  .dashboard-preview,
  .phone-preview,
  .preview-bars i {
    animation: none;
  }
}

@media (min-width: 1700px) {
  .landing-page {
    width: min(1720px, calc(100vw - 128px));
  }

  .landing-hero {
    grid-template-columns: minmax(620px, 0.95fr) minmax(650px, 1.05fr);
    gap: clamp(86px, 8vw, 150px);
  }

  .landing-sections {
    gap: 22px;
  }

  .landing-sections article,
  .free-band {
    backdrop-filter: blur(10px);
  }
}

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

  .sidebar {
    position: static;
    height: auto;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    overflow-x: auto;
  }

  .login-screen {
    padding: 18px;
  }

  .tower-office {
    right: -18vw;
    width: 106vw;
    height: 58vh;
    min-height: 390px;
    opacity: 0.62;
    transform: none;
  }

  .landing-cinema::before {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.9) 0%, rgba(3, 16, 31, 0.78) 52%, rgba(3, 16, 31, 0.88) 100%),
      linear-gradient(90deg, rgba(3, 16, 31, 0.84), rgba(3, 16, 31, 0.34));
  }

  .desk-left {
    left: 8%;
    transform: scale(0.82);
    transform-origin: left bottom;
  }

  .desk-right,
  .meeting-table {
    transform: scale(0.78);
    transform-origin: right bottom;
  }

  .landing-nav,
  .free-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-menu {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .marketing-nav {
    width: min(100% - 36px, 1180px);
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .marketing-brand img {
    width: 220px;
    max-width: 78vw;
  }

  .marketing-page {
    width: min(100% - 36px, 1180px);
    padding-top: 28px;
  }

  .marketing-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .marketing-timeline,
  .marketing-grid,
  .marketing-split,
  .workflow-section,
  .security-trust-panel,
  .security-payments,
  .security-pillars,
  .security-grid,
  .marketing-contact .contact-form,
  .pricing-layout,
  .pricing-details {
    grid-template-columns: 1fr;
  }

  .marketing-timeline article {
    min-height: auto;
  }

  .how-summary {
    order: -1;
  }

  .pricing-hero {
    max-width: 100%;
  }

  .pricing-band-link {
    grid-template-columns: 1fr;
  }

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

  .security-location-card {
    min-height: auto;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }

  .setup-shell {
    width: min(100vw - 24px, 1040px);
    padding: 18px 0;
  }

  .setup-header {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .setup-header img {
    width: 180px;
  }

  .setup-form section,
  .setup-actions {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .auth-dialog {
    width: min(100vw - 20px, 620px);
  }

  .auth-card header,
  .company-card header,
  .company-card footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .auth-card > .login-logo,
  .auth-card > label,
  .auth-card > .form-feedback,
  .auth-card > .auth-note,
  .auth-card > .forgot-password,
  .auth-card > button:not(.ghost):not(.link-button) {
    margin-left: 22px;
    margin-right: 22px;
  }

  .auth-card > button:not(.ghost):not(.link-button) {
    width: calc(100% - 44px);
  }

  .company-grid {
    padding-left: 22px;
    padding-right: 22px;
  }

  .landing-actions {
    width: 100%;
  }

  .landing-hero,
  .landing-sections,
  .landing-info-panel,
  .landing-about,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .landing-info-panel,
  .landing-about {
    padding: 22px;
  }

  .workflow-steps article {
    min-height: auto;
  }

  .landing-hero {
    gap: 26px;
    padding-top: 18px;
  }

  .product-visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .ai-demo-panel {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .ai-demo-grid {
    grid-template-columns: 1fr;
  }

  .receipt-photo-card {
    min-height: 320px;
  }

  .scan-showcase {
    position: relative;
    inset: auto;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .scan-phone,
  .scan-form-card {
    width: 100%;
  }

  .scan-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .dashboard-preview,
  .phone-preview {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .phone-preview {
    margin-top: 16px;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 168px;
  }

  nav {
    display: flex;
  }

  .add-button {
    margin-top: 0;
    white-space: nowrap;
  }

  .app {
    padding: 24px 18px 36px;
  }

  .metrics,
  .grid.two,
  .form-grid,
  .filter-grid,
  .reference-layout {
    grid-template-columns: 1fr;
  }

  .pie-layout,
  .radar-layout {
    grid-template-columns: 1fr;
  }

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

  .mail-status-grid {
    grid-template-columns: 1fr;
  }

  .vat-breakdown-title {
    display: grid;
  }

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

  .chart-bar-row,
  .bar-row {
    grid-template-columns: 1fr;
  }

  .topbar,
  .filter-bar,
  .export-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-controls,
  .pagination {
    justify-content: flex-start;
  }

  .list-controls label,
  .compact-field {
    width: 100%;
  }

  .list-controls select,
  .compact-field select {
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 105px 1fr 75px;
  }
}

@media (max-width: 760px) {
  body {
    display: block;
    min-height: 100dvh;
    background: var(--bg);
  }

  body.is-authenticated {
    background: var(--bg);
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body:not(.is-authenticated) {
    padding: 0;
  }

  body.is-authenticated .login-screen {
    display: none !important;
  }

  .login-screen {
    padding: 14px;
  }

  .landing-page {
    width: min(100%, calc(100vw - 28px));
    gap: 22px;
  }

  .landing-nav {
    gap: 14px;
    padding-top: 8px;
  }

  .landing-logo {
    width: 190px;
    max-width: 84vw;
  }

  .landing-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
  }

  .landing-menu a {
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
  }

  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-copy h1 {
    font-size: clamp(36px, 12vw, 50px);
    line-height: 0.98;
  }

  .landing-lead {
    font-size: 16px;
  }

  .landing-cta {
    grid-template-columns: 1fr;
  }

  .landing-flow {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .landing-flow i {
    display: none;
  }

  .ai-demo-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .ai-demo-header {
    align-items: flex-start;
  }

  .ai-demo-header strong {
    font-size: 24px;
  }

  .receipt-photo-card {
    min-height: 270px;
    padding: 16px;
  }

  .receipt-paper {
    width: min(220px, 92%);
    min-height: 260px;
  }

  .autofill-row.two {
    grid-template-columns: 1fr;
  }

  .landing-sections article,
  .free-band {
    border-radius: 10px;
  }

  .marketing-nav {
    width: min(100% - 28px, 100%);
    min-height: auto;
  }

  .marketing-page,
  .marketing-footer {
    width: min(100% - 28px, 100%);
  }

  .marketing-hero {
    max-width: 100%;
  }

  .marketing-hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .how-steps::before {
    display: none;
  }

  .how-steps article {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  .how-steps span {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 28px;
  }

  .how-summary strong {
    font-size: 32px;
  }

  .security-hero-pills span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .security-trust-panel,
  .security-payments,
  .security-disclaimer {
    border-radius: 14px;
    padding: 20px;
  }

  .security-pillars article,
  .security-grid article {
    min-height: auto;
  }

  .pricing-band-link {
    min-height: auto;
    padding: 18px;
  }

  .pricing-band-main h2 {
    font-size: 30px;
  }

  .pricing-band-main p {
    font-size: 16px;
  }

  .pricing-band-side {
    padding: 18px;
  }

  .pricing-band-benefits {
    grid-template-columns: 1fr;
  }

  .pricing-band-benefits li {
    font-size: 13px;
  }

  .pricing-band-side strong {
    font-size: 44px;
  }

  .pricing-plan,
  .pricing-note {
    padding: 22px;
  }

  .price-stack {
    padding: 18px;
  }

  .price-stack strong {
    font-size: 54px;
  }

  .pricing-actions {
    display: grid;
  }

  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 30;
    height: auto;
    min-height: 0;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    display: block;
    border-radius: 18px 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    box-shadow: 0 -18px 42px rgba(0, 12, 28, 0.2);
  }

  .sidebar .brand {
    display: none;
  }

  .sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
  }

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

  .nav-item {
    flex: 0 0 auto;
    min-width: 96px;
    max-width: 128px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }

  .add-button {
    position: fixed;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 35;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: transparent;
    font-size: 0;
    box-shadow: 0 16px 36px rgba(37, 194, 160, 0.32);
  }

  .add-button::before {
    content: "+";
    color: #062920;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
  }

  .app {
    min-height: 100dvh;
    padding: 18px 12px 18px;
    background: var(--bg);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .topbar-tools {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .account-pill {
    width: 100%;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .filter-bar {
    padding: 12px;
    gap: 10px;
    margin: 0 0 14px;
  }

  .filter-bar label,
  .filter-bar select,
  .filter-bar input {
    width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metrics article,
  .panel,
  .export-panel {
    border-radius: 10px;
    padding: 14px;
  }

  .metrics article {
    min-height: 94px;
  }

  .panel-title {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .bar-row,
  .chart-bar-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bar-row strong,
  .chart-bar-row strong {
    justify-self: start;
  }

  .table-wrap {
    margin-inline: -14px;
    border-radius: 0;
  }

  table {
    min-width: 0;
  }

  .expense-table,
  .users-table,
  .export-table,
  .super-admin-table,
  .expense-table thead,
  .users-table thead,
  .export-table thead,
  .super-admin-table thead,
  .expense-table tbody,
  .users-table tbody,
  .export-table tbody,
  .super-admin-table tbody,
  .expense-table tr,
  .users-table tr,
  .export-table tr,
  .super-admin-table tr,
  .expense-table td,
  .users-table td,
  .export-table td,
  .super-admin-table td {
    display: block;
    width: 100%;
  }

  .expense-table thead,
  .users-table thead,
  .export-table thead,
  .super-admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .expense-table tbody,
  .users-table tbody,
  .export-table tbody,
  .super-admin-table tbody {
    display: grid;
    gap: 10px;
    padding: 0 14px 4px;
  }

  .expense-table tr,
  .users-table tr,
  .export-table tr,
  .super-admin-table tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }

  .expense-table td,
  .users-table td,
  .export-table td,
  .super-admin-table td {
    display: grid;
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    overflow-wrap: anywhere;
  }

  .expense-table td:last-child,
  .users-table td:last-child,
  .export-table td:last-child,
  .super-admin-table td:last-child {
    border-bottom: 0;
  }

  .expense-table td::before,
  .users-table td::before,
  .export-table td::before,
  .super-admin-table td::before {
    color: #7a8495;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .expense-table td:nth-child(1)::before { content: "Depense"; }
  .expense-table td:nth-child(2)::before { content: "Declaration"; }
  .expense-table td:nth-child(3)::before { content: "Personne"; }
  .expense-table td:nth-child(4)::before { content: "Libelle"; }
  .expense-table td:nth-child(5)::before { content: "Categorie"; }
  .expense-table td:nth-child(6)::before { content: "Total"; }
  .expense-table td:nth-child(7)::before { content: "Etat"; }
  .expense-table td:nth-child(8)::before { content: "Actions"; }
  .export-table td:nth-child(1)::before { content: "Date"; }
  .export-table td:nth-child(2)::before { content: "Personne"; }
  .export-table td:nth-child(3)::before { content: "Libelle"; }
  .export-table td:nth-child(4)::before { content: "Categorie"; }

  .users-table td:nth-child(1)::before { content: "Nom"; }
  .users-table td:nth-child(2)::before { content: "Mail"; }
  .users-table td:nth-child(3)::before { content: "Telephone"; }
  .users-table td:nth-child(4)::before { content: "Role"; }
  .users-table td:nth-child(5)::before { content: "Equipe"; }
  .users-table td:nth-child(6)::before { content: "Agence"; }
  .users-table td:nth-child(7)::before { content: "Code"; }
  .users-table td:nth-child(8)::before { content: "Statut"; }
  .users-table td:nth-child(9)::before { content: "Manager"; }
  .users-table td:nth-child(10)::before { content: "Actions"; }

  .export-table td:nth-child(5)::before { content: "Client"; }
  .export-table td:nth-child(6)::before { content: "Total"; }
  .export-table td:nth-child(7)::before { content: "TVA"; }
  .export-table td:nth-child(8)::before { content: "Etat"; }

  .super-admin-table td:nth-child(1)::before { content: "Entreprise"; }
  .super-admin-table td:nth-child(2)::before { content: "Code"; }
  .super-admin-table td:nth-child(3)::before { content: "Direction"; }
  .super-admin-table td:nth-child(4)::before { content: "Managers"; }
  .super-admin-table td:nth-child(5)::before { content: "Commerciaux"; }
  .super-admin-table td:nth-child(6)::before { content: "Actifs"; }
  .super-admin-table td:nth-child(7)::before { content: "Facturables"; }
  .super-admin-table td:nth-child(8)::before { content: "Paiement"; }
  .super-admin-table td:nth-child(9)::before { content: "Fin essai"; }
  .super-admin-table td:nth-child(10)::before { content: "Tarif / utilisateur"; }
  .super-admin-table td:nth-child(11)::before { content: "Mensuel HT"; }
  .super-admin-table td:nth-child(12)::before { content: "Connexions"; }
  .super-admin-table td:nth-child(13)::before { content: "Uniques"; }
  .super-admin-table td:nth-child(14)::before { content: "Derniere"; }
  .super-admin-table td:nth-child(15)::before { content: "Etat"; }
  .super-admin-table td:nth-child(16)::before { content: "Actions"; }

  .billing-pricing-fields,
  .billing-pricing-preview,
  .billing-pricing-company {
    grid-template-columns: 1fr;
  }

  .billing-pricing-preview strong {
    grid-row: auto;
    grid-column: 1;
    text-align: left;
  }

  .expense-table .row-actions,
  .users-table .row-actions,
  .export-table .row-actions,
  .super-admin-table .row-actions {
    justify-content: flex-start;
  }

  .user-stats-grid,
  .user-stats-profile {
    grid-template-columns: 1fr;
  }

  .user-stat-bar {
    grid-template-columns: 1fr;
  }

  dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  dialog header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: white;
    padding: 14px 16px;
  }

  dialog footer {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: white;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  }

  .dialog-close-button {
    min-width: 48px;
    padding: 10px 12px;
    font-size: 0;
  }

  .dialog-close-button::before {
    content: "×";
    font-size: 28px;
    line-height: 1;
  }

  .form-grid,
  .company-grid {
    padding: 16px;
    gap: 14px;
  }

  input,
  select,
  textarea,
  button,
  .upload-button {
    min-height: 48px;
  }

  .inline-control {
    grid-template-columns: 1fr 52px;
  }

  .mini-button {
    min-width: 52px;
  }

  .vat-breakdown {
    padding: 12px;
  }

  .vat-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .receipt-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .upload-button,
  .receipt-actions .compact {
    width: 100%;
  }

  .check {
    align-items: flex-start;
  }

  .auth-dialog,
  .company-dialog {
    width: min(100vw - 20px, 560px);
    height: auto;
    max-height: calc(100dvh - 20px);
    margin: auto;
    border-radius: 14px;
  }
}

@media (max-width: 1180px) {
  .privacy-overview,
  .privacy-ai-panel,
  .privacy-data-grid,
  .privacy-rights-grid,
  .about-promise-panel,
  .about-method-panel,
  .about-benefits-grid {
    grid-template-columns: 1fr;
  }

  .privacy-data-grid article,
  .privacy-rights-grid article,
  .about-benefits-grid article {
    min-height: auto;
  }

  .about-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .super-admin-metric-group,
  .super-admin-metric-group > div,
  .super-admin-metric-group.billing-group > div {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .billing-payment-body {
    grid-template-columns: 1fr;
  }

  .payment-summary-box {
    min-height: auto;
  }

  .payment-inline-fields {
    grid-template-columns: 1fr;
  }

  .privacy-overview,
  .privacy-data-panel,
  .privacy-ai-panel,
  .privacy-disclaimer,
  .about-promise-panel,
  .about-method-panel,
  .about-cta-panel {
    border-radius: 14px;
    padding: 20px;
  }

  .privacy-overview-main h2,
  .privacy-panel-header h2,
  .privacy-ai-panel h2,
  .about-promise-main h2,
  .about-method-panel h2 {
    font-size: 31px;
  }
}
.company-delete-dialog {
  width: min(620px, calc(100vw - 28px));
}

.company-delete-dialog .confirm-body {
  display: grid;
  gap: 16px;
}

.company-delete-dialog .confirm-body > p:first-child {
  margin: 0;
  line-height: 1.55;
}

.company-delete-company-name {
  padding: 12px 14px;
  border: 1px solid #f1c95b;
  border-radius: 7px;
  background: #fff9e8;
  color: #5d4400;
  font-size: 16px;
  font-weight: 800;
}

.app-toast {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid #82dccb;
  border-radius: 8px;
  background: #093d3b;
  box-shadow: 0 18px 42px rgba(3, 22, 34, 0.28);
  color: #ffffff;
  font-weight: 750;
  line-height: 1.45;
}

.app-toast.error {
  border-color: #f39a9d;
  background: #671f2a;
}

.company-delete-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #efc6cc;
  border-radius: 8px;
  background: #fffafb;
}

.company-delete-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.company-delete-check span {
  line-height: 1.45;
}

.super-admin-deletion-panel {
  border: 1px solid #efb8bf;
  background: #fffafb;
}

.super-admin-metric-group.scan-group > div {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.super-admin-metric-group.scan-group > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 1500px) {
  .super-admin-metric-group.scan-group > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.super-admin-deletion-panel .panel-title {
  align-items: center;
}

.deletion-request-count {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #d84250;
  color: #fff;
  font-size: 20px;
}

.super-admin-deletion-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.super-admin-deletion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid #e6cfd2;
  border-radius: 8px;
  background: #fff;
}

.super-admin-deletion-item > div:first-child {
  display: grid;
  gap: 4px;
}

.super-admin-deletion-item span,
.super-admin-deletion-item small {
  color: var(--muted);
}

.secondary-danger {
  background: #fff;
  color: #b82f3d;
  box-shadow: none;
}

.deletion-type-badge,
.user-deletion-pending {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-right: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff0d3;
  color: #855b00;
  font-size: 12px;
  font-weight: 800;
}

.user-deletion-pending {
  margin: 6px 0 0 44px;
}

@media (max-width: 760px) {
  .super-admin-deletion-item {
    align-items: stretch;
    flex-direction: column;
  }

  .super-admin-deletion-item .row-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
