:root {
  --navy: #0f2d3d;
  --navy-2: #173f52;
  --ink: #17252d;
  --muted: #64747d;
  --line: #dce4e8;
  --surface: #ffffff;
  --canvas: #f3f6f7;
  --cyan: #00a7a0;
  --cyan-dark: #00847f;
  --orange: #e66f30;
  --red: #c94b4b;
  --yellow: #d79a22;
  --green: #168766;
  --shadow: 0 12px 32px rgba(19, 47, 60, .07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { color: var(--cyan); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.sidebar { width: 250px; position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; color: #d9e6ea; background: linear-gradient(180deg, #102f40, #0b2634); box-shadow: 12px 0 40px rgba(8, 32, 43, .12); }
.brand { display: flex; gap: 12px; align-items: center; padding: 22px 20px; color: white; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand:hover { color: white; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; font-weight: 900; color: white; background: var(--cyan); border-radius: 7px 13px 7px 7px; letter-spacing: -.05em; }
.brand-mark.large { width: 64px; height: 64px; font-size: 24px; }
.brand strong, .brand small, .sidebar-user strong, .sidebar-user small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .01em; }
.brand small { color: #99afb8; font-size: 11px; margin-top: 2px; text-transform: uppercase; letter-spacing: .09em; }
.sidebar nav { padding: 13px 10px; overflow-y: auto; flex: 1; }
.sidebar nav a { min-height: 39px; display: flex; align-items: center; gap: 12px; color: #c5d4da; padding: 8px 12px; border-radius: 7px; margin: 2px 0; font-size: 13px; font-weight: 600; }
.sidebar nav a span { width: 18px; color: #7fa0ad; text-align: center; }
.sidebar nav a:hover, .sidebar nav a.active { background: rgba(0, 167, 160, .16); color: #fff; }
.sidebar nav a.active { box-shadow: inset 3px 0 var(--cyan); }
.sidebar nav a.active span { color: #2ad7d0; }
.nav-label { margin: 18px 12px 6px; font-size: 9px; color: #718e9a; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.sidebar-user { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 15px; border-top: 1px solid rgba(255,255,255,.09); }
.sidebar-user .avatar { width: 34px; height: 34px; display: grid; place-items: center; background: #285364; border-radius: 50%; font-weight: 800; }
.sidebar-user strong { color: #fff; font-size: 12px; }
.sidebar-user small { color: #8ea8b2; font-size: 10px; margin-top: 2px; }
.sidebar-user form button { background: none; color: #98afb8; border: 0; font-size: 18px; }
.main-content { margin-left: 250px; padding: 30px 34px 60px; min-height: 100vh; }
.mobile-header { display: none; }
.page-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.page-header h1 { margin: 3px 0 6px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; color: var(--navy); letter-spacing: -.035em; }
.page-header p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.eyebrow { margin: 0; color: var(--cyan-dark); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.header-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.button { min-height: 39px; padding: 9px 15px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-size: 12px; font-weight: 750; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--cyan-dark); border-color: var(--cyan-dark); box-shadow: 0 6px 14px rgba(0, 132, 127, .16); }
.button.primary:hover { background: var(--cyan); color: white; }
.button.secondary { color: var(--navy); background: #fff; border-color: #cbd8dd; }
.button.ghost { color: var(--navy); background: transparent; border-color: var(--line); }
.button.danger { color: #fff; background: var(--red); }
.button.full { width: 100%; }
.button.small { min-height: 30px; padding: 5px 10px; font-size: 11px; }
.panel { background: var(--surface); border: 1px solid #e1e7ea; border-radius: 11px; box-shadow: var(--shadow); padding: 20px; }
.panel h2 { margin: 0 0 16px; font-size: 17px; color: var(--navy); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; }
.panel-heading h2 { margin: 2px 0 0; }
.panel-heading a { font-size: 12px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(145px, 1fr)); gap: 12px; margin-bottom: 17px; }
.metric-card { min-height: 130px; padding: 18px; background: #fff; border: 1px solid #e1e7ea; border-radius: 10px; box-shadow: 0 6px 22px rgba(19, 47, 60, .045); position: relative; overflow: hidden; }
.metric-card.accent::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--cyan); }
.metric-card strong { display: block; font-size: 25px; color: var(--navy); letter-spacing: -.035em; margin: 18px 0 5px; }
.metric-card small { color: var(--muted); font-size: 10px; }
.forecast-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: -3px 0 17px; overflow: hidden; border: 1px solid #dce5e8; border-radius: 9px; background: #dce5e8; }
.forecast-strip > div { padding: 11px 15px; display: flex; align-items: center; gap: 10px; background: #edf4f5; }
.forecast-strip span { color: #526771; font-size: 10px; }.forecast-strip strong { margin-left: auto; color: var(--navy); }.forecast-strip small { color: #2d7080; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.metric-label { font-size: 11px; color: #50616a; font-weight: 700; display: flex; gap: 5px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; width: max-content; border-radius: 4px; padding: 3px 6px; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.tag.forecast { color: #2c667b; background: #e6f3f7; }
.tag.actual { color: #116c54; background: #e0f4ed; }
.tag.warning { color: #92570d; background: #fff0d8; }
.tag.neutral { color: #5e7079; background: #edf1f3; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 2fr 1.25fr; gap: 16px; }
.span-2 { grid-column: span 2; }
.stage-bars { display: grid; gap: 12px; }
.stage-row { display: grid; grid-template-columns: 105px 1fr 95px 28px; align-items: center; gap: 10px; font-size: 11px; }
.stage-row span { color: #465b65; }
.stage-row strong { text-align: right; color: var(--navy); }
.stage-row small { text-align: right; color: var(--muted); }
.bar-track { height: 7px; background: #e9eef0; border-radius: 99px; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-dark), #37c2bd); max-width: 100%; }
.bar-track i.red { background: var(--red); }.bar-track i.yellow { background: var(--yellow); }.bar-track i.green { background: var(--green); }
.attention-list { display: grid; }
.attention-list a { display: grid; grid-template-columns: 13px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.attention-list a:last-child { border: 0; }
.attention-list strong, .attention-list small { display: block; }
.attention-list strong { font-size: 20px; color: var(--navy); }
.attention-list small { font-size: 10px; color: var(--muted); }
.attention-list b { font-size: 20px; color: #a1b0b7; }
.status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px #edf1f3; }
.status-dot.red { background: var(--red); box-shadow: 0 0 0 3px #f9e7e7; }.status-dot.yellow { background: var(--yellow); box-shadow: 0 0 0 3px #fff2dc; }.status-dot.green { background: var(--green); box-shadow: 0 0 0 3px #e3f4ee; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 10px 11px; color: #71818a; font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .09em; background: #f7f9fa; border-bottom: 1px solid var(--line); }
td { padding: 12px 11px; border-bottom: 1px solid #edf1f2; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td strong, td small { display: block; }
td small { margin-top: 3px; color: var(--muted); font-size: 10px; }
td.numeric, th.numeric { text-align: right; white-space: nowrap; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel table { min-width: 760px; }
.stage-pill, .status-pill { display: inline-flex; width: max-content; color: #365964; background: #e9f1f3; border-radius: 99px; padding: 4px 8px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.status-pill.draft { color: #63747c; background: #edf1f3; }.status-pill.review { color: #8a5a14; background: #fff0d3; }.status-pill.approved, .status-pill.accepted, .status-pill.paid, .status-pill.final { color: #126c55; background: #e1f4ee; }.status-pill.sent { color: #2d657d; background: #e3f1f8; }.status-pill.rejected, .status-pill.overdue { color: #9c3535; background: #fae6e6; }.status-pill.large { padding: 7px 11px; }
.capacity-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.capacity-row:last-child { border: 0; }.capacity-row strong,.capacity-row small { display: block; }.capacity-row small { font-size: 9px; color: var(--muted); }
.radial { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--cyan) calc(var(--progress) * 1%), #e4eaed 0); position: relative; }
.radial::after { content: ""; width: 31px; height: 31px; border-radius: 50%; background: white; position: absolute; }.radial span { z-index: 1; font-size: 8px; font-weight: 800; }
.alert { padding: 12px 15px; border-radius: 8px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; }
.alert strong { white-space: nowrap; }.alert span { color: #5e6b71; }.alert.warning { background: #fff4e2; border: 1px solid #f2d4a5; color: #814f0d; }.alert.info { background: #e9f5f8; border: 1px solid #c7e1e8; color: #285d6e; }.alert.success { background: #e3f5ee; border: 1px solid #bfe2d5; color: #17634f; }
.empty-state { padding: 45px 20px; text-align: center; color: var(--muted); }
.empty-state span { font-size: 28px; color: #9ab0b9; }.empty-state h3 { margin: 7px 0 4px; color: var(--navy); }.empty-state p { margin: 0 0 14px; font-size: 12px; }.empty-state.compact { padding: 20px 10px; }.empty-inline { padding: 20px; text-align: center; color: var(--muted); }
.toolbar { min-height: 55px; padding: 8px 11px; background: #fff; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar > span { font-size: 11px; color: var(--muted); }.search { flex: 1; display: flex; max-width: 520px; }.search input { flex: 1; border: 0; background: #f4f7f8; border-radius: 6px 0 0 6px; padding: 10px 12px; }.search button { border: 0; color: #fff; background: var(--navy-2); padding: 0 15px; border-radius: 0 6px 6px 0; }
.filterbar { justify-content: start; flex-wrap: wrap; }.filterbar input,.filterbar select { min-height: 38px; border: 1px solid #d3dde1; border-radius: 6px; padding: 8px 10px; background: #fff; }.filterbar input { flex: 1; min-width: 220px; }
.messages { position: fixed; z-index: 100; top: 18px; right: 20px; display: grid; gap: 8px; max-width: 430px; }
.message { background: #fff; border-left: 4px solid var(--cyan); box-shadow: 0 10px 34px rgba(10,35,46,.18); border-radius: 7px; padding: 13px 42px 13px 14px; font-size: 12px; position: relative; }.message.error { border-color: var(--red); }.message.warning { border-color: var(--yellow); }.message.success { border-color: var(--green); }.message button { position: absolute; right: 8px; top: 7px; border: 0; background: none; color: var(--muted); font-size: 20px; }
.form-card { max-width: 920px; margin: auto; }.form-card.wide { max-width: 1200px; }.form-card > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }.field { display: flex; flex-direction: column; gap: 6px; }.field label { font-size: 11px; color: #3f555f; font-weight: 750; }.field input,.field select,.field textarea { width: 100%; border: 1px solid #cbd8dd; border-radius: 6px; background: #fff; padding: 10px 11px; color: var(--ink); outline: none; }.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,167,160,.1); }.field textarea { resize: vertical; }.field small { color: var(--muted); font-size: 9px; }.field-error { color: var(--red); font-size: 10px; }.checkbox-field { flex-direction: row; align-items: center; }.checkbox-field input { width: auto; order: -1; }.form-actions { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 9px; }
.day-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 16px; }.day-main,.day-side { display: grid; gap: 16px; align-content: start; }
.count-badge,.score-badge { padding: 5px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; background: #e8eff2; }.score-badge.green { color: var(--green); background: #e1f3ed; }.score-badge.yellow { color: #8c6012; background: #fff0d5; }.score-badge.red { color: var(--red); background: #fae5e5; }
.task-list { display: grid; }.task-item { display: grid; grid-template-columns: 55px 1fr auto; gap: 12px; align-items: center; padding: 13px 5px; border-bottom: 1px solid var(--line); }.task-item:last-child { border: 0; }.task-time { font-weight: 800; color: var(--navy); }.task-item strong,.task-item small { display: block; }.task-item small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.timeline > div { display: grid; grid-template-columns: 45px 15px 1fr; gap: 7px; min-height: 62px; }.timeline time { color: var(--muted); font-size: 10px; margin-top: 2px; }.timeline i { width: 9px; height: 9px; background: var(--cyan); border: 2px solid #fff; box-shadow: 0 0 0 2px #9bd9d5; border-radius: 50%; position: relative; }.timeline i::after { content: ""; position: absolute; left: 2px; top: 9px; height: 48px; border-left: 1px solid #cddde1; }.timeline div:last-child i::after { display: none; }.timeline section strong,.timeline section small { display: block; }.timeline section small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.alert-panel { background: linear-gradient(135deg,#fff7ea,#fff); border-color: #efd7b5; }.alert-panel > strong { display: block; font-size: 38px; color: var(--orange); margin: 10px 0 0; }.alert-panel > span { display: block; color: var(--muted); font-size: 11px; }.alert-panel > a { display: block; margin-top: 16px; font-size: 11px; font-weight: 800; }
.goal-row { display: grid; grid-template-columns: 110px 1fr 45px; gap: 8px; align-items: center; margin: 10px 0; }.goal-row > span { font-size: 9px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }.goal-row small { font-size: 8px; text-align: right; }
.mini-record { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }.mini-record:last-child { border: 0; }.mini-record strong,.mini-record small { display: block; }.mini-record small,.mini-record time { font-size: 9px; color: var(--muted); }
.kanban { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 18px; scroll-snap-type: x proximity; }.kanban-column { min-width: 270px; max-width: 270px; background: #e9eef0; border-radius: 10px; padding: 10px; scroll-snap-align: start; }.kanban-column > header { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px 12px; }.kanban-column > header strong,.kanban-column > header small { display: block; }.kanban-column > header strong { color: var(--navy); font-size: 12px; }.kanban-column > header small { color: var(--muted); font-size: 8px; margin-top: 2px; }.kanban-column > header > span { width: 23px; height: 23px; display: grid; place-items: center; background: #d5e0e4; border-radius: 50%; font-size: 9px; }.kanban-cards { display: grid; gap: 8px; }.kanban-card { background: #fff; border: 1px solid #dae3e6; border-radius: 8px; padding: 12px; box-shadow: 0 4px 12px rgba(18,47,59,.05); position: relative; overflow: hidden; }.line-mark { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cyan); }.line-mark.smt { background: var(--orange); }.line-mark.rd { background: #7057b0; }.kanban-card > a,.kanban-card > small { display: block; }.kanban-card > a { color: var(--navy); font-size: 12px; line-height: 1.35; }.kanban-card > small { color: var(--muted); font-size: 9px; margin: 4px 0 12px; }.kanban-card > div { display: flex; align-items: baseline; gap: 5px; }.kanban-card > div b { color: var(--navy); }.kanban-card > div span { font-size: 8px; color: var(--muted); }.kanban-card footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 9px; }.kanban-card footer time { font-size: 9px; color: var(--muted); }.kanban-card footer span { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--navy-2); border-radius: 50%; font-size: 8px; font-weight: 800; }.kanban-empty { padding: 25px 8px; border: 1px dashed #bdcbd0; border-radius: 7px; text-align: center; font-size: 9px; color: #889ba3; }
.link-button { background: none; border: 0; color: var(--cyan-dark); font-size: 10px; font-weight: 800; }.overdue-row { box-shadow: inset 3px 0 var(--red); }
.row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 11px; white-space: nowrap; }
.row-actions form { display: inline; margin: 0; }
.row-actions a,.danger-link { border: 0; background: none; padding: 0; font: inherit; font-size: 10px; font-weight: 800; color: var(--cyan-dark); cursor: pointer; }
.danger-link { color: var(--red); }
.row-actions a:hover,.danger-link:hover { text-decoration: underline; }
.config-grid { display: grid; gap: 16px; }
.section-heading { padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 3px 0 0; }
.section-heading p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
dialog { border: 0; border-radius: 10px; box-shadow: 0 24px 80px rgba(5,30,41,.26); padding: 0; width: min(470px,calc(100vw - 30px)); }dialog::backdrop { background: rgba(8,30,39,.5); }.dialog-close { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 22px; color: var(--muted); }dialog form { padding: 25px; display: grid; gap: 15px; }dialog h2 { margin: 0; color: var(--navy); }dialog label { font-size: 11px; font-weight: 750; }dialog input,dialog textarea { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #cbd8dd; border-radius: 6px; }
.quote-editor { display: grid; gap: 15px; }.line-items { display: grid; gap: 10px; }.line-item { display: grid; grid-template-columns: 1.1fr 1fr 2fr .7fr 1fr 1fr auto; gap: 8px; align-items: end; padding: 12px; background: #f6f8f9; border-radius: 8px; }.line-item .field label { font-size: 8px; }.line-item .field input,.line-item .field select { padding: 8px; font-size: 10px; }.sticky-actions { position: sticky; bottom: 12px; z-index: 10; background: var(--navy); color: #d5e2e7; padding: 11px 13px 11px 18px; border-radius: 9px; box-shadow: 0 12px 30px rgba(8,32,43,.22); display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 10px; }
.quote-layout,.report-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(290px,1fr); gap: 16px; align-items: start; }.quote-side,.report-side { display: grid; gap: 16px; }.quote-totals { width: min(390px,100%); margin: 20px 0 0 auto; }.quote-totals > div { display: flex; justify-content: space-between; padding: 7px 2px; font-size: 11px; }.quote-totals .grand-total { border-top: 2px solid var(--navy); margin-top: 4px; padding-top: 12px; font-size: 16px; color: var(--navy); }.action-stack { display: grid; gap: 8px; }.approval { padding: 12px 0; border-top: 1px solid var(--line); }.approval strong,.approval small { display: block; }.approval small { color: var(--muted); font-size: 9px; margin: 3px 0 10px; }.approval form { display: flex; flex-wrap: wrap; gap: 5px; }.approval input { width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 7px; }.detail-list { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 10px; }.detail-list dt { color: var(--muted); }.detail-list dd { margin: 0; color: var(--ink); line-height: 1.45; }
.tabs { display: flex; gap: 3px; margin-bottom: 13px; padding: 5px; background: #e8edef; border-radius: 8px; overflow-x: auto; }.tabs a { padding: 8px 13px; color: #5c6f78; font-size: 10px; font-weight: 750; border-radius: 5px; white-space: nowrap; }.tabs a.active { color: var(--navy); background: #fff; box-shadow: 0 2px 8px rgba(20,50,62,.08); }
.report-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-bottom: 22px; }.report-metrics > div { min-height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; }.report-metrics > .metric-card { display: block; }.report-metrics strong,.report-metrics small { display: block; }.report-metrics small { color: var(--muted); font-size: 9px; margin-top: 3px; }.report-metrics b { color: var(--navy); }.report-form { display: grid; gap: 15px; }.danger-zone { border-color: #edc6c6; background: #fffafa; }.danger-zone textarea { width: 100%; min-height: 80px; border: 1px solid #e3c1c1; border-radius: 6px; padding: 9px; margin-bottom: 8px; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }.login-brand { position: relative; overflow: hidden; padding: clamp(40px,8vw,110px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: radial-gradient(circle at 80% 15%,rgba(0,167,160,.25),transparent 28%),linear-gradient(145deg,#0c2a3a,#133f52); }.login-brand::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -190px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.02); }.login-brand .eyebrow { color: #4de0da; margin-top: 32px; }.login-brand h1 { max-width: 650px; font-size: clamp(34px,5vw,62px); line-height: .99; letter-spacing: -.055em; margin: 17px 0 20px; }.login-brand > p:last-of-type { color: #a9c1ca; }.signal-grid { display: flex; gap: 7px; margin-top: 40px; }.signal-grid span { width: 34px; height: 4px; background: var(--cyan); border-radius: 99px; }.signal-grid span:nth-child(2) { width: 55px; opacity: .8; }.signal-grid span:nth-child(3) { width: 21px; opacity: .65; }.signal-grid span:nth-child(4) { width: 76px; opacity: .5; }.signal-grid span:nth-child(5) { width: 15px; opacity: .35; }.login-panel { display: grid; place-items: center; padding: 30px; }.login-card { width: min(390px,100%); }.login-card h2 { margin: 8px 0 4px; color: var(--navy); font-size: 32px; }.login-card .muted { margin: 0 0 30px; }.login-card > label { display: block; color: #435861; font-size: 11px; font-weight: 750; margin: 14px 0 6px; }.login-card input { width: 100%; border: 1px solid #c9d5da; border-radius: 7px; padding: 12px; outline: none; }.login-card input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,167,160,.1); }.login-card .button { margin-top: 22px; }.secure-note { display: block; margin-top: 20px; color: #829299; line-height: 1.5; text-align: center; }.muted { color: var(--muted); font-size: 11px; }
.setup-card { width: min(510px,100%); }.setup-card h2 { font-size: 29px; }.setup-help { margin: 8px 0 18px; padding: 11px 13px; border-left: 3px solid var(--cyan); border-radius: 5px; color: #48616b; background: #f0f8f8; font-size: 10px; line-height: 1.55; }.setup-card ul.errorlist { margin: 5px 0 0; padding: 0; list-style: none; color: #a72d2d; font-size: 10px; }.setup-card .helptext { display: block; margin-top: 5px; color: #73868e; font-size: 9px; line-height: 1.45; }
@media (max-width: 1250px) { .metric-grid { grid-template-columns: repeat(3,1fr); }.dashboard-grid { grid-template-columns: 1.5fr 1fr; }.dashboard-grid .span-2 { grid-column: span 1; }.dashboard-grid > .panel:first-child,.dashboard-grid > .panel:nth-child(3) { grid-column: span 2; }.line-item { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px) { .sidebar { transform: translateX(-102%); transition: .2s ease; }.sidebar.open { transform: translateX(0); }.mobile-header { display: flex; position: sticky; top: 0; z-index: 15; height: 54px; padding: 0 15px; align-items: center; justify-content: space-between; color: #fff; background: var(--navy); }.mobile-header button { border: 0; color: #fff; background: transparent; font-size: 20px; }.mobile-header span { font-size: 10px; color: #a9bdc5; }.main-content { margin-left: 0; padding: 24px 18px 50px; }.quote-layout,.report-layout { grid-template-columns: 1fr; }.quote-layout .span-2,.report-layout .span-2 { grid-column: auto; }.login-shell { grid-template-columns: 1fr; }.login-brand { min-height: 42vh; padding: 35px; }.login-brand h1 { font-size: 38px; }.login-panel { padding: 45px 25px; } }
@media (max-width: 650px) { .page-header { align-items: flex-start; flex-direction: column; }.page-header .header-actions,.page-header > .button,.page-header > form { width: 100%; }.page-header .header-actions .button,.page-header > .button,.page-header > form .button { flex: 1; width: 100%; }.metric-grid { grid-template-columns: repeat(2,1fr); }.metric-card { min-height: 115px; padding: 14px; }.metric-card strong { font-size: 21px; }.dashboard-grid { grid-template-columns: 1fr; }.dashboard-grid > .panel:first-child,.dashboard-grid > .panel:nth-child(3) { grid-column: auto; }.stage-row { grid-template-columns: 80px 1fr 65px; }.stage-row small { display: none; }.day-layout { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.toolbar { align-items: stretch; flex-direction: column; }.search { width: 100%; }.filterbar select,.filterbar input,.filterbar button { width: 100%; }.line-item { grid-template-columns: 1fr 1fr; }.report-metrics { grid-template-columns: 1fr; }.alert { align-items: flex-start; flex-direction: column; }.alert strong { white-space: normal; }.login-brand { min-height: 37vh; }.login-brand h1 { font-size: 31px; }.login-brand .eyebrow { margin-top: 20px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto!important; transition: none!important; } }
@media (max-width: 900px) { .forecast-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .forecast-strip { grid-template-columns: 1fr; }.forecast-strip > div { padding: 10px 12px; } }
