:root {
  --ink: #142033;
  --muted: #687184;
  --line: #dde2ea;
  --soft: #f3f5f8;
  --white: #ffffff;
  --blue: #246bfe;
  --blue-strong: #1554ce;
  --green: #158a69;
  --green-soft: #e9f7f2;
  --yellow: #f0b429;
  --yellow-soft: #fff8e5;
  --red: #c23b3b;
  --red-soft: #fff0ee;
  --shadow: 0 18px 48px rgba(23, 35, 54, .09);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eef1f5;
  font-family: Inter, "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
[hidden] { display: none !important; }

.icon { width: 18px; height: 18px; stroke-width: 1.8; flex: 0 0 auto; }
.btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s, background .18s, transform .18s;
}
.btn:hover { border-color: #b9c2d0; background: #f9fafc; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: white; border-color: var(--blue); background: var(--blue); }
.btn-primary:hover { border-color: var(--blue-strong); background: var(--blue-strong); }
.btn-danger { color: var(--red); border-color: #edcaca; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.muted { color: var(--muted); }

/* Public product page */
.site-bar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.brand-name { display: block; }
.brand-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.brand-mark { width: 26px; height: 34px; border: 2px solid var(--ink); border-radius: 5px; position: relative; display: inline-block; }
.brand-mark::before { content: ""; width: 8px; height: 3px; background: var(--ink); position: absolute; left: 7px; top: -5px; border-radius: 1px; }
.brand-mark::after { content: ""; position: absolute; inset: 8px 5px; background: linear-gradient(to top, var(--green) 70%, transparent 70%); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.language-control { position: relative; }
.language-control select { height: 38px; min-width: 152px; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 0 34px 0 12px; color: var(--ink); }

.public-shell { max-width: 1120px; margin: 0 auto; background: white; min-height: calc(100vh - 64px); box-shadow: var(--shadow); }
.product-hero { min-height: 410px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .65fr); background: #f8fafc; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 58px 56px 50px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero-copy h1 { margin: 16px 0 12px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: 0; max-width: 760px; }
.hero-copy .subtitle { margin: 0; font-size: 20px; color: #33435a; max-width: 760px; }
.hero-copy .intro { margin: 24px 0 0; color: var(--muted); max-width: 720px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.meta-chip { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line); background: white; border-radius: 99px; padding: 7px 10px; font-size: 13px; color: #3c4758; }
.hero-visual { border-left: 1px solid var(--line); display: grid; place-items: center; padding: 32px; background: #eef3f8; position: relative; overflow: hidden; }
.battery-illustration { width: 190px; height: 300px; position: relative; filter: drop-shadow(0 24px 20px rgba(20,32,51,.18)); }
.battery-cap { position: absolute; top: 0; left: 70px; width: 50px; height: 12px; border-radius: 5px 5px 2px 2px; background: #d8dde5; border: 1px solid #aeb8c7; }
.battery-body { position: absolute; inset: 10px 20px 0; overflow: hidden; border-radius: 25px 25px 18px 18px; background: linear-gradient(90deg, #dfe5eb, #fff 24%, #eef2f6 57%, #c3ccd7); border: 1px solid #aeb8c7; }
.battery-band { height: 84px; margin-top: 68px; background: var(--ink); color: white; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 22px; }
.battery-band small { display: block; color: #a8b4c5; font-size: 10px; font-weight: 650; }
.battery-plus { position: absolute; bottom: 26px; width: 100%; text-align: center; font-size: 22px; font-weight: 800; color: #3b4655; }
.product-photo { width: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(20,32,51,.16)); }
.product-qr { width: min(320px, 100%); aspect-ratio: 1; background: #fff; padding: 10px; filter: none; }
.verify-stamp { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 750; }

.product-content { padding: 48px 56px 64px; }
.section-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.section-block:first-child { padding-top: 0; }
.section-block:last-child { border: 0; padding-bottom: 0; }
.section-title { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; font-size: 21px; }
.section-title .section-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: #edf3ff; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.spec-row { min-height: 62px; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 145px 1fr; gap: 12px; }
.spec-row:nth-child(odd) { margin-right: 24px; }
.spec-label { color: var(--muted); font-size: 13px; font-weight: 650; }
.spec-value { font-weight: 560; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fbfcfd; }
.contact-panel h3 { margin: 0 0 16px; font-size: 15px; }
.contact-panel dl { margin: 0; display: grid; gap: 10px; }
.contact-panel dl div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 14px; }
.contact-panel dt { color: var(--muted); }
.contact-panel dd { margin: 0; overflow-wrap: anywhere; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--ink); color: white; text-align: left; padding: 12px; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.safety-box { border-radius: var(--radius); padding: 22px; border: 1px solid; }
.safety-box.warning { background: var(--yellow-soft); border-color: #f1d991; }
.safety-box.caution { background: var(--red-soft); border-color: #f0cac4; }
.safety-box h3 { margin: 0 0 14px; font-size: 15px; }
.safety-box ul { margin: 0; padding-left: 19px; display: grid; gap: 9px; font-size: 14px; }
.prose { color: #364357; }
.doc-list { display: grid; gap: 10px; }
.doc-link { min-height: 54px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.doc-link:hover { border-color: var(--blue); }
.doc-link.disabled { opacity: .55; pointer-events: none; }
.public-footer { padding: 28px 56px; background: var(--ink); color: #c9d1dd; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; }
.public-footer strong { color: white; }
.loading-state, .empty-state { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 32px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #dce3ec; border-top-color: var(--blue); animation: spin .8s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Index */
.index-shell { min-height: calc(100vh - 64px); background: white; }
.index-head { max-width: 1040px; margin: 0 auto; padding: 64px 24px 34px; }
.index-head h1 { font-size: 40px; margin: 12px 0 10px; }
.index-head p { margin: 0; color: var(--muted); max-width: 650px; }
.search-box { display: flex; gap: 10px; margin-top: 26px; max-width: 640px; }
.search-box input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; }
.product-list { max-width: 1040px; margin: 0 auto; padding: 0 24px 64px; display: grid; gap: 12px; }
.product-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; text-decoration: none; color: var(--ink); }
.product-item:hover { border-color: var(--blue); background: #f9fbff; }
.product-item h2 { font-size: 17px; margin: 0 0 4px; }
.product-item p { margin: 0; color: var(--muted); font-size: 14px; }
.product-code { font-family: Consolas, monospace; font-size: 13px; color: var(--blue); }

/* Admin */
.admin-body { background: #f2f4f7; }
.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 480px) 1fr; background: white; }
.login-panel { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.login-panel h1 { margin: 42px 0 8px; font-size: 30px; }
.login-panel > p { color: var(--muted); margin: 0 0 30px; }
.login-art { background: var(--ink); color: white; padding: 70px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.login-art::before { content: ""; position: absolute; width: 220px; height: 520px; border: 18px solid rgba(255,255,255,.13); border-radius: 42px; transform: rotate(28deg); right: 16%; top: -90px; }
.login-art h2 { max-width: 620px; font-size: 42px; line-height: 1.15; margin: 0 0 14px; position: relative; }
.login-art p { max-width: 580px; color: #b7c1cf; position: relative; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: #455165; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cfd6e1; border-radius: 6px; background: white; padding: 10px 11px; color: var(--ink); outline: none; }
.field input, .field select { height: 42px; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,107,254,.11); }
.form-stack { display: grid; gap: 18px; }
.form-error { color: var(--red); font-size: 13px; min-height: 20px; }

.admin-app { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { background: var(--ink); color: white; padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { color: white; padding: 0 10px 24px; }
.sidebar .brand-mark { border-color: white; }
.sidebar .brand-mark::before { background: white; }
.sidebar nav { display: grid; gap: 5px; }
.nav-button { border: 0; background: transparent; color: #acb6c5; border-radius: 6px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.nav-button.active, .nav-button:hover { background: rgba(255,255,255,.09); color: white; }
.sidebar-footer { margin-top: auto; }
.admin-main { min-width: 0; }
.admin-topbar { height: 70px; border-bottom: 1px solid var(--line); background: white; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 15; }
.admin-topbar h1 { margin: 0; font-size: 19px; }
.admin-content { padding: 28px; max-width: 1440px; margin: 0 auto; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 18px; }
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 5px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.toolbar h2 { margin: 0; font-size: 17px; }
.toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.btn.disabled { opacity: .55; pointer-events: none; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.product-table { width: 100%; border-collapse: collapse; }
.product-table th, .product-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.product-table th { color: var(--muted); font-size: 12px; font-weight: 750; background: #fafbfc; }
.product-table tr:last-child td { border-bottom: 0; }
.product-table tbody tr { cursor: pointer; }
.product-table tbody tr:hover { background: #f8faff; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 4px 9px; font-size: 12px; font-weight: 700; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.published { color: var(--green); background: var(--green-soft); }
.status.draft { color: #87670c; background: var(--yellow-soft); }

.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.editor-main { min-width: 0; }
.editor-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.editor-header h2 { margin: 0; font-size: 19px; }
.editor-actions { display: flex; gap: 8px; }
.btn-publish { border-color: #18864b; background: #18864b; color: white; }
.btn-publish:hover { border-color: #106f3d; background: #106f3d; }
.btn-unpublish { border-color: #cbd2dc; background: white; color: #344054; }
.btn-unpublish:hover { background: #f5f7fa; }
.form-section { border-bottom: 1px solid var(--line); padding: 22px; }
.form-section:last-child { border-bottom: 0; }
.form-section h3 { font-size: 15px; margin: 0 0 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.full { grid-column: 1 / -1; }
.editor-side { display: grid; gap: 14px; position: sticky; top: 88px; }
.side-panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 18px; }
.side-panel h3 { margin: 0 0 14px; font-size: 14px; }
.side-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.side-panel-heading h3 { margin: 0; }
.qr-source { color: var(--muted); font-size: 11px; }
.qr-preview { border: 1px solid var(--line); border-radius: 6px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.qr-preview img { width: 90%; height: 90%; object-fit: contain; }
.side-panel .btn { width: 100%; margin-top: 10px; }
.button-upload { cursor: pointer; }
.button-upload input { display: none; }
.translation-list { display: grid; gap: 8px; margin: 14px 0; max-height: 330px; overflow: auto; }
.language-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.language-row:last-child { border: 0; }
.language-state { color: var(--muted); font-size: 12px; }
.language-state.done { color: var(--green); }
.upload-zone { border: 1px dashed #b9c3d2; border-radius: 6px; min-height: 116px; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--muted); cursor: pointer; }
.upload-zone:hover { border-color: var(--blue); color: var(--blue); }
.upload-zone input { display: none; }
.photo-preview { max-width: 100%; max-height: 160px; object-fit: contain; margin: 8px auto; display: block; }
.image-help { margin: 8px 0 0; font-size: 11px; line-height: 1.45; }
.document-items { display: grid; gap: 8px; margin-top: 12px; }
.document-item { border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; }
.document-item strong, .document-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-item span { color: var(--muted); font-size: 11px; }
.marks-image { width: 100%; max-height: 360px; object-fit: contain; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9fc; }
.marks-upload { margin-top: 14px; max-width: 520px; }
.marks-image-preview { display: block; width: 100%; max-height: 220px; object-fit: contain; margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9fc; }
.marks-fixed-help { margin: 12px 0 0; font-size: 12px; }
.fixed-marks { display: grid; gap: 22px; }
.mark-symbols { min-height: 190px; padding: 20px 28px; border: 1px solid #cad9f3; border-radius: 8px; background: #f4f7fc; display: flex; align-items: center; justify-content: flex-start; gap: clamp(24px, 7vw, 72px); }
.mark-symbols img { width: min(24%, 190px); height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.mark-warning { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 26px; align-items: center; }
.mark-warning-copy { min-width: 0; }
.mark-warning-copy strong { display: inline-block; padding: 8px 12px; border-radius: 6px; background: #ffd000; color: #111; font-size: 18px; }
.mark-warning-copy p { display: inline; margin-left: 8px; color: var(--ink); font-weight: 700; line-height: 1.7; }
.mark-warning-copy small { display: block; margin-top: 16px; padding: 7px 10px; border-radius: 5px; background: white; color: #111; font-size: 13px; line-height: 1.55; }
.mark-warning > img { width: 100%; max-height: 174px; object-fit: contain; }
.marks-note { margin-top: 18px; }
.language-editor-select { margin-top: 18px; }
.translation-editor { display: grid; gap: 12px; margin: 14px 0 16px; max-height: 520px; overflow: auto; padding-right: 2px; }
.translation-editor .field { min-width: 0; }
.translation-editor .field textarea { min-height: 72px; }
.toast { position: fixed; right: 24px; bottom: 24px; min-width: 260px; max-width: 420px; background: var(--ink); color: white; border-radius: 6px; padding: 13px 16px; box-shadow: var(--shadow); z-index: 100; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }
.mobile-menu { display: none; }

/* Document viewer */
.document-body { margin: 0; min-height: 100vh; background: #e8ebef; color: var(--ink); }
.document-toolbar { min-height: 66px; padding: 10px 18px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(15, 29, 50, .08); }
.document-identity, .document-actions, .zoom-control { display: flex; align-items: center; }
.document-identity { gap: 11px; min-width: 0; }
.document-identity > div { display: grid; gap: 2px; min-width: 0; }
.document-identity strong, .document-identity span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-identity strong { font-size: 14px; }
.document-identity span { color: var(--muted); font-size: 12px; }
.document-actions { gap: 12px; flex: none; }
.zoom-control { height: 38px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; }
.zoom-control .icon-button { border: 0; border-radius: 0; }
.zoom-control span { width: 54px; text-align: center; font-size: 12px; font-weight: 700; }
.icon-button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: #f5f7fa; }
.icon-button svg { width: 18px; height: 18px; }
.document-shell { min-height: calc(100vh - 66px); padding: 28px 16px 48px; overflow: auto; }
.document-status { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.document-status p { margin: 0; }
.document-status.error strong { color: var(--red); font-size: 17px; }
.pdf-pages { display: grid; justify-items: center; gap: 24px; }
.pdf-page { margin: 0; position: relative; background: white; box-shadow: 0 4px 18px rgba(15, 29, 50, .16); overflow: hidden; border-radius: 2px; }
.pdf-page canvas { display: block; max-width: none; }
.pdf-page-number { position: absolute; right: 10px; bottom: 8px; padding: 3px 7px; border-radius: 4px; background: rgba(16, 35, 63, .78); color: white; font-size: 11px; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr 280px; }
  .hero-copy { padding: 42px 34px; }
  .product-content { padding: 36px 34px 52px; }
  .spec-grid, .safety-grid { grid-template-columns: 1fr; }
  .spec-row:nth-child(odd) { margin-right: 0; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-bar { height: auto; min-height: 58px; padding: 10px 16px; flex-wrap: wrap; gap: 9px; }
  .brand-name { font-size: 14px; }
  .site-actions { width: 100%; }
  .site-actions .btn { display: inline-flex; flex: 0 0 auto; }
  .language-control { flex: 1; min-width: 0; }
  .language-control select { width: 100%; min-width: 0; height: 36px; font-size: 13px; }
  .public-shell { box-shadow: none; }
  .product-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 38px 22px 30px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .subtitle { font-size: 17px; }
  .hero-visual { min-height: 260px; border-left: 0; border-top: 1px solid var(--line); }
  .battery-illustration { transform: scale(.72); height: 240px; }
  .product-content { padding: 30px 20px 44px; }
  .section-block { padding: 30px 0; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel dl div { grid-template-columns: 86px 1fr; }
  .data-scroll { overflow-x: auto; }
  .data-table { min-width: 620px; }
  .public-footer { padding: 24px 20px; flex-direction: column; }
  .index-head { padding-top: 44px; }
  .index-head h1 { font-size: 32px; }
  .search-box { flex-direction: column; }
  .login-screen { grid-template-columns: 1fr; }
  .login-panel { padding: 36px 24px; }
  .login-art { display: none; }
  .admin-app { grid-template-columns: 1fr; grid-template-rows: 60px minmax(0, 1fr); }
  .sidebar { height: 60px; position: sticky; z-index: 30; padding: 0 14px; flex-direction: row; align-items: center; }
  .sidebar .brand { padding: 0; }
  .sidebar nav { display: none; }
  .sidebar-footer { margin: 0 0 0 auto; }
  .sidebar-footer .nav-button span { display: none; }
  .admin-topbar { position: static; height: 60px; padding: 0 16px; }
  .admin-content { padding: 18px 14px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .btn { flex: 1 1 145px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .panel.table-panel { overflow-x: auto; }
  .product-table { min-width: 680px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .editor-header { align-items: flex-start; flex-direction: column; }
  .editor-actions { width: 100%; }
  .editor-actions .btn { flex: 1; }
  .editor-side { grid-template-columns: 1fr; }
  .document-toolbar { min-height: 58px; padding: 8px 10px; }
  .document-identity { max-width: calc(100vw - 205px); }
  .document-actions { gap: 7px; }
  .document-actions .btn span { display: none; }
  .zoom-control span { width: 44px; }
  .document-shell { padding: 18px 8px 34px; }
  .pdf-pages { gap: 14px; }
  .mark-symbols { min-height: 120px; padding: 14px; gap: 14px; justify-content: space-between; }
  .mark-symbols img { width: 29%; height: 96px; }
  .mark-warning { min-height: 180px; padding: 16px; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .mark-warning-copy strong { font-size: 15px; }
  .mark-warning-copy p { display: block; margin: 10px 0 0; font-size: 13px; }
  .mark-warning-copy small { font-size: 11px; }
}
