/* Occura OS: product UI on top of the house tokens (tokens.css). Denser than the website: 15–16px body. */
body { font-size: 15px; background: var(--off-white); line-height: 1.5; }
@media (min-width: 900px) { body { font-size: 15.5px; } }
h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 .6em; }
button { font-family: var(--font); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--navy-muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i--sm { width: 16px; height: 16px; }

/* ---------- shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; min-height: 100dvh; }
.side { background: var(--navy); color: var(--white); padding: 20px 14px; position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.side__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 10px; color: var(--white); text-decoration: none; }
.side__brand img { width: 34px; height: 34px; border-radius: 9px; background: var(--white); padding: 3px; }
.side__brand b { font-size: 17px; letter-spacing: -0.01em; display: block; line-height: 1.1; }
.side__brand span { font-size: 12px; color: var(--on-navy-muted); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-pill); color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { background: var(--blue-tint); color: var(--navy); }
.nav a[aria-current="page"] svg { color: var(--blue); }
.nav__count { margin-left: auto; font-size: 12px; background: var(--coral); color: var(--navy); border-radius: 999px; padding: 1px 8px; }
.side__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); padding: 0 14px; display: flex; align-items: center; gap: 8px; }
.side__label::before { content: ""; width: 16px; height: 3px; border-radius: 3px; background: var(--coral); }
.side__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.side__foot .who { flex: 1; min-width: 0; font-size: 14px; }
.side__foot .who small { display: block; color: var(--on-navy-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.side :focus-visible { outline-color: var(--white); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--blue); color: var(--white); flex: none; }
.avatar--Ella { background: var(--coral); color: var(--navy); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px clamp(16px, 3vw, 32px); background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.top__menu { display: none; }
.search { position: relative; flex: 1 1 260px; max-width: 460px; }
.search input { min-height: 44px; padding-left: 42px; border-radius: var(--radius-pill); border-color: var(--line-strong); background: var(--off-white); }
.search > svg { position: absolute; left: 14px; top: 12px; color: var(--navy-muted); }
.search__results { position: absolute; left: 0; right: 0; top: 50px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 8px; max-height: 70vh; overflow: auto; z-index: 40; }
.search__results a { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 12px; text-decoration: none; }
.search__results a:hover, .search__results a.is-active { background: var(--blue-tint); color: var(--navy); }
.search__results .type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-muted); width: 62px; flex: none; }

.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.seg button { min-height: 36px; padding: 6px 14px; border: 0; background: transparent; border-radius: var(--radius-pill); font: 600 14px var(--font); color: var(--navy-muted); cursor: pointer; }
.seg button:hover { color: var(--navy); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(2, 29, 71, .1); }
.seg button[aria-pressed="true"].is-blue { background: var(--blue-tint); box-shadow: none; }

.page { padding: clamp(18px, 3vw, 32px); max-width: 1320px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .eyebrow { margin-bottom: 8px; font-size: 13px; }
.page-head p { color: var(--navy-muted); margin: 6px 0 0; }

/* ---------- buttons */
.btn { min-height: 44px; padding: 9px 20px; font-size: 15px; }
.btn--lg { min-height: 52px; font-size: 17px; padding: 12px 24px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: transparent; }
.btn--ghost:hover, .btn--outline:hover { box-shadow: none; background: var(--off-white); }
.btn--danger { --btn-bg: var(--white); --btn-fg: var(--error); border-color: var(--line-strong); }
.btn--danger:hover { background: var(--error-tint); box-shadow: none; }
.btn--icon { padding: 0; width: 44px; min-width: 44px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: 600 14px var(--font); cursor: pointer; min-height: 32px; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- cards, kpis */
.card { padding: 20px 22px; }
.card + .card { margin-top: 18px; }
.grid > .card + .card { margin-top: 0; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card__head h2, .card__head h3 { display: flex; align-items: center; gap: 10px; }
.grid { display: grid; gap: 18px; }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 18px; }
.grid--2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--2 > div > .card + .card { margin-top: 18px; }
.grid > .card + .card { margin-top: 0; }
.kpi { display: flex; gap: 14px; align-items: flex-start; }
.kpi .icon-tile { width: 44px; height: 44px; }
.kpi .icon-tile svg { width: 22px; height: 22px; }
.kpi__label { font-size: 13px; font-weight: 600; color: var(--navy-muted); }
.kpi__value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi__sub { font-size: 13px; color: var(--navy-muted); }
.icon-tile--coral { background: var(--coral-tint); color: #C8432A; }

/* ---------- tags */
.tag { font-size: 12px; padding: 2px 9px; white-space: nowrap; gap: 5px; align-items: center; }
.tag--ok { background: var(--ok-tint); color: var(--ok); }
.tag--warn { background: var(--warn-tint); color: var(--warn); }
.tag--error { background: var(--error-tint); color: var(--error); }
.tag--muted { background: var(--off-white); color: var(--navy-muted); border: 1px solid var(--line); }
.tag--line { background: var(--white); border: 1px solid var(--line-strong); }
.tag--Ella { background: var(--coral-tint); }
.tag--Both { background: var(--off-white); border: 1px solid var(--line); }
.tag--Claude { background: var(--white); border: 1px solid var(--line-strong); color: var(--navy-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; flex: none; }

/* ---------- progress */
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; position: relative; }
.bar > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .4s ease; }
.bar--lg { height: 12px; }
.bar__marker { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--navy); opacity: .55; }
.pct { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- action rows */
.alist { list-style: none; margin: 0; padding: 0; }
.alist > li + li { border-top: 1px solid var(--line); }
.arow { display: flex; align-items: flex-start; gap: 12px; padding: 10px 6px; border-radius: 12px; }
.arow:hover { background: var(--off-white); }
.arow__main { flex: 1; min-width: 0; cursor: pointer; text-align: left; background: none; border: 0; padding: 2px 0; color: var(--navy); font: inherit; }
.arow__title { font-weight: 600; display: block; }
.arow.is-done .arow__title { text-decoration: line-through; text-decoration-color: var(--navy-muted); color: var(--navy-muted); }
.arow__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-items: center; font-size: 13px; color: var(--navy-muted); }
.arow__due { font-size: 13px; font-weight: 600; white-space: nowrap; padding-top: 3px; font-variant-numeric: tabular-nums; }
.arow__due.is-late { color: var(--error); }
.check { width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; color: transparent; padding: 0; position: relative; }
.check::after { content: ""; position: absolute; inset: -9px; }
.check:hover { border-color: var(--blue); color: var(--blue); }
.check.is-on { background: var(--ok); border-color: var(--ok); color: var(--white); }
.check svg { width: 14px; height: 14px; stroke-width: 3; }
.sel { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--blue); flex: none; }
.group-h { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-muted); }
.group-h:first-child { margin-top: 0; }
.group-h .count { background: var(--off-white); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; font-size: 12px; letter-spacing: 0; }
.group-h--late { color: var(--error); }
.empty { padding: 22px; text-align: center; color: var(--navy-muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--white); }
.empty strong { display: block; color: var(--navy); margin-bottom: 4px; }

