:root {
  --navy-950: #10213d; --navy-900: #142b4d; --blue-700: #2168dc; --blue-600: #2f7bf4; --ink: #18233a; --text: #34425b; --muted: #71809a; --canvas: #f4f7fb; --surface: #fff; --line: #e4eaf2; --success: #16835d; --success-bg: #e9f8f1; --warning: #b46914; --warning-bg: #fff5e5; --danger: #c53c47; --danger-bg: #fff0f1; --locked: #7b879a; --shadow: 0 12px 34px rgba(30,53,89,.08); --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; } html { min-width: 320px; background: var(--canvas); } body { background: var(--canvas); color: var(--text); font: 14px/1.55 var(--font); margin: 0; min-height: 100vh; } a { color: var(--blue-700); text-decoration: none; } a:hover { color: var(--blue-600); } button,input,select,textarea { font: inherit; } button,select { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .55; } h1,h2,h3,p { margin: 0; } h1,h2,h3 { color: var(--ink); letter-spacing: -.02em; } h1 { font-size: 25px; font-weight: 700; line-height: 1.3; } h2 { font-size: 16px; font-weight: 700; line-height: 1.4; } code { background: #f0f4f8; border: 1px solid #e0e8f1; border-radius: 5px; color: #38506f; font: 12px/1.4 Consolas,"Courier New",monospace; padding: 2px 5px; } .muted { color: var(--muted); } .eyebrow { color: var(--blue-700); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 5px; text-transform: uppercase; }

/* Application frame */
.app-shell { display: flex; min-height: 100vh; }.sidebar { background: linear-gradient(180deg,var(--navy-950),var(--navy-900)); color: #d6e2f6; display: flex; flex: 0 0 248px; flex-direction: column; min-height: 100vh; padding: 24px 14px 16px; position: fixed; width: 248px; z-index: 5; }.brand { align-items: center; color: #fff; display: flex; font-size: 16px; font-weight: 700; gap: 11px; letter-spacing: .01em; margin: 0 7px 32px; }.brand:hover { color: #fff; }.brand small { color: #a9c1e4; display: block; font-size: 11px; font-weight: 400; letter-spacing: .08em; margin-top: 1px; text-transform: uppercase; }.brand-mark { align-items: center; background: linear-gradient(135deg,#59a1ff,#2168dc); border: 1px solid rgba(255,255,255,.24); border-radius: 10px; box-shadow: 0 7px 14px rgba(0,0,0,.15); color: #fff; display: inline-flex; font-size: 18px; font-weight: 800; height: 38px; justify-content: center; width: 38px; }.nav-list { display: flex; flex: 1; flex-direction: column; gap: 3px; }.nav-list a { border-radius: 8px; color: #b8c9e1; font-size: 14px; font-weight: 500; padding: 10px 13px; position: relative; transition: background .18s,color .18s,transform .18s; }.nav-list a:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }.nav-list a.active { background: linear-gradient(90deg,rgba(65,139,255,.28),rgba(65,139,255,.12)); color: #fff; font-weight: 700; }.nav-list a.active::before { background: #68a7ff; border-radius: 0 4px 4px 0; content: ""; height: 22px; left: -14px; position: absolute; top: 8px; width: 3px; }.nav-caption { color: #7d97bc; font-size: 10px; font-weight: 700; letter-spacing: .13em; margin: 24px 12px 6px; text-transform: uppercase; }.nav-caption:first-of-type { margin-top: 6px; }.sidebar-footer { border-top: 1px solid rgba(202,221,249,.14); color: #87a0c3; font-size: 11px; margin: 18px 7px 0; padding-top: 16px; }.main-area { margin-left: 248px; min-width: 0; width: calc(100% - 248px); }.topbar { align-items: center; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); color: var(--muted); display: flex; height: 68px; justify-content: space-between; padding: 0 38px; position: sticky; top: 0; z-index: 4; }.topbar > div:first-child { align-items: center; display: flex; font-size: 12px; gap: 8px; }.topbar-user { align-items: center; display: flex; gap: 12px; }.topbar-user > span:first-child { color: var(--text); font-weight: 600; }.topbar-user a { border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; padding-left: 12px; }.page-content { margin: 0 auto; max-width: 1520px; padding: 31px 38px 48px; }

/* Shared components */
.page-heading { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 24px; }.page-heading .muted { margin-top: 5px; }.heading-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 2px 4px rgba(30,53,89,.015); margin-bottom: 18px; padding: 22px; }.panel-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }.panel-heading > div > .muted { margin-top: 4px; }.panel-heading > a { font-size: 13px; font-weight: 600; }.button { align-items: center; border: 1px solid transparent; border-radius: 8px; display: inline-flex; font-size: 13px; font-weight: 700; justify-content: center; min-height: 36px; padding: 7px 14px; transition: box-shadow .18s,transform .18s,background .18s; white-space: nowrap; }.button:hover { transform: translateY(-1px); }.button.primary { background: linear-gradient(135deg,var(--blue-600),var(--blue-700)); box-shadow: 0 6px 13px rgba(33,104,220,.18); color: #fff; }.button.primary:hover { box-shadow: 0 8px 17px rgba(33,104,220,.27); color: #fff; }.button.secondary { background: #fff; border-color: #d7e1ee; color: #41536d; }.button.secondary:hover { background: #f6f9fd; border-color: #becde0; color: #253b59; }.button.danger { background: var(--danger); color: #fff; }.button.full-width { width: 100%; }.badge { align-items: center; border-radius: 20px; display: inline-flex; font-size: 12px; font-weight: 700; line-height: 1; min-height: 24px; padding: 5px 9px; white-space: nowrap; }.badge.success { background: var(--success-bg); color: var(--success); }.badge.warning { background: var(--warning-bg); color: var(--warning); }.badge.danger { background: var(--danger-bg); color: var(--danger); }.badge.processing { background: #eaf2ff; color: #2465ce; }.badge.neutral { background: #eef2f7; color: #66758c; }.badge.locked { background: #edf0f3; color: var(--locked); }.status-dot { background: #aab6c6; border-radius: 99px; display: inline-block; height: 8px; width: 8px; }.status-dot.success { background: #27a878; box-shadow: 0 0 0 4px #e7f7f0; }.status-dot.warning { background: #e49a33; box-shadow: 0 0 0 4px #fff3df; }.status-dot.danger { background: #d74b58; box-shadow: 0 0 0 4px #ffeaec; }.empty-state { color: var(--muted); padding: 38px 20px; text-align: center; }.empty-state h2 { margin-bottom: 8px; }.empty-state p { margin: 0 auto; max-width: 480px; }.alert { border: 1px solid; border-radius: 8px; font-size: 13px; margin: 14px 0; padding: 10px 12px; }.alert.warning { background: var(--warning-bg); border-color: #ffdba9; color: #8b5715; }.alert.danger { background: var(--danger-bg); border-color: #ffcbd1; color: #a83440; }

/* Forms and dialogs */
label { color: #52627b; display: grid; font-size: 12px; font-weight: 700; gap: 7px; }input,select,textarea { background: #fff; border: 1px solid #d5dfec; border-radius: 7px; color: var(--ink); min-height: 38px; outline: none; padding: 8px 10px; transition: border-color .16s,box-shadow .16s; width: 100%; }textarea { min-height: 88px; resize: vertical; }input:focus,select:focus,textarea:focus { border-color: #67a1f5; box-shadow: 0 0 0 3px rgba(47,123,244,.12); }input::placeholder,textarea::placeholder { color: #a6b3c4; }.form-stack { display: grid; gap: 16px; margin-top: 24px; }.form-grid,.filter-grid { display: grid; gap: 15px; grid-template-columns: repeat(3,minmax(0,1fr)); }.form-grid .wide { grid-column: 1/-1; }.filter-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }.filter-actions { align-items: end; display: flex; gap: 11px; }.filter-actions > a { font-size: 13px; font-weight: 600; padding: 9px 4px; }.check-row { align-items: center; display: flex; font-size: 13px; font-weight: 500; gap: 8px; }.check-row input { accent-color: var(--blue-600); min-height: auto; padding: 0; width: 16px; }.inline-form { align-items: end; display: flex; gap: 12px; }.inline-form select { max-width: 330px; }.inline-action-form { display: none; }.form-dialog,.confirm-dialog { background: #fff; border: 0; border-radius: 14px; box-shadow: 0 24px 80px rgba(13,31,58,.28); color: var(--text); max-width: 720px; padding: 0; width: calc(100% - 32px); }.confirm-dialog { max-width: 440px; }.form-dialog::backdrop,.confirm-dialog::backdrop { background: rgba(12,27,50,.48); backdrop-filter: blur(2px); }.form-dialog form,.confirm-dialog form { padding: 24px; }.dialog-heading { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin: -24px -24px 20px; padding: 19px 24px; }.icon-button { background: transparent; border: 0; color: #7e8da2; font-size: 26px; line-height: 1; padding: 0; }.dialog-actions { align-items: center; display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }.confirm-dialog h2 { margin-bottom: 7px; }.confirm-dialog p { color: var(--muted); }.confirm-dialog .check-row { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 20px -24px 0; padding: 14px 24px; }

/* Collection creation and state-aware task controls */
.create-task-grid { display: grid; gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 20px; }
.create-task-grid .wide { grid-column: 1/-1; }
.create-task-grid fieldset,.schedule-form fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.create-task-grid legend,.schedule-form legend { color: var(--text); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.schedule-form input[type="time"] { max-width: 200px; }
.schedule-form input[role="switch"] { appearance: none; background: #cad3df; border: 0; border-radius: 20px; cursor: pointer; flex: 0 0 38px; height: 22px; position: relative; width: 38px; }
.schedule-form input[role="switch"]::after { background: #fff; border-radius: 50%; content: ""; height: 16px; left: 3px; position: absolute; top: 3px; width: 16px; }
.schedule-form input[role="switch"]:checked { background: var(--blue-700); }
.schedule-form input[role="switch"]:checked::after { left: 19px; }
.schedule-form input:disabled { cursor: not-allowed; opacity: .65; }
.choice-chips,.mode-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-chips { margin-bottom: 8px; }
.choice-chip { align-items: center; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; display: flex; gap: 8px; padding: 9px 13px; }
.choice-chip input { accent-color: var(--blue-700); margin: 0; min-height: 0; padding: 0; width: 16px; }
.choice-chip:has(input:checked) { background: #eaf2ff; border-color: var(--blue-700); color: var(--blue-700); }
.choice-chip:has(input:disabled) { background: var(--canvas); color: var(--muted); cursor: not-allowed; opacity: .65; }
.choice-chip:has(input:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.compact-choice-chips { gap: 6px; margin-bottom: 5px; }.compact-choice-chips .choice-chip { font-size: 12px; gap: 6px; padding: 6px 8px; }.compact-help { font-size: 11px; margin: 0 0 7px; }.compact-button { font-size: 12px; padding: 6px 10px; }
.task-count { background: var(--canvas); border-radius: 8px; color: var(--ink); font-weight: 700; margin-top: 22px; padding: 12px; }
.task-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.task-actions:empty { display: none; }
.task-actions form { margin: 0; }
td .task-actions { margin-bottom: 7px; min-width: 160px; }
.button.compact { font-size: 12px; min-height: 30px; padding: 4px 9px; }
.button.secondary.destructive { border-color: var(--danger); color: var(--danger); }
.button.secondary.destructive:hover { background: var(--danger-bg); }
.button:focus-visible,.icon-button:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.requested-banner { background: var(--warning-bg); border-left: 4px solid var(--warning); border-radius: 8px; color: var(--text); margin-bottom: 18px; padding: 16px; }
.diagnostic-timeline { counter-reset: stage; display: grid; gap: 12px; grid-template-columns: repeat(5,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.diagnostic-timeline li { border-top: 3px solid var(--line); counter-increment: stage; min-width: 0; padding-top: 12px; }
.diagnostic-timeline li::before { align-items: center; background: var(--canvas); border-radius: 50%; color: var(--muted); content: counter(stage); display: inline-flex; height: 26px; justify-content: center; margin-bottom: 8px; width: 26px; }
.diagnostic-timeline h3 { font-size: 13px; margin-bottom: 5px; }
.diagnostic-timeline p,.diagnostic-timeline small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.diagnostic-timeline li.done { border-color: var(--success); }
.diagnostic-timeline li.done::before { background: var(--success-bg); color: var(--success); }
.diagnostic-timeline li.danger { border-color: var(--danger); }
.diagnostic-timeline li.danger::before { background: var(--danger-bg); color: var(--danger); }
@media (max-width:680px) {
  .create-task-grid { grid-template-columns: minmax(0,1fr); }
  .mode-choices { align-items: flex-start; flex-direction: column; }
  .diagnostic-timeline { grid-template-columns: minmax(0,1fr); }
  .diagnostic-timeline li { border-left: 3px solid var(--line); border-top: 0; padding: 0 0 6px 14px; }
  .diagnostic-timeline li::before { float: left; margin: 0 10px 8px 0; }
  .heading-actions .task-actions { width: 100%; }
}

/* Tables */
.table-panel { overflow: hidden; padding: 0; }.table-panel .panel-heading { margin: 0; padding: 20px 22px 16px; }.table-wrap { overflow: auto; }table { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; }th { background: #f7f9fc; border-bottom: 1px solid #e4ebf3; color: #738198; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 11px 15px; text-align: left; white-space: nowrap; }td { border-bottom: 1px solid #edf1f6; color: #40516a; font-size: 13px; padding: 13px 15px; vertical-align: middle; }tbody tr:last-child td { border-bottom: 0; }tbody tr { transition: background .15s; }tbody tr:hover { background: #f8fbff; }td strong { color: #263953; font-weight: 700; }td small { color: var(--muted); display: block; font-size: 11px; margin-top: 2px; }tfoot th { background: #f7f9fc; color: #40516a; }.table-link { background: transparent; border: 0; color: var(--blue-700); font-size: 13px; font-weight: 700; padding: 0; }.table-link:hover { color: var(--blue-600); text-decoration: underline; }.money { font-variant-numeric: tabular-nums; text-align: right; }.negative { color: var(--danger)!important; }.voucher-table { min-width: 860px; }.dimension { background: #eef4ff; border: 1px solid #dfeafb; border-radius: 5px; color: #4e6282; display: inline-block; font: 11px/1.25 Consolas,"Courier New",monospace; margin: 2px 3px 2px 0; padding: 3px 5px; }

/* Dashboard and details */
.metric-grid { display: grid; gap: 16px; grid-template-columns: repeat(6,minmax(0,1fr)); margin-bottom: 18px; }.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 130px; overflow: hidden; padding: 18px; position: relative; }.metric-card::after { background: linear-gradient(145deg,rgba(47,123,244,.13),transparent 68%); border-radius: 99px; content: ""; height: 94px; position: absolute; right: -33px; top: -39px; width: 94px; }.metric-card > span { color: var(--muted); display: block; font-size: 12px; font-weight: 600; position: relative; z-index: 1; }.metric-card > strong { color: var(--ink); display: block; font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.2; margin: 12px 0 6px; position: relative; z-index: 1; }.metric-card > small { color: #8b98ab; display: block; font-size: 11px; position: relative; z-index: 1; }.metric-card.danger::after { background: linear-gradient(145deg,rgba(214,61,75,.14),transparent 68%); }.metric-card.warning::after { background: linear-gradient(145deg,rgba(222,142,36,.16),transparent 68%); }.two-column { display: grid; gap: 18px; grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr); }.compact-list { margin: 0 -22px -22px; }.compact-list a { align-items: center; border-top: 1px solid #edf1f6; display: flex; justify-content: space-between; padding: 13px 22px; }.compact-list a:hover { background: #f8fbff; }.compact-list strong { color: #30425c; display: block; font-size: 13px; }.compact-list small { color: var(--muted); display: block; font-size: 12px; margin-top: 2px; }.status-list { margin: -3px 0 0; }.status-list div { align-items: center; border-bottom: 1px solid #edf1f6; display: flex; justify-content: space-between; padding: 10px 0; }.status-list div:last-child { border-bottom: 0; }.status-list dt { color: var(--muted); }.status-list dd { color: #3c4e67; margin: 0; text-align: right; }.breadcrumbs { align-items: center; color: #9aa6b8; display: flex; font-size: 12px; gap: 8px; margin-bottom: 16px; }.breadcrumbs a { font-weight: 600; }.info-grid { display: grid; gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 18px; }.detail-list { margin: 14px 0 0; }.detail-list div { border-bottom: 1px solid #edf1f6; display: grid; gap: 12px; grid-template-columns: 100px 1fr; padding: 10px 0; }.detail-list div:last-child { border-bottom: 0; }.detail-list dt { color: var(--muted); }.detail-list dd { color: #364963; margin: 0; min-width: 0; overflow-wrap: anywhere; }.progress-steps { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 0; margin: 18px 0; overflow: hidden; }.progress-steps span { color: #8c99aa; flex: 1; font-size: 12px; padding: 13px 14px; text-align: center; }.progress-steps span:not(:last-child) { border-right: 1px solid var(--line); }.progress-steps .done { background: #f0fbf6; color: var(--success); font-weight: 700; }.progress-steps .danger { background: #fff1f2; color: var(--danger); font-weight: 700; }.progress-steps .locked { background: #f2f4f7; color: var(--locked); font-weight: 700; }.alert-panel { border: 1px solid; border-radius: 12px; display: grid; gap: 20px; grid-template-columns: minmax(180px,.75fr) minmax(0,1.25fr); margin: 18px 0; padding: 18px 20px; }.alert-panel h2 { margin-bottom: 6px; }.alert-panel p { color: #786643; font-size: 13px; }.alert-panel ul { color: #6a5c47; margin: 0; padding-left: 20px; }.alert-panel.danger { background: #fff7f7; border-color: #ffcbd1; }.alert-panel.danger h2,.alert-panel.danger li { color: #aa3a46; }.alert-panel.warning { background: #fffaf0; border-color: #f8d99e; }.action-bar { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; justify-content: space-between; padding: 18px 20px; }.action-bar strong { color: var(--ink); }.action-bar p { margin-top: 3px; }

/* Configuration, login and errors */
.settings-note { background: linear-gradient(105deg,#f6f9ff,#fff); border-color: #dce8fa; }.settings-note h2 { margin-bottom: 8px; }.settings-note p { color: #60718a; margin-top: 6px; }.one-time-secret { background: #f5f8fc; border: 1px dashed #b7c7df; border-radius: 8px; color: #25466f; display: block; font-size: 13px; line-height: 1.55; margin-top: 14px; max-height: 130px; overflow: auto; padding: 12px; word-break: break-all; }.status-grid .metric-card { min-height: 145px; }.status-word { font-size: 20px!important; overflow-wrap: anywhere; }.status-word.success { color: var(--success); }.status-word.warning { color: var(--warning); }.status-word.danger { color: var(--danger); }.status-small { font-size: 15px!important; line-height: 1.35!important; overflow-wrap: anywhere; }.mapping-card { margin-bottom: 18px; }.login-page { align-items: center; background: radial-gradient(circle at 12% 16%,rgba(68,139,245,.25),transparent 28%),radial-gradient(circle at 87% 86%,rgba(38,110,222,.22),transparent 29%),linear-gradient(135deg,#0d1f3a,#163c6f); display: flex; justify-content: center; min-height: 100vh; padding: 28px; position: relative; }.login-page::before,.login-page::after { border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; position: absolute; }.login-page::before { height: 470px; left: -170px; top: -210px; width: 470px; }.login-page::after { bottom: -240px; height: 520px; right: -190px; width: 520px; }.login-card { background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.45); border-radius: 18px; box-shadow: 0 28px 80px rgba(2,14,34,.35); max-width: 420px; padding: 34px; position: relative; width: 100%; z-index: 1; }.login-brand { align-items: center; display: flex; gap: 11px; margin-bottom: 31px; }.login-brand .brand-mark { flex: 0 0 auto; }.login-brand strong { color: var(--ink); display: block; font-size: 15px; }.login-brand small { color: var(--muted); display: block; font-size: 11px; margin-top: 2px; }.login-card h1 { font-size: 25px; }.login-card .muted { margin-top: 7px; }.password-field { position: relative; }.password-field input { padding-right: 58px; }.text-button { background: transparent; border: 0; color: var(--blue-700); font-size: 12px; font-weight: 700; padding: 4px; position: absolute; right: 7px; top: 7px; }.caps-warning { color: var(--warning); font-size: 12px; margin: -7px 0 0; }.login-footnote { border-top: 1px solid var(--line); color: #99a5b5; font-size: 11px; margin-top: 24px; padding-top: 16px; text-align: center; }.error-page { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); margin: 54px auto; max-width: 620px; padding: 48px 35px; text-align: center; }.error-page h1 { font-size: 26px; margin-bottom: 8px; }.error-page .button { margin-top: 22px; }

@media (max-width:1240px) { .metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.filter-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } } @media (max-width:900px) { .sidebar { flex-basis:206px; width:206px; }.main-area { margin-left:206px; width:calc(100% - 206px); }.page-content { padding:26px 24px 40px; }.topbar { padding:0 24px; }.two-column,.info-grid { grid-template-columns:1fr; } } @media (max-width:680px) { .app-shell { display:block; }.sidebar { min-height:auto; padding:13px; position:static; width:100%; }.brand { margin:0 4px 13px; }.nav-list { flex-direction:row; flex-wrap:wrap; gap:4px; }.nav-caption,.sidebar-footer { display:none; }.nav-list a { padding:7px 9px; }.nav-list a.active::before { display:none; }.main-area { margin-left:0; width:100%; }.topbar { height:56px; padding:0 16px; }.topbar > div:first-child { display:none; }.topbar-user { margin-left:auto; }.account-name { max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.page-content { padding:22px 15px 32px; }h1 { font-size:22px; }.page-heading { align-items:stretch; flex-direction:column; margin-bottom:18px; }.page-heading > .button { align-self:flex-start; }.metric-grid { gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }.metric-card { min-height:116px; padding:15px; }.metric-card > strong { font-size:23px; }.filter-grid,.form-grid { grid-template-columns:1fr; }.filter-actions { align-items:center; }.panel { padding:17px; }.table-panel .panel-heading { padding:17px 17px 13px; }.progress-steps { flex-wrap:wrap; }.progress-steps span { flex:1 1 50%; }.progress-steps span:not(:last-child) { border-right:0; }.progress-steps span:nth-child(odd) { border-right:1px solid var(--line); }.alert-panel { grid-template-columns:1fr; }.action-bar,.inline-form { align-items:stretch; flex-direction:column; }.inline-form select { max-width:none; }.dialog-actions { flex-wrap:wrap; }.dialog-actions .button { flex:1; }.login-page { padding:16px; }.login-card { border-radius:14px; padding:26px 22px; } }

.topbar-user { gap: 10px; }
.topbar-user .account-avatar { align-items: center; background: #e8f1ff; border: 1px solid #d3e3fc; border-radius: 50%; color: #2768c8; display: inline-flex; font-size: 12px; font-weight: 800; height: 27px; justify-content: center; width: 27px; }
.account-name { color: var(--text); font-weight: 600; }

/* Premium visual refinement */
body { background-image: linear-gradient(rgba(219,227,239,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(219,227,239,.16) 1px, transparent 1px); background-size: 32px 32px; }
.sidebar { background: radial-gradient(circle at 20% 0, rgba(71,133,220,.19), transparent 34%), linear-gradient(180deg,#0d1b30 0%,#112944 62%,#10233b 100%); border-right: 1px solid rgba(170,203,245,.08); box-shadow: 14px 0 40px rgba(12,30,54,.08); }
.brand-mark { background: linear-gradient(145deg,#5da3ff,#1d61c9); border-radius: 11px; box-shadow: 0 9px 24px rgba(23,91,181,.38), inset 0 1px 0 rgba(255,255,255,.28); }
.nav-list a { align-items: center; display: flex; gap: 11px; min-height: 42px; }
.nav-icon { align-items: center; color: #7898c3; display: inline-flex; flex: 0 0 18px; height: 18px; justify-content: center; transition: color .18s; width: 18px; }
.nav-icon svg { fill: currentColor; height: 17px; width: 17px; }
.nav-list a:hover .nav-icon,.nav-list a.active .nav-icon { color: #85b8ff; }
.nav-list a.active { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.sidebar-footer { align-items: center; display: flex; gap: 10px; line-height: 1.35; }
.sidebar-footer small { color: #718aac; display: block; font-size: 10px; margin-top: 2px; }
.shield-mark { align-items: center; background: rgba(49,184,134,.13); border: 1px solid rgba(84,211,164,.24); border-radius: 50%; color: #60d9ab; display: inline-flex; flex: 0 0 27px; font-size: 12px; height: 27px; justify-content: center; }
.topbar { backdrop-filter: blur(14px); box-shadow: 0 1px 14px rgba(25,49,80,.035); }
.service-pill { background: #f4f8fc; border: 1px solid #e2eaf3; border-radius: 99px; color: #5c6e86; padding: 6px 11px; }
.page-content { min-height: calc(100vh - 68px); }
.page-heading { border-bottom: 1px solid rgba(215,224,236,.72); padding-bottom: 20px; }
.page-heading h1 { font-size: 27px; font-weight: 750; }
.eyebrow { color: #2f6fc9; }
.panel { border-color: rgba(219,226,236,.92); box-shadow: 0 8px 30px rgba(35,59,92,.055); }
.panel:hover { border-color: #d8e2ef; }
.button.primary { background: linear-gradient(135deg,#347ff0,#1f62ca); border-color: rgba(20,81,177,.35); box-shadow: 0 7px 18px rgba(32,100,210,.2), inset 0 1px 0 rgba(255,255,255,.22); }
.button.secondary { box-shadow: 0 2px 5px rgba(28,53,86,.035); }
input,select,textarea { box-shadow: inset 0 1px 2px rgba(34,56,85,.025); }
th { background: linear-gradient(180deg,#fafbfd,#f5f8fb); }
tbody tr:hover { background: #f6f9fe; }
.table-panel { box-shadow: 0 9px 32px rgba(33,57,91,.055); }

.metric-grid { gap: 14px; }
.metric-card { border-color: rgba(218,226,237,.94); box-shadow: 0 8px 26px rgba(34,57,88,.055); min-height: 138px; padding: 20px; transition: transform .18s,box-shadow .18s,border-color .18s; }
.metric-card:hover { border-color: #cad9ec; box-shadow: 0 13px 34px rgba(29,57,96,.09); transform: translateY(-2px); }
.metric-card::before { background: #397fe6; border-radius: 0 0 4px 4px; content: ""; height: 3px; left: 19px; position: absolute; top: 0; width: 32px; }
.metric-card::after { background: radial-gradient(circle,rgba(50,120,231,.14) 0,rgba(50,120,231,0) 68%); height: 130px; right: -46px; top: -55px; width: 130px; }
.metric-card:nth-child(3)::before,.metric-card.danger::before { background: #d64b58; }
.metric-card:nth-child(4)::before,.metric-card.warning::before { background: #dc8a25; }
.metric-card:nth-child(5)::before { background: #6c67d9; }
.metric-card:nth-child(6)::before { background: #1b9972; }
.metric-card > strong { font-size: 29px; font-weight: 750; letter-spacing: -.03em; margin-top: 15px; }
.metric-card > small { letter-spacing: .01em; }
.compact-list a { transition: background .15s,padding .15s; }
.compact-list a:hover { padding-left: 25px; }
.status-list dd { font-weight: 600; }

/* High-fidelity login */
.login-page { background: radial-gradient(circle at 8% 12%,rgba(65,136,238,.2),transparent 30%), radial-gradient(circle at 94% 86%,rgba(44,117,218,.18),transparent 30%), linear-gradient(135deg,#09172b 0%,#0e2f55 53%,#123b69 100%); overflow: hidden; }
.login-page::before { border-color: rgba(255,255,255,.07); height: 620px; left: -230px; top: -300px; width: 620px; }
.login-page::after { border-color: rgba(255,255,255,.06); bottom: -310px; height: 680px; right: -260px; width: 680px; }
.login-shell { background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; box-shadow: 0 38px 110px rgba(0,10,28,.42); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); max-width: 980px; min-height: 580px; overflow: hidden; position: relative; width: 100%; z-index: 1; }
.login-showcase { background: radial-gradient(circle at 100% 0,rgba(99,166,255,.2),transparent 42%), linear-gradient(155deg,#102d51,#0d203a); color: #c9d8ed; display: flex; flex-direction: column; overflow: hidden; padding: 42px 46px; position: relative; }
.login-showcase::after { border: 1px solid rgba(122,178,249,.14); border-radius: 50%; bottom: -210px; content: ""; height: 430px; position: absolute; right: -165px; width: 430px; }
.login-showcase-brand { align-items: center; color: #fff; display: flex; font-size: 16px; font-weight: 700; gap: 12px; }
.login-showcase-brand small { color: #7fa1cb; display: block; font-size: 9px; font-weight: 500; letter-spacing: .15em; margin-top: 2px; }
.login-showcase-copy { margin: auto 0 43px; position: relative; z-index: 1; }
.showcase-kicker { color: #69a9ff; font-size: 10px; font-weight: 700; letter-spacing: .18em; margin-bottom: 16px; }
.login-showcase-copy h2 { color: #fff; font-size: 31px; font-weight: 650; letter-spacing: -.03em; line-height: 1.42; margin-bottom: 17px; }
.login-showcase-copy > p:last-child { color: #9fb5d1; line-height: 1.85; max-width: 380px; }
.login-feature-list { display: grid; gap: 13px; position: relative; z-index: 1; }
.login-feature-list span { align-items: center; color: #c4d4e8; display: flex; font-size: 12px; gap: 11px; }
.login-feature-list i { align-items: center; background: rgba(76,143,236,.12); border: 1px solid rgba(106,166,247,.2); border-radius: 6px; color: #71afff; display: inline-flex; font-size: 9px; font-style: normal; height: 24px; justify-content: center; width: 28px; }
.login-showcase-foot { color: #57799f; font-size: 9px; letter-spacing: .14em; margin-top: 37px; text-transform: uppercase; }
.login-shell .login-card { align-self: center; background: transparent; border: 0; border-radius: 0; box-shadow: none; max-width: none; padding: 55px 54px; width: 100%; }
.login-card-head { margin-bottom: 28px; }
.login-card-tag { color: #2d72d7; display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; }
.login-shell .login-card h1 { font-size: 29px; font-weight: 750; }
.login-shell .form-stack { gap: 18px; margin-top: 0; }
.login-shell label { font-size: 12px; }
.login-shell input { background: #f9fbfd; border-color: #dbe4ef; border-radius: 8px; min-height: 44px; padding-left: 12px; }
.login-shell .password-field .text-button { top: 9px; }
.login-shell .button { min-height: 44px; }
.login-shell .login-footnote { align-items: center; display: flex; gap: 6px; justify-content: center; }
.lock-dot { align-items: center; background: #e9f7f1; border-radius: 50%; color: #17835e; display: inline-flex; font-size: 9px; height: 17px; justify-content: center; width: 17px; }

@media (max-width:800px) {
  .login-shell { grid-template-columns: 1fr; max-width: 460px; min-height: auto; }
  .login-showcase { display: none; }
  .login-shell .login-card { padding: 42px 36px; }
}
@media (max-width:680px) {
  .nav-icon { display: none; }
  .service-pill { display: none; }
  .login-shell .login-card { padding: 34px 24px; }
}
