/* Insatsledning 17 / Arbetsyta — full interface redesign.
   Screen-only: leave the established A4 briefing/report print templates intact. */
@media screen {
:root {
 color-scheme: light;
 --ink: #1b2739;
 --ink2: #354357;
 --muted: #64738a;
 --teal: #365bd7;
 --mint: #e8eeff;
 --bg: #f5f6f3;
 --paper: #fff;
 --line: #e3e8e6;
 --danger: #bf4654;
 --amber: #9b6a22;
 --shadow: 0 8px 26px rgba(28,39,55,.035);
 --radius-lg: 19px;
 --il-blue: #365bd7;
 --il-blue-dim: #eaf0ff;
 --il-navy: #1d2b41;
 --il-lime: #d3ee98;
 --il-ink: #1b2739;
 --il-divider: #e7eae7;
 }
html {font-family: "Aptos", "Inter", "Segoe UI", system-ui,-apple-system,sans-serif;scroll-behavior:smooth}
body {background:var(--bg);color:var(--il-ink);font-size:14px;letter-spacing:-.007em}
::selection {background:#c9d7ff;color:#1d315f}
a {color:var(--il-blue)}
:where(button,a,input,select,textarea,summary):focus-visible {outline:3px solid #789aff!important;outline-offset:3px}
h1,h2,h3,h4 {font-weight:750;letter-spacing:-.046em}
h1 {font-size:clamp(28px,3vw,40px)}
p {line-height:1.6}
.eyebrow {color:#60728c;font-weight:800;letter-spacing:.16em;font-size:10px}
.crumb-separator {padding:0 7px;color:#b5bec8}
.il-icon {width:19px;height:19px;flex:none;vertical-align:middle;stroke-width:1.8}
.skip-link {position:fixed;top:-80px;left:20px;z-index:500;background:var(--il-blue);color:#fff;padding:13px 19px;border-radius:12px;text-decoration:none}
.skip-link:focus {top:12px}
.app-shell {grid-template-columns:248px minmax(0,1fr);min-height:100dvh}
/* Soft, light navigation rail */
.sidebar {background:#fff!important;color:var(--il-ink)!important;border-right:1px solid #e7ebe9!important;box-shadow:4px 0 20px #14253606!important;padding:25px 14px 16px!important;gap:0!important;overflow-x:hidden}
.sidebar-header {margin-bottom:21px;position:relative}
.brand {padding:3px 8px!important;gap:12px;color:var(--il-ink)!important;text-decoration:none;min-width:0}
.brand-mark {width:43px;height:43px;flex:none;position:relative;display:grid;place-items:center;border-radius:14px!important;background:var(--il-navy)!important;color:transparent!important;box-shadow:0 6px 15px #1e324126}
.brand-mark::before,.brand-mark::after,.brand-symbol-inner {content:"";position:absolute;display:block;border-radius:2px;transform:skew(-15deg)}
.brand-mark::before {width:8px;height:24px;left:13px;top:10px;background:var(--il-lime)}
.brand-mark::after {width:8px;height:17px;left:23px;top:17px;background:#fff}
.brand-symbol-inner {width:8px;height:11px;left:23px;top:7px;background:#6682e6}
.brand strong {display:block;font-size:17px;font-weight:830;letter-spacing:-.057em;line-height:1.2}
.brand small {margin-top:4px;font-size:9px;font-weight:800;letter-spacing:.18em;color:#8793a5;opacity:1}
.sidebar-workspace-label {display:flex;align-items:center;gap:9px;background:#f5f7f5;border:1px solid #ecf0ed;border-radius:12px;margin:0 8px 26px;padding:11px 12px;color:#526379;font-size:11px;font-weight:700}
.workspace-status-dot {width:8px;height:8px;flex:none;border-radius:50%;background:#67a77d;box-shadow:0 0 0 4px #dff2e5}
.sidebar-nav {gap:19px!important;flex:1;align-content:start}
.sidebar-nav-section {display:block}
.sidebar-nav .nav-caption {color:#8a96a3!important;font-weight:850;letter-spacing:.15em;font-size:9px;margin:0 13px 8px}
.sidebar-nav .nav-group {gap:3px!important}
.sidebar-nav .nav-link {position:relative;color:#47576a!important;border:1px solid transparent;background:transparent!important;border-radius:12px!important;min-height:44px!important;padding:10px 11px!important;gap:13px!important;box-shadow:none!important;transition:background .17s ease,color .17s ease}
.sidebar-nav .nav-link:hover {background:#f5f7fb!important;color:#1e3f95!important}
.sidebar-nav .nav-link.active {background:#eef2ff!important;color:#294fc5!important;font-weight:790!important;border-color:#e3eaff!important}
.sidebar-nav .nav-link .nav-symbol {width:23px;display:grid;place-items:center}
.sidebar-nav .nav-link .nav-symbol .il-icon {width:19px;height:19px}
.nav-text {flex:1;min-width:0;font-size:12.5px}
.nav-active-mark {width:5px;height:5px;border-radius:50%;background:var(--il-blue);margin-left:auto;flex:none}
.sidebar-foot {border-top:1px solid var(--il-divider)!important;color:#6a7b8e!important;padding:16px 5px 0!important;display:grid;gap:10px}
.sidebar-foot .install-link {font-size:12px;color:#596b7d;background:#f7f8f7!important;border-radius:10px;padding:11px 12px;gap:10px}
.sidebar-foot .install-link .il-icon {width:18px}
.sidebar-account {border-top:1px solid #eff1ef;display:flex;align-items:center;gap:11px;padding:14px 7px 3px;min-width:0}
.sidebar-account-avatar {width:35px;height:35px;display:grid;place-items:center;flex:none;border-radius:11px;background:#e8ecf9;color:#365bd7;font-weight:800;font-size:14px}
.sidebar-account>div {min-width:0;display:grid;gap:3px}
.sidebar-account strong {font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-account div span {font-size:11px;color:#8793a1}
/* Route header */
.main {background:var(--bg);min-width:0}
.topbar {position:sticky;top:0;z-index:8;height:74px;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(20px);border-bottom:1px solid #e9ece9!important;padding:0 clamp(21px,3vw,48px)!important;gap:15px}
.topbar-start {min-width:0;display:flex;align-items:center;gap:12px}
.topbar-location-kicker {display:block;font-size:9px;letter-spacing:.15em;color:#a3adba;font-weight:850;margin-bottom:4px}
.topbar-breadcrumb {font-size:13px;font-weight:620;color:#8994a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-breadcrumb span {margin:0 8px;color:#c9d0d9}
.topbar-breadcrumb strong {color:#24374f;font-weight:790}
.topbar-status {gap:9px}
.topbar-state {display:flex;align-items:center;gap:9px;color:#5a7280;font-size:11px;font-weight:700;white-space:nowrap;padding-right:16px;margin-right:5px;border-right:1px solid #e4e9e7}
.topbar-state i {width:8px;height:8px;border-radius:50%;background:#57a371;box-shadow:0 0 0 4px #e7f5eb}
.topbar .btn {background:#f7f8f7!important;border:1px solid #e9edea!important;color:#4c5e72!important;border-radius:11px;min-height:38px!important;box-shadow:none!important;padding:8px 12px}
.topbar .btn:hover {background:#eef2ff!important;color:#365bd7!important}
.topbar .il-icon {width:17px;height:17px}
.page {max-width:1520px!important;margin:0 auto;padding:36px clamp(22px,3.3vw,55px) 120px!important}
.page-heading {margin-bottom:25px;align-items:center}
.page-heading .eyebrow {color:#7e899a}
.page-heading h1 {font-size:clamp(29px,3vw,38px);margin:8px 0 6px;font-weight:790;letter-spacing:-.055em}
.page-heading p {margin:4px 0 0;color:#778294;font-size:13px}
.page-actions {gap:9px}
/* Controls */
.btn {border:1px solid #dfe5e9!important;background:white;color:#243850;border-radius:11px!important;box-shadow:none!important;min-height:41px;line-height:1.3;padding:10px 14px;gap:7px;font-size:12.5px;font-weight:750;transition:border-color .14s,background .14s,transform .14s}
.btn .il-icon {width:16px;height:16px}
.btn:hover {background:#f5f7ff!important;border-color:#b1c1ea!important;color:#2649bc}
.btn:active {transform:translateY(1px)}
.btn.primary {background:var(--il-blue)!important;border-color:var(--il-blue)!important;color:white!important;box-shadow:0 5px 12px #3558d228!important}
.btn.primary:hover {background:#2849b8!important;border-color:#2849b8!important;color:white!important}
.btn.tiny {min-height:32px;padding:6px 10px;font-size:11px}
.btn.danger {color:#a63240;border-color:#edd8dc!important;background:#fff}
.btn.danger:hover {background:#fff4f4!important;border-color:#e8a5b0!important;color:#a63240}
.btn.quiet {background:transparent;border-color:transparent!important}
.btn:disabled {box-shadow:none!important}
/* Content surfaces */
.panel,.dashboard-panel,.dashboard-shortcuts {background:#fff;border:1px solid #e6eae8!important;border-radius:18px!important;box-shadow:var(--shadow)!important}
.panel {padding:25px;margin-bottom:18px}
.panel-head {padding-bottom:15px;border-bottom:1px solid #edf0ee;margin-bottom:20px;gap:12px}
.panel-head h2,.dashboard-panel-heading h2 {font-size:19px;font-weight:770;letter-spacing:-.04em}
.stat {border:1px solid #e7ebe9;background:#fbfcfb;border-radius:15px;padding:22px}
.stat-number {font-weight:800;color:#25354c}
.list-card {padding:17px 4px!important;border-color:#edf0ee!important;gap:15px}
.list-card strong {font-size:14px;letter-spacing:-.02em}
.list-card .muted {font-size:12px}
.list-card:hover {background:#f9faff!important}
.inline-actions {gap:7px}
.badge {border-radius:7px!important;padding:5px 8px!important;letter-spacing:.01em;font-weight:780;font-size:10.5px!important}
.badge.active,.badge.done {background:#e6f4e9!important;color:#257547!important}
.badge.planned {background:#edf2ff!important;color:#3957ad!important}
.badge.priority {background:#fcebef!important;color:#a63854!important}
.badge.warning,.badge.progress {background:#fff1db!important;color:#95641c!important}
.table-scroll {border:1px solid #eef0ee;border-radius:13px;overflow:auto}
.data-table {width:100%}
.data-table th {background:#f7f9f8!important;color:#677687;font-size:10px;letter-spacing:.09em;text-transform:uppercase;border-color:#e9edeb;padding:13px 16px}
.data-table td {padding:15px 16px;border-color:#edf1ed}
.data-table tr:hover td {background:#fafbff}
.tabs {gap:8px;border-color:#e1e8e6}
.tab {font-weight:750;font-size:12px;border-radius:10px 10px 0 0;padding:13px 16px}
.tab.active {color:var(--il-blue);border-color:var(--il-blue);background:#edf2ff}
.tab:hover {color:#2b50bb;background:#f4f6ff}
.filters .btn.selected {background:#eaf0ff!important;border-color:#bbc9ff!important;color:#274cbe!important}
.form-grid {gap:17px}
.field {font-weight:720;color:#415067;font-size:12px;gap:7px}
.field input,.field select,.field textarea,.login-card input {min-height:46px;background:#fbfcfd;border:1px solid #dce4e9!important;border-radius:11px!important;box-shadow:none!important;color:#1a2b42;padding:11px 13px}
.field textarea {line-height:1.6}
.field :is(input,textarea,select):focus,.login-card input:focus {outline:0;border-color:#7292ea!important;box-shadow:0 0 0 4px #e7edff!important;background:#fff}
.field :is(input,textarea,select)::placeholder {color:#9eabb8}
.alert {border-radius:12px;padding:15px 17px}
.empty {border-radius:12px;padding:38px 17px}
.empty-symbol {color:#a0adc2}
/* Dashboard: completely new hierarchy */
.dashboard-v17 {display:grid;gap:18px}
.dashboard-welcome {display:grid!important;grid-template-columns:minmax(0,1fr) 275px;gap:25px;align-items:stretch;min-height:266px;padding:0!important;position:relative;isolation:isolate;background:#1d2b41!important;border:0!important;box-shadow:0 15px 34px #1827401b!important;border-radius:21px!important;overflow:hidden}
.dashboard-welcome::before {content:"";position:absolute;z-index:-1;top:-95px;left:49%;width:300px;height:300px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 55px #ffffff07,0 0 0 112px #ffffff05}
.dashboard-welcome-main {padding:35px 37px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-width:0}
.dashboard-welcome-kicker {display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.18em;font-weight:850;color:#d3ee98}
.welcome-status-dot {width:7px;height:7px;border-radius:50%;background:var(--il-lime);box-shadow:0 0 0 4px #d3ee981c}
.dashboard-welcome h1 {font-weight:810;color:#fff!important;font-size:clamp(32px,3.7vw,54px)!important;line-height:1.04;letter-spacing:-.066em;margin:17px 0 10px}
.dashboard-welcome h1 em {font-style:normal;color:#d3ee98}
.dashboard-welcome p {font-size:13px;color:#d3ddeb;max-width:440px;line-height:1.65}
.dashboard-welcome-actions {margin-top:21px;display:flex;gap:9px;flex-wrap:wrap}
.dashboard-welcome-actions .btn.primary {background:#d3ee98!important;color:#1c2a40!important;border-color:#d3ee98!important;box-shadow:none!important}
.dashboard-welcome-actions .btn.primary:hover {background:#e0f8ae!important;border-color:#e0f8ae!important;color:#14243a!important}
.dashboard-welcome-actions .btn:not(.primary) {background:#ffffff10!important;border-color:#ffffff35!important;color:#fff!important}
.dashboard-welcome-actions .btn:not(.primary):hover {background:#ffffff25!important;color:#fff!important}
.dashboard-welcome-aside {background:#ffffff0d;position:relative;border-left:1px solid #ffffff1d;color:white;padding:30px 28px;display:flex;flex-direction:column;align-items:flex-start}
.welcome-date-label {font-size:9px;font-weight:850;letter-spacing:.18em;color:#a7b5c8;margin-bottom:7px}
.dashboard-welcome-aside>strong {font-size:15px;text-transform:capitalize;color:#e7edf6;letter-spacing:-.02em;font-weight:700}
.welcome-overview-number {margin:auto 0;display:flex;align-items:center;gap:13px}
.welcome-overview-number b {font-size:79px;letter-spacing:-.095em;line-height:1;font-weight:800;color:var(--il-lime)}
.welcome-overview-number span {font-size:12px;line-height:1.55;color:#d1dcea;font-weight:700}
.welcome-aside-footer {border-top:1px solid #ffffff26;padding-top:15px;width:100%;font-size:11px;color:#adbdce}
.dashboard-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-metric {display:flex!important;flex-direction:column;align-items:flex-start;gap:9px;border:1px solid #e5eae7!important;border-top:1px solid #e5eae7!important;border-radius:17px!important;background:#fff;padding:21px 23px!important;position:relative;overflow:hidden;box-shadow:none!important}
.dashboard-metric::before {content:none!important}
.metric-top {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.dashboard-metric .metric-top span:first-child {font-size:12px;color:#66768c;font-weight:780}
.metric-symbol {width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#f1f4fc;color:var(--il-blue)}
.metric-symbol .il-icon {width:19px;height:19px}
.dashboard-metric strong {font-size:46px!important;line-height:1;letter-spacing:-.08em;font-weight:810;color:#21334a!important}
.dashboard-metric small {color:#8b98a5;font-size:11px}
.dashboard-metric.metric-live .metric-symbol {background:#ebf7ed;color:#2c8a59}
.dashboard-metric.metric-tasks .metric-symbol {background:#fff5e5;color:#bd8319}
.dashboard-metric.metric-overdue .metric-symbol {background:#ffedf0;color:#c74762}
.dashboard-columns {grid-template-columns:minmax(0,1.35fr) minmax(315px,.92fr);gap:16px}
.dashboard-panel,.dashboard-shortcuts {padding:24px!important;border-radius:18px!important}
.dashboard-panel-heading {gap:10px;padding-bottom:16px;border-bottom:1px solid #edf0ee;margin-bottom:0!important}
.dashboard-panel-heading .eyebrow {color:#8793a3;font-size:9px}
.dashboard-panel-heading h2 {font-size:20px;margin-top:6px}
.dashboard-panel-heading .btn {min-height:33px;padding:6px 11px;font-size:11px}
.dashboard-incident-list,.dashboard-task-list {min-width:0}
.dashboard-incident {display:flex;gap:12px;align-items:center;padding:17px 0!important;border-color:#edf0ee!important}
.dashboard-incident-marker {width:4px;min-height:60px;border-radius:8px}
.dashboard-incident-info h3 {font-size:15px;font-weight:790;letter-spacing:-.023em;margin:6px 0 2px}
.dashboard-incident-meta {font-size:10px;gap:6px}
.dashboard-incident-info p {font-size:11.5px;color:#8893a2}
.dashboard-open {width:37px;height:37px;padding:0!important;min-height:37px;border-radius:10px!important;color:#4763ab}
.dashboard-open .il-icon {width:17px}
.dashboard-task {padding:17px 0!important;gap:12px}
.dashboard-task-mark {width:8px;height:8px;box-shadow:0 0 0 5px #fff5e0}
.dashboard-task-mark.late {box-shadow:0 0 0 5px #ffecf0}
.dashboard-task strong {font-size:12.5px;font-weight:760}
.dashboard-task p {font-size:11.5px;color:#8291a0;margin-top:6px}
.dashboard-side-note {border-top:1px solid #edf0ee;color:#8291a0;font-size:11px;margin-top:8px;padding-top:15px}
.dashboard-shortcuts {padding:24px!important}
.dashboard-shortcut-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:18px}
.dashboard-shortcut-grid button {position:relative;min-height:148px;padding:18px!important;border:1px solid #e9edea!important;background:#fafbf9!important;border-radius:14px!important;box-shadow:none!important;transition:background .16s,border-color .16s,transform .16s}
.dashboard-shortcut-grid button:hover {background:#f1f4ff!important;border-color:#cbd5ff!important;transform:translateY(-2px)}
.dashboard-shortcut-grid button>span {display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e9eeff;color:#3e60cb!important;margin-bottom:7px}
.dashboard-shortcut-grid button>span .il-icon {width:20px;height:20px}
.dashboard-shortcut-grid button strong {font-size:13px;color:#293a50;font-weight:790}
.dashboard-shortcut-grid button small {font-size:11px;color:#8390a1;line-height:1.45;padding-right:15px}
.dashboard-shortcut-grid button>i {position:absolute;right:15px;bottom:17px;color:#8a9cd0}
.dashboard-shortcut-grid button>i .il-icon {width:16px;height:16px}
/* Incident workspace: a unified operational surface */
.incident-command-card {border:1px solid #e5eae7;background:#fff!important;border-radius:19px!important;padding:25px 28px!important;box-shadow:none!important;position:relative;overflow:hidden}
.incident-command-card::before {content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--il-blue)}
.incident-command-kicker {letter-spacing:.17em;color:#7a8ca4;font-size:9px}
.incident-command-card h1 {font-size:clamp(24px,2.6vw,37px)!important;letter-spacing:-.055em;color:#24354b;margin:8px 0 17px}
.incident-command-meta {font-size:12px;color:#738198;gap:9px 15px}
.incident-priority {border-radius:8px;padding:5px 9px}
.incident-live-pill {font-size:10px;letter-spacing:.09em}
.incident-tab-header {padding:18px 4px 14px}
.incident-tab-header h2 {font-size:22px;font-weight:790}
.incident-workspace-content .panel {border-radius:17px!important}
.classic-incident-panel {padding:24px}
.classic-incident-header {gap:12px}
.classic-incident-header h2 {font-size:21px}
.classic-filter-strip {background:#f7f9f7;border:1px solid #e7ebe7;border-radius:12px;padding:6px;gap:5px}
.classic-filter {border-radius:8px!important;font-weight:740}
.classic-filter.active {box-shadow:none}
.classic-log-entry {border:1px solid #e8eeeb;border-left:4px solid #90a5dd;border-radius:12px!important;background:#fff;overflow:hidden;margin-bottom:11px;box-shadow:none!important}
.classic-log-head {background:#fbfcfb;border-color:#ebefec;padding:11px 14px}
.classic-log-body {line-height:1.67}
.incident-bottom-nav {left:248px!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e7ebe8!important;box-shadow:0 -10px 25px #23374d0a!important;gap:8px;padding-top:10px}
.incident-dock-item,.incident-dock-popover>summary {border-radius:12px;color:#65768c;transition:background .15s}
.incident-dock-item.active {background:#edf1ff!important;color:var(--il-blue)!important}
.incident-dock-popover[open]>summary {background:#edf1ff!important;color:var(--il-blue)!important}
.incident-dock-plus {background:var(--il-blue)!important;border-radius:14px!important;box-shadow:0 5px 15px #365bd72e!important}
.incident-popover-list {border-color:#e0e6e5;border-radius:15px;box-shadow:0 20px 45px #21324b27}
.incident-popover-list>button:hover {background:#eef2ff}
/* Briefings and templates, but do not touch the PDF style */
.classic-briefing-card {border:1px solid #e7ece9!important;border-radius:14px!important;padding:18px!important;background:#fff!important;box-shadow:none!important;transition:border-color .16s,transform .16s}
.classic-briefing-card:hover {border-color:#b7c8f5!important;transform:translateY(-1px)}
.classic-briefing-index-head {border-color:#ebeeea}
.classic-briefing-day>h3 {letter-spacing:.12em;font-size:10px;color:#8190a3}
.classic-template-layout {gap:15px}
.classic-template-sidebar {border-radius:17px!important}
.classic-template-picker button {border-radius:10px!important}
.classic-template-picker button.active {background:#ecf1ff!important;color:#3152b9!important;border-color:#d7e1ff!important}
.classic-duty-sheet {background:#fff}
.classic-duty-block {border-color:#d9e2df}
.classic-duty-block>h3,.classic-duty-block-header {background:#f7f9f8}
.classic-duty-table :is(th,td) {font-size:12px}
/* Bottom sheet and dialogs */
.sheet-overlay,.modal-overlay {background:rgba(22,34,54,.57)!important;backdrop-filter:blur(5px)}
.bottom-sheet {background:#fff;border-radius:25px 25px 0 0!important;box-shadow:0 -25px 80px #16263935!important;width:min(770px,100%);max-height:min(93dvh,960px)}
.sheet-handle {width:41px;height:5px;background:#cbd3df}
.sheet-heading {padding:10px 27px 20px;border-color:#e9eeeb}
.sheet-heading .eyebrow {color:#365bd7;font-size:9px}
.sheet-heading h2 {font-size:26px;font-weight:790;letter-spacing:-.045em}
.sheet-close {border-radius:12px!important;background:#f4f6fa!important;border:1px solid #e7eaf0!important;color:#63738a!important;width:42px;height:42px;font-size:0}
.sheet-close .il-icon {width:18px;height:18px}
.sheet-body {padding:23px 27px calc(28px + env(safe-area-inset-bottom,0px))}
.sheet-body .form-actions {border-color:#edf0ed;background:#fff}
.modal {border-radius:20px}
.toast {background:#26364d;border-radius:12px}
/* Lock screen and login */
.lock-layout {max-width:580px;margin:5vh auto}
.lock-layout .panel {border-radius:22px!important;padding:37px!important;box-shadow:0 25px 60px #2132480d!important}
.lock-illustration {width:58px;height:58px;display:grid;place-items:center;background:#eaf0ff;border-radius:18px;color:#365bd7;font-size:30px;margin-bottom:20px}
.lock-layout h1 {font-size:32px}
.login-body {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(400px,47%);align-items:stretch;min-height:100dvh;padding:0!important;background:#f6f7f4!important;position:relative}
.login-showcase {display:flex;min-height:100dvh;flex-direction:column;justify-content:space-between;padding:clamp(28px,5vw,76px);background:#1e2d43;color:#fff;position:relative;overflow:hidden}
.login-showcase::before {content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff26;border-radius:50%;top:12%;left:28%;box-shadow:0 0 0 65px #ffffff06,0 0 0 150px #ffffff06;pointer-events:none}
.login-showcase .showcase-brand {position:relative;display:flex;gap:13px;align-items:center;font-weight:800;letter-spacing:-.03em;font-size:18px}
.showcase-brand-icon {width:47px;height:47px;display:grid;place-items:center;background:#d3ee98;color:#1a3046;border-radius:15px;font-size:20px;font-weight:900}
.login-showcase-copy {position:relative;max-width:620px;margin:8vh 0}
.login-showcase-copy .eyebrow {color:#d3ee98;font-size:10px}
.login-showcase-copy h2 {font-size:clamp(40px,4.8vw,70px);color:#fff;letter-spacing:-.067em;line-height:1.06;margin:18px 0 22px}
.login-showcase-copy h2 em {font-style:normal;color:#d3ee98}
.login-showcase-copy p {font-size:16px;color:#c1cede;line-height:1.75;max-width:470px}
.login-showcase-footer {position:relative;color:#91a5bb;font-size:11px;letter-spacing:.1em}
.login-card {align-self:center;justify-self:center;width:min(470px,calc(100% - 64px))!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:34px 0!important;border-radius:0!important}
.login-card>.brand-mark {display:none}
.login-card>.eyebrow {color:#365bd7;letter-spacing:.15em;margin-bottom:16px}
.login-card h1 {font-size:clamp(35px,3.5vw,48px);letter-spacing:-.065em;margin-bottom:11px}
.login-card>p.muted {color:#738199;font-size:14px;margin-bottom:32px}
.login-card label {font-size:12px;font-weight:760;color:#354960;gap:8px}
.login-card input {min-height:52px;font-size:16px!important;border-radius:12px!important;background:#fff!important}
.login-card form {gap:19px}
.login-card .btn.primary {height:52px;font-size:14px;margin-top:8px;border-radius:12px!important}
.login-note {font-size:12px;color:#84909f;border-top:1px solid #e3e7e4;padding-top:22px;margin-top:31px}
/* Mobile dock, safe areas, accessibility */
.mobile-bottom-nav {background:rgba(255,255,255,.97)!important;backdrop-filter:blur(20px);border-top:1px solid #e7ebe8!important;box-shadow:0 -8px 25px #2032440a!important;gap:2px}
.mobile-bottom-link {color:#788699;font-weight:740;gap:5px;border-radius:11px}
.mobile-bottom-link.active {background:#edf1ff!important;color:#365bd7!important}
.mobile-bottom-link .il-icon {width:21px;height:21px}
.mobile-bottom-create .mobile-create-icon {background:var(--il-blue)!important;border:3px solid #fff!important;width:54px;height:54px;border-radius:17px!important;box-shadow:0 7px 18px #365bd72d!important}
.mobile-bottom-create .mobile-create-label {color:#3153c3!important;font-weight:830}
.mobile-nav-backdrop {background:#1d2b4180}
.pull-refresh-indicator {background:#eaf0ff;color:#365bd7}
}
@media screen and (max-width:1150px) {
 .app-shell {grid-template-columns:226px minmax(0,1fr)}
 .incident-bottom-nav {left:226px!important}
 .sidebar {padding-inline:10px!important}
 .page {padding-inline:23px!important}
 .topbar {padding-inline:24px!important}
 .dashboard-welcome {grid-template-columns:minmax(0,1fr) 215px}
 .dashboard-welcome-main {padding:29px}
 .dashboard-welcome-aside {padding:24px}
 .dashboard-columns {grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}
 .dashboard-shortcut-grid {gap:9px}
 .dashboard-shortcut-grid button {padding:14px!important}
}
@media screen and (max-width:900px) and (min-width:761px){
 .dashboard-welcome {grid-template-columns:1fr}
 .dashboard-welcome-aside {display:none}
 .dashboard-columns {grid-template-columns:1fr}
 .dashboard-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-shortcut-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .topbar-state {display:none}
}
@media screen and (max-width:760px) {
 .app-shell {grid-template-columns:minmax(0,1fr)}
 .sidebar {position:fixed!important;z-index:30;width:min(325px,88vw)!important;height:100dvh!important;padding:21px 13px calc(18px + env(safe-area-inset-bottom,0px))!important;box-shadow:16px 0 60px #192b3c24!important}
 .sidebar-header {margin-bottom:18px}
 .sidebar-workspace-label {margin-bottom:17px}
 .sidebar-nav .nav-link {min-height:48px!important}
 .sidebar-nav {gap:14px!important}
 .mobile-drawer-close {background:#f0f3f7!important;border:1px solid #e9ecef;color:#3b5063;border-radius:11px}
 .mobile-menu-toggle {display:grid;place-items:center;border:1px solid #e7ebe9;background:#f7f8f6;color:#324356;min-width:43px;min-height:43px;border-radius:12px}
 .topbar {height:65px;padding:0 15px!important}
 .topbar-location-kicker {font-size:8px}
 .topbar-breadcrumb {font-size:12px}
 .topbar-status {gap:5px}
 .topbar-state {display:none}
 .topbar .btn {min-height:41px!important;min-width:41px;padding:9px}
 .topbar .btn .il-icon {width:18px;height:18px}
 .page {padding:21px 14px 120px!important}
 .page-heading {margin-bottom:19px}
 .page-heading h1 {font-size:28px}
 .page-heading p {font-size:12px}
 .page-actions {width:100%}
 .page-actions .btn {flex:0 1 auto}
 .dashboard-v17 {gap:12px}
 .dashboard-welcome {grid-template-columns:1fr;gap:0;min-height:0;border-radius:18px!important}
 .dashboard-welcome::before {top:-145px;left:46%}
 .dashboard-welcome-main {padding:26px 23px 27px}
 .dashboard-welcome h1 {font-size:clamp(32px,9vw,46px)!important;margin:17px 0 9px}
 .dashboard-welcome p {font-size:12.5px}
 .dashboard-welcome-aside {display:none}
 .dashboard-welcome-actions {margin-top:20px}
 .dashboard-welcome-actions .btn {min-height:43px;font-size:12px}
 .dashboard-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .dashboard-metric {padding:15px 15px!important;border-radius:14px!important;gap:8px}
 .dashboard-metric strong {font-size:37px!important}
 .dashboard-metric .metric-top span:first-child {font-size:11px}
 .metric-symbol {width:29px;height:29px;border-radius:9px}
 .metric-symbol .il-icon {width:16px;height:16px}
 .dashboard-metric small {font-size:10px}
 .dashboard-columns {grid-template-columns:1fr;gap:12px}
 .dashboard-panel,.dashboard-shortcuts {padding:18px 16px!important;border-radius:16px!important}
 .dashboard-panel-heading h2 {font-size:19px}
 .dashboard-incident {padding:14px 0!important}
 .dashboard-open {min-width:34px}
 .dashboard-shortcut-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
 .dashboard-shortcut-grid button {min-height:139px;padding:14px!important}
 .dashboard-shortcut-grid button strong {font-size:12px}
 .dashboard-shortcut-grid button small {font-size:10px}
 .panel {padding:18px!important;border-radius:15px!important}
 .incident-command-card {padding:20px 17px!important;border-radius:16px!important}
 .incident-command-card h1 {font-size:26px!important}
 .incident-command-head {flex-direction:column}
 .incident-command-actions {width:100%;flex-direction:row;justify-content:space-between;flex-wrap:wrap}
 .classic-incident-panel {padding:17px!important}
 .incident-bottom-nav {left:0!important;gap:2px;min-height:68px;padding:7px 6px max(7px,env(safe-area-inset-bottom,0px))}
 .incident-dock-item,.incident-dock-popover>summary {font-size:10px;padding-inline:3px}
 .incident-workspace-shell .page {padding-bottom:110px!important}
 .bottom-sheet {border-radius:21px 21px 0 0!important;max-height:94dvh}
 .sheet-heading {padding-inline:18px}
 .sheet-heading h2 {font-size:22px}
 .sheet-body {padding:18px 18px calc(25px + env(safe-area-inset-bottom,0px))}
 .mobile-bottom-link {font-size:10px}
 .mobile-bottom-nav {padding-bottom:max(6px,env(safe-area-inset-bottom,0px))}
 .login-body {display:flex!important;min-height:100dvh;flex-direction:column;justify-content:center;padding:25px!important}
 .login-showcase {display:none}
 .login-card {width:min(450px,100%)!important;background:#fff!important;border:1px solid #e7ebe9!important;border-radius:22px!important;box-shadow:0 15px 55px #1e31400c!important;padding:31px 24px!important}
 .login-card>.brand-mark {display:grid;margin-bottom:25px}
 .login-card h1 {font-size:32px}
 .login-card>p.muted {margin-bottom:24px}
 .lock-layout {margin:20px auto}
 .lock-layout .panel {padding:25px 20px!important}
}
@media screen and (max-width:360px) {
 .page {padding-inline:11px!important}
 .dashboard-welcome-main {padding:23px 18px}
 .dashboard-welcome h1 {font-size:31px!important}
 .dashboard-metric {padding:12px!important}
 .dashboard-metric strong {font-size:33px!important}
 .dashboard-shortcut-grid button {padding:11px!important}
 .mobile-bottom-link {font-size:9px}
 .topbar-breadcrumb {font-size:11px}
}
@media screen and (prefers-reduced-motion:reduce){
 html {scroll-behavior:auto}
 .sidebar-nav .nav-link,.btn,.dashboard-shortcut-grid button,.classic-briefing-card {transition:none!important}
}