/* ---------- milestone section */
.ms { margin-top: 14px; }
.ms__head { display: flex; align-items: center; gap: 12px; padding: 12px 6px 8px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.ms__head h3 { flex: 1; min-width: 180px; }
.ms__bar { width: 120px; }
.addrow { display: flex; gap: 8px; padding: 8px 6px 4px; }
.addrow input { min-height: 44px; border-style: dashed; }

/* ---------- board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 140px; }
.col.is-over { border-color: var(--blue); background: var(--blue-tint); }
.col__head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; padding: 2px 4px 10px; }
.col__head small { font-weight: 600; color: var(--navy-muted); }
.kcard { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(2, 29, 71, .05); cursor: grab; display: block; width: 100%; text-align: left; font: inherit; color: var(--navy); }
.kcard + .kcard { margin-top: 8px; }
.kcard:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.kcard.is-dragging { opacity: .45; }
.kcard b { display: block; font-size: 14px; line-height: 1.35; }
.kcard .arow__meta { margin-top: 6px; }

/* ---------- table */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr:hover { background: var(--off-white); }
.t .r { text-align: right; font-variant-numeric: tabular-nums; }
.t a { font-weight: 600; text-decoration: none; }
.t a:hover { text-decoration: underline; }

/* ---------- forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field small { color: var(--navy-muted); font-size: 12.5px; }
.input, select, textarea { min-height: 46px; font-size: 15px; padding: 10px 12px; }
textarea { min-height: 90px; resize: vertical; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkline { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; min-height: 44px; }
.checkline input { width: 20px; height: 20px; accent-color: var(--blue); }
.err { color: var(--error); background: var(--error-tint); padding: 10px 14px; border-radius: 12px; font-size: 14px; }

/* ---------- drawer & modal */
.scrim { position: fixed; inset: 0; background: rgba(2, 29, 71, .35); z-index: 60; animation: fade .2s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 100vw); background: var(--white); z-index: 61; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; animation: slide .25s ease; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { flex: 1; font-size: 1.15rem; }
.drawer__body { padding: 20px; overflow-y: auto; flex: 1; }
.drawer__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: var(--off-white); }
.modal { position: fixed; z-index: 62; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 24px; animation: fade .2s ease; }
.modal h2 { margin-bottom: 8px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-pill); z-index: 80; font-weight: 600; font-size: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lift); animation: fade .2s ease; }
.toast button { background: none; border: 0; color: var(--blue-soft); font: 700 14px var(--font); cursor: pointer; min-height: 32px; }

