:root {
  /* Primitive values */
  --forest-900: #193f35;
  --forest-700: #2f6552;
  --sand-50: #faf8f3;
  --sand-100: #f0ede5;
  --stone-600: #626b63;
  --ochre-600: #8a7041;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-24: 96px;
  --font-sans: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-editorial:
    'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, 'Songti SC', SimSun, serif;
  /* Semantic aliases */
  --green: var(--forest-900);
  --primary: var(--forest-700);
  --gold: var(--ochre-600);
  --cream: var(--sand-50);
  --ink: #253c32;
  --muted: var(--stone-600);
  --line: #dcded4;
  --white: #fff;
  --radius: 4px;
  --section-space: var(--space-24);
  /* Component aliases */
  --button-radius: var(--radius);
  --hero-card-background: var(--cream);
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  line-height: 1.65;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(36px, 4vw, 60px);
}
h2 {
  font-size: clamp(30px, 3vw, 44px);
  white-space: pre-line;
  font-weight: 650;
}
h3 {
  font-size: 22px;
  font-weight: 650;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.container {
  width: min(1200px, calc(100% - 80px));
  margin: auto;
}
.narrow {
  max-width: 820px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: white;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.site-header {
  background: #fffefb;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e6e9e1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
  width: min(1360px, calc(100% - 64px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 142px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  width: 47px;
  height: 47px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--green);
  background: #f7f4e9;
  font-family: serif;
}
.brand strong {
  font-size: 15px;
  display: block;
  line-height: 1.35;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-top: 5px;
  color: #8d784d;
}
.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-header nav a {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.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;
}
.language {
  font-size: 13px;
  white-space: nowrap;
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.language-current-flag {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
}
.language-select {
  appearance: auto;
  max-width: 176px;
  min-height: 36px;
  padding: 5px 26px 5px 7px;
  border: 1px solid #ffffff55;
  border-radius: 6px;
  background: #ffffff12;
  color: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}
.language-select:focus-visible {
  outline: 2px solid #d3b777;
  outline-offset: 2px;
}
.language-select option {
  background: #193f35;
  color: #fff;
}
.language-code {
  font-size: 10px;
  letter-spacing: 0.04em;
}
.button {
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  color: white;
  background: var(--green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: var(--primary);
  transform: translateY(-1px);
}
.button.small {
  padding: 11px 17px;
  font-size: 13px;
}
.button.gold {
  background: #d3b777;
  color: #1f3529;
}
.button.ghost {
  border-color: #ffffff60;
  background: #ffffff0c;
}
.button.outline {
  border-color: #b7c7be;
  background: transparent;
  color: var(--green);
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--green);
}
.public-site :is(h1, h2, h3) {
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.public-site {
  overflow-wrap: break-word;
}
.public-site .button {
  border-radius: var(--button-radius);
  padding: 15px 23px;
}
.public-site .button:active {
  transform: translateY(0);
}
.public-site .button.outline:hover {
  background: var(--sand-100);
}
.public-site .brand strong {
  font-weight: 600;
}
.public-site .site-footer h3 {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero {
  position: relative;
  background: var(--cream);
  color: var(--green);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
}
.hero-copy,
.hero-visual {
  min-width: 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow.light {
  color: #dfca9a;
}
.hero .eyebrow {
  max-width: 440px;
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 1.7px;
}
.hero .eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}
.hero h1 {
  white-space: pre-line;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.08;
  margin: 0 0 28px;
}
.hero .lead {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.hero .button-row {
  margin-top: 32px;
  gap: 12px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
  max-width: 490px;
}
.hero-tags span {
  font-size: 11px;
  color: var(--muted);
}
.hero-tags span::before {
  content: '·';
  color: var(--gold);
  margin-right: 8px;
}
.hero-visual {
  position: relative;
  padding-bottom: 60px;
}
.hero-image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center;
  border-radius: 47% 47% 4px 4px;
}
.hero-card {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: -24px;
  background: var(--hero-card-background);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}
.hero-emblem {
  color: var(--gold);
  font-size: 34px;
  line-height: 1.1;
}
.hero-card h2 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.hero-card p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 0;
}
.hero-card-points {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 3px;
}
.hero-card-line {
  font-size: 10px;
  line-height: 1.6;
}
.hero-card-line span {
  display: block;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 4px;
}
.hero-card-line strong {
  font-weight: 500;
}

.network {
  background: var(--sand-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.network .container {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 83px;
}
.network span {
  font-size: 11px;
  color: #8b7953;
  letter-spacing: 1px;
}
.network strong {
  font-size: 14px;
  color: var(--green);
  letter-spacing: 0.6px;
  font-weight: 500;
}
.network .network-arrow {
  margin-left: auto;
  font-size: 28px;
}
.section {
  padding: var(--section-space) 0;
}
.white {
  background: #fffefb;
}
.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading h2 {
  margin-bottom: 18px;
}
.section-heading > p:last-child {
  font-size: 15px;
}
.cards {
  display: grid;
  gap: 22px;
}
.business-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.business-card {
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  background: transparent;
  transition:
    background 0.2s,
    border-color 0.2s;
  position: relative;
}
.business-card:hover {
  background: var(--sand-100);
  border-color: var(--green);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.service-icon {
  font-size: 30px;
  color: var(--green);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.number {
  font-size: 12px;
  color: #a9b2a9;
}
.business-card h3 {
  font-size: 25px;
  line-height: 1.25;
  min-height: 64px;
  margin-bottom: 16px;
}
.business-card p {
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 28px;
}
.round-arrow {
  width: 31px;
  height: 31px;
  border: 1px solid #dde3d9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
}
.service-rows {
  display: grid;
  gap: 96px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  scroll-margin-top: 115px;
}
.service-row:nth-child(even) .service-visual {
  order: 2;
}
.service-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 365px;
  background: var(--sand-100);
}
.service-visual img {
  width: 100%;
  height: 365px;
  object-fit: cover;
}
.image-index {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fffc;
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--green);
}
.service-copy h3 {
  font-size: 40px;
  margin-bottom: 24px;
}
.service-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.85;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.feature-list li {
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.feature-list span {
  color: var(--primary);
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
  padding-bottom: 3px;
  border-bottom: 1px solid #bfa05a7a;
}
.process {
  background: var(--sand-100);
}
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.step-number {
  font-size: 35px;
  color: var(--gold);
  font-weight: 350;
  display: block;
  border-bottom: 1px solid #cfd8cb;
  padding-bottom: 18px;
  margin-bottom: 25px;
}
.steps h3 {
  font-size: 25px;
}
.steps p {
  font-size: 14px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.about-grid > div > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.95;
}
.about-photo {
  position: relative;
  padding-bottom: 28px;
}
.about-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 45% 45% 4px 4px;
}
.photo-caption {
  position: absolute;
  bottom: 0;
  right: -20px;
  background: var(--green);
  color: #f4e9cf;
  padding: 24px 30px;
  font-size: 13px;
  letter-spacing: 1px;
}
.advantages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.advantage {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.advantage > span {
  color: #b69b61;
  font-size: 15px;
  flex-shrink: 0;
}
.advantage h3 {
  font-size: 25px;
}
.advantage p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 0;
}
.heading-row {
  max-width: none;
  display: flex;
  text-align: left;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.heading-row p {
  max-width: 700px;
}
.heading-row > a {
  flex-shrink: 0;
  margin-bottom: 18px;
}
.case-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-card {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: transform 0.2s;
}
.case-card:hover {
  transform: translateY(-4px);
}
.case-photo {
  position: relative;
  background: #dfe8db;
  min-height: 230px;
}
.case-photo img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fffe;
  color: var(--green);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 20px;
}
.case-copy {
  padding: 24px 0;
}
.case-copy h3 {
  font-size: 27px;
}
.case-copy p {
  font-size: 14px;
  line-height: 1.85;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 100px;
}
.faq-item {
  border-bottom: 1px solid #d6ddd3;
  padding: 19px 0;
}
.faq-item:first-child {
  border-top: 1px solid #d6ddd3;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  color: #9b8652;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary span {
  transform: rotate(45deg);
}
.faq-item p {
  font-size: 13px;
  line-height: 1.9;
  margin: 16px 30px 0 0;
}
.contact {
  background: var(--green);
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 85px;
  align-items: start;
}
.contact h2 {
  font-size: 40px;
  margin-top: 25px;
}
.contact-grid > div > p:not(.eyebrow) {
  color: #ccdacf;
  line-height: 1.9;
  font-size: 14px;
}
.contact-meta {
  margin-top: 40px;
  border-top: 1px solid #ffffff24;
  padding-top: 25px;
}
.contact-meta p,
.contact-meta a {
  color: #e2eadd;
  font-size: 14px;
}
.contact-meta a {
  display: block;
  margin-bottom: 10px;
}
.inquiry-form {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
}
.inquiry-form h3 {
  font-size: 23px;
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 19px;
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #dce2d7;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  margin-top: 7px;
  font-size: 14px;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input[type='file'] {
  display: block;
  margin-top: 10px;
  max-width: 100%;
  font-size: 13px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 400;
}
.checkbox input {
  margin-top: 4px;
  accent-color: var(--green);
}
.checkbox a {
  text-decoration: underline;
}
.inquiry-form .button {
  width: 100%;
}
.trap {
  position: absolute;
  left: -9999px;
}
.site-footer {
  background: #103c31;
  color: #e0e9df;
  padding: 65px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
}
.site-footer h3 {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 4px 0 20px;
  color: #e4d3a4;
}
.site-footer p {
  color: #b2c6b7;
  font-size: 12px;
  line-height: 1.9;
}
.site-footer a:not(.brand) {
  display: block;
  font-size: 12px;
  color: #c4d2c5;
  margin-bottom: 12px;
}
.site-footer .brand {
  margin-bottom: 22px;
  white-space: normal;
}
.site-footer .brand-logo {
  width: 178px;
  max-height: 70px;
}
.site-footer .brand strong {
  font-size: 15px;
}
.site-footer .brand-mark {
  background: #ffffff08;
  color: #dfca94;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid #ffffff1c;
  margin-top: 42px;
  padding-top: 25px;
}
.footer-bottom p {
  font-size: 11px;
  margin-bottom: 10px;
}
.footer-bottom .fine {
  font-size: 10px;
  color: #a3b7a8;
}
.floating-support {
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 25;
  box-shadow: 0 8px 25px #103c3138;
  background: #1a6b54;
  color: white;
  border: 1px solid #ffffff45;
  border-radius: 50px;
  padding: 12px 19px;
  font-size: 12px;
}
.floating-support span {
  font-size: 21px;
  vertical-align: middle;
  margin-right: 5px;
}
.consent-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: #fffefa;
  border: 1px solid #d8dfd3;
  box-shadow: 0 5px 30px #102d2520;
  border-radius: 13px;
  padding: 19px;
  z-index: 30;
  width: min(460px, calc(100% - 40px));
}
.consent-banner p {
  font-size: 12px;
  margin-bottom: 12px;
}
.consent-banner a {
  text-decoration: underline;
}
.consent-banner form {
  display: flex;
  gap: 10px;
}
.consent-banner .button {
  padding: 10px 14px;
  font-size: 11px;
}
.article h1 {
  margin-top: 30px;
}
.article .lead {
  font-size: 19px;
}
.article figure {
  margin: 35px 0;
}
.article img,
.article video {
  width: 100%;
  border-radius: 12px;
}
.article figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 10px;
}
.article .preserve {
  font-size: 17px;
  line-height: 1.95;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-page {
  min-height: 400px;
}
.message-page h1 {
  font-size: 40px;
}
.message-page p {
  line-height: 2;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.alert {
  padding: 15px 18px;
  border-radius: 8px;
  background: #edf0e7;
  font-size: 14px;
}
.alert.success {
  background: #e3f0e8;
  color: #14503f;
}
.alert.error {
  background: #fff0ec;
  color: #9c3627;
}
.empty {
  padding: 30px;
  text-align: center;
}
.admin-body {
  background: #f3f5ef;
}
.admin-sidebar {
  width: 248px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--green);
  color: #e2eade;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.admin-sidebar .brand {
  gap: 9px;
}
.admin-sidebar .brand-logo {
  width: 145px;
  max-height: 58px;
}
.admin-sidebar .brand strong {
  font-size: 14px;
}
.admin-sidebar .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 24px;
}
.admin-sidebar nav {
  margin-top: 36px;
  display: grid;
  gap: 8px;
}
.admin-sidebar nav a {
  display: block;
  padding: 11px 13px;
  font-size: 13px;
  border-radius: 5px;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a[aria-current] {
  background: #ffffff16;
}
.admin-dashboard-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.admin-nav-group {
  border-radius: 5px;
}
.admin-nav-group summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
  color: #e2eade;
}
.admin-nav-group summary::-webkit-details-marker {
  display: none;
}
.admin-nav-group summary:hover {
  background: #ffffff0c;
  border-radius: 5px;
}
.admin-nav-group[open] {
  background: #ffffff06;
}
.admin-nav-group[open] summary {
  color: #efdab0;
}
.admin-nav-icon {
  width: 16px;
  text-align: center;
  font-size: 16px;
}
.admin-nav-chevron {
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}
.admin-nav-group[open] .admin-nav-chevron {
  transform: rotate(90deg);
}
.admin-nav-items {
  margin: 0 8px 10px 32px;
  border-left: 1px solid #ffffff24;
  padding-left: 8px;
  display: grid;
  gap: 3px;
}
.admin-sidebar nav a[aria-current] {
  background: #ffffff16;
  color: #fff;
  box-shadow: inset 2px 0 #dec58d;
}
.admin-sidebar :focus-visible {
  outline-color: #dec58d;
}

.preview-link {
  padding: 18px 13px;
  font-size: 12px;
  color: #dcc48d;
}
.admin-user {
  margin-top: auto;
  border-top: 1px solid #ffffff20;
  padding-top: 20px;
}
.admin-user strong,
.admin-user small {
  display: block;
  font-size: 13px;
}
.admin-user small {
  color: #a9c1ad;
  margin: 5px 0 15px;
  font-size: 11px;
}
.admin-user .button {
  color: #e5ecdf;
  border-color: #ffffff50;
}
.admin-main {
  margin-left: 248px;
  padding: 45px;
  max-width: 1450px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.admin-heading h1 {
  font-size: 30px;
  margin: 0;
}
.panel {
  border: 1px solid #e0e5d9;
  background: #fffefa;
  border-radius: 13px;
  padding: 27px;
  margin-bottom: 24px;
}
.panel h2 {
  font-size: 21px;
}
.panel p {
  font-size: 13px;
}
.panel label {
  font-size: 13px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.admin-stats-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-stats .panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-stats strong {
  font-size: 40px;
  color: var(--green);
}
.admin-stats span {
  font-size: 12px;
  color: var(--primary);
}
.login-main {
  width: min(480px, calc(100% - 32px));
  margin: 70px auto;
}
.login-form > a {
  display: block;
  margin-top: 22px;
  font-size: 13px;
}
.login-form .button {
  width: 100%;
}
.toolbar {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.toolbar p {
  font-size: 13px;
  flex: 1;
}
.toolbar label {
  margin: 0;
  min-width: 160px;
}
.toolbar .button {
  align-self: end;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  min-width: 560px;
}
th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  background: #f4f5ee;
}
td,
th {
  padding: 15px 12px;
  border-bottom: 1px solid #e5e9de;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}
td a {
  color: var(--primary);
}
.status {
  padding: 4px 9px;
  background: #eaf0e4;
  font-size: 11px;
  border-radius: 5px;
}
.upload-widget {
  padding: 20px;
  background: #f2f5ed;
  border: 1px dashed #b7c6ae;
  border-radius: 9px;
  margin-top: 20px;
}
.upload-widget label {
  margin-bottom: 8px;
}
.upload-widget input[readonly] {
  font-size: 12px;
}
.rich-editor {
  border: 1px solid #dce3d5;
  background: #fff;
  border-radius: 7px;
}
.rich-editor .ql-toolbar {
  border: 0;
  border-bottom: 1px solid #dce3d5;
}
.rich-editor .ql-container {
  border: 0;
  min-height: 210px;
  font-family: inherit;
  font-size: 15px;
}
.rich-editor .ql-editor {
  min-height: 180px;
}
.rich-editor .fine {
  margin: 0;
  padding: 6px 12px 10px;
}
.case-media {
  margin: 20px 0;
}
.case-media img,
.case-media video {
  width: 100%;
  border-radius: 10px;
}
.block-item,
.integration-item {
  padding: 20px;
  border: 1px solid #dce3d5;
  background: #f8f9f4;
  border-radius: 9px;
  margin-bottom: 18px;
}
.block-item label {
  margin-bottom: 12px;
}
.block-item .toolbar {
  margin-bottom: 12px;
}
.block-title {
  font-size: 12px;
  color: var(--green);
}
.block-controls {
  margin-top: 18px;
}
.block-controls[hidden] {
  display: none;
}
.sticky-save {
  background: #fffefa;
  padding: 17px 22px;
  border: 1px solid #dde4d4;
  border-radius: 10px;
  position: sticky;
  bottom: 15px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px #173c3210;
}
.sticky-save p {
  font-size: 12px;
  margin: 0;
}
.integration-item textarea {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.upload-widget [data-upload-result] {
  overflow-wrap: anywhere;
}
.admin-main textarea {
  font-size: 14px;
}

@media (max-width: 1190px) {
  .site-header nav {
    gap: 15px;
  }
  .header-inner {
    gap: 14px;
  }
  .header-actions {
    gap: 13px;
  }
  .site-header .brand strong {
    font-size: 13px;
  }
  .site-header .brand small {
    font-size: 8px;
  }
  .business-card {
    padding: 23px 20px;
  }
  .business-card h3 {
    font-size: 18px;
  }
  .service-row {
    gap: 40px;
  }
  .contact-grid {
    gap: 45px;
  }
  .admin-main {
    padding: 30px;
  }
}
@media (max-width: 1000px) {
  .hero-grid {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-image {
    height: 520px;
  }
  .hero-card {
    left: 0;
    right: 0;
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .hero-emblem {
    display: none;
  }
  .hero-card h2 {
    font-size: 22px;
  }
  .hero-card-points {
    gap: 10px;
  }

  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    width: calc(100% - 40px);
    min-height: 76px;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px;
    background: #fffefb;
    border-bottom: 1px solid #dce2d5;
    box-shadow: 0 10px 20px #12312412;
    grid-template-columns: 1fr 1fr;
  }
  .site-header nav.open {
    display: grid;
  }
  .header-actions {
    margin-left: auto;
  }
  .business-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .business-card h3 {
    min-height: 0;
  }
  .business-card p {
    min-height: 45px;
  }
  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-cards {
    gap: 16px;
  }
  .case-copy {
    padding: 20px;
  }
  .case-copy h3 {
    font-size: 18px;
  }
  .about-grid {
    gap: 45px;
  }
  .faq-grid {
    gap: 45px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .footer-grid {
    gap: 30px;
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
    max-width: 500px;
  }
  .section {
    padding: 75px 0;
  }
  .admin-sidebar {
    width: 195px;
    padding: 22px 15px;
  }
  .admin-main {
    margin-left: 195px;
    padding: 25px;
  }
  .admin-sidebar .brand strong {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: clamp(42px, 11vw, 60px);
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero .lead {
    font-size: 15px;
  }
  .hero-tags {
    margin-top: 28px;
    padding-top: 20px;
    gap: 8px 16px;
  }
  .hero-tags span {
    font-size: 11px;
  }
  .hero-visual {
    padding-bottom: 52px;
  }
  .hero-image {
    height: 400px;
  }
  .hero-card {
    left: 12px;
    right: 12px;
    padding: 20px;
  }
  .hero-card h2 {
    font-size: 24px;
  }
  .hero-card p {
    font-size: 12px;
  }
  .public-site .button {
    font-size: 13px;
    padding: 14px 18px;
  }
  .public-site .business-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .public-site .business-card {
    padding: 24px 4px;
  }
  .public-site .business-card h3 {
    font-size: 27px;
  }
  .public-site .business-card p,
  .public-site .service-copy > p:not(.eyebrow),
  .public-site .steps p,
  .public-site .advantage p,
  .public-site .case-copy p,
  .public-site .faq-item p {
    font-size: 14px;
  }
  .public-site .section-heading > p:last-child {
    font-size: 14px;
  }
  .public-site .service-copy h3 {
    font-size: 32px;
  }
  .public-site .case-copy {
    padding: 22px 0;
  }
  .public-site .case-copy h3 {
    font-size: 28px;
  }
  .admin-nav-group summary {
    padding: 12px;
  }

  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    width: calc(100% - 28px);
    gap: 10px;
    min-height: 70px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 24px;
  }
  .site-header .brand-logo {
    width: 116px;
    max-height: 46px;
  }
  .site-header .brand {
    gap: 8px;
  }
  .site-header .brand strong {
    font-size: 11px;
    max-width: 160px;
  }
  .site-header .brand small {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .header-actions .button {
    display: none;
  }
  .language-current-flag {
    font-size: 15px;
  }
  .language-select {
    max-width: 112px;
    min-height: 32px;
    padding: 4px 20px 4px 5px;
    font-size: 11px;
  }
  .header-actions {
    gap: 0;
  }
  .menu-toggle {
    padding: 0 0 0 7px;
    font-size: 22px;
  }
  .site-header nav {
    top: 70px;
  }
  .network .container {
    gap: 20px;
    min-height: 70px;
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .network span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .network strong {
    font-size: 11px;
    letter-spacing: 0.3px;
  }
  .network .network-arrow {
    font-size: 22px;
  }
  .section {
    padding: 60px 0;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
  }
  .section-heading > p:last-child {
    font-size: 13px;
  }
  .business-cards {
    gap: 13px;
  }
  .business-card {
    padding: 20px 17px;
  }
  .card-top {
    margin-bottom: 20px;
  }
  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 23px;
    border-radius: 10px;
  }
  .business-card h3 {
    font-size: 17px;
    line-height: 1.4;
  }
  .business-card p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .business-card .number {
    font-size: 10px;
  }
  .service-rows {
    gap: 45px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .service-row:nth-child(even) .service-visual {
    order: 0;
  }
  .service-visual {
    min-height: 250px;
  }
  .service-visual img {
    height: 260px;
  }
  .service-copy h3 {
    font-size: 28px;
  }
  .service-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .feature-list {
    gap: 14px;
    font-size: 12px;
    margin: 22px 0;
  }
  .feature-list li {
    font-size: 12px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .step-number {
    font-size: 28px;
    margin-bottom: 19px;
    padding-bottom: 13px;
  }
  .steps h3 {
    font-size: 17px;
  }
  .steps p {
    font-size: 12px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-photo img {
    height: 330px;
  }
  .photo-caption {
    right: 12px;
    font-size: 11px;
    padding: 19px 23px;
  }
  .about-grid h2 {
    font-size: 30px;
  }
  .about-grid > div > p:not(.eyebrow) {
    font-size: 13px;
  }
  .advantages {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .advantage {
    padding: 22px;
  }
  .advantage h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .advantage p {
    font-size: 12px;
  }
  .heading-row {
    display: block;
  }
  .heading-row > a {
    margin-top: 6px;
  }
  .case-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .case-photo img {
    height: 235px;
  }
  .case-copy {
    padding: 25px;
  }
  .case-copy h3 {
    font-size: 22px;
  }
  .case-copy p {
    font-size: 13px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-grid h2 {
    font-size: 30px;
  }
  .faq-grid > div > p {
    font-size: 13px;
  }
  .faq-item summary {
    font-size: 14px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .contact-meta {
    margin-top: 27px;
  }
  .inquiry-form {
    padding: 25px 20px;
  }
  .inquiry-form h3 {
    font-size: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-bottom p {
    font-size: 10px;
  }
  .floating-support {
    right: 15px;
    bottom: 15px;
    padding: 10px 15px;
    font-size: 11px;
  }
  .consent-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 15px;
  }
  .consent-banner p {
    font-size: 11px;
  }
  .article h1 {
    font-size: 32px;
  }
  .article .lead {
    font-size: 16px;
  }
  .article .preserve {
    font-size: 15px;
  }
  .message-page h1 {
    font-size: 32px;
  }
  .admin-sidebar {
    position: static;
    width: 100%;
    padding: 15px;
  }
  .admin-sidebar .brand {
    margin-bottom: 15px;
  }
  .admin-sidebar nav {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-bottom: 5px;
  }
  .admin-sidebar nav a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }
  .admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    margin-top: 12px;
  }
  .admin-user small {
    margin: 0;
  }
  .admin-user form {
    margin-left: auto;
  }
  .preview-link {
    display: none;
  }
  .admin-main {
    margin: 0;
    padding: 25px 16px;
  }
  .admin-heading h1 {
    font-size: 26px;
  }
  .panel {
    padding: 20px 17px;
  }
  .admin-stats {
    gap: 13px;
  }
  .admin-stats .panel {
    padding: 20px 15px;
  }
  .admin-stats strong {
    font-size: 32px;
  }
  .toolbar {
    align-items: stretch;
    gap: 12px;
  }
  .toolbar label {
    min-width: 120px;
    flex: 1;
  }
  .toolbar p {
    flex-basis: 100%;
  }
  .sticky-save {
    bottom: 10px;
    padding: 14px;
    gap: 15px;
  }
  .sticky-save p {
    font-size: 11px;
  }
  .sticky-save .button {
    flex-shrink: 0;
    padding: 12px 15px;
    font-size: 12px;
  }
  .block-item,
  .integration-item {
    padding: 15px;
  }
  .login-main {
    margin-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* T-004 commerce and consultation */
.site-header {
  background: var(--green);
  border-bottom-color: #4f7565;
}
.site-header .brand strong,
.site-header nav a,
.site-header .language,
.site-header .menu-toggle {
  color: #fff;
}
.site-header .brand small {
  color: #d3b777;
}
.site-header .brand-mark {
  color: #fff;
  background: #2f6552;
  border-color: #d3b777;
}
.site-header .button {
  background: #d3b777;
  color: #1f3529;
}
.site-header .button:hover {
  background: #e3c98d;
}
.page-banner {
  background: var(--green);
  color: #fff;
  padding: 74px 0 80px;
}
.page-banner h1 {
  max-width: 780px;
  margin-bottom: 16px;
  color: #fff;
}
.page-banner p:not(.eyebrow) {
  color: #d9e3dc;
  max-width: 680px;
}
.page-banner .eyebrow {
  color: #d3b777;
}
.shop-preview {
  background: var(--sand-100);
}
.product-cards {
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}
.product-card-copy {
  padding: 24px;
}
.product-card-copy h3 {
  margin-bottom: 10px;
}
.product-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 22px;
}
.product-card-bottom strong {
  color: var(--green);
  font-size: 20px;
}
.product-card-bottom small {
  font-size: 11px;
  font-weight: 500;
}
.product-detail,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 56px;
  align-items: start;
}
.product-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.checkout-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
}
.checkout-panel h2 {
  margin-bottom: 12px;
}
.order-summary {
  position: sticky;
  top: 112px;
}
.preserve-lines {
  white-space: pre-line;
}
.fine-print {
  font-size: 12px;
  color: var(--muted);
}
.empty-state {
  padding: 56px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
}
.service-actions {
  margin-top: 20px;
}
.consult-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 90px #0008;
}
.consult-dialog::backdrop {
  background: #0f2a22cc;
  backdrop-filter: blur(3px);
}
.consult-dialog .inquiry-form {
  padding: 38px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}
.field-error {
  display: block;
  color: #a52828;
  font-size: 12px;
  margin-top: 5px;
}
@media (max-width: 800px) {
  .product-cards,
  .product-detail,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .page-banner {
    padding: 50px 0 56px;
  }
}
.hero {
  background: var(--green);
  color: #fff;
}
.hero .lead,
.hero-tags span {
  color: #d8e2db;
}
.hero .eyebrow {
  color: #dec88e;
}
.hero h1 {
  color: #fff;
}
.hero .button {
  background: #d3b777;
  color: #193f35;
}
.hero .button.outline {
  background: transparent;
  color: #fff;
  border-color: #7e9b8d;
}
.hero .button.outline:hover {
  background: #315547;
}
.hero-tags {
  border-top-color: #527364;
}
.hero-card {
  color: var(--green);
}
html.dialog-open,
html.dialog-open body {
  overflow: hidden;
}
.consult-dialog > .eyebrow {
  margin: 28px 38px 0;
}
@media (max-width: 1000px) {
  .site-header nav {
    background: var(--green);
  }
  .site-header nav a:hover {
    color: #dfca9a;
  }
}
@media (max-width: 700px) {
  .consult-dialog .inquiry-form {
    padding: 26px 20px;
  }
  .consult-dialog > .eyebrow {
    margin-left: 20px;
  }
  .checkout-panel {
    padding: 24px 20px;
  }
  .empty-state {
    padding: 32px 22px;
  }
}

/* 案例编辑：语言横向标签与单一连续正文编辑器 */
.case-language-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dfe6dc;
  margin: -4px -4px 24px;
  padding: 0 4px;
}
.case-language-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 11px 14px;
}
.case-language-tab:hover,
.case-language-tab.active {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
.case-language-panel[hidden] {
  display: none;
}
.case-language-panel > label,
.case-body-field > label {
  display: block;
  margin-bottom: 18px;
}
.case-rich-editor {
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.case-rich-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #dfe6dc;
}
.case-rich-editor .ql-container.ql-snow {
  border: 0;
  min-height: 360px;
}
.case-rich-editor .ql-editor {
  min-height: 330px;
  font-size: 16px;
  line-height: 1.8;
}
.case-rich-editor > .fine {
  border-top: 1px solid #edf1eb;
  margin: 0;
  padding: 10px 14px;
}

/* 适老化、双客服与动态内容增强 */
:root {
  font-size: 17px;
}
body {
  line-height: 1.75;
}
input,
textarea,
select {
  font-size: 16px;
}
.site-header nav a {
  font-size: 15px;
}
.language-select {
  font-size: 14px;
}
.button {
  min-height: 50px;
  font-size: 16px;
}
.public-site .button,
.button-row .button {
  padding: 15px 24px;
}
.eyebrow {
  font-size: 13px;
}
.fine-print,
.field-error {
  font-size: 14px;
}
.footer-bottom p {
  font-size: 13px;
}

.floating-supports {
  position: fixed;
  right: 12px;
  bottom: 22px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.floating-support {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 1px solid #ffffff65;
  border-radius: 50%;
  background: linear-gradient(145deg, #347b64, #193f35);
  color: #fff;
  box-shadow: 0 8px 18px #103c3145;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.floating-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px #103c3155;
}
.floating-support:focus-visible {
  outline: 3px solid #f0d996;
  outline-offset: 3px;
}
.floating-support.support-2 {
  background: linear-gradient(145deg, #ae8c49, #6f5528);
}
.support-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #f0d996;
  color: #193f35;
  font-size: 18px;
  line-height: 1;
}
.support-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.support-arrow {
  display: none;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  border-radius: 12px;
  text-align: center;
}
.service-action-consult {
  background: var(--green);
  color: #fff;
}
.service-action-consult:hover {
  background: var(--primary);
}
.service-action-deposit {
  border-color: #c6a35b;
  background: #fffaf0;
  color: #6c5428;
}
.service-action-deposit:hover {
  background: #f2e4be;
}

.success-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 24px;
  padding: 42px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 90px #0008;
  text-align: center;
}
.success-dialog::backdrop {
  background: #0f2a22cc;
  backdrop-filter: blur(4px);
}
.success-dialog-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dfeedd;
  color: var(--green);
  font-size: 34px;
  font-weight: 700;
}
.success-dialog .eyebrow {
  color: var(--gold);
}
.success-dialog h2 {
  margin-bottom: 14px;
  font-size: 32px;
}
.success-dialog p:not(.eyebrow) {
  margin-bottom: 26px;
  font-size: 17px;
}

.faq-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.faq-page {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-weight: 650;
}
.faq-page:hover,
.faq-page.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.faq-item summary {
  font-size: 17px;
}
.faq-item p {
  font-size: 16px;
}

.nav-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: #c52d2d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.filter-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid #cfd9d0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #fff;
  color: var(--green);
  font-size: 15px;
  font-weight: 650;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.cover-preview {
  width: min(320px, 100%);
  aspect-ratio: 1.4;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  background: #f2f2ee;
}
.admin-body input,
.admin-body textarea,
.admin-body select {
  min-height: 46px;
}
.admin-body table {
  font-size: 15px;
}

@media (max-width: 700px) {
  .site-header nav a {
    font-size: 16px;
  }
  .floating-supports {
    right: 6px;
    bottom: 136px;
    gap: 8px;
  }
  .floating-support {
    width: 52px;
    height: 52px;
  }
  .support-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .service-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .service-action {
    width: 100%;
  }
  .success-dialog {
    padding: 32px 24px;
  }
}

/* 商品与定金媒体展示、正文主内容区 */
.offer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 56px;
  align-items: start;
}
.offer-detail-main {
  min-width: 0;
}
.offer-description {
  max-width: 980px;
  margin-top: 42px;
}
.media-carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.media-carousel-slides {
  min-height: min(62vw, 720px);
  background: #f1f1ec;
}
.media-carousel-slide {
  display: grid;
  min-height: min(62vw, 720px);
  margin: 0;
  place-items: center;
}
.media-carousel-slide[hidden] {
  display: none;
}
.media-carousel-slide img,
.media-carousel-slide video {
  width: 100%;
  height: min(62vw, 720px);
  object-fit: contain;
  background: #f1f1ec;
}
.media-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
}
.media-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd3ca;
}
.media-carousel-dot.active {
  background: var(--green);
  transform: scale(1.25);
}
.media-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.cover-media-manager {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.cover-media-manager > label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.cover-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.cover-media-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafaf6;
}
.cover-media-item img,
.cover-media-item video {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: contain;
  background: #f0f0eb;
}
.cover-media-item > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.cover-media-item code {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-media-item .button {
  width: 100%;
}
.product-card > a > video {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}
@media (max-width: 800px) {
  .offer-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .offer-description {
    margin-top: 28px;
  }
  .media-carousel-slides,
  .media-carousel-slide {
    min-height: min(94vw, 560px);
  }
  .media-carousel-slide img,
  .media-carousel-slide video {
    height: min(94vw, 560px);
  }
}

.admin-nav-group summary:has(.nav-badge) .admin-nav-chevron {
  margin-left: 0;
}
.nav-badge {
  flex-shrink: 0;
}
.admin-sidebar nav .admin-nav-items a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ADR-0015：按栏目、语言整理的网站内容编辑器。 */
.content-editor-layout {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.content-editor-intro {
  margin-bottom: 20px;
}
.content-group-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 20px;
}
.content-group-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.content-group-button:hover,
.content-group-button.active {
  background: #eaf0e6;
  border-color: #d9e3d2;
  color: var(--green);
}
.content-editor [hidden] {
  display: none !important;
}
.content-editor-body {
  min-width: 0;
}
.content-language-tabs {
  margin: 0 0 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.content-language-tabs .case-language-tab {
  white-space: nowrap;
  padding: 10px 12px;
}
.content-editor small[data-group-dirty],
.content-editor small[data-language-dirty] {
  font-size: 10px;
  color: #915418;
  background: #fff1d8;
  border-radius: 4px;
  padding: 2px 4px;
  white-space: nowrap;
}
.content-language-tabs small {
  margin-left: 5px;
}
.content-group-title {
  font-size: 21px;
  margin: 0 0 18px;
}
.content-section {
  padding: 0;
  margin-bottom: 18px;
}
.content-section > summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
}
.content-section-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 4px 22px 22px;
}
.content-section-fields > label {
  display: block;
  margin: 0;
}
.content-section-fields textarea {
  resize: vertical;
}
.content-image-field {
  min-width: 0;
}
.content-image-field > label {
  display: block;
  margin-bottom: 10px;
}
.content-image-field img {
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 280px;
  object-fit: contain;
  object-position: left center;
  background: #f3f5ef;
  border: 1px solid #e0e6d9;
  border-radius: 8px;
}
.content-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.content-upload-button {
  position: relative;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
}
.content-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.content-upload-button:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.content-error {
  border: 1px solid #c88270;
  background: #fff0ec;
  color: #7d2918;
  padding: 12px;
  border-radius: 8px;
}
.content-editor [aria-invalid='true'] {
  border-color: #a54831;
}
.content-save {
  z-index: 5;
  margin-top: 20px;
}
.content-save .button {
  flex-shrink: 0;
}
.content-editor button:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 1000px) {
  .content-editor-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .content-group-nav {
    flex-direction: row;
    overflow-x: auto;
    position: static;
    padding-bottom: 6px;
  }
  .content-group-button {
    flex-shrink: 0;
  }
}
@media (max-width: 520px) {
  .content-section > summary {
    padding: 15px;
  }
  .content-section-fields {
    padding: 0 15px 15px;
  }
  .content-language-tabs .case-language-tab {
    font-size: 13px;
    padding: 10px 8px;
  }
  .content-save {
    gap: 10px;
    padding: 12px;
    bottom: 8px;
  }
  .content-save p {
    font-size: 11px;
  }
}

/* CMS lifecycle controls */
.row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.row-actions form {
  margin: 0;
}
.language-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 150px;
  max-width: 230px;
}
.translation-badge {
  display: inline-flex;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  white-space: nowrap;
  background: #f1f3f2;
  color: #68756c;
}
.translation-badge.complete {
  background: #e5f1e7;
  color: #235c3b;
}
.button.danger {
  color: #a33131;
  border-color: #cc8d8d;
}
.button.danger:not(.outline) {
  background: #a33131;
  color: #fff;
  border-color: #a33131;
}
.cms-confirm {
  border: 1px solid #d7e1d9;
  border-radius: 16px;
  padding: 28px;
  width: min(520px, calc(100vw - 32px));
  color: #243d2c;
  box-shadow: 0 20px 80px #142a2638;
}
.cms-confirm::backdrop {
  background: #10251db3;
}
.cms-confirm h2 {
  margin-top: 0;
  padding-right: 20px;
  font-size: clamp(24px, 3vw, 32px);
}
.cms-confirm p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.cms-confirm .row-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.cms-confirm-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  color: #52685b;
  font-size: 26px;
  padding: 4px 10px;
  cursor: pointer;
}
