:root {
  --bg: #ffffff;
  --bg-soft: #fbf8ef;
  --bg-warm: #fff3d3;
  --text: #24251f;
  --muted: #707468;
  --line: #ebe3d2;
  --orange: #f39524;
  --orange-deep: #c85e09;
  --nav-yellow: #ffe4a0;
  --yellow-soft: #fff5d7;
  --green: #15a267;
  --green-soft: #e9f8ef;
  --charcoal: #232b24;
  --shadow: 0 28px 70px rgba(71, 54, 26, 0.11);
  --radius: 8px;
  --container: min(1200px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 228, 160, 0.42), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(21, 162, 103, 0.1), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Hiragino Sans GB",
    "Noto Sans SC",
    sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(235, 227, 210, 0.82);
  box-shadow: 0 14px 36px rgba(71, 54, 26, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner,
.admin-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--bg-warm);
  box-shadow: 0 12px 28px rgba(243, 149, 36, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.5);
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-text strong {
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #1e261f;
  font-size: 14px;
  font-weight: 800;
  padding: 0 13px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange-deep);
}

.site-nav .nav-consult {
  background: linear-gradient(135deg, var(--charcoal), #394234);
  color: #fff;
  padding: 0 20px;
  box-shadow: 0 12px 24px rgba(35, 43, 36, 0.16);
}

.site-nav .nav-consult:hover,
.site-nav .nav-consult:focus-visible {
  background: var(--orange-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--charcoal);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 96px;
  min-height: 650px;
  background:
    linear-gradient(115deg, rgba(255, 251, 239, 0.97) 0%, rgba(255, 246, 218, 0.95) 45%, rgba(255, 218, 119, 0.72) 100%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.95), transparent 23%),
    linear-gradient(135deg, #fff5d5 0%, #f5bd45 100%);
  border-bottom: 1px solid rgba(221, 101, 0, 0.12);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.78fr);
  gap: 60px;
  align-items: center;
  min-height: 650px;
  padding: 68px 0 94px;
}

.hero-copy-block {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.06;
}

h2 {
  color: var(--charcoal);
  font-size: clamp(30px, 3.7vw, 48px);
  font-weight: 850;
  line-height: 1.18;
}

h3 {
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: #4f554b;
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 0 22px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 32px rgba(255, 138, 18, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-deep);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--charcoal);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(21, 138, 60, 0.35);
  color: var(--green);
}