/* ---------- menu */
.menu { position: relative; }
.menu__list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 6px; z-index: 50; }
.menu__list button, .menu__list a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: 600 14px var(--font); color: var(--navy); cursor: pointer; text-align: left; text-decoration: none; min-height: 42px; }
.menu__list button:hover, .menu__list a:hover { background: var(--blue-tint); }

/* ---------- tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 14px; }
.tabs button { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 600 14px var(--font); color: var(--navy-muted); cursor: pointer; }
.tabs button:hover { color: var(--navy); border-color: var(--line-strong); }
.tabs button[aria-selected="true"] { background: var(--blue-tint); color: var(--navy); border-color: transparent; }

/* ---------- plan header */
.plan-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.statline div { background: var(--off-white); border-radius: 12px; padding: 8px 12px; }
.statline b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.statline span { font-size: 12px; color: var(--navy-muted); font-weight: 600; }
.chart { width: 100%; max-width: 380px; height: auto; display: block; }
.chart text { font: 500 11px var(--font); fill: var(--navy-muted); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--navy-muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }

/* ---------- bulk bar */
.bulk { position: sticky; bottom: 14px; z-index: 30; margin-top: 14px; background: var(--navy); color: var(--white); border-radius: var(--radius-pill); padding: 8px 10px 8px 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lift); }
.bulk select, .bulk input { min-height: 38px; width: auto; border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.bulk .btn { min-height: 38px; padding: 6px 14px; font-size: 14px; }

/* ---------- calendar & timeline */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cal__dow { font-size: 12px; font-weight: 700; color: var(--navy-muted); padding: 8px; text-transform: uppercase; letter-spacing: .06em; background: var(--off-white); border-bottom: 1px solid var(--line); }
.cal__day { min-height: 104px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.cal__day:nth-child(7n) { border-right: 0; }
.cal__day.is-out { background: var(--off-white); color: var(--navy-muted); }
.cal__day.is-today .cal__n { background: var(--blue); color: var(--white); }
.cal__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 700; margin-bottom: 4px; }
.cal__item { display: block; width: 100%; text-align: left; border: 0; background: var(--blue-tint); border-radius: 8px; padding: 3px 6px; margin-top: 3px; font: 600 11.5px/1.3 var(--font); color: var(--navy); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal__item.is-done { background: var(--ok-tint); color: var(--ok); text-decoration: line-through; }
.cal__item.is-late { background: var(--error-tint); color: var(--error); }
.tl { position: relative; }
.tl__row { display: grid; grid-template-columns: 260px 1fr; align-items: center; min-height: 34px; border-bottom: 1px solid var(--line); }
.tl__label { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; background: none; border: 0; text-align: left; color: var(--navy); cursor: pointer; font-family: var(--font); }
.tl__track { position: relative; height: 34px; }
.tl__bar { position: absolute; top: 9px; height: 16px; border-radius: 99px; background: var(--blue); min-width: 8px; }
.tl__bar.is-done { background: var(--ok); }
.tl__bar.is-late { background: var(--coral); }
.tl__bar.is-wait { background: var(--blue-soft); }
.tl__today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--coral); z-index: 2; }
.tl__grid { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl__ms { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-muted); padding: 12px 0 4px; }

