:root {
  --navy: #061b3f;
  --navy-soft: #102a55;
  --gold: #b27a45;
  --gold-light: #ead8c6;
  --cream: #f6f2ed;
  --paper: #fffdfb;
  --ink: #17243d;
  --muted: #697386;
  --line: #e7e0d9;
  --green: #1f9d68;
  --red: #b94444;
  --shadow: 0 18px 55px rgba(26, 34, 49, .07);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--cream); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 78% 0%, rgba(178, 122, 69, .08), transparent 28rem), var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 26px 18px 18px;
  color: #fff;
  background: var(--navy);
  box-shadow: 10px 0 40px rgba(4, 18, 43, .08);
}
.brand { display: flex; align-items: center; gap: 11px; min-height: 55px; padding: 2px 10px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand img { width: 150px; filter: brightness(0) invert(1); }
.brand span, .mobile-brand span { padding-left: 9px; border-left: 1px solid rgba(255,255,255,.3); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.sidebar-nav { display: grid; gap: 7px; margin-top: 30px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 13px; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 650; transition: .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 3px 0 0 var(--gold); }
.nav-symbol { display: grid; width: 22px; place-items: center; font-size: 20px; line-height: 1; }
.sidebar-profile { display: grid; grid-template-columns: 38px minmax(0,1fr) 34px; align-items: center; gap: 10px; margin-top: auto; padding: 15px 8px 2px; border-top: 1px solid rgba(255,255,255,.12); }
.avatar, .client-avatar { display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #d6b08b, #a76e3b); font-weight: 800; letter-spacing: .03em; }
.avatar { width: 38px; height: 38px; font-size: 12px; }
.profile-copy { min-width: 0; display: grid; }
.profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.profile-copy span { color: rgba(255,255,255,.55); font-size: 11px; }
.logout-form { margin: 0; }
.icon-button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; color: rgba(255,255,255,.65); background: transparent; font-size: 20px; }
.icon-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-header, .mobile-nav { display: none; }
.app-content { min-height: 100vh; margin-left: 248px; }
.page-wrap { width: min(1480px, calc(100% - 64px)); margin: 0 auto; padding: 52px 0 72px; }
.page-wrap.narrow { max-width: 920px; }
.page-wrap.narrow-wide { max-width: 1120px; }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.page-header h1 { margin: 5px 0 7px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.page-header p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.eyebrow { margin: 0; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; color: var(--muted); font-size: 13px; font-weight: 650; }
.back-link:hover { color: var(--navy); }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 10px 25px rgba(6,27,63,.14); }
.button.primary:hover { background: var(--navy-soft); }
.button.secondary { border-color: var(--line); color: var(--navy); background: #fff; }
.button.secondary:hover { border-color: #d2c5b9; box-shadow: 0 8px 22px rgba(28,32,44,.06); }
.button.whatsapp { color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(31,157,104,.18); }
.button.danger { border-color: #f1cac7; color: #a43838; background: #fff1f0; }
.button.compact { min-height: 38px; padding: 0 13px; border-radius: 10px; font-size: 12px; }
.full-button { width: 100%; }

.flash { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 13px 16px; border: 1px solid; border-radius: 13px; font-size: 13px; font-weight: 650; }
.flash > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; font-weight: 900; }
.flash.success { border-color: #bce5d3; color: #17734e; background: #edf9f4; }
.flash.error { border-color: #f1cac7; color: #9c3e3e; background: #fff2f1; }

.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.summary-card { display: flex; min-height: 105px; align-items: center; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 8px 28px rgba(30,34,45,.035); }
.summary-card.featured { border-color: var(--navy); color: #fff; background: var(--navy); }
.summary-card div { display: grid; }
.summary-card strong { font-family: Georgia, serif; font-size: 28px; line-height: 1; }
.summary-card span:not(.summary-icon) { margin-top: 6px; color: var(--muted); font-size: 12px; }
.summary-card.featured span:not(.summary-icon) { color: rgba(255,255,255,.65); }
.summary-icon { display: grid; width: 43px; height: 43px; flex: none; place-items: center; border-radius: 13px; color: #fff; background: rgba(255,255,255,.12); font-size: 22px; }
.summary-icon.sand { color: #9a6233; background: #f4e8dc; }
.summary-icon.green { color: #18734f; background: #ddf4e9; }
.summary-icon.blue { color: #315c91; background: #e6edf8; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .panel > h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.compact-heading { padding: 0 0 17px; }
.filters { display: flex; align-items: center; gap: 9px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.search-field { display: flex; min-width: 220px; flex: 1; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: #8a8f99; background: #fbfaf8; }
.search-field input { width: 100%; height: 38px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.filters select { height: 40px; padding: 0 32px 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font-size: 12px; }
.clear-filter { color: var(--gold); font-size: 12px; font-weight: 750; }
.client-list { display: grid; }
.client-row { display: grid; grid-template-columns: 42px minmax(180px,1.3fr) 128px minmax(120px,.75fr) 22px; min-height: 76px; align-items: center; gap: 13px; padding: 11px 20px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.client-row:last-child { border-bottom: 0; }
.client-row:hover { background: #fcfaf7; }
.client-avatar { width: 42px; height: 42px; font-size: 12px; }
.client-main { min-width: 0; display: grid; gap: 4px; }
.client-main strong { overflow: hidden; color: var(--navy); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.client-main small, .client-owner { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.row-arrow { color: #aaa29a; }
.status-badge { display: inline-flex; width: max-content; min-height: 27px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status-new { color: #345d94; background: #e7eef9; }
.status-contacted { color: #9b6234; background: #f5eadf; }
.status-proposal { color: #6f51a0; background: #eee8f7; }
.status-won { color: #18734f; background: #def4e8; }
.status-lost { color: #9c4a48; background: #f3e6e5; }
.tasks-panel { padding-bottom: 10px; }
.task-list { display: grid; padding: 10px; }
.task-card { display: grid; gap: 6px; padding: 14px; border-radius: 12px; }
.task-card:hover { background: #faf7f3; }
.task-card strong { color: var(--navy); font-size: 13px; }
.task-card small { color: var(--muted); font-size: 11px; }
.task-date { display: flex; align-items: center; gap: 6px; color: var(--gold); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.task-date.overdue { color: var(--red); }
.empty-state { display: grid; min-height: 310px; place-items: center; padding: 38px; text-align: center; }
.empty-state.small { min-height: 260px; }
.empty-state > span { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 12px; border-radius: 16px; color: var(--gold); background: #f1ebe4; font-size: 24px; }
.empty-state h3 { margin: 0 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 19px; }
.empty-state p { max-width: 320px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.empty-inline { padding: 17px 0; color: var(--muted); font-size: 12px; }

.detail-heading { margin-bottom: 24px; }
.form-panel { padding: 24px; }
.form-panel > .panel-heading { margin: -24px -24px 22px; }
.form-intro { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-intro h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 21px; }
.form-intro p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.form-intro-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--gold); background: #f3e8dc; font-size: 23px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: var(--ink); font-size: 12px; font-weight: 700; }
.field small { color: var(--muted); font-size: 11px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #fff; transition: border .18s ease, box-shadow .18s ease; }
.field input, .field select { height: 44px; padding: 0 12px; }
.field textarea { min-height: 108px; padding: 12px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #c49b73; box-shadow: 0 0 0 3px rgba(178,122,69,.12); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-actions.inline-end { padding-top: 18px; }
.quick-form { display: grid; gap: 14px; padding: 20px 24px; }
.compact-form { padding: 18px 0; }

.client-profile-header { align-items: flex-end; }
.title-with-status { display: flex; align-items: center; gap: 14px; }
.client-detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.65fr); align-items: start; gap: 18px; }
.detail-main, .detail-aside { display: grid; gap: 18px; }
.notes-panel { overflow: hidden; }
.timeline { display: grid; padding: 0 24px 24px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline-dot { width: 8px; height: 8px; margin: 5px auto 0; border-radius: 50%; background: var(--gold); }
.timeline-item p { margin: 0 0 7px; font-size: 13px; line-height: 1.55; }
.timeline-item small { color: var(--muted); font-size: 11px; }
.contact-card, .tasks-detail-panel, .history-card { padding: 22px; }
.contact-card h2, .history-card h2 { margin: 0 0 17px; color: var(--navy); font-family: Georgia, serif; font-size: 20px; }
.contact-card > a, .contact-card > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.contact-card > a:hover { color: var(--green); }
.contact-card span:not(.contact-icon) { min-width: 0; display: grid; overflow-wrap: anywhere; }
.contact-card small { margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.contact-icon { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 9px; color: var(--gold); background: #f5ece4; }
.muted-contact { color: var(--muted); }
.checklist { display: grid; }
.check-item { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.check-button { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #cfc5bb; border-radius: 7px; color: #fff; background: #fff; }
.check-item.completed .check-button { border-color: var(--green); background: var(--green); }
.check-item > span { display: grid; gap: 4px; }
.check-item strong { font-size: 12px; }
.check-item small { color: var(--muted); font-size: 10px; }
.check-item.completed strong { color: var(--muted); text-decoration: line-through; }
.history-row { display: grid; grid-template-columns: 10px 1fr; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.history-row > span { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: #cab29a; }
.history-row div { display: grid; gap: 4px; }
.history-row strong { font-size: 11px; line-height: 1.45; }
.history-row small { color: var(--muted); font-size: 10px; }
.danger-zone { padding: 16px 18px; border: 1px solid #edcfcb; border-radius: 14px; color: #923e3b; background: #fff7f6; }
.danger-zone summary { cursor: pointer; font-size: 12px; font-weight: 800; }
.danger-zone p { color: #8d6966; font-size: 11px; }

.team-grid { display: grid; grid-template-columns: minmax(0,1.5fr) 360px; align-items: start; gap: 18px; }
.team-list { display: grid; }
.team-member { display: grid; grid-template-columns: 42px minmax(170px,1fr) auto auto; align-items: center; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.team-member:last-child { border-bottom: 0; }
.team-member-main { min-width: 0; display: grid; gap: 3px; }
.team-member-main strong { color: var(--navy); font-size: 13px; }
.team-member-main span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; font-size: 11px; }
.team-meta { display: grid; justify-items: end; gap: 5px; }
.team-meta small { color: var(--muted); font-size: 10px; }
.role-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #315c91; background: #e7eef9; font-size: 10px; font-weight: 800; }
.role-pill.admin { color: #8c592f; background: #f4e8dc; }
.access-state { min-width: 94px; font-size: 10px; font-weight: 800; }
.access-state.ready { color: var(--green); }
.access-state.pending { color: var(--muted); }
.member-editor { grid-column: 2 / -1; width: 100%; }
.member-editor summary { width: max-content; cursor: pointer; color: var(--gold); font-size: 11px; font-weight: 750; }
.member-editor .quick-form { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px 0 0; }
.member-editor .field.full, .member-editor .full-button { grid-column: 1 / -1; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.invite-panel { padding: 24px; }
.invite-panel h2 { margin: 16px 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; }
.invite-panel > p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.invite-panel .quick-form { padding: 18px 0; }
.info-note { padding: 14px; border-radius: 12px; color: #665d54; background: #f7f1eb; }
.info-note strong { color: var(--navy); font-size: 11px; }
.info-note p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; }
.trash-list { display: grid; }
.trash-row { display: grid; grid-template-columns: 42px minmax(180px,1fr) 150px auto; align-items: center; gap: 15px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.trash-row:last-child { border-bottom: 0; }
.trash-main { display: grid; gap: 4px; }
.trash-main strong { color: var(--navy); font-size: 13px; }
.trash-main small { color: var(--muted); font-size: 11px; }
.trash-actions { display: flex; gap: 8px; }

.auth-page { background: var(--navy); }
.auth-shell { display: grid; grid-template-columns: minmax(360px,1fr) minmax(420px,620px); min-height: 100vh; }
.auth-brand-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 54px clamp(40px,7vw,110px); color: #fff; background: radial-gradient(circle at 20% 15%, rgba(210,171,130,.2), transparent 32rem), var(--navy); }
.auth-brand-panel > img { width: 220px; filter: brightness(0) invert(1); }
.auth-brand-panel h1 { max-width: 720px; margin: 12px 0 18px; font-family: Georgia, serif; font-size: clamp(42px,5vw,72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.auth-brand-panel p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.68); line-height: 1.65; }
.auth-card { align-self: center; width: min(480px,calc(100% - 48px)); margin: 36px auto; padding: 34px; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.auth-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.auth-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 27px; }
.auth-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.auth-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#c49465,#93602f); font-family: Georgia,serif; font-size: 22px; font-weight: 700; }
.auth-form { display: grid; gap: 17px; }
.auth-help { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.setup-shell { min-height: 100vh; padding: 54px 5vw; background: var(--cream); }
.setup-intro { max-width: 820px; margin: 0 auto 28px; }
.setup-intro > img { width: 210px; margin-bottom: 38px; }
.setup-intro h1 { margin: 9px 0 12px; color: var(--navy); font-family: Georgia,serif; font-size: clamp(38px,5vw,62px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.setup-intro > p:not(.eyebrow) { max-width: 680px; color: var(--muted); line-height: 1.6; }
.setup-intro ol { display: flex; gap: 26px; margin: 24px 0 0; padding: 0; list-style-position: inside; color: var(--gold); font-size: 12px; font-weight: 700; }
.setup-card { width: min(820px,100%); margin: 0 auto; }
.setup-form { display: grid; gap: 26px; }
.setup-form fieldset { margin: 0; padding: 0; border: 0; }
.setup-form legend { width: 100%; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 800; }

@media (max-width: 1120px) {
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid, .client-detail-grid, .team-grid { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .danger-zone { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .sidebar { display: none; }
  .mobile-header { position: sticky; top: 0; z-index: 30; display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .mobile-brand { display: flex; align-items: center; gap: 9px; }
  .mobile-brand img { width: 120px; }
  .mobile-brand span { border-color: #d5cabf; color: var(--navy); }
  .mobile-role { padding: 7px 10px; border-radius: 999px; color: var(--gold); background: #f2e9e0; font-size: 10px; font-weight: 800; }
  .app-content { margin-left: 0; }
  .page-wrap { width: min(100% - 28px,680px); padding: 30px 0 94px; }
  .page-header { display: grid; align-items: start; gap: 18px; }
  .page-header h1 { font-size: 40px; }
  .page-header .button { width: 100%; }
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summary-card { min-height: 92px; padding: 14px; }
  .summary-card strong { font-size: 24px; }
  .summary-icon { width: 36px; height: 36px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .search-field { min-width: 0; grid-column: 1 / -1; }
  .filters select { width: 100%; }
  .client-row { grid-template-columns: 40px minmax(0,1fr) 22px; padding: 13px 15px; }
  .client-row .status-badge { grid-column: 2; }
  .client-owner { display: none; }
  .row-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 50; display: flex; justify-content: space-around; padding: 8px max(10px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 30px rgba(20,30,45,.08); }
  .mobile-nav a { display: grid; min-width: 58px; justify-items: center; gap: 3px; color: var(--muted); font-size: 9px; font-weight: 750; }
  .mobile-nav a span { font-size: 20px; line-height: 1; }
  .mobile-nav a.active { color: var(--navy); }
  .form-grid, .detail-aside { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .title-with-status { align-items: flex-start; flex-direction: column; gap: 9px; }
  .team-member { grid-template-columns: 42px minmax(0,1fr); }
  .team-meta, .access-state { grid-column: 2; justify-items: start; }
  .member-editor { grid-column: 1 / -1; }
  .member-editor .quick-form { grid-template-columns: 1fr; }
  .member-editor .field.full, .member-editor .full-button { grid-column: auto; }
  .trash-row { grid-template-columns: 42px minmax(0,1fr); }
  .trash-row > .client-owner, .trash-actions { grid-column: 2; }
  .trash-actions { flex-wrap: wrap; }
  .auth-shell { display: block; min-height: 100vh; padding: 24px 0; background: var(--cream); }
  .auth-brand-panel { display: block; padding: 24px 26px 8px; color: var(--navy); background: transparent; }
  .auth-brand-panel > img { width: 170px; filter: none; }
  .auth-brand-panel > div { margin-top: 42px; }
  .auth-brand-panel h1 { font-size: 38px; }
  .auth-brand-panel p:not(.eyebrow) { color: var(--muted); }
  .auth-card { width: calc(100% - 28px); margin: 20px auto; padding: 25px 20px; box-shadow: 0 18px 50px rgba(20,30,45,.1); }
  .setup-shell { padding: 28px 14px; }
  .setup-intro > img { margin-bottom: 28px; }
  .setup-intro ol { display: grid; gap: 8px; }
}

