:root {
  zoom: 1.25;
  --ink: #122033;
  --muted: #6d7787;
  --subtle: #929baa;
  --line: #e5e7eb;
  --line-strong: #d8dce2;
  --surface: #ffffff;
  --canvas: #f4f5f3;
  --sidebar: #06244e;
  --sidebar-soft: #0b3467;
  --navy: #082f68;
  --navy-hover: #052653;
  --orange: #ee9808;
  --orange-soft: #fff5df;
  --green: #2e8b68;
  --green-soft: #eaf7f1;
  --blue: #0b9fa9;
  --blue-soft: #e6f7f8;
  --purple: #7561a9;
  --purple-soft: #f0ecf9;
  --shadow: 0 1px 2px rgba(16, 29, 45, 0.03), 0 10px 28px rgba(16, 29, 45, 0.05);
  --radius: 16px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; overflow: hidden; }

body.app-loading .app-shell, body.app-loading .assistant-panel { visibility: hidden; }
body.auth-required { overflow: auto; }
body.auth-required .app-shell, body.auth-required .assistant-panel { display: none; }
.auth-screen[hidden] { display: none; }
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, 560px) minmax(380px, 1fr); background: #eef3f1; }
.auth-card { width: min(100%, 520px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 58px 68px; background: #fff; box-shadow: 18px 0 60px rgba(10, 31, 51, .08); z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 48px; }
.auth-logo { width: 54px; height: 54px; display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.auth-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.auth-brand > div { display: flex; flex-direction: column; gap: 3px; }
.auth-brand strong { color: var(--navy); font-size: 18px; letter-spacing: -.3px; }
.auth-brand span { color: var(--blue); font-size: 9px; font-weight: 720; letter-spacing: .35px; text-transform: uppercase; }
.auth-copy h1 { margin: 7px 0 0; color: var(--ink); font-size: 28px; letter-spacing: -.8px; }
.auth-copy > p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 28px; padding: 4px; background: #f0f3f4; border-radius: 11px; }
.auth-tabs button { height: 36px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 720; cursor: pointer; }
.auth-tabs button.active { color: var(--navy); background: #fff; box-shadow: 0 2px 8px rgba(17, 40, 60, .08); }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-form[hidden] { display: none; }
.auth-form label { display: grid; gap: 7px; color: #526174; font-size: 9px; font-weight: 700; }
.auth-form input { width: 100%; height: 43px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; font-size: 10.5px; }
.auth-form input:focus { border-color: #7ca3b3; box-shadow: 0 0 0 3px rgba(11, 159, 169, .1); }
.auth-form .button { width: 100%; height: 43px; margin-top: 4px; }
.auth-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-status { min-height: 18px; margin: 13px 0 0; color: var(--green); font-size: 9.5px; line-height: 1.5; }
.auth-status.error { color: #a13b3b; }
.auth-footnote { margin: 16px 0 0; padding-top: 15px; color: var(--subtle); border-top: 1px solid var(--line); font-size: 8.5px; line-height: 1.55; }
.auth-value-panel { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 70px; color: #fff; background: radial-gradient(circle at 80% 18%, rgba(25, 183, 184, .42), transparent 28%), linear-gradient(145deg, #06244e 0%, #09376b 58%, #0d747f 100%); }
.auth-value-panel > div:first-child { max-width: 610px; }
.auth-value-panel > div:first-child span { color: #7ee2df; font-size: 10px; font-weight: 760; letter-spacing: .8px; text-transform: uppercase; }
.auth-value-panel > div:first-child strong { display: block; max-width: 500px; margin-top: 12px; font-size: 37px; line-height: 1.08; letter-spacing: -1.2px; }
.auth-value-panel > div:first-child p { max-width: 540px; margin: 17px 0 0; color: #c4d4e2; font-size: 12px; line-height: 1.7; }
.auth-metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 38px; }
.auth-metric-row span { padding: 16px; color: #b9cada; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; font-size: 9px; }
.auth-metric-row b { display: block; margin-bottom: 4px; color: #fff; font-size: 12px; }

.app-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; transition: padding-right 220ms ease; }
body.assistant-open .app-shell { padding-right: 390px; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: 246px; display: flex; flex-direction: column; z-index: 30; overflow-y: auto; background: var(--sidebar); color: #d7e0ea; padding: 28px 18px 20px; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 7px 36px; color: #fff; text-decoration: none; }
.logo-emblem { overflow: hidden; background-color: #fff; background-image: url("/assets/lodgi-sight-logo.png"); background-repeat: no-repeat; background-position: 50% 24%; background-size: 211% auto; }
.brand-mark { width: 42px; height: 42px; flex: none; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.brand-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.brand strong { font-size: 18px; font-weight: 760; letter-spacing: -.35px; white-space: nowrap; }
.brand small { color: #53c4ca; font-size: 7px; font-weight: 760; letter-spacing: .75px; text-transform: uppercase; white-space: nowrap; }
.primary-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-label { margin: 0 12px 8px; color: #6f8092; font-size: 10px; line-height: 1; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.nav-label.second { margin-top: 28px; }
.nav-item { width: 100%; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #9eacba; cursor: pointer; text-align: left; transition: color 160ms ease, background 160ms ease; }
.nav-item[hidden] { display: none; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-item.active { color: #fff; background: var(--sidebar-soft); box-shadow: inset 3px 0 var(--orange); }
.nav-item svg { width: 19px; height: 19px; }
.nav-item span:nth-child(2) { flex: 1; font-size: 13px; font-weight: 620; }
.nav-badge { flex: none !important; min-width: 20px; height: 20px; display: grid; place-items: center; color: #ffe3ad; background: rgba(238,152,8,.2); border-radius: 999px; font-size: 10px !important; }
.sidebar-bottom { flex: none; margin-top: auto; }
.sync-card { display: grid; grid-template-columns: 32px 1fr 8px; align-items: center; gap: 10px; margin: 0 4px 14px; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.025); }
.sync-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #91a3b5; background: rgba(255,255,255,.06); border-radius: 8px; }
.sync-icon svg { width: 15px; height: 15px; }
.sync-card div:nth-child(2), .profile-card span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sync-card span:not(.status-dot) { overflow: hidden; color: #dce4ec; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.sync-card small { color: #75879a; font-size: 9px; }
.status-dot { width: 7px; height: 7px; background: #50c48b; border: 2px solid rgba(80,196,139,.18); border-radius: 50%; box-shadow: 0 0 0 3px rgba(80,196,139,.12); }
.profile-card { width: 100%; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; padding: 14px 9px 4px; color: #fff; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.07); text-align: left; cursor: pointer; }
.profile-card:hover strong { color: #65d0d3; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #6f8daa, #38536e); border-radius: 50%; font-size: 11px; font-weight: 750; }
.profile-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-card small { color: #75879a; font-size: 9px; }

.main-wrap { grid-column: 2; min-width: 0; }
.topbar { height: 82px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 34px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar h1 { margin: 3px 0 0; font-size: 18px; line-height: 1.1; font-weight: 690; letter-spacing: -0.3px; }
.eyebrow { margin: 0; color: var(--subtle); font-size: 9px; font-weight: 780; letter-spacing: 1.3px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.sync-status-button { height: 34px; display: flex; align-items: center; gap: 7px; margin-right: 5px; padding: 0 8px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 10px; cursor: pointer; }
.sync-status-button:hover { color: var(--ink); background: #f2f4f5; }
.sync-status-button i { width: 6px; height: 6px; display: block; background: var(--green); border-radius: 50%; }
.sync-status-button svg { width: 13px; height: 13px; color: var(--subtle); }
.sync-status-button.syncing svg { animation: spin 900ms linear infinite; }
.sync-status-button.error i { background: #bb5b4b; }
@keyframes spin { to { transform: rotate(360deg); } }
.button { height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 680; cursor: pointer; transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button svg { width: 15px; height: 15px; }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 5px 14px rgba(23,57,93,.14); }
.button.primary:hover { background: var(--navy-hover); }
.button.secondary { color: #35465a; background: #fff; border-color: var(--line-strong); }
.button.secondary:hover { border-color: #bfc6ce; background: #fafbfb; }
.button.danger { color: #a13b3b; background: #fff7f7; border-color: #efcaca; }
.button.danger:hover { color: #872f2f; background: #fff0f0; border-color: #e6adad; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.icon-button:hover { color: var(--ink); background: #f0f2f3; }
.icon-button svg { width: 18px; height: 18px; }
.mobile-menu { display: none; }

.content { width: min(1420px, 100%); margin: 0 auto; padding: 31px 34px 70px; }
.view { display: none; animation: fade-in 180ms ease; }
.view.active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.hero-row, .page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.hero-kicker { margin: 0 0 5px; color: var(--orange); font-size: 10px; font-weight: 780; letter-spacing: .8px; text-transform: uppercase; }
.hero-row h2, .page-intro h2 { margin: 0; font-size: 25px; line-height: 1.2; font-weight: 675; letter-spacing: -.6px; }
.hero-row > div:first-child > p:last-child, .page-intro p { max-width: 700px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.period-control { min-width: 170px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.period-control > span { color: var(--subtle); font-size: 9px; font-weight: 650; }
.period-value { width: 100%; height: 36px; padding: 0 32px 0 11px; color: #455365; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: 11px; cursor: pointer; }
.period-value:hover { border-color: #aab7c4; }
.period-value:focus { border-color: var(--teal); outline: 3px solid rgba(11, 159, 169, .14); }
.period-value:disabled { cursor: wait; opacity: .68; }
.page-actions { display: flex; gap: 9px; }
.calendar-page-actions { align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi-card { min-width: 0; position: relative; padding: 17px 18px 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.kpi-card::after { content: ""; width: 64px; height: 64px; position: absolute; right: -24px; top: -25px; border: 14px solid var(--tint, #eff3f6); border-radius: 50%; opacity: .7; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-label { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .2px; }
.kpi-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--accent, var(--navy)); background: var(--tint, var(--blue-soft)); border-radius: 8px; }
.kpi-icon svg { width: 15px; height: 15px; }
.kpi-value { margin: 7px 0 7px; font-size: 24px; font-weight: 710; line-height: 1; letter-spacing: -.6px; }
.kpi-foot { display: flex; align-items: center; gap: 7px; color: var(--subtle); font-size: 9px; }
.change { display: inline-flex; align-items: center; gap: 2px; color: var(--green); font-weight: 720; }
.change.down { color: #bb5b4b; }
.change svg { width: 10px; height: 10px; stroke-width: 2.2; }
.change.down svg { transform: rotate(90deg); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 16px; margin-bottom: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 22px 0; }
.section-kicker { margin: 0 0 5px; color: var(--subtle); font-size: 8.5px; font-weight: 780; letter-spacing: 1.2px; }
.panel h3 { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 680; letter-spacing: -.15px; }
.legend { display: flex; gap: 14px; color: var(--muted); font-size: 9px; }
.legend span, .calendar-legend span { display: flex; align-items: center; gap: 6px; }
.legend i, .calendar-legend i { width: 8px; height: 8px; display: block; border-radius: 2px; }
.legend-revenue { background: var(--navy); }
.legend-occupancy { background: var(--orange); }
.chart-wrap { height: 244px; padding: 10px 17px 16px; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-wrap text { fill: #53657a; font-size: 11px; font-weight: 400; }
.chart-wrap .grid-line { stroke: #edf0f2; stroke-width: 1; }
.chart-wrap .area { fill: url(#revenueFill); stroke: none; }
.chart-wrap .revenue-line { fill: none; stroke: var(--navy); stroke-width: 2.2; }
.chart-wrap .occupancy-line { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 4 4; }
.chart-wrap .revenue-dot { fill: #fff; stroke: var(--navy); stroke-width: 1.8; }
.chart-wrap .occupancy-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.5; }
.chart-empty { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; color: var(--navy); background: none; border: 0; font-size: 9.5px; font-weight: 680; cursor: pointer; }
.text-button svg { width: 12px; height: 12px; }
.channel-content { padding: 17px 22px 22px; }
.donut-row { display: flex; align-items: center; gap: 26px; margin-bottom: 19px; }
.donut { width: 118px; height: 118px; position: relative; flex: none; border-radius: 50%; }
.donut::after { content: ""; position: absolute; inset: 22px; background: #fff; border-radius: 50%; }
.donut-center { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.donut-center strong { font-size: 17px; line-height: 1; }
.donut-center span { margin-top: 4px; color: var(--subtle); font-size: 7.5px; text-transform: uppercase; letter-spacing: .8px; }
.channel-legend { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.channel-legend div { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.channel-legend i { width: 7px; height: 7px; border-radius: 50%; }
.channel-legend strong { color: #4e5b6a; font-size: 9px; font-weight: 700; }
.direct-note { display: flex; align-items: flex-start; gap: 10px; padding: 11px; color: #56705f; background: var(--green-soft); border-radius: 9px; font-size: 9px; line-height: 1.5; }
.direct-note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

.recommendations-panel { margin-bottom: 16px; }
.analysis-pill { display: inline-flex; align-items: center; gap: 5px; color: #786148; background: #fff6e8; padding: 6px 9px; border-radius: 999px; font-size: 8px; font-weight: 630; }
.analysis-pill svg { width: 12px; height: 12px; color: var(--orange); }
.recommendations-list { padding: 11px 22px 20px; }
.recommendation { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid #edf0f1; }
.recommendation:last-child { border-bottom: 0; padding-bottom: 3px; }
.recommendation-empty { display: flex; align-items: center; gap: 14px; padding: 22px 4px 12px; color: var(--muted); }
.recommendation-empty > svg { width: 34px; height: 34px; flex: none; padding: 8px; color: #2e8b68; background: #eaf7f1; border-radius: 10px; }
.recommendation-empty h4 { margin: 0 0 5px; color: var(--text); font-size: 13px; }
.recommendation-empty p { margin: 0; font-size: 11px; line-height: 1.55; }
.recommendation-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--accent); background: var(--tint); border-radius: 10px; }
.recommendation-icon svg { width: 17px; height: 17px; }
.recommendation-copy { min-width: 0; }
.recommendation-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.recommendation h4 { margin: 0; font-size: 11px; font-weight: 680; }
.priority-pill { padding: 3px 6px; color: #b3522f; background: var(--orange-soft); border-radius: 999px; font-size: 7px; font-weight: 780; text-transform: uppercase; letter-spacing: .4px; }
.priority-pill.medium { color: #566b7c; background: #edf2f5; }
.priority-pill.low { color: #557264; background: #eaf7f1; }
.recommendation p { max-width: 680px; margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
.impact { padding: 7px 9px; color: var(--green); background: var(--green-soft); border-radius: 8px; font-size: 8.5px; font-weight: 700; white-space: nowrap; }
.recommendation .button { height: 32px; padding: 0 11px; font-size: 9px; }

.property-panel { overflow: hidden; }
.property-panel .table-scroll { margin-top: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 11px 18px; color: var(--subtle); background: #fafafa; border-top: 1px solid #edf0f1; border-bottom: 1px solid #edf0f1; font-size: 8px; font-weight: 760; letter-spacing: .55px; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 13px 18px; color: #465465; border-bottom: 1px solid #eef0f1; font-size: 9.5px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfc; }
.property-cell { display: flex; align-items: center; gap: 10px; }
.property-thumb { width: 34px; height: 34px; position: relative; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #8ba9a4, #375e63); border-radius: 8px; font-size: 10px; font-weight: 760; }
.property-thumb.blue { background: linear-gradient(145deg, #92a9c2, #435e7c); }
.property-thumb.warm { background: linear-gradient(145deg, #d3aa82, #8a6142); }
.property-cell div:last-child { display: flex; flex-direction: column; gap: 3px; }
.property-cell strong { color: #29384a; font-size: 10px; }
.property-cell small { color: var(--subtle); font-size: 8px; }
.metric-strong { color: #28384a; font-weight: 700; }
.score-cell { display: flex; align-items: center; gap: 8px; }
.score-bar { width: 46px; height: 4px; overflow: hidden; background: #edf0f1; border-radius: 999px; }
.score-bar i { height: 100%; display: block; background: var(--green); border-radius: inherit; }

.calendar-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.mini-stat { padding: 15px 17px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.mini-stat span { color: var(--muted); font-size: 9px; }
.mini-stat strong { display: block; margin-top: 5px; font-size: 20px; }
.mini-stat small { color: var(--subtle); font-size: 8px; }
.forecast-control-panel { margin-bottom: 14px; padding: 16px 18px; }
.forecast-controls { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(170px, .65fr) minmax(240px, 1.25fr); align-items: end; gap: 14px; }
.forecast-controls label, .forecast-controls > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.forecast-controls span { color: var(--muted); font-size: 10px; font-weight: 660; }
.forecast-controls select { width: 100%; height: 40px; padding: 0 11px; color: #34465a; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; font-size: 11px; cursor: pointer; }
.forecast-controls select:focus { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1); }
.forecast-controls select:disabled { cursor: wait; opacity: .65; }
.forecast-controls > div { min-height: 40px; justify-content: center; padding: 0 12px; background: #f5f7f8; border-radius: 9px; }
.forecast-controls > div strong { overflow: hidden; color: #3d5165; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.forecast-disclaimer { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 14px 16px; color: #6c5638; background: #fff8e9; border: 1px solid #f1dfb7; border-radius: 12px; }
.forecast-disclaimer > svg { width: 21px; height: 21px; flex: none; color: var(--orange); }
.forecast-disclaimer strong { color: #5a4932; font-size: 11px; }
.forecast-disclaimer p { margin: 4px 0 0; font-size: 10px; line-height: 1.55; }
.forecast-results { display: flex; flex-direction: column; gap: 14px; }
.forecast-loading { min-height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; color: var(--muted); text-align: center; }
.forecast-loading > svg { width: 29px; height: 29px; color: var(--blue); }
.forecast-loading > strong { color: #34465a; font-size: 13px; }
.forecast-loading > span { max-width: 440px; font-size: 10px; line-height: 1.5; }
.forecast-loading:not(.forecast-error) > svg { animation: spin 1.1s linear infinite; }
.forecast-error > svg { color: #b85d4d; }
.forecast-error .button { margin-top: 5px; }
.forecast-data-warning { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; color: #725847; background: #fff4eb; border: 1px solid #eed7c7; border-radius: 11px; font-size: 10px; line-height: 1.5; }
.forecast-data-warning svg { width: 18px; height: 18px; flex: none; color: #c37545; }
.forecast-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.forecast-summary-grid article { min-width: 0; padding: 16px 17px; }
.forecast-summary-grid span { color: var(--muted); font-size: 10px; }
.forecast-summary-grid strong { display: block; overflow: hidden; margin-top: 6px; color: var(--navy); font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.forecast-summary-grid small { display: block; margin-top: 5px; color: var(--subtle); font-size: 9px; line-height: 1.4; }
.forecast-main-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .75fr); gap: 14px; }
.forecast-chart-panel { min-width: 0; }
.forecast-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 9px; }
.forecast-legend span { display: flex; align-items: center; gap: 5px; }
.forecast-legend i { width: 9px; height: 9px; border-radius: 2px; }
.forecast-legend .otb { background: var(--navy); }
.forecast-legend .pickup { background: var(--blue); }
.forecast-chart { height: 250px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(42px, 1fr); align-items: end; gap: 9px; overflow-x: auto; padding: 24px 22px 18px; }
.forecast-chart-column { min-width: 42px; height: 100%; display: grid; grid-template-rows: 1fr auto auto; align-items: end; gap: 5px; text-align: center; }
.forecast-bar { width: min(34px, 70%); height: 100%; display: flex; flex-direction: column-reverse; justify-self: center; overflow: hidden; background: #eef1f3; border-radius: 7px 7px 3px 3px; }
.forecast-bar i { width: 100%; display: block; flex: none; min-height: 0; }
.forecast-bar-otb { background: var(--navy); }
.forecast-bar-pickup { background: var(--blue); }
.forecast-chart-column > strong { color: #435367; font-size: 9.5px; }
.forecast-chart-column > small { color: var(--subtle); font-size: 8.5px; }
.forecast-confidence-panel { padding: 19px; }
.forecast-confidence-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.forecast-confidence-top h3 { margin: 0; font-size: 14px; }
.forecast-confidence-score { flex: none; padding: 7px 8px; color: #256b55; background: #eaf7f1; border-radius: 8px; font-size: 11px; }
.forecast-confidence-score.medium { color: #7b5b21; background: #fff5df; }
.forecast-confidence-score.low, .forecast-confidence-score.very-low { color: #8b5144; background: #fff0eb; }
.forecast-confidence-panel > p { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.forecast-basis-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.forecast-basis-list > div { min-width: 0; padding: 9px 10px; background: #f5f7f8; border-radius: 8px; }
.forecast-basis-list span { display: block; color: var(--subtle); font-size: 8px; }
.forecast-basis-list strong { display: block; overflow: hidden; margin-top: 4px; color: #405267; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.forecast-table-panel { overflow: hidden; }
.forecast-as-of { color: var(--muted); font-size: 9.5px; }
.forecast-table-scroll { max-height: 520px; margin-top: 14px; overflow: auto; scrollbar-gutter: stable; }
.forecast-table-scroll thead { position: sticky; top: 0; z-index: 2; }
.forecast-table-scroll td strong, .forecast-table-scroll td small { display: block; }
.forecast-table-scroll td strong { color: #3c5064; font-size: 10px; }
.forecast-table-scroll td small { margin-top: 3px; color: var(--subtle); font-size: 8px; }
.forecast-method { margin: 0 20px 18px; padding-top: 13px; border-top: 1px solid var(--line); }
.forecast-method summary { color: #526579; font-size: 10px; font-weight: 680; cursor: pointer; }
.forecast-method ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.forecast-method li + li { margin-top: 4px; }
.calendar-panel { padding: 18px; overflow: hidden; }
.calendar-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; margin-bottom: 13px; color: var(--muted); font-size: 8.5px; }
.calendar-legend .booked { background: var(--green); }
.calendar-legend .blocked { background: #8793a0; }
.calendar-legend .price { background: #fff; border: 1px solid #a9b2bc; }
.calendar-legend .gap { background: var(--orange-soft); border: 1px dashed var(--orange); }
.calendar-legend .opportunity { background: #b9e8ff; border: 1px dashed #148dcc; }
.calendar-grid { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
.calendar-table { min-width: 900px; display: grid; }
.calendar-row { display: grid; grid-template-columns: 155px repeat(var(--calendar-day-count, 14), minmax(46px, 1fr)); min-height: 50px; }
.calendar-row + .calendar-row { border-top: 1px solid var(--line); }
.calendar-cell { min-width: 0; display: flex; align-items: center; justify-content: center; position: relative; border-left: 1px solid #eef0f2; font-size: 8.5px; }
.calendar-cell:first-child { border-left: 0; justify-content: flex-start; padding: 0 12px; }
.calendar-row > .calendar-cell:first-child { position: sticky; left: 0; z-index: 3; background: #fff; box-shadow: 1px 0 0 #eef0f2; }
.calendar-month-row { min-height: 34px; background: #f4f7f9; }
.calendar-month-row > .calendar-cell:first-child { z-index: 4; color: var(--subtle); background: #f4f7f9; font-size: 7px; font-weight: 750; letter-spacing: .45px; text-transform: uppercase; }
.calendar-month-group { min-width: 0; display: flex; align-items: center; justify-content: flex-start; position: relative; overflow: visible; color: #53657a; background: #f4f7f9; border-left: 1px solid #e0e6eb; font-size: 9px; font-weight: 760; letter-spacing: .2px; }
.calendar-month-group.current { color: var(--navy); background: #eaf2f8; }
.calendar-month-group span { position: sticky; left: 179px; padding: 0 9px; white-space: nowrap; }
.calendar-header { min-height: 48px; background: #fafbfb; }
.calendar-header .calendar-cell { flex-direction: column; gap: 2px; color: var(--subtle); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.calendar-header > .calendar-cell:first-child { z-index: 3; background: #fafbfb; }
.calendar-header .calendar-cell strong { color: #425165; font-size: 11px; }
.calendar-header .calendar-cell small { color: #9aa3ad; font-size: 6px; }
.calendar-header .today { background: var(--blue-soft); }
.calendar-property { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.calendar-property strong { overflow: hidden; color: #2a3b4d; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.calendar-property small { color: var(--subtle); font-size: 7.5px; }
.calendar-cell.stay { color: #fff; background: var(--green); border-color: rgba(255,255,255,.12); }
.calendar-cell.stay-start { border-radius: 6px 0 0 6px; }
.calendar-cell.stay-end { border-radius: 0 6px 6px 0; }
.calendar-cell.blocked-day { color: #fff; background: #8793a0; border-color: rgba(255,255,255,.16); }
.calendar-cell.booked-day { color: #fff; background: var(--green); }
.calendar-cell .calendar-status-label { position: absolute; inset: 0 2px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 2px; font-size: 6.5px; font-weight: 680; line-height: 1.15; text-align: center; text-overflow: ellipsis; }
.calendar-cell .booking-source-icon { width: 16px; height: 16px; position: absolute; top: 4px; right: 4px; z-index: 2; display: grid; place-items: center; color: var(--green); background: rgba(255,255,255,.96); border: 1px solid rgba(18,32,51,.08); border-radius: 5px; box-shadow: 0 1px 2px rgba(18,32,51,.12); }
.calendar-cell .booking-source-icon svg, .calendar-cell .booking-source-icon img { width: 11px; height: 11px; display: block; object-fit: contain; }
.calendar-cell .booking-source-icon svg { stroke-width: 2; }
.calendar-cell .booking-source-icon.unknown-source { color: #5e6977; }
.calendar-cell .nightly-price { color: #637083; font-size: 7px; font-weight: 690; }
.calendar-cell .min-stay { position: absolute; bottom: 3px; color: #667383; font-size: 7px; font-weight: 650; }
.calendar-cell.short-gap { background: var(--orange-soft); outline: 1px dashed rgba(238,152,8,.72); outline-offset: -3px; }
.calendar-cell.price-opportunity { background: #b9e8ff; outline: 2px dashed #148dcc; outline-offset: -3px; }
.calendar-cell .stay-label { width: max(37px, calc(var(--stay-span, 1) * 46px - 28px)); position: absolute; left: 6px; z-index: 1; overflow: hidden; font-size: 7px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.gaps-panel { margin-top: 16px; }
.gap-list { padding: 11px 22px 20px; }
.gap-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 13px 0; border-bottom: 1px solid #edf0f1; }
.gap-item:last-child { border: 0; }
.gap-item strong { display: block; margin-bottom: 4px; font-size: 10px; }
.gap-item span { color: var(--muted); font-size: 9px; }
.gap-nights { color: var(--orange) !important; font-weight: 750; }
.gap-item.price-opportunity .gap-nights { color: #087bb8 !important; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.search-field { width: min(420px, 100%); height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; }
.search-field:focus-within { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1); }
.search-field svg { width: 15px; height: 15px; color: var(--subtle); }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 10px; }
.filter-bar > span { color: var(--muted); font-size: 9px; }
.table-panel { overflow: hidden; }
.table-panel th { padding-top: 13px; padding-bottom: 13px; border-top: 0; }
.reservation-row { cursor: pointer; transition: background 140ms ease, box-shadow 140ms ease; }
.reservation-row:hover, .reservation-row:focus-visible { background: #f5f9fc; outline: none; box-shadow: inset 3px 0 0 var(--blue); }
.reservation-id { color: var(--navy); font-weight: 730; }
.channel-tag, .status-tag { display: inline-flex; align-items: center; padding: 5px 7px; background: #eff3f6; border-radius: 6px; font-size: 8px; font-weight: 680; }
.channel-tag.direct { color: var(--green); background: var(--green-soft); }
.status-tag { color: var(--green); background: var(--green-soft); text-transform: capitalize; }

.property-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.property-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.property-visual { height: 126px; position: relative; display: flex; align-items: flex-end; padding: 15px; color: #fff; overflow: hidden; background: linear-gradient(135deg, #1d4559, #82a29a); }
.property-card:nth-child(2) .property-visual { background: linear-gradient(135deg, #31455f, #8dabc5); }
.property-card:nth-child(3) .property-visual { background: linear-gradient(135deg, #70543e, #cfad88); }
.property-cover-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.property-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,19,40,.08) 20%, rgba(3,19,40,.82) 100%); }
.property-visual div { position: relative; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.32); }
.property-rate-pill { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 8px; color: #fff; background: rgba(5,24,43,.72); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; backdrop-filter: blur(8px); font-size: 7.5px; font-weight: 720; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.property-visual h3 { margin: 0; font-size: 16px; }
.property-visual p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 9px; }
.property-card-body { padding: 17px; }
.property-card-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 17px; }
.property-card-metrics div { padding-right: 8px; border-right: 1px solid var(--line); }
.property-card-metrics div:last-child { border-right: 0; }
.property-card-metrics span { display: block; color: var(--subtle); font-size: 7.5px; text-transform: uppercase; }
.property-card-metrics strong { display: block; margin-top: 5px; font-size: 13px; }
.health-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 8.5px; }
.health-row .score-bar { width: 90px; }
.property-card .button { width: 100%; margin-top: 16px; }

.website-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.audit-form-panel form { padding: 24px 22px 17px; }
.audit-form-panel form > label, .credential-fields > label { display: block; margin-bottom: 7px; color: #445267; font-size: 9px; font-weight: 680; }
.url-field { display: flex; align-items: center; gap: 9px; padding-left: 12px; border: 1px solid var(--line-strong); border-radius: 10px; }
.url-field:focus-within { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1); }
.url-field > svg { width: 16px; color: var(--subtle); }
.url-field input { min-width: 0; flex: 1; height: 44px; border: 0; outline: none; color: var(--ink); font-size: 10px; }
.url-field .button { height: 36px; margin-right: 4px; }
.field-help { margin: 8px 0 0; color: var(--subtle); font-size: 8px; }
.audit-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 16px 22px 22px; border-top: 1px solid var(--line); }
.audit-preview > span { grid-column: 1 / -1; color: var(--subtle); font-size: 8px; font-weight: 730; text-transform: uppercase; letter-spacing: .7px; }
.audit-preview div { display: flex; align-items: baseline; gap: 8px; padding: 11px; color: #4c5a6c; background: #f7f8f8; border-radius: 9px; font-size: 8.5px; line-height: 1.35; }
.audit-preview i { color: var(--orange); font-size: 8px; font-style: normal; font-weight: 760; }
.audit-results-panel { min-height: 318px; padding: 22px; }
.audit-empty { height: 100%; min-height: 270px; display: grid; place-items: center; text-align: center; }
.audit-empty svg { width: 36px; height: 36px; margin-bottom: 12px; color: #b8c0c8; }
.audit-empty h3 { font-size: 13px; }
.audit-empty p { max-width: 280px; margin: 7px auto 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.audit-score-row { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.audit-score { width: 82px; height: 82px; display: grid; place-items: center; flex: none; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--score) * 1%), #edf0f1 0); position: relative; }
.audit-score::after { content: ""; position: absolute; inset: 9px; background: white; border-radius: 50%; }
.audit-score strong { z-index: 1; margin-top: 8px; font-size: 20px; }
.audit-score > small { z-index: 1; align-self: start; margin-top: -18px; color: var(--subtle); font-size: 7px; }
.audit-score-copy h3 { font-size: 14px; }
.audit-score-copy p { margin: 6px 0 0; color: var(--muted); font-size: 8.5px; line-height: 1.5; }
.audit-coverage { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.audit-coverage span { padding: 4px 7px; color: #4f6174; background: #f0f3f5; border-radius: 999px; font-size: 7.5px; font-weight: 680; }
.audit-connected-note { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 12px 14px; color: #315f65; background: var(--blue-soft); border: 1px solid #ccebed; border-radius: 10px; }
.audit-connected-note > svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.audit-connected-note strong { display: block; font-size: 9px; }
.audit-connected-note p { margin: 3px 0 0; font-size: 8px; line-height: 1.5; }
.audit-categories { display: flex; flex-direction: column; gap: 9px; }
.audit-category { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.audit-category summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; padding: 10px 13px; cursor: pointer; list-style: none; }
.audit-category summary::-webkit-details-marker { display: none; }
.audit-category[open] summary { border-bottom: 1px solid var(--line); background: #fafbfb; }
.audit-priority { width: 27px; height: 27px; display: grid; place-items: center; color: #a96b05; background: var(--orange-soft); border-radius: 8px; font-size: 8px; font-weight: 780; }
.audit-category summary > span:nth-child(2) { min-width: 0; }
.audit-category summary strong { display: block; font-size: 10px; }
.audit-category summary small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 450; line-height: 1.4; }
.audit-category-meta { display: flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 7.5px; white-space: nowrap; }
.audit-category-score { min-width: 51px; padding: 5px 7px; color: var(--navy); background: #edf3f8; border-radius: 999px; font-size: 8px; font-weight: 760; text-align: center; }
.audit-category-score.connected { color: #44656a; background: var(--blue-soft); }
.audit-category-checks { display: flex; flex-direction: column; }
.audit-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 17px; }
.audit-check { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 13px; border-bottom: 1px solid #eef0f1; }
.audit-check:last-child { border-bottom: 0; }
.audit-check > i { width: 23px; height: 23px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 6px; }
.audit-check.fail > i { color: #b64e3d; background: #fff0ec; }
.audit-check.warning > i { color: #b77709; background: var(--orange-soft); }
.audit-check.manual > i { color: #16858e; background: var(--blue-soft); }
.audit-check svg { width: 12px; height: 12px; }
.audit-check-copy { min-width: 0; }
.audit-check-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.audit-check-copy strong { color: #394a5d; font-size: 9px; }
.audit-check-copy p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.audit-check-copy p b { color: #4c5c6d; }
.audit-check-copy em { padding: 3px 6px; color: #257b82; background: var(--blue-soft); border-radius: 999px; font-size: 6.5px; font-style: normal; font-weight: 720; text-transform: uppercase; }
.audit-status { padding: 3px 5px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 6.5px; font-weight: 750; text-transform: uppercase; }
.audit-check.fail .audit-status { color: #b64e3d; background: #fff0ec; }
.audit-check.warning .audit-status { color: #a96b05; background: var(--orange-soft); }
.audit-check.manual .audit-status { color: #16858e; background: var(--blue-soft); }
.audit-check > small { margin-top: 5px; color: var(--subtle); font-size: 7px; text-transform: uppercase; white-space: nowrap; }
.audit-resource-link { grid-column: 2; width: max-content; color: var(--blue); font-size: 7.5px; font-weight: 680; text-decoration: none; }
.audit-page-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.audit-page-links a { max-width: 180px; overflow: hidden; color: var(--blue); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.audit-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.audit-sources span { color: var(--subtle); font-size: 7px; font-weight: 720; text-transform: uppercase; }
.audit-sources a { color: #567086; font-size: 7.5px; text-decoration: none; }
.audit-sources a:hover { color: var(--blue); text-decoration: underline; }

.integration-grid { display: grid; grid-template-columns: minmax(0, 420px); gap: 15px; }
.integration-card { display: flex; flex-direction: column; min-height: 220px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.integration-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.provider-logo { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 10px; font-size: 16px; font-weight: 780; }
.provider-logo.lodgify { background: #f15b5b; }
.connection-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: var(--green); background: var(--green-soft); border-radius: 999px; font-size: 7.5px; font-weight: 700; }
.connection-status.disconnected { color: var(--muted); background: #eff1f2; }
.connection-status i { width: 5px; height: 5px; display: block; background: currentColor; border-radius: 50%; }
.integration-card h3 { margin: 15px 0 6px; font-size: 13px; }
.integration-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.integration-sync-detail { display: block; margin-top: 10px; color: var(--green); font-size: 8px; font-weight: 680; }
.integration-sync-detail.deployment-note { color: #9a6710; }
.integration-card .button { margin-top: auto; }
.integration-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; }
.integration-card .integration-actions .button { margin-top: 0; }
.security-panel { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; padding: 20px; }
.security-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: none; color: var(--green); background: var(--green-soft); border-radius: 10px; }
.security-icon svg { width: 18px; height: 18px; }
.security-panel p { margin: 6px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.65; }

.settings-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 16px; }
.settings-nav { position: sticky; top: 103px; overflow: hidden; padding: 7px; }
.settings-tab { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; align-items: center; gap: 10px; padding: 11px 10px; color: #536173; background: transparent; border: 0; border-radius: 10px; text-align: left; cursor: pointer; }
.settings-tab:hover { background: #f6f8f8; }
.settings-tab.active { color: var(--navy); background: #eef5f7; }
.settings-tab > span:nth-child(2) { min-width: 0; }
.settings-tab strong, .settings-tab small { display: block; }
.settings-tab strong { font-size: 10.5px; }
.settings-tab small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.settings-tab > svg { width: 13px; height: 13px; color: #a0a9b4; }
.settings-tab-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #527084; background: #fff; border: 1px solid #e0e7e9; border-radius: 9px; }
.settings-tab.active .settings-tab-icon { color: #0c8c94; border-color: #c6e6e8; }
.settings-tab-icon svg { width: 16px; height: 16px; }
.settings-pane { display: none; }
.settings-pane.active { display: grid; gap: 16px; animation: fade-in 180ms ease; }
.settings-card { overflow: hidden; }
.settings-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 21px 22px 18px; border-bottom: 1px solid var(--line); }
.settings-card-heading h3 { font-size: 15px; }
.settings-card-heading p:last-child { max-width: 620px; margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.settings-profile-avatar, .settings-heading-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(145deg, #0b376d, #149ca2); border-radius: 13px; font-size: 13px; font-weight: 760; box-shadow: 0 7px 18px rgba(8,47,104,.15); }
.settings-heading-icon { color: #167c82; background: var(--blue-soft); box-shadow: none; }
.settings-heading-icon svg { width: 19px; height: 19px; }
.settings-form { padding: 20px 22px 22px; }
.settings-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.settings-form-grid label { min-width: 0; }
.settings-form-grid label > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #46576a; font-size: 10px; font-weight: 680; }
.settings-form-grid label > span small { color: var(--subtle); font-size: 8px; font-weight: 550; }
.settings-form-grid input { width: 100%; height: 41px; padding: 0 12px; color: #314257; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; font-size: 10.5px; }
.settings-form-grid input:focus { border-color: #77abb0; box-shadow: 0 0 0 3px rgba(11,159,169,.1); }
.password-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.settings-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.settings-form-actions #account-signout { margin-right: auto; }
.settings-form-actions #account-signout[hidden] { display: none; }
.settings-form-actions > span { color: var(--green); font-size: 9px; font-weight: 680; }
.settings-form-actions > span.error { color: #a13b3b; }
.billing-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 24px; color: #fff; background: linear-gradient(125deg, #062b5e 0%, #0a4773 58%, #138e96 100%); border: 0; }
.billing-plan-status { display: inline-flex; margin-bottom: 18px; padding: 5px 8px; color: #063458; background: #80e1df; border-radius: 999px; font-size: 8px; font-weight: 760; letter-spacing: .45px; text-transform: uppercase; }
.billing-hero .section-kicker { color: #8ec9d1; }
.billing-hero h3 { font-size: 19px; }
.billing-hero p:last-child { max-width: 540px; margin: 7px 0 0; color: #c6dce5; font-size: 10px; line-height: 1.55; }
.billing-price { flex: none; padding-top: 24px; text-align: right; }
.billing-price strong, .billing-price span { display: block; }
.billing-price strong { font-size: 30px; line-height: 1; }
.billing-price span { margin-top: 5px; color: #add1da; font-size: 9px; }
.billing-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.billing-detail-card { padding: 17px 18px; }
.billing-detail-card span { color: var(--subtle); font-size: 8.5px; font-weight: 720; letter-spacing: .35px; text-transform: uppercase; }
.billing-detail-card strong { display: block; margin-top: 8px; color: #2e4055; font-size: 13px; }
.billing-detail-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 8.5px; line-height: 1.45; }
.usage-card .settings-card-heading { border-bottom: 0; padding-bottom: 10px; }
.usage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 22px 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 11px; }
.usage-grid > div { min-width: 0; padding: 17px; background: #fafbfb; }
.usage-grid span, .usage-grid strong, .usage-grid small { display: block; }
.usage-grid span { color: var(--muted); font-size: 9px; }
.usage-grid strong { margin-top: 7px; color: var(--navy); font-size: 22px; }
.usage-grid small { margin-top: 5px; color: var(--subtle); font-size: 8px; line-height: 1.4; }
.billing-management { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 22px; }
.billing-management h3 { font-size: 13px; }
.billing-management p { max-width: 640px; margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.billing-management > div:last-child { display: flex; flex: none; gap: 8px; }
.billing-management .button:disabled { cursor: not-allowed; }

.assistant-panel { width: 390px; position: fixed; inset: 0 0 0 auto; z-index: 40; display: flex; flex-direction: column; background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 34px rgba(17,30,45,.06); transform: translateX(100%); transition: transform 220ms ease; }
body.assistant-open .assistant-panel { transform: translateX(0); }
.assistant-panel > header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; border-bottom: 1px solid var(--line); }
.assistant-heading { display: flex; align-items: center; gap: 11px; }
.assistant-avatar { width: 35px; height: 35px; flex: none; border: 1px solid #e2e8ee; border-radius: 10px; box-shadow: 0 5px 14px rgba(23,57,93,.17); }
.assistant-heading > div { display: flex; flex-direction: column; gap: 4px; }
.assistant-heading strong { font-size: 12px; }
.assistant-heading div > span { display: flex; align-items: center; gap: 5px; color: var(--subtle); font-size: 8px; }
.assistant-heading i { width: 5px; height: 5px; display: block; background: #50c48b; border-radius: 50%; }
.assistant-context { min-height: 37px; display: flex; align-items: center; gap: 7px; padding: 0 22px; color: #755f49; background: #fff8ed; border-bottom: 1px solid #f4eadb; font-size: 8px; }
.assistant-context svg { width: 12px; height: 12px; color: var(--orange); }
.messages { flex: 1; overflow-y: auto; padding: 22px 18px 14px; scroll-behavior: smooth; }
.message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.message.user-message { justify-content: flex-end; }
.mini-avatar { width: 25px; height: 25px; flex: none; border: 1px solid #e2e8ee; border-radius: 8px; }
.message-bubble { max-width: 295px; padding: 11px 12px; color: #465466; background: #f4f6f7; border-radius: 4px 12px 12px 12px; font-size: 9.5px; line-height: 1.6; }
.user-message .message-bubble { color: #fff; background: var(--navy); border-radius: 12px 4px 12px 12px; }
.message-bubble p { margin: 0 0 8px; }
.message-bubble p:last-child { margin: 0; }
.message-bubble strong { color: #26384b; }
.message-bubble > p a, .message-bubble li a { color: #087e88; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.user-message strong { color: #fff; }
.message-bubble ul, .message-bubble ol { margin: 5px 0 0; padding-left: 17px; }
.message-bubble li { margin: 3px 0; }
.message-sources { display: flex; flex-direction: column; gap: 6px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #dfe5e8; }
.message-sources > span { display: flex; align-items: center; gap: 5px; color: #66808a; font-size: 7px; font-weight: 750; letter-spacing: .45px; text-transform: uppercase; }
.message-sources > span svg { width: 11px; height: 11px; color: var(--blue); }
.message-sources > a { display: grid; grid-template-columns: minmax(0, 1fr) 12px; align-items: center; gap: 6px; padding: 7px 8px; color: #315267; background: #fff; border: 1px solid #dce4e7; border-radius: 7px; text-decoration: none; }
.message-sources > a:hover { color: var(--blue); border-color: #a9d5d9; }
.message-sources > a strong { overflow: hidden; font-size: 7.5px; line-height: 1.35; text-overflow: ellipsis; }
.message-sources > a svg { width: 10px; height: 10px; }
.message-bubble .local-mode { margin-top: 8px; color: var(--subtle); font-size: 7px; }
.message.loading .message-bubble { display: flex; gap: 4px; padding: 12px 14px; }
.message.loading i { width: 5px; height: 5px; background: #9aa5b1; border-radius: 50%; animation: pulse 1s infinite ease-in-out; }
.message.loading i:nth-child(2) { animation-delay: .15s; }
.message.loading i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.assistant-form { position: relative; margin: 0 18px 18px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 8px 20px rgba(17,30,45,.07); }
.assistant-form:focus-within { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1), 0 8px 20px rgba(17,30,45,.07); }
.assistant-form textarea { width: 100%; min-height: 76px; max-height: 140px; display: block; resize: none; padding: 12px 48px 25px 12px; color: var(--ink); background: transparent; border: 0; outline: none; font-size: 10px; line-height: 1.5; }
.assistant-form > button { width: 30px; height: 30px; position: absolute; right: 8px; top: 8px; display: grid; place-items: center; color: #fff; background: var(--navy); border: 0; border-radius: 8px; cursor: pointer; }
.assistant-form > button svg { width: 14px; height: 14px; }
.assistant-form small { position: absolute; left: 12px; bottom: 7px; color: #a1a9b2; font-size: 6.5px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(10,20,32,.58); backdrop-filter: blur(4px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(600px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 17px; box-shadow: 0 26px 70px rgba(6,17,29,.25); animation: modal-in 180ms ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 24px 19px; border-bottom: 1px solid var(--line); }
.modal h2 { margin: 0; font-size: 19px; letter-spacing: -.35px; }
.modal header p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.modal form { padding: 20px 24px 24px; }
.modal-open { overflow: hidden; }
.accounting-control-panel { padding: 18px 20px; margin-bottom: 16px; }
.accounting-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(150px, .65fr) minmax(150px, .65fr) auto; align-items: end; gap: 13px; }
.accounting-form label { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.accounting-form label > span { color: #4c5b6d; font-size: 10px; font-weight: 680; }
.accounting-form select, .accounting-form input { width: 100%; height: 40px; padding: 0 11px; color: #34465a; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; font-size: 11px; }
.accounting-form select:focus, .accounting-form input:focus { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1); }
.accounting-actions { display: flex; align-items: center; gap: 8px; }
.accounting-channel-filter { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid var(--line); }
.accounting-channel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.accounting-channel-heading > div > span { display: block; color: #4c5b6d; font-size: 10px; font-weight: 680; }
.accounting-channel-heading small, .accounting-channel-filter > small { display: block; margin-top: 4px; color: var(--subtle); font-size: 8.5px; line-height: 1.45; }
.accounting-channel-heading button { padding: 3px 0; color: var(--blue); background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 9px; font-weight: 720; }
.accounting-channel-heading button:disabled { color: var(--subtle); cursor: default; }
.accounting-channel-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.accounting-channel-options label { min-height: 32px; display: inline-flex; align-items: center; flex-direction: row; gap: 7px; padding: 6px 10px; color: #647487; background: #f2f5f6; border: 1px solid #e6eaec; border-radius: 999px; cursor: pointer; }
.accounting-channel-options input { width: 14px; height: 14px; flex: none; margin: 0; accent-color: var(--blue); cursor: pointer; }
.accounting-channel-options label span { min-height: 0; display: inline; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 0; font-size: 9.5px; font-weight: 680; transition: 150ms ease; }
.accounting-channel-options input:checked + span { color: #176a70; }
.accounting-channel-options label:focus-within { outline: 2px solid #7aabb0; outline-offset: 2px; }
.accounting-channel-empty { color: var(--muted); font-size: 9.5px; }
.accounting-filter-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.accounting-report-results { display: flex; flex-direction: column; gap: 14px; }
.accounting-empty, .accounting-loading { min-height: 145px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 24px; color: var(--muted); font-size: 11px; text-align: center; }
.accounting-loading svg, .accounting-error svg { width: 28px; height: 28px; color: var(--blue); }
.accounting-loading strong, .accounting-error strong { color: #34465a; font-size: 13px; }
.accounting-loading span, .accounting-error span { max-width: 520px; line-height: 1.55; }
.accounting-error svg { color: #b85d4d; }
.accounting-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.accounting-summary-grid article { min-width: 0; padding: 16px 17px; }
.accounting-summary-grid span { color: var(--muted); font-size: 10px; }
.accounting-summary-grid strong { display: block; overflow: hidden; margin-top: 6px; color: var(--navy); font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.accounting-summary-grid small { display: block; margin-top: 5px; color: var(--subtle); font-size: 9px; }
.accounting-currency-panel { padding: 18px 20px; }
.accounting-currency-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.accounting-currency-heading > strong { color: var(--navy); font-size: 20px; }
.accounting-category-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.accounting-category-grid > div { min-width: 0; padding: 11px; background: #f5f7f8; border-radius: 9px; }
.accounting-category-grid > div.needs-detail { background: #fff8eb; outline: 1px solid #f2dfbb; }
.accounting-category-grid span { display: block; color: var(--muted); font-size: 9px; }
.accounting-category-grid strong { display: block; overflow: hidden; margin-top: 5px; color: #36485b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.accounting-payout-adjustment { margin-top: 16px; padding: 16px; background: linear-gradient(135deg, #f0fbfa, #f8fbfc); border: 1px solid #cfe9e6; border-radius: 11px; }
.accounting-payout-top { display: grid; grid-template-columns: 1fr; gap: 13px; }
.accounting-payout-copy h4 { margin: 4px 0 0; color: #33485a; font-size: 12px; }
.accounting-payout-copy small { display: block; max-width: 620px; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.accounting-deduction-builder { min-width: 0; display: grid; grid-template-columns: minmax(135px, .9fr) minmax(185px, 1.35fr) minmax(90px, .62fr) auto; align-items: end; gap: 8px; }
.accounting-deduction-builder label { min-width: 0; }
.accounting-deduction-builder label > span { display: block; margin-bottom: 6px; color: #516173; font-size: 9px; font-weight: 680; }
.accounting-deduction-builder select { width: 100%; height: 37px; padding: 0 9px; color: #34465a; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 10px; }
.accounting-deduction-builder select:focus { border-color: #76a7aa; box-shadow: 0 0 0 3px rgba(20,153,159,.09); }
.accounting-deduction-builder .button { height: 37px; padding: 0 13px; }
.accounting-deduction-builder > small { grid-column: 1 / -1; min-height: 0; color: #a04c42; font-size: 8.5px; line-height: 1.4; }
.accounting-number-field { height: 37px; display: flex; align-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; }
.accounting-number-field:focus-within { border-color: #76a7aa; box-shadow: 0 0 0 3px rgba(20,153,159,.09); }
.accounting-number-field input { width: 100%; min-width: 0; height: 100%; padding: 0 9px; color: #34465a; background: transparent; border: 0; outline: 0; font-size: 11px; }
.accounting-number-field b { flex: none; padding: 0 9px; color: #637486; font-size: 9px; font-weight: 700; }
.accounting-applied-deductions { margin-top: 13px; overflow: hidden; background: rgba(255,255,255,.58); border: 1px solid #dcebea; border-radius: 9px; }
.accounting-applied-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 11px; color: #536676; border-bottom: 1px solid #dcebea; font-size: 9px; font-weight: 700; }
.accounting-applied-heading strong { color: var(--navy); font-size: 11px; }
.accounting-deduction-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 13px; padding: 9px 11px; border-bottom: 1px solid #e5efee; }
.accounting-deduction-row:last-child { border-bottom: 0; }
.accounting-deduction-row > div { min-width: 0; }
.accounting-deduction-row strong { display: block; color: #3b5261; font-size: 9.5px; }
.accounting-deduction-row span { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.accounting-deduction-row > b { color: #984f43; font-size: 10px; }
.accounting-deduction-remove { padding: 3px 0; color: #a05246; background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 8.5px; font-weight: 700; }
.accounting-deduction-empty { padding: 12px; color: var(--muted); font-size: 9px; text-align: center; }
.accounting-fixed-adjustments { margin-top: 13px; padding: 12px; background: rgba(255,255,255,.58); border: 1px solid #dcebea; border-radius: 9px; }
.accounting-fixed-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.accounting-fixed-copy span { display: block; color: #536676; font-size: 9px; font-weight: 700; }
.accounting-fixed-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 8.5px; line-height: 1.4; }
.accounting-fixed-copy > strong { color: var(--navy); font-size: 11px; }
.accounting-fixed-builder { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(160px, .58fr) auto; align-items: end; gap: 8px; margin-top: 10px; }
.accounting-fixed-builder label { min-width: 0; }
.accounting-fixed-builder label > span { display: block; margin-bottom: 6px; color: #516173; font-size: 9px; font-weight: 680; }
.accounting-fixed-builder label > input { width: 100%; height: 37px; padding: 0 10px; color: #34465a; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; outline: 0; font-size: 10px; }
.accounting-fixed-builder label > input:focus { border-color: #76a7aa; box-shadow: 0 0 0 3px rgba(20,153,159,.09); }
.accounting-fixed-builder .button { height: 37px; padding: 0 13px; }
.accounting-fixed-builder > small { grid-column: 1 / -1; color: #a04c42; font-size: 8.5px; line-height: 1.4; }
.accounting-fixed-list { margin-top: 10px; overflow: hidden; background: rgba(255,255,255,.7); border: 1px solid #e3eceb; border-radius: 8px; }
.accounting-fixed-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 13px; padding: 9px 11px; border-bottom: 1px solid #e5efee; }
.accounting-fixed-row:last-child { border-bottom: 0; }
.accounting-fixed-row > div { min-width: 0; }
.accounting-fixed-row strong { display: block; overflow: hidden; color: #3b5261; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.accounting-fixed-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 8.5px; }
.accounting-fixed-row > b { font-size: 10px; }
.accounting-fixed-row > b.negative { color: #984f43; }
.accounting-fixed-row > b.positive { color: #20734f; }
.accounting-fixed-remove { padding: 3px 0; color: #a05246; background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 8.5px; font-weight: 700; }
.accounting-payout-result { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding-top: 12px; border-top: 1px solid #cfe2e1; }
.accounting-payout-result > span, .accounting-payout-result > strong { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; color: var(--muted); background: rgba(255,255,255,.62); border-radius: 8px; font-size: 9px; }
.accounting-payout-result b { color: #3b5062; font-size: 10px; }
.accounting-payout-result > strong { color: #28485a; background: #fff; box-shadow: 0 3px 10px rgba(25,81,86,.05); font-size: 10px; }
.accounting-payout-result > strong b { color: var(--navy); font-size: 16px; }
.accounting-payout-result > small { grid-column: 1 / -1; color: #a04c42; font-size: 8.5px; line-height: 1.4; }
.accounting-table-panel { overflow: hidden; }
.accounting-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px 13px; }
.accounting-report-heading > span { color: var(--muted); font-size: 10px; }
.accounting-report-heading h3 + small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.accounting-table-scroll { max-height: 540px; overflow: auto; scrollbar-gutter: stable; }
.accounting-table-scroll thead { position: sticky; top: 0; z-index: 2; }
.accounting-table-scroll td strong, .accounting-table-scroll td small { display: block; }
.accounting-table-scroll td strong { color: #34465a; font-size: 10px; }
.accounting-table-scroll td small { margin-top: 3px; color: var(--subtle); font-size: 8.5px; }
.accounting-rental-subtotal td { color: #294858; background: #edf8f7; border-top: 2px solid #b9dcda; border-bottom-color: #cfe7e5; font-weight: 700; }
.accounting-rental-subtotal td:first-child { box-shadow: inset 4px 0 #15949b; }
.accounting-rental-subtotal td strong { color: #173e50; }
.accounting-rental-subtotal td small { color: #55727c; }
.accounting-unitemized { color: #9b6514; background: #fffaf0; font-weight: 700; }
.accounting-report-note { margin: 0; padding: 13px 20px 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: 9.5px; line-height: 1.55; }

.reservation-modal { width: min(760px, 100%); max-height: calc(80dvh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.reservation-modal > header { flex: none; }
.reservation-detail-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 20px 24px 25px; }
.reservation-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.reservation-summary-grid > div { min-width: 0; padding: 12px 13px; background: #f7f9fa; border: 1px solid #edf0f2; border-radius: 10px; }
.reservation-summary-grid span { display: block; margin-bottom: 5px; color: var(--subtle); font-size: 7.5px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.reservation-summary-grid strong { display: block; overflow: hidden; color: #34465a; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.reservation-summary-grid .reservation-status { color: var(--green); text-transform: capitalize; }
.reservation-breakdown-section { margin-top: 17px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.reservation-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.reservation-section-heading h3 { font-size: 13px; }
.reservation-section-heading > strong { color: var(--navy); font-size: 18px; line-height: 1; }
.reservation-line-items, .reservation-payment-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.reservation-line-item, .reservation-payment-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #edf0f1; }
.reservation-line-item > div, .reservation-payment-row > div { min-width: 0; }
.reservation-line-item strong, .reservation-payment-row strong { display: block; color: #435266; font-size: 9px; font-weight: 650; }
.reservation-line-item span, .reservation-payment-row span { display: block; margin-top: 3px; color: var(--subtle); font-size: 7.5px; }
.reservation-line-item b, .reservation-payment-row b { flex: none; color: #34465a; font-size: 9px; }
.reservation-line-item b.negative { color: #ad643a; }
.reservation-breakdown-note { padding: 11px 12px; color: #6d624c; background: #fff8ec; border: 1px solid #f4e3c5; border-radius: 9px; font-size: 8px; line-height: 1.55; }
.reservation-totals { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; margin-left: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.reservation-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 8.5px; }
.reservation-totals strong { color: #3f4e60; }
.reservation-totals .grand-total { padding-top: 8px; color: var(--ink); border-top: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.reservation-payment-row:last-child { border-bottom: 0; padding-bottom: 0; }
#market-modal { align-items: start; justify-items: center; overflow-y: auto; padding-top: 38px; padding-bottom: 18px; }
.market-modal { width: min(1080px, 100%); max-height: calc(100dvh - 72px); display: flex; flex-direction: column; overflow: hidden; }
.market-modal > header { flex: none; padding-top: 27px; }
.market-modal-actions { display: flex; align-items: center; gap: 7px; }
.market-modal-actions .button { min-height: 34px; padding: 0 12px; }
.market-comparison-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 21px 24px 26px; background: #f7f9fa; }
.market-background-job { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: min(410px, calc(100vw - 32px)); display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 14px; background: #fff; border: 1px solid #d7e1e5; border-radius: 14px; box-shadow: 0 16px 42px rgba(10,32,49,.2); }
.market-background-job[hidden] { display: none; }
.market-job-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #087f87; background: #e7f7f7; border-radius: 11px; }
.market-job-icon svg { width: 20px; height: 20px; }
.market-background-job.running .market-job-icon svg { animation: market-job-pulse 1.15s ease-in-out infinite; }
.market-background-job.ready .market-job-icon { color: #20734f; background: #eaf7f1; }
.market-background-job.error .market-job-icon { color: #a34e42; background: #fff0ed; }
.market-background-job > div { min-width: 0; }
.market-background-job strong, .market-background-job span { display: block; }
.market-background-job strong { overflow: hidden; color: #31465a; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.market-background-job > div span { margin-top: 4px; color: var(--muted); font-size: 8.5px; line-height: 1.4; }
.market-background-job .button { min-height: 34px; padding: 0 11px; white-space: nowrap; }
.market-compare-action.is-running { color: #087f87; border-color: #a6d5d6; background: #effafa; }
@keyframes market-job-pulse { 0%, 100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1); } }
.market-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.market-summary-copy > div { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.market-summary-copy h3 { font-size: 16px; }
.market-summary-copy p { margin: 5px 0 0; color: var(--muted); font-size: 10.5px; }
.market-confidence, .market-cached { display: inline-flex; padding: 5px 7px; border-radius: 999px; font-size: 9px; font-weight: 750; letter-spacing: .3px; text-transform: uppercase; }
.market-confidence.high { color: #20734f; background: var(--green-soft); }
.market-confidence.medium { color: #34707a; background: var(--blue-soft); }
.market-confidence.low { color: #95640b; background: var(--orange-soft); }
.market-cached { color: #657183; background: #eff2f4; }
.market-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.market-stat-grid > div { min-width: 0; padding: 14px 15px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.market-stat-grid span { display: block; color: var(--subtle); font-size: 9px; font-weight: 720; letter-spacing: .4px; text-transform: uppercase; }
.market-stat-grid strong { display: block; overflow: hidden; margin-top: 7px; color: var(--navy); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.market-stat-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.market-position-panel, .market-results-section, .market-recommendation, .market-method { margin-top: 11px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.market-position-panel > div:first-child h3, .market-section-heading h3, .market-recommendation h3, .market-method h3 { font-size: 13px; }
.market-evidence-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.market-evidence-columns > div { min-width: 0; padding: 11px 12px; background: #f7f9fa; border-radius: 9px; }
.market-evidence-columns strong { display: block; color: #445367; font-size: 10.5px; }
.market-evidence-columns ul { margin: 7px 0 0; padding-left: 18px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.market-evidence-columns li + li { margin-top: 4px; }
.market-strengths { border-left: 3px solid var(--green); }
.market-gaps { border-left: 3px solid var(--orange); }
.market-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.market-section-heading > span { color: var(--subtle); font-size: 10px; }
.market-section-heading > div > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.market-rental-feed { max-height: 590px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 2px 7px 2px 2px; }
.market-rental-row { min-width: 0; flex: none; display: grid; grid-template-columns: 188px minmax(0, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 14px rgba(22,42,60,.025); }
.market-rental-cover { min-height: 100%; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #0b3868, #159da2); text-decoration: none; }
.market-rental-cover img { width: 100%; height: 100%; position: absolute; inset: 0; display: block; object-fit: cover; transition: transform .2s ease; }
.market-rental-cover:hover img { transform: scale(1.025); }
.market-cover-placeholder { display: grid; place-items: center; gap: 7px; opacity: .86; }
.market-cover-placeholder svg { width: 28px; height: 28px; }
.market-cover-placeholder small { max-width: 145px; overflow: hidden; font-size: 9px; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.market-fit-badge { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 5px 7px; color: #173a37; background: rgba(255,255,255,.92); border-radius: 999px; box-shadow: 0 2px 8px rgba(17,39,56,.18); font-size: 9px; font-weight: 760; }
.market-rental-copy { min-width: 0; padding: 14px 15px; }
.market-rental-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.market-rental-heading > div:first-child { min-width: 0; }
.market-source { display: inline-flex; margin-bottom: 6px; padding: 4px 6px; color: #28717a; background: var(--blue-soft); border-radius: 999px; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.market-rental-row h4 { overflow: hidden; margin: 0; color: #314257; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.market-rental-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.market-competitor-price { flex: none; text-align: right; }
.market-competitor-price strong { display: block; color: var(--navy); font-size: 14px; }
.market-competitor-price span { display: block; margin-top: 3px; color: var(--subtle); font-size: 9.5px; }
.market-property-facts, .market-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.market-property-facts span, .market-amenities span { padding: 5px 7px; color: #5e6e80; background: #f1f4f5; border-radius: 999px; font-size: 9.5px; }
.market-amenities span { color: #35747a; background: var(--blue-soft); }
.market-rental-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.market-rental-evidence > div { min-width: 0; padding: 9px 10px; background: #f7f9fa; border-radius: 8px; }
.market-rental-evidence strong { display: block; color: #445367; font-size: 10px; }
.market-rental-evidence ul { margin: 6px 0 0; padding-left: 17px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.market-rental-evidence li + li { margin-top: 3px; }
.market-price-note { margin: 10px 0 0; padding: 9px 10px; color: #786747; background: #fff9ee; border-radius: 8px; font-size: 10px; line-height: 1.5; }
.market-listing-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: var(--blue); font-size: 10px; font-weight: 700; text-decoration: none; }
.market-listing-link svg, .market-source-links svg { width: 10px; height: 10px; }
.market-listing-link:hover, .market-source-links a:hover { text-decoration: underline; }
.market-feed-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.market-feed-actions > span, .market-feed-actions > small { color: var(--muted); font-size: 10px; }
.market-recommendation { color: #36515a; background: linear-gradient(135deg, #f0fbfa, #fff); border-color: #cfe9e6; }
.market-recommendation > p:not(.section-kicker) { margin: 7px 0 0; color: #587078; font-size: 10.5px; line-height: 1.6; }
.market-recommendation ol { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.market-recommendation li { display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: start; gap: 9px; }
.market-recommendation li span { width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 7px; font-size: 10px; font-weight: 750; }
.market-recommendation li p { margin: 3px 0 0; color: #4b6269; font-size: 10.5px; line-height: 1.5; }
.market-method > p { margin: 7px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.market-method > ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.market-source-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.market-source-links > span { width: 100%; color: var(--subtle); font-size: 9px; font-weight: 720; letter-spacing: .4px; text-transform: uppercase; }
.market-source-links a { display: inline-flex; align-items: center; gap: 4px; max-width: 260px; overflow: hidden; padding: 5px 7px; color: #4f6e7a; background: #f3f6f7; border-radius: 6px; font-size: 9.5px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.market-empty, .market-loading { min-height: 230px; display: grid; place-items: center; align-content: center; padding: 25px; text-align: center; }
.market-empty h3, .market-loading h3 { margin-top: 10px; font-size: 13px; }
.market-empty p, .market-loading p { max-width: 430px; margin: 7px auto 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.market-empty > svg, .market-loading > svg { width: 30px; height: 30px; color: var(--blue); }
.market-error > svg { color: #b85d4d; }
.market-empty .button { margin-top: 14px; }
.market-loading > div { display: flex; gap: 5px; margin-top: 14px; }
.market-loading i { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 1s infinite ease-in-out; }
.market-loading i:nth-child(2) { animation-delay: .15s; }
.market-loading i:nth-child(3) { animation-delay: .3s; }
.provider-picker { display: grid; grid-template-columns: 1fr; gap: 9px; }
.provider-picker label { min-width: 0; position: relative; display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line-strong); border-radius: 11px; cursor: pointer; }
.provider-picker label:has(input:checked) { border-color: #7795b2; background: #f5f9fc; box-shadow: 0 0 0 2px rgba(74,126,168,.1); }
.provider-picker input { position: absolute; opacity: 0; }
.provider-picker .provider-logo { width: 31px; height: 31px; border-radius: 8px; font-size: 12px; }
.provider-picker label > span:nth-child(3) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.provider-picker strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
.provider-picker small { color: var(--subtle); font-size: 7.5px; }
.provider-picker label > i { width: 12px; height: 12px; margin-left: auto; border: 1px solid #bec5cc; border-radius: 50%; }
.provider-picker label:has(input:checked) > i { background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--navy); }
.credential-fields { display: grid; gap: 13px; margin-top: 19px; }
.credential-fields > label { margin: 0; }
.credential-fields input { width: 100%; height: 42px; margin-top: 7px; padding: 0 11px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 9px; outline: none; font-size: 10px; }
.credential-fields input:focus { border-color: #8da8c1; box-shadow: 0 0 0 3px rgba(74,126,168,.1); }
.credential-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 10px; color: #526d60; background: var(--green-soft); border-radius: 9px; font-size: 8px; line-height: 1.5; }
.credential-note svg { width: 14px; height: 14px; flex: none; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }

.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { max-width: 340px; display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; color: #fff; background: #213346; border-radius: 10px; box-shadow: 0 12px 30px rgba(10,20,32,.2); font-size: 9px; line-height: 1.5; animation: toast-in 180ms ease; }
.toast.error { background: #883f36; }
.toast svg { width: 14px; height: 14px; flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1650px) {
  body.assistant-open .app-shell { padding-right: 350px; }
  .assistant-panel { width: 350px; }
  .content { padding-left: 25px; padding-right: 25px; }
  .topbar { padding-left: 25px; padding-right: 25px; }
  .sync-status-button { width: 34px; justify-content: center; margin-right: 0; }
  .sync-status-button span, .sync-status-button i { display: none; }
}

@media (max-width: 1400px) {
  body.assistant-open .app-shell { padding-right: 0; }
  .assistant-panel { width: min(390px, 100vw); box-shadow: -20px 0 60px rgba(10,20,32,.2); }
  body.assistant-open::after { content: ""; position: fixed; inset: 0 390px 0 0; z-index: 35; background: rgba(10,20,32,.28); }
  .overview-grid { grid-template-columns: 1fr; }
  .property-cards { grid-template-columns: repeat(2, 1fr); }
  .website-layout { grid-template-columns: 1fr; }
  .calendar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forecast-main-grid { grid-template-columns: 1fr; }
  .accounting-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .accounting-actions { grid-column: 1 / -1; }
}

@media (max-width: 1025px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-card { width: 100%; max-width: none; min-height: 100vh; padding-left: max(32px, calc((100vw - 540px) / 2)); padding-right: max(32px, calc((100vw - 540px) / 2)); }
  .auth-value-panel { display: none; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform 200ms ease; box-shadow: 20px 0 50px rgba(10,20,32,.2); }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 25; background: rgba(10,20,32,.38); }
  .main-wrap { min-width: 0; }
  .mobile-menu { display: grid; }
  .topbar { height: 72px; padding: 0 17px; }
  .topbar-actions .secondary { display: none; }
  .assistant-toggle span { display: none; }
  .assistant-toggle { width: 38px; padding: 0; }
  .content { padding: 24px 17px 55px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-row, .page-intro { align-items: flex-start; flex-direction: column; }
  .period-control { min-width: 160px; }
  .recommendation { grid-template-columns: 36px 1fr auto; }
  .recommendation .impact { display: none; }
  .property-cards { grid-template-columns: 1fr; }
  .forecast-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forecast-controls > div { grid-column: 1 / -1; }
  .forecast-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounting-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounting-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .accounting-payout-top { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.assistant-open::after { inset: 0 min(390px, 100vw) 0 0; }
}

@media (max-width: 700px) {
  .auth-card { padding: 36px 22px; }
  .auth-brand { margin-bottom: 34px; }
  .auth-copy h1 { font-size: 24px; }
  .auth-name-grid { grid-template-columns: 1fr; }
  .topbar h1 { font-size: 15px; }
  .eyebrow { font-size: 7.5px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-row h2, .page-intro h2 { font-size: 22px; }
  .panel-heading { padding-left: 17px; padding-right: 17px; }
  .legend, .analysis-pill { display: none; }
  .recommendations-list, .gap-list { padding-left: 17px; padding-right: 17px; }
  .recommendation { grid-template-columns: 34px 1fr; }
  .recommendation > .button { display: none; }
  .channel-content { padding-left: 17px; padding-right: 17px; }
  .donut-row { gap: 16px; }
  .calendar-stats { grid-template-columns: 1fr; }
  .forecast-controls, .forecast-summary-grid, .forecast-basis-list { grid-template-columns: 1fr; }
  .forecast-controls > div { grid-column: auto; }
  .forecast-disclaimer { padding: 12px; }
  .forecast-chart { padding-left: 16px; padding-right: 16px; }
  .forecast-legend { display: none; }
  .provider-picker { grid-template-columns: 1fr; }
  .audit-preview { grid-template-columns: repeat(2, 1fr); }
  .audit-results-panel { padding: 15px; }
  .audit-score-row { align-items: flex-start; }
  .audit-score { width: 70px; height: 70px; }
  .audit-category summary { grid-template-columns: 30px minmax(0, 1fr); }
  .audit-category-meta { grid-column: 2; justify-content: space-between; white-space: normal; }
  .audit-check { grid-template-columns: 24px minmax(0, 1fr); }
  .audit-check > small { grid-column: 2; margin-top: -5px; }
  .audit-resource-link { grid-column: 2; }
  .url-field { flex-wrap: wrap; padding: 8px; }
  .url-field > svg { display: none; }
  .url-field input { flex-basis: calc(100% - 8px); padding: 0 7px; border-bottom: 1px solid var(--line); }
  .url-field .button { width: 100%; margin: 0; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .accounting-form, .accounting-summary-grid { grid-template-columns: 1fr; }
  .accounting-actions { align-items: stretch; flex-direction: column; }
  .accounting-actions .button { width: 100%; }
  .accounting-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounting-currency-heading { align-items: stretch; flex-direction: column; }
  .accounting-deduction-builder, .accounting-fixed-builder, .accounting-payout-result { grid-template-columns: 1fr; }
  .accounting-deduction-builder > small, .accounting-fixed-builder > small, .accounting-payout-result { grid-column: auto; }
  .accounting-payout-result > small { grid-column: auto; }
  .accounting-deduction-row, .accounting-fixed-row { grid-template-columns: minmax(0, 1fr) auto; }
  .accounting-deduction-remove, .accounting-fixed-remove { grid-column: 1 / -1; justify-self: start; }
  .settings-form-grid, .password-grid, .billing-detail-grid, .usage-grid { grid-template-columns: 1fr; }
  .settings-card-heading, .billing-hero, .billing-management { align-items: flex-start; flex-direction: column; }
  .billing-price { padding-top: 0; text-align: left; }
  .billing-management > div:last-child { width: 100%; flex-direction: column; }
  .billing-management .button { width: 100%; }
  .reservation-detail-content { padding: 16px; }
  .reservation-summary-grid { grid-template-columns: 1fr; }
  .reservation-breakdown-section { padding: 14px; }
  #market-modal { padding-top: 18px; padding-bottom: 10px; }
  .market-modal { max-height: calc(100dvh - 32px); }
  .market-modal > header { padding-top: 22px; }
  .market-comparison-content { padding: 14px; }
  .market-modal-actions .button { display: none; }
  .market-background-job { right: 12px; bottom: 12px; width: calc(100vw - 24px); grid-template-columns: 38px minmax(0, 1fr); }
  .market-background-job .button { grid-column: 1 / -1; width: 100%; }
  .market-summary { align-items: stretch; flex-direction: column; }
  .market-summary .button { width: 100%; }
  .market-stat-grid, .market-evidence-columns { grid-template-columns: 1fr; }
  .market-rental-row { grid-template-columns: 1fr; }
  .market-rental-cover { min-height: 175px; }
  .market-rental-heading, .market-feed-actions { align-items: stretch; flex-direction: column; }
  .market-rental-evidence { grid-template-columns: 1fr; }
  .market-competitor-price { text-align: left; }
  .market-feed-actions .button { width: 100%; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
}