.btn-danger {
  min-height: 40px;
  background: #fff4ef;
  border-color: #ffd6c8;
  color: #a63a11;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-note-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #52594f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}

.hero-note-button:hover,
.hero-note-button:focus-visible {
  border-color: rgba(243, 149, 36, 0.4);
  background: #fff;
  color: var(--orange-deep);
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-stats div {
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(71, 54, 26, 0.06);
}

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

.hero-stats strong {
  margin-bottom: 2px;
  color: var(--charcoal);
  font-size: 22px;
  line-height: 1.2;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.hero-device {
  position: relative;
  width: min(410px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 32px 86px rgba(125, 77, 8, 0.2);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.hero-device-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 14px;
  color: var(--charcoal);
  font-size: 14px;
}

.hero-device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 16px 0 0 #f1c252, 32px 0 0 var(--orange);
}

.hero-device-top strong {
  margin-left: 36px;
}

.hero-logo-card {
  width: 100%;
  aspect-ratio: 1.04;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.hero-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-device-list {
  display: grid;
  margin-top: 12px;
}

.hero-device-list span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.hero-visual::before {
  width: 86px;
  height: 86px;
  top: 28px;
  right: 38px;
}

.hero-visual::after {
  width: 42px;
  height: 42px;
  left: 44px;
  bottom: 54px;
}

.hero-badge {
  position: absolute;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  box-shadow: 0 16px 42px rgba(125, 77, 8, 0.14);
  font-weight: 900;
  padding: 0 18px;
}

.hero-badge-left {
  left: -34px;
  top: 114px;
}

.hero-badge-right {
  right: -28px;
  bottom: 106px;
  color: var(--green);
}

.section {
  padding: 100px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.section-copy p,
.section-head p,
.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.principles {
  display: grid;
  gap: 16px;
}

.principles div,
.service-card,
.news-card,
.faq-item,
.admin-card,
.admin-notice,
.admin-list-item {
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background: #fff;
}

.principles div {
  padding: 26px;
  box-shadow: 0 18px 44px rgba(71, 54, 26, 0.05);
}

.principles h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.35;
}

.principles p {
  line-height: 1.65;
}

.principles span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-soft), #fff7df);
  color: var(--green);
  font-weight: 900;
}

.principles p,
.service-card h3,
.service-card p,
.news-card h3,
.news-card p,
.faq-item h3,
.faq-item p {
  margin-bottom: 0;
}

.principles p,
.service-card p,
.news-card p,
.faq-item p {
  color: var(--muted);
}

.about-section,
.faq-section,
.contact-section {
  border-top: 1px solid rgba(235, 227, 210, 0.72);
}

.about-section {
  background:
    linear-gradient(180deg, #fffef9 0%, #f6fbf3 100%);
}

.faq-section {
  background:
    linear-gradient(180deg, #fffaf0 0%, #f7f9f0 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head.centered {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.service-card {
  position: relative;
  display: grid;
  min-height: 238px;
  align-content: start;
  overflow: hidden;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(71, 54, 26, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(243, 149, 36, 0.4);
  box-shadow: 0 26px 64px rgba(71, 54, 26, 0.11);
  transform: translateY(-2px);
}

.service-card::after {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: rgba(221, 101, 0, 0.16);
  content: attr(data-index);
  font-size: 58px;
  font-weight: 900;
  line-height: 118px;
  text-align: center;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 245, 215, 0.75), transparent 42%);
  content: "";
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card .text-link {
  margin-top: 22px;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 28px;
}

.service-tabs span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(246, 201, 99, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #4e3f18;
  font-size: 14px;
  font-weight: 850;
  padding: 0 16px;
  box-shadow: 0 10px 24px rgba(71, 54, 26, 0.04);
}

.service-note {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

.text-link,
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 850;
}

.text-link::after,
.admin-link::after {
  content: ">";
  font-size: 13px;
  transform: translateY(1px);
}

.text-link:hover,
.admin-link:hover,
.text-link:focus-visible,
.admin-link:focus-visible {
  color: var(--orange-deep);
}

.process-section {
  background:
    linear-gradient(180deg, #f6f2e9 0%, #fff7e7 100%);
  border-top: 1px solid rgba(235, 227, 210, 0.72);
  border-bottom: 1px solid rgba(235, 227, 210, 0.72);
}

.process-section .container {
  width: min(1440px, calc(100vw - 40px));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 0 18px;
  text-align: center;
}

.process-list li::after {
  position: absolute;
  top: 50px;
  right: calc(-50% + 66px);
  left: calc(50% + 66px);
  z-index: 0;
  height: 1px;
  border-top: 1px dashed #ddd4c3;
  content: "";
}

.process-list li:last-child::after {
  display: none;
}

.process-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 104px;
  height: 104px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--step-color), var(--step-color-end));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(229, 215, 188, 0.92),
    0 16px 34px rgba(128, 92, 36, 0.12);
}

.process-icon::before {
  position: absolute;
  inset: -12px;
  border: 1px dashed #d9cfbc;
  border-radius: 50%;
  content: "";
}

.process-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
}

.process-bridge {
  position: absolute;
  top: 43px;
  right: calc(-50% + 66px);
  left: calc(50% + 66px);
  z-index: 1;
  min-width: 0;
  color: #aba795;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow:
    -5px 0 #faf4e8,
    5px 0 #faf4e8,
    0 -2px #faf4e8,
    0 2px #faf4e8;
  white-space: nowrap;
}

.process-list h3 {
  min-height: auto;
  margin-bottom: 8px;
  color: #171b21;
  font-size: 18px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 0;
  color: #d4d4d8;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.1;
}

.news-section {
  background:
    linear-gradient(180deg, #f5fbf4 0%, #fffef9 100%);
  border-top: 1px solid rgba(214, 226, 205, 0.74);
  border-bottom: 1px solid rgba(235, 227, 210, 0.72);
}

.news-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.news-column {
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(71, 54, 26, 0.07);
  overflow: hidden;
}

.news-column-head {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff9e8, #f7faf2);
  padding: 0 22px;
}

.news-column-head span {
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 900;
}

.news-column-head a {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.news-list {
  display: grid;
  min-height: 360px;
  padding: 8px 22px 18px;
}

.news-column-foot {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 0 22px 22px;
}

.news-more-button {
  min-width: 136px;
  border: 0;
}

.news-more-button:hover,
.news-more-button:focus-visible {
  border: 0;
}

.news-card {
  display: grid;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
  transition: transform 0.18s ease;
}

.news-card-link,
.archive-item-link {
  color: inherit;
}

.news-card:hover {
  transform: translateX(3px);
}

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

.news-card time {
  display: inline-flex;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 850;
}

.news-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-left-list {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.faq-item {
  padding: 24px;
  box-shadow: 0 16px 42px rgba(71, 54, 26, 0.05);
}

.faq-item-link {
  display: block;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.faq-item-link:hover,
.faq-item-link:focus-visible {
  border-color: rgba(245, 145, 30, 0.45);
  transform: translateY(-2px);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.contact-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff3d6 100%);
}

.archive-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(115deg, rgba(255, 251, 239, 0.98) 0%, rgba(255, 246, 218, 0.94) 48%, rgba(255, 218, 119, 0.72) 100%);
  border-bottom: 1px solid rgba(235, 227, 210, 0.9);
}

.archive-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
}

.archive-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 340px;
  align-content: center;
  padding: 70px 0;
}

.archive-hero h1 {
  margin-bottom: 18px;
}

.archive-hero p {
  max-width: 720px;
  color: #4f554b;
  font-size: 19px;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.archive-section {
  background: linear-gradient(180deg, #fff 0%, #fffbf1 100%);
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.archive-main,
.archive-aside,
.archive-empty {
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(71, 54, 26, 0.07);
}

.archive-main {
  overflow: hidden;
}

.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff9e8, #f7faf2);
  padding: 26px;
}

.archive-head h2,
.archive-head .eyebrow {
  margin-bottom: 0;
}

.archive-list {
  display: grid;
  padding: 8px 26px;
}

.archive-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.archive-item-link {
  transition: transform 0.18s ease;
}

.archive-item-link:hover,
.archive-item-link:focus-visible {
  transform: translateX(3px);
}

.archive-item:last-child {
  border-bottom: 0;
}

.archive-date {
  display: grid;
  align-content: start;
  gap: 4px;
}

.archive-date strong {
  color: rgba(221, 101, 0, 0.14);
  font-size: 38px;
  font-weight: 900;
  line-height: 0.82;
}

.archive-date time {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
}

.archive-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.28;
}

.archive-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 24px 26px 30px;
}

.archive-pagination[hidden] {
  display: none;
}

.archive-page-control,
.archive-page-current {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 850;
}

.archive-page-control {
  border: 1px solid #dde2e6;
  background: #f7f8f9;
  color: #b7bec6;
}

.archive-page-control:not(.is-disabled):hover,
.archive-page-control:not(.is-disabled):focus-visible {
  border-color: #32a8e6;
  background: #fff;
  color: #32a8e6;
}

.archive-page-control.is-disabled {
  cursor: not-allowed;
  opacity: 0.74;
}

.archive-page-current {
  border: 1px solid #32a8e6;
  background: #32a8e6;
  color: #fff;
}

.archive-page-total {
  color: #8a929b;
  font-size: 16px;
  white-space: nowrap;
}

.archive-aside {
  position: sticky;
  top: 140px;
  padding: 26px;
}

.archive-aside h3 {
  margin-bottom: 12px;
}

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

.archive-aside-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdfa 0%, #f9fbf6 100%);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  padding: 12px 14px;
  text-overflow: ellipsis;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  white-space: nowrap;
}

