/* Onboarding, sign-in and dashboard */
.ob { display: grid; grid-template-columns: minmax(340px, 0.85fr) 1.15fr; min-height: 100vh; }
.ob-side { background: var(--navy); color: #c9d5ea; padding: 40px 56px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ob-side::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(95, 211, 166, .08); pointer-events: none; }
.ob-side .brand { color: #fff; }
.ob-side-body { margin: auto 0; max-width: 440px; }
.ob-side h1 { color: #fff; font-size: clamp(2rem, 3vw, 2.6rem); }
.ob-side-body > p { margin-top: 16px; font-size: 1.05rem; }
.ob-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 10px; }
.ob-steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ob-steps .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: #fff; }
.ob-steps .t { color: #fff; font-weight: 600; }
.ob-steps .m { font-size: .82rem; color: #9fb0cc; }
.ob-steps li.active { background: #fff; border-color: #fff; }
.ob-steps li.active .t { color: var(--ink); }
.ob-steps li.active .m { color: var(--ink-3); }
.ob-steps li.active .n { background: var(--navy); border-color: var(--navy); }
.ob-steps li.done .n { background: #5fd3a6; border-color: #5fd3a6; color: var(--navy); }
.ob-foot-note { margin-top: 18px; font-size: .85rem; color: #9fb0cc; }
.ob-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ob-checks li { display: flex; gap: 10px; align-items: center; color: #fff; }
.ob-checks svg { width: 20px; height: 20px; color: #5fd3a6; }
.ob-side-help { font-size: .9rem; }
.ob-side-help a { color: #fff; font-weight: 600; }
.ob-main { display: flex; flex-direction: column; min-height: 100vh; padding: 28px 56px 24px; }
.ob-top { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.ob-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 8px 0; }
.ob-back svg { width: 18px; height: 18px; }
.ob-back[hidden] { display: none; }
.ob-progress { height: 6px; background: var(--mist); border-radius: 999px; overflow: hidden; max-width: 280px; }
.ob-progress span { display: block; height: 100%; width: 0; background: var(--seal); transition: width .3s; }
.ob-account { font-size: .92rem; color: var(--ink-2); justify-self: end; }
.ob-account a { color: var(--navy); font-weight: 650; }
.ob-form { width: 100%; max-width: 600px; margin: 0 auto; padding: 56px 0 40px; flex: 1; }
.ob-form.auth { max-width: 440px; display: grid; gap: 16px; align-content: center; }
.ob-form.auth form { display: grid; gap: 14px; }
.ob-title { font-size: clamp(1.7rem, 2.6vw, 2.15rem); outline: none; }
.ob-sub { color: var(--ink-2); margin-top: 10px; font-size: 1.02rem; }
.ob-body-inner { margin-top: 28px; display: grid; gap: 16px; }
.ob-actions { margin-top: 28px; display: flex; gap: 12px; }
.ob-actions[hidden] { display: none; }
.ob-actions .btn { min-width: 180px; }
#ob-err { margin-top: 16px; }
.ob-h3 { font-size: 1.15rem; margin-top: 12px; }
.ob-legal { display: flex; gap: 18px; justify-content: center; font-size: .82rem; color: var(--ink-3); }
.ob-legal a { color: var(--ink-3); }
.btn-google { background: #fff; border: 1.5px solid var(--line); color: var(--ink); height: 52px; }
.btn-google:hover { border-color: var(--navy); }
.btn-google svg { width: 20px; height: 20px; }
.btn-google[hidden] { display: none; }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .9rem; }
.or::before, .or::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.or[hidden] { display: none; }
.seg-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-mini button { min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 8px 10px; }
.seg-mini button[aria-pressed="true"] { border-color: var(--navy); background: var(--paper); color: var(--navy); }
.explain { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--paper); }
.explain summary { cursor: pointer; font-weight: 600; }
.explain p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }
.preview { font-size: .92rem; color: var(--ink-2); background: var(--paper); border-radius: 10px; padding: 10px 14px; }
.owner { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0 0 12px; }
.owner legend { font-weight: 700; padding: 0 6px; display: flex; gap: 12px; align-items: center; }
.owners-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .9rem; }
.linkbtn[hidden] { display: none; }
.plan-cards .oc { padding-right: 18px; }
.oc-price { float: right; font-family: var(--font-display); font-weight: 700; }
.oc-price small { font-family: var(--font-body); font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.plan-cards .rec { position: static; justify-self: start; margin-top: 4px; order: -1; }
.oc-list { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .87rem; }
.review { margin: 0; border-top: 1px solid var(--line); }
.review > div { display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.review dt { color: var(--ink-3); font-size: .9rem; }
.review dd { margin: 0; font-weight: 550; }
@media (max-width: 520px) { .review > div { grid-template-columns: 1fr auto; } .review dd { grid-column: 1; } }
.totals { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 1.1rem; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-top: 8px; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: 0 0 20px; }
.next-steps { padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); margin: 8px 0 12px; }
@media (max-width: 960px) {
  .ob { grid-template-columns: 1fr; }
  .ob-side { position: relative; height: auto; padding: 24px 20px; }
  .ob-side-body { margin: 20px 0 0; }
  .ob-side h1 { font-size: 1.6rem; }
  .ob-steps { margin-top: 20px; }
  .ob-side-help, .ob-foot-note { display: none; }
  .ob-main { padding: 20px 16px; min-height: auto; }
  .ob-form { padding: 28px 0; }
  .ob-top { grid-template-columns: auto 1fr; }
  .ob-account { grid-column: 1 / -1; justify-self: start; }
}

/* Dashboard */
.dash-body { background: var(--paper); }
.dash { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.dash[hidden] { display: none; }
.dash-side { background: var(--navy); color: #c9d5ea; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 0; height: 100vh; }
.dash-side .brand { color: #fff; padding: 0 8px; }
.dash-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dash-side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: #c9d5ea; font-weight: 550; }
.dash-side nav a svg { width: 20px; height: 20px; }
.dash-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.dash-side nav a[aria-current="page"] { background: #fff; color: var(--navy); }
.dash-side-foot { margin-top: auto; display: grid; gap: 10px; }
.dash-signout { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #c9d5ea; padding: 10px 12px; cursor: pointer; font-weight: 550; border-radius: 10px; }
.dash-signout:hover { background: rgba(255,255,255,.06); color: #fff; }
.dash-signout svg { width: 20px; height: 20px; }
.dash-wrap { min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 16px; padding: 22px 36px; border-bottom: 1px solid var(--line); background: #fff; }
.dash-top h1 { font-size: 1.5rem; }
.dash-user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--seal-2); color: var(--seal); display: grid; place-items: center; font-weight: 700; }
.dash-main { padding: 32px 36px 64px; display: grid; gap: 20px; outline: none; max-width: 1200px; }
.dash-hello { font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.span-2 { grid-column: 1 / -1; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.panel h2 { font-size: 1.1rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.company { border-top: 1px solid var(--mist); padding: 18px 0 6px; display: grid; gap: 16px; }
.company:first-of-type { border-top: 0; padding-top: 4px; }
.company-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.company h3 { font-size: 1.1rem; }
.status-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.status-steps li { display: grid; gap: 8px; font-size: .8rem; color: var(--ink-3); position: relative; }
.status-steps li::before { content: ''; height: 4px; border-radius: 4px; background: var(--mist); order: 0; }
.status-steps li.done::before { background: var(--seal); }
.status-steps li.now::before { background: linear-gradient(90deg, var(--amber) 50%, var(--mist) 50%); }
.status-steps .sd { display: none; }
.status-steps li.now { color: var(--ink); font-weight: 650; }
.status-steps li.done { color: var(--ink-2); }
@media (max-width: 700px) { .status-steps { grid-auto-flow: row; } .status-steps li { grid-template-columns: 4px 1fr; align-items: center; } .status-steps li::before { height: 18px; width: 4px; } }
.dl-list, .doc-list, .req-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--mist); align-items: center; }
.dl-list li:first-child { border-top: 0; }
.dl-list .cc-date { padding: 4px 0 3px; }
.dl-list .cc-date .d { font-size: 1.15rem; }
@media (max-width: 560px) { .dl-list li { grid-template-columns: 52px 1fr; } .dl-list .tag { grid-column: 2; justify-self: start; } }
.doc-list li, .req-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--mist); }
.doc-list li:first-child, .req-list li:first-child { border-top: 0; }
.doc-list svg { width: 20px; height: 20px; color: var(--ink-3); flex: 0 0 20px; }
.doc-list span:nth-child(2), .req-list li > div { flex: 1; }
.quick { display: grid; gap: 8px; }
.quick-btn { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 600; cursor: pointer; }
.quick-btn:hover { border-color: var(--navy); }
.quick-btn svg { width: 18px; height: 18px; color: var(--seal); }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 40px; display: grid; gap: 12px; justify-items: start; }
.empty h2 { font-size: 1.35rem; }
.dash-loading { position: fixed; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
.dash-loading[hidden] { display: none; }
.dash-burger { display: none; margin: 0; }
.modal { position: fixed; inset: 0; background: rgba(15, 26, 42, .45); display: grid; place-items: center; padding: 16px; z-index: 120; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--r-lg); padding: 26px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h2 { font-size: 1.3rem; }
.modal-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.modal-x svg { width: 18px; height: 18px; }
.req-form { display: grid; gap: 14px; }
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: fixed; inset: 0 30% 0 0; z-index: 110; transform: translateX(-105%); transition: transform .2s; max-width: 300px; }
  .dash.side-open .dash-side { transform: none; }
  .dash-burger { display: inline-flex; }
  .dash-top { padding: 14px 16px; }
  .dash-user span:last-child { display: none; }
  .dash-main { padding: 20px 16px 48px; }
  .dash-grid { grid-template-columns: 1fr; }
  .empty { padding: 24px; }
}
/* Plan cards: keep the price visible; the badge sits on its own line above the name. */
.plan-cards .ocard .oc .rec { position: static; justify-self: start; order: -1; margin: 0 0 2px; }
.plan-cards .oc > strong { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-cards .oc-price { float: none; white-space: nowrap; }

/* Billing, uploads, statements (client dashboard + admin) */
.nav-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--amber); color: #fff; font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; }
.nav-badge[hidden] { display: none; }
.dash-side nav a[aria-current="page"] .nav-badge { background: var(--amber); color: #fff; }
.banner { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.banner svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--navy); }
.banner.ok { background: var(--seal-2); border-color: #bfe0d3; } .banner.ok svg { color: var(--seal); }
.banner.warn { background: var(--amber-2); border-color: #f0d8ad; } .banner.warn svg { color: var(--amber); }
.spin { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; border: 2.5px solid var(--mist); border-top-color: var(--navy); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn svg { width: 18px; height: 18px; }
.btn-xs { height: 32px; padding: 0 10px; font-size: .82rem; border-radius: 8px; }
.due-panel { border-color: #f0d8ad; background: linear-gradient(0deg, #fff, #fff), var(--amber-2); box-shadow: inset 4px 0 0 var(--amber); }
.company-pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--amber-2); border-radius: 12px; padding: 12px 14px; }
.req-list li { align-items: flex-start; }
.req-side { display: grid; gap: 8px; justify-items: end; }
.reply { margin-top: 6px; background: var(--paper); border-radius: 8px; padding: 8px 10px; }
.meter { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--seal); border-radius: 999px; min-width: 2px; }
.meter span.hi { background: var(--danger); }
.upload { display: grid; gap: 14px; margin-bottom: 18px; }
.upload-opts { display: grid; grid-template-columns: 1fr 160px; gap: 12px; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; border: 2px dashed var(--line); border-radius: var(--r-md); padding: 28px 16px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over, .dropzone:focus-within { border-color: var(--navy); background: #eef3fb; }
.dropzone svg { width: 28px; height: 28px; color: var(--navy); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.up-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.up-queue li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--paper); font-size: .9rem; }
.up-queue li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-queue li.good { background: var(--seal-2); } .up-queue li.bad { background: var(--danger-2); color: var(--danger); }
.doc-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.select-sm, .input-sm { min-height: 38px; height: 38px; font-size: .9rem; padding-top: 0; padding-bottom: 0; }
.select-sm { padding-right: 34px; width: auto; }
.table-wrap { overflow-x: auto; position: relative; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num, .table th.num { text-align: right; }
.table td.fname { word-break: break-word; min-width: 180px; }
.table td.actions { white-space: nowrap; text-align: right; }
.table.compact td, .table.compact th { padding: 7px 8px; font-size: .85rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-2); margin-left: 6px; }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; }
.inv-items { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.inv-items td { padding: 9px 0; border-bottom: 1px solid var(--mist); }
.inv-items td.num { text-align: right; white-space: nowrap; padding-left: 16px; }
.inv-items tr.muted td { color: var(--ink-3); font-size: .9rem; }
.inv-items tr.t td { font-weight: 700; border-bottom: 0; font-size: 1.05rem; }
.inv-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.name-form { display: flex; gap: 12px; align-items: flex-end; margin-top: 14px; flex-wrap: wrap; }
.name-form .field { flex: 1; min-width: 200px; }
.modal-card.wide { max-width: 860px; }
.fin { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fin h3 { font-size: 1rem; margin-bottom: 8px; }
.fin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fin-table td { padding: 6px 0; border-bottom: 1px solid var(--mist); }
.fin-table td.num { text-align: right; padding-left: 12px; white-space: nowrap; }
.fin-table tr.h td { font-weight: 700; padding-top: 14px; color: var(--ink-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.fin-table tr.t td { font-weight: 650; }
.fin-table tr.g td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 0; font-size: 1rem; }
.fin-notes { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-3); padding-left: 18px; margin: 0; }
.fin-cta h2 { margin-bottom: 6px; }
.done-card .err:empty { display: none; }
@media (max-width: 760px) { .fin { grid-template-columns: 1fr; } .upload-opts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .table.rows thead { display: none; }
  .req-side { justify-items: start; }
  .req-list li { flex-direction: column; }
}
.dash-main > *, .dash-grid > * { min-width: 0; }
@media (max-width: 560px) {
  .table:not(.rows):not(.compact) { font-size: .85rem; }
  .table:not(.rows) th, .table:not(.rows) td { padding: 8px 6px; }
  .table td.fname { min-width: 120px; }
  .inv-items td { word-break: break-word; }
}
/* Messages */
.flush-list { padding: 0; overflow: hidden; }
.thread-list { list-style: none; margin: 0; padding: 0; }
.thread-list li + li { border-top: 1px solid var(--mist); }
.thread-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; text-decoration: none; color: inherit; }
.thread-row:hover { background: var(--paper); }
.thread-row .t-main { display: grid; gap: 3px; min-width: 0; }
.thread-row .t-main .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-row .t-side { display: grid; gap: 6px; justify-items: end; flex: 0 0 auto; }
.thread-row.unread strong::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: middle; }
.chat { display: grid; gap: 14px; }
.msgs { list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 12px; max-height: 60vh; overflow-y: auto; }
.msg { max-width: 78%; padding: 12px 14px; border-radius: 14px; display: grid; gap: 4px; }
.msg p { margin: 0; white-space: normal; word-break: break-word; }
.msg .who { color: var(--ink-3); }
.msg.me { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.me .who { color: #c9d5ea; }
.msg.them { justify-self: start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.reply-form { display: grid; gap: 10px; border-top: 1px solid var(--mist); padding-top: 14px; }
.reply-form .textarea { min-height: 90px; }
@media (max-width: 560px) { .msg { max-width: 92%; } .thread-row { flex-direction: column; } .thread-row .t-side { justify-items: start; grid-auto-flow: column; } }
/* Portal polish */
.dash-heading { display: grid; gap: 2px; min-width: 0; }
.dash-sub { margin: 0; font-size: .9rem; color: var(--ink-3); }
.dash-sub:empty { display: none; }
.next-card { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 22px 26px; position: relative; overflow: hidden; }
.next-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(95, 211, 166, .1); pointer-events: none; }
.next-card h2 { color: #fff; font-size: 1.3rem; margin: 2px 0 4px; }
.next-card p { margin: 0; color: #c9d5ea; }
.nc-k { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #5fd3a6 !important; }
.nc-side { display: grid; gap: 8px; justify-items: end; position: relative; z-index: 1; }
.nc-days { font-size: .95rem; }
.nc-days strong { font-family: var(--font-display); font-size: 2.2rem; color: #fff; margin-right: 4px; }
.nc-note { font-weight: 600; color: #5fd3a6 !important; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 12px; }
.facts-row dt { font-size: .75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.facts-row dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.dl-side { display: grid; gap: 6px; justify-items: end; }
.pref-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--mist); margin-top: 16px; }
.pref-row p { margin: 2px 0 0; }
.switch { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--seal); }
@media (max-width: 700px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .nc-side { justify-items: start; }
  .dl-list li { grid-template-columns: 52px 1fr; }
  .dl-side { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
  .pref-row { flex-direction: column; align-items: flex-start; }
}
