:root {
  --ink: #18202b;
  --muted: #727b88;
  --line: #e6e9ee;
  --paper: #ffffff;
  --canvas: #f5f6f8;
  --accent: #0b4ea2;
  --accent-dark: #083b7b;
  --accent-soft: #eaf2fc;
  --brand-orange: #f18700;
  --warning: #c56b00;
  --shadow: 0 12px 34px rgba(22, 32, 43, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; padding-bottom: 32px; }
.screen { min-height: 100vh; }
.login-screen { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 22px 24px; background: #f6f8fb; }
.brand-identity { display: flex; align-items: center; gap: 11px; }
.brand-logo-frame { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid #e0e7f0; box-shadow: 0 8px 16px rgba(11, 78, 162, .12); }
.brand-logo-frame img { width: 52px; height: 52px; object-fit: contain; }
.brand-short { display: block; color: var(--accent-dark); font-size: 19px; line-height: 1.2; }
.brand-full { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.brand-kicker { margin: 30px 0 8px; color: var(--brand-orange); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.login-screen h1 { margin: 0; font-size: 30px; letter-spacing: 0; line-height: 1.2; }
.login-screen .intro { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.login-card { margin-top: 38px; padding: 22px 18px 18px; background: rgba(255,255,255,.92); border: 1px solid rgba(230,233,238,.85); border-radius: 8px; box-shadow: var(--shadow); }
.field { display: block; margin-bottom: 15px; }
.field-label { display: block; margin-bottom: 7px; color: #4f5967; font-size: 13px; font-weight: 650; }
.input, .select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfd; color: var(--ink); padding: 0 13px; outline: none; }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,78,162,.12); }
.primary-button { width: 100%; min-height: 49px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 750; transition: background .15s ease, transform .15s ease; }
.primary-button:active { background: var(--accent-dark); transform: translateY(1px); }
.secondary-button { width: 100%; min-height: 45px; border: 1px solid #d8a25a; border-radius: 6px; background: #fff8eb; color: #9b5b05; font-weight: 750; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.secondary-button:active { border-color: #b9791e; background: #ffedca; transform: translateY(1px); }
.text-button { border: 0; background: transparent; color: var(--accent); padding: 8px 0; font-weight: 650; }
.login-note { color: var(--muted); font-size: 12px; line-height: 1.7; }
.login-note strong { color: var(--accent-dark); font-size: 12px; }
.password-required-screen { justify-content: flex-start; }
.password-required-copy { margin-top: 35px; }
.password-required-copy h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.topbar-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.topbar-brand > div:last-child { min-width: 0; }
.topbar-logo-frame { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #fff; border: 1px solid #dce5f0; }
.topbar-logo-frame img { width: 32px; height: 32px; object-fit: contain; }
.topbar-title { overflow: hidden; font-size: 18px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.topbar-subtitle { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 800; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: #596473; }
.password-button { min-width: 66px; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: #596473; font-size: 12px; font-weight: 650; white-space: nowrap; }
.logout-button { min-width: 66px; height: 36px; padding: 0 9px; border: 1px solid #dca99f; border-radius: 6px; background: #fff7f5; color: #a5412f; font-size: 12px; font-weight: 700; white-space: nowrap; }
.logout-button:active { border-color: #bd5c48; background: #ffe8e2; }
.content { padding: 0 16px; }
.hero-card { padding: 22px 20px; border-radius: 8px; background: var(--accent); color: #fff; box-shadow: 0 14px 28px rgba(11,78,162,.2); border-top: 3px solid var(--brand-orange); }
.admin-hero { background: #183f73; }
.admin-title { font-size: 28px; }
.hero-label { opacity: .8; font-size: 13px; }
.hero-amount { margin-top: 7px; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: 0; }
.hero-amount small { margin-left: 4px; font-size: 15px; font-weight: 600; }
.hero-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; opacity: .88; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 25px 2px 11px; }
.section-heading h2 { margin: 0; font-size: 16px; }
.section-heading span { color: var(--muted); font-size: 12px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px rgba(22,32,43,.03); }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; }
.status-copy strong { display: block; font-size: 14px; }
.status-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.status-pill { padding: 5px 8px; border-radius: 4px; background: #f1f3f5; color: #727b88; font-size: 11px; font-weight: 700; }
.status-pill.done { background: var(--accent-soft); color: var(--accent-dark); }
.status-pill.pending { background: #fff2d9; color: #9b5b05; }
.status-text { font-weight: 700; }
.status-pending { color: #a66100 !important; }
.status-submitted { color: var(--accent-dark) !important; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary-stat { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.summary-stat span { color: var(--muted); font-size: 12px; }
.summary-stat strong { display: block; margin-top: 7px; font-size: 21px; }
.summary-stat strong small { font-size: 12px; font-weight: 600; }
.submission-panel { padding: 16px; }
.date-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.date-tab { min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfd; color: var(--muted); font-size: 13px; font-weight: 650; }
.date-tab.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.locked-note { padding: 10px 12px; background: #f3f7f7; color: var(--accent-dark); border-left: 3px solid var(--accent); font-size: 12px; line-height: 1.5; }
.pending-note { border-left-color: #dc901c; background: #fff8e9; color: #8c5708; }
.entry-list { display: flex; flex-direction: column; gap: 10px; }
.entry { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fcfdfd; }
.entry-head { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.entry .field { margin: 0; }
.entry .input, .entry .select { min-height: 42px; padding: 0 10px; font-size: 13px; }
.entry-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.subtotal { color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.remove-button { flex: 0 0 auto; min-width: 60px; min-height: 40px; padding: 0 10px; border: 1px solid #d97761; border-radius: 6px; background: #fff3f0; color: #ad402b; font-size: 13px; font-weight: 750; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.remove-button:active { border-color: #b94d37; background: #ffe1da; transform: translateY(1px); }
.add-row { width: 100%; min-height: 42px; margin-top: 11px; border: 1px dashed #9bb8dc; border-radius: 6px; background: #f5f9fe; color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.total-bar { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.total-bar span { color: var(--muted); font-size: 13px; }
.total-bar strong { color: var(--accent-dark); font-size: 24px; }
.submit-button { margin-top: 13px; }
.readonly-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.readonly-line:last-child { border-bottom: 0; }
.readonly-main strong { display: block; font-size: 14px; }
.readonly-main span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.readonly-total { text-align: right; color: var(--accent-dark); font-size: 14px; font-weight: 800; }
.record-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.record-review { margin-top: 6px; color: var(--accent-dark); font-size: 11px; }
.pending-review { color: #a66100; font-weight: 700; }
.empty { padding: 25px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.history-list { overflow: hidden; }
.history-month-field { margin: 14px 0 0; padding: 14px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.history-month-field .input { display: block; width: 100%; min-width: 0; max-width: 100%; height: 48px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #657181 50%), linear-gradient(135deg, #657181 50%, transparent 50%); background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.history-row { padding: 13px 15px; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.history-date { font-size: 13px; }
.history-date small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.history-amount { color: var(--accent-dark); font-weight: 750; font-size: 14px; }
.history-details { margin-top: 10px; padding: 9px 10px; border-left: 3px solid #cbdcf1; background: #f7faff; }
.history-detail-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; }
.history-detail-line + .history-detail-line { border-top: 1px solid #e7eef7; }
.history-detail-line strong { display: block; font-size: 12px; font-weight: 700; }
.history-detail-line span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.history-detail-line b { flex: 0 0 auto; color: var(--accent-dark); font-size: 12px; }
.company-footer { margin: 24px 0 0; color: #929aa6; font-size: 11px; text-align: center; }
.admin-avatar { background: #fff1df; color: #a95c00; }
.admin-function-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.admin-function { width: 100%; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: 0 3px 12px rgba(22,32,43,.04); }
.admin-function span { min-width: 0; }
.admin-function strong { display: block; font-size: 17px; }
.admin-function small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-function b { flex: 0 0 auto; min-width: 40px; color: var(--accent); font-size: 13px; text-align: right; }
.review-function { border-left-color: var(--brand-orange); }
.review-function b { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff0dc; color: #a95c00; font-size: 14px; }
.form-function { border-left-color: #287d70; }
.form-function b { color: #236b60; }
.form-entry-function { border-left-color: #b56b25; }
.form-entry-function b { color: #a45d17; }
.price-function { border-left-color: #2e7d63; }
.price-function b { color: #23624f; }
.change-function { border-left-color: #7652a8; }
.change-function b { color: #63418f; }
.back-button { display: inline-flex; align-items: center; justify-content: flex-start; width: auto; min-height: 42px; margin: 2px 0 14px; padding: 0 14px; border: 1px solid #9bb8dc; border-radius: 6px; background: #f5f9fe; color: var(--accent-dark); font-size: 14px; font-weight: 750; }
.back-button:active { border-color: var(--accent); background: var(--accent-soft); }
.review-hero { background: #2d5267; }
.production-form-hero { background: #3e635f; }
.production-upload-panel, .production-filter-panel { margin-top: 14px; padding: 16px; }
.production-upload-panel h2 { margin: 0 0 14px; font-size: 16px; }
.production-upload-grid, .production-filter-grid { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
.production-upload-grid .field, .production-filter-grid .field { min-width: 0; }
.production-upload-panel .input, .production-upload-panel .select, .production-filter-panel .input, .production-filter-panel .select { display: block; width: 100%; min-width: 0; max-width: 100%; height: 48px; min-height: 48px; padding: 0 13px; font-size: 16px; }
.production-upload-panel input[type="date"], .production-filter-panel input[type="month"], .production-filter-panel input[type="date"] { box-sizing: border-box; inline-size: 100%; max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #657181 50%), linear-gradient(135deg, #657181 50%, transparent 50%); background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.production-file-label { display: block; margin: 4px 0 12px; color: var(--muted); font-size: 12px; font-weight: 650; }
.production-file-label input { display: block; width: 100%; margin-top: 7px; padding: 10px; border: 1px dashed #9bb8dc; border-radius: 6px; background: #f5f9fe; color: var(--ink); font-size: 12px; }
.production-preview { display: block; width: 100%; max-height: 240px; margin: 0 0 12px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #f7f8fa; }
.production-filter-panel .primary-button { margin-top: 2px; }
.production-form-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.production-form-card { overflow: hidden; }
.production-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.production-form-head strong { display: block; font-size: 14px; }
.production-form-head div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.production-form-uploader { flex: 0 0 auto; color: var(--ink); font-size: 12px; font-weight: 700; text-align: right; }
.production-form-uploader small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.production-form-thumb { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #f5f6f8; }
.production-form-thumb, .history-photo-thumb, .admin-photo-thumb { cursor: zoom-in; }
.production-entry-thumb { display: block; width: 100%; height: 170px; object-fit: cover; background: #f5f6f8; cursor: zoom-in; }
.production-entry-card .production-form-actions { padding-top: 10px; }
.production-entry-photo-panel { overflow: hidden; margin-top: 12px; padding: 0; }
.production-entry-photo-meta { padding: 14px 15px; border-bottom: 1px solid var(--line); }
.production-entry-photo-meta strong { display: block; font-size: 15px; }
.production-entry-photo-meta span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.production-entry-detail-image { display: block; width: 100%; max-height: 62vh; min-height: 180px; object-fit: contain; background: #f5f6f8; cursor: zoom-in; }
.production-entry-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.production-entry-detail-actions .primary-button, .production-entry-detail-actions .secondary-button { min-height: 48px; }
.history-photo-thumb, .admin-photo-thumb { display: block; width: 74px; height: 74px; margin-top: 10px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #f5f6f8; }
.production-form-actions { padding: 12px 15px 15px; }
.production-form-actions .primary-button { min-height: 44px; font-size: 13px; }
.review-refresh { margin-top: 12px; }
.price-hero { background: #245b4b; }
.change-hero { background: #59427a; }
.price-product-list { display: flex; flex-direction: column; gap: 12px; }
.price-product { overflow: hidden; }
.price-product-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px; border-bottom: 1px solid var(--line); background: #f7faf9; }
.price-product-head > div { min-width: 0; }
.price-product-head strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.price-product-head div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.config-status { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.config-status.active { background: #e7f5ef; color: #23624f; }
.config-status.inactive { background: #f1f2f4; color: #747d89; }
.price-process-list { padding: 0 15px; }
.price-process { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-process:last-child { border-bottom: 0; }
.price-process > div:first-child { min-width: 0; }
.price-process > div:first-child strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.price-process > div:first-child span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.price-value { flex: 0 0 auto; text-align: right; }
.price-value strong { display: block; color: var(--accent-dark); font-size: 16px; }
.price-value span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.change-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; padding: 16px; }
.change-filter .field { min-width: 0; margin: 0; }
.change-filter .input, .change-filter .select { display: block; width: 100%; min-width: 0; max-width: 100%; height: 46px; min-height: 46px; padding: 0 12px; font-size: 16px; }
.change-filter input[type="month"] {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #657181 50%), linear-gradient(135deg, #657181 50%, transparent 50%);
  background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.change-filter .primary-button { width: 100%; min-height: 46px; margin: 0; padding: 0 12px; }
.change-log-list { display: flex; flex-direction: column; gap: 12px; }
.change-log { overflow: hidden; }
.change-log-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 15px; border-bottom: 1px solid var(--line); background: #faf8fd; }
.change-log-head > div { min-width: 0; }
.change-log-head strong { display: block; color: #63418f; font-size: 14px; }
.change-log-head div > span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.change-operator { flex: 0 0 auto; color: var(--ink); font-size: 12px; font-weight: 700; text-align: right; }
.change-operator small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.change-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 15px 15px; }
.change-compare section { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.change-compare h3 { margin: 0 0 7px; color: var(--muted); font-size: 12px; }
.change-lines { display: flex; flex-direction: column; gap: 7px; }
.change-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid #edf0f4; }
.change-line:last-child { padding-bottom: 0; border-bottom: 0; }
.change-line > div { min-width: 0; }
.change-line strong { display: block; overflow-wrap: anywhere; font-size: 11px; }
.change-line span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.change-line b { flex: 0 0 auto; color: var(--accent-dark); font-size: 11px; }
.change-total { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: right; }
.change-total strong { color: var(--accent-dark); font-size: 13px; }
.change-empty { color: var(--muted); font-size: 11px; }
.admin-query-panel { padding: 16px; }
.admin-query-panel .field { min-width: 0; }
.admin-query-panel .select,
.admin-query-panel .input { display: block; width: 100%; min-width: 0; max-width: 100%; height: 48px; min-height: 48px; padding: 0 13px; font-size: 16px; }
.admin-query-panel input[type="month"],
.admin-query-panel input[type="date"] {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #657181 50%), linear-gradient(135deg, #657181 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.admin-query-panel .field:last-of-type { margin-bottom: 18px; }
.admin-entry-button { margin-top: 10px; }
.admin-summary { display: flex; align-items: baseline; justify-content: space-between; padding: 15px 16px; }
.admin-summary span { color: var(--muted); font-size: 13px; }
.admin-summary strong { color: var(--accent-dark); font-size: 24px; }
.admin-records { display: flex; flex-direction: column; gap: 10px; margin-top: 11px; }
.admin-record { padding: 13px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.admin-record-clickable { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.admin-record-clickable:active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(11,78,162,.1); }
.admin-record-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 13px; }
.admin-record-head b { color: var(--accent-dark); font-size: 14px; }
.admin-record-action { margin-top: 10px; color: var(--accent); font-size: 12px; font-weight: 700; text-align: right; }
.review-list { margin-top: 14px; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-actions .primary-button, .review-actions .secondary-button { min-height: 44px; font-size: 13px; }
.admin-edit-panel { margin-top: 12px; padding: 16px; scroll-margin-top: 12px; }
.admin-edit-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.admin-edit-heading h2 { margin: 0; font-size: 16px; }
.admin-edit-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 22px; transform: translate(-50%, 15px); max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 6px; background: #27313d; color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 50px 20px; color: var(--muted); text-align: center; }
.image-viewer { position: fixed; z-index: 50; inset: 0; padding: 18px; overflow: hidden; background: rgba(12, 18, 26, .9); }
.image-viewer-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.image-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 35px rgba(0,0,0,.35); transform-origin: center center; user-select: none; -webkit-user-drag: none; will-change: transform; }
.image-viewer-stage.is-zoomed img { cursor: grab; }
.image-viewer-stage.is-dragging img { cursor: grabbing; }
.image-viewer-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 28px; line-height: 1; }
@media (pointer: fine) { .image-viewer-stage img { cursor: grab; } .image-viewer-stage.is-dragging img { cursor: grabbing; } }
@media (min-width: 601px) { .image-viewer img { max-width: calc(100vw - 36px); max-height: calc(100vh - 36px); } }
@media (max-width: 380px) {
  .topbar { padding: 16px 12px; }
  .topbar-brand { gap: 6px; }
  .topbar-logo-frame { width: 30px; height: 30px; }
  .topbar-logo-frame img { width: 28px; height: 28px; }
  .topbar-title { font-size: 16px; }
  .topbar-subtitle { max-width: 100px; font-size: 11px; }
  .topbar-actions { gap: 4px; }
  .password-button, .logout-button { min-width: 56px; padding: 0 5px; font-size: 11px; }
  .avatar { width: 32px; height: 32px; }
}
@media (min-width: 481px) { .app-shell { border-left: 1px solid #e9ebee; border-right: 1px solid #e9ebee; } }