.archive-aside-link:hover,
.archive-aside-link:focus-visible {
  border-color: rgba(243, 149, 36, 0.48);
  box-shadow: 0 16px 34px rgba(71, 54, 26, 0.08);
  transform: translateY(-1px);
}

.archive-aside-empty {
  color: var(--muted);
  margin-bottom: 0;
}

.archive-aside p {
  color: var(--muted);
}

.archive-aside .btn {
  width: 100%;
  margin-top: 10px;
}

.article-section {
  min-height: 680px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 228, 160, 0.2), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fffbf1 100%);
}

.article-detail {
  max-width: 920px;
}

.article-detail-card,
.article-empty {
  border: 1px solid rgba(235, 227, 210, 0.94);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 46px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.article-back::before {
  content: "<";
  margin-right: 6px;
}

.article-detail-card h1,
.article-empty h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
}

.article-meta {
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 28px;
}

.article-body {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.article-body p,
.article-empty p {
  color: #4f554b;
  font-size: 17px;
  line-height: 1.85;
}

.article-empty {
  display: grid;
  gap: 16px;
}

.article-empty .btn {
  justify-self: start;
}

.archive-empty {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 28px;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(21, 162, 103, 0.11), transparent 22%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 224, 0.86)),
    linear-gradient(90deg, rgba(243, 149, 36, 0.12), rgba(21, 162, 103, 0.08));
  box-shadow: var(--shadow);
  padding: 50px;
}

