:root {
  --ink: #19252f;
  --muted: #71808d;
  --line: #e7ecef;
  --paper: #ffffff;
  --canvas: #f5f7f8;
  --nav: #1d2933;
  --nav-muted: #9eacb5;
  --teal: #078b85;
  --teal-soft: #e3f5f2;
  --amber: #d88d1e;
  --amber-soft: #fff3dd;
  --red: #cf5b54;
  --red-soft: #fdebea;
  --blue: #5076bd;
  --blue-soft: #eaf0fc;
  --shadow: 0 8px 24px rgba(27, 48, 61, .06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans SC", "DM Sans", sans-serif;
  font-size: 14px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; display: flex; }
.loading-screen { min-height: 100vh; background: var(--canvas); display: grid; place-items: center; }
.auth-shell { min-height: 100vh; background: var(--canvas); display: flex; flex-direction: column; }
.auth-main { flex: 1; width: 100%; display: grid; place-items: center; padding: 32px 0; }
.loading-screen { color: var(--muted); gap: 10px; align-content: center; }
.loading-screen strong, .loading-screen span { display: block; }
.loading-mark, .auth-panel .brand-mark { width: 46px; height: 46px; border-radius: 10px; background: #f0b85c; color: #27343c; display: grid; place-items: center; font-weight: 700; }
.loading-mark { margin: 0 auto 5px; }
.auth-panel { width: min(430px, calc(100% - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 34px; }
.auth-panel .brand-mark { margin-bottom: 26px; }
.auth-panel h1 { font-size: 24px; }
.login-form { display: grid; gap: 16px; margin-top: 26px; }
.login-submit { width: 100%; height: 40px; margin-top: 3px; }
.form-error { color: var(--red); background: var(--red-soft); border-radius: 5px; padding: 9px 10px; font-size: 12px; }
.demo-accounts { display: grid; gap: 5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; font-size: 11px; }
.demo-accounts strong { color: var(--ink); font-size: 12px; margin-bottom: 2px; }
.sidebar {
  width: 242px; flex: 0 0 242px; background: var(--nav); color: #fff;
  display: flex; flex-direction: column; padding: 25px 15px 18px;
}
.brand { padding: 0 12px 29px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: #f0b85c; color: #27343c; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.brand-title { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.brand-subtitle { color: var(--nav-muted); font-size: 11px; margin-top: 4px; }
.nav-section { color: #6f7e88; font-size: 11px; letter-spacing: 1.4px; margin: 27px 12px 9px; }
.nav-item { border: 0; background: transparent; color: var(--nav-muted); width: 100%; padding: 11px 12px; margin: 2px 0; border-radius: 7px; text-align: left; display: flex; align-items: center; gap: 11px; transition: .18s ease; }
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-item.active { box-shadow: inset 3px 0 var(--teal); }
.nav-icon { width: 19px; font-size: 16px; text-align: center; opacity: .9; }
.nav-label { flex: 1; }
.nav-count { font-size: 11px; padding: 2px 6px; border-radius: 10px; color: #f0b85c; background: rgba(240,184,92,.14); }
.sidebar-bottom { margin-top: auto; padding: 15px 12px 0; border-top: 1px solid rgba(255,255,255,.09); }
.user-mini { display: flex; gap: 10px; align-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #d7e8e6; color: var(--teal); display: grid; place-items: center; font-weight: 700; }
.user-name { font-size: 13px; color: #fff; }
.user-role { color: var(--nav-muted); font-size: 11px; margin-top: 2px; }
.logout-link { border: 0; background: transparent; color: var(--nav-muted); padding: 12px 0 0 42px; font-size: 11px; }
.logout-link:hover { color: #fff; }
.main { flex: 1; min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 74px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; }
.breadcrumb { color: var(--muted); font-size: 12px; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-search { width: 238px; height: 35px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px 0 34px; color: var(--ink); outline: none; background: #fbfcfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%2371808d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 11px center / 15px no-repeat; }
.top-search:focus { border-color: #8ccdc6; box-shadow: 0 0 0 3px #e4f5f2; }
.icon-btn { border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; display: grid; place-items: center; font-size: 17px; border-radius: 6px; }
.icon-btn:hover { background: var(--canvas); color: var(--ink); }
.content { width: 100%; max-width: 1450px; margin: 0 auto; padding: 31px 36px 44px; flex: 1; }
.site-footer { flex: none; min-height: 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 11px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.site-footer .police-filing { display: inline-flex; align-items: center; gap: 5px; }
.site-footer .police-filing img { display: block; flex: none; }
.lookup-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; margin-bottom: 18px; border-left: 3px solid var(--teal); }
.lookup-copy { min-width: 220px; }
.lookup-controls { display: flex; align-items: center; gap: 9px; width: min(610px, 100%); }
.lookup-field { flex: 1; min-width: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 7px; }
h1 { font-size: 26px; line-height: 1.25; margin: 0; letter-spacing: -.5px; }
.page-desc { color: var(--muted); margin: 8px 0 0; }
.head-actions { display: flex; gap: 9px; align-items: center; }
.btn { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 6px; height: 36px; padding: 0 13px; display: inline-flex; gap: 7px; align-items: center; justify-content: center; font-weight: 600; }
.btn:hover { border-color: #bdcbd1; background: #fbfcfc; }
.btn-primary { background: var(--teal); border-color: var(--teal); color: white; }
.btn-primary:hover { background: #087a75; border-color: #087a75; }
.btn-light { background: #f4faf9; border-color: #d8eeeb; color: var(--teal); }
.btn-danger { color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.stat-card, .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.compact-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.stat-card { min-height: 130px; padding: 18px 20px; position: relative; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.stat-symbol { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; color: var(--teal); background: var(--teal-soft); font-size: 16px; }
.stat-card:nth-child(2) .stat-symbol { color: var(--amber); background: var(--amber-soft); }
.stat-card:nth-child(3) .stat-symbol { color: var(--blue); background: var(--blue-soft); }
.stat-card:nth-child(4) .stat-symbol { color: var(--red); background: var(--red-soft); }
.stat-number { font-size: 29px; font-weight: 700; letter-spacing: -1px; margin-top: 16px; }
.stat-change { position: absolute; bottom: 18px; right: 20px; font-size: 11px; color: var(--teal); }
.stat-change.warn { color: var(--amber); }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(330px, .85fr); gap: 18px; }
.panel { padding: 21px 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.panel-title { font-size: 15px; font-weight: 700; }
.panel-subtitle { color: var(--muted); font-size: 12px; margin-top: 4px; }
.text-link { color: var(--teal); font-size: 12px; border: 0; padding: 0; background: none; white-space: nowrap; }
.chart { height: 212px; display: flex; gap: 16px; border-bottom: 1px solid var(--line); position: relative; padding: 0 6px 0 25px; }
.chart:before { content: "24"; position: absolute; left: 0; top: -7px; color: #a8b3b9; font-size: 10px; }
.chart:after { content: "0"; position: absolute; left: 6px; bottom: -22px; color: #a8b3b9; font-size: 10px; }
.bar-col { flex: 1; display: flex; align-items: flex-end; gap: 4px; position: relative; }
.bar { flex: 1; background: #dcefed; border-radius: 3px 3px 0 0; min-height: 9px; position: relative; }
.bar.emphasis { background: var(--teal); }
.bar:hover { opacity: .78; }
.bar-label { position: absolute; bottom: -24px; font-size: 10px; color: #8997a0; left: 50%; transform: translateX(-50%); }
.legend { display: flex; gap: 17px; margin-top: 29px; color: var(--muted); font-size: 11px; }
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 2px; }
.legend-dot.soft { background: #dcefed; }
.status-list { display: grid; gap: 16px; }
.status-row { display: grid; grid-template-columns: 78px 1fr 42px; align-items: center; gap: 12px; font-size: 12px; }
.status-row span:first-child { color: var(--muted); }
.status-track { height: 7px; border-radius: 7px; background: #eef1f2; overflow: hidden; }
.status-fill { height: 100%; background: var(--teal); border-radius: inherit; }
.status-fill.amber { background: var(--amber); }
.status-fill.blue { background: var(--blue); }
.status-fill.red { background: var(--red); }
.status-fill.gray { background: #8b969d; }
.status-total { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 21px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.status-total strong { color: var(--ink); font-size: 18px; }
.activity-panel { margin-top: 18px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.timeline-item { position: relative; padding: 0 17px 0 0; }
.timeline-item:not(:last-child):after { content: ""; position: absolute; height: 1px; background: var(--line); right: 18px; top: 9px; left: 27px; }
.timeline-mark { width: 18px; height: 18px; border: 4px solid var(--teal-soft); background: var(--teal); border-radius: 50%; position: relative; z-index: 1; margin-bottom: 14px; }
.timeline-mark.amber { background: var(--amber); border-color: var(--amber-soft); }
.timeline-mark.red { background: var(--red); border-color: var(--red-soft); }
.timeline-mark.blue { background: var(--blue); border-color: var(--blue-soft); }
.timeline-time { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.timeline-title { font-weight: 600; font-size: 13px; }
.timeline-desc { color: var(--muted); font-size: 12px; margin-top: 4px; }
.table-panel { padding: 0; overflow: hidden; }
.toolbar { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 9px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.toolbar-left, .toolbar-right { display: flex; gap: 9px; align-items: center; }
.field { height: 35px; border: 1px solid var(--line); background: var(--paper); padding: 0 10px; border-radius: 6px; color: var(--ink); outline: none; }
.field:focus { border-color: #8ccdc6; }
.field.search { width: 232px; padding-left: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%2371808d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 10px center / 15px no-repeat; }
.record-search { width: 220px; }
select.field { min-width: 118px; }
table { width: 100%; border-collapse: collapse; }
th { background: #fafbfb; color: var(--muted); font-size: 11px; text-align: left; font-weight: 600; white-space: nowrap; }
th, td { padding: 14px 20px; border-bottom: 1px solid var(--line); }
td { font-size: 12px; vertical-align: middle; }
tbody tr:hover { background: #fbfdfd; }
.device-code { color: var(--teal); font-weight: 700; cursor: pointer; }
.device-code:hover { text-decoration: underline; }
.device-model { font-weight: 600; }
.muted { color: var(--muted); }
.transfer-count.has-transfer { color: var(--red); font-weight: 700; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; font-size: 11px; white-space: nowrap; }
.status-tag:before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.status-normal { color: var(--teal); background: var(--teal-soft); }
.status-testing { color: var(--blue); background: var(--blue-soft); }
.status-pending { color: var(--blue); background: var(--blue-soft); }
.status-recall { color: var(--amber); background: var(--amber-soft); }
.status-repair { color: var(--red); background: var(--red-soft); }
.status-idle { color: #78858d; background: #eef1f3; }
.status-scrapped { color: #6d596f; background: #f1eaf2; }
.row-action { border: 0; background: transparent; color: var(--teal); font-size: 12px; }
.table-meta { font-size: 11px; margin-top: 4px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.back-btn { border: 0; background: transparent; color: var(--muted); padding: 3px 0; font-size: 20px; }
.detail-title { flex: 1; }
.detail-title h1 { font-size: 23px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); gap: 18px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px 20px; }
.usage-highlight { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; margin: -3px 0 22px; border-left: 3px solid var(--teal); background: #f4faf9; }
.usage-highlight div { display: grid; gap: 4px; }
.usage-highlight span, .usage-highlight small { color: var(--muted); font-size: 11px; }
.usage-highlight strong { color: var(--teal); font-size: 19px; }
.usage-highlight small { white-space: nowrap; }
.info-label { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.info-value { font-weight: 600; word-break: break-word; }
.detail-status { display: flex; align-items: center; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 19px; }
.detail-status strong { font-size: 25px; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-actions .btn { justify-content: flex-start; font-size: 12px; }
.history { margin-top: 18px; }
.history-list { display: grid; gap: 0; }
.history-item { display: grid; grid-template-columns: 90px 17px 1fr; gap: 12px; min-height: 60px; }
.history-date { color: var(--muted); font-size: 11px; padding-top: 2px; }
.history-line { position: relative; }
.history-line:before { content: ""; position: absolute; width: 9px; height: 9px; border: 3px solid #d6efec; background: var(--teal); border-radius: 50%; top: 2px; left: 0; z-index: 1; }
.history-line:after { content: ""; position: absolute; width: 1px; top: 14px; bottom: -7px; left: 6px; background: var(--line); }
.history-item:last-child .history-line:after { display: none; }
.history-content strong { display: block; font-size: 12px; }
.history-content span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.history-content small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.record-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.record-tab { border: 0; background: transparent; color: var(--muted); padding: 0 0 12px; position: relative; }
.record-tab.active { color: var(--teal); font-weight: 600; }
.record-tab.active:after { content: ""; height: 2px; background: var(--teal); position: absolute; bottom: -1px; left: 0; right: 0; }
.action-label { margin-bottom: 12px; }
.detail-tip { margin-top: 18px; }
.detail-tip .page-desc { line-height: 1.7; margin-bottom: 0; }
.transfer-panel { margin-top: 18px; }
.transfer-route-list { display: grid; gap: 10px; }
.transfer-route { padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--teal); background: #fbfdfd; }
.transfer-date { color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.transfer-cars { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 9px; }
.transfer-cars strong { min-width: 0; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.transfer-cars strong:last-child { color: var(--teal); text-align: right; }
.transfer-cars span { color: var(--muted); }
.transfer-note { color: var(--muted); font-size: 11px; margin-top: 8px; line-height: 1.5; }
.transfer-empty { padding: 24px 10px; }
.scan-body { text-align: center; padding: 36px 24px; }
.scan-frame { width: 170px; height: 170px; border: 8px solid var(--teal-soft); margin: 0 auto 22px; display: grid; place-items: center; color: var(--teal); font-size: 62px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(23, 36, 45, .45); display: grid; place-items: center; z-index: 10; padding: 20px; }
.modal { width: min(550px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; background: #fff; border-radius: 9px; box-shadow: 0 20px 60px rgba(12, 24, 30, .22); }
.modal-head { display: flex; justify-content: space-between; padding: 21px 24px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 17px; margin: 0; }
.modal-close { border: 0; background: transparent; font-size: 22px; color: var(--muted); }
.modal-body { padding: 20px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--muted); font-size: 11px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 9px 10px; outline: none; color: var(--ink); background: #fff; }
.form-field input, .form-field select { height: 37px; }
.form-field textarea { resize: vertical; min-height: 76px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #8ccdc6; box-shadow: 0 0 0 3px #e4f5f2; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 24px; border-top: 1px solid var(--line); }
.empty-page { min-height: 260px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-title { font-size: 18px; font-weight: 700; }
.settings-panel { max-width: 760px; }
.setting-row { min-height: 68px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-copy { display: grid; gap: 5px; flex: 1; }
.setting-copy strong { font-size: 13px; }
.setting-copy small { color: var(--muted); font-size: 12px; }
.setting-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 40px; height: 22px; border-radius: 12px; background: #dbe2e5; position: relative; transition: .18s ease; }
.switch:after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .18s ease; }
.setting-row input:checked + .switch { background: var(--teal); }
.setting-row input:checked + .switch:after { transform: translateX(18px); }
.settings-divider { height: 1px; background: var(--line); margin: 24px 0 20px; }
.password-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-top: 16px; }
.password-form .btn { white-space: nowrap; }
.settings-panel > .btn-danger { margin-top: 16px; }
.compact-mode th, .compact-mode td { padding-top: 10px; padding-bottom: 10px; }
.toast { position: fixed; right: 25px; bottom: 24px; background: #26363f; color: #fff; border-radius: 6px; padding: 11px 15px; box-shadow: var(--shadow); font-size: 12px; z-index: 30; animation: toast-in .22s ease; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.mobile-menu { display: none; }
@media (max-width: 1050px) {
  .sidebar { width: 210px; flex-basis: 210px; }
  .content { padding-left: 24px; padding-right: 24px; }
  .grid-two, .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; transform: translateX(-100%); transition: transform .2s ease; width: 242px; }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: grid; border: 0; background: transparent; font-size: 20px; color: var(--ink); }
  .topbar { height: 62px; padding: 0 16px; gap: 12px; }
  .top-actions { gap: 5px; flex: 1; }
  .top-search { width: 100%; }
  .content { padding: 23px 16px 34px; }
  .lookup-panel { align-items: stretch; gap: 14px; }
  .lookup-controls { width: 100%; flex-wrap: wrap; }
  .lookup-controls .btn { flex: 1; }
  .lookup-field { flex-basis: 100%; }
  .page-head { flex-direction: column; margin-bottom: 20px; }
  .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { min-height: 116px; padding: 15px; }
  .stat-number { font-size: 24px; margin-top: 13px; }
  .stat-change { bottom: 14px; right: 15px; }
  .panel { padding: 17px 15px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .timeline-item:not(:last-child):after { display: none; }
  .toolbar { padding: 14px; }
  .toolbar-left, .toolbar-right { width: 100%; }
  .toolbar .search { flex: 1; width: auto; }
  .record-tabs { width: 100%; overflow-x: auto; gap: 18px; }
  .record-search { width: 100%; flex: 1 1 100%; }
  .toolbar-right .btn { flex: 1; }
  .table-scroll { overflow-x: auto; }
  table { min-width: 800px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .detail-head { align-items: flex-start; }
  .detail-head .head-actions { width: auto; }
  .detail-head .btn { flex: 0; white-space: nowrap; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .password-form { grid-template-columns: 1fr; }
}