/* ---------- leads */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.state { border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); font-size: 13px; }
.state b { display: block; font-size: 14px; }
.state--Built { background: var(--blue-tint); border-color: transparent; }
.state--Being { background: var(--coral-tint); border-color: transparent; }
.state--Done { background: var(--ok-tint); border-color: transparent; }
.lead-card h3 { margin-bottom: 2px; }
.lead-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.lead-figs div { background: var(--off-white); border-radius: 12px; padding: 8px 10px; }
.lead-figs b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.lead-figs span { font-size: 12px; color: var(--navy-muted); font-weight: 600; }

/* ---------- account */
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 14px; margin: 0; }
.dl dt { color: var(--navy-muted); font-weight: 600; }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.feed { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.feed li { padding: 8px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed .when { color: var(--navy-muted); font-size: 12px; }
.feed .comment { background: var(--off-white); border-radius: 12px; padding: 8px 12px; margin-top: 4px; white-space: pre-wrap; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; min-height: 40px; }
.checklist li input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ok); }
.checklist li span.is-done { text-decoration: line-through; color: var(--navy-muted); }
.nextstep { background: var(--blue-tint); border-radius: var(--radius); padding: 14px 16px; }
.nextstep.is-late { background: var(--error-tint); }

/* ---------- login */
.login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login__art { background: var(--hero-gradient); color: var(--white); padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: space-between; }
.login__art h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 12px; }
.login__art p { color: var(--on-navy-muted); max-width: 44ch; font-size: 17px; }
.login__art .eyebrow::before { background: var(--coral); }
.login__form { display: grid; place-items: center; padding: 32px 16px; background: var(--white); }
.login__form form { width: min(380px, 100%); }
.login__form .field + .field { margin-top: 14px; }
.login__logo { height: 38px; width: auto; background: var(--white); border-radius: 10px; padding: 4px 8px; }

/* ---------- responsive */
@media (max-width: 1080px) {
  .grid--2, .plan-hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 70; transform: translateX(-105%); transition: transform .25s ease; }
  .side.is-open { transform: none; box-shadow: var(--shadow-lift); }
  .top__menu { display: inline-flex; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .form, .form--3 { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; }
  .login__art { min-height: auto; }
  .tl__row { grid-template-columns: 140px 1fr; }
  .dl { grid-template-columns: 110px 1fr; }
  .cal__day { min-height: 70px; }
}
@media (max-width: 520px) {
  .page { padding: 16px; }
  .top { padding: 10px 16px; }
  .seg button { padding: 6px 10px; font-size: 13px; }
  .statline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal { grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 11px; }
  .cal__item { font-size: 10px; padding: 2px 4px; }
  .grid--kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { flex-direction: column; gap: 8px; }
  .kpi .icon-tile { width: 36px; height: 36px; }
  .kpi__value { font-size: 22px; }
}