.contact-actions {
  align-items: flex-start;
  flex-direction: column;
}

.contact-actions dl {
  display: grid;
  width: 100%;
  gap: 12px;
  margin: 8px 0 0;
}

.contact-actions dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(31, 36, 32, 0.1);
  padding-bottom: 12px;
}

.contact-actions dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-actions dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
}

.contact-actions .icp-link,
.contact-actions .contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-actions .icp-link:hover,
.contact-actions .icp-link:focus-visible,
.contact-actions .contact-link:hover,
.contact-actions .contact-link:focus-visible {
  color: var(--orange-deep);
}

.site-footer {
  background:
    linear-gradient(135deg, #232b24, #1c241e);
  color: #fff;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 750;
}

.fixed-service {
  position: fixed;
  right: 22px;
  top: 46%;
  z-index: 19;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(235, 227, 210, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.fixed-service-item {
  display: grid;
  width: 76px;
  min-height: 72px;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  padding: 10px 8px;
  text-align: center;
}

.fixed-recycle-button {
  background: linear-gradient(180deg, var(--orange), #f7b344);
  color: #fff;
}

.fixed-service-item:last-child {
  border-bottom: 0;
}

.fixed-service-item:hover,
.fixed-service-item:focus-visible {
  background: linear-gradient(180deg, var(--yellow-soft), #fff);
}

.fixed-recycle-button:hover,
.fixed-recycle-button:focus-visible {
  background: linear-gradient(180deg, var(--orange-deep), var(--orange));
  color: #fff;
}

.fixed-service-item span,
.fixed-service-item small {
  display: block;
}

.fixed-service-item span {
  font-weight: 900;
}

.fixed-service-item small {
  color: var(--muted);
  font-size: 12px;
}

.fixed-recycle-button small {
  color: rgba(255, 255, 255, 0.86);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 27, 0.56);
  backdrop-filter: blur(8px);
}

.qr-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(420px, calc(100vw - 40px));
  gap: 16px;
  border: 1px solid rgba(235, 227, 210, 0.92);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 34px 90px rgba(20, 24, 20, 0.24);
  padding: 24px;
  text-align: center;
}

.qr-modal-close {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 6px 14px;
}

.qr-modal-close:hover,
.qr-modal-close:focus-visible {
  border-color: rgba(243, 149, 36, 0.42);
  color: var(--orange-deep);
}

.qr-modal-panel h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.qr-modal-image {
  overflow: hidden;
  border: 1px solid rgba(235, 227, 210, 0.94);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.qr-modal-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-modal-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-body {
  background: var(--bg-soft);
}

.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-header-actions,
.admin-form-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-main {
  padding: 34px 0 72px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
}

.admin-side {
  position: sticky;
  top: 96px;
  display: grid;
  align-self: start;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.admin-side a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: 6px;
  color: #4b544d;
  font-weight: 800;
  padding: 0 12px;
}

.admin-side a:hover,
.admin-side a:focus-visible {
  background: var(--green-soft);
  color: var(--green);
}

.admin-content {
  display: grid;
  gap: 20px;
}

.admin-notice,
.admin-card {
  padding: 26px;
}

.admin-notice h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.admin-notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-status span,
.admin-published {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(21, 162, 103, 0.18);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  padding: 0 12px;
}

.admin-status span:last-child {
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
}

.admin-status .is-success {
  border-color: rgba(243, 149, 36, 0.24);
  background: var(--yellow-soft);
  color: var(--orange-deep);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-card h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 850;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 12px 14px;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 138, 18, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 138, 18, 0.1);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.admin-list-item strong {
  display: block;
  margin-bottom: 6px;
}

.admin-list-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-list-item button {
  min-height: 36px;
}

.admin-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--muted);
  padding: 18px;
}

.admin-published {
  min-height: 26px;
  margin-bottom: 10px;
  font-size: 12px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .service-grid,
  .news-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .process-list li {
    min-height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 24px 16px 20px;
  }

  .process-list li::after,
  .process-bridge {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 0 7px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 28px, 720px);
  }

  .header-inner,
  .admin-header-inner {
    min-height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 102px 0 auto 0;
    display: none;
    max-height: calc(100svh - 102px);
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 14px;
  }

  body.nav-open .site-nav {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 14px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 0 60px;
  }

  .two-column,
  .contact-panel,
  .archive-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .section-head-row,
  .footer-inner,
  .admin-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-device {
    width: min(380px, 92vw);
  }

  .contact-panel {
    padding: 28px;
  }

  .admin-side {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 24px, 560px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .section-copy p,
  .section-head p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .admin-form .btn {
    width: 100%;
  }

  .service-grid,
  .news-layout,
  .process-list,
  .form-grid,
  .admin-side {
    grid-template-columns: 1fr;
  }

  .service-card,
  .news-card,
  .process-list li {
    min-height: auto;
  }

  .process-list h3 {
    min-height: auto;
  }

  .contact-actions dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .archive-hero-inner {
    min-height: auto;
    padding: 54px 0;
  }

  .archive-actions {
    align-items: stretch;
  }

  .archive-actions .btn {
    width: 100%;
  }

  .archive-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .archive-list {
    padding: 4px 20px;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .archive-date {
    grid-template-columns: auto 1fr;
    align-items: end;
  }

  .archive-date strong {
    font-size: 38px;
  }

  .site-nav {
    inset: 68px 0 auto 0;
    max-height: calc(100svh - 68px);
  }

  .hero-badge {
    display: none;
  }

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

  .hero-device {
    padding: 12px;
  }

  .hero-device-list span {
    min-height: 38px;
  }

  .news-list {
    min-height: auto;
  }

  .fixed-service {
    right: 10px;
    top: auto;
    bottom: 12px;
    grid-template-columns: repeat(2, 1fr);
    transform: none;
  }

  .fixed-service-item {
    width: 68px;
    min-height: 54px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 13px;
  }

  .fixed-service-item:last-child {
    border-right: 0;
  }

  .admin-list-item {
    grid-template-columns: 1fr;
  }
}

.admin-cms-body {
  min-width: 1180px;
  min-height: 100vh;
  background: #f6f7f8;
  color: #14304a;
}

.admin-cms-body button,
.admin-cms-body input,
.admin-cms-body select,
.admin-cms-body textarea {
  border-radius: 0;
}

.cms-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 194px;
  overflow-y: auto;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(170deg, #5bc6d3 0%, #2ca2c7 48%, #2393bd 100%);
  box-shadow: 12px 0 36px rgba(23, 88, 115, 0.12);
  color: #fff;
}

.cms-profile {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.cms-avatar {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #fff8df;
  box-shadow: inset 0 0 0 1px rgba(20, 48, 74, 0.12), 0 10px 22px rgba(22, 79, 98, 0.16);
}

.cms-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.5);
}

.cms-profile p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.cms-profile-links {
  display: flex;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.cms-profile-links a,
.cms-profile-links button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  padding: 0;
}

.cms-profile-links a:hover,
.cms-profile-links button:hover,
.cms-profile-links a:focus-visible,
.cms-profile-links button:focus-visible {
  color: #fff9d9;
}

.cms-menu {
  display: grid;
  padding: 16px 0 28px;
}

.cms-menu a,
.cms-menu button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 0 20px 0 42px;
  text-align: left;
}

.cms-menu a:hover,
.cms-menu button:hover,
.cms-menu a:focus-visible,
.cms-menu button:focus-visible,
.cms-menu button.is-active {
  background: rgba(18, 84, 105, 0.18);
  color: #fff;
}

.cms-menu button.is-active::after {
  position: absolute;
  top: 50%;
  right: 0;
  border-top: 9px solid transparent;
  border-right: 9px solid #f6f7f8;
  border-bottom: 9px solid transparent;
  content: "";
  transform: translateY(-50%);
}

.cms-menu-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-left: -18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.cms-main {
  min-height: 100vh;
  margin-left: 194px;
  padding: 34px 38px 72px;
}

.cms-topbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.cms-topbar p,
.cms-topbar span {
  margin: 0;
}

.cms-topbar p {
  color: #0c9b69;
  font-size: 15px;
  font-weight: 900;
}

.cms-topbar p.is-success {
  color: var(--orange-deep);
}

.cms-topbar span {
  display: block;
  margin-top: 3px;
  color: #6d7b86;
  font-size: 13px;
}

.cms-topbar-actions {
  display: flex;
  gap: 10px;
}

.cms-topbar-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #d7e5ea;
  background: #fff;
  color: #176683;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.cms-view {
  display: none;
}

