/* Tender Radar — implements the design handoff.
   Tokens are lifted verbatim from the spec so a design change is a value
   change here, not a hunt through markup. Elevation is deliberately borderless
   and shadowless: the cream/white contrast carries it. */

:root {
    --cream: #FDF4E6;
    --cream-hover: #FBF3E6;
    --cream-secondary-hover: #F6E9D6;
    --table-head: #F7ECDA;
    --chip-beige: #EFE3D0;
    --field-cream: #FDFAF4;
    --field-disabled: #F3EEE4;

    --navy: #1E3E6F;
    --navy-hover: #16305A;
    --navy-deep-text: #33507C;
    --soft-blue: #A9C9EE;
    --link: #4272B8;

    --text-mid: #5A759B;
    --text-muted: #7C8FAD;
    --text-light: #8C9FBC;
    --text-light-alt: #8398B7;
    --table-head-text: #6C84A6;
    --mono-muted: #93A6C1;
    --placeholder: #9BADC6;

    --success: #2F8F5F;
    --success-dot: #7FD6A8;
    --warning: #B4562F;

    --border-07: rgba(30, 62, 111, .07);
    --border-08: rgba(30, 62, 111, .08);
    --border-10: rgba(30, 62, 111, .10);
    --border-12: rgba(30, 62, 111, .12);
    --border-16: rgba(30, 62, 111, .16);
    --border-18: rgba(30, 62, 111, .18);
    --on-navy-border: rgba(169, 201, 238, .45);
    --scrim: rgba(20, 40, 72, .42);

    --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

/* The browser hides [hidden] from its own stylesheet, which any author rule
   outranks — so a component carrying `display: flex` stays on screen despite
   the attribute. Stated here so toggling `el.hidden` works everywhere. */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--cream);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }

/* ---------- shared primitives ---------- */

.kicker {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-light-alt);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    transition: background .15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary { height: 50px; background: var(--navy); color: var(--cream); font-size: 15px; width: 100%; }
.btn--primary:hover { background: var(--navy-hover); }

.btn--pill {
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--border-18);
    background: transparent;
    color: var(--navy);
    font-size: 14px;
}
.btn--pill:hover { background: var(--cream-secondary-hover); }

.btn--solid {
    height: 46px;
    padding: 0 26px;
    background: var(--navy);
    color: var(--cream);
    font-size: 14px;
}
.btn--solid:hover { background: var(--navy-hover); }

.btn--ghost {
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--on-navy-border);
    background: transparent;
    color: var(--cream);
    font-size: 14px;
    padding: 0 18px;
}
.btn--ghost:hover { background: rgba(169, 201, 238, .16); }

.field { display: flex; flex-direction: column; }
.field__label { font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 7px; }

.input {
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-16);
    background: #fff;
    padding: 0 15px;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    outline: none;
    width: 100%;
}
.input::placeholder { color: var(--placeholder); }
.input:focus { border-color: var(--navy); }
.input--error { border-color: var(--warning); }

.error { font-size: 13px; color: var(--warning); margin-top: 6px; }

.card {
    background: #fff;
    border: 1px solid var(--border-10);
    border-radius: 18px;
    padding: 24px;
}

.mono { font-family: var(--mono); }

/* ---------- auth shell ---------- */

.auth {
    min-height: 100vh;
    display: grid;
    /* 40/60 rather than the handoff's even split, at the client's request. */
    grid-template-columns: 2fr 3fr;
}

.auth__brand {
    background: var(--navy);
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    color: var(--cream);
}

/* Decorative rings, behind the copy. */
.auth__brand::before,
.auth__brand::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.auth__brand::before {
    width: 900px; height: 900px;
    border: 1.5px solid rgba(169, 201, 238, .3);
    left: -300px; top: -200px;
}
.auth__brand::after {
    width: 640px; height: 640px;
    border: 1.5px solid rgba(169, 201, 238, .18);
    right: -320px; bottom: -180px;
}

.auth__brand > * { position: relative; z-index: 1; }

.auth__headline {
    font-size: 40px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--soft-blue);
    margin: 0;
}
.auth__sub {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(253, 244, 230, .72);
    margin: 20px 0 0;
}
.auth__copy { max-width: 430px; }
.auth__footnote { font-size: 13px; color: rgba(169, 201, 238, .6); }

.auth__form-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 40px 60px;
}
.auth__form { width: 100%; max-width: 384px; animation: fadeUp .4s ease; }
.auth__title { font-size: 32px; font-weight: 700; letter-spacing: -.025em; margin: 10px 0 32px; }
.auth__body { font-size: 15px; line-height: 1.6; color: var(--text-mid); margin: 0 0 30px; }
.auth__mobile-logo { display: none; color: var(--navy); margin-bottom: 18px; }

.auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.auth__check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-mid); }
.auth__check input { width: 16px; height: 16px; accent-color: var(--navy); }
.auth__link { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }

.auth__note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-10);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-light-alt);
}
.auth__note a { font-weight: 600; }

.fields { display: flex; flex-direction: column; gap: 18px; }

/* 2FA code cells */
.code {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.code input {
    /* minmax(0,1fr) + width:100% is required: a bare 1fr lets the input's
       intrinsic width blow the grid out. */
    width: 100%;
    min-width: 0;
    height: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-16);
    background: #fff;
    text-align: center;
    font-family: var(--mono);
    font-size: 22px;
    color: var(--navy);
    outline: none;
}
.code input:focus { border-color: var(--navy); }

.hint-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--text-light-alt); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--blue { background: var(--soft-blue); }
.dot--green { background: var(--success-dot); }
.dot--warn { background: var(--warning); }

/* ---------- app shell ---------- */

.shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }

.sidebar {
    background: var(--navy);
    padding: 26px 18px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 20;
    color: var(--cream);
}
.sidebar__logo { margin: 4px 10px 0; color: var(--cream); }
.nav { display: flex; flex-direction: column; gap: 4px; overflow-x: auto; }
.nav__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(169, 201, 238, .8);
    text-decoration: none;
    white-space: nowrap;
}
.nav__item:hover { background: rgba(169, 201, 238, .16); }
.nav__item.is-active { background: rgba(169, 201, 238, .2); color: var(--cream); }
.nav__badge { font-family: var(--mono); font-size: 12px; opacity: .75; }

.sidebar__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.next-run { padding: 16px; border-radius: 14px; background: rgba(169, 201, 238, .12); }
.next-run__label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(169, 201, 238, .8); }
.next-run__value { font-size: 17px; font-weight: 700; color: var(--cream); margin-top: 4px; }
.next-run__sub { font-size: 13px; color: rgba(253, 244, 230, .55); margin-top: 2px; }
.signout {
    font-size: 14px; font-weight: 600; color: rgba(169, 201, 238, .85);
    background: none; border: 0; padding: 11px 14px; border-radius: 10px;
    text-align: left; cursor: pointer; font-family: inherit; width: 100%;
}
.signout:hover { background: rgba(169, 201, 238, .16); }

.main { padding: 30px 40px 60px; width: 100%; min-width: 0; }

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}
.page-head__kicker { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-light); }
.page-head h1 { font-size: 31px; font-weight: 700; letter-spacing: -.028em; margin: 6px 0 0; }
.page-head__actions { display: flex; gap: 12px; flex: none; }

.chip-account {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--border-10);
    border-radius: 999px; padding: 5px 15px 5px 5px;
    text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 600;
    white-space: nowrap;
}
.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--soft-blue); color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 700; flex: none;
}
.avatar--lg { width: 64px; height: 64px; font-size: 21px; }
.avatar--md { width: 36px; height: 36px; }

.stack { display: flex; flex-direction: column; gap: 22px; animation: fadeUp .3s ease; }

