:root {
  --brand: #167b5b;
  --brand-dark: #0d5941;
  --brand-pale: #e8f4ef;
  --sidebar: #10271f;
  --ink: #17231f;
  --muted: #6f7c77;
  --paper: #f5f7f5;
  --line: #e4e9e6;
  --warning: #d88921;
  --danger: #c84d4d;
  --blue: #4d81a8;
  --white: #fff;
  --shadow: 0 3px 16px rgba(23, 43, 35, .035);
  --shadow-raised: 0 12px 32px rgba(23, 43, 35, .08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(22, 123, 91, .22);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #22a879, #0d694d);
  box-shadow: 0 7px 20px rgba(21, 123, 90, .22);
  font-size: 24px;
  font-weight: 700;
}
.brand__mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; letter-spacing: .04em; }
.brand small { margin-top: 3px; font-size: 8px; letter-spacing: .15em; opacity: .58; }
.brand--dark { color: var(--ink); }
.brand--light { color: #fff; }

.button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--brand); box-shadow: 0 6px 18px rgba(22, 123, 91, .16); }
.button--primary:hover { background: var(--brand-dark); box-shadow: 0 9px 24px rgba(22, 123, 91, .22); }
.button--outline { color: var(--brand-dark); background: #fff; border-color: #cad8d2; }
.button--outline:hover { border-color: var(--brand); background: var(--brand-pale); }
.button--ghost { color: #fff; border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .08); }
.button--ghost:hover { background: rgba(255, 255, 255, .15); }
.button--large { min-height: 48px; padding: 0 22px; }
.button--block { width: 100%; min-height: 46px; }
.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
}
.icon-button:hover { background: var(--brand-pale); }

/* Public page */
.public-page {
  --brand: #c33a3f;
  --brand-dark: #8b1f28;
  --brand-pale: #fbeaec;
  --sidebar: #52151a;
  background: #fffafa;
}
.public-page .brand__mark {
  background: linear-gradient(145deg, #e4514e, #9f222b);
  box-shadow: 0 7px 20px rgba(133, 25, 34, .28);
}
.public-header {
  height: 76px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(104, 20, 26, .94);
  backdrop-filter: blur(18px);
}
.public-header .brand--dark { color: #fff; }
.public-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 42px; }
.public-nav a { color: rgba(255, 255, 255, .76); font-size: 13px; }
.public-nav a:hover { color: #fff; }
.public-header .button--outline { color: #fff; border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .08); }
.public-header .button--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.hero {
  min-height: 620px;
  max-width: none;
  margin: auto;
  padding: 76px clamp(24px, 6vw, 96px) 90px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(248, 124, 116, .28), transparent 27%),
    radial-gradient(circle at 12% 100%, rgba(255, 184, 170, .12), transparent 32%),
    linear-gradient(135deg, #8f2028 0%, #b52f35 48%, #76151d 100%);
}
.hero .eyebrow { color: #ffd2cd; }
.hero .eyebrow span { background: #ffaca5; }
.eyebrow { color: var(--brand); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 18px; height: 2px; margin: 0 7px 3px 0; background: var(--brand); }
.hero h1 { margin: 20px 0 20px; font-size: clamp(42px, 4.2vw, 66px); line-height: 1.13; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em { color: #ffd9d3; font-style: normal; }
.hero__content > p { max-width: 520px; color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.9; }
.hero__actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; }
.hero .button--primary { color: #98232b; background: #fff; box-shadow: 0 10px 28px rgba(71, 10, 16, .22); }
.hero .button--primary:hover { color: #75161e; background: #fff3f1; }
.text-link { color: rgba(255, 255, 255, .84); font-size: 13px; font-weight: 600; }
.text-link:hover { color: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; color: rgba(255, 255, 255, .76); font-size: 11px; }
.check { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 4px; border-radius: 50%; color: var(--brand); background: var(--brand-pale); font-size: 10px; font-style: normal; }

.workspace-preview {
  position: relative;
  max-width: 690px;
  min-height: 445px;
  border: 1px solid #dbe4df;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(30, 64, 50, .12);
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg);
}
.preview__top { height: 38px; padding: 0 14px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 8px; color: var(--muted); }
.preview__top > span { margin-left: 17px; }
.preview__top b { margin-left: auto; color: var(--brand); font-weight: 500; }
.preview__top b i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #2bb482; box-shadow: 0 0 0 3px #def3eb; }
.preview__dots { display: flex; gap: 5px; }
.preview__dots i { width: 6px; height: 6px; border-radius: 50%; background: #d7dedb; }
.preview__body { min-height: 405px; display: grid; grid-template-columns: 54px 1fr; }
.preview__body aside { padding: 15px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; background: var(--sidebar); border-radius: 0 0 0 16px; }
.preview__body aside i { width: 15px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); }
.preview__body aside i.active { height: 18px; background: #2fa77f; box-shadow: 0 0 0 7px rgba(47,167,127,.12); }
.preview__logo { width: 23px; height: 23px; border-radius: 7px; background: linear-gradient(145deg,#2ab081,#157456); }
.preview__content { padding: 25px 25px 19px; background: #f7f9f7; border-radius: 0 0 16px 0; }
.preview__hello { display: flex; justify-content: space-between; align-items: center; }
.preview__hello span { display: flex; flex-direction: column; gap: 4px; }
.preview__hello small { font-size: 7px; color: var(--muted); }
.preview__hello strong { font-size: 14px; }
.preview__hello button { border: 0; background: transparent; color: var(--brand); }
.preview__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.preview__metrics > div { min-height: 82px; padding: 12px; display: flex; flex-direction: column; border: 1px solid #e6ebe8; border-radius: 9px; background: #fff; }
.preview__metrics small { color: var(--muted); font-size: 7px; }
.preview__metrics strong { margin: 6px 0 3px; font-size: 19px; }
.preview__metrics span { color: var(--brand); font-size: 6px; }
.preview__chart { height: 205px; margin-top: 12px; padding: 15px; border: 1px solid #e6ebe8; border-radius: 9px; background: #fff; }
.preview__chart-head { display: flex; justify-content: space-between; }
.preview__chart-head span { display: flex; flex-direction: column; gap: 3px; }
.preview__chart-head strong { font-size: 9px; }
.preview__chart-head small { color: var(--muted); font-size: 6px; }
.preview__chart-head b { height: 18px; padding: 4px 7px; border-radius: 5px; color: var(--brand); background: var(--brand-pale); font-size: 6px; }
.preview__chart svg { width: 100%; height: 140px; overflow: visible; }
svg .grid { fill: none; stroke: #e9eeeb; stroke-width: 1; }
svg .area { fill: url(#chartFill); }
svg .line { fill: none; stroke: #1c9b70; stroke-width: 2.5; stroke-linecap: round; }
.floating-alert {
  position: absolute;
  right: -24px;
  bottom: 50px;
  width: 235px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e2d8;
  border-radius: 11px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-raised);
}
.floating-alert > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--warning); background: #fff4e4; font-weight: 700; }
.floating-alert div { display: flex; flex-direction: column; gap: 3px; }
.floating-alert strong { font-size: 9px; }
.floating-alert small { color: var(--muted); font-size: 7px; }

.section { max-width: 1296px; margin: auto; padding: 88px 48px 105px; }
.section-heading { max-width: 600px; margin: 0 auto 45px; text-align: center; }
.section-heading > span, .dark-feature > div > span { color: var(--brand); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.section-heading h2 { margin: 14px 0 12px; font-size: 29px; letter-spacing: -.025em; }
.section-heading p { color: var(--muted); font-size: 13px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability-card { padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.capability-card__icon, .metric-card__icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; font-size: 19px; }
.icon-green { color: var(--brand); background: var(--brand-pale); }
.icon-blue { color: var(--blue); background: #eaf2f7; }
.icon-amber { color: var(--warning); background: #fbf1e4; }
.icon-red { color: var(--danger); background: #f9eaea; }
.capability-card h3 { margin: 21px 0 10px; font-size: 16px; }
.capability-card p { min-height: 48px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.capability-card ul { padding: 17px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.capability-card li { margin: 8px 0; color: #52615c; font-size: 11px; }
.capability-card li::before { content: "✓"; margin-right: 8px; color: var(--brand); font-weight: 700; }

.dark-feature {
  max-width: 1200px;
  margin: 0 auto 88px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(39, 138, 104, .24), transparent 28%),
    var(--sidebar);
}
.public-page .dark-feature {
  background:
    radial-gradient(circle at 8% 15%, rgba(229, 81, 78, .22), transparent 28%),
    #4a1318;
}
.public-page .dark-feature li b { color: #ff928b; }
.dark-feature h2 { margin: 17px 0; font-size: 31px; line-height: 1.45; letter-spacing: -.025em; }
.dark-feature > div > p { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.85; }
.dark-feature ol { margin: 0; padding: 0; list-style: none; }
.dark-feature li { padding: 15px 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.dark-feature li b { color: #45c799; font-size: 11px; }
.dark-feature li span { display: flex; flex-direction: column; gap: 4px; }
.dark-feature li strong { font-size: 13px; }
.dark-feature li small { color: rgba(255,255,255,.5); font-size: 10px; }
.security-strip {
  max-width: 1080px;
  min-height: 96px;
  margin: 0 auto 88px;
  padding: 20px 27px;
  display: flex;
  align-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(100deg, #0d5941, #147151);
  box-shadow: 0 18px 35px rgba(13,89,65,.14);
}
.public-page .security-strip {
  background: linear-gradient(100deg, #8b1f28, #bf353a);
  box-shadow: 0 18px 35px rgba(120, 22, 29, .18);
}
.security-strip__icon { width: 47px; height: 47px; margin-right: 16px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.11); font-size: 26px; }
.security-strip div { display: flex; flex-direction: column; gap: 6px; }
.security-strip strong { font-size: 14px; }
.security-strip small { color: rgba(255,255,255,.62); font-size: 10px; }
.security-strip .button { margin-left: auto; }
.public-footer { min-height: 110px; padding: 30px clamp(24px, 6vw, 96px); display: flex; align-items: center; gap: 36px; color: rgba(255,255,255,.65); background: #3b1014; font-size: 9px; }
.public-footer .brand { margin-right: auto; }

/* Login dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 14px;
  display: none;
  place-items: center;
  background: rgba(8, 24, 18, .58);
  backdrop-filter: blur(5px);
}
.modal-backdrop.is-open { display: grid; animation: fade-in .18s ease; }
.login-dialog {
  position: relative;
  width: min(440px, calc(100vw - 28px));
  padding: 32px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(9, 32, 23, .26);
  animation: dialog-in .2s ease;
}
.modal-close { position: absolute; top: 14px; right: 14px; color: var(--muted); font-size: 23px; }
.login-dialog__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.login-dialog__brand > div { display: flex; flex-direction: column; gap: 5px; }
.login-dialog__brand strong { font-size: 21px; }
.login-dialog__brand small { color: var(--muted); font-size: 11px; }
.login-dialog label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 600; }
.label-row { margin-top: 17px; display: flex; justify-content: space-between; }
.label-row a { color: var(--brand); font-size: 11px; }
.input-wrap { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #dce4e0; border-radius: 9px; background: #fbfcfb; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,123,91,.1); }
.input-wrap > span { color: #85918c; }
.input-wrap input { width: 100%; height: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.input-wrap input::placeholder { color: #a8b1ad; }
.password-toggle { width: 30px; height: 30px; border: 0; border-radius: 6px; color: #89948f; background: transparent; cursor: pointer; }
.login-dialog form > .button { margin-top: 24px; }
.form-alert { padding: 10px 12px; margin: -8px 0 16px; display: flex; gap: 8px; border: 1px solid #f2d6d6; border-radius: 8px; color: #a53d3d; background: #fff4f4; font-size: 11px; }
.form-alert span { font-weight: 700; }
.login-help { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 10px; }
.login-help span { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 4px; border: 1px solid #bdc7c2; border-radius: 50%; }
body.modal-open { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* Dashboard shell */
.app-page { overflow-x: hidden; background: var(--paper); }
.app-shell { max-width: 100vw; min-height: 100vh; padding-left: 238px; overflow-x: hidden; transition: padding-left .22s ease; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 238px;
  padding: 21px 15px 17px;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.72);
  background:
    radial-gradient(circle at 10% 4%, rgba(39, 151, 111, .14), transparent 25%),
    var(--sidebar);
  transition: width .22s ease, transform .22s ease;
}
.sidebar__brand { min-height: 46px; padding: 0 5px; margin-bottom: 22px; overflow: hidden; white-space: nowrap; }
.sidebar__nav { flex: 1; overflow-y: auto; scrollbar-width: thin; }
.nav-group-title { display: block; margin: 20px 13px 8px; color: rgba(255,255,255,.38); font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
.nav-item {
  position: relative;
  min-height: 43px;
  padding: 0 12px;
  margin: 3px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  white-space: nowrap;
  font-size: 14px;
  transition: background .16s, color .16s;
}
.nav-item > span { width: 19px; text-align: center; font-size: 16px; }
.nav-item b { font-weight: 500; }
.nav-item i { margin-left: auto; font-style: normal; color: rgba(255,255,255,.35); }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.active { color: #fff; background: rgba(48, 172, 128, .14); }
.nav-item.active::before { content: ""; position: absolute; left: 0; width: 3px; height: 19px; border-radius: 0 3px 3px 0; background: #37bb8c; }
.sidebar__support { min-height: 62px; padding: 11px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); overflow: hidden; white-space: nowrap; }
.sidebar__support > span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #70d1ae; background: rgba(56,186,140,.13); }
.sidebar__support div { display: flex; flex-direction: column; gap: 4px; }
.sidebar__support strong { color: #dbe8e3; font-size: 12px; }
.sidebar__support small { color: rgba(255,255,255,.48); font-size: 10px; }
.sidebar__support > i { margin-left: auto; font-style: normal; }
.app-main { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 68px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(228,233,230,.9);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(15px);
}
.topbar__left, .topbar__right { display: flex; align-items: center; }
.topbar__left { gap: 18px; }
.sidebar-toggle { font-size: 18px; }
.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.breadcrumb i { font-style: normal; color: #bcc5c1; }
.breadcrumb strong { color: #3b4944; }
.topbar__right { gap: 13px; }
.service-status { padding: 7px 11px; display: flex; align-items: center; gap: 8px; border-radius: 20px; color: var(--brand); background: #f0f8f4; font-size: 11px; }
.service-status i { width: 6px; height: 6px; border-radius: 50%; background: #24a978; box-shadow: 0 0 0 4px rgba(36,169,120,.12); }
.notification-button { position: relative; color: #52615c; font-size: 20px; }
.notification-button b { position: absolute; top: 4px; right: 3px; min-width: 15px; height: 15px; padding: 0 4px; border: 2px solid #fff; border-radius: 8px; color: #fff; background: var(--danger); font-size: 7px; line-height: 11px; }
.user-menu { position: relative; padding-left: 13px; display: flex; align-items: center; gap: 9px; border-left: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(145deg,#2ba579,#146d51); font-size: 12px; font-weight: 600; }
.user-menu__info { display: flex; flex-direction: column; gap: 3px; }
.user-menu__info strong { font-size: 13px; }
.user-menu__info small { color: var(--muted); font-size: 10px; }
.user-menu__toggle { width: 28px; height: 28px; }
.account-popover { position: absolute; top: 47px; right: 0; width: 190px; padding: 14px; display: none; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-raised); }
.account-popover.is-open { display: block; }
.account-popover small { color: var(--muted); font-size: 9px; }
.account-popover form { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.account-popover button { width: 100%; padding: 7px; border: 0; border-radius: 6px; color: var(--danger); background: #fff5f5; cursor: pointer; font-size: 10px; }

.dashboard { flex: 1; width: 100%; max-width: 1540px; margin: auto; padding: 26px 28px 31px; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.page-title h1 { margin: 8px 0 7px; font-size: 25px; letter-spacing: -.04em; }
.page-title p { margin: 0; color: var(--muted); font-size: 13px; }
.page-title__actions { display: flex; gap: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.metric-card {
  min-height: 125px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: left;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.metric-card:hover { transform: translateY(-2px); border-color: #d4dfda; box-shadow: 0 10px 25px rgba(23,43,35,.07); }
.metric-card__content { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.metric-card__content > small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.metric-card__content > strong { margin: 10px 0 7px; font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.metric-card__content > strong i { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 400; }
.metric-card__content > b { margin-bottom: 8px; padding: 4px 7px; border-radius: 5px; font-size: 10px; }
.metric-card__content > em { grid-column: 1 / -1; color: #87938e; font-size: 10px; font-style: normal; }
.trend-up, .status-good { color: var(--brand); background: var(--brand-pale); }
.status-warning { color: #b66d10; background: #fff2df; }
.surface { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.dashboard-grid { margin-top: 16px; display: grid; grid-template-columns: 1.55fr .8fr; gap: 16px; }
.trend-panel, .task-panel, .pond-panel { padding: 21px; }
.surface__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.surface__header h2 { margin: 0 0 5px; font-size: 17px; }
.surface__header p { margin: 0; color: var(--muted); font-size: 11px; }
.surface__header > a { color: var(--brand); font-size: 11px; font-weight: 600; }
.segmented { padding: 3px; display: flex; border-radius: 7px; background: #f1f4f2; }
.segmented button { min-height: 30px; padding: 0 10px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }
.segmented button.active { color: var(--brand); background: #fff; box-shadow: 0 2px 6px rgba(25,50,40,.07); font-weight: 600; }
.chart-legend { margin: 21px 0 5px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.chart-legend span i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--brand); }
.chart-legend strong { font-weight: 400; }
.chart-legend strong b { color: var(--brand-dark); font-size: 12px; }
.chart { position: relative; height: 225px; padding: 8px 7px 23px 31px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart svg .area { fill: url(#dashFill); }
.chart svg .line { vector-effect: non-scaling-stroke; }
.points circle { fill: #fff; stroke: var(--brand); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.chart__labels { position: absolute; top: 2px; bottom: 27px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #8d9893; font-size: 9px; }
.chart__dates { position: absolute; left: 31px; right: 7px; bottom: 0; display: flex; justify-content: space-between; color: #8d9893; font-size: 9px; }
.progress-ring-row { margin: 25px 0 18px; padding: 13px; display: flex; align-items: center; gap: 13px; border-radius: 10px; background: #f6f9f7; }
.progress-ring { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand) 68%, #dfe9e4 0); }
.progress-ring::before { content: ""; grid-area: 1/1; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.progress-ring span { z-index: 1; grid-area: 1/1; font-size: 14px; font-weight: 700; }
.progress-ring span small { font-size: 7px; }
.progress-ring-row > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.progress-ring-row strong { font-size: 12px; }
.progress-ring-row small { color: var(--muted); font-size: 10px; }
.task-list { margin: 0; padding: 0; list-style: none; }
.task-list li { min-height: 62px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #edf0ee; }
.task-check { flex: 0 0 18px; width: 18px; height: 18px; padding: 0; border: 1px solid #ccd6d1; border-radius: 5px; background: #fff; cursor: pointer; font-size: 9px; }
.task-check.done { color: #fff; border-color: var(--brand); background: var(--brand); }
.task-list li > span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.task-list strong { font-size: 12px; }
.task-list small { color: var(--muted); font-size: 10px; }
.task-list em { padding: 4px 7px; border-radius: 5px; color: var(--muted); background: #f1f4f2; font-size: 9px; font-style: normal; }
.task-list em.urgent { color: var(--danger); background: #fdeeee; }
.pond-panel { margin-top: 16px; }
.pond-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin-top: 13px; }
.pond-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 12px; }
.pond-table th { height: 42px; color: var(--muted); background: #f6f8f6; text-align: left; font-weight: 500; }
.pond-table th:first-child { padding-left: 13px; border-radius: 7px 0 0 7px; }
.pond-table th:last-child { border-radius: 0 7px 7px 0; }
.pond-table td { height: 58px; border-bottom: 1px solid #edf0ee; color: #58655f; }
.pond-table tbody tr:last-child td { border: 0; }
.pond-table td:first-child { padding-left: 11px; color: var(--ink); }
.pond-icon { width: 28px; height: 28px; margin-right: 9px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--brand); background: var(--brand-pale); font-size: 14px; vertical-align: middle; }
.pond-table a { color: var(--brand); font-weight: 600; }
.low-value { color: var(--danger); }
.status-tag { padding: 5px 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; }
.status-tag i { width: 5px; height: 5px; border-radius: 50%; }
.status-tag--success { color: var(--brand); background: var(--brand-pale); }
.status-tag--success i { background: var(--brand); }
.status-tag--warning { color: #ac6915; background: #fff1df; }
.status-tag--warning i { background: var(--warning); }
.app-footer { min-height: 52px; padding: 16px 28px; display: flex; justify-content: center; gap: 22px; border-top: 1px solid var(--line); color: #7e8a85; background: #fff; font-size: 10px; }
.sidebar-scrim { display: none; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; padding: 11px 16px; border-radius: 9px; color: #fff; background: #183b2e; box-shadow: var(--shadow-raised); opacity: 0; transform: translateY(10px); pointer-events: none; font-size: 11px; transition: .2s ease; }
.toast.is-open { opacity: 1; transform: translateY(0); }

/* Platform administration */
.admin-page {
  --brand: #b52f35;
  --brand-dark: #7f1f27;
  --brand-pale: #fbeaec;
  --sidebar: #3e1519;
}
.admin-sidebar {
  background:
    radial-gradient(circle at 10% 4%, rgba(225, 75, 73, .16), transparent 25%),
    var(--sidebar);
}
.admin-brand-mark, .admin-avatar {
  background: linear-gradient(145deg, #df4e4b, #9b252d);
  box-shadow: 0 7px 20px rgba(108, 20, 29, .25);
}
.admin-brand-mark { font-size: 15px; }
.admin-content { padding-bottom: 40px; }
.admin-metric-grid .metric-card { color: inherit; }
.admin-icon-red {
  color: var(--brand);
  background: var(--brand-pale);
}
.admin-chip {
  color: var(--brand);
  background: var(--brand-pale);
}
.admin-dashboard-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 18px;
}
.admin-recent-panel, .admin-audit-panel, .admin-table-panel,
.admin-settings-card, .admin-side-card { padding: 22px; }
.admin-list { margin-top: 16px; }
.admin-list-item {
  min-height: 68px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: 42px 1fr auto 18px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0ee;
  transition: background .16s;
}
.admin-list-item:hover { background: #fff9f9; }
.admin-list-item > span:nth-child(2), .table-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-list-item strong, .table-primary strong { font-size: 12px; }
.admin-list-item small, .table-primary small { color: var(--muted); font-size: 10px; }
.admin-list-item > b { color: #a6b0ac; font-size: 17px; }
.merchant-logo {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 14px;
  font-weight: 700;
}
.merchant-logo--small {
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border-radius: 9px;
  vertical-align: middle;
}
.admin-empty {
  min-height: 270px;
  padding: 35px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.admin-empty > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 17px;
  font-weight: 700;
}
.admin-empty h3 { margin: 16px 0 7px; font-size: 16px; }
.admin-empty p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.admin-empty--compact { min-height: 170px; }
.audit-timeline { margin: 19px 0 0; padding: 0; list-style: none; }
.audit-timeline li {
  position: relative;
  min-height: 57px;
  padding-left: 23px;
  display: flex;
  align-items: flex-start;
}
.audit-timeline li::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: -4px;
  left: 5px;
  width: 1px;
  background: #e5eae7;
}
.audit-timeline li:last-child::before { display: none; }
.audit-timeline li > i {
  position: absolute;
  top: 5px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--brand-pale);
  border-radius: 50%;
  background: var(--brand);
}
.audit-timeline li > span { display: flex; flex-direction: column; gap: 5px; }
.audit-timeline strong { font-size: 11px; font-weight: 600; }
.audit-timeline small { color: var(--muted); font-size: 9px; }
.audit-timeline--compact li { min-height: 62px; }
.admin-modal-backdrop { z-index: 110; }
.admin-form-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 30px;
  overflow-y: auto;
}
.admin-dialog-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.admin-dialog-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #df4e4b, #9b252d);
  font-weight: 700;
}
.admin-dialog-heading h2 { margin: 0 0 5px; font-size: 19px; }
.admin-dialog-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-form { margin-top: 17px; }
.form-section-title {
  margin: 21px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: #3c4944;
  font-size: 12px;
  font-weight: 700;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > span { font-size: 11px; font-weight: 600; }
.form-field > span small, .form-field > small { color: var(--muted); font-size: 9px; font-weight: 400; }
.form-field input, .admin-search input, .admin-filter-bar select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dce4e0;
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: #fbfcfb;
  font-size: 12px;
}
.form-field input:focus, .admin-search:focus-within, .admin-filter-bar select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(181, 47, 53, .09);
}
.form-field input:disabled { color: #7f8b86; background: #f0f3f1; cursor: not-allowed; }
.permission-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.permission-option {
  min-height: 65px;
  padding: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.permission-option:has(input:checked) { border-color: #e4b7ba; background: #fff8f8; }
.permission-option input { margin-top: 3px; accent-color: var(--brand); }
.permission-option > span { display: flex; flex-direction: column; gap: 4px; }
.permission-option strong { font-size: 14px; }
.permission-option small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.module-permission-list { display: flex; flex-direction: column; gap: 13px; }
.module-permission-group {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcfb;
}
.module-permission-heading {
  margin-bottom: 13px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}
.module-permission-heading > div { display: flex; flex-direction: column; gap: 4px; }
.module-permission-heading strong { font-size: 15px; }
.module-permission-heading small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.module-permission-heading em {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand);
  background: #fff0f0;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.module-permission-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #df4e4b, #9b252d);
  font-size: 16px;
  font-weight: 700;
}
.module-permission-group.is-planned { opacity: .68; }
.module-permission-group.is-planned .module-permission-heading { margin-bottom: 0; }
.module-permission-group.is-planned .module-permission-icon { background: #7c8883; }
.module-permission-group.is-planned .module-permission-heading em {
  color: #6c7873;
  background: #edf1ef;
}
.admin-form-actions {
  margin-top: 21px;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
}
.page-message {
  min-height: 42px;
  padding: 10px 13px;
  margin: -5px 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cfe4da;
  border-radius: 9px;
  color: var(--brand-dark);
  background: #f0f8f4;
  font-size: 11px;
}
.page-message > span { font-weight: 700; }
.page-message--error { color: #a53d3d; border-color: #f0d0d0; background: #fff4f4; }
.admin-filter-bar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.admin-search {
  width: min(360px, 100%);
  height: 42px;
  padding-left: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce4e0;
  border-radius: 9px;
  background: #fbfcfb;
}
.admin-search input { height: 38px; padding-left: 0; border: 0; box-shadow: none !important; }
.admin-filter-bar select { width: 130px; }
.admin-total { margin-left: auto; color: var(--muted); font-size: 11px; }
.text-action { color: var(--brand); font-size: 10px; }
.admin-merchant-table { min-width: 980px; }
.admin-merchant-table td:first-child { white-space: nowrap; }
.status-tag--neutral { color: #6f7c77; background: #eff2f0; }
.status-tag--neutral i { background: #8d9893; }
.admin-pagination {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.admin-pagination a { color: var(--brand); font-weight: 600; }
.back-link { display: inline-block; margin-bottom: 8px; color: var(--brand); font-size: 11px; }
.button--danger-outline { color: var(--danger); border-color: #e9c6c6; background: #fff; }
.button--danger-outline:hover { background: #fff4f4; border-color: var(--danger); }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.admin-detail-main, .admin-detail-side { display: flex; flex-direction: column; gap: 18px; }
.permission-count { color: var(--brand); font-size: 10px; font-weight: 600; }
.permission-options--detail { margin-top: 17px; }
.module-empty-state {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.module-empty-state__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--brand);
  background: var(--brand-pale);
  font-size: 28px;
}
.module-empty-state h1 { margin: 20px 0 8px; font-size: 24px; }
.module-empty-state p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; }
.switch-field {
  min-height: 60px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.switch-field > input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #cfd8d4;
  transition: background .16s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20,40,32,.18);
  transition: transform .16s;
}
.switch-field > input:checked + .switch { background: var(--brand); }
.switch-field > input:checked + .switch::after { transform: translateX(16px); }
.switch-field > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.switch-field strong { font-size: 11px; }
.switch-field small { color: var(--muted); font-size: 9px; }
.admin-side-card h2 { margin: 0 0 8px; font-size: 15px; }
.admin-side-card > p, .muted-text { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.merchant-summary { margin: 8px 0 0; }
.merchant-summary > div {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0ee;
}
.merchant-summary dt { color: var(--muted); font-size: 10px; }
.merchant-summary dd { margin: 0; text-align: right; font-size: 10px; font-weight: 600; }

.app-shell.sidebar-collapsed { padding-left: 76px; }
.app-shell.sidebar-collapsed .sidebar { width: 76px; }
.app-shell.sidebar-collapsed .sidebar__brand { padding-left: 2px; }
.app-shell.sidebar-collapsed .brand__text,
.app-shell.sidebar-collapsed .nav-group-title,
.app-shell.sidebar-collapsed .nav-item b,
.app-shell.sidebar-collapsed .nav-item i,
.app-shell.sidebar-collapsed .sidebar__support div,
.app-shell.sidebar-collapsed .sidebar__support > i { display: none; }
.app-shell.sidebar-collapsed .nav-item { justify-content: center; padding: 0; }
.app-shell.sidebar-collapsed .sidebar__support { justify-content: center; padding: 0; border-color: transparent; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 35px; }
  .workspace-preview { transform: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .task-panel { min-height: auto; }
  .admin-dashboard-grid, .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-side { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .public-nav { display: none; }
  .hero { padding-top: 55px; grid-template-columns: 1fr; }
  .hero__content { max-width: 650px; }
  .workspace-preview { width: min(100%, 690px); margin: auto; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card p { min-height: auto; }
  .dark-feature { margin-left: 24px; margin-right: 24px; grid-template-columns: 1fr; gap: 25px; }
  .security-strip { margin-left: 24px; margin-right: 24px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .app-shell { padding-left: 0; }
  .sidebar { width: 238px; transform: translateX(-100%); box-shadow: 16px 0 38px rgba(9,28,20,.2); }
  .app-shell.mobile-nav-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 35; width: 100%; height: 100%; border: 0; background: rgba(8,25,18,.46); }
  .app-shell.mobile-nav-open .sidebar-scrim { display: block; }
  .app-shell.sidebar-collapsed { padding-left: 0; }
  .app-shell.sidebar-collapsed .sidebar { width: 238px; }
  .app-shell.sidebar-collapsed .brand__text { display: flex; }
  .app-shell.sidebar-collapsed .nav-group-title { display: block; }
  .app-shell.sidebar-collapsed .nav-item b, .app-shell.sidebar-collapsed .nav-item i { display: initial; }
  .app-shell.sidebar-collapsed .nav-item { justify-content: flex-start; padding: 0 12px; }
  .app-shell.sidebar-collapsed .sidebar__support { justify-content: flex-start; padding: 11px; border-color: rgba(255,255,255,.08); }
  .app-shell.sidebar-collapsed .sidebar__support div, .app-shell.sidebar-collapsed .sidebar__support > i { display: flex; }
  .topbar { padding: 0 14px; }
  .service-status, .user-menu__info { display: none; }
  .dashboard { padding: 21px 16px 25px; }
  .page-title { align-items: flex-start; flex-direction: column; }
  .page-title__actions { width: 100%; }
  .page-title__actions .button { flex: 1; }
  .app-footer { flex-wrap: wrap; }
  .admin-filter-bar { align-items: stretch; flex-wrap: wrap; }
  .admin-search { width: 100%; }
  .admin-filter-bar select { flex: 1; }
  .admin-total { width: 100%; margin-left: 0; }
  .admin-detail-side { display: flex; }
}
@media (max-width: 560px) {
  .public-header { height: 68px; padding: 0 16px; }
  .public-header .brand__mark { width: 36px; height: 36px; flex-basis: 36px; }
  .public-header .brand small { display: none; }
  .public-header .button { padding: 0 12px; }
  .hero { min-height: auto; padding: 54px 18px 65px; }
  .hero h1 { font-size: 40px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .hero__actions .text-link { text-align: center; }
  .hero__trust { margin-top: 34px; gap: 11px; flex-direction: column; }
  .workspace-preview { min-height: 300px; }
  .preview__body { min-height: 275px; grid-template-columns: 38px 1fr; }
  .preview__body aside { gap: 14px; }
  .preview__content { padding: 15px 12px; }
  .preview__metrics { gap: 5px; }
  .preview__metrics > div { min-height: 70px; padding: 8px; }
  .preview__metrics strong { font-size: 15px; }
  .preview__chart { height: 130px; padding: 10px; }
  .preview__chart svg { height: 75px; }
  .floating-alert { right: 8px; bottom: -22px; width: 215px; }
  .section { padding: 80px 18px; }
  .section-heading h2 { font-size: 25px; }
  .dark-feature { padding: 39px 25px; margin: 0 18px 65px; }
  .dark-feature h2 { font-size: 26px; }
  .security-strip { margin: 0 18px 65px; align-items: flex-start; flex-wrap: wrap; }
  .security-strip .button { width: 100%; margin-top: 18px; }
  .public-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .login-dialog { padding: 28px 22px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 112px; }
  .surface__header { align-items: flex-start; }
  .trend-panel, .task-panel, .pond-panel { padding: 17px; }
  .segmented { max-width: 145px; flex-wrap: wrap; }
  .segmented button { padding: 0 7px; }
  .chart { height: 190px; }
  .page-title__actions { flex-direction: column; }
  .admin-form-dialog { padding: 25px 18px; }
  .form-grid, .permission-options { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .admin-list-item { grid-template-columns: 38px 1fr auto; }
  .admin-list-item > em { display: none; }
  .admin-list-item > b { display: none; }
  .admin-settings-card, .admin-side-card, .admin-table-panel { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