.cms-view.is-active {
  display: block;
}

.cms-page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.cms-page-title h1 {
  margin: 0;
  color: #17314a;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.cms-page-title p {
  max-width: 660px;
  margin: 0;
  color: #697984;
  font-size: 14px;
}

.cms-editor-form,
.cms-filter-bar,
.cms-table-panel,
.cms-settings-panel {
  background: #fff;
  box-shadow: 0 18px 46px rgba(35, 52, 63, 0.06);
}

.cms-editor-form {
  padding: 38px 40px;
}

.cms-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 26px;
}

.cms-editor-main {
  min-width: 0;
}

.cms-form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.cms-form-row > span,
.cms-form-row > span {
  color: #17314a;
  font-size: 15px;
  font-weight: 900;
}

.cms-title-input,
.cms-form-row textarea,
.cms-side-field input,
.cms-side-field select,
.cms-filter-bar select,
.cms-filter-bar input,
.cms-settings-panel input {
  width: 100%;
  border: 1px solid #c8cdd0;
  background: #fff;
  color: #091e32;
  outline: none;
}

.cms-title-input {
  height: 40px;
  font-size: 22px;
  padding: 0 12px;
}

.cms-form-row textarea {
  min-height: 86px;
  padding: 10px 12px;
  resize: vertical;
}

