:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f7f5;
  --surface-alt: #edf3f0;
  --ink: #192824;
  --muted: #5d6d65;
  --line: #dce5e0;
  --primary: #192824;
  --primary-2: #315fbb;
  --accent: #087d68;
  --accent-strong: #066452;
  --highlight: #93610a;
  --shadow: none;
  --radius: 6px;
  --max: 1280px;
}
html { overflow-x: visible; scroll-padding-top: 24px; }
body.ui-v2 { font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.55; overflow-x: visible; background: white; }
.ui-v2 :is(h1,h2,h3,h4,p,a,button,label,dt,th,.kicker,.badge,small) { letter-spacing: 0; }
.ui-v2 :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #53a8d4; outline-offset: 3px; }
.ui-v2 :is(a,button,input,select,textarea,summary) { touch-action: manipulation; }
.ui-v2 :is(input,select,textarea) { border-radius: 6px; border-color: #b9c9c1; background: white; color: var(--ink); }
.ui-v2 :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select) { min-height: 44px; }
.ui-v2 :is(input[type=checkbox],input[type=radio]) { accent-color: var(--accent); }
.ui-v2 h1 { font-size: 32px; line-height: 1.2; overflow-wrap: anywhere; }
.ui-v2 .section-title { font-size: 22px; max-width: none; line-height: 1.3; }
.ui-v2 .kicker { text-transform: none; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.ui-v2 .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: 14px; line-height: 1.4; border-radius: 6px; box-shadow: none; font-weight: 600; text-align: center; white-space: normal; }
.ui-v2 .btn:hover { transform: none; }
.ui-v2 .btn-primary { background: var(--accent); border-color: var(--accent); color: white; }
.ui-v2 .btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.ui-v2 .btn-secondary { background: white; border: 1px solid var(--line); color: var(--ink); }
.ui-v2 .btn-secondary:hover { background: var(--surface-soft); border-color: #8caaa0; }
.ui-v2 .btn-small { padding: 8px 12px; font-size: 13px; }
.ui-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; object-fit: contain; }
.btn-primary .ui-icon { filter: brightness(0) invert(1); }
.ui-v2 .ui-icon-button { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid var(--line); }
.ui-v2 .text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.ui-v2 .table-wrap { position: relative; overflow-x: auto; border: 0; border-radius: 0; box-shadow: none; max-width: 100%; }
.ui-v2 :is(.result-table,.admin-table) { font-size: 14px; background: white; }
.ui-v2 :is(.result-table,.admin-table) th { background: var(--surface-soft); color: var(--muted); font-size: 12px; text-transform: none; font-weight: 600; }
.ui-v2 :is(.result-table,.admin-table) :is(th,td) { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.ui-v2 :is(.result-table,.admin-table) tbody tr:hover { background: #f7faf8; }
.ui-v2 .result-link { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ui-v2 .result-table small { display: block; margin-top: 4px; color: var(--muted); }
.ui-v2 :is(.field-group,.filter-actions,.button-row) { min-width: 0; }
.ui-v2 .filter-actions { flex-wrap: wrap; }
.ui-v2 label { font-size: 13px; font-weight: 600; }
.ui-v2 .page-link { min-width: 44px; min-height: 44px; border-radius: 5px; }
.ui-v2 .badge { border-radius: 4px; font-size: 12px; white-space: nowrap; }
.ui-v2 :is(.notice,.empty-state) { border-radius: 6px; box-shadow: none; }
.ui-v2 .menu-toggle { flex: 0 0 44px; }
.ui-v2 .menu-toggle .ui-icon { margin: auto; }
.ui-v2 .section-head { gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ui-v2 .form-grid > *, .ui-v2 .two-col > * { min-width: 0; }
@media (max-width: 760px) {
  .ui-v2 { font-size: 15px; }
  .ui-v2 :is(input,select,textarea) { font-size: 16px; }
  .ui-v2 h1 { font-size: 28px; }
  .ui-v2 .section-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ui-v2 *, .ui-v2 *::before, .ui-v2 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
