:root {
  --uci-navy-950: #071522;
  --uci-navy-900: #0b1d2c;
  --uci-navy-800: #102a3d;
  --uci-blue-700: #155e85;
  --uci-blue-600: #1976a5;
  --uci-teal-600: #168e91;
  --uci-teal-500: #23a9a6;
  --uci-violet-500: #7568e8;
  --uci-green-500: #29a875;
  --uci-amber-500: #e3a72f;
  --uci-red-500: #d75c68;
  --uci-slate-900: #172230;
  --uci-slate-700: #405165;
  --uci-slate-500: #718096;
  --uci-slate-300: #cbd5df;
  --uci-slate-200: #e1e7ed;
  --uci-slate-100: #edf2f6;
  --uci-slate-50: #f6f8fa;
  --uci-white: #ffffff;
  --uci-sidebar: 268px;
  --uci-topbar: 76px;
  --uci-radius: 15px;
  --uci-shadow: 0 9px 28px rgba(23, 45, 65, .07);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--uci-slate-50);
  color: var(--uci-slate-900);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

.uci-app { min-height: 100vh; }

.uci-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1040;
  display: flex;
  width: var(--uci-sidebar);
  flex-direction: column;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(35, 169, 166, .12), transparent 34%),
    linear-gradient(180deg, var(--uci-navy-950), #091928 62%, #07131f);
  color: #dce7ef;
  transition: transform .25s ease;
}

.uci-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 18px 22px;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.uci-brand:hover { color: white; }

.uci-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--uci-teal-500), var(--uci-blue-700));
  box-shadow: 0 8px 22px rgba(21, 118, 165, .3);
  font-size: 21px;
  font-weight: 800;
}

.uci-brand strong { display: block; font-size: 21px; letter-spacing: .08em; }
.uci-brand small { display: block; margin-top: 1px; color: #8fa7b9; font-size: 9px; letter-spacing: .035em; }

.uci-environment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 20px 4px;
  padding: 9px 12px;
  border: 1px solid rgba(75, 193, 185, .15);
  border-radius: 9px;
  background: rgba(29, 129, 133, .1);
  color: #87d5d1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.uci-environment span, .health-dot, .uci-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43d4a0;
  box-shadow: 0 0 0 4px rgba(67,212,160,.1);
}

.uci-nav { padding: 16px 14px; }
.uci-nav-label { margin: 12px 12px 8px; color: #5e788c; font-size: 9px; font-weight: 800; letter-spacing: .16em; }

.uci-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 3px 0;
  padding: 11px 13px;
  border-radius: 9px;
  color: #91a8b9;
  font-size: 13px;
  font-weight: 600;
  transition: .18s ease;
}