.cms-title-input:focus,
.cms-form-row textarea:focus,
.cms-side-field input:focus,
.cms-side-field select:focus,
.cms-filter-bar select:focus,
.cms-filter-bar input:focus,
.cms-settings-panel input:focus {
  border-color: #3aa0d2;
  box-shadow: 0 0 0 3px rgba(58, 160, 210, 0.12);
}

.cms-editor-box {
  border: 1px solid #cfd3d5;
  background: #fff;
}

.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #d6dadc;
  background:
    linear-gradient(180deg, #fff 0%, #f0f1f2 100%);
  padding: 6px;
}

.cms-toolbar button {
  min-width: 30px;
  min-height: 28px;
  border: 1px solid transparent;
  background: transparent;
  color: #2f4351;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 0 8px;
}

.cms-toolbar button:hover,
.cms-toolbar button:focus-visible {
  border-color: #c8d2d8;
  background: #fff;
}

.cms-content-input {
  display: block;
  width: 100%;
  min-height: 1830px;
  border: 0;
  outline: none;
  padding: 18px;
  resize: vertical;
}

.cms-editor-foot {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d6dadc;
  background: #f5f5f5;
  color: #71808a;
  font-size: 13px;
  padding: 0 14px;
}

.cms-editor-side {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 40px;
}

