:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #17243b; background: #f4f7fb; font-synthesis: none;
  --blue: #1267dc; --blue-dark: #0a4faf; --blue-soft: #eaf3ff;
  --line: #e4eaf1; --muted: #6f7d91; --panel: #fff;
  --shadow: 0 8px 24px rgba(24, 52, 85, .06);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; -webkit-font-smoothing: antialiased; background: #f4f7fb; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.app-header { position: fixed; inset: 0 0 auto 0; height: 68px; display: flex; align-items: center; padding: 0 26px; color: white; background: linear-gradient(90deg, #0759c7 0%, #126fe2 52%, #0759c7 100%); z-index: 30; box-shadow: 0 2px 12px rgba(3, 56, 128, .22); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 264px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #1267dc; background: white; border-radius: 10px; box-shadow: 0 5px 14px rgba(0,0,0,.16); }
.brand strong, .brand small { display: block; }.brand strong { font-size: 17px; letter-spacing: .04em; }.brand small { font-size: 9px; letter-spacing: .16em; opacity: .72; margin-top: 2px; }
.system-state { font-size: 12px; display: flex; align-items: center; gap: 7px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.24); opacity: .86; }
.system-state span { width: 7px; height: 7px; border-radius: 50%; background: #58e2a8; box-shadow: 0 0 0 4px rgba(88,226,168,.16); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 17px; }
.notification { border: 0; background: transparent; color: white; position: relative; padding: 8px; }.notification i { position: absolute; top: 2px; right: 1px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #ff4d5f; color: white; font-size: 10px; font-style: normal; border: 2px solid #1267dc; }
.header-view-switch { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: white; background: rgba(0,0,0,.12); }.header-view-switch select { min-width: 58px; appearance: none; padding: 0; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }.header-view-switch option { color: #24364e; background: white; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e3edff; color: #1267dc; font-weight: 800; flex: 0 0 auto; }.avatar.small { width: 28px; height: 28px; font-size: 12px; }
.role-switch { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.75); }.role-switch select { color: white; background: rgba(0,0,0,.13); border: 1px solid rgba(255,255,255,.28); padding: 7px 26px 7px 10px; border-radius: 7px; outline: none; }.role-switch option { color: #17243b; background: white; }
.mobile-menu-button { display: none; border: 0; color: white; background: transparent; margin-right: 8px; padding: 7px; }
.sidebar { position: fixed; top: 68px; bottom: 0; left: 0; width: 218px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; }.sidebar nav { padding: 18px 12px; display: grid; gap: 5px; }
.sidebar button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 13px; color: #55647a; background: transparent; border: 0; border-radius: 8px; text-align: left; }.sidebar button:hover { background: #f4f7fb; color: var(--blue); }.sidebar button.active { background: var(--blue-soft); color: var(--blue); font-weight: 700; box-shadow: inset 3px 0 0 var(--blue); }.sidebar button b { margin-left: auto; min-width: 23px; height: 20px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; background: #dce9fb; color: var(--blue); }
.sidebar-bottom { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); }.mes-links { padding: 8px 13px 15px; display: grid; gap: 9px; color: #526279; font-size: 12px; }.mes-links > span { text-transform: uppercase; color: #9aa6b7; font-size: 10px; letter-spacing: .14em; margin-bottom: 2px; }.mes-links div { display: flex; align-items: center; gap: 8px; }.mes-links i { width: 7px; height: 7px; border-radius: 50%; background: #aeb7c3; }.mes-links i.online { background: #31b77c; }
.main-content { min-height: 100vh; margin-left: 218px; padding: 98px 30px 38px; }
.page-heading, .detail-heading { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1500px; margin: 0 auto 22px; }.page-heading h1, .detail-heading h1, .form-heading h1 { margin: 5px 0 4px; font-size: 27px; line-height: 1.25; color: #13213a; }.page-heading p, .detail-heading p, .form-heading p { margin: 0; color: var(--muted); font-size: 13px; }.eyebrow { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.button { border: 0; border-radius: 7px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 13px; transition: .16s ease; }.button.primary { color: white; background: var(--blue); box-shadow: 0 6px 14px rgba(18,103,220,.18); }.button.primary:hover { background: var(--blue-dark); transform: translateY(-1px); }.button.secondary { background: white; color: #55647a; border: 1px solid #d8e0e9; }.button.destructive { background: #d83f4d; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1500px; margin: 0 auto 18px; }.stat-card { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 17px 18px; border: 1px solid var(--line); background: white; border-radius: 10px; box-shadow: 0 3px 12px rgba(33,57,88,.035); text-align: left; }.stat-card:hover { border-color: #9dc5f8; box-shadow: var(--shadow); transform: translateY(-1px); }.stat-icon { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }.stat-icon.red { color: #dc4050; background: #fff0f2; }.stat-icon.blue { color: #1267dc; background: #eaf3ff; }.stat-icon.cyan { color: #058eab; background: #e8fafd; }.stat-icon.violet { color: #7356d9; background: #f1edff; }.stat-copy { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; min-width: 0; }.stat-copy strong { font-size: 24px; color: #15243b; }.stat-copy > span { font-size: 13px; font-weight: 700; color: #374761; }.stat-copy small { grid-column: 1 / -1; color: #919bad; font-size: 11px; }
.task-panel { max-width: 1500px; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }.task-panel-head { height: 57px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); }.scope-tabs { align-self: stretch; display: flex; gap: 24px; }.scope-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7a8799; padding: 0 4px; font-weight: 700; }.scope-tabs button.active { color: var(--blue); border-color: var(--blue); }.result-count { margin-left: auto; color: #9aa5b4; font-size: 12px; }
.filters { padding: 14px 18px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }.status-tabs { display: flex; background: #edf2f7; padding: 3px; border-radius: 7px; }.status-tabs button { border: 0; background: transparent; padding: 7px 12px; border-radius: 5px; color: #66758a; font-size: 12px; }.status-tabs button.active { background: white; color: #193353; box-shadow: 0 1px 5px rgba(38,60,86,.11); font-weight: 700; }.status-tabs b { margin-left: 4px; color: var(--blue); }.filter-controls { margin-left: auto; display: flex; gap: 8px; }.search, .select-wrap { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; background: white; border: 1px solid #dce3eb; border-radius: 6px; color: #8b97a8; }.search { width: 265px; }.search input, .select-wrap select { min-width: 0; border: 0; outline: 0; color: #4c5a6f; background: transparent; font-size: 12px; }.search input { width: 100%; }
.table-shell { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th { padding: 11px 13px; background: #f7f9fc; color: #7d899a; font-size: 11px; font-weight: 700; text-align: left; white-space: nowrap; } td { padding: 13px; border-top: 1px solid #edf1f5; color: #34435a; font-size: 12px; } tbody tr { cursor: pointer; transition: .13s ease; } tbody tr:hover { background: #f7faff; }.task-name, .device-cell { min-width: 180px; display: grid; gap: 4px; }.task-name strong, .device-cell strong { color: #1c2a40; font-size: 13px; }.task-name span, .device-cell span { color: #8c98aa; font-size: 11px; }.owner-cell { display: flex; align-items: center; gap: 8px; white-space: nowrap; }.date-cell { white-space: nowrap; color: #59677c; }.date-cell.danger { color: #d83f4d; font-weight: 700; }
.priority { min-width: 28px; height: 24px; display: inline-grid; place-items: center; border-radius: 5px; padding: 0 7px; font-size: 11px; font-weight: 900; }.priority.p1 { color: #d83f4d; background: #fff0f2; }.priority.p2 { color: #dc7a00; background: #fff5df; }.priority.p3 { color: #53708f; background: #eef3f7; }.priority.p4 { color: #7f8997; background: #f2f4f6; }.badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 5px 8px; border-radius: 14px; font-size: 11px; font-weight: 700; }.badge.amber { color: #a96100; background: #fff4da; }.badge.cyan { color: #087f98; background: #e5f9fc; }.badge.blue { color: #1267dc; background: #eaf3ff; }.badge.violet { color: #6948c7; background: #f0ebff; }.badge.red { color: #c83f4d; background: #fff0f2; }.badge.green { color: #1a8a5a; background: #e8f8f0; }
.icon-button { width: 32px; height: 32px; border: 0; display: grid; place-items: center; border-radius: 7px; color: #8090a4; background: transparent; }.icon-button:hover { color: var(--blue); background: var(--blue-soft); }.pagination { padding: 13px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; align-items: center; gap: 6px; color: #8b96a6; font-size: 11px; }.pagination button { min-width: 29px; height: 29px; border: 1px solid #dce3eb; border-radius: 5px; color: #6a778a; background: white; }.pagination button.active { color: white; background: var(--blue); border-color: var(--blue); }.pagination button:disabled { opacity: .45; cursor: default; }.mobile-task-list, .mobile-bottom-nav, .mobile-fab, .mobile-sticky-action, .mobile-sticky-note { display: none; }
.page-top { max-width: 1500px; margin: 0 auto 18px; }.back-button { border: 0; background: transparent; color: #607087; display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; }.back-button:hover { color: var(--blue); }.detail-top { display: flex; align-items: center; }.detail-heading { align-items: center; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow); }.detail-meta { display: flex; align-items: center; gap: 8px; color: #8793a4; font-size: 11px; }.assignee { min-width: 145px; display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }.assignee small, .assignee strong { display: block; }.assignee small { color: #95a0af; font-size: 10px; }.assignee strong { margin-top: 3px; font-size: 13px; }.detail-actions { margin-left: auto; }.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 16px; max-width: 1500px; margin: 0 auto; }.detail-main { min-width: 0; display: grid; gap: 16px; }.panel { background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.panel-title { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid var(--line); }.panel-title h2 { margin: 0; font-size: 15px; }.panel-title > span { color: #8a96a7; font-size: 11px; }.sync { display: inline-flex; align-items: center; gap: 5px; color: #299367 !important; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 7px 19px 18px; }.info-grid > div { min-height: 65px; padding: 13px 15px; border-bottom: 1px solid #eef2f6; }.info-grid span, .info-grid strong { display: block; }.info-grid span { color: #8995a6; font-size: 11px; margin-bottom: 6px; }.info-grid strong { color: #2b3a50; font-size: 13px; line-height: 1.55; }.info-grid .span-all { grid-column: 1 / -1; }.text-warning { color: #d96e16 !important; }
.timeline { padding: 18px 20px 10px; }.timeline-step { position: relative; min-height: 76px; padding-left: 42px; color: #8692a3; }.timeline-step::before { content: ""; position: absolute; top: 27px; bottom: 0; left: 14px; width: 1px; background: #dfe5ec; }.timeline-step:last-child::before { display: none; }.timeline-dot { position: absolute; left: 0; top: 0; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #7e8a99; background: #eef1f5; font-size: 11px; font-weight: 800; z-index: 1; }.timeline-step strong, .timeline-step span, .timeline-step small { display: block; }.timeline-step strong { color: #35445a; font-size: 13px; }.timeline-step span { margin-top: 3px; font-size: 10px; }.timeline-step small { margin-top: 5px; font-size: 10px; color: #97a1af; }.timeline-step.done .timeline-dot { color: white; background: #2aa46f; }.timeline-step.done span { color: #2aa46f; }.timeline-step.current .timeline-dot { color: white; background: #ea941b; box-shadow: 0 0 0 5px #fff0db; }.timeline-step.current span { color: #cc7200; font-weight: 700; }
.form-heading { display: flex; align-items: center; gap: 14px; max-width: 1050px; margin: 0 auto 18px; }.form-mark { width: 49px; height: 49px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }.repair-form { max-width: 1050px; margin: 0 auto; }.form-panel { overflow: hidden; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 22px; }.field { display: flex; flex-direction: column; gap: 7px; color: #526177; font-size: 12px; position: relative; }.field > span { font-weight: 700; }.field b { color: #db3f4e; }.field input, .field select, .field textarea { width: 100%; border: 1px solid #d7dfe8; background: white; color: #29384d; border-radius: 6px; outline: none; padding: 10px 11px; transition: .15s; }.field input:focus, .field select:focus, .field textarea:focus { border-color: #6aa5ef; box-shadow: 0 0 0 3px #eaf3ff; }.field textarea { min-height: 98px; resize: vertical; line-height: 1.55; }.field small { color: #97a2b1; }.field.full { grid-column: 1 / -1; }.counter { position: absolute; right: 10px; bottom: 8px; }.input-icon { display: flex; align-items: center; border: 1px solid #d7dfe8; border-radius: 6px; padding-left: 10px; color: #8b98aa; }.input-icon input { border: 0; box-shadow: none !important; }
.device-picker { position: relative; z-index: 12; }.device-picker.open { z-index: 40; }.device-picker-input { display: flex; align-items: center; gap: 8px; border: 1px solid #d7dfe8; background: white; border-radius: 6px; padding: 0 10px; color: #8b98aa; transition: .15s; }.device-picker.open .device-picker-input { border-color: #6aa5ef; box-shadow: 0 0 0 3px #eaf3ff; }.device-picker-input input { min-width: 0; height: 38px; padding: 0; border: 0; box-shadow: none !important; }.device-picker-chevron { flex: 0 0 auto; transition: transform .15s; }.device-picker.open .device-picker-chevron { transform: rotate(180deg); }.device-picker-options { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0; max-height: 292px; overflow: auto; padding: 5px; border: 1px solid #d6e0eb; border-radius: 8px; background: white; box-shadow: 0 14px 34px rgba(25, 51, 83, .18); }.device-picker-options button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: #29384d; text-align: left; cursor: pointer; }.device-picker-options button:hover, .device-picker-options button:focus, .device-picker-options button.selected { background: #edf5ff; outline: none; }.device-picker-options button strong { font-size: 12px; }.device-picker-options button span { max-width: 100%; overflow: hidden; color: #7b899b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.device-picker-empty { padding: 20px 12px; color: #8b98aa; text-align: center; }
.radio-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.radio-cards label { cursor: pointer; }.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }.radio-cards span { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #d7dfe8; border-radius: 6px; color: #506078; font-weight: 800; }.radio-cards small { font-weight: 400; }.radio-cards input:checked + span { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }.radio-cards input:checked + .p1-choice { color: #d33d4c; border-color: #e85b68; background: #fff0f2; box-shadow: inset 0 0 0 1px #e85b68; }
.upload-box { width: 100%; min-height: 88px; border: 1px dashed #b9c7d8; border-radius: 7px; color: var(--blue); background: #f8fbff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }.upload-box span { font-size: 12px; font-weight: 700; }.upload-box small { color: #8d99aa; font-size: 10px; }.upload-box:hover { border-color: var(--blue); background: var(--blue-soft); }.form-footer { display: flex; justify-content: flex-end; gap: 9px; padding-top: 14px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(11,25,45,.5); backdrop-filter: blur(2px); padding: 18px; }.modal { width: min(620px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: white; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,22,56,.3); overflow: hidden; animation: modal-in .18s ease; }.modal > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }.modal h2 { margin: 3px 0 0; font-size: 19px; }.modal-body { padding: 20px; overflow-y: auto; display: grid; gap: 16px; }.modal > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fafbfd; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.confirm-block { text-align: center; padding: 18px 10px; }.confirm-block.compact { padding: 10px; }.confirm-icon { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }.confirm-block h3 { margin: 0 0 7px; font-size: 18px; }.confirm-block p { margin: 0; color: #7e8a9b; font-size: 12px; line-height: 1.6; }.segmented.large { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.segmented.large button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d8e0e9; border-radius: 7px; color: #657389; background: white; }.segmented.large button.active { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); font-weight: 700; }.segmented.large button.active.danger { color: #d43c4b; border-color: #e25a67; background: #fff0f2; }
.toast { position: fixed; top: 83px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 8px; color: #176b49; background: #e9f9f1; border: 1px solid #9ad8bd; border-radius: 8px; padding: 11px 16px; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; animation: toast-in .22s ease; }.empty-panel { max-width: 760px; margin: 12vh auto 0; text-align: center; padding: 70px 30px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }.empty-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 18px; }.empty-panel h2 { margin: 0 0 8px; }.empty-panel p { margin: 0; color: var(--muted); line-height: 1.7; }.no-result { text-align: center; color: #8c98a9; padding: 30px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }.filters { align-items: stretch; flex-direction: column; }.filter-controls { margin-left: 0; }.search { flex: 1; width: auto; }
  .detail-layout { grid-template-columns: 1fr; }.detail-side { order: -1; }.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.timeline-step { min-height: auto; padding: 38px 5px 8px; }.timeline-step::before { left: 28px; top: 14px; right: -12px; bottom: auto; width: auto; height: 1px; }.timeline-step:last-child::before { display: none; }.timeline-dot { left: 14px; }
}

@media (max-width: 720px) {
  body { background: #f1f4f8; }.app-header { height: 58px; padding: 0 12px; }.mobile-menu-button { display: block; }.brand { min-width: 0; }.brand-mark { width: 34px; height: 34px; border-radius: 8px; }.brand strong { font-size: 15px; }.brand small, .system-state, .role-switch > span { display: none; }.role-switch select { max-width: 79px; padding: 6px 8px; }.header-actions { gap: 7px; }.notification { display: none; }.avatar { width: 32px; height: 32px; }
  .sidebar { top: 58px; width: 246px; transform: translateX(-100%); box-shadow: 10px 0 32px rgba(12,28,50,.14); transition: .2s ease; }.sidebar.open { transform: translateX(0); }.main-content { margin-left: 0; padding: 76px 12px 90px; }.page-heading { align-items: center; margin-bottom: 16px; }.page-heading h1, .detail-heading h1, .form-heading h1 { font-size: 21px; }.page-heading p { display: none; }.eyebrow { font-size: 9px; }.create-button { display: none; }
  .stats-grid { grid-template-columns: repeat(4, minmax(76px, 1fr)); gap: 7px; overflow-x: auto; margin: 0 -12px 12px; padding: 0 12px 4px; }.stat-card { min-width: 92px; padding: 11px 8px; display: grid; place-items: center; gap: 6px; text-align: center; box-shadow: none; }.stat-icon { width: 34px; height: 34px; }.stat-copy { display: flex; flex-direction: column; align-items: center; gap: 1px; }.stat-copy strong { font-size: 19px; }.stat-copy > span { font-size: 10px; white-space: nowrap; }.stat-copy small { display: none; }
  .task-panel { margin: 0 -12px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; background: transparent; }.task-panel-head { height: 50px; background: white; padding: 0 14px; }.scope-tabs { gap: 20px; }.filters { padding: 10px 12px; background: #f1f4f8; gap: 9px; }.status-tabs { background: #e5eaf0; }.filter-controls { display: grid; grid-template-columns: 1fr auto; }.search { grid-column: 1 / -1; width: 100%; height: 40px; }.select-wrap { height: 36px; }.date-filter { display: none; }.table-shell, .pagination { display: none; }.mobile-task-list { display: grid; gap: 8px; padding: 0 10px 12px; }
  .mobile-task { width: 100%; padding: 14px; border: 1px solid #e1e6ed; border-radius: 10px; background: white; text-align: left; box-shadow: 0 2px 9px rgba(32,55,82,.045); }.mobile-task-head { display: flex; align-items: center; gap: 7px; }.mobile-task-age { margin-left: auto; color: #9aa4b3; font-size: 10px; }.mobile-task h3 { margin: 11px 0 9px; color: #1b2a40; font-size: 14px; line-height: 1.45; }.mobile-task p { display: flex; align-items: center; gap: 6px; color: #647389; font-size: 11px; margin: 0; }.mobile-task p span { margin-left: auto; color: #97a1af; }.mobile-task-foot { display: flex; align-items: center; gap: 15px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f5; color: #758297; font-size: 10px; }.mobile-task-foot span { display: flex; align-items: center; gap: 4px; }.chevron { margin-left: auto; color: #a3adba; }
  .mobile-bottom-nav { position: fixed; z-index: 25; inset: auto 0 0 0; height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.97); border-top: 1px solid #dfe5ec; box-shadow: 0 -5px 18px rgba(26,49,79,.07); }.mobile-bottom-nav button { border: 0; background: transparent; color: #8a96a7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; }.mobile-bottom-nav button.active { color: var(--blue); font-weight: 700; }.mobile-fab { position: fixed; right: 18px; bottom: 78px; z-index: 24; width: 51px; height: 51px; border: 0; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); box-shadow: 0 9px 20px rgba(18,103,220,.32); }
  .detail-top { margin-bottom: 12px; }.detail-actions { display: none; }.back-button span { font-size: 12px; }.detail-heading { display: block; padding: 16px; margin-bottom: 10px; }.detail-heading h1 { margin-top: 9px; }.assignee { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; margin-top: 14px; }.detail-layout { gap: 9px; }.detail-side { order: initial; }.panel { border-radius: 9px; box-shadow: none; }.info-grid { grid-template-columns: 1fr 1fr; padding: 4px 11px 13px; }.info-grid > div { padding: 11px 8px; min-height: 61px; }.info-grid .span-all { grid-column: 1 / -1; }.panel-title { height: 48px; padding: 0 14px; }
  .timeline { display: block; padding: 16px 16px 5px; }.timeline-step { min-height: 70px; padding: 0 0 0 40px; }.timeline-step::before { top: 26px; left: 14px; right: auto; bottom: 0; width: 1px; height: auto; }.timeline-dot { left: 0; }.mobile-sticky-action { position: fixed; display: block; z-index: 24; inset: auto 0 64px; padding: 10px 12px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }.mobile-sticky-action .button { width: 100%; }.mobile-sticky-note { display: block; text-align: center; color: #8b96a6; padding: 12px; font-size: 11px; }
  .form-heading { margin-bottom: 13px; }.form-mark { width: 42px; height: 42px; }.repair-form { margin: 0 -12px; }.form-panel { border-left: 0; border-right: 0; border-radius: 0; }.form-grid { grid-template-columns: 1fr; gap: 15px; padding: 16px 13px; }.field.full { grid-column: auto; }.radio-cards { gap: 5px; }.radio-cards span { min-height: 39px; font-size: 11px; flex-direction: column; gap: 0; }.form-footer { position: fixed; z-index: 26; inset: auto 0 0 0; background: white; border-top: 1px solid var(--line); padding: 10px 12px; }.form-footer .button { flex: 1; }
  .modal-backdrop { align-items: end; padding: 0; }.modal { width: 100%; max-height: 88vh; border-radius: 14px 14px 0 0; }.form-row { grid-template-columns: 1fr; }.modal > footer .button { flex: 1; }.toast { top: 67px; width: calc(100% - 24px); justify-content: center; text-align: center; }.empty-panel { margin-top: 12vh; padding: 45px 20px; }.empty-panel h2 { font-size: 19px; }.empty-panel p { font-size: 12px; }
}

/* Mobile mode is a self-contained 390 x 844 phone canvas on desktop screens. */
.prototype-canvas.mobile { min-height: 100vh; padding: 30px 18px; background: radial-gradient(circle at 50% 18%, #f8fbff 0, #e9eff7 42%, #dce5ef 100%); }
.mobile-preview-mode { position: relative; width: 390px; height: 844px; min-height: 0; margin: 0 auto; overflow: hidden; border: 8px solid #172231; border-radius: 34px; background: #f1f4f8; box-shadow: 0 30px 70px rgba(21,42,68,.28), inset 0 0 0 1px rgba(255,255,255,.4); }
.stats-grid, .mobile-preview-mode .main-content { scrollbar-width: none; }
.stats-grid::-webkit-scrollbar, .mobile-preview-mode .main-content::-webkit-scrollbar { display: none; }
.mobile-preview-mode::after { content: ""; position: absolute; top: 7px; left: 50%; z-index: 90; width: 78px; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #172231; pointer-events: none; }
.mobile-preview-mode .app-header { position: absolute; height: 58px; padding: 0 12px; }
.mobile-preview-mode .mobile-menu-button { display: block; }
.mobile-preview-mode .brand { min-width: 0; }
.mobile-preview-mode .brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.mobile-preview-mode .brand strong { font-size: 15px; }
.mobile-preview-mode .brand small, .mobile-preview-mode .system-state, .mobile-preview-mode .role-switch > span { display: none; }
.mobile-preview-mode .role-switch select { max-width: 79px; padding: 6px 8px; }
.mobile-preview-mode .header-actions { gap: 7px; }
.mobile-preview-mode .header-view-switch { position: relative; width: 42px; padding: 0; justify-content: center; }.mobile-preview-mode .header-view-switch select { position: absolute; width: 42px; height: 34px; opacity: 0; }.mobile-preview-mode .header-view-switch > svg:last-child { display: none; }
.mobile-preview-mode .notification { display: none; }
.mobile-preview-mode .avatar { width: 32px; height: 32px; }
.mobile-preview-mode .sidebar { position: absolute; top: 58px; width: 246px; transform: translateX(-100%); box-shadow: 10px 0 32px rgba(12,28,50,.14); transition: .2s ease; }
.mobile-preview-mode .sidebar.open { transform: translateX(0); }
.mobile-preview-mode .main-content { height: 100%; min-height: 0; margin-left: 0; padding: 76px 12px 90px; overflow-y: auto; }
.mobile-preview-mode .page-heading { align-items: center; margin-bottom: 16px; }
.mobile-preview-mode .page-heading h1, .mobile-preview-mode .detail-heading h1, .mobile-preview-mode .form-heading h1 { font-size: 21px; }
.mobile-preview-mode .page-heading p { display: none; }
.mobile-preview-mode .eyebrow { font-size: 9px; }
.mobile-preview-mode .create-button { display: none; }
.mobile-preview-mode .stats-grid { grid-template-columns: repeat(4, minmax(76px, 1fr)); gap: 7px; overflow-x: auto; margin: 0 -12px 12px; padding: 0 12px 4px; }
.mobile-preview-mode .stat-card { min-width: 92px; padding: 11px 8px; display: grid; place-items: center; gap: 6px; text-align: center; box-shadow: none; }
.mobile-preview-mode .stat-icon { width: 34px; height: 34px; }
.mobile-preview-mode .stat-copy { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.mobile-preview-mode .stat-copy strong { font-size: 19px; }
.mobile-preview-mode .stat-copy > span { font-size: 10px; white-space: nowrap; }
.mobile-preview-mode .stat-copy small { display: none; }
.mobile-preview-mode .task-panel { margin: 0 -12px; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; background: transparent; }
.mobile-preview-mode .task-panel-head { height: 50px; background: white; padding: 0 14px; }
.mobile-preview-mode .scope-tabs { gap: 20px; }
.mobile-preview-mode .filters { padding: 10px 12px; background: #f1f4f8; gap: 9px; align-items: stretch; flex-direction: column; }
.mobile-preview-mode .status-tabs { background: #e5eaf0; }
.mobile-preview-mode .filter-controls { margin-left: 0; display: grid; grid-template-columns: 1fr auto; }
.mobile-preview-mode .search { grid-column: 1 / -1; width: 100%; height: 40px; }
.mobile-preview-mode .select-wrap { height: 36px; }
.mobile-preview-mode .date-filter { display: none; }
.mobile-preview-mode .table-shell, .mobile-preview-mode .pagination { display: none; }
.mobile-preview-mode .mobile-task-list { display: grid; gap: 8px; padding: 0 10px 12px; }
.mobile-preview-mode .mobile-task { width: 100%; padding: 14px; border: 1px solid #e1e6ed; border-radius: 10px; background: white; text-align: left; box-shadow: 0 2px 9px rgba(32,55,82,.045); }
.mobile-preview-mode .mobile-task-head { display: flex; align-items: center; gap: 7px; }
.mobile-preview-mode .mobile-task-age { margin-left: auto; color: #9aa4b3; font-size: 10px; }
.mobile-preview-mode .mobile-task h3 { margin: 11px 0 9px; color: #1b2a40; font-size: 14px; line-height: 1.45; }
.mobile-preview-mode .mobile-task p { display: flex; align-items: center; gap: 6px; color: #647389; font-size: 11px; margin: 0; }
.mobile-preview-mode .mobile-task p span { margin-left: auto; color: #97a1af; }
.mobile-preview-mode .mobile-task-foot { display: flex; align-items: center; gap: 15px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f5; color: #758297; font-size: 10px; }
.mobile-preview-mode .mobile-task-foot span { display: flex; align-items: center; gap: 4px; }
.mobile-preview-mode .chevron { margin-left: auto; color: #a3adba; }
.mobile-preview-mode .mobile-bottom-nav { position: absolute; z-index: 25; inset: auto 0 0; height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.97); border-top: 1px solid #dfe5ec; box-shadow: 0 -5px 18px rgba(26,49,79,.07); }
.mobile-preview-mode .mobile-bottom-nav button { border: 0; background: transparent; color: #8a96a7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; }
.mobile-preview-mode .mobile-bottom-nav button.active { color: var(--blue); font-weight: 700; }
.mobile-preview-mode .mobile-fab { position: absolute; right: 18px; bottom: 78px; z-index: 24; width: 51px; height: 51px; border: 0; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); box-shadow: 0 9px 20px rgba(18,103,220,.32); }
.mobile-preview-mode .detail-top { margin-bottom: 12px; }
.mobile-preview-mode .detail-actions { display: none; }
.mobile-preview-mode .back-button span { font-size: 12px; }
.mobile-preview-mode .detail-heading { display: block; padding: 16px; margin-bottom: 10px; }
.mobile-preview-mode .detail-heading h1 { margin-top: 9px; }
.mobile-preview-mode .assignee { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; margin-top: 14px; }
.mobile-preview-mode .detail-layout { grid-template-columns: 1fr; gap: 9px; }
.mobile-preview-mode .detail-side { order: initial; }
.mobile-preview-mode .panel { border-radius: 9px; box-shadow: none; }
.mobile-preview-mode .info-grid { grid-template-columns: 1fr 1fr; padding: 4px 11px 13px; }
.mobile-preview-mode .info-grid > div { padding: 11px 8px; min-height: 61px; }
.mobile-preview-mode .info-grid .span-all { grid-column: 1 / -1; }
.mobile-preview-mode .panel-title { height: 48px; padding: 0 14px; }
.mobile-preview-mode .timeline { display: block; padding: 16px 16px 5px; }
.mobile-preview-mode .timeline-step { min-height: 70px; padding: 0 0 0 40px; }
.mobile-preview-mode .timeline-step::before { top: 26px; left: 14px; right: auto; bottom: 0; width: 1px; height: auto; }
.mobile-preview-mode .timeline-dot { left: 0; }
.mobile-preview-mode .mobile-sticky-action { position: absolute; display: block; z-index: 24; inset: auto 0 64px; padding: 10px 12px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.mobile-preview-mode .mobile-sticky-action .button { width: 100%; }
.mobile-preview-mode .mobile-sticky-note { display: block; text-align: center; color: #8b96a6; padding: 12px; font-size: 11px; }
.mobile-preview-mode .form-heading { margin-bottom: 13px; }
.mobile-preview-mode .form-mark { width: 42px; height: 42px; }
.mobile-preview-mode .repair-form { margin: 0 -12px; }
.mobile-preview-mode .form-panel { border-left: 0; border-right: 0; border-radius: 0; }
.mobile-preview-mode .form-grid { grid-template-columns: 1fr; gap: 15px; padding: 16px 13px; }
.mobile-preview-mode .field.full { grid-column: auto; }
.mobile-preview-mode .radio-cards { gap: 5px; }
.mobile-preview-mode .radio-cards span { min-height: 39px; font-size: 11px; flex-direction: column; gap: 0; }
.mobile-preview-mode .form-footer { position: absolute; z-index: 26; inset: auto 0 0; background: white; border-top: 1px solid var(--line); padding: 10px 12px; }
.mobile-preview-mode .form-footer .button { flex: 1; }
.mobile-preview-mode .modal-backdrop { position: absolute; align-items: end; padding: 0; }
.mobile-preview-mode .modal { width: 100%; max-height: 88%; border-radius: 14px 14px 0 0; }
.mobile-preview-mode .form-row { grid-template-columns: 1fr; }
.mobile-preview-mode .modal > footer .button { flex: 1; }
.mobile-preview-mode .toast { position: absolute; top: 67px; width: calc(100% - 24px); justify-content: center; text-align: center; }
.mobile-preview-mode .empty-panel { margin-top: 12vh; padding: 45px 20px; }
.mobile-preview-mode .empty-panel h2 { font-size: 19px; }
.mobile-preview-mode .empty-panel p { font-size: 12px; }

@media (max-width: 720px) {
  .prototype-canvas.mobile { padding: 0; }
  .mobile-preview-mode { width: 100%; height: 100vh; margin: 0; border: 0; border-radius: 0; }
  .mobile-preview-mode::after { display: none; }
  input, select, textarea, .field input, .field select, .field textarea, .search input, .device-picker-input input { font-size: 16px !important; }
  .header-view-switch { width: 42px; padding: 0; justify-content: center; border-color: rgba(255,255,255,.32); }
  .header-view-switch select { position: absolute; width: 42px; height: 34px; opacity: 0; }
  .header-view-switch > svg:last-child { display: none; }
}

/* Device asset center */
.module-page { max-width: 1500px; margin: 0 auto; }
.device-stats .stat-card { cursor: default; }
.asset-panel { overflow: hidden; }
.asset-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.asset-toolbar h2 { margin: 0 0 3px; font-size: 15px; }
.asset-toolbar > div > span { color: #8b97a7; font-size: 11px; }
.asset-filters { display: flex; align-items: center; gap: 8px; }
.asset-filters .search { width: 290px; }
.device-identity { min-width: 225px; display: flex; align-items: center; gap: 11px; }
.asset-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--blue); background: var(--blue-soft); }
.asset-icon.large { width: 58px; height: 58px; border-radius: 14px; }
.device-identity strong, .device-identity span, .location-cell strong, .location-cell span { display: block; }
.device-identity strong { color: #1b2a40; font-size: 13px; }
.device-identity span, .location-cell span { margin-top: 4px; color: #8b97a8; font-size: 10px; }
.location-cell { min-width: 145px; }
.location-cell strong { color: #445269; font-size: 12px; }
.device-status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 5px 9px; border-radius: 14px; font-size: 11px; font-weight: 700; }
.device-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.device-status.normal { color: #16855a; background: #e9f8f1; }.device-status.warning { color: #b66a00; background: #fff4db; }.device-status.pending { color: #684ac1; background: #f0ebff; }.device-status.neutral { color: #607086; background: #eef2f6; }.device-status.danger { color: #d1404f; background: #fff0f2; }
.health-value { min-width: 128px; display: flex; align-items: center; gap: 9px; }
.health-value > strong { width: 28px; font-size: 15px; }.health-value > strong.good { color: #178a5d; }.health-value > strong.medium { color: #d47b05; }.health-value > strong.low { color: #d1404f; }
.health-value > div { flex: 1; }.health-value > div > span { width: 68px; height: 5px; display: block; overflow: hidden; border-radius: 4px; background: #edf1f5; }.health-value > div > span i { height: 100%; display: block; border-radius: 4px; background: #2b8bea; }
.health-value small { display: flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 9px; }.health-value small.down { color: #d34a58; }.health-value small.up { color: #20875f; }
.source-tag { display: inline-block; padding: 4px 7px; border: 1px solid #dfe6ee; border-radius: 5px; color: #68768b; background: #f8fafc; font-size: 10px; }
.mobile-device-list { display: none; }
.device-hero { display: flex; align-items: center; justify-content: space-between; max-width: 1500px; margin: 0 auto 16px; padding: 22px; }
.device-hero-main { display: flex; align-items: center; gap: 16px; }.device-hero h1 { margin: 4px 0 2px; font-size: 27px; }.device-hero p { margin: 0; color: #66758a; font-size: 13px; }.device-hero-tags { display: flex; align-items: center; gap: 8px; margin-top: 12px; }.device-hero-tags > span:not(.device-status) { display: inline-flex; align-items: center; gap: 4px; color: #788598; font-size: 11px; }
.device-health-ring { width: 110px; height: 88px; display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; gap: 0 6px; color: var(--blue); border-left: 1px solid var(--line); }.device-health-ring svg { grid-row: 1 / 3; align-self: center; }.device-health-ring strong { font-size: 25px; line-height: 1; }.device-health-ring span { color: #8490a1; font-size: 10px; }
.device-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; max-width: 1500px; margin: 0 auto; }.device-detail-grid .detail-main { display: grid; gap: 16px; }
.maintenance-list { padding: 0 18px; }.maintenance-item { min-height: 68px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf1f5; }.maintenance-item:last-child { border-bottom: 0; }.maintenance-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: var(--blue); background: var(--blue-soft); }.maintenance-item > div { flex: 1; }.maintenance-item strong, .maintenance-item > div span { display: block; }.maintenance-item strong { font-size: 12px; }.maintenance-item > div span { margin-top: 4px; color: #8b97a7; font-size: 10px; }.maintenance-owner { color: #68768a; font-size: 11px; }
.health-breakdown { display: grid; gap: 19px; padding: 20px; }.health-breakdown > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; }.health-breakdown span, .health-breakdown b { font-size: 11px; }.health-breakdown span { color: #68768a; }.health-breakdown b { color: #34435a; }.health-breakdown i { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 5px; background: #edf1f5; }.health-breakdown em { height: 100%; display: block; border-radius: 5px; background: #2b8bea; }
.asset-advice { display: flex; gap: 10px; margin: 0 18px 18px; padding: 14px; color: #176a9f; background: #edf7ff; border: 1px solid #cee7fb; border-radius: 8px; }.asset-advice svg { flex: 0 0 auto; }.asset-advice strong { font-size: 12px; }.asset-advice p { margin: 5px 0 0; color: #678197; font-size: 10px; line-height: 1.6; }

/* Maintenance analysis */
.report-heading { align-items: center; }.report-actions { display: flex; align-items: center; gap: 8px; }.range-switch { display: flex; padding: 3px; border-radius: 7px; background: #e9eef4; }.range-switch button { height: 30px; padding: 0 11px; border: 0; border-radius: 5px; color: #6f7c8f; background: transparent; font-size: 11px; }.range-switch button.active { color: #143a67; background: white; box-shadow: 0 1px 5px rgba(29,51,77,.12); font-weight: 700; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }.report-kpi { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 3px 12px rgba(33,57,88,.035); }.report-kpi > div { min-width: 0; }.report-kpi span { display: block; color: #657389; font-size: 11px; }.report-kpi strong { display: block; margin: 4px 0 3px; color: #17243b; font-size: 24px; }.report-kpi strong small { margin-left: 3px; color: #758195; font-size: 10px; }.report-kpi em { color: #d24b57; font-size: 10px; font-style: normal; }.report-kpi em.good { color: #1d8a5e; }.report-kpi em i { color: #9aa4b2; font-style: normal; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 16px; }.report-grid .panel { overflow: hidden; }.panel-title > div h2 { margin: 0; }.panel-title > div span { display: block; margin-top: 3px; color: #8b97a8; font-size: 10px; }.chart-legend { display: flex; align-items: center; gap: 13px; }.chart-legend span { display: flex !important; align-items: center; gap: 5px; margin: 0 !important; }.chart-legend i { width: 8px; height: 8px; border-radius: 2px; }.chart-legend i.created { background: #1267dc; }.chart-legend i.closed { background: #2bb792; }
.bar-chart { height: 245px; display: flex; align-items: end; justify-content: space-around; gap: 10px; padding: 26px 22px 19px; background: repeating-linear-gradient(to top, transparent 0, transparent 43px, #eef2f6 44px); }.bar-group { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 9px; }.bar-pair { height: 175px; display: flex; align-items: end; gap: 5px; }.bar-pair i { position: relative; width: 16px; min-height: 12px; border-radius: 4px 4px 1px 1px; }.bar-pair i.created { background: #1267dc; }.bar-pair i.closed { background: #2bb792; }.bar-pair b { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #8390a2; font-size: 8px; font-style: normal; }.bar-group > span { color: #8a96a6; font-size: 9px; }
.fault-panel { padding-bottom: 13px; }.fault-stack { height: 14px; display: flex; margin: 22px 18px 18px; overflow: hidden; border-radius: 7px; }.fault-stack i { height: 100%; }.fault-list { display: grid; gap: 12px; padding: 0 19px 12px; }.fault-list div { display: flex; align-items: center; justify-content: space-between; }.fault-list span { display: flex; align-items: center; gap: 7px; color: #607087; font-size: 11px; }.fault-list span i { width: 8px; height: 8px; border-radius: 2px; }.fault-list strong { font-size: 12px; }
.ranking-list { padding: 6px 19px 13px; }.ranking-list > div { min-height: 47px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #edf1f5; }.ranking-list > div:last-child { border-bottom: 0; }.ranking-list > div > b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; color: #6b788c; background: #eef2f6; font-size: 10px; }.ranking-list > div:first-child > b { color: #b44c20; background: #fff0df; }.ranking-list span { color: #34435a; font-size: 11px; font-weight: 700; }.ranking-list span i { width: 100%; max-width: 170px; height: 4px; display: block; margin-top: 5px; overflow: hidden; border-radius: 3px; background: #edf1f5; }.ranking-list span em { height: 100%; display: block; background: #5a9be9; }.ranking-list strong { text-align: right; font-size: 11px; }.ranking-list strong small { display: block; margin-top: 3px; color: #929dac; font-size: 9px; font-weight: 400; }
.efficiency-list { padding: 7px 19px 13px; }.efficiency-list > div { min-height: 52px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 8px; border-bottom: 1px solid #edf1f5; }.efficiency-list > div:last-child { border-bottom: 0; }.efficiency-list span { color: #6b788b; font-size: 11px; }.efficiency-list strong { color: #27364b; font-size: 13px; }.efficiency-list em { grid-column: 2; display: flex; align-items: center; gap: 2px; color: #d24b57; font-size: 9px; font-style: normal; }.efficiency-list em.good { color: #1e8a5f; }

@media (max-width: 1100px) {
  .report-kpis { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
  .device-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .asset-toolbar { display: block; padding: 14px 12px; }.asset-filters { display: grid; grid-template-columns: 1fr auto; margin-top: 12px; }.asset-filters .search { width: 100%; grid-column: 1 / -1; }.device-table { display: none; }.mobile-device-list { display: grid; gap: 8px; padding: 10px; background: #f1f4f8; }.mobile-device-card { width: 100%; padding: 14px; border: 1px solid #e1e7ee; border-radius: 10px; background: white; text-align: left; }.mobile-device-head { display: flex; align-items: center; gap: 10px; }.mobile-device-head > div { min-width: 0; flex: 1; }.mobile-device-head strong, .mobile-device-head span { display: block; }.mobile-device-head strong { font-size: 14px; }.mobile-device-head span { margin-top: 3px; overflow: hidden; color: #8b97a7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.mobile-device-state { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }.mobile-device-state > span { color: #8b97a8; font-size: 10px; }.mobile-device-health { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 11px 0; border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }.mobile-device-health > span { color: #6e7b8e; font-size: 10px; }.mobile-device-meta { display: flex; justify-content: space-between; margin-top: 10px; color: #7f8b9c; font-size: 9px; }.mobile-device-meta span { display: flex; align-items: center; gap: 3px; }
  .device-hero { display: block; padding: 16px; margin-bottom: 9px; }.device-hero-main { align-items: flex-start; }.device-hero h1 { font-size: 22px; }.device-hero-tags { flex-wrap: wrap; }.device-health-ring { width: 100%; height: auto; grid-template-columns: auto auto auto; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); border-left: 0; }.device-health-ring svg { grid-row: auto; }.device-health-ring strong { font-size: 21px; }.device-detail-grid { gap: 9px; }.maintenance-list { padding: 0 12px; }.maintenance-item { flex-wrap: wrap; padding: 11px 0; }.maintenance-item .badge { margin-left: 45px; }.maintenance-owner { margin-left: auto; }.asset-side { margin-bottom: 10px; }
  .report-heading { align-items: flex-start; }.report-actions { align-items: stretch; flex-wrap: wrap; margin-top: 12px; }.report-actions .select-wrap { flex: 1; }.report-actions .range-switch { order: 3; width: 100%; }.range-switch button { flex: 1; }.export-button { width: 40px; padding: 0; }.export-button svg { margin: auto; }.export-button { font-size: 0; }.report-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }.report-kpi { padding: 12px 10px; gap: 8px; }.report-kpi .stat-icon { width: 34px; height: 34px; }.report-kpi strong { font-size: 20px; }.report-kpi em i { display: none; }.report-grid { gap: 9px; }.bar-chart { height: 220px; padding: 24px 8px 14px; }.bar-pair { height: 155px; gap: 3px; }.bar-pair i { width: 12px; }.chart-legend { gap: 7px; }.chart-legend span { font-size: 8px !important; }.ranking-list span i { max-width: 120px; }
}

/* Force the same responsive module layouts inside the desktop phone preview. */
.mobile-preview-mode .asset-toolbar { display: block; padding: 14px 12px; }.mobile-preview-mode .asset-filters { display: grid; grid-template-columns: 1fr auto; margin-top: 12px; }.mobile-preview-mode .asset-filters .search { width: 100%; grid-column: 1 / -1; }.mobile-preview-mode .device-table { display: none; }.mobile-preview-mode .mobile-device-list { display: grid; gap: 8px; padding: 10px; background: #f1f4f8; }.mobile-preview-mode .mobile-device-card { width: 100%; padding: 14px; border: 1px solid #e1e7ee; border-radius: 10px; background: white; text-align: left; }.mobile-preview-mode .mobile-device-head { display: flex; align-items: center; gap: 10px; }.mobile-preview-mode .mobile-device-head > div { min-width: 0; flex: 1; }.mobile-preview-mode .mobile-device-head strong, .mobile-preview-mode .mobile-device-head span { display: block; }.mobile-preview-mode .mobile-device-head strong { font-size: 14px; }.mobile-preview-mode .mobile-device-head span { margin-top: 3px; overflow: hidden; color: #8b97a7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.mobile-preview-mode .mobile-device-state { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }.mobile-preview-mode .mobile-device-state > span { color: #8b97a8; font-size: 10px; }.mobile-preview-mode .mobile-device-health { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 11px 0; border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }.mobile-preview-mode .mobile-device-health > span { color: #6e7b8e; font-size: 10px; }.mobile-preview-mode .mobile-device-meta { display: flex; justify-content: space-between; margin-top: 10px; color: #7f8b9c; font-size: 9px; }.mobile-preview-mode .mobile-device-meta span { display: flex; align-items: center; gap: 3px; }
.mobile-preview-mode .device-hero { display: block; padding: 16px; margin-bottom: 9px; }.mobile-preview-mode .device-hero-main { align-items: flex-start; }.mobile-preview-mode .device-hero h1 { font-size: 22px; }.mobile-preview-mode .device-hero-tags { flex-wrap: wrap; }.mobile-preview-mode .device-health-ring { width: 100%; height: auto; grid-template-columns: auto auto auto; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); border-left: 0; }.mobile-preview-mode .device-health-ring svg { grid-row: auto; }.mobile-preview-mode .device-health-ring strong { font-size: 21px; }.mobile-preview-mode .device-detail-grid { grid-template-columns: 1fr; gap: 9px; }.mobile-preview-mode .maintenance-list { padding: 0 12px; }.mobile-preview-mode .maintenance-item { flex-wrap: wrap; padding: 11px 0; }.mobile-preview-mode .maintenance-item .badge { margin-left: 45px; }.mobile-preview-mode .maintenance-owner { margin-left: auto; }.mobile-preview-mode .asset-side { margin-bottom: 10px; }
.mobile-preview-mode .report-heading { align-items: flex-start; }.mobile-preview-mode .report-actions { align-items: stretch; flex-wrap: wrap; margin-top: 12px; }.mobile-preview-mode .report-actions .select-wrap { flex: 1; }.mobile-preview-mode .report-actions .range-switch { order: 3; width: 100%; }.mobile-preview-mode .range-switch button { flex: 1; }.mobile-preview-mode .export-button { width: 40px; padding: 0; font-size: 0; }.mobile-preview-mode .export-button svg { margin: auto; }.mobile-preview-mode .report-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }.mobile-preview-mode .report-kpi { padding: 12px 10px; gap: 8px; }.mobile-preview-mode .report-kpi .stat-icon { width: 34px; height: 34px; }.mobile-preview-mode .report-kpi strong { font-size: 20px; }.mobile-preview-mode .report-kpi em i { display: none; }.mobile-preview-mode .report-grid { grid-template-columns: 1fr; gap: 9px; }.mobile-preview-mode .bar-chart { height: 220px; padding: 24px 8px 14px; }.mobile-preview-mode .bar-pair { height: 155px; gap: 3px; }.mobile-preview-mode .bar-pair i { width: 12px; }.mobile-preview-mode .chart-legend { gap: 7px; }.mobile-preview-mode .chart-legend span { font-size: 8px !important; }.mobile-preview-mode .ranking-list span i { max-width: 120px; }

/* Production-ready local data controls */
.button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; transform: none !important; }
.system-state.local span { background: #ffd166; box-shadow: 0 0 0 4px rgba(255,209,102,.18); }
.device-actions { display: flex; align-items: center; gap: 8px; }
.row-actions { display: flex; align-items: center; gap: 3px; }.row-actions button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #738197; background: transparent; }.row-actions button:hover { color: var(--blue); background: var(--blue-soft); }.row-actions button:last-child:hover { color: #d1404f; background: #fff0f2; }
.row-actions button:disabled { opacity: .3; cursor: not-allowed; }.row-actions button:disabled:hover { color: #738197; background: transparent; }

.system-nav { margin-top: 5px; border-top: 1px solid #edf1f5; padding-top: 5px; }.sidebar .system-nav .parent svg:last-child { margin-left: auto; transition: transform .2s ease; }.sidebar .system-nav .parent svg.expanded { transform: rotate(90deg); }.sidebar .subnav { display: grid; gap: 3px; padding: 2px 0 4px 28px; }.sidebar .subnav button { padding: 9px 11px; font-size: 12px; }.sidebar .subnav button.active { box-shadow: none; }

.admin-page .page-heading { margin-bottom: 18px; }.admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }.admin-table { overflow: hidden; }.admin-table .panel-title { padding: 18px 20px; border-bottom: 1px solid var(--line); }.admin-table th:last-child, .admin-table td:last-child { width: 84px; }.role-name { display: flex; align-items: center; gap: 10px; min-width: 150px; }.role-name > div { display: grid; gap: 3px; }.role-name strong { color: #26364d; }.role-name span { color: #8995a5; font-size: 11px; }.permission-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 210px; }.permission-tags span, .role-pill { display: inline-flex; padding: 4px 8px; border-radius: 5px; background: #edf5ff; color: #3972b9; font-size: 11px; white-space: nowrap; }.permission-tags b { color: #8996a7; font-size: 11px; padding: 4px; }.admin-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }.admin-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }.admin-status.enabled { color: #1f9567; }.admin-status.enabled::before { background: #36b980; }.admin-status.disabled { color: #9a6870; }.admin-status.disabled::before { background: #bcc3cc; }

.role-editor { width: min(680px, calc(100vw - 28px)); }.permission-section { display: grid; gap: 10px; }.permission-title { display: flex; justify-content: space-between; align-items: end; color: #405066; font-size: 12px; }.permission-title small { color: #96a1af; }.permission-tree { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.permission-group { border: 1px solid #e1e7ee; border-radius: 9px; padding: 12px; background: #fbfcfe; }.permission-group label { display: flex; align-items: center; gap: 9px; color: #33445a; cursor: pointer; }.permission-group label > span { display: flex; align-items: center; gap: 7px; }.permission-group input { accent-color: var(--blue); }.permission-children { margin: 10px 0 0 26px; padding-left: 12px; border-left: 1px solid #dbe3ed; display: grid; gap: 9px; }.permission-children label { font-size: 12px; color: #617086; }
.mobile-preview-mode .admin-page .table-shell { display: block; overflow-x: auto; }.mobile-preview-mode .admin-page table { min-width: 760px; }

@media (max-width: 720px) {
  .admin-stats { grid-template-columns: repeat(3, 1fr); }.admin-table .panel-title { padding: 15px; }.permission-tree { grid-template-columns: 1fr; }.role-editor .form-row, .user-editor .form-row { grid-template-columns: 1fr; }.admin-page .button.primary { padding-inline: 11px; }.admin-page .table-shell { display: block; overflow-x: auto; }.admin-page table { min-width: 760px; }
}
.file-upload { position: relative; cursor: pointer; }.file-upload input, .import-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.field-error, .import-error { color: #d1404f !important; }
.template-link { width: max-content; display: inline-flex; align-items: center; gap: 6px; border: 0; color: var(--blue); background: transparent; padding: 0; font-size: 12px; font-weight: 700; }
.import-dropzone { position: relative; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #aebfd1; border-radius: 9px; color: var(--blue); background: #f7fbff; }.import-dropzone strong { font-size: 13px; }.import-dropzone span { color: #8290a3; font-size: 10px; }.import-dropzone:hover { border-color: var(--blue); background: var(--blue-soft); }
.import-summary { display: flex; gap: 20px; padding: 11px 13px; border-radius: 7px; color: #627086; background: #f1f5f9; font-size: 11px; }.import-summary b { color: #1e2d44; }
.import-preview { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }.import-preview table { min-width: 580px; }.import-preview td, .import-preview th { padding: 8px 10px; }.import-preview > span { display: block; padding: 8px 10px; color: #8490a1; font-size: 10px; }
.rejection-panel { border-color: #f0c6cc; }.rejection-panel .panel-title { background: #fff7f8; }
.mobile-device-main { width: 100%; display: block; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.mobile-card-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #eef1f5; }.mobile-card-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 0; border-radius: 5px; color: #758297; background: #f3f6f9; font-size: 10px; }.mobile-card-actions button:last-child { color: #c94754; background: #fff2f3; }

@media (max-width: 720px) {
  .device-actions { gap: 5px; }.device-actions .button { width: 40px; padding: 0; font-size: 0; }.device-actions .button svg { margin: auto; }.device-editor .modal-body, .import-modal .modal-body { padding: 16px 14px; }.device-editor .form-row { grid-template-columns: 1fr; }
}

.mobile-preview-mode .device-actions { gap: 5px; }.mobile-preview-mode .device-actions .button { width: 40px; padding: 0; font-size: 0; }.mobile-preview-mode .device-actions .button svg { margin: auto; }.mobile-preview-mode .device-editor .modal-body, .mobile-preview-mode .import-modal .modal-body { padding: 16px 14px; }.mobile-preview-mode .device-editor .form-row { grid-template-columns: 1fr; }

/* Authentication and real work-order data */
.auth-loading, .login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 12% 8%, #e7f2ff 0, transparent 34%), linear-gradient(145deg, #f4f7fb, #eaf0f7); }
.auth-loading { align-content: center; gap: 12px; color: #64748a; }.auth-loading p { margin: 0; }
.login-card { width: min(430px, calc(100vw - 32px)); padding: 34px; border: 1px solid #dce5ef; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(25,52,84,.16); }
.login-brand { display: flex; align-items: center; gap: 12px; }.login-brand .brand-mark { width: 48px; height: 48px; }.login-brand strong, .login-brand span { display: block; }.login-brand strong { color: #152842; font-size: 17px; }.login-brand span { margin-top: 3px; color: #8290a3; font-size: 9px; letter-spacing: .1em; }
.login-copy { margin: 32px 0 24px; }.login-copy h1 { margin: 5px 0 8px; color: #17283e; font-size: 28px; }.login-copy p { margin: 0; color: #718096; font-size: 12px; line-height: 1.65; }
.login-card form { display: grid; gap: 16px; }.login-button { width: 100%; margin-top: 4px; }.login-error { margin: 0; color: #cf3f4d; font-size: 11px; }.login-tip { display: block; margin-top: 18px; color: #8a97a8; text-align: center; }
.profile-wrap { position: relative; }.profile-button { display: flex; align-items: center; gap: 9px; padding: 4px 5px 4px 10px; border: 0; border-radius: 22px; background: #f2f6fa; }.profile-button > span:first-child { display: grid; text-align: right; }.profile-button b { color: #2b3c53; font-size: 11px; }.profile-button small { color: #8794a5; font-size: 9px; }.profile-menu { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: 220px; padding: 8px; border: 1px solid #dfe6ee; border-radius: 10px; background: white; box-shadow: 0 16px 42px rgba(30,53,82,.18); }.profile-menu > div { display: grid; gap: 3px; padding: 9px 10px 12px; border-bottom: 1px solid #edf1f5; }.profile-menu > div strong { font-size: 13px; }.profile-menu > div span { color: #8794a5; font-size: 10px; }.profile-menu button { width: 100%; display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 9px 10px; border: 0; border-radius: 6px; color: #526278; background: transparent; text-align: left; }.profile-menu button:hover { color: var(--blue); background: var(--blue-soft); }.profile-menu button:last-child:hover { color: #c83f4e; background: #fff1f2; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 7px; }.attachment-list a, .attachment-unavailable { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }.attachment-list a { color: #1267dc; background: #eaf3ff; text-decoration: none; }.attachment-list a:hover { background: #dcecff; }.attachment-unavailable { color: #8995a5; background: #f2f5f8; }
.attachment-picker { display: grid; gap: 9px; }.attachment-preview-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.attachment-preview-list > div { min-width: 0; display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid #dce5ef; border-radius: 8px; background: #f8fbff; }.attachment-preview-list a { min-width: 0; flex: 1; display: flex; align-items: center; gap: 6px; color: #2868b6; font-size: 11px; font-weight: 700; text-decoration: none; }.attachment-preview-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.attachment-preview-list button { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 6px; color: #bf4551; background: #fff0f1; }
.role-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; padding: 8px; border: 1px solid #d8e0e9; border-radius: 7px; background: #fbfcfe; }.role-checkboxes label { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; color: #526278; background: #eef3f8; cursor: pointer; }.role-checkboxes input { width: auto; height: auto; accent-color: var(--blue); }
.material-toolbar { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }.material-toolbar .search { width: min(360px, 50%); }.material-toolbar > span { margin-left: auto; color: #8491a2; font-size: 11px; }.erp-warning { margin: 14px 16px 0; padding: 10px 12px; border-radius: 7px; color: #956713; background: #fff7df; font-size: 11px; }
.password-modal { width: min(460px, calc(100vw - 28px)); }.form-note { margin: 0; padding: 10px 12px; border-radius: 7px; color: #64758b; background: #f2f6fa; font-size: 11px; line-height: 1.6; }
.parts-editor { display: grid; gap: 8px; }.parts-editor-head { display: flex; align-items: center; justify-content: space-between; color: #405066; font-size: 12px; }.compact-button { height: 30px; padding: 0 10px; }.part-edit-row { display: grid; grid-template-columns: 1fr 1fr 72px 1.4fr 34px; gap: 6px; }.part-edit-row input, .part-edit-row select { min-width: 0; height: 34px; padding: 0 8px; border: 1px solid #d8e0e9; border-radius: 6px; background: white; font-size: 11px; }.part-edit-row input[readonly] { color: #66768b; background: #f3f6f9; }.parts-readonly { width: 100%; overflow-x: auto; }.parts-readonly table { min-width: 560px; border-collapse: collapse; }.parts-readonly th, .parts-readonly td { padding: 8px 9px; border: 1px solid #e1e7ee; font-size: 11px; text-align: left; }.parts-readonly th { color: #637187; background: #f5f7fa; }
.action-modal { width: min(780px, calc(100vw - 32px)); }
.device-order-badge { min-width: 105px; display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; gap: 0 7px; padding-left: 22px; color: var(--blue); border-left: 1px solid var(--line); }.device-order-badge svg { grid-row: 1 / 3; align-self: center; }.device-order-badge strong { font-size: 24px; line-height: 1; }.device-order-badge span { color: #8490a1; font-size: 10px; }.order-health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }.order-health-grid div { display: grid; gap: 5px; padding: 13px; border: 1px solid #e4eaf1; border-radius: 8px; background: #f9fbfd; }.order-health-grid span { color: #7c899a; font-size: 10px; }.order-health-grid strong { color: #26384f; font-size: 18px; }.mobile-order-summary { display: flex; gap: 16px; margin-top: 12px; padding: 10px 0; border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; color: #5d6d82; font-size: 10px; }
.pagination { flex-wrap: wrap; }.pagination button { min-width: 31px; }
.mes-links i.offline-safe { background: #6e7c90; box-shadow: 0 0 0 3px #e8ecf1; }
.leader-overview { max-width: 1500px; margin: 0 auto 16px; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }.leader-overview > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }.leader-overview h2 { margin: 0 0 3px; color: #27364b; font-size: 15px; }.leader-overview header span, .leader-overview header > strong { color: #8a96a6; font-size: 11px; }.repairer-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 10px; }.repairer-summary-grid > article { padding: 12px; border: 1px solid #e3e9f0; border-radius: 8px; background: #fbfcfe; }.repairer-summary-head { display: flex; align-items: center; gap: 9px; }.repairer-summary-head > div { display: grid; gap: 2px; }.repairer-summary-head strong { color: #314158; font-size: 13px; }.repairer-summary-head span { color: #8d99a9; font-size: 10px; }.repairer-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0; }.repairer-counts > div { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 9px; border-radius: 6px; color: #50647e; background: #edf4fd; }.repairer-counts > div:last-child { background: #eaf7f1; }.repairer-counts b { color: #1467d8; font-size: 18px; }.repairer-counts > div:last-child b { color: #1b9668; }.repairer-counts span { font-size: 10px; }.repairer-active-list { display: grid; gap: 5px; }.repairer-active-list > button { width: 100%; min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; padding: 5px 6px; border: 0; border-radius: 5px; color: #56677e; background: white; text-align: left; }.repairer-active-list > button > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.repairer-active-list small, .repairer-idle { padding: 5px 6px; color: #96a1b0; font-size: 10px; }
.erp-warning.cache-safe { color: #496178; background: #eef4f8; }
.part-edit-row { align-items: start; }.material-code-picker { position: relative; min-width: 0; }.material-code-picker > input { width: 100%; }.material-code-options { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: min(360px, 80vw); max-height: 250px; overflow-y: auto; padding: 4px; border: 1px solid #d5dee8; border-radius: 7px; background: white; box-shadow: 0 12px 28px rgba(29, 50, 77, .17); }.material-code-options button { width: 100%; display: grid; grid-template-columns: 105px 1fr; gap: 8px; padding: 7px 8px; border: 0; border-radius: 5px; color: #506078; background: transparent; font-size: 11px; text-align: left; }.material-code-options button:hover, .material-code-options button[aria-selected="true"] { color: var(--blue); background: var(--blue-soft); }.material-code-options strong { overflow: hidden; text-overflow: ellipsis; }.material-code-options span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.material-no-result { display: block; padding: 12px; color: #8f9baa; font-size: 11px; }

@media (max-width: 720px) {
  .login-card { padding: 26px 20px; }.login-copy { margin: 26px 0 20px; }.profile-button > span:first-child { display: none; }.profile-menu { right: -2px; }.part-edit-row { grid-template-columns: 1fr 1fr; padding: 9px; border: 1px solid #e3e9f0; border-radius: 7px; }.part-edit-row input:nth-child(3) { grid-column: 1; }.part-edit-row .icon-button { grid-column: 2; justify-self: end; }.device-order-badge { margin-top: 14px; padding: 13px 0 0; border-top: 1px solid var(--line); border-left: 0; }.order-health-grid { padding: 13px; }.attachment-preview-list { grid-template-columns: 1fr; }.material-toolbar { align-items: stretch; flex-direction: column; }.material-toolbar .search { width: 100%; }.material-toolbar > span { margin-left: 0; }.leader-overview { margin: 0 -2px 12px; padding: 13px; }.repairer-summary-grid { grid-template-columns: 1fr; }.material-code-options { width: min(330px, calc(100vw - 56px)); }
}
.mobile-preview-mode .profile-button > span:first-child { display: none; }.mobile-preview-mode .profile-menu { right: -2px; }.mobile-preview-mode .part-edit-row { grid-template-columns: 1fr 1fr; padding: 9px; border: 1px solid #e3e9f0; border-radius: 7px; }.mobile-preview-mode .device-order-badge { margin-top: 14px; padding: 13px 0 0; border-top: 1px solid var(--line); border-left: 0; }
.mobile-preview-mode .attachment-preview-list { grid-template-columns: 1fr; }.mobile-preview-mode .material-toolbar { align-items: stretch; flex-direction: column; }.mobile-preview-mode .material-toolbar .search { width: 100%; }.mobile-preview-mode .material-toolbar > span { margin-left: 0; }
