:root {
  --ink: #071a3d;
  --muted: #526078;
  --blue: #0768ee;
  --blue-dark: #0553c5;
  --navy: #061e45;
  --orange: #f6a300;
  --line: #dce2ea;
  --soft: #f4f7fb;
  --white: #ffffff;
  --max: 1380px;
  --shadow: 0 22px 60px rgba(7, 26, 61, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.55rem, 5.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
h3 { font-size: 1.35rem; }

.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: stretch; justify-content: center; gap: clamp(18px, 2.3vw, 38px); }
.site-nav a {
  position: relative;
  padding: 31px 0 27px;
  color: #14223c;
  font-weight: 650;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 20px;
  height: 2px;
  background: var(--blue);
  transition: left .2s ease, right .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { left: 0; right: 0; }
.site-nav a.is-active { color: var(--blue); }
.header-tools { display: flex; gap: 16px; padding-left: 24px; border-left: 1px solid var(--line); }
.header-tools a { font-size: .9rem; font-weight: 650; white-space: nowrap; }
.header-tools a:hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--orange); }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(580px, 1.25fr);
  max-width: 1720px;
  margin: 0 auto;
  background: var(--soft);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 86px clamp(44px, 6vw, 112px);
  background: var(--white);
}
.hero-copy h1 { max-width: 720px; margin-bottom: 28px; }
.hero-copy h1 { font-size: clamp(2.55rem, 4.2vw, 4rem); }
.hero-copy > p { max-width: 640px; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.34rem); }
.hero-media { position: relative; overflow: hidden; min-height: 620px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(6, 30, 69, .9);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.hero-caption i { width: 46px; height: 1px; background: var(--orange); }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 28px;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 60px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-proof dt { font-weight: 800; }
.hero-proof dd { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }

.section { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 110px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 600px; margin-bottom: 8px; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 750; }
.text-link:hover { color: var(--blue-dark); }

.service-section { display: grid; grid-template-columns: .68fr 1.32fr; gap: 90px; }
.service-section .section-heading { display: block; margin: 0; }
.service-section .section-heading > p { margin-top: 24px; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 56px 170px 1fr 34px;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding .2s ease;
}
.service-row:hover { color: var(--blue); padding-left: 8px; }
.service-row h3, .service-row p { margin-bottom: 0; }
.service-row p { color: var(--muted); font-size: .94rem; }
.service-number { color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.arrow { justify-self: end; font-size: 1.4rem; }

.solutions-section { max-width: none; width: 100%; padding-left: max(32px, calc((100% - var(--max)) / 2)); padding-right: max(32px, calc((100% - var(--max)) / 2)); background: var(--soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border-top: 3px solid transparent;
  box-shadow: 0 1px 0 rgba(7,26,61,.05);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.solution-card:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: var(--shadow); }
.solution-card h3 { margin: 42px 0 14px; }
.solution-card p { color: var(--muted); }
.solution-card .text-link { margin-top: auto; }
.card-index { color: var(--blue); font-weight: 850; font-size: .82rem; }

.confidence-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.confidence-copy h2 { max-width: 520px; }
.confidence-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.confidence-points > div { padding-top: 22px; border-top: 2px solid var(--line); }
.confidence-points strong { color: var(--orange); font-size: .8rem; }
.confidence-points h3 { margin: 26px 0 12px; }
.confidence-points p { color: var(--muted); font-size: .92rem; }

.page-hero { background: var(--navy); color: var(--white); }
.page-hero > div { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 92px 0 100px; }
.page-hero.compact > div { padding-top: 72px; padding-bottom: 74px; }
.page-hero h1 { max-width: 920px; margin-bottom: 20px; font-size: clamp(2.6rem, 4.8vw, 4.7rem); }
.page-hero p { max-width: 740px; margin-bottom: 0; color: #bdc9da; font-size: 1.08rem; }
.page-layout, .listing-layout {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 86px 0 110px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 86px;
}
.side-nav, .filter-panel { display: flex; flex-direction: column; align-self: start; border-top: 3px solid var(--orange); }
.side-nav-title { padding: 18px 0 12px; color: var(--muted); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.side-nav a, .filter-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.side-nav a:hover, .filter-panel a:hover { color: var(--blue); }
.rich-content { min-width: 0; color: #263650; font-size: 1.04rem; }
.rich-content > :first-child { margin-top: 0; }
.rich-content h1, .rich-content h2, .rich-content h3 { color: var(--ink); margin-top: 1.5em; }
.rich-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.rich-content img { height: auto !important; margin: 34px auto; }
.rich-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich-content th, .rich-content td { padding: 10px 12px; border: 1px solid var(--line); }
.related-block { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-block a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

.listing-layout:has(.news-list), .listing-layout:has(.empty-state) { grid-template-columns: 1fr; }
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 126px;
  gap: 38px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.news-row time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-row h2 { margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.news-row h2 a:hover { color: var(--blue); }
.news-row p { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.read-more { justify-self: end; color: var(--blue); font-weight: 750; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { border: 1px solid var(--line); background: var(--white); }
.product-card > img, .product-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-placeholder { display: grid; place-items: center; color: #7794c2; background: #e8eef7; font-size: 1.8rem; font-weight: 900; letter-spacing: .12em; }
.product-card-copy { padding: 24px; }
.product-card-copy h2 { font-size: 1.28rem; }
.product-card-copy p { color: var(--muted); font-size: .92rem; }
.pagination { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 46px; }
.pagination a { color: var(--blue); font-weight: 750; }
.empty-state { padding: 72px; text-align: center; background: var(--soft); }

.article-page { width: min(920px, calc(100% - 64px)); margin: 0 auto; padding: 100px 0 80px; }
.article-header { padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin-bottom: 22px; font-size: clamp(2.35rem, 4.8vw, 4.5rem); }
.article-meta { display: flex; gap: 28px; color: var(--muted); font-size: .88rem; }
.article-summary { margin: 32px 0 0; color: var(--muted); font-size: 1.15rem; }
.article-body { padding-top: 52px; }
.related-news { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 65px 0 100px; border-top: 1px solid var(--line); }
.related-news h2 { font-size: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid a { min-height: 170px; display: flex; flex-direction: column; padding: 25px; background: var(--soft); }
.related-grid a:hover { color: var(--blue); }
.related-grid span { color: var(--muted); font-size: .78rem; }
.related-grid strong { margin: 24px 0; font-size: 1.07rem; }
.related-grid i { margin-top: auto; font-style: normal; }

.product-detail { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 96px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.product-detail-media img, .product-placeholder.large { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-detail-copy h1 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.product-detail-copy .lead { color: var(--muted); font-size: 1.15rem; }
.product-detail-copy .button { margin-top: 24px; }

.utility-panel { width: min(900px, calc(100% - 64px)); min-height: 360px; margin: 0 auto; padding: 80px 0 110px; }
.utility-panel > div, .search-form { padding: 45px; border-top: 3px solid var(--orange); background: var(--soft); }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 750; }
.search-form input { width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid #b9c4d3; background: var(--white); }
.form-note { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: .85rem; }

.contact-band {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 55px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.contact-band h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.contact-band .eyebrow { margin-bottom: 10px; }
.contact-band > p { margin-bottom: 0; color: var(--muted); }
.site-footer { padding: 76px max(32px, calc((100% - var(--max)) / 2)) 28px; color: var(--white); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .65fr); gap: 66px; }
.footer-brand img { width: 250px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-brand strong { display: block; letter-spacing: .08em; }
.footer-brand p { max-width: 360px; color: #b8c6da; }
.footer-grid h2 { font-size: .95rem; letter-spacing: .04em; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: #c6d1e1; font-size: .91rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; color: #a8b7ca; border-top: 1px solid #425571; font-size: .82rem; }

.admin-body { min-height: 100vh; overflow-x: hidden; background: #f2f5fa; }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  color: #d5e0ef;
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.admin-sidebar__head {
  min-height: 86px;
  padding: 20px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.admin-sidebar__brand { display: inline-flex; align-items: center; }
.admin-sidebar__brand img { width: 174px; height: auto; filter: brightness(0) invert(1); }
.admin-sidebar__close { display: none; }
.admin-side-nav {
  flex: 1;
  min-height: 0;
  padding: 18px 14px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .24) transparent;
}
.admin-side-nav__group + .admin-side-nav__group { margin-top: 20px; }
.admin-side-nav__group h2 {
  margin: 0 10px 7px;
  color: #8193ac;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.admin-side-nav__group a {
  min-height: 42px;
  padding: 8px 12px 8px 9px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  color: #d7e0ed;
  border-left: 3px solid transparent;
  font-size: .88rem;
  font-weight: 700;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.admin-side-nav__group a:hover,
.admin-side-nav__group a:focus-visible { color: var(--white); background: rgba(255, 255, 255, .08); }
.admin-side-nav__group a.is-active {
  color: var(--white);
  background: rgba(7, 104, 238, .28);
  border-left-color: var(--orange);
}
.admin-side-nav__index { color: #7890af; font-size: .67rem; font-weight: 850; letter-spacing: .04em; }
.admin-side-nav__group a.is-active .admin-side-nav__index { color: #ffc457; }
.admin-sidebar__footer { padding: 12px 14px 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.admin-view-site {
  min-height: 42px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d7e0ed;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  font-weight: 700;
}
.admin-view-site:hover { color: var(--white); }
.admin-view-site > span:first-child { color: var(--orange); font-size: 1rem; }
.admin-account { padding: 16px 8px 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.admin-account__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #dce8f7;
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 900;
}
.admin-account__identity { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.admin-account__identity strong { overflow: hidden; color: var(--white); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-account__identity small { margin-top: 4px; color: #8fa1b9; font-size: .66rem; }
.admin-account form { margin: 0; }
.admin-account button, .admin-upload-result button, .admin-media-grid button, .admin-media-table button {
  border: 0;
  padding: 5px 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}
.admin-account button { color: #b9c8da; font-size: .76rem; }
.admin-account button:hover { color: var(--white); }
.admin-workspace { min-width: 0; }
.admin-topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.admin-topbar-inner {
  min-height: 68px;
  padding: 0 clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.admin-sidebar-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.admin-sidebar-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 3px auto; background: var(--ink); }
.admin-topbar__context { min-width: 0; display: flex; align-items: baseline; gap: 14px; }
.admin-topbar__context span { color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .04em; }
.admin-topbar__context strong { overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-topbar__site-link { color: var(--blue); font-size: .8rem; font-weight: 750; white-space: nowrap; }
.admin-topbar__site-link:hover { color: var(--blue-dark); }
.admin-sidebar-backdrop { display: none; }
.admin-shell { width: min(1440px, calc(100% - 64px)); min-width: 0; margin: 0 auto; padding: 42px 0 90px; }
.admin-shell > main, .admin-shell section, .admin-shell article, .admin-editor-main { min-width: 0; }
.admin-page-header {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
}
.admin-page-header > div:first-child { max-width: 780px; }
.admin-page-header h1 { margin-bottom: 12px; font-size: clamp(2.1rem, 3.5vw, 3.2rem); }
.admin-page-header p { max-width: 740px; margin-bottom: 0; color: var(--muted); }
.admin-page-header .eyebrow { margin-bottom: 12px; }
.admin-page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.admin-data-upload {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(420px, 1.15fr);
  gap: 22px 34px;
  align-items: end;
}
.admin-data-upload h2 { margin-bottom: 7px; }
.admin-data-upload p { margin: 0; color: var(--muted); font-size: .88rem; }
.admin-data-upload > form { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 12px; align-items: end; }
.admin-data-upload > small { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }
.admin-data-upload input[type="file"] {
  min-height: 46px;
  padding: 8px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid #bdc8d7;
}
.admin-import-summary { margin-bottom: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-import-summary > div { padding: 18px; background: var(--white); border-top: 3px solid var(--blue); }
.admin-import-summary span { display: block; color: var(--muted); font-size: .76rem; font-weight: 750; }
.admin-import-summary strong { display: block; margin-top: 5px; font-size: 1.45rem; }
.admin-import-errors { margin: 0 0 24px; padding: 0; list-style: none; background: #fff7f7; border: 1px solid #efc4c4; }
.admin-import-errors li { padding: 11px 14px; border-top: 1px solid #f2d7d7; color: #8b2d2d; }
.admin-import-errors li:first-child { border-top: 0; }
.admin-import-preview-table { font-size: .78rem; }
.admin-import-preview-table th,
.admin-import-preview-table td { padding: 9px 10px; white-space: nowrap; }
.admin-import-controls { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin-import-controls form { margin: 0; }
.admin-note { padding: 14px 16px; color: #5a6677; background: #f3f6fa; border-left: 3px solid var(--blue); font-size: .82rem; }
.admin-form-section-note { margin: -10px 0 20px; color: var(--muted); font-size: .82rem; }
.admin-form-grid--values { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
.admin-table--compact th,
.admin-table--compact td { padding: 11px 12px; }
.admin-alert { margin-bottom: 24px; padding: 14px 18px; border-left: 4px solid; background: var(--white); }
.admin-alert--success { color: #176b3a; border-color: #24a65a; }
.admin-alert--error { color: #a12a2a; border-color: #d54444; }
.admin-alert--warning { color: #6e5310; border-color: #d69b15; background: #fffaf0; }
.admin-page-header--dashboard { margin-bottom: 28px; }
.admin-stats { margin-bottom: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-stats article {
  min-height: 128px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 7px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}
.admin-stats span { color: var(--muted); font-size: .84rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.admin-stats strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--ink); font-size: 2.55rem; line-height: 1; }
.admin-stats a { align-self: end; color: var(--blue); font-size: .86rem; font-weight: 750; }
.admin-stats a span { color: inherit; font-size: inherit; letter-spacing: 0; }
.admin-stats small { margin-top: auto; color: var(--muted); }
.admin-overview__heading { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.admin-overview__heading h2 { margin-bottom: 5px; font-size: 1.5rem; }
.admin-overview__heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-module-panel { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.admin-module-panel > header {
  min-height: 82px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.admin-module-panel > header > span { padding-top: 3px; color: var(--orange); font-size: .72rem; font-weight: 900; }
.admin-module-panel h3 { margin: 0 0 3px; font-size: 1.08rem; }
.admin-module-panel header p { margin: 0; color: var(--muted); font-size: .78rem; }
.admin-module-list a {
  min-height: 66px;
  padding: 12px 20px 12px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #e7ebf1;
  transition: background-color .18s ease, color .18s ease;
}
.admin-module-list a:first-child { border-top: 0; }
.admin-module-list a:hover,
.admin-module-list a:focus-visible { color: var(--blue); background: #f6f9fd; }
.admin-module-list a > span:first-child { min-width: 0; display: flex; flex-direction: column; }
.admin-module-list strong { font-size: .9rem; }
.admin-module-list small { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-module-list a > span:last-child { color: var(--blue); font-weight: 850; }
.admin-module-panel--status > header { border-top-color: #8190a4; }
.admin-system-status { margin: 0; }
.admin-system-status > div { min-height: 76px; padding: 14px 20px 14px 64px; border-top: 1px solid #e7ebf1; }
.admin-system-status > div:first-child { border-top: 0; }
.admin-system-status dt { color: var(--ink); font-size: .88rem; font-weight: 800; }
.admin-system-status dd { margin: 3px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-card { min-height: 220px; padding: 30px; background: var(--white); border-top: 3px solid var(--blue); }
a.admin-card { transition: transform .2s ease, box-shadow .2s ease; }
a.admin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.admin-card--muted { border-top-color: #9eabbc; }
.admin-card > span { color: var(--orange); font-weight: 850; }
.admin-card h2 { margin: 28px 0 12px; font-size: 1.45rem; }
.admin-card p { margin-bottom: 0; color: var(--muted); }
.admin-filter {
  margin-bottom: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 240px auto auto;
  gap: 14px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
}
.admin-filter label, .admin-field, .login-form label { display: flex; flex-direction: column; gap: 7px; }
.admin-filter label > span, .admin-field > span, .login-form label > span, .admin-file > span {
  color: #33445d;
  font-size: .82rem;
  font-weight: 750;
}
.admin-filter input, .admin-filter select, .admin-field input, .admin-field select,
.admin-field textarea, .login-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc8d7;
  border-radius: 0;
}
.admin-filter input:focus, .admin-filter select:focus, .admin-field input:focus,
.admin-field select:focus, .admin-field textarea:focus, .login-form input:focus {
  outline: 3px solid rgba(7, 104, 238, .14);
  border-color: var(--blue);
}
.admin-reset { align-self: center; color: var(--muted); font-size: .88rem; text-decoration: underline; }
.admin-filter--members { grid-template-columns: minmax(280px, 1fr) auto auto; }
.admin-filter--vehicle-prices {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.admin-filter__keyword { grid-column: span 2; }
.admin-filter__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.admin-filter__actions .admin-reset { align-self: auto; }
.admin-multiselect { position: relative; min-width: 0; }
.admin-multiselect > summary {
  min-height: 66px;
  padding: 10px 42px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc8d7;
  cursor: pointer;
  list-style: none;
}
.admin-multiselect > summary::-webkit-details-marker { display: none; }
.admin-multiselect > summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  top: 27px;
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid #627087;
  border-block-end: 2px solid #627087;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.admin-multiselect[open] > summary {
  border-color: var(--blue);
  outline: 3px solid rgba(7, 104, 238, .14);
}
.admin-multiselect[open] > summary::after { transform: translateY(4px) rotate(225deg); }
.admin-multiselect__caption {
  overflow: hidden;
  color: #33445d;
  font-size: .72rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-multiselect__value {
  overflow: hidden;
  font-size: .88rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-multiselect__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  inset-inline-start: 0;
  width: max(100%, 280px);
  padding: 12px;
  background: var(--white);
  border: 1px solid #b8c4d3;
  box-shadow: 0 18px 42px rgba(7, 26, 61, .16);
}
.admin-multiselect__tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.admin-filter .admin-multiselect__tools input {
  min-height: 38px;
  padding: 7px 9px;
  font-size: .8rem;
}
.admin-multiselect__tools button {
  padding: 7px 9px;
  color: var(--blue);
  background: #f4f7fb;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 750;
}
.admin-multiselect__options { max-height: 240px; margin-top: 10px; overflow-y: auto; overscroll-behavior: contain; }
.admin-filter .admin-multiselect__option {
  min-height: 36px;
  padding: 7px 5px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  border-top: 1px solid #edf1f6;
  cursor: pointer;
}
.admin-filter .admin-multiselect__option:first-child { border-top: 0; }
.admin-filter .admin-multiselect__option:hover { background: #f5f8fc; }
.admin-filter .admin-multiselect__option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  min-height: 17px;
  height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
}
.admin-multiselect__option span { min-width: 0; overflow-wrap: anywhere; font-size: .82rem; line-height: 1.45; }
.admin-multiselect__empty { margin: 12px 4px 2px; color: var(--muted); font-size: .8rem; }
.admin-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 13px 16px; color: var(--muted); background: #f8fafc; font-size: .76rem; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table td strong { display: block; max-width: 450px; }
.admin-table td small { display: inline-block; margin-top: 4px; color: #24804b; }
.admin-audit-table { min-width: 850px; table-layout: auto; }
.admin-audit-table th:nth-child(1) { width: 68px; }
.admin-audit-table th:nth-child(2) { width: 175px; }
.admin-audit-table th:nth-child(3) { width: 130px; }
.admin-audit-table th:nth-child(4) { width: 85px; }
.admin-audit-table th:nth-child(5) { min-width: 260px; }
.admin-audit-table th:nth-child(6) { width: 100px; }
.admin-audit-table th:nth-child(7) { width: 90px; }
.admin-audit-table th:not(:nth-child(5)),
.admin-audit-table td:not(:nth-child(5)) { white-space: nowrap; }
.admin-login-table { min-width: 1080px; table-layout: auto; }
.admin-login-table th:nth-child(1) { width: 68px; }
.admin-login-table th:nth-child(2) { width: 175px; }
.admin-login-table th:nth-child(3) { width: 150px; }
.admin-login-table th:nth-child(4) { width: 105px; }
.admin-login-table th:nth-child(5) { width: 160px; }
.admin-login-table th:nth-child(6) { width: 145px; }
.admin-login-table th:not(:nth-child(7)),
.admin-login-table td:not(:nth-child(7)) { white-space: nowrap; }
.admin-login-table__agent { min-width: 300px; overflow-wrap: anywhere; }
.admin-vehicle-feedback-table { min-width: 1120px; table-layout: auto; }
.admin-vehicle-feedback-table td:nth-child(4) { min-width: 260px; }
.admin-vehicle-feedback-table td:nth-child(4) small { display: block; margin-top: 4px; color: var(--muted); }
.admin-vehicle-feedback-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); text-decoration: none; }
.admin-vehicle-feedback-link:hover strong,
.admin-vehicle-feedback-link:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.admin-vehicle-feedback-link span { font-size: .8em; }

.vehicle-tax-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: #fff;
}
.vehicle-tax-feedback h2 { margin: 0 0 6px; font-size: 1.05rem; }
.vehicle-tax-feedback p { margin: 0; color: var(--muted); font-size: .84rem; }
.vehicle-tax-feedback form { display: flex; flex: 0 0 auto; gap: 10px; }
.vehicle-tax-feedback button {
  min-width: 96px;
  padding: 11px 16px;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.vehicle-tax-feedback button:first-of-type { background: var(--navy); color: #fff; }
.vehicle-tax-feedback button:hover { border-color: var(--orange); }
.vehicle-tax-feedback button span[aria-hidden] { margin-right: 6px; color: var(--orange); }
.vehicle-tax-feedback__status { margin-top: 10px !important; font-weight: 800; }
.vehicle-tax-feedback__status--success { color: #17683a !important; }
.vehicle-tax-feedback__status--error { color: #a32626 !important; }
.vehicle-tax-selector-form { display: contents; }
.vehicle-tax-calculate-form { display: inline-flex; align-items: center; gap: 14px; }
.vehicle-tax-quota { color: var(--muted); font-size: .8rem; font-weight: 750; }
.vehicle-tax-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.vehicle-tax-query-status { margin-top: 12px !important; font-weight: 750; }
.vehicle-tax-query-status.is-success { color: #17683a; }
.vehicle-tax-query-status.is-error { color: #a32626; }
.admin-query-stat-grid { margin: 0 0 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-query-stat-grid article { padding: 22px; background: var(--white); border-top: 3px solid var(--blue); box-shadow: 0 10px 28px rgba(7, 26, 61, .06); }
.admin-query-stat-grid span { display: block; margin-bottom: 10px; color: var(--muted); font-size: .78rem; }
.admin-query-stat-grid strong { font-size: 2rem; }
.admin-member-quota { margin-top: 24px; }
.admin-member-quota > div:first-child p { color: var(--muted); }
.admin-member-quota__summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 26px; align-items: end; }
.admin-member-quota__summary dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.admin-member-quota__summary dl div { padding: 18px; border-right: 1px solid var(--line); }
.admin-member-quota__summary dl div:last-child { border-right: 0; }
.admin-member-quota__summary dt { color: var(--muted); font-size: .76rem; }
.admin-member-quota__summary dd { margin: 6px 0 0; font-size: 1.5rem; font-weight: 800; }
.admin-member-quota__summary form { display: flex; align-items: end; gap: 10px; }
.member-quota { margin: 0 0 22px; padding: 16px; background: #f2f6fb; border-left: 3px solid var(--orange); }
.member-quota div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.member-quota dt { color: var(--muted); }
.member-quota dd { margin: 0; color: var(--navy); font-weight: 800; }
.member-tools .button + .button { margin-top: 10px; }

@media (max-width: 720px) {
  .vehicle-tax-feedback { align-items: stretch; flex-direction: column; padding: 20px; }
  .vehicle-tax-feedback form { width: 100%; }
  .vehicle-tax-feedback button { flex: 1; min-width: 0; }
  .vehicle-tax-calculate-form { width: 100%; flex-wrap: wrap; }
  .admin-query-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-member-quota__summary { grid-template-columns: 1fr; }
  .admin-member-quota__summary form { align-items: stretch; flex-direction: column; }
}
.admin-table-wrap--vehicle-list {
  max-width: 100%;
  border-top: 3px solid var(--blue);
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}
.admin-table-wrap--vehicle-list:focus-visible { outline: 3px solid rgba(7, 104, 238, .2); outline-offset: 3px; }
.admin-vehicle-list {
  min-width: 1180px;
  table-layout: auto;
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
}
.admin-vehicle-list th,
.admin-vehicle-list td { padding: 10px 11px; }
.admin-vehicle-list thead th { white-space: nowrap; }
.admin-vehicle-list thead th:nth-child(1) { width: 95px; }
.admin-vehicle-list thead th:nth-child(2) { width: 125px; }
.admin-vehicle-list thead th:nth-child(3) { width: 145px; }
.admin-vehicle-list thead th:nth-child(4) { width: 90px; }
.admin-vehicle-list thead th:nth-child(5),
.admin-vehicle-list thead th:nth-child(6) { width: 100px; }
.admin-vehicle-list thead th:nth-child(7) { width: 62px; text-align: center; }
.admin-vehicle-list thead th:nth-child(n+8) { width: 115px; text-align: right; }
.admin-vehicle-list__group-start > * { border-top: 2px solid #aebbd0 !important; }
.admin-vehicle-list__identity { white-space: nowrap; }
.admin-vehicle-list__identity strong { display: inline; }
.admin-vehicle-list__identity small { display: block; margin-top: 3px; color: var(--muted); }
.admin-vehicle-list__identity a { display: inline-block; margin-top: 5px; color: var(--blue); font-weight: 750; }
.admin-vehicle-list td { overflow-wrap: anywhere; }
.admin-vehicle-list td small { display: block; }
.admin-vehicle-list__year { color: var(--ink); text-align: center; white-space: nowrap; font-weight: 800; }
.admin-vehicle-list__number { color: #263750; text-align: right; white-space: nowrap; }
.admin-vehicle-list__number strong { max-width: none; }
.admin-vehicle-list__number small { color: var(--muted); font-size: .68rem; }
.admin-vehicle-list__fta.is-applicable { color: #a75f00; background: #fff9ef; }
.admin-vehicle-list__fta.is-applicable strong { font-weight: 800; }
.admin-vehicle-list__fta.is-applicable small { color: #a75f00; }
.admin-vehicle-list__fta.is-unavailable { color: var(--muted); }
.admin-matrix-pagination { margin-top: 24px; }
.admin-matrix-pagination form { display: flex; align-items: center; justify-content: center; gap: 16px; }
.admin-matrix-pagination span { min-width: 70px; color: var(--muted); text-align: center; font-size: .85rem; }
.admin-matrix-pagination .button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.admin-id { color: var(--muted); font-variant-numeric: tabular-nums; }
.admin-actions { min-width: 110px; text-align: right; }
.admin-actions a { margin-left: 12px; color: var(--blue); font-weight: 750; }
.admin-status { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.admin-status.is-active { color: #176b3a; background: #e9f7ef; }
.admin-status.is-scheduled { color: #075f9d; background: #e7f3fc; }
.admin-status.is-draft { color: #7b5b10; background: #fff4d8; }
.admin-status.is-disabled { color: #8b2d2d; background: #fbecec; }
.admin-preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 24px;
  color: #5e4307;
  background: #fff4d8;
  border-bottom: 1px solid #e3c36c;
  font-size: .86rem;
}
.admin-preview-banner a { color: #075f9d; font-weight: 800; }
.admin-member-form { display: grid; gap: 22px; }
.admin-member-save { width: 100%; }
.admin-empty { padding: 70px 30px; text-align: center; background: var(--white); border: 1px dashed #b8c4d3; }
.admin-empty h2 { font-size: 1.6rem; }
.admin-empty p { margin-bottom: 0; color: var(--muted); }
.admin-editor { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.admin-editor-main, .admin-editor-side { display: flex; flex-direction: column; gap: 22px; }
.admin-editor-side { position: sticky; top: 94px; }
.admin-panel { min-width: 0; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.admin-panel h2 { margin-bottom: 22px; font-size: 1.3rem; }
.admin-section-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.admin-section-heading h2 { margin: 5px 0 0; }
.admin-section-heading p { max-width: 540px; margin: 0; color: var(--muted); font-size: .82rem; text-align: right; }
.admin-table code { color: #33445d; overflow-wrap: anywhere; }
.admin-field input[readonly], .admin-field select[readonly] { color: #65748a; background: #f3f6fa; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-translation-fields { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.admin-translation-fields:disabled { opacity: .58; }
.admin-field--wide { grid-column: 1 / -1; }
.admin-field > span b { color: #b72b2b; font-size: .72rem; }
.admin-field textarea { min-height: 96px; resize: vertical; }
.admin-field .admin-code-editor {
  min-height: 460px;
  padding: 16px;
  color: #18243a;
  background: #fbfcfe;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .9rem;
  line-height: 1.55;
  tab-size: 2;
}
.admin-rich-editor { min-width: 0; }
.admin-rich-editor__mode { display: none; }
.admin-rich-editor__surface { display: none; }
.admin-rich-editor.is-enhanced {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #bdc8d7;
}
.admin-rich-editor.is-enhanced .admin-rich-editor__mode {
  min-height: 44px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border-bottom: 1px solid #d7dfea;
}
.admin-rich-editor__mode button {
  min-height: 32px;
  padding: 6px 11px;
  color: #4c5d73;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
}
.admin-rich-editor__mode button:hover { color: var(--blue); }
.admin-rich-editor__mode button:focus-visible { outline: 3px solid rgba(7, 104, 238, .18); outline-offset: 1px; }
.admin-rich-editor__mode button.is-active { color: var(--blue); border-bottom-color: var(--orange); }
.admin-rich-editor__status { margin-left: auto; color: var(--muted); font-size: .76rem; }
.admin-rich-editor.is-enhanced .admin-rich-editor__surface { display: block; }
.admin-rich-editor.is-enhanced .admin-code-editor { display: none; }
.admin-rich-editor.is-source .admin-rich-editor__surface,
.admin-rich-editor.is-source .ql-toolbar { display: none; }
.admin-rich-editor.is-source .admin-code-editor {
  min-height: 300px;
  display: block;
  border: 0;
}
.admin-rich-editor[data-editor-size="large"].is-source .admin-code-editor { min-height: 460px; }
.admin-rich-editor .ql-toolbar.ql-snow {
  padding: 9px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  background: #fbfcfe;
  border: 0;
  border-bottom: 1px solid #d7dfea;
  font-family: inherit;
}
.admin-rich-editor .ql-toolbar.ql-snow .ql-formats { margin-right: 8px; }
.admin-rich-editor .ql-container.ql-snow { border: 0; font-family: inherit; font-size: 1rem; }
.admin-rich-editor .ql-editor {
  min-height: 300px;
  padding: 20px;
  color: #18243a;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.admin-rich-editor[data-editor-size="large"] .ql-editor { min-height: 460px; }
.admin-rich-editor .ql-editor:focus { box-shadow: inset 0 0 0 3px rgba(7, 104, 238, .12); }
.admin-rich-editor .ql-editor img { max-width: 100%; height: auto; }
.admin-editor-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.field-error { color: #b72b2b; font-size: .78rem; }
.admin-head-picture-upload > label { color: #33445d; font-size: .82rem; font-weight: 750; }
.admin-head-picture-upload__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.admin-head-picture-upload__controls input[type="file"] {
  min-width: 0;
  min-height: 46px;
  padding: 8px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid #bdc8d7;
}
.admin-head-picture-upload__controls .button { min-height: 46px; white-space: nowrap; }
.admin-head-picture-upload__help,
.admin-head-picture-upload__status { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.admin-head-picture-upload__status { min-height: 1.1em; }
.admin-head-picture-upload__status.is-success { color: #176b3a; }
.admin-head-picture-upload__status.is-error { color: #a12a2a; }
.admin-head-picture-upload__preview { margin: 4px 0 0; padding: 10px; background: #f8fafc; border: 1px solid var(--line); }
.admin-head-picture-upload__preview[hidden] { display: none; }
.admin-head-picture-upload__preview img {
  width: 100%;
  max-height: 240px;
  display: block;
  object-fit: contain;
  background: var(--white);
}
.admin-head-picture-upload__preview figcaption { margin-top: 7px; color: var(--muted); font-size: .72rem; }
.admin-check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; }
.admin-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.admin-save { width: 100%; justify-content: center; }
.admin-help { color: var(--muted); font-size: .84rem; }
.admin-details { padding: 0; }
.admin-details summary { padding: 24px 28px; cursor: pointer; font-weight: 800; }
.admin-details[open] summary { border-bottom: 1px solid var(--line); }
.admin-details .admin-form-grid { padding: 28px; }
.admin-upload-panel { margin-bottom: 28px; }
.admin-upload-panel > form { display: flex; align-items: end; gap: 16px; }
.admin-upload-panel > .admin-media-upload-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 260px) auto;
}
.admin-file { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.admin-file > span b { color: #b72b2b; font-size: .72rem; }
.admin-file input { min-height: 48px; padding: 9px; background: #f8fafc; border: 1px solid #bdc8d7; }
.admin-upload-result { margin-top: 20px; padding: 16px; display: flex; align-items: center; gap: 14px; background: #edf8f1; }
.admin-upload-result code { flex: 1; overflow-wrap: anywhere; }
.admin-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-media-grid article { overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.admin-media-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.admin-media-grid article > div { padding: 14px; display: flex; align-items: center; gap: 10px; }
.admin-media-grid code { flex: 1; overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-media-table { min-width: 1080px; font-size: .8rem; }
.admin-media-table th, .admin-media-table td { padding: 11px 12px; }
.admin-media-table td small { display: block; max-width: 250px; overflow-wrap: anywhere; }
.admin-media-table .admin-actions { min-width: 120px; }
.admin-media-table .admin-actions button { margin-left: 8px; }
.admin-media-preview { width: 112px; text-align: center; }
.admin-media-preview img { width: 96px; height: 64px; display: block; object-fit: cover; background: var(--soft); }
.admin-media-preview span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.admin-media-pagination { margin-top: 22px; display: flex; justify-content: center; gap: 18px; }
.admin-media-pagination span { color: var(--muted); font-size: .84rem; }
.admin-feedback-tabs { margin: -8px 0 30px; display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.admin-feedback-tabs a { padding: 13px 2px 11px; color: var(--muted); font-size: .9rem; font-weight: 800; border-bottom: 3px solid transparent; }
.admin-feedback-tabs a:hover, .admin-feedback-tabs a.is-active { color: var(--ink); border-bottom-color: var(--orange); }
.admin-feedback-table { min-width: 1040px; font-size: .8rem; }
.admin-feedback-table th, .admin-feedback-table td { padding: 11px 12px; }
.admin-feedback-table td small { display: block; max-width: 260px; overflow-wrap: anywhere; }
.admin-feedback-table code { display: block; max-width: 230px; }
.admin-feedback-body { min-width: 220px; max-width: 380px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.admin-moderation-form { margin: 0; }
.admin-moderation-form .button { min-height: 36px; padding: 7px 10px; white-space: nowrap; font-size: .74rem; }
.admin-message-detail { display: grid; gap: 30px; }
.admin-message-detail dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.admin-message-detail dl > div { padding: 16px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--line); }
.admin-message-detail dl > div:nth-child(odd) { padding-right: 24px; }
.admin-message-detail dl > div:nth-child(even) { padding-left: 24px; }
.admin-message-detail dt { color: var(--muted); font-size: .8rem; font-weight: 750; }
.admin-message-detail dd { margin: 0; overflow-wrap: anywhere; }
.admin-message-detail section { padding-top: 4px; }
.admin-message-detail section h2 { margin-bottom: 14px; }
.admin-message-body { margin: 0; padding: 22px; color: #263750; background: #f7f9fc; border-left: 3px solid var(--blue); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.login-body { min-height: 100vh; padding: 32px; display: grid; place-items: center; background: var(--soft); }
.login-card { width: min(480px, 100%); padding: 48px; background: var(--white); border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.login-logo { display: inline-block; margin-bottom: 42px; }
.login-logo img { width: 230px; height: auto; }
.login-language { margin: -24px 0 24px; display: flex; gap: 16px; color: var(--muted); font-size: .78rem; }
.login-language a.is-active { color: var(--blue); border-bottom: 2px solid var(--orange); }
.login-card h1 { margin-bottom: 12px; font-size: clamp(2rem, 7vw, 3rem); }
.login-card > p { margin-bottom: 30px; color: var(--muted); }
.login-form { margin-bottom: 24px; display: grid; gap: 18px; }
.login-form .button { margin-top: 4px; justify-content: center; }
.member-body { min-height: 100vh; background: var(--soft); }
.member-topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.member-topbar > div { width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; }
.member-brand img { width: 170px; height: 62px; object-fit: contain; }
.member-language { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: .8rem; }
.member-language a.is-active { color: var(--blue); border-bottom: 2px solid var(--orange); }
.member-account-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .82rem; }
.member-account-actions form { margin: 0; }
.member-account-actions button { padding: 8px 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.member-account-actions button:hover { color: var(--blue); border-color: var(--blue); }
.member-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0 90px; }
.member-page-heading { max-width: 760px; margin-bottom: 38px; }
.member-page-heading h1 { margin: 0 0 14px; font-size: clamp(2.35rem, 5vw, 4.5rem); }
.member-page-heading p { color: var(--muted); }
.member-dashboard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.member-panel { padding: 30px; background: var(--white); border-top: 3px solid var(--blue); box-shadow: 0 14px 38px rgba(7, 26, 61, .07); }
.member-panel > header { min-height: 45px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.member-panel > header h2 { margin: 0; font-size: 1.35rem; }
.member-panel > header span { color: var(--blue); font-size: .76rem; font-weight: 800; }
.member-profile { margin: 0; }
.member-profile > div { min-height: 54px; padding: 13px 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid #edf0f4; }
.member-profile dt { color: var(--muted); font-size: .8rem; }
.member-profile dd { margin: 0; overflow-wrap: anywhere; font-weight: 650; }
.member-password-entry { margin-top: 24px; }
.member-tools p { margin: 24px 0; color: var(--muted); }
.member-tools .button { width: 100%; }
.member-admin-link { margin-top: 20px; display: inline-block; color: var(--blue); font-size: .84rem; font-weight: 700; }
.member-back { margin-top: 34px; display: inline-block; color: var(--blue); font-weight: 700; }
.member-password-panel { width: min(720px, 100%); }
.member-password-form { padding-top: 24px; display: grid; gap: 18px; }
.member-password-form .admin-alert { margin-bottom: 0; }
.member-password-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.member-password-actions .member-back { margin-top: 0; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: var(--soft); }
.error-page main { width: min(720px, 100%); padding: 60px; background: var(--white); border-top: 4px solid var(--orange); box-shadow: var(--shadow); }
.error-page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.error-page p { color: var(--muted); }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 220px auto; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav {
    position: absolute;
    inset: 88px 0 auto;
    display: none;
    padding: 20px 32px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .site-nav a::after { display: none; }
  .header-tools { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 82px max(32px, calc((100% - 900px) / 2)); }
  .hero-media { min-height: 500px; }
  .service-section, .confidence-section { grid-template-columns: 1fr; gap: 50px; }
  .service-section .section-heading { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-editor { grid-template-columns: 1fr; }
  .admin-editor-side { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .admin-form-grid--values { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .admin-filter--vehicle-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .admin-layout { display: block; }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(304px, calc(100% - 48px));
    height: 100dvh;
    min-height: 0;
    transform: translateX(-100%);
    box-shadow: 24px 0 60px rgba(2, 14, 34, .28);
    transition: transform .22s ease;
  }
  .is-admin-sidebar-open .admin-sidebar { transform: translateX(0); }
  .admin-sidebar__close {
    width: 38px;
    height: 38px;
    padding: 9px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    cursor: pointer;
  }
  .admin-sidebar__close span { grid-area: 1 / 1; width: 18px; height: 2px; background: var(--white); }
  .admin-sidebar__close span:first-child { transform: rotate(45deg); }
  .admin-sidebar__close span:last-child { transform: rotate(-45deg); }
  .admin-sidebar-toggle { display: block; flex: 0 0 auto; }
  .admin-topbar-inner { min-height: 64px; padding: 0 18px; justify-content: flex-start; gap: 14px; }
  .admin-topbar__context { flex: 1; }
  .admin-topbar__site-link { margin-left: auto; }
  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: rgba(2, 14, 34, .46);
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }
  .is-admin-sidebar-open { overflow: hidden; }
  .is-admin-sidebar-open .admin-sidebar-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }
  .admin-shell { width: min(100% - 36px, 1440px); padding: 34px 0 74px; }
}

@media (max-width: 780px) {
  .header-inner, .section, .page-hero > div, .page-layout, .listing-layout,
  .article-page, .related-news, .product-detail, .contact-band, .utility-panel {
    width: min(100% - 36px, var(--max));
  }
  .header-inner { min-height: 72px; }
  .brand img { width: 180px; }
  .site-nav { inset-block-start: 72px; }
  .hero-copy { padding: 64px 24px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-media { min-height: 360px; }
  .hero-proof { grid-template-columns: 1fr; gap: 12px; }
  .hero-proof div { display: grid; grid-template-columns: 90px 1fr; }
  .section { padding: 74px 0; }
  .section-heading, .service-section .section-heading { display: block; }
  .section-heading > p, .section-heading > .text-link { display: inline-block; margin-top: 18px; }
  .service-row { grid-template-columns: 42px 1fr 26px; padding: 22px 0; }
  .service-row p { grid-column: 2 / -1; }
  .card-grid, .confidence-points, .related-grid, .admin-grid, .admin-stats, .admin-media-grid,
  .admin-module-grid { grid-template-columns: 1fr; }
  .page-hero > div { padding: 64px 0; }
  .page-layout, .listing-layout { padding: 56px 0 74px; grid-template-columns: 1fr; gap: 42px; }
  .side-nav, .filter-panel { flex-direction: row; overflow-x: auto; border-top-width: 2px; }
  .side-nav-title { display: none; }
  .side-nav a, .filter-panel a { min-width: max-content; padding: 13px 18px 13px 0; margin-right: 18px; }
  .news-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .read-more { justify-self: start; margin-top: 8px; }
  .product-grid, .product-detail { grid-template-columns: 1fr; }
  .article-page { padding-top: 68px; }
  .product-detail { padding: 68px 0; gap: 42px; }
  .search-form { grid-template-columns: 1fr; padding: 28px; }
  .form-note { grid-column: 1; }
  .contact-band { grid-template-columns: 1fr; gap: 22px; padding: 45px 0; }
  .contact-band .button { justify-self: start; }
  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .admin-shell { width: min(100% - 30px, 1440px); padding: 30px 0 70px; }
  .admin-page-header { align-items: flex-start; flex-direction: column; gap: 20px; }
  .admin-page-header h1 { font-size: 2.2rem; }
  .admin-stats article { min-height: 112px; padding: 19px 20px; }
  .admin-stats strong { font-size: 2.2rem; }
  .admin-module-list a, .admin-system-status > div { padding-left: 20px; }
  .admin-filter { grid-template-columns: 1fr; }
  .admin-filter__keyword, .admin-filter__actions { grid-column: auto; }
  .admin-filter__actions { align-items: stretch; flex-direction: column; }
  .admin-filter__actions .button { width: 100%; }
  .admin-multiselect__panel { position: static; width: 100%; margin-top: 7px; box-shadow: none; }
  .admin-filter .button { justify-content: center; }
  .admin-form-grid, .admin-editor-side { grid-template-columns: 1fr; }
  .admin-field--wide { grid-column: auto; }
  .admin-panel { padding: 22px; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-section-heading p { text-align: left; }
  .admin-details .admin-form-grid { padding: 22px; }
  .admin-rich-editor__status { display: none; }
  .admin-rich-editor .ql-toolbar.ql-snow { padding: 8px 6px; }
  .admin-rich-editor .ql-toolbar.ql-snow .ql-formats { margin-right: 2px; }
  .admin-rich-editor .ql-editor { min-height: 260px; padding: 16px; }
  .admin-rich-editor[data-editor-size="large"] .ql-editor { min-height: 380px; }
  .admin-upload-panel > form, .admin-upload-result { align-items: stretch; flex-direction: column; }
  .admin-upload-panel > .admin-media-upload-form { grid-template-columns: 1fr; }
  .admin-feedback-tabs { gap: 18px; overflow-x: auto; }
  .admin-feedback-tabs a { flex: 0 0 auto; }
  .admin-message-detail dl { grid-template-columns: 1fr; }
  .admin-message-detail dl > div:nth-child(n) { padding-left: 0; padding-right: 0; grid-template-columns: 100px minmax(0, 1fr); }
  .admin-head-picture-upload__controls { grid-template-columns: 1fr; }
  .admin-page-actions { width: 100%; justify-content: flex-start; }
  .admin-data-upload { grid-template-columns: 1fr; }
  .admin-data-upload > form { grid-template-columns: 1fr; }
  .admin-data-upload > small { grid-column: auto; }
  .admin-import-summary { grid-template-columns: 1fr; }
  .admin-import-controls { align-items: stretch; flex-direction: column; }
  .admin-import-controls .button { width: 100%; justify-content: center; }
  .login-card { padding: 36px 26px; }
  .member-topbar > div { width: min(100% - 30px, 1180px); min-height: 72px; grid-template-columns: 1fr auto; gap: 12px; }
  .member-brand img { width: 145px; }
  .member-language { grid-column: 1 / -1; grid-row: 2; padding-bottom: 10px; justify-content: flex-start; }
  .member-account-actions > span { display: none; }
  .member-shell { width: min(100% - 30px, 1180px); padding: 48px 0 70px; }
  .member-dashboard { grid-template-columns: 1fr; }
  .member-panel { padding: 22px; }
  .member-profile > div { grid-template-columns: 100px minmax(0, 1fr); }
  .member-password-actions { align-items: stretch; flex-direction: column; }
  .member-password-actions .button { width: 100%; }
  .error-page main { padding: 38px 26px; }
}

@media (max-width: 520px) {
  .admin-topbar__context span { display: none; }
  .admin-topbar__context strong { font-size: .86rem; }
  .admin-topbar__site-link { font-size: .74rem; }
  .admin-module-panel > header { padding: 16px; }
  .admin-module-list a { padding-right: 16px; padding-left: 16px; }
  .admin-system-status > div { padding-right: 16px; padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