.cms-submit-button,
.cms-filter-bar button,
.cms-settings-actions button {
  border: 0;
  background: #349bd0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.cms-submit-button {
  min-height: 52px;
  font-size: 18px;
}

.cms-submit-button:hover,
.cms-filter-bar button:hover,
.cms-settings-actions button:hover,
.cms-submit-button:focus-visible,
.cms-filter-bar button:focus-visible,
.cms-settings-actions button:focus-visible {
  background: #2384b4;
}

.cms-side-field {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.cms-side-field > span,
.cms-switch > span {
  color: #17314a;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.cms-side-field input,
.cms-side-field select {
  height: 46px;
  padding: 0 10px;
}

.cms-switch {
  display: grid;
  grid-template-columns: 88px 52px;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.cms-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cms-switch i {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: #cfd4d6;
}

.cms-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 32, 45, 0.18);
  content: "";
  transition: transform 0.18s ease;
}

.cms-switch input:checked + i {
  background: #349bd0;
}

.cms-switch input:checked + i::after {
  transform: translateX(22px);
}

.cms-clear-button {
  min-height: 38px;
  border: 1px solid #d8e1e5;
  background: #fff;
  color: #4d6170;
  cursor: pointer;
  font-weight: 800;
}

.cms-clear-button:hover,
.cms-clear-button:focus-visible {
  border-color: #f0a43a;
  color: var(--orange-deep);
}

.cms-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: 38px 40px;
}

.cms-filter-bar > span,
.cms-filter-bar label {
  color: #17314a;
  font-size: 15px;
  font-weight: 800;
}

.cms-filter-bar label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cms-filter-bar select {
  width: 170px;
  height: 40px;
  padding: 0 12px;
}

.cms-filter-bar input[type="search"] {
  width: min(360px, 100%);
  height: 40px;
  padding: 0 12px;
}

.cms-filter-check input {
  width: 18px;
  height: 18px;
}

.cms-filter-bar button {
  min-width: 82px;
  min-height: 40px;
  font-size: 15px;
}

.cms-table-panel {
  padding: 38px 40px;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
  color: #14304a;
}

.cms-table th,
.cms-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: middle;
}

.cms-table th {
  background: #f1f1f1;
  color: #16334e;
  font-size: 15px;
  font-weight: 900;
}

.cms-table tbody tr:nth-child(even) {
  background: #f3f3f3;
}

.cms-table tbody tr:hover {
  background: #fff7e6;
}

.cms-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17314a;
  font-weight: 500;
}

.cms-title-link span {
  color: #349bd0;
  font-size: 13px;
}

.cms-title-link:hover,
.cms-title-link:focus-visible {
  color: var(--orange-deep);
}

.cms-sticky-mark {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: 8px;
  border: 1px solid #ffd4a8;
  background: #fff5e8;
  color: #d36b00;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 0 7px;
}

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

.cms-row-actions button {
  min-height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 0 6px;
}

.cms-row-actions button:first-child {
  color: #d97900;
}

.cms-row-actions button:last-child {
  color: #d80018;
}

.cms-table-empty {
  height: 150px;
  color: #7d8a93;
  text-align: center !important;
}

.cms-settings-panel {
  max-width: 980px;
  padding: 38px 40px;
}

.cms-settings-panel input {
  height: 44px;
  padding: 0 12px;
}

.cms-settings-actions {
  display: flex;
  gap: 12px;
}

.cms-settings-actions button {
  min-height: 42px;
  padding: 0 18px;
}

.cms-settings-actions button:last-child {
  background: #fff2e9;
  color: #b14a13;
  border: 1px solid #ffd3bc;
}

.cms-settings-actions button:last-child:hover,
.cms-settings-actions button:last-child:focus-visible {
  background: #ffe3d2;
}

