/* MOMSOFT — a quiet, precise workspace for factory operations. */
:root {
  --navy: #142c3c; --navy-light: #203d4f; --ink: #22333e; --muted: #667681;
  --canvas: #f6f7f9; --white: #fff; --line: #e6e9ed; --accent: #e8a46c;
  --green: #217965; --green-soft: #edf7f2; --amber: #a57023; --amber-soft: #fbf4e8;
  --red: #ba4c4c; --red-soft: #fcf0f0; --radius: 10px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); font-size: 13px; font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid #5387a4; }
[hidden] { display: none !important; }
svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 250px; height: 100vh; position: sticky; top: 0; background: var(--navy); color: #bdc8d0; display: flex; flex-direction: column; padding: 30px 18px 18px; flex-shrink: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; color: #fff; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; height: 28px; transform: skewY(-10deg); }
.brand-mark span { width: 6px; height: 22px; background: #fff; border-radius: 1px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 28px; background: var(--accent); }
.brand-word { font-size: 21px; font-weight: 740; letter-spacing: .025em; }
.brand-word small { display: block; color: #93a8b7; font-size: 9px; font-weight: 500; letter-spacing: .22em; margin-top: 4px; }
.workspace { margin: 31px 0 23px; padding: 13px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid #ffffff17; border-radius: 8px; font-size: 12px; color: #e3eaf0; }
.workspace-icon { background: #ffffff09; width: 31px; height: 31px; border-radius: 6px; }
.workspace small { display: block; font-size: 10px; color: #8fa4b3; margin-top: 4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6baf96; flex-shrink: 0; }
.workspace > .status-dot { margin-left: auto; }
.sidebar nav { overflow-y: auto; scrollbar-width: thin; }
.nav-label { font-size: 9px; font-weight: 650; letter-spacing: .13em; color: #7f97a7; margin: 24px 12px 11px; }
.nav-label:first-child { margin-top: 0; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 42px; border-radius: 6px; padding: 10px 12px; margin: 3px 0; font-size: 12px; line-height: 1.5; position: relative; }
a.nav-item:hover { color: white; background: #ffffff08; }
.nav-item.active { background: #ffffff0f; color: #fff; }
.nav-item.active::before { content: ""; width: 3px; height: 18px; background: var(--accent); border-radius: 0 3px 3px 0; position: absolute; left: -18px; }
.nav-item.active .icon { color: var(--accent); }
.nav-item.unavailable { color: #8296a4; }
.nav-count { margin-left: auto; background: #ffffff10; color: #b9cbd7; border-radius: 4px; font-size: 10px; padding: 1px 6px; }
.alert-count { background: #e8a46c20; color: #e8b58f; }
.sidebar-bottom { margin-top: auto; padding-top: 24px; }
.help-button { width: 100%; border: 1px solid #ffffff12; background: #ffffff04; color: #b7c7d2; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 7px; font-size: 11px; }
.help-button:hover { background: #ffffff0a; }
.help-arrow { margin-left: auto; }
.sidebar-footer { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #7f97a7; margin: 15px 9px 0; letter-spacing: .025em; }
.version { color: #5f7b8e; margin-left: 5px; }
.icon-button { border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
.icon-button:hover { background: #e9edf1; color: var(--ink); }
.sidebar .icon-button { color: #a3b5c1; }
.sidebar .icon-button:hover { background: #ffffff10; color: white; }
.main-shell { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.topbar { height: 76px; border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 15px; }
.topbar-left { font-size: 11px; }
.topbar-section { color: var(--muted); }
.breadcrumb-separator { color: #c7cdd2; font-size: 16px; }
#current-section { font-weight: 550; }
.demo-label { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); padding: 7px 0; }
.demo-label .status-dot { background: #bba382; }
.topbar-divider { height: 24px; border-left: 1px solid var(--line); }
.notification-button { position: relative; }
.bell-dot { position: absolute; right: 8px; top: 7px; width: 5px; height: 5px; background: var(--accent); border: 1px solid white; border-radius: 50%; }
.profile-button { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; text-align: left; padding: 0; color: var(--ink); }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #e2e6e8; border-radius: 50%; font-size: 10px; font-weight: 650; background: #f0f3f4; color: #4a6270; }
.profile-name { font-size: 11px; font-weight: 600; }
.profile-name small { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.mobile-menu { display: none; }
.content { width: 100%; max-width: 1580px; padding: 37px 34px 24px; flex: 1; margin: 0 auto; outline: none; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 29px; }
.eyebrow { margin: 0 0 11px; font-size: 9px; font-weight: 650; letter-spacing: .12em; color: #8a949b; display: flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; height: 1px; width: 19px; background: #bc915e; }
h1 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 620; letter-spacing: -.045em; line-height: 1.25; margin: 0; color: #1e303d; }
.subtitle { margin: 9px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce1e6; border-radius: 6px; min-height: 37px; padding: 9px 13px; background: white; color: #45545f; font-size: 11px; font-weight: 550; white-space: nowrap; transition: background .15s, border-color .15s; }
.button:hover { background: #f1f4f6; border-color: #bfc9d0; }
.button .icon { width: 15px; height: 15px; }
.button.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.button.primary:hover { background: var(--navy-light); }
.button.danger { background: var(--red); color: white; border-color: var(--red); }
.button.small { min-height: 30px; padding: 6px 9px; font-size: 10px; }
.text-button { display: inline-flex; gap: 7px; align-items: center; border: 0; background: transparent; padding: 5px 0; color: #4b6676; font-size: 11px; font-weight: 600; }
.text-button:hover { color: #172f40; text-decoration: underline; }
.text-button .icon { width: 14px; height: 14px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 0; margin-bottom: 22px; }
.metric { padding: 0 25px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric-label { display: flex; align-items: center; gap: 7px; color: #687580; font-size: 11px; margin: 0 0 12px; }
.metric-label .icon { width: 14px; height: 14px; color: #8798a2; }
.metric-value { font-size: 31px; font-weight: 580; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-note { margin: 9px 0 0; font-size: 10px; color: #71808a; }
.metric-note.good { color: var(--green); }
.metric-note.warning { color: var(--amber); }
.alert-strip { display: flex; align-items: center; gap: 11px; border: 1px solid #e9dfce; background: #fbf8f2; padding: 12px 16px; border-radius: 7px; margin-bottom: 22px; color: #8f754e; font-size: 11px; line-height: 1.6; }
.alert-strip > .icon { width: 16px; height: 16px; }
.alert-strip strong { font-weight: 600; color: #79613c; }
.alert-strip .text-button { margin-left: auto; white-space: nowrap; color: #896e43; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; overflow: hidden; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 22px 17px; }
.card-heading h2 { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.card-heading p { font-size: 10px; color: #71808a; margin: 6px 0 0; }
.count-label { display: inline-flex; align-items: center; justify-content: center; background: #f0f3f5; color: #6d7f8a; font-size: 10px; font-weight: 500; border-radius: 4px; padding: 2px 6px; margin-left: 7px; vertical-align: middle; }
.toolbar { display: flex; align-items: center; gap: 10px; padding: 0 22px 18px; }
.search { display: flex; align-items: center; gap: 9px; border: 1px solid #e2e6ea; border-radius: 6px; padding: 9px 11px; max-width: 390px; flex: 1; color: #8b969e; min-width: 100px; }
.search .icon { width: 15px; height: 15px; }
.search:focus-within { border-color: #89a4b4; box-shadow: 0 0 0 2px #eaf0f4; }
.search input { border: 0; outline: 0; background: transparent; min-width: 0; width: 100%; font-size: 11px; color: var(--ink); }
input::placeholder { color: #919da5; }
.shortcut { font-size: 10px; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; color: #9ba6ae; }
.select { border: 1px solid #e2e6ea; background: white; border-radius: 6px; color: #5a6974; padding: 9px 11px; font-size: 11px; min-height: 35px; max-width: 210px; }
.toolbar-spacer { flex: 1; }
.toolbar .active-filter { background: #eef3f6; border-color: #a9bbc6; color: var(--navy); }
.filter-row { display: flex; align-items: center; gap: 12px; background: #fafbfc; border-top: 1px solid var(--line); padding: 12px 22px; }
.filter-row label { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.table-wrap { overflow-x: auto; scrollbar-width: thin; }
table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
thead { background: #fafbfc; }
th { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 9px; color: #657681; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 12px 16px; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
th button { background: transparent; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
th button .icon { width: 12px; height: 12px; }
td { border-bottom: 1px solid #edf0f3; padding: 18px 16px; font-size: 11px; color: #52616c; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfcfd; }
.machine-cell { display: flex; align-items: center; gap: 11px; }
.machine-glyph { width: 34px; height: 36px; display: grid; place-items: center; background: #f3f5f7; border: 1px solid #e8ecef; border-radius: 6px; color: #84939d; }
.machine-glyph .icon { width: 17px; height: 17px; }
.cell-title { display: block; color: #283e4d; font-size: 11px; font-weight: 600; }
.cell-subtitle { display: block; margin-top: 5px; font-size: 9px; color: #71808a; font-weight: 400; }
.machine-code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: -.03em; }
.workshop { white-space: normal; min-width: 110px; max-width: 150px; font-size: 10px; line-height: 1.6; }
.endpoint { font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; color: #758691; }
.endpoint .cell-subtitle { font-family: inherit; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.protocol { font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; background: #f3f5f7; color: #607383; border: 1px solid #e5eaf0; padding: 4px 6px; border-radius: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 550; border: 1px solid transparent; padding: 5px 7px; border-radius: 4px; }
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--green); background: var(--green-soft); }
.badge.warn { color: var(--amber); background: var(--amber-soft); }
.badge.err { color: var(--red); background: var(--red-soft); }
.badge.off { color: #87939b; background: #f0f3f5; }
.actions { display: flex; gap: 2px; justify-content: flex-end; }
.actions .icon-button { width: 28px; height: 28px; color: #8a99a3; }
.actions .icon-button .icon { width: 14px; height: 14px; }
.actions .delete:hover { color: var(--red); background: var(--red-soft); }
.numeric { font-variant-numeric: tabular-nums; }
.table-hint { display: none; }
.target { font-weight: 600; color: var(--ink); }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); color: #8a969f; font-size: 10px; gap: 10px; }
.pagination { display: flex; align-items: center; gap: 8px; }
.pagination select { border: 1px solid var(--line); border-radius: 4px; padding: 4px; background: white; color: #627481; font-size: 10px; }
.pagination .icon-button { width: 26px; height: 26px; border: 1px solid var(--line); }
.pagination .icon { width: 13px; height: 13px; }
.empty-state { padding: 38px 22px; text-align: center; color: #88959e; }
.empty-state > .icon { width: 28px; height: 28px; color: #a9b7c1; }
.empty-state strong { display: block; color: #4d6574; font-size: 12px; font-weight: 550; margin: 12px 0 6px; }
.empty-state p { font-size: 11px; margin: 0 0 12px; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 225px; }
.chart-main { min-width: 0; padding: 0 22px 18px; }
.chart-side { padding: 27px 22px; border-left: 1px solid var(--line); background: #fcfdfd; }
.chart-side .overline { margin: 0 0 10px; font-size: 9px; color: #8b979f; letter-spacing: .07em; text-transform: uppercase; }
.chart-current { font-size: 29px; letter-spacing: -.05em; margin: 0 0 9px; font-variant-numeric: tabular-nums; }
.chart-current small { font-size: 12px; color: #8798a3; letter-spacing: 0; }
.chart-side dl { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 12px; }
.chart-side dl div { display: flex; justify-content: space-between; margin: 14px 0; font-size: 10px; }
.chart-side dt { color: #929da5; }
.chart-side dd { margin: 0; font-weight: 550; color: #536b7a; }
.chart-legend { display: flex; gap: 15px; align-items: center; font-size: 9px; color: #82919c; padding: 12px 4px 0; }
.legend-line { display: inline-block; width: 15px; border-top: 2px solid #648ba0; margin-right: 5px; vertical-align: middle; }
.legend-line.dashed { border-top: 1px dashed #a59275; }
.chart-svg { display: block; width: 100%; height: 230px; overflow: visible; }
.chart-grid { stroke: #ecf0f3; stroke-width: 1; }
.chart-tick { fill: #687984; font-family: inherit; font-size: 10px; }
.chart-point { cursor: pointer; outline: none; }
.chart-point circle { transition: r .15s; }
.chart-point:hover circle, .chart-point:focus circle { r: 6px; stroke: #fff; stroke-width: 2; }
.chart-tooltip { background: #f6f8f9; border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; color: #526c7b; font-size: 10px; min-height: 29px; margin-top: 7px; }
.notification-message { white-space: normal; min-width: 180px; max-width: 430px; line-height: 1.6; }
.unread-row td:first-child { border-left: 2px solid var(--accent); padding-left: 20px; }
.channel { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #768893; }
.channel .icon { width: 13px; height: 13px; }
.page-footer { display: flex; justify-content: space-between; color: #a1aab2; font-size: 9px; padding: 0 34px 23px; letter-spacing: .015em; }
.footer-dot { padding: 0 6px; }
dialog { border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); padding: 0; width: min(590px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 20px 80px #102b3b24; }
dialog::backdrop { background: #10263566; backdrop-filter: blur(3px); }
.dialog-head { padding: 23px 25px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.dialog-head h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.dialog-head p { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 7px 0 0; }
.dialog-body { padding: 23px 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #62727c; }
.field.full { grid-column: 1 / -1; }
.field input, .field select { border: 1px solid #dce3e8; border-radius: 6px; padding: 10px 11px; background: white; color: #354e5e; width: 100%; min-width: 0; font-size: 12px; }
.field small { font-size: 10px; color: #98a3aa; }
.checkbox-field { display: flex; align-items: center; gap: 9px; grid-column: 1 / -1; font-size: 11px; color: #526976; }
input[type="checkbox"] { accent-color: var(--navy); width: 15px; height: 15px; }
.form-error { color: var(--red); font-size: 11px; background: var(--red-soft); padding: 11px 13px; border-radius: 5px; margin: 18px 0 0; line-height: 1.5; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 25px; border-top: 1px solid var(--line); background: #fcfdfd; }
.detail-list { margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.detail-list dt { color: #8b98a1; flex-shrink: 0; }
.detail-list dd { text-align: right; color: #395463; margin: 0; overflow-wrap: anywhere; }
.detail-caption { font-size: 11px; color: #82919a; margin: 18px 0 0; line-height: 1.7; }
.help-content h3 { font-size: 12px; font-weight: 600; margin: 20px 0 7px; }
.help-content h3:first-child { margin-top: 0; }
.help-content p { color: #778791; font-size: 11px; line-height: 1.85; margin: 0; }
.toast-region { position: fixed; bottom: 24px; right: 24px; z-index: 100; max-width: calc(100vw - 48px); }
.toast { display: flex; align-items: center; gap: 10px; background: var(--navy); color: white; border: 1px solid #ffffff15; border-radius: 8px; padding: 14px 17px; font-size: 12px; box-shadow: 0 6px 24px #142c3c26; animation: toast-in .2s ease; }
.toast .icon { color: #9ad1b9; width: 17px; height: 17px; }
.toast.error .icon { color: #ecc090; }
.noscript { position: fixed; inset: 25% 20% auto; background: white; padding: 35px; border: 1px solid var(--line); box-shadow: 0 12px 50px #142c3c26; z-index: 100; border-radius: 10px; }
.sidebar-collapsed .sidebar { width: 76px; padding-left: 12px; padding-right: 12px; }
.sidebar-collapsed .brand { padding: 0 8px; }
.sidebar-collapsed .brand-word, .sidebar-collapsed .nav-text, .sidebar-collapsed .workspace, .sidebar-collapsed .nav-count { display: none; }
.sidebar-collapsed .nav-label { font-size: 0; border-top: 1px solid #ffffff10; margin: 18px 5px 12px; }
.sidebar-collapsed .nav-item { justify-content: center; padding: 10px; }
.sidebar-collapsed .nav-item.active::before { left: -12px; }
.sidebar-collapsed .help-button { justify-content: center; }
.sidebar-collapsed .sidebar-footer { justify-content: center; margin: 15px 0 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .content { padding-top: 43px; } td { padding-top: 21px; padding-bottom: 21px; } }
@media (max-width: 1200px) { .sidebar { width: 224px; padding-left: 14px; padding-right: 14px; } .nav-item { font-size: 11px; } .topbar { padding: 0 25px; } .content { padding: 30px 25px 20px; } .profile-name { display: none; } .demo-label { font-size: 9px; } .metric { padding: 0 20px; } .nav-item.active::before { left: -14px; } .head-actions .button { padding: 9px 11px; } }
@media (max-width: 960px) { .topbar-section, .breadcrumb-separator { display: none; } .page-head { align-items: flex-start; } .head-actions { padding-top: 19px; } .head-actions .export-label { display: none; } .metric-label { font-size: 10px; } .metric-note { font-size: 9px; } .chart-layout { grid-template-columns: minmax(0, 1fr) 185px; } .toolbar { flex-wrap: wrap; } .toolbar-spacer { display: none; } .toolbar .select { flex: 1; } }
@media (max-width: 760px) {
  .sidebar { position: fixed; left: 0; top: 0; height: 100dvh; width: 250px; transform: translateX(-100%); transition: transform .2s; padding-left: 18px; padding-right: 18px; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-open .sidebar-backdrop { display: block !important; position: fixed; inset: 0; border: 0; background: #10263566; z-index: 25; }
  .mobile-menu { display: inline-flex; }
  .collapse-button { display: none; }
  .topbar { height: 64px; padding: 0 17px; gap: 8px; }
  .topbar-left, .topbar-right { gap: 7px; }
  .demo-label { font-size: 0; padding: 10px 3px; }
  .demo-label .status-dot { width: 7px; height: 7px; }
  .topbar-divider { display: none; }
  .content { padding: 26px 18px 16px; }
  .page-head { flex-direction: column; gap: 16px; margin-bottom: 23px; }
  .head-actions { padding-top: 0; }
  .head-actions .export-label { display: inline; }
  h1 { font-size: 28px; }
  .subtitle { max-width: 390px; }
  .metrics { grid-template-columns: 1fr 1fr; padding: 0; }
  .metric { padding: 20px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric-value { font-size: 28px; }
  .metric-label { font-size: 11px; }
  .metric-note { font-size: 10px; }
  .alert-strip { align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; gap: 8px; }
  .alert-strip > .icon { margin-top: 2px; }
  .alert-strip > span { flex: 1; }
  .alert-strip .text-button { margin-left: 24px; }
  .card-heading { padding: 19px 16px 17px; }
  .toolbar { padding: 0 16px 17px; gap: 8px; }
  .search { max-width: none; flex-basis: 100%; }
  .toolbar .select { max-width: none; min-width: 0; }
  .filter-row { padding: 12px 16px; flex-wrap: wrap; }
  .filter-row label { flex: 1; }
  .filter-row .select { width: 100%; }
  .table-foot { padding: 14px 16px; flex-wrap: wrap; font-size: 9px; }
  .table-hint { display: flex; align-items: center; gap: 6px; padding: 0 16px 12px; font-size: 9px; color: var(--muted); }
  .table-hint .icon { width: 12px; height: 12px; }
  .actions .icon-button { width: 36px; height: 36px; }
  .pagination { gap: 6px; }
  .chart-layout { grid-template-columns: 1fr; }
  .chart-side { display: flex; flex-wrap: wrap; gap: 8px 12px; border-left: 0; border-top: 1px solid var(--line); padding: 18px; align-items: center; }
  .chart-side .overline { flex-basis: 100%; margin: 0; }
  .chart-current { margin: 0; font-size: 25px; }
  .chart-side dl { display: flex; gap: 16px; width: 100%; margin: 0; }
  .chart-side dl div { display: block; margin: 7px 0 0; }
  .chart-side dd { margin-top: 6px; }
  .chart-svg { height: 200px; }
  .chart-main { padding: 0 16px 16px; }
  .chart-select { max-width: 200px; }
  .chart-card .card-heading { flex-wrap: wrap; }
  .page-footer { padding: 0 18px 20px; font-size: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .checkbox-field { grid-column: auto; }
  .dialog-head, .dialog-body { padding-left: 20px; padding-right: 20px; }
  .dialog-foot { padding: 15px 20px; }
  .sidebar-footer { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