.uci-nav > a i { width: 20px; color: #6f8da3; font-size: 15px; text-align: center; }
.uci-nav > a:hover { background: rgba(255,255,255,.045); color: #e5edf3; }
.uci-nav > a.active { background: linear-gradient(90deg, rgba(31,140,157,.22), rgba(31,140,157,.08)); color: #fff; }
.uci-nav > a.active::before { position: absolute; inset: 8px auto 8px -14px; width: 3px; border-radius: 0 4px 4px 0; background: var(--uci-teal-500); content: ""; }
.uci-nav > a.active i { color: #55d0c9; }
.uci-nav-count { margin-left: auto; padding: 2px 7px; border-radius: 10px; background: rgba(255,255,255,.08); color: #92b0c4; font-size: 10px; }

.uci-sidebar-footer { margin-top: auto; padding: 18px 16px; border-top: 1px solid rgba(255,255,255,.07); }
.uci-system-health { display: flex; align-items: center; gap: 10px; padding: 10px; }
.health-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: rgba(35,169,166,.12); color: #5ed2ca; }
.uci-system-health strong, .uci-system-health small { display: block; }
.uci-system-health strong { color: #c9d8e2; font-size: 11px; }
.uci-system-health small { color: #60788b; font-size: 9px; }
.uci-system-health .health-dot { margin-left: auto; }

.uci-main { min-height: 100vh; margin-left: var(--uci-sidebar); }
.uci-topbar { position: sticky; top: 0; z-index: 1020; display: flex; min-height: var(--uci-topbar); align-items: center; justify-content: space-between; gap: 24px; padding: 0 30px; border-bottom: 1px solid var(--uci-slate-200); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }

.uci-command-search { display: flex; width: min(470px, 48vw); align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: var(--uci-slate-50); color: var(--uci-slate-500); transition: .18s; }
.uci-command-search:focus-within { border-color: rgba(25,118,165,.25); background: white; box-shadow: 0 0 0 4px rgba(25,118,165,.06); }
.uci-command-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--uci-slate-900); font-size: 12px; }
.uci-command-search kbd { border: 1px solid var(--uci-slate-200); border-radius: 5px; background: white; color: var(--uci-slate-500); box-shadow: none; font-size: 9px; }
.uci-top-actions { display: flex; align-items: center; gap: 15px; }
.uci-icon-btn { position: relative; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--uci-slate-200); border-radius: 10px; color: var(--uci-slate-700); }
.uci-icon-btn:hover { border-color: var(--uci-slate-300); background: var(--uci-slate-50); }
.uci-icon-btn > span { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: var(--uci-red-500); }
.uci-icon-btn.small { width: 32px; height: 32px; border: 0; }
.uci-user { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--uci-slate-200); }
.uci-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #153f59, #187f89); color: white; font-size: 11px; font-weight: 800; }
.uci-user strong, .uci-user small { display: block; }
.uci-user strong { font-size: 11px; }
.uci-user small { color: var(--uci-slate-500); font-size: 9px; }
.uci-user > i { color: var(--uci-slate-500); font-size: 10px; }

.uci-content { width: 100%; max-width: 1700px; margin: 0 auto; padding: 30px; }
.uci-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.uci-eyebrow, .uci-panel-kicker { color: var(--uci-teal-600); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.uci-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.uci-eyebrow span { width: 22px; height: 2px; background: var(--uci-teal-500); }
.uci-page-head h1 { margin: 0; color: var(--uci-navy-900); font-size: clamp(27px, 3vw, 36px); font-weight: 740; letter-spacing: -.035em; }
.uci-page-head p { margin: 5px 0 0; color: var(--uci-slate-500); font-size: 13px; }

.uci-btn-primary, .uci-focus-btn { border-color: var(--uci-blue-700); background: var(--uci-blue-700); color: white; font-size: 12px; font-weight: 700; }
.uci-btn-primary { padding: 10px 15px; border-radius: 9px; }
.uci-btn-primary:hover, .uci-focus-btn:hover { border-color: var(--uci-navy-800); background: var(--uci-navy-800); color: white; }
.uci-btn-secondary { padding: 10px 15px; border: 1px solid var(--uci-slate-200); border-radius: 9px; background: white; color: var(--uci-slate-700); font-size: 12px; font-weight: 650; }
.uci-btn-secondary:hover { border-color: var(--uci-slate-300); background: var(--uci-slate-50); }

.uci-alert-success { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; border: 1px solid rgba(41,168,117,.16); border-radius: 12px; background: #edf9f4; color: #19684b; }
.uci-alert-success > i { font-size: 20px; }
.uci-alert-success strong, .uci-alert-success span { display: block; }
.uci-alert-success strong { font-size: 12px; }
.uci-alert-success span { color: #4f7e6d; font-size: 10px; }

.uci-metric-card, .uci-panel, .uci-project-card { border: 1px solid var(--uci-slate-200); border-radius: var(--uci-radius); background: white; box-shadow: var(--uci-shadow); }
.uci-metric-card { position: relative; min-height: 155px; padding: 18px; overflow: hidden; }
.uci-metric-card::after { position: absolute; top: -28px; right: -28px; width: 85px; height: 85px; border-radius: 50%; background: rgba(21,94,133,.025); content: ""; }
.uci-metric-card > span { display: block; margin-top: 14px; color: var(--uci-slate-500); font-size: 10px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.uci-metric-card > strong { display: block; margin: 2px 0 4px; color: var(--uci-navy-900); font-size: 28px; letter-spacing: -.04em; }
.uci-metric-card > small { color: var(--uci-slate-500); font-size: 9px; }
.uci-metric-card > small i { color: var(--uci-green-500); }
.warning-card { border-color: rgba(227,167,47,.23); background: linear-gradient(145deg, white, #fffcf4); }
.metric-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; font-size: 14px; }
.metric-icon.blue { background: #e9f3f9; color: var(--uci-blue-600); }
.metric-icon.violet { background: #efedff; color: var(--uci-violet-500); }
.metric-icon.teal { background: #e8f8f6; color: var(--uci-teal-600); }
.metric-icon.green { background: #eaf8f2; color: var(--uci-green-500); }
.metric-icon.amber { background: #fff5de; color: var(--uci-amber-500); }

.uci-panel { overflow: hidden; }
.uci-panel-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--uci-slate-100); }
.uci-panel-header h2, .uci-project-card h2, .uci-focus-card h2 { margin: 2px 0 0; color: var(--uci-navy-900); font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.uci-panel-header a { color: var(--uci-blue-600); font-size: 10px; font-weight: 700; }
.uci-table { font-size: 11px; }
.uci-table thead th { padding: 11px 18px; border-bottom-color: var(--uci-slate-200); background: var(--uci-slate-50); color: var(--uci-slate-500); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.uci-table tbody td { padding: 13px 18px; border-bottom-color: var(--uci-slate-100); }
.uci-table tbody tr:last-child td { border-bottom: 0; }
.uci-table tbody tr:hover { background: #fbfcfd; }
.uci-project-cell { display: flex; align-items: center; gap: 11px; min-width: 230px; }
.uci-project-cell strong, .uci-project-cell small { display: block; }
.uci-project-cell strong { color: var(--uci-slate-900); font-size: 11px; }
.uci-project-cell small { max-width: 310px; overflow: hidden; color: var(--uci-slate-500); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.project-mark { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 9px; font-size: 9px; font-weight: 850; letter-spacing: .04em; }
.mark-0 { background: #e7f4f8; color: #176d91; }
.mark-1 { background: #eeecfd; color: #6559c8; }
.mark-2 { background: #e7f7f1; color: #218060; }
.mark-3 { background: #fdf0e5; color: #a8692e; }
.uci-stack-list { display: flex; flex-wrap: wrap; gap: 4px; }
.uci-stack-list span { padding: 3px 7px; border: 1px solid var(--uci-slate-200); border-radius: 5px; background: var(--uci-slate-50); color: var(--uci-slate-500); font-size: 8px; font-weight: 650; }
.uci-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 20px; font-size: 8px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.uci-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-active, .status-completed { background: #eaf8f2; color: #21805f; }
.status-ready, .status-testing, .status-running { background: #e9f3f9; color: #176c92; }
.status-human_review, .status-correcting { background: #fff5df; color: #9b6a0d; }
.status-failed, .status-blocked { background: #fdecef; color: #a94350; }
.status-draft { background: var(--uci-slate-100); color: var(--uci-slate-500); }
.uci-muted { color: var(--uci-slate-500) !important; font-size: 9px; }

.uci-timeline { padding: 10px 20px 18px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 31px 1fr; gap: 11px; padding: 10px 0; }
.timeline-item:not(:last-child)::before { position: absolute; top: 36px; bottom: -5px; left: 15px; width: 1px; background: var(--uci-slate-200); content: ""; }
.timeline-icon { z-index: 1; display: grid; width: 31px; height: 31px; place-items: center; border: 4px solid white; border-radius: 50%; outline: 1px solid var(--uci-slate-200); background: var(--uci-slate-50); font-size: 9px; }
.timeline-icon.success { color: var(--uci-green-500); }
.timeline-item strong { color: var(--uci-slate-700); font-size: 10px; text-transform: capitalize; }
.timeline-item p { margin: 2px 0; color: var(--uci-slate-500); font-size: 9px; line-height: 1.45; }
.timeline-item small { color: #9aa7b4; font-size: 8px; }

.uci-live { display: inline-flex; align-items: center; gap: 7px; color: var(--uci-slate-500); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.uci-task-list { padding: 4px 20px 12px; }
.uci-task-row { display: grid; grid-template-columns: 4px minmax(170px, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--uci-slate-100); }
.uci-task-row:last-child { border-bottom: 0; }
.priority { width: 3px; height: 30px; border-radius: 4px; background: var(--uci-slate-300); }
.priority-high { background: var(--uci-red-500); }
.priority-medium { background: var(--uci-amber-500); }
.task-main strong, .task-main small { display: block; }
.task-main strong { color: var(--uci-slate-700); font-size: 11px; }
.task-main small { color: var(--uci-slate-500); font-size: 9px; }
.uci-run-btn { padding: 7px 10px; border: 1px solid var(--uci-slate-200); border-radius: 8px; color: var(--uci-blue-700); font-size: 9px; font-weight: 750; }
.uci-run-btn:hover { border-color: var(--uci-blue-700); background: var(--uci-blue-700); color: white; }
.uci-done { color: var(--uci-green-500); font-size: 18px; }

.uci-focus-card { position: relative; min-height: 100%; padding: 24px; overflow: hidden; background: linear-gradient(145deg, #0b2435, #0d3043); color: white; }
.focus-glow { position: absolute; top: -60px; right: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(35,169,166,.19); filter: blur(4px); }
.focus-icon { position: relative; display: grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(35,169,166,.13); color: #65d8d1; font-size: 18px; }
.uci-focus-card .uci-panel-kicker { color: #65d8d1; }
.uci-focus-card h2 { color: white; font-size: 20px; }
.uci-focus-card > p { max-width: 380px; margin: 9px 0 20px; color: #9bb2c2; font-size: 11px; line-height: 1.6; }
.focus-progress > span { display: flex; justify-content: space-between; margin-bottom: 7px; color: #abc1ce; font-size: 9px; }
.focus-progress > div { height: 5px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.1); }
.focus-progress > div i { display: block; width: 32%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--uci-teal-500), #64d2c7); }
.uci-focus-btn { width: 100%; margin-top: 22px; padding: 10px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); font-size: 10px; }

.uci-project-card { height: 100%; padding: 20px; }
.uci-project-card header, .uci-project-card footer { display: flex; align-items: center; justify-content: space-between; }
.uci-project-card h2 { margin-top: 17px; font-size: 18px; }
.uci-project-card > p { min-height: 42px; margin: 6px 0 15px; color: var(--uci-slate-500); font-size: 10px; line-height: 1.5; }
.uci-project-card footer { margin: 20px -20px -20px; padding: 13px 20px; border-top: 1px solid var(--uci-slate-100); color: var(--uci-slate-500); font-size: 9px; }
.uci-project-card footer a { color: var(--uci-blue-600); font-weight: 750; }
.uci-modal { border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(7,21,34,.22); }
.uci-modal .modal-header, .uci-modal .modal-footer { border-color: var(--uci-slate-100); }
.uci-modal .modal-title { font-size: 20px; font-weight: 750; }
.uci-modal .form-label { color: var(--uci-slate-700); font-size: 10px; font-weight: 750; }
.uci-modal .form-control { border-color: var(--uci-slate-200); border-radius: 9px; font-size: 12px; }
.uci-modal .form-control:focus { border-color: rgba(25,118,165,.55); box-shadow: 0 0 0 4px rgba(25,118,165,.07); }
.form-text { color: var(--uci-slate-500); font-size: 9px; }
.uci-coming-soon { padding: 70px 25px; text-align: center; }
.uci-coming-soon > span { display: grid; width: 62px; height: 62px; margin: 0 auto 16px; place-items: center; border-radius: 18px; background: #eaf4f7; color: var(--uci-blue-700); font-size: 25px; }
.uci-coming-soon h2 { font-weight: 750; }
.uci-coming-soon p { max-width: 520px; margin: 8px auto 22px; color: var(--uci-slate-500); font-size: 12px; }
.uci-empty { padding: 30px !important; color: var(--uci-slate-500); text-align: center; }
.uci-backdrop { display: none; }

.uci-filter-bar { display: flex; align-items: end; gap: 12px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--uci-slate-200); border-radius: 12px; background: white; box-shadow: var(--uci-shadow); }
.uci-filter-bar > div { min-width: 190px; }
.uci-filter-bar label, .uci-control-body .form-label { display: block; margin-bottom: 5px; color: var(--uci-slate-500); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.uci-filter-bar .form-select, .uci-modal .form-select, .uci-control-body .form-select { border-color: var(--uci-slate-200); border-radius: 9px; color: var(--uci-slate-700); font-size: 11px; }
.uci-clear-filter { align-self: center; margin: 18px 0 0 2px; color: var(--uci-blue-600); font-size: 10px; font-weight: 700; }
.uci-task-table td { vertical-align: middle; }
.uci-task-link { display: block; min-width: 260px; text-decoration: none; }
.uci-task-link strong, .uci-task-link small { display: block; }
.uci-task-link strong { color: var(--uci-slate-800); font-size: 11px; }
.uci-task-link small { margin-top: 3px; color: var(--uci-slate-500); font-size: 9px; }
.uci-project-compact { display: inline-flex; align-items: center; gap: 7px; color: var(--uci-slate-600); font-size: 10px; white-space: nowrap; }
.uci-project-compact b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #e7f4f8; color: var(--uci-blue-700); font-size: 7px; }
.uci-priority-label { display: inline-flex; padding: 5px 9px; border-radius: 7px; background: var(--uci-slate-100); color: var(--uci-slate-600); font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.priority-label-high, .priority-label-critical { background: #fdecef; color: #a94350; }
.priority-label-medium { background: #fff5df; color: #94620b; }
.priority-label-low { background: #eaf8f2; color: #21805f; }
.uci-attempts { color: var(--uci-slate-600); font-size: 10px; font-weight: 750; }
.uci-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--uci-slate-400); font-size: 9px; }
.uci-breadcrumb a { color: var(--uci-blue-600); font-weight: 750; }
.uci-task-head { align-items: center; }
.uci-task-head p { max-width: 760px; }
.uci-count-pill { display: grid; min-width: 28px; height: 28px; padding: 0 8px; place-items: center; border-radius: 8px; background: #eaf4f7; color: var(--uci-blue-700); font-size: 10px; font-weight: 800; }
.uci-criteria-list { margin: 0; padding: 8px 20px 18px; list-style: none; counter-reset: criteria; }
.uci-criteria-list li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--uci-slate-100); }
.uci-criteria-list li:last-child { border-bottom: 0; }
.uci-criteria-list li > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #cce9df; border-radius: 8px; background: #effaf6; color: var(--uci-green-500); }
.uci-criteria-list p { margin: 0; color: var(--uci-slate-700); font-size: 11px; line-height: 1.5; }
.uci-run-history { padding: 18px; }
.uci-run-card { padding: 16px; border: 1px solid var(--uci-slate-200); border-radius: 11px; background: #fbfcfd; }
.uci-run-card + .uci-run-card { margin-top: 14px; }
.uci-run-card > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.uci-run-card > header > div { display: flex; align-items: center; gap: 9px; }
.uci-run-card > header strong { color: var(--uci-slate-700); font-size: 10px; }
.uci-run-card time { color: var(--uci-slate-400); font-size: 8px; }
.uci-run-card > p { margin: 13px 0; color: var(--uci-slate-600); font-size: 10px; line-height: 1.55; }
.uci-run-metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.uci-run-metrics span { padding: 6px 9px; border-radius: 7px; background: white; color: var(--uci-slate-500); font-size: 8px; }
.uci-run-metrics b { color: var(--uci-slate-800); }
.uci-run-metrics .success b { color: var(--uci-green-500); }
.uci-run-metrics .danger b { color: var(--uci-red-500); }
.uci-event-list { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--uci-slate-200); }
.uci-event-list > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 5px; padding: 5px 0; color: var(--uci-slate-500); font-size: 8px; }
.uci-event-list span b { margin-right: 6px; color: var(--uci-slate-700); }
.uci-control-body { padding: 18px 20px 20px; }
.uci-control-stat { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; color: var(--uci-slate-500); font-size: 9px; }
.uci-control-stat strong { color: var(--uci-navy-900); font-size: 17px; }
.uci-progress { height: 6px; margin-bottom: 18px; background: var(--uci-slate-100); }
.uci-progress .progress-bar { background: linear-gradient(90deg, var(--uci-blue-600), var(--uci-teal-500)); }
.uci-control-note { display: flex; gap: 8px; padding: 10px; border-radius: 8px; background: var(--uci-slate-50); color: var(--uci-slate-500); font-size: 9px; line-height: 1.4; }
.uci-project-head { align-items: center; }
.uci-project-head > div:first-child { min-width: 0; }
.uci-project-mark-lg { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px; background: linear-gradient(145deg, #dff3f4, #e7f0f8); color: var(--uci-blue-700); font-size: 12px; }
.uci-project-metrics article { height: 100%; padding: 16px 18px; border: 1px solid var(--uci-slate-200); border-radius: 12px; background: white; box-shadow: var(--uci-shadow); }
.uci-project-metrics span, .uci-project-metrics small { display: block; }
.uci-project-metrics span { color: var(--uci-slate-500); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.uci-project-metrics strong { display: block; margin: 5px 0 2px; color: var(--uci-navy-900); font-size: 23px; letter-spacing: -.04em; }
.uci-project-metrics small { color: var(--uci-slate-400); font-size: 8px; }
.uci-project-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; background: var(--uci-slate-50); }
.uci-project-lane { min-width: 0; overflow: hidden; border: 1px solid var(--uci-slate-200); border-radius: 11px; background: white; }
.uci-project-lane > header { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--uci-slate-100); }
.uci-project-lane > header span { display: flex; align-items: center; gap: 7px; color: var(--uci-slate-600); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.uci-project-lane > header b { display: grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center; border-radius: 7px; background: var(--uci-slate-100); color: var(--uci-slate-600); font-size: 8px; }
.lane-flow > header i { color: var(--uci-blue-600); }
.lane-attention > header i { color: var(--uci-amber-500); }
.lane-closed > header i { color: var(--uci-green-500); }
.uci-project-lane > div { padding: 8px; }
.uci-project-task { display: grid; grid-template-columns: 3px 1fr auto; gap: 9px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--uci-slate-100); text-decoration: none; }
.uci-project-task:last-child { border-bottom: 0; }
.uci-project-task:hover { border-radius: 7px; background: var(--uci-slate-50); }
.uci-project-task strong, .uci-project-task small { display: block; }
.uci-project-task strong { overflow: hidden; color: var(--uci-slate-700); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.uci-project-task small { margin-top: 3px; color: var(--uci-slate-400); font-size: 7px; text-transform: capitalize; }
.uci-project-task > i { color: var(--uci-slate-400); font-size: 9px; }
.uci-lane-empty { margin: 0; padding: 20px 8px; color: var(--uci-slate-400); font-size: 9px; text-align: center; }
.uci-project-facts { margin: 0; padding: 6px 20px 16px; }
.uci-project-facts > div { padding: 12px 0; border-bottom: 1px solid var(--uci-slate-100); }
.uci-project-facts > div:last-child { border-bottom: 0; }
.uci-project-facts dt { margin-bottom: 5px; color: var(--uci-slate-400); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.uci-project-facts dd { margin: 0; color: var(--uci-slate-700); font-size: 10px; }
.uci-project-facts dd a { color: var(--uci-blue-600); font-weight: 700; }
.uci-project-facts em { color: var(--uci-slate-400); font-size: 9px; }
.uci-timeline.compact { max-height: 395px; overflow-y: auto; }

@media (max-width: 1199px) {
  .uci-metrics .col-xl { flex: 0 0 33.333%; }
}

@media (max-width: 991px) {
  .uci-sidebar { transform: translateX(-100%); }
  .uci-sidebar.open { transform: translateX(0); }
  .uci-main { margin-left: 0; }
  .uci-backdrop { position: fixed; inset: 0; z-index: 1030; background: rgba(4,15,24,.45); backdrop-filter: blur(2px); }
  .uci-backdrop.show { display: block; }
  .uci-menu-btn { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--uci-slate-200); }
  .uci-command-search { margin-right: auto; }
  .uci-project-board { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .uci-topbar { min-height: 66px; padding: 0 16px; }
  .uci-command-search { display: none; }
  .uci-content { padding: 22px 16px; }
  .uci-page-head { align-items: flex-start; flex-direction: column; }
  .uci-page-head > div:last-child { width: 100%; }
  .uci-page-head .btn { flex: 1; }
  .uci-metrics .col-xl { flex: 0 0 50%; }
  .uci-task-row { grid-template-columns: 4px 1fr auto; }
  .uci-task-row form, .uci-task-row .uci-done { grid-column: 2 / 4; }
  .uci-run-btn { width: 100%; }
  .uci-filter-bar { align-items: stretch; flex-direction: column; }
  .uci-filter-bar > div { min-width: 0; width: 100%; }
  .uci-clear-filter { margin-top: 0; }
  .uci-run-card > header { align-items: flex-start; flex-direction: column; }
  .uci-task-table .task-secondary { display: none; }
  .uci-task-link { min-width: 190px; }
  .uci-task-table thead th, .uci-task-table tbody td { padding-right: 10px; padding-left: 10px; }
  .uci-project-head { align-items: flex-start; }
  .uci-project-head > div:first-child { align-items: flex-start !important; }
  .uci-project-mark-lg { width: 42px; height: 42px; flex-basis: 42px; }
}

@media (max-width: 480px) {
  .uci-metrics .col-xl { flex: 0 0 100%; }
  .uci-user { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