/* ---------- dashboard ---------- */

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric { border-radius: 18px; padding: 24px; }
.metric--navy { background: var(--navy); color: var(--cream); min-height: 168px; }
.metric--white { background: #fff; border: 1px solid var(--border-10); }
.metric__label { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 7px; }
.metric--navy .metric__label { color: rgba(169, 201, 238, .85); }
.metric--white .metric__label { color: var(--text-light); }
.metric__value { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-top: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.metric__delta { font-size: 14px; font-weight: 600; color: var(--success); }
.metric__unit { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.metric__sub { font-size: 14px; margin-top: 8px; }
.metric--navy .metric__sub { color: rgba(253, 244, 230, .65); }
.metric--white .metric__sub { color: var(--text-muted); }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.col-stack { display: flex; flex-direction: column; gap: 18px; }

.card--pad { padding: 22px 24px; }
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.card__title { font-size: 16px; font-weight: 700; margin: 0; }
.card__link { font-size: 13.5px; font-weight: 600; color: var(--link); text-decoration: none; }

.run-row { padding: 14px 0; border-bottom: 1px solid var(--border-08); }
.run-row:last-child { border-bottom: 0; }
.run-row__main {
    display: grid;
    grid-template-columns: 116px 1fr 82px 74px;
    gap: 12px;
    align-items: center;
}
/* Indented to the status column, so the sources read as belonging to the run
   above them rather than as rows in their own right. */
.run-row__trouble { display: flex; gap: 8px; margin: 7px 0 0 128px; font-size: 13px; line-height: 1.5; }
.trouble__name { font-weight: 600; color: var(--text-mid); flex: none; }
.trouble__why { color: var(--text-light); min-width: 0; }
.run-row__time { font-family: var(--mono); font-size: 13px; color: var(--text-mid); }
.run-row__status { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.run-row__count { font-size: 14px; text-align: right; }
.run-row__cost { font-family: var(--mono); font-size: 13px; color: var(--text-muted); text-align: right; }

.card--blue { background: var(--soft-blue); border: 0; border-radius: 18px; padding: 22px 24px; }
.closing-row {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 11px 0; border-top: 1px solid rgba(30, 62, 111, .14);
}
.closing-row__title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.closing-row__days { font-family: var(--mono); font-size: 13px; white-space: nowrap; }

.source-row { margin-top: 14px; }
.source-row__label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.source-row__count { font-family: var(--mono); color: var(--text-muted); font-weight: 400; }
.track { height: 6px; background: rgba(30, 62, 111, .09); border-radius: 99px; overflow: hidden; }
.track__fill { height: 100%; background: var(--navy); border-radius: 99px; }

/* ---------- results ---------- */

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; }
.search {
    flex: 1; min-width: 240px; height: 42px; border-radius: 999px;
    border: 1px solid var(--border-16); background: #fff; padding: 0 18px;
    font-size: 14px; font-family: inherit; color: var(--navy); outline: none;
}
.search::placeholder { color: var(--placeholder); }
.search:focus { border-color: var(--navy); }

.filter {
    height: 42px; padding: 0 17px; border-radius: 999px;
    border: 1px solid var(--border-18); background: transparent;
    color: var(--navy); font-size: 13.5px; font-weight: 600;
    font-family: inherit; cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center;
}
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.table-card { background: #fff; border: 1px solid var(--border-10); border-radius: 18px; overflow-x: auto; }
.table-inner { min-width: 1000px; }
.table-inner--people { min-width: 900px; }

.thead {
    display: grid; gap: 16px; padding: 15px 24px;
    background: var(--table-head); border-bottom: 1px solid var(--border-10);
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--table-head-text);
}
.thead a { color: inherit; text-decoration: none; }
.trow {
    display: grid; gap: 16px; padding: 15px 24px; align-items: center;
    border-bottom: 1px solid var(--border-07);
    cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0;
    width: 100%; text-align: left; font-family: inherit; color: inherit;
}
.trow:hover, .trow.is-open { background: var(--cream-hover); }
.grid-results { grid-template-columns: 176px 1fr 128px 96px 84px 118px; }
.grid-people { grid-template-columns: 1.4fr 130px 130px 130px 92px 88px; }

.t-site { font-size: 14px; font-weight: 600; }
.t-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.t-url { font-family: var(--mono); font-size: 12px; color: var(--mono-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.t-date { font-size: 14px; font-weight: 600; }
.t-rel { font-size: 12.5px; color: var(--mono-muted); margin-top: 2px; }
.t-rel--urgent { color: var(--warning); }
.t-found { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }

.pill { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; display: inline-block; }
.pill--new { background: #DCE9F9; color: #215591; }
.pill--shortlisted { background: #D7EFE0; color: #1F6B45; }
.pill--reviewed { background: #EFE3D0; color: #7A5A28; }
.pill--ignored, .pill--off { background: #EAE6DF; color: #83837C; }
.pill--on { background: #D7EFE0; color: #1F6B45; }
.cell-right { text-align: right; }

.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 24px; font-size: 13.5px; color: var(--text-muted); }
.pager { display: flex; gap: 6px; align-items: center; }
.pager a, .pager span { padding: 6px 13px; border-radius: 8px; text-decoration: none; color: var(--text-mid); }
.pager .is-current { background: var(--navy); color: var(--cream); }

/* ---------- drawer ---------- */

.drawer { position: fixed; inset: 0; background: var(--scrim); z-index: 40; display: flex; justify-content: flex-end; }
.drawer__panel {
    width: 460px; max-width: 100%; height: 100%; background: var(--cream);
    padding: 30px 32px; overflow-y: auto; animation: slideIn .22s ease;
    display: flex; flex-direction: column;
}
.drawer__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.drawer__title { font-size: 22px; font-weight: 700; line-height: 1.25; margin: 6px 0 0; }
.drawer__close {
    width: 34px; height: 34px; border-radius: 50%; flex: none;
    border: 1px solid var(--border-18); background: transparent;
    font-size: 18px; color: var(--navy); cursor: pointer; line-height: 1;
}
.drawer__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.stat { background: #fff; border-radius: 14px; padding: 15px; }
.stat__label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-light); }
.stat__value { font-size: 16px; font-weight: 700; margin-top: 6px; }
.stat__sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.drawer__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-top: 18px; }
.drawer__url { font-family: var(--mono); font-size: 13px; color: var(--link); word-break: break-all; display: block; margin-top: 6px; }
.drawer__body { font-size: 14.5px; line-height: 1.6; color: var(--navy-deep-text); text-wrap: pretty; margin-top: 6px; }
.drawer__actions { margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- people / profile ---------- */

.banner {
    background: var(--soft-blue); border-radius: 18px; padding: 22px 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.banner__title { font-size: 16px; font-weight: 700; margin: 0; }
.banner__sub { font-size: 14px; color: #2C4C7C; margin: 4px 0 0; }
.banner__controls { display: flex; gap: 10px; flex-wrap: wrap; }
.banner__input {
    height: 44px; width: 260px; max-width: 100%; border-radius: 999px;
    background: rgba(255, 255, 255, .75); border: 1px solid rgba(30, 62, 111, .2);
    padding: 0 18px; font-size: 14px; font-family: inherit; color: var(--navy); outline: none;
}
.btn--invite { height: 44px; padding: 0 22px; background: var(--navy); color: var(--cream); font-size: 14px; }
.btn--invite:hover { background: var(--navy-hover); }

.member { display: flex; align-items: center; gap: 12px; }
.member__name { font-size: 14.5px; font-weight: 600; }
.member__email { font-size: 13px; color: var(--text-light); }
.member__flag { font-size: 12px; color: var(--warning); font-weight: 600; margin-top: 2px; }

.linkbtn {
    background: none; border: 0; padding: 0; font-family: inherit;
    font-size: 13.5px; font-weight: 600; color: var(--link); cursor: pointer;
}
.linkbtn:hover { text-decoration: underline; }
.linkbtn--danger { color: var(--warning); }

/* Destructive actions are penned in below a rule so they are not adjacent to
   Save — the drawer is narrow and the buttons would otherwise sit in a row. */
.danger-zone { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border-12); }
.danger-zone__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); }
/* Action under its own label rather than opposite it: the labels wrap to
   different heights, so a facing column never lines up with anything. */
.danger-zone__row { padding: 14px 0; }
.danger-zone__label { display: block; font-size: 13.5px; color: var(--text-mid); }
.danger-zone__row form { margin-top: 7px; }
.danger-zone__row .linkbtn { white-space: nowrap; }

.profile-grid { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.card--profile { padding: 26px; }
.avatar-row { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border-08); flex-wrap: wrap; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input--profile { height: 46px; background: var(--field-cream); }
.input--disabled { background: var(--field-disabled); border-color: var(--border-12); color: var(--text-light); }

.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 0; border-top: 1px solid var(--border-08); }
.switch-row__label { font-size: 14.5px; font-weight: 600; }
.switch-row__hint { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.switch { width: 46px; height: 26px; border-radius: 999px; padding: 3px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: flex-start; background: rgba(30, 62, 111, .22); transition: background .18s; flex: none; }
.switch__knob { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.switch.is-on { background: var(--navy); justify-content: flex-end; }

.card--security { background: var(--navy); border: 0; color: var(--cream); }
.card--security .metric__label { color: rgba(169, 201, 238, .85); }
.security__title { font-size: 15px; font-weight: 600; margin: 12px 0 6px; }
.security__body { font-size: 13.5px; line-height: 1.55; color: rgba(253, 244, 230, .62); margin: 0 0 16px; }
.security__actions { display: flex; flex-direction: column; gap: 10px; }


.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.empty { padding: 40px 24px; text-align: center; color: var(--text-muted); font-size: 14px; }

.flash {
    background: #D7EFE0; color: #1F6B45; border-radius: 12px;
    padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 18px;
}

/* ---------- animation ---------- */

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- single breakpoint ---------- */

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; }
    .auth__brand { display: none; }
    .auth__form-col { padding: 22px 18px 48px; justify-content: flex-start; }
    .auth__mobile-logo { display: block; }

    .shell { grid-template-columns: 1fr; }
    .sidebar {
        flex-direction: row; align-items: center; padding: 14px 16px;
        gap: 16px; position: static; height: auto;
    }
    .sidebar__logo { margin: 0; }
    .nav { flex-direction: row; overflow-x: auto; gap: 6px; }
    .sidebar__foot { display: none; }

    .main { padding: 22px 18px 48px; }
    .page-head { flex-direction: column; }
    .page-head h1 { font-size: 25px; }

    .metrics, .two-col, .field-grid, .profile-grid { grid-template-columns: 1fr; }
    .banner { flex-direction: column; align-items: flex-start; }
}
