/* =========================================================
   小画家艺术学校 Little Artists Studio — Shared Styles
   ========================================================= */

:root {
  --coral: #FF6B6B;
  --coral-dark: #E8534F;
  --turquoise: #2FC6BA;
  --turquoise-dark: #22A99E;
  --yellow: #FFC93C;
  --yellow-dark: #F0AE0E;
  --sky: #4DA9E0;
  --sky-dark: #2E86C7;
  --purple: #9B7EDE;
  --purple-dark: #7F5FCB;
  --cream: #FFFBF3;
  --cream-2: #FFF3E0;
  --ink: #2E2A45;
  --ink-soft: #635F7A;
  --white: #FFFFFF;
  --line: #EDE6D6;
  --shadow: 0 10px 30px rgba(46, 42, 69, 0.10);
  --shadow-sm: 0 4px 14px rgba(46, 42, 69, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-heading: "Fredoka", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p { margin: 0 0 1em; }
a { color: var(--sky-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.splat {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- Top navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.brand .logo-dot {
  width: 38px;
  height: 38px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: conic-gradient(from 90deg, var(--coral), var(--yellow), var(--turquoise), var(--sky), var(--purple), var(--coral));
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
}

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  border: none !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--coral-dark);
  border-color: transparent !important;
}

.lang-toggle {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  margin-left: 8px;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
}

.lang-toggle button.active {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-secondary { background: var(--turquoise); color: var(--white); }
.btn-secondary:hover { background: var(--turquoise-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: none;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--sky-dark);
  box-shadow: none;
  padding: 10px 16px;
}
.btn-ghost:hover { text-decoration: underline; }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 24px 110px;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-dark);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.hero h1 .accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Sections ---------- */
.section {
  padding: 70px 24px;
  position: relative;
}

.section-alt { background: var(--cream-2); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 46px;
}

.section-head .eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--turquoise-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.section-head p { color: var(--ink-soft); }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.icon-badge.c1 { background: #FFE3E0; }
.icon-badge.c2 { background: #DFF6F3; }
.icon-badge.c3 { background: #FFF3D0; }
.icon-badge.c4 { background: #E8E0FB; }
.icon-badge.c5 { background: #DCEEFC; }
.icon-badge.c6 { background: #FCE3F3; }

.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }

/* age pills */
.age-pills {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.age-pill {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

.age-pill span { color: var(--coral); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--purple), var(--sky));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 480px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--white); color: var(--purple-dark); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding: 46px 24px 26px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto 26px;
}

.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid a { color: rgba(255,255,255,0.75); display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand { max-width: 300px; }
.footer-brand .brand { color: var(--white); }

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

/* =========================================================
   Forms
   ========================================================= */

.form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.form-section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--turquoise-dark);
  margin: 34px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title:first-of-type { margin-top: 0; }

.field {
  margin-bottom: 20px;
}

.field label,
.field-legend {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.field .hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-left: 4px;
}

.required-star { color: var(--coral); margin-left: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="password"],
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-pill, .checkbox-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.radio-pill:has(input:checked),
.checkbox-pill:has(input:checked) {
  border-color: var(--turquoise);
  background: #E4F8F6;
}

.radio-pill input, .checkbox-pill input { accent-color: var(--turquoise-dark); width: 16px; height: 16px; }

.conditional-box {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #FFF7E6;
  border: 2px dashed var(--yellow-dark);
  display: none;
}

.conditional-box.show { display: block; }

.agree-choice {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.agree-choice label {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  justify-content: center;
}

.agree-choice input { width: 17px; height: 17px; accent-color: var(--turquoise-dark); }
.agree-choice label:has(input:checked) {
  border-color: var(--turquoise-dark);
  background: #E4F8F6;
  color: var(--turquoise-dark);
}

.agreement-text {
  max-height: 180px;
  overflow-y: auto;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.signature-pad-wrap {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  padding: 10px;
}

.signature-pad-wrap canvas {
  width: 100%;
  height: 160px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  touch-action: none;
  cursor: crosshair;
}

.signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.signature-actions .sig-hint { font-size: 0.78rem; color: var(--ink-soft); }

.field-error {
  color: var(--coral-dark);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--coral);
  background: #FFF1F0;
}

.field.invalid .field-error { display: block; }

.form-submit-row {
  margin-top: 30px;
  text-align: center;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form-message {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-weight: 700;
  display: none;
}

.form-message.show { display: block; }
.form-message.success { background: #E1F7EA; color: #1F8B4C; border: 2px solid #B7EAC7; }
.form-message.error { background: #FFEAEA; color: var(--coral-dark); border: 2px solid #FFC9C9; }

/* =========================================================
   Admin
   ========================================================= */

.admin-shell { min-height: 100vh; background: var(--cream-2); }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.admin-login-card .brand { justify-content: center; margin-bottom: 6px; }
.admin-login-card .subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--white);
  border-bottom: 3px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar .brand { font-size: 1.1rem; }

.admin-nav {
  display: flex;
  gap: 6px;
}

.admin-nav a, .admin-nav button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  border: none;
  background: transparent;
  cursor: pointer;
}

.admin-nav a.active, .admin-nav a:hover, .admin-nav button:hover {
  background: var(--cream-2);
  color: var(--coral-dark);
}

.admin-main { max-width: 1200px; margin: 0 auto; padding: 30px 24px 60px; }

.admin-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  background: transparent;
  font-family: var(--font-body);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
}

.stat-card .label { color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card.c1 .num { color: var(--coral-dark); }
.stat-card.c2 .num { color: var(--turquoise-dark); }
.stat-card.c3 .num { color: var(--sky-dark); }
.stat-card.c4 .num { color: var(--purple-dark); }

.table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

table.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.data-table th {
  text-align: left;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 16px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr.row-clickable { cursor: pointer; }
.data-table tr.row-clickable:hover { background: var(--cream-2); }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-yes { background: #FFE9D6; color: #C6690A; }
.badge-no { background: #E7F5EC; color: #2E8B57; }
.badge-agree { background: #E1F7EA; color: #1F8B4C; }
.badge-disagree { background: #FFEAEA; color: var(--coral-dark); }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink-soft);
}

.empty-state .emoji { font-size: 2.4rem; margin-bottom: 10px; }

/* modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 42, 69, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 200;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--cream-2);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.detail-item { }
.detail-item .k { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-soft); font-weight: 700; margin-bottom: 3px; }
.detail-item .v { font-size: 0.96rem; color: var(--ink); }
.detail-item.full { grid-column: 1 / -1; }

.detail-item .v.sig-img { border: 1px solid var(--line); border-radius: 10px; background: var(--cream); padding: 8px; }
.detail-item .v.sig-img img { max-height: 90px; }

.checkbox-select {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
  cursor: pointer;
}

.compose-shell {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.recipient-summary {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 20px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.pagination button {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
}

.pagination button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

.spinner {
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.spinner.dark { border-color: rgba(46,42,69,0.2); border-top-color: var(--ink); }

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

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 3px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-shell { padding: 28px 20px; }
  .cta-band { margin: 0 16px; padding: 40px 24px; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .admin-topbar { flex-direction: column; gap: 12px; align-items: flex-start; }
}
