/* Standalone device workspace — shared administrative visual language. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; font-synthesis: none;
  --bg: #f6fbff; --text: #12213a; --muted: #60718a;
  --line: rgba(119,157,201,.25); --brand: #2d5dd7; --brand-2: #63d5dc;
  --red: #b91c1c; --sidebar-width: 248px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 15% 4%,rgba(99,213,220,.22),transparent 28%),radial-gradient(circle at 88% 0%,rgba(45,93,215,.14),transparent 32%),linear-gradient(180deg,#fbfdff 0%,var(--bg) 48%,#edf7ff 100%); }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid #8ab2f5; outline-offset: 2px; }
a { color: #315cb6; text-decoration: none; }
[hidden] { display: none !important; }
.workspace { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 12px 11px; display: flex; flex-direction: column; gap: 10px; overflow: auto; border-right: 1px solid rgba(108,158,213,.24); background: linear-gradient(180deg,rgba(255,255,255,.88),rgba(246,251,255,.78)); box-shadow: 18px 0 48px rgba(43,91,158,.08); backdrop-filter: blur(18px); z-index: 15; }
.sidebar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 10%,rgba(99,213,220,.24),transparent 24%),linear-gradient(180deg,rgba(45,93,215,.08),transparent 42%); pointer-events: none; }
.sidebar>* { position: relative; }
.brand { display: grid; gap: 2px; padding: 3px 5px 10px; border-bottom: 1px solid rgba(78,128,190,.18); }
.brand-heading { display: flex; align-items: center; gap: 9px; height: 72px; color: #214b9c; }
.brand-heading i { font-size: 30px; }
.brand-heading strong { font-size: 22px; letter-spacing: -.5px; }
.brand-copy { padding: 7px 8px 7px 10px; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; background: linear-gradient(90deg,rgba(45,93,215,.08),rgba(99,213,220,.08)); }
.brand-copy strong { display: block; font-size: 14px; color: #1e3f78; }
.brand-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.nav-label { padding: 7px 10px 3px; font-size: 12px; font-weight: 700; color: #647a99; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 0 10px; text-align: left; border: 1px solid rgba(110,158,210,.22); border-radius: 8px; color: #284469; background: rgba(255,255,255,.66); box-shadow: 0 8px 20px rgba(55,109,177,.05); font-size: 13px; font-weight: 700; transition: background .18s,border-color .18s; }
.sidebar nav i { font-size: 17px; font-weight: 400; }
.sidebar nav button:hover,.sidebar nav button.active { background: linear-gradient(135deg,rgba(45,93,215,.10),rgba(99,213,220,.20)); border-color: rgba(45,93,215,.26); color: #153a88; }
.sidebar-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid var(--line); padding: 17px 4px 3px; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e7effc; color: #315cb6; }
.sidebar-bottom strong,.sidebar-bottom small { display: block; font-size: 12px; }
.sidebar-bottom small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.sidebar-bottom .icon-btn { margin-left: auto; }
.main-shell { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { min-height: 66px; padding: 9px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(31,71,128,.04); }
.topbar-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar h1 { margin: 0; font-size: 21px; line-height: 1.25; }
.topbar p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.top-meta,.actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.top-meta { flex-wrap: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 11px; border: 1px solid rgba(112,154,206,.26); border-radius: 8px; background: rgba(255,255,255,.76); color: var(--text); white-space: nowrap; text-decoration: none; box-shadow: 0 5px 14px rgba(31,71,128,.06); }
.btn:hover { border-color: #b7cbe4; box-shadow: 0 10px 22px rgba(31,71,128,.11); }
.btn.primary { background: linear-gradient(135deg,var(--brand),#2f86d8 58%,var(--brand-2)); color: #fff; border-color: transparent; }
.btn.danger { background: #fee2e2; color: var(--red); }
.btn.small { min-height: 32px; padding: 0 10px; font-size: 12px; }
.btn.link { min-height: 26px; padding: 2px 5px; border: 0; border-radius: 5px; background: transparent; color: #315cb6; box-shadow: none; font-size: 11px; font-weight: 700; }
.btn.link:hover { background: #eef4ff; }
.btn.full { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #526178; font-size: 18px; }
#menuBtn { display: none; }
main { padding: 14px 16px 20px; min-height: calc(100vh - 115px); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 108px; padding: 12px 15px; margin-bottom: 10px; border: 1px solid #dce5f0; border-radius: 10px; background: rgba(255,255,255,.94); }
.page-copy { flex: 1 1 310px; min-width: 260px; }
.title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head h2 { margin: 0; color: #17233b; font-size: 20px; line-height: 1.3; }
.page-head p { color: #738096; font-size: 11px; line-height: 1.55; margin: 3px 0 0; }
.sync-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid #bbdfd0; border-radius: 7px; background: #effaf5; color: #147a57; font-size: 11px; font-weight: 700; }
.sync-chip.warning { border-color: #f1d39c; background: #fff8e9; color: #9a5a00; }
.page-controls { flex: 1 1 520px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; min-width: 0; }
.filters { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.filters label { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; min-height: 36px; padding: 0 10px; border: 1px solid #d8dee9; border-radius: 8px; background: #fff; }
.filters label span { color: #667085; font-size: 12px; font-weight: 700; white-space: nowrap; }
.filters input,.filters select { min-width: 0; min-height: 36px; border: 0; background: transparent; color: #26334d; }
.filters input { width: 132px; }
.filters select { width: 152px; }
#content { display: grid; gap: 10px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 0 8px; border: 1px solid #dce5f0; border-radius: 10px; background: rgba(255,255,255,.97); }
.kpi { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 9px; min-height: 82px; padding: 11px 12px; border-right: 1px solid #e5ebf3; }
.kpi:last-child { border-right: 0; }
.kpi-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #eef4ff; color: #3165cf; font-size: 16px; }
.kpi.ok .kpi-icon { background: #eaf9f3; color: #148660; }
.kpi.danger .kpi-icon { background: #fff0f2; color: #cc3345; }
.kpi .label { display: block; color: #78859a; font-size: 11px; }
.kpi .value { display: block; margin-top: 2px; color: #17233b; font-size: 21px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi .note { display: block; margin-top: 4px; color: #7b8799; font-size: 10px; }
.overview-grid { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(280px,1fr); gap: 10px; }
.panel { min-width: 0; border: 1px solid #dce5f0; border-radius: 10px; background: rgba(255,255,255,.96); overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 15px 10px; }
.panel-head h2 { margin: 0; color: #17233b; font-size: 17px; }
.panel-head p { margin: 4px 0 0; color: #738096; font-size: 11px; line-height: 1.55; }
.trend-panel,.supplier-panel { min-height: 330px; padding: 13px 15px 11px; }
.overview-grid .panel-head { padding: 0; }
.overview-grid h2 { font-size: 15px; }
.overview-grid .panel-head p { margin-top: 3px; font-size: 10px; }
.tiny { color: #7b8799; font-size: 10px; font-weight: 400; }
.trend-layout { display: grid; grid-template-columns: minmax(0,1fr) 156px; gap: 14px; margin-top: 8px; }
.trend-main { min-width: 0; }
.trend-legend { display: flex; align-items: center; gap: 17px; min-height: 24px; font-size: 10px; color: #66758b; }
.trend-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.trend-legend i { width: 17px; border-top: 2px solid #10a9c4; }
.chart { display: block; width: 100%; height: 188px; }
.chart text { font-size: 10px; fill: #7d899b; }
.chart .grid { stroke: #edf1f6; }
.chart .line { stroke: #10a9c4; stroke-width: 2; fill: none; }
.chart .dot { fill: #10a9c4; stroke: #fff; stroke-width: 1.5; }
.chart-wrap { min-height: 188px; }
.chart-wrap .empty { padding: 28px 12px; }
.chart-wrap .empty-symbol { display: none; }
.progress-stats { display: grid; grid-template-columns: 1fr; align-content: center; margin: 16px 0 6px; border-left: 1px solid #e5ebf3; }
.progress-stats>div { padding: 5px 0 5px 14px; min-height: 38px; border-bottom: 1px solid #edf1f6; }
.progress-stats>div:last-child { border: 0; }
.progress-stats span { display: block; font-size: 10px; color: #7a8698; }
.progress-stats strong { display: block; margin-top: 2px; font-size: 15px; color: #234fb4; }
.progress-stats .ok strong { color: #15966b; }
.status-distribution { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid #edf1f6; }
.progress-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11px; color: #68758a; }
.progress-legend span { display: inline-flex; align-items: center; gap: 6px; }
.progress-legend i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b2; }
.progress-legend i.achieved { background: #22aa78; }
progress { width: 100%; height: 6px; border: 0; border-radius: 999px; background: #e8ebf0; color: #3973e7; overflow: hidden; appearance: none; }
progress::-webkit-progress-bar { background: #e8ebf0; border-radius: 999px; }
progress::-webkit-progress-value { background: #3973e7; border-radius: 999px; }
progress::-moz-progress-bar { background: #3973e7; }
.status-distribution progress { height: 8px; }
.status-distribution progress::-webkit-progress-value { background: #22aa78; }
.chart-notice { margin-top: 7px; color: #7d899b; font-size: 9px; line-height: 1.4; }
.supplier-list { margin-top: 13px; }
.supplier-list-head,.supplier-row { display: grid; grid-template-columns: minmax(70px,1fr) 58px minmax(100px,1.2fr); align-items: center; gap: 10px; }
.supplier-list-head { min-height: 32px; padding: 0 2px; border-bottom: 1px solid #e6ebf2; color: #7b8799; font-size: 10px; font-weight: 700; }
.supplier-list-head span:last-child { text-align: right; }
.supplier-row { min-height: 57px; padding: 8px 2px; border-bottom: 1px solid #edf1f6; color: #526178; font-size: 11px; }
.supplier-row:last-child { border: 0; }
.supplier-row>b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #25324a; }
.supplier-rate { display: grid; grid-template-columns: minmax(40px,1fr) 42px; align-items: center; gap: 8px; }
.supplier-rate b { text-align: right; font-size: 11px; color: #34425a; }
.data-health { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 12px; border: 1px solid #c7e4d8; border-radius: 9px; background: #f2fbf7; color: #257359; font-size: 12px; }
.data-health.warning { border-color: #efd4a2; background: #fff9ed; color: #8f5b00; }
.data-health span { font-size: 11px; }
.status-tabs { display: flex; gap: 16px; padding: 0 14px; overflow-x: auto; border-bottom: 1px solid #e0e5ed; }
.status-tabs button { min-height: 36px; flex-shrink: 0; padding: 0; border: 0; border-bottom: 2px solid transparent; color: #737f90; background: transparent; font-size: 11px; }
.status-tabs button.active { color: #315cb6; border-bottom-color: #315cb6; font-weight: 700; }
.table-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 14px; }
.table-tools input { width: 280px; }
input,select,textarea { min-width: 0; }
.table-tools input,.table-tools select { min-height: 36px; padding: 6px 10px; border: 1px solid #d8dee9; border-radius: 8px; color: #26334d; background: #fff; }
.table-wrap { overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 11px; }
th { height: 42px; padding: 9px 12px; border-block: 1px solid #e5ebf3; background: #f8faff; color: #738096; font-size: 10px; font-weight: 600; }
td { height: 62px; padding: 9px 12px; border-bottom: 1px solid #edf1f6; color: #34425a; line-height: 1.35; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7faff; }
.mono { color: #25324a; font-size: 11px; font-weight: 700; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
td .sub { display: block; margin-top: 4px; color: #7d899b; font-size: 10px; }
.num { font-weight: 700; color: #25324a; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; background: #edf1f6; color: #64748b; font-size: 10px; }
.badge.green { background: #e8f8f0; color: #16815d; }
.badge.amber { background: #fff5df; color: #a56508; }
.badge.red { background: #fff0f2; color: #b32332; }
.badge.blue { background: #eef4ff; color: #3165cf; }
.row-progress { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 9px; color: #7d899b; }
.row-progress progress { width: 60px; height: 5px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid #e5ebf3; color: #7b8799; font-size: 11px; }
.empty { padding: 35px 18px; text-align: center; white-space: normal; }
.empty-symbol { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 10px; background: #eef4ff; color: #7791ba; font-size: 23px; }
.empty h3 { margin: 0 0 8px; color: #526178; font-size: 14px; font-weight: 600; }
.empty p { max-width: 400px; margin: 0 auto 14px; color: #7d899b; font-size: 12px; line-height: 1.7; }
.intro-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid #cbdcf7; border-radius: 10px; background: #f3f8ff; }
.intro-card h2 { margin: 0 0 8px; font-size: 16px; color: #214b9c; }
.intro-card p { margin: 0; color: #60718a; font-size: 12px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.step { padding: 20px; border: 1px solid #dce5f0; border-radius: 10px; background: rgba(255,255,255,.96); }
.step-no { color: #315cb6; font-size: 11px; }
.step h2 { font-size: 17px; }
.step p { min-height: 45px; color: #738096; font-size: 12px; line-height: 1.8; }
.step .actions { justify-content: flex-start; margin-top: 20px; }
.muted { color: var(--muted); }
.loading { padding: 60px; text-align: center; color: #7b8799; }
.form-error { color: var(--red); font-size: 12px; white-space: pre-wrap; }
.notice { margin: 12px 0 18px; padding: 12px 14px; border: 1px solid #efd4a2; border-radius: 8px; background: #fff9ed; color: #8f5b00; line-height: 1.8; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .wide { grid-column: 1/-1; }
label.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #526178; }
label.field input,label.field select,label.field textarea { width: 100%; min-height: 38px; padding: 9px 11px; border: 1px solid #d8dee9; border-radius: 8px; background: #fff; color: #26334d; }
label.field small { color: #7d899b; font-size: 11px; line-height: 1.6; }
textarea { min-height: 75px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e5ebf3; }
.check { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0; font-size: 12px; line-height: 1.8; color: #8f5b00; }
.check input { margin-top: 5px; }
dialog { width: min(800px,calc(100% - 32px)); max-height: 90dvh; padding: 0; border: 1px solid rgba(103,157,213,.25); border-radius: 12px; background: #fff; box-shadow: 0 28px 80px rgba(40,84,150,.22); color: var(--text); }
dialog::backdrop { background: rgba(18,33,58,.42); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e5ebf3; background: #f8fbff; }
.dialog-head h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
#dialogBody { padding: 20px; }
#dialogBody .panel { margin: 16px 0; }
.detail-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.detail-facts dt { margin-bottom: 7px; color: #7d899b; font-size: 11px; }
.detail-facts dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.section-label { margin: 24px 0 13px; font-size: 14px; color: #214b9c; }
.error-list { max-height: 180px; overflow: auto; padding: 12px 22px; border-radius: 6px; background: #fff0f2; color: var(--red); font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-body { padding: 0 15px 20px; }
.panel-body p { color: #60718a; font-size: 12px; line-height: 1.9; }
.wrap-text { white-space: normal; overflow-wrap: anywhere; }
code { font-size: 12px; color: #315cb6; background: #eef4ff; padding: 2px 5px; border-radius: 3px; }
footer { display: flex; justify-content: space-between; gap: 8px; padding: 16px; border-top: 1px solid var(--line); color: #8290a7; font-size: 10px; }
#toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); max-width: 90vw; padding: 13px 22px; border-radius: 8px; background: #234674; color: white; font-size: 13px; z-index: 99; box-shadow: 0 8px 28px rgba(31,71,128,.18); }
.login-screen { display: grid; place-items: center; min-height: 100vh; padding: 28px; }
.login-shell { width: min(980px,100%); min-height: 590px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(380px,.96fr); overflow: hidden; border: 1px solid rgba(103,157,213,.25); border-radius: 8px; background: rgba(255,255,255,.82); box-shadow: 0 28px 80px rgba(40,84,150,.16); backdrop-filter: blur(18px); }
.login-intro { display: flex; flex-direction: column; justify-content: space-between; position: relative; padding: 42px; border-right: 1px solid rgba(103,157,213,.20); background: radial-gradient(circle at 20% 14%,rgba(99,213,220,.30),transparent 32%),linear-gradient(145deg,rgba(45,93,215,.12),rgba(99,213,220,.10)); }
.login-intro::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(85,145,211,.15); border-radius: 8px; pointer-events: none; }
.login-brand { color: #214b9c; font-size: 25px; font-weight: 750; }
.login-intro h1 { margin: 36px 0 0; font-size: 34px; }
.login-intro p { margin: 12px 0 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.login-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 30px; }
.login-feature-grid>div { min-height: 78px; padding: 13px; border-radius: 8px; background: rgba(255,255,255,.56); border: 1px solid rgba(103,157,213,.20); }
.login-feature-grid strong { display: block; color: #214b9c; font-size: 14px; }
.login-feature-grid span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.login-card { align-self: center; padding: 48px 44px; }
.login-card h2 { margin: 0 0 14px; font-size: 25px; }
.login-card>p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.login-card label { display: flex; flex-direction: column; gap: 9px; margin: 24px 0; color: #526178; font-size: 13px; }
.login-card input { min-height: 46px; padding: 12px; border: 1px solid #d8dee9; border-radius: 8px; background: rgba(255,255,255,.82); }
.login-card .btn { min-height: 46px; }
.login-card .login-help { margin-top: 18px; font-size: 11px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(18,33,58,.35); z-index: 14; border: 0; }
@media (min-width:1601px) { :root { --sidebar-width: 286px; }.sidebar { padding: 18px 16px; }.topbar { padding-inline: 24px; } }
@media (max-width:1180px) {
  :root { --sidebar-width: 0px; }.sidebar { width: 270px; transform: translateX(-100%); transition: transform .18s; }.sidebar.mobile-open { transform: translateX(0); }#menuBtn { display: inline-grid; }
  .kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }.kpi:nth-child(3n) { border-right: 0; }.kpi:nth-child(-n+3) { border-bottom: 1px solid #e5ebf3; }
  .overview-grid { grid-template-columns: minmax(0,1.8fr) minmax(250px,.9fr); }
}
@media (max-width:1080px) { .page-head { flex-direction: column; align-items: stretch; }.page-copy,.page-controls { flex: 0 0 auto; min-width: 0; }.page-controls { justify-content: flex-start; }.filters { justify-content: flex-start; } }
@media (max-width:900px) {
  .topbar { align-items: stretch; flex-direction: column; gap: 8px; padding: 9px 12px 10px; }.topbar h1 { font-size: 20px; }.topbar p { max-width: calc(100vw - 86px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.top-meta { justify-content: flex-start; }
  main { padding: 12px; }.overview-grid,.steps,.settings-grid { grid-template-columns: 1fr; }.supplier-panel { min-height: 220px; }.login-shell { grid-template-columns: 1fr; }.login-intro { padding: 28px; }.login-intro h1 { font-size: 28px; margin-top: 20px; }.login-feature-grid { display: none; }.login-card { padding: 30px; }
}
@media (max-width:680px) { .trend-layout { grid-template-columns: 1fr; }.progress-stats { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-left: 0; border-top: 1px solid #e5ebf3; }.progress-stats>div { padding: 8px 10px; border-right: 1px solid #edf1f6; }.progress-stats>div:nth-child(even) { border-right: 0; }.data-health { align-items: flex-start; flex-direction: column; gap: 5px; }.form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }.intro-card { align-items: flex-start; flex-direction: column; }.detail-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width:520px) {
  main { padding: 10px; }.page-head { padding: 12px; }.title-row { gap: 7px; }.page-head h2 { font-size: 19px; }.filters { width: 100%; }.filters label { width: 100%; grid-template-columns: 90px minmax(0,1fr); }.filters input,.filters select { width: 100%; }.page-controls .actions { width: 100%; justify-content: flex-start; }
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 3px; }.kpi,.kpi:nth-child(3n) { padding: 10px 8px; border-right: 1px solid #e5ebf3; border-bottom: 1px solid #e5ebf3; }.kpi:nth-child(even) { border-right: 0; }.kpi:nth-last-child(-n+2) { border-bottom: 0; }
  .table-tools input { width: 100%; }.table-tools select { flex: 1; }.pagination { flex-wrap: wrap; }.supplier-row,.supplier-list-head { grid-template-columns: minmax(76px,1fr) 56px minmax(96px,1fr); gap: 8px; }.login-screen { padding: 14px; }.login-intro { padding: 26px; }.login-intro::after { inset: 12px; }.login-card { padding: 28px 24px; }#dialogBody { padding: 16px; }.dialog-head { padding: 14px 16px; }.dialog-head h2 { font-size: 16px; }.top-meta .btn:first-child { flex: 1; justify-content: flex-start; }
}