@media (max-width: 1180px) {
  .admin-cms-body {
    min-width: 0;
  }

  .cms-sidebar {
    position: static;
    width: 100%;
  }

  .cms-profile {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    text-align: left;
  }

  .cms-avatar {
    width: 58px;
    height: 58px;
  }

  .cms-menu {
    grid-template-columns: repeat(3, 1fr);
    padding: 8px;
  }

  .cms-menu a,
  .cms-menu button {
    min-height: 42px;
    padding: 0 12px;
  }

  .cms-menu button.is-active::after {
    display: none;
  }

  .cms-menu-icon {
    margin-left: 0;
  }

  .cms-main {
    margin-left: 0;
    padding: 24px 18px 60px;
  }

  .cms-editor-layout {
    grid-template-columns: 1fr;
  }

  .cms-editor-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .cms-topbar,
  .cms-page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .cms-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-editor-form,
  .cms-filter-bar,
  .cms-table-panel,
  .cms-settings-panel {
    padding: 22px;
  }

  .cms-editor-side {
    grid-template-columns: 1fr;
  }

  .cms-table-panel {
    overflow-x: auto;
  }

  .cms-table {
    min-width: 860px;
  }
}

.login-body {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(34, 105, 229, 0.82), rgba(162, 194, 251, 0.56) 36%, rgba(248, 222, 193, 0.7) 72%, rgba(72, 74, 130, 0.7)),
    radial-gradient(circle at 75% 16%, rgba(40, 78, 234, 0.62), transparent 38%),
    radial-gradient(circle at 22% 82%, rgba(244, 154, 31, 0.22), transparent 42%),
    #eef3ff;
}

.login-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    url("assets/kaxiaole-logo.png") center 55% / min(560px, 56vw) no-repeat;
  opacity: 0.16;
  filter: blur(1px);
  pointer-events: none;
}

.login-body::after {
  content: "";
  position: fixed;
  inset: auto -10vw -22vh -10vw;
  height: 44vh;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(-3deg);
  pointer-events: none;
}

.login-badge {
  position: fixed;
  top: 38px;
  left: 62px;
  z-index: 2;
  padding: 10px 16px;
  background: rgba(25, 80, 140, 0.48);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.login-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.login-card {
  width: min(458px, calc(100vw - 40px));
  min-height: 358px;
  border: 1px solid rgba(19, 78, 157, 0.82);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 72px rgba(19, 48, 104, 0.22);
  text-align: left;
  overflow: hidden;
}

.login-card-bar {
  height: 42px;
  background: linear-gradient(180deg, #1978ce, #075096);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 318px;
  margin: 30px auto 18px;
}

.login-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.login-brand .eyebrow {
  margin: 0 0 3px;
  color: #46708d;
  font-size: 13px;
}

.login-card h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.login-form {
  display: grid;
  gap: 22px;
  width: 318px;
  margin: 0 auto;
  text-align: left;
}

.login-field {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  height: 42px;
  border: 1px solid rgba(14, 35, 58, 0.28);
  background: rgba(241, 241, 246, 0.9);
}

.login-field:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.login-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-right: 1px solid rgba(14, 35, 58, 0.1);
  color: #536273;
  font-size: 16px;
  background: rgba(224, 226, 232, 0.9);
}

.login-form input {
  width: 100%;
  height: 40px;
  border: 0;
  padding: 0 14px;
  font: inherit;
  background: transparent;
}

.login-form input:focus {
  outline: 0;
}

.login-form input::placeholder {
  color: #7a818a;
}

.login-form button {
  width: 96px;
  height: 40px;
  border: 0;
  border-radius: 2px;
  background: #25b9f1;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.login-form button:hover,
.login-form button:focus-visible {
  background: #149fd4;
}

.login-message {
  min-height: 22px;
  margin: -8px 0 0;
  color: #008a58;
  text-align: left;
}

.login-message.is-error {
  color: #d93025;
}

.login-back {
  display: block;
  width: 318px;
  margin: 6px auto 0;
  color: #496070;
  font-weight: 700;
  text-align: left;
}

@media (max-width: 720px) {
  .login-badge {
    top: 22px;
    left: 22px;
    font-size: 24px;
  }

  .login-card {
    margin-top: 42px;
  }

  .login-brand,
  .login-form,
  .login-back {
    width: calc(100% - 56px);
  }
}
