:root {
  --navy: #132238;
  --navy-2: #1d304b;
  --ink: #182230;
  --muted: #697586;
  --line: #e4e8ee;
  --surface: #ffffff;
  --bg: #f3f5f8;
  --accent: #ef8b2c;
  --accent-dark: #d66e0e;
  --accent-soft: #fff3e7;
  --blue: #2f69bf;
  --blue-soft: #eaf2ff;
  --green: #198754;
  --green-soft: #e8f6ef;
  --red: #c93643;
  --red-soft: #fdecef;
  --amber: #aa6a00;
  --amber-soft: #fff5db;
  --shadow: 0 12px 35px rgba(18,34,55,.08);
  --radius: 16px;
  --sidebar: 246px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif; font-size: 14px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 17px 18px; background: linear-gradient(180deg,var(--navy),#0d192a); color: #eaf0f8; display: flex; flex-direction: column; z-index: 40; }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 25px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; background: linear-gradient(145deg,#ffad59,var(--accent)); color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 8px 18px rgba(239,139,44,.28); flex: 0 0 auto; }
.brand-mark.large { width: 54px; height: 54px; border-radius: 16px; font-size: 27px; margin-bottom: 17px; }
.brand strong { display:block; font-size: 16px; letter-spacing:.03em; }
.brand span { display:block; color:#91a2ba; font-size:10px; letter-spacing:.12em; margin-top:2px; text-transform:uppercase; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { display:flex; align-items:center; gap:12px; min-height:45px; padding: 9px 12px; color:#b8c5d6; border-radius: 11px; font-weight: 650; transition:.15s ease; }
.side-nav a:hover { color:#fff; background:rgba(255,255,255,.07); }
.side-nav a.active { color:#fff; background:linear-gradient(90deg,rgba(239,139,44,.3),rgba(239,139,44,.1)); box-shadow: inset 3px 0 var(--accent); }
.nav-icon { display:grid; place-items:center; width:22px; height:22px; color:#f0a258; font-size:17px; font-weight:900; }
.sidebar-footer { margin-top:auto; border-top:1px solid rgba(255,255,255,.09); padding-top:17px; }
.user-card { display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; }
.user-card:hover { background:rgba(255,255,255,.06); }
.user-card strong,.user-card small { display:block; }
.user-card small { color:#91a2ba; font-size:11px; text-transform:uppercase; }
.avatar { width:36px; height:36px; border-radius:50%; display:inline-grid; place-items:center; background:#eaf1f8; color:var(--navy); font-weight:800; flex:0 0 auto; }
.avatar.mini { width:29px; height:29px; font-size:12px; }
.logout-button { width:100%; margin-top:8px; padding:8px; border:0; border-radius:8px; background:transparent; color:#91a2ba; text-align:left; }
.logout-button:hover { color:#fff; background:rgba(255,255,255,.06); }
.main-column { min-width:0; display:flex; flex-direction:column; }
.topbar { min-height:82px; display:flex; align-items:center; gap:15px; padding:16px clamp(20px,3vw,42px); background:rgba(255,255,255,.92); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:30; backdrop-filter: blur(10px); }
.topbar h1 { margin:0; font-size:23px; line-height:1.15; }
.topbar .eyebrow { margin-bottom:3px; }
.topbar-date { margin-left:auto; color:var(--muted); font-weight:600; }
.menu-toggle { display:none; border:0; background:#f0f3f7; border-radius:9px; width:39px; height:39px; }
.content { width:100%; max-width:1720px; margin:0 auto; padding:30px clamp(20px,3vw,42px) 50px; flex:1; }
.app-footer { padding:18px 40px 25px; color:#8a94a3; text-align:center; font-size:12px; }
.eyebrow { margin:0 0 5px; color:var(--accent-dark); font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
h1,h2,h3,p { overflow-wrap:anywhere; }
h2 { margin:0; font-size:25px; line-height:1.3; }
h3 { margin:0; }
.muted { color:var(--muted); }
.hero-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:23px; }
.hero-row p:last-child { margin:7px 0 0; }
.action-row,.inline-actions,.filter-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.button { min-height:39px; border-radius:10px; border:1px solid transparent; padding:8px 14px; display:inline-flex; align-items:center; justify-content:center; gap:7px; font-weight:750; transition:.15s ease; white-space:nowrap; }
.button:hover { transform:translateY(-1px); }
.button-primary { background:linear-gradient(145deg,#f49a42,var(--accent)); color:#fff; box-shadow:0 7px 16px rgba(239,139,44,.20); }
.button-primary:hover { background:var(--accent-dark); }
.button-secondary { background:var(--navy); color:#fff; }
.button-secondary:hover { background:var(--navy-2); }
.button-ghost { background:#fff; color:var(--ink); border-color:var(--line); }
.button-danger-outline { background:#fff; color:var(--red); border-color:#efb7bc; }
.button-block { width:100%; }
.button-small { min-height:31px; padding:5px 9px; font-size:12px; }
.icon-button { width:38px; height:38px; display:inline-grid; place-items:center; border:1px solid var(--line); border-radius:9px; background:#fff; font-size:25px; line-height:1; }
.icon-button:hover { border-color:#c4ccd6; }
.panel { background:var(--surface); border:1px solid rgba(222,227,234,.9); border-radius:var(--radius); box-shadow:var(--shadow); padding:21px; min-width:0; }
.panel-header { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:17px; }
.panel-header h2 { font-size:19px; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:22px; }
.metric-card { min-height:128px; background:#fff; border:1px solid var(--line); border-radius:15px; box-shadow:0 8px 24px rgba(18,34,55,.055); padding:18px; display:flex; gap:14px; align-items:flex-start; }
.metric-card.accent { border-color:#f7cda5; background:linear-gradient(145deg,#fff,#fff9f2); }
.metric-card.warning { border-color:#efc36c; background:var(--amber-soft); }
.metric-icon { width:39px; height:39px; border-radius:12px; display:grid; place-items:center; background:#edf2f8; color:var(--navy); font-weight:900; flex:0 0 auto; }
.metric-card.accent .metric-icon { color:var(--accent-dark); background:var(--accent-soft); }
.metric-card.warning .metric-icon { color:var(--amber); background:#fff1c7; }
.metric-card small,.metric-card span,.metric-card a { display:block; }
.metric-card small { color:var(--muted); font-size:12px; font-weight:650; }
.metric-card strong { display:block; font-size:28px; line-height:1.15; margin:5px 0; }
.metric-card strong em { font-style:normal; font-size:12px; color:var(--muted); margin-left:4px; }
.metric-card a,.metric-card div>span { font-size:11px; color:var(--blue); }
.two-column-layout { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(280px,.8fr); gap:20px; align-items:start; }
.side-stack { display:grid; gap:20px; }
.quick-actions { padding:12px; }
.quick-actions .panel-header { padding:8px 9px 3px; margin-bottom:5px; }
.quick-actions>a { display:flex; align-items:center; gap:11px; padding:12px 9px; border-radius:11px; }
.quick-actions>a:hover { background:#f6f8fb; }
.quick-actions>a>span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--accent-soft); color:var(--accent-dark); font-weight:900; }
.quick-actions>a>div { flex:1; }
.quick-actions strong,.quick-actions small { display:block; }
.quick-actions small { color:var(--muted); }
.quick-actions>a>b { color:#9aa5b3; font-size:20px; }
.notice-card { background:linear-gradient(145deg,var(--navy),var(--navy-2)); color:#fff; border:0; }
.notice-card .eyebrow { color:#f7ad67; }
.notice-card p:last-child { color:#c4cfdd; margin-bottom:0; }
.date-switcher { display:flex; align-items:center; gap:7px; }
.date-switcher input,.dispatch-controls input[type=date] { min-height:38px; border:1px solid var(--line); border-radius:9px; padding:7px 10px; background:#fff; }
.table-wrap { width:100%; overflow:auto; }
.data-table { width:100%; border-collapse:collapse; min-width:900px; }
.data-table.compact { min-width:760px; }
.data-table th { padding:10px 11px; color:#798494; background:#f6f8fa; font-size:11px; text-align:left; white-space:nowrap; border-bottom:1px solid var(--line); }
.data-table td { padding:12px 11px; vertical-align:top; border-bottom:1px solid #edf0f4; }
.data-table tbody tr:last-child td { border-bottom:0; }
.data-table tbody tr:hover { background:#fbfcfd; }
.data-table strong,.data-table small { display:block; }
.data-table small { color:var(--muted); font-size:11px; margin-top:2px; max-width:350px; }
.row-link { color:var(--blue); font-weight:750; white-space:nowrap; }
.row-link:hover { text-decoration:underline; }
.row-muted { opacity:.57; }
.staff-text { color:#3d4c60; }
.time-cell { color:var(--accent-dark); font-size:15px; }
.status-badge { display:inline-flex; align-items:center; border-radius:999px; padding:4px 8px; font-size:10px; font-weight:850; white-space:nowrap; }
.status-unconfirmed { color:#6d7580; background:#edf0f3; }
.status-scheduled { color:#2760aa; background:var(--blue-soft); }
.status-confirmed { color:#137348; background:var(--green-soft); }
.status-completed { color:#535e6c; background:#e9edf1; }
.status-cancelled { color:#a62c37; background:var(--red-soft); }
.empty-state { padding:42px 20px; text-align:center; color:var(--muted); }
.empty-state>div { width:48px; height:48px; border-radius:15px; display:grid; place-items:center; margin:0 auto 12px; background:#f0f3f7; color:#718095; font-size:21px; }
.empty-state h3 { color:var(--ink); }
.empty-state p { margin:5px 0 0; }
.flash { border-radius:11px; padding:11px 14px; margin-bottom:16px; border:1px solid transparent; }
.flash-success { color:#11643e; background:var(--green-soft); border-color:#b9e2cc; }
.flash-error { color:#9f2632; background:var(--red-soft); border-color:#f0bbc0; }
.flash-warning { color:#805000; background:var(--amber-soft); border-color:#efcf8f; }
.flash-info { color:#24599f; background:var(--blue-soft); border-color:#bfd5f6; }
.filter-panel { margin-bottom:20px; }
.filter-grid { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:13px; align-items:end; }
.filter-grid .span-2 { grid-column:span 2; }
.filter-actions { grid-column:span 2; }
label { display:grid; gap:5px; color:#526071; font-size:12px; font-weight:700; }
input,select,textarea { width:100%; min-height:40px; border:1px solid #d8dee7; border-radius:9px; padding:8px 10px; background:#fff; color:var(--ink); outline:none; transition:.15s; }
textarea { resize:vertical; }
input:focus,select:focus,textarea:focus { border-color:#f0a55f; box-shadow:0 0 0 3px rgba(239,139,44,.12); }
input:disabled,select:disabled,textarea:disabled { background:#f3f5f7; color:#667181; opacity:1; }
.check-line { display:flex; align-items:center; gap:7px; min-height:40px; }
.check-line input { width:auto; min-height:auto; accent-color:var(--accent); }
.required { color:var(--red); font-size:10px; }
.pagination { display:flex; justify-content:center; align-items:center; gap:20px; padding:20px 5px 0; color:var(--muted); }
.pagination a { color:var(--blue); font-weight:750; }
.form-layout { display:grid; gap:20px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.form-grid .span-2 { grid-column:span 2; }
.employee-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.employee-option { display:flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:11px; padding:10px; cursor:pointer; }
.employee-option:hover { border-color:#f3b77f; background:#fffaf5; }
.employee-option:has(input:checked) { border-color:#efaa68; background:var(--accent-soft); }
.employee-option input { width:auto; min-height:auto; accent-color:var(--accent); }
.employee-option strong,.employee-option small { display:block; }
.employee-option small { color:var(--muted); font-size:10px; }
.employee-option.inactive { opacity:.58; }
.sticky-actions { position:sticky; bottom:12px; z-index:20; margin-top:18px; display:flex; justify-content:flex-end; gap:9px; padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.92); box-shadow:0 12px 35px rgba(18,34,55,.15); backdrop-filter:blur(8px); }
.detail-list { margin:0; }
.detail-list>div { display:grid; grid-template-columns:120px 1fr; gap:10px; padding:11px 0; border-bottom:1px solid var(--line); }
.detail-list>div:last-child { border-bottom:0; }
.detail-list dt { color:var(--muted); }
.detail-list dd { margin:0; font-weight:700; }
.page-grid { display:grid; gap:20px; }
.narrow-grid { max-width:850px; }
.stack-form { display:grid; gap:14px; }
.stack-form label small { color:var(--muted); font-weight:400; }
/* Dispatch board */
.board-toolbar { margin-bottom:17px; padding:13px 16px; }
.dispatch-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.dispatch-controls input[type=date] { width:auto; }
.dispatch-controls .check-line { margin-left:8px; }
.dispatch-board { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:15px; align-items:start; }
.dispatch-lane { min-width:0; border:1px solid var(--line); border-radius:15px; background:#edf1f5; overflow:hidden; }
.dispatch-lane>header { min-height:55px; padding:11px 13px; display:flex; align-items:center; justify-content:space-between; gap:10px; background:#fff; border-bottom:1px solid var(--line); }
.dispatch-lane>header>div { display:flex; align-items:center; gap:8px; }
.dispatch-lane>header>b { border-radius:999px; padding:3px 8px; background:#eef2f6; color:#657182; font-size:11px; }
.unassigned-lane { border-color:#e9bd68; background:#fff7e5; }
.unassigned-lane>header { background:#fffaf0; }
.lane-body { display:grid; gap:10px; padding:10px; }
.lane-empty { padding:25px 10px; color:#9aa4b1; text-align:center; }
.dispatch-card { display:block; border:1px solid #dde3ea; border-radius:12px; background:#fff; padding:13px; box-shadow:0 5px 16px rgba(18,34,55,.055); transition:.15s; }
.dispatch-card:hover { transform:translateY(-2px); border-color:#f1b477; box-shadow:0 9px 22px rgba(18,34,55,.1); }
.card-time { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.card-time>strong { color:var(--accent-dark); font-size:17px; }
.card-client { margin:8px 0 3px; color:#556375; font-size:11px; font-weight:750; }
.card-client small { margin-left:5px; }
.dispatch-card h3 { font-size:16px; }
.dispatch-card>p:not(.card-client) { margin:5px 0; }
.card-address { color:#667486; font-size:11px; }
.staff-chips { display:flex; gap:5px; flex-wrap:wrap; margin-top:9px; }
.staff-chips span { border-radius:999px; padding:3px 7px; background:#edf3fa; color:#365777; font-size:10px; font-weight:750; }
.card-note { margin-top:9px; padding:7px 8px; border-radius:8px; background:#fff5df; color:#78500d; font-size:10px; }
.print-title,.print-table { display:none; }
/* Reports */
.report-filter { grid-template-columns:repeat(4,minmax(150px,1fr)); }
.report-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.report-table { min-width:1250px; font-size:12px; }
.report-table td { padding:9px 8px; }
/* Master */
.master-tabs { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:18px; }
.master-tabs a { padding:8px 13px; border-radius:999px; border:1px solid var(--line); background:#fff; color:#5d6978; font-weight:700; }
.master-tabs a.active { color:#fff; background:var(--navy); border-color:var(--navy); }
.master-layout { grid-template-columns:minmax(0,1.8fr) minmax(280px,.7fr); }
.master-editor { position:sticky; top:105px; }
.text-button { border:0; background:transparent; color:var(--muted); padding:0; font-size:12px; }
.text-button:hover { color:var(--red); text-decoration:underline; }
.issue-severity { display:inline-flex; border-radius:999px; padding:4px 8px; font-size:10px; font-weight:900; }
.severity-error { color:#9f2632; background:var(--red-soft); }
.severity-warning { color:#875400; background:var(--amber-soft); }
.severity-info { color:#24599f; background:var(--blue-soft); }
.compact-metrics { grid-template-columns:repeat(2,minmax(180px,270px)); }
/* Login */
.login-page { min-height:100vh; background:var(--navy); }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr); }
.login-intro { position:relative; overflow:hidden; padding:clamp(45px,6vw,88px); color:#fff; background:radial-gradient(circle at 14% 13%,rgba(239,139,44,.26),transparent 29%),radial-gradient(circle at 88% 82%,rgba(69,126,190,.2),transparent 30%),linear-gradient(145deg,#0e1b2d,#1a3451); display:flex; flex-direction:column; justify-content:center; }
.login-intro::before { content:""; position:absolute; width:430px; height:430px; right:-220px; top:-150px; border:1px solid rgba(255,255,255,.08); border-radius:50%; box-shadow:0 0 0 70px rgba(255,255,255,.018),0 0 0 140px rgba(255,255,255,.012); }
.login-intro::after { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,transparent,black 25%,black 70%,transparent); }
.login-brand { position:absolute; z-index:1; top:35px; left:clamp(45px,6vw,88px); display:flex; align-items:center; gap:11px; font-weight:800; letter-spacing:.03em; }
.login-brand span { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; background:linear-gradient(145deg,#ffad59,var(--accent)); box-shadow:0 10px 25px rgba(239,139,44,.28); }
.login-copy { position:relative; z-index:1; max-width:760px; }
.login-intro .eyebrow { color:#f6a85e; }
.login-intro h1 { margin:7px 0 20px; font-size:clamp(42px,5vw,72px); line-height:1.14; letter-spacing:-.045em; }
.login-copy>p:not(.eyebrow) { max-width:650px; margin:0; color:#c5d1df; font-size:16px; line-height:1.9; }
.login-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; margin-top:34px; }
.login-feature-grid div { min-height:128px; border:1px solid rgba(255,255,255,.13); border-radius:15px; padding:16px; background:rgba(255,255,255,.05); backdrop-filter:blur(6px); }
.login-feature-grid b,.login-feature-grid strong,.login-feature-grid span { display:block; }
.login-feature-grid b { color:#f6ad68; font-size:11px; letter-spacing:.12em; }
.login-feature-grid strong { margin-top:15px; font-size:15px; }
.login-feature-grid span { color:#aebdce; font-size:11px; margin-top:4px; line-height:1.55; }
.login-intro-footer { position:absolute; z-index:1; left:clamp(45px,6vw,88px); right:clamp(45px,6vw,88px); bottom:31px; margin:0; color:#8295ac; font-size:11px; }
.login-card-wrap { min-width:0; padding:clamp(28px,5vw,72px); background:linear-gradient(180deg,#fff,#f7f9fc); display:flex; flex-direction:column; justify-content:center; }
.login-card { width:100%; max-width:510px; margin:auto; }
.login-card-heading { display:flex; align-items:center; gap:17px; }
.login-card-heading .brand-mark.large { margin:0; }
.login-card h2 { margin:0; font-size:31px; letter-spacing:-.02em; }
.login-description { color:var(--muted); margin:20px 0 25px; }
.login-form { gap:17px; }
.login-form label>span:first-child { font-size:12px; }
.login-form input { min-height:50px; border-radius:12px; padding:11px 14px; font-size:15px; }
.password-field { position:relative; display:block; }
.password-field input { padding-right:72px; }
.password-toggle { position:absolute; right:8px; top:50%; transform:translateY(-50%); min-width:54px; min-height:34px; border:0; border-radius:8px; background:#eef2f6; color:#526071; font-size:11px; font-weight:800; }
.password-toggle:hover { background:#e3e9f0; color:var(--ink); }
.login-submit { min-height:51px; margin-top:2px; border-radius:12px; justify-content:space-between; padding-inline:18px; font-size:15px; }
.login-error { margin:0 0 19px; }
.login-help { display:grid; gap:3px; margin-top:24px; padding:14px 15px; border:1px solid #e5e9ee; border-radius:12px; background:#f7f9fb; }
.login-help strong { color:#3c4b5d; font-size:12px; }
.login-help span { color:#748092; font-size:11px; line-height:1.65; }
.login-copyright { margin:28px 0 0; color:#a0a9b5; text-align:center; font-size:10px; letter-spacing:.04em; }
.sidebar-scrim { display:none; }
@media (max-width:1180px) {
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .two-column-layout { grid-template-columns:1fr; }
  .master-editor { position:static; }
  .employee-picker { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:880px) {
  .app-shell { display:block; }
  .sidebar { position:fixed; left:0; top:0; width:var(--sidebar); transform:translateX(-105%); transition:.2s ease; box-shadow:20px 0 50px rgba(0,0,0,.22); }
  body.menu-open .sidebar { transform:translateX(0); }
  .sidebar-scrim { position:fixed; inset:0; background:rgba(8,16,28,.45); z-index:35; }
  body.menu-open .sidebar-scrim { display:block; }
  .menu-toggle { display:block; }
  .topbar { padding:13px 17px; }
  .topbar h1 { font-size:20px; }
  .topbar-date { display:none; }
  .content { padding:21px 15px 40px; }
  .hero-row { align-items:flex-start; }
  .filter-grid,.report-filter { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .login-shell { grid-template-columns:1fr; }
  .login-intro { display:none; }
  .login-card-wrap { min-height:100vh; padding:45px 28px; }
  .login-card { max-width:520px; }
}
@media (max-width:600px) {
  .hero-row { display:grid; }
  .action-row { width:100%; }
  .metric-grid,.report-metrics,.compact-metrics { grid-template-columns:1fr; }
  .metric-card { min-height:105px; }
  .filter-grid,.report-filter,.form-grid { grid-template-columns:1fr; }
  .filter-grid .span-2,.filter-actions,.form-grid .span-2 { grid-column:auto; }
  .employee-picker { grid-template-columns:1fr; }
  .sticky-actions { justify-content:stretch; flex-wrap:wrap; }
  .sticky-actions .button { flex:1; }
  .date-switcher { width:100%; }
  .date-switcher form { flex:1; }
  .login-card-wrap { padding:30px 22px; }
  .login-card-heading { align-items:flex-start; }
  .login-card h2 { font-size:28px; }
}
@media print {
  @page { size:A4 landscape; margin:8mm; }
  body { background:#fff; color:#000; font-size:9px; }
  .sidebar,.topbar,.app-footer,.print-hide,.sidebar-scrim,.flash { display:none!important; }
  .app-shell,.main-column { display:block; }
  .content { max-width:none; padding:0; }
  .panel { border:0; box-shadow:none; padding:0; }
  .print-title { display:block; text-align:center; margin-bottom:5mm; }
  .print-title h1 { margin:0; font-size:19px; }
  .print-title p { margin:2px 0; }
  .dispatch-board { display:none!important; }
  .print-table { display:block; }
  .print-table table,.report-table { width:100%; min-width:0; border-collapse:collapse; }
  .print-table th,.print-table td,.report-table th,.report-table td { border:1px solid #555; padding:2.2mm 1.5mm; vertical-align:top; }
  .print-table th,.report-table th { background:#eee!important; color:#000; }
  .report-panel { display:block; }
  .report-table { font-size:7.5px; }
  .report-table small { display:block; color:#333; }
  a { text-decoration:none; color:#000; }
  tr { break-inside:avoid; }
}
