/* Shared final layer. Violet is Immo Analyzer's brand; the workspace stays
   neutral so financial values, results and the next action carry attention. */
:root { --visual-ink:#27232e; --visual-muted:#60596b; --visual-accent:#573888; --visual-ground:#f6f5f8; --visual-rule:#e5e1e9; }
.interest-estimate { margin-top:8px; font:400 13px/1.5 'DM Sans','Segoe UI',sans-serif; color:#60596b; }
.interest-estimate__action { display:inline-flex; align-items:center; min-height:36px; padding:4px 0; border:0; background:transparent; color:#573888; font:600 13px/1.4 'DM Sans','Segoe UI',sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.interest-estimate__action:disabled { color:#716a79; cursor:default; text-decoration:none; }
.interest-estimate__result { padding:12px; margin-top:6px; border-radius:6px; background:#f0edf5; }
.interest-estimate__result strong { display:block; color:#30243e; font-size:14px; font-variant-numeric:tabular-nums; }
.interest-estimate__result p { margin:6px 0; font-size:13px; line-height:1.5; color:#60596b; }
.interest-estimate__result a { color:#573888; }
.interest-estimate__apply { display:flex; margin-top:8px; }
.interest-estimate__note:empty { display:none; }
@media(max-width:767px) { .interest-estimate__action { min-height:44px; } }
body { color:var(--visual-ink); }
button, input, select, textarea { font:inherit; }
:is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #9b7abb; outline-offset:3px; }
/* App: 240px navigation + 2 × 28px gutters + fluid work area. */
.app-content .app-sidebar { background:#f4f2f6; color:var(--visual-ink); box-shadow:none; }
.app-content .sidebar-link, .app-content .sidebar-tools > summary { color:#595262; }
.app-content .sidebar-link.active { background:#e6e2eb; color:#302637; }
.app-content .sidebar-brand .brand-text strong { color:var(--visual-ink); }
.app-content .brand-text span, .app-content .sidebar-section-label { color:#696071; }
.app-content .sidebar-select, .app-content .sidebar-user-btn { color:#40354b; background:#fff; border:1px solid #ddd6e5; }
.app-content .sidebar-select *, .app-content .sidebar-user-btn *, .app-content .user-meta small { color:#51465d; }
.app-content .sidebar-icon-btn { color:#51465d; }
.app-content .sidebar-brand .brand-mark { flex:0 0 32px; color:var(--visual-accent); }
.app-content > .container-fluid.mt-4 { padding:24px 28px; }
.app-content .page-view-title, .app-content .analysis-page-title, .app-content .compact-page-header-title { font-size:24px; line-height:1.25; }
.app-content :is(.card,.analysis-hero,.market-property-card,.usage-dashboard,.pricing-card) { box-shadow:none!important; border-color:var(--visual-rule); }
.app-content :is(.card-body,.card-header) { min-width:0; }
.app-content .property-overview-metrics { grid-template-columns:1fr 1fr; }
.app-content .property-overview-metric { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; }
.app-content .property-overview-metric strong { white-space:normal; font-size:18px; line-height:1.3; }
.app-content .property-overview-metric .badge { margin:0; }
.app-content .property-card-actions { flex-wrap:wrap; }
.app-content .card-header h5.text-truncate { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; line-height:1.35; }
.app-content .onboarding-panel .form-select { max-width:42rem; }
.app-content .onboarding-panel progress { accent-color:#71538d; margin-top:12px; }
.app-content .onboarding-panel summary { cursor:pointer; color:#5a466e; padding:8px 0; }
.app-content .analysis-hero-panel { background:#f0edf5; box-shadow:none; }
.app-content .analysis-hero-panel > strong { font-size:32px; font-variant-numeric:tabular-nums; }
.app-content .analysis-meta-row { gap:8px 16px; color:var(--visual-muted); font-size:13px; }
.app-content .analysis-kicker { display:none; }
.app-content .table-responsive { max-width:100%; overscroll-behavior-inline:contain; }
.app-content .table :is(td,th) { font-variant-numeric:tabular-nums; }
.app-content .table .text-end { white-space:nowrap; }
.app-content .property-form-card .card-body { padding:20px; }
.app-content .form-label { line-height:1.4; margin-bottom:6px; }
.app-content .form-control::placeholder { color:#797180; }
.app-content .feature-gate-panel { background:#f3f0f7; border:1px solid var(--visual-rule); box-shadow:none; }
.app-content .feature-gate-panel__icon { background:transparent; color:var(--visual-accent); }
.app-content .rent-city-toggle { min-height:40px; }
.app-content .rent-city-menu { max-height:300px; overflow-y:auto; }
.app-content .comparison-property-option { padding-block:10px; border-bottom:1px solid var(--visual-rule); }
.modal-content { border:1px solid #ded7e7; border-radius:10px; box-shadow:0 16px 48px #241a3430; }
.modal-header,.modal-footer { border-color:#e8e3ed; }
.modal-body { max-height:calc(100dvh - 180px); overflow:auto; }
.modal-title { font-family:'DM Sans',sans-serif; font-size:20px; }
/* Public pages: one type system, opaque navigation, two deliberate actions. */
body:has(.landing-hero) { background:#f6f4f9; }
.landing-nav .brand-mark { display:flex; width:auto; height:auto; flex:0 0 auto; border:0; background:transparent; color:#30243e; }
.landing-nav .brand-mark span { color:#30243e; }
.landing-nav .brand-mark i { flex:0 0 34px; width:34px; height:34px; color:#fff; background:#573888; }
.landing-nav { gap:16px; padding:16px clamp(16px,4vw,64px); background:#fff; box-shadow:none; backdrop-filter:none; }
.landing-nav-actions { gap:12px; }
.landing-nav-actions [data-pwa-install] { display:none; }
.landing-hero { background:#2c213b; min-height:560px; }
.landing-hero .hero-copy h1 { font-family:'DM Sans',sans-serif; font-size:clamp(34px,4.6vw,64px); line-height:1.06; letter-spacing:-.04em; max-width:720px; }
.landing-hero .eyebrow { display:none; }
.landing-hero .hero-copy .lead { font-size:18px; line-height:1.6; font-weight:400; max-width:58ch; }
.landing-hero .hero-actions .btn { border-radius:6px; padding:12px 18px; font-size:16px; }
.landing-hero .hero-actions .btn:first-child { background:#fff; color:#2c213b; }
.landing-hero .hero-actions .btn:nth-child(2) { background:transparent; color:#fff; border:1px solid #b4a8c4; }
.landing-section .section-heading h2, .final-cta h2 { font-family:'DM Sans',sans-serif; font-size:clamp(26px,3vw,40px); line-height:1.15; letter-spacing:-.025em; }
.landing-section .landing-card h4 { font-family:'DM Sans',sans-serif; font-size:19px; }
.landing-section .landing-card .feature-icon { width:auto; height:auto; background:transparent; }
.calculator-card .subtle-box, .calculator-card .mode-card { box-shadow:none; background:#f6f4f9; }
.calculator-card > div > h2 { font:700 28px/1.2 'DM Sans',sans-serif; }
.calculator-card .metric-box .value { font-family:'DM Sans',sans-serif; font-variant-numeric:tabular-nums; }
body:has(.auth-shell) { background:#f4f2f7; }
.auth-shell { background:transparent; }
.auth-shell .auth-card { box-shadow:none; border:1px solid #e2dce9; border-radius:12px; }
.auth-shell .auth-header { background:#fff; color:var(--visual-ink); border-bottom:1px solid var(--visual-rule); }
.auth-shell .auth-header h2 { color:var(--visual-ink); font:700 24px/1.3 'DM Sans',sans-serif; }
.auth-shell .auth-info-panel { background:#ede7f4; color:#342640; padding:32px; border-radius:10px; }
.home-link { background:#fff; box-shadow:none; backdrop-filter:none; border-radius:6px; }
.auth-shell .auth-info-panel h1 { font:700 clamp(28px,3vw,42px)/1.15 'DM Sans',sans-serif; color:#342640; }
.auth-shell .password-toggle { min-width:44px; }
.faq-nav { background:#fff; box-shadow:none; backdrop-filter:none; }
.faq-main h1 { font-family:'DM Sans',sans-serif; font-size:clamp(30px,4vw,48px); }
.faq-item { box-shadow:none; }
.admin-shell .navbar-brand { color:#30243e; }
/* Legal and recovery pages use the same quiet reading surface. */
body:has(> .container > .header) { background:#f6f4f9; color:#302638; }
body > .container:has(> .header) { max-width:900px; border-color:#e5dfec; box-shadow:none; border-radius:10px; }
body > .container > .header { background:#332443; }
body > .container > .content { max-width:78ch; margin:auto; }
body > .container > .content h2 { border-left:0; padding-left:0; color:#302638; }
.offline-page { background:#f6f4f9; }
.offline-page main { box-shadow:none; border-color:#e5dfec; }
.offline-page .mark,.offline-page a,.offline-page button { background:#573888; }
.admin-shell .login-panel { box-shadow:none; border-radius:10px; }
/* The first task on small screens is signing in, rather than a marketing panel. */
.auth-shell .auth-info-points { color:#51465d; }
@media(min-width:1200px) { .app-content .property-overview-metrics { min-height:88px; } }
@media(max-width:1100px) {
 .app-content > .container-fluid.mt-4 { padding:20px; }
 .landing-nav { position:relative; flex-wrap:wrap; }
 .landing-nav-actions { flex:1 1 auto; }
}
@media(max-width:767px) {
 .app-content > .container-fluid.mt-4 { padding:16px!important; margin-left:0!important; width:100%!important; }
 .app-content :is(.btn,.form-control,.form-select,.sidebar-link,summary) { min-height:44px; }
 .app-content .page-view-title { font-size:22px; }
 .app-content .usage-summary-strip { width:100%; flex-wrap:wrap; }
 .app-content .usage-summary-pill { flex:1; min-width:100px; padding:8px; }
 .app-content .analysis-hero-panel > strong { font-size:28px; }
 .landing-nav { align-items:center; }
 .landing-nav-actions { gap:8px; justify-content:flex-start; }
 .landing-nav-actions .nav-link-soft { display:none; }
 .landing-nav-actions .btn, .landing-nav-actions select { min-height:44px; font-size:14px; }
 .landing-hero { padding:36px 20px; min-height:0; gap:28px; }
 .landing-hero .hero-copy h1 { font-size:34px; line-height:1.08; }
 .landing-hero .hero-copy .lead { font-size:16px; }
 .landing-hero .hero-actions { display:grid; }
 .landing-hero .hero-actions .btn { width:100%; }
 .landing-hero .hero-proof { display:grid; gap:8px; }
 .landing-section { margin-top:56px; }
 .auth-shell .auth-info-panel { display:none; }
 .auth-shell { width:100%; min-height:0; align-items:start; padding:88px 0 24px; gap:0; grid-template-columns:minmax(0,1fr); }
 .auth-shell .auth-container { padding:0 16px; }
 .auth-shell .auth-body { padding:24px 20px; }
 .auth-shell :is(.btn,.form-control) { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } *,*::before,*::after { transition:none!important; animation:none!important; } }
