:root {
  --rt-red: #9e2f2f;
  --rt-red-dark: #7f2226;
  --rt-red-soft: #f7ecea;
  --rt-ink: #20282a;
  --rt-muted: #697476;
  --rt-line: #e2e5e2;
  --rt-paper: #f6f6f3;
  --rt-white: #fff;
  --rt-green: #2e7057;
  --rt-blue: #3a6475;
  --rt-amber: #9a6a27;
  --bs-primary: var(--rt-red);
  --bs-link-color: var(--rt-red);
  --bs-link-hover-color: var(--rt-red-dark);
}

html { scroll-behavior: smooth; }
body { color: var(--rt-ink); background: var(--rt-paper); font-family: Inter, Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; }
a { color: var(--rt-red); text-decoration: none; }
a:hover { color: var(--rt-red-dark); }
img { max-width: 100%; }
h1, h2, h3, h4, strong, b { font-weight: 650; }
h1, h2, h3 { letter-spacing: -.025em; }
.btn { border-radius: 8px; font-weight: 600; padding: .65rem 1.05rem; }
.btn-lg { padding: .85rem 1.35rem; }
.btn-sm { padding: .4rem .7rem; }
.btn-primary { background: var(--rt-red); border-color: var(--rt-red); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--rt-red-dark); border-color: var(--rt-red-dark); color: #fff; }
.btn-outline-primary { border-color: #cba7a4; color: var(--rt-red); }
.btn-outline-primary:hover { background: var(--rt-red); border-color: var(--rt-red); }
.btn-dark { background: var(--rt-ink); border-color: var(--rt-ink); }
.btn-success { background: var(--rt-green); border-color: var(--rt-green); }
.btn-outline-danger { color: #a13636; border-color: #d9b0b0; }
.btn-ghost { background: rgba(255,255,255,.7); border: 1px solid #ddd9d2; color: var(--rt-ink); }
.form-control, .form-select { border-color: #d8ddda; border-radius: 7px; min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: #ba7773; box-shadow: 0 0 0 .2rem rgba(158,47,47,.09); }
.form-label { font-size: .83rem; font-weight: 650; margin-bottom: .4rem; }
.form-text { color: var(--rt-muted); font-size: .78rem; }
.required-mark { color: var(--rt-red); }
.skip-link { position: fixed; top: -60px; left: 15px; z-index: 1100; background: #fff; padding: 10px; }
.skip-link:focus { top: 10px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust > span { align-items: center; display: flex; gap: 6px; }
.hero-trust .icon { height: 15px; width: 15px; }
.window-dots { align-items: center; display: flex; gap: 5px; }
.window-dots i { background: #d5d0c8; border-radius: 50%; height: 5px; width: 5px; }
.how-icon .icon { height: 26px; width: 26px; }
.reuse-float .icon { height: 24px; width: 24px; }
.search-input .icon { height: 18px; width: 18px; }
.empty-state .icon { height: 42px; width: 42px; }
.success-symbol .icon, .mail-symbol .icon { height: 28px; width: 28px; }
.auto-info .icon { height: 20px; width: 20px; }
.stat-icon .icon { height: 22px; width: 22px; }
.sale-check .icon { height: 13px; width: 13px; }
.mobile-bottom-nav .icon { height: 20px; width: 20px; }

.app-navbar { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rt-line); min-height: 72px; padding: .6rem 0; position: relative; z-index: 20; }
.app-brand { align-items: center; color: var(--rt-ink); display: flex; font-size: 1.35rem; font-weight: 750; gap: 8px; letter-spacing: -.04em; }
.app-brand > span > span { color: var(--rt-red); }
.app-brand small { background: var(--rt-red-soft); border-radius: 3px; color: var(--rt-red); font-size: .55rem; font-weight: 750; letter-spacing: .08em; margin-left: 3px; padding: 3px 5px; }
.brand-mark { color: var(--rt-red); height: 35px; width: 32px; }
.app-navbar .nav-link { border-radius: 6px; color: #4b5557; font-size: .88rem; font-weight: 550; padding: .55rem .7rem; }
.app-navbar .nav-link:hover { background: #f5f3ef; color: var(--rt-red); }
.navbar-toggler { border: 0; font-size: 1rem; }
.user-menu-button { align-items: center; background: transparent; border: 0; display: flex; gap: 7px; padding: 3px; }
.user-avatar { align-items: center; background: #e9e5df; border-radius: 50%; color: #5b4e49; display: inline-flex; font-size: .7rem; font-weight: 700; height: 34px; justify-content: center; width: 34px; }
.user-dropdown { min-width: 240px; }
.messages-container { left: 50%; position: fixed; top: 82px; transform: translateX(-50%); z-index: 1050; }
.messages-container .alert { box-shadow: 0 8px 30px rgba(25,35,36,.13); }
.alert { border: 0; border-radius: 8px; }
.alert-success { background: #e5f2e9; color: #285c43; }
.alert-error { background: #f9e8e6; color: #8b2929; }
.alert-info { background: #e7eff2; color: #315763; }
.app-main { min-height: calc(100vh - 170px); }
.page-container { padding-bottom: 70px; padding-top: 38px; }
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 5px; }
.page-header p { color: var(--rt-muted); margin: 0; }
.page-kicker { color: var(--rt-red); font-size: .68rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 7px; }
.narrow-page { max-width: 850px; }
.breadcrumb-nav { align-items: center; color: var(--rt-muted); display: flex; flex-wrap: wrap; font-size: .78rem; gap: 9px; margin-bottom: 25px; }
.breadcrumb-nav a { color: var(--rt-muted); }
.breadcrumb-nav a:hover { color: var(--rt-red); }

.app-footer { background: #eaece8; border-top: 1px solid #dee1dc; color: #65706e; font-size: .75rem; padding: 25px 0; }
.mobile-bottom-nav { display: none; }

.landing-page { background: #f8f7f4; }
.landing-hero { background: radial-gradient(circle at 90% 20%, #ebe4dd 0, transparent 36%), linear-gradient(135deg, #f9f8f5, #f0f0eb); overflow: hidden; padding: 75px 0 90px; }
.eyebrow { align-items: center; color: var(--rt-red); display: flex; font-size: .68rem; font-weight: 750; gap: 8px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow > span:empty { background: var(--rt-red); border-radius: 50%; height: 6px; width: 6px; }
.landing-hero h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.02; margin: 20px 0 24px; max-width: 650px; }
.landing-hero h1 em { color: var(--rt-red); display: block; font-style: normal; }
.hero-lead { color: #5f6a6b; font-size: 1.1rem; line-height: 1.75; max-width: 580px; }
.hero-trust { color: #64716e; display: flex; flex-wrap: wrap; font-size: .78rem; gap: 22px; margin-top: 26px; }
.hero-product-window { background: #fff; border: 1px solid #e2dfd9; border-radius: 13px; box-shadow: 0 30px 70px rgba(48,44,39,.15); max-width: 550px; padding: 0; position: relative; transform: rotate(1.2deg); }
.window-top { align-items: center; border-bottom: 1px solid #e9e7e2; display: flex; justify-content: space-between; padding: 15px 20px; }
.window-brand { color: var(--rt-red); font-size: .85rem; font-weight: 750; }
.window-dots { color: #d5d0c8; font-size: .6rem; letter-spacing: 3px; }
.window-content { padding: 20px; }
.mock-search { background: #f5f5f2; border: 1px solid #e5e6e2; border-radius: 6px; color: #939b99; display: flex; font-size: .75rem; justify-content: space-between; padding: 10px 12px; }
.mock-search span { color: var(--rt-ink); font-weight: 650; }
.mock-label { color: #8c9290; font-size: .57rem; font-weight: 700; letter-spacing: .1em; margin: 22px 0 10px; }
.mock-listing { align-items: center; border-bottom: 1px solid #eeeae5; display: flex; gap: 14px; padding: 12px 0; }
.mock-listing:last-child { border: 0; }
.mock-listing img { border-radius: 6px; height: 96px; object-fit: cover; width: 125px; }
.mock-listing > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.mock-listing strong { font-size: .85rem; }
.mock-listing b { color: var(--rt-red); font-size: 1.1rem; }
.mock-listing small { color: #818a88; font-size: .65rem; }
.mock-category { color: #8c8f8a; font-size: .53rem; font-weight: 700; letter-spacing: .08em; }
.reuse-float { align-items: center; background: #fff; border: 1px solid #e1e5df; border-radius: 9px; bottom: -30px; box-shadow: 0 10px 25px rgba(40,50,45,.12); display: flex; gap: 10px; left: -25px; padding: 13px 20px; position: absolute; transform: rotate(-1.2deg); }
.reuse-float > span { align-items: center; background: #e4f1e7; border-radius: 50%; color: var(--rt-green); display: flex; font-size: 1.3rem; height: 40px; justify-content: center; width: 40px; }
.reuse-float div { display: flex; flex-direction: column; }
.reuse-float strong { font-size: .85rem; }
.reuse-float small { color: var(--rt-muted); font-size: .68rem; }
.landing-values { background: var(--rt-ink); color: #fff; padding: 27px 0; }
.landing-values .col-4 { border-right: 1px solid #465052; display: flex; flex-direction: column; }
.landing-values .col-4:last-child { border: 0; }
.landing-values strong { font-size: 1.5rem; }
.landing-values span { color: #b7c0be; font-size: .7rem; }
.landing-how { padding: 85px 0; }
.section-heading { margin: 0 auto 35px; max-width: 650px; }
.section-heading h2 { font-size: 2.25rem; margin: 10px 0; }
.section-heading p { color: var(--rt-muted); line-height: 1.7; }
.how-card { background: #fff; border: 1px solid #e5e4df; border-radius: 10px; height: 100%; padding: 28px; position: relative; }
.step-number { color: #dedbd4; font-size: 2rem; font-weight: 750; position: absolute; right: 24px; top: 20px; }
.how-icon { align-items: center; background: var(--rt-red-soft); border-radius: 9px; color: var(--rt-red); display: flex; font-size: 1.6rem; height: 50px; justify-content: center; margin-bottom: 22px; width: 50px; }
.how-card h3 { font-size: 1.1rem; }
.how-card p { color: var(--rt-muted); font-size: .85rem; line-height: 1.7; margin: 0; }
.landing-cta { background: var(--rt-red); color: #fff; padding: 50px 0; }
.landing-cta .container { align-items: center; display: flex; gap: 35px; justify-content: space-between; }
.landing-cta .eyebrow { color: #ecc9c5; }
.landing-cta h2 { font-size: 1.8rem; margin: 8px 0 0; max-width: 750px; }

.auth-page { background: radial-gradient(circle at 50% 0, #eee7e1, transparent 55%); padding: 55px 0 75px; }
.auth-card { background: #fff; border: 1px solid #e1e2de; border-radius: 12px; box-shadow: 0 15px 45px rgba(39,44,42,.07); padding: 38px; }
.auth-heading { margin-bottom: 27px; }
.auth-heading h1, .auth-card > h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-heading p, .auth-card > p { color: var(--rt-muted); }
.auth-kicker { color: var(--rt-red); display: block; font-size: .65rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 8px; }
.demo-login-box { background: #f5f5f1; border: 1px solid #e5e5de; border-radius: 8px; margin-top: 27px; padding: 17px; }
.demo-login-title { display: flex; flex-direction: column; margin-bottom: 10px; }
.demo-login-title > span { color: var(--rt-green); font-size: .56rem; font-weight: 750; letter-spacing: .12em; }
.demo-login-title strong { font-size: .85rem; }
.demo-login-title small { color: var(--rt-muted); font-size: .7rem; }
.demo-account { border-top: 1px solid #dedfd9; }
.demo-account button { background: none; border: 0; display: flex; flex-direction: column; padding: 9px 3px; text-align: left; width: 100%; }
.demo-account button:hover strong { color: var(--rt-red); }
.demo-account strong { font-size: .78rem; }
.demo-account small { color: var(--rt-muted); font-size: .68rem; }
.invitation-station { background: #f3eee9; border-left: 3px solid var(--rt-red); border-radius: 4px; margin-bottom: 28px; padding: 15px 18px; }
.invitation-station > span { color: var(--rt-red); font-size: .58rem; font-weight: 750; letter-spacing: .1em; }
.invitation-station h2 { font-size: 1.15rem; margin: 4px 0 2px; }
.invitation-station p { color: var(--rt-muted); font-size: .75rem; margin: 0; }
.verification-code { font-size: 1.6rem; letter-spacing: .5em; text-align: center; }
.demo-code { background: #edf3ee; border: 1px dashed #8dae99; border-radius: 7px; margin: 20px 0; padding: 14px; }
.demo-code span { color: var(--rt-green); font-size: .57rem; font-weight: 750; letter-spacing: .1em; }
.demo-code p { font-size: .75rem; margin: 4px 0; }
.demo-code strong { color: var(--rt-green); font-size: 1.6rem; letter-spacing: .25em; }
.mail-symbol, .success-symbol { align-items: center; background: var(--rt-red-soft); border-radius: 50%; color: var(--rt-red); display: flex; font-size: 1.5rem; height: 58px; justify-content: center; margin: 0 auto 20px; width: 58px; }
.mail-symbol.muted { background: #eee; color: #777; }
.success-symbol { background: #e3f1e8; color: var(--rt-green); }

.filter-panel { background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; padding: 20px; }
.search-input { position: relative; }
.search-input > span { color: #7a8482; font-size: 1.25rem; left: 12px; position: absolute; top: 6px; z-index: 2; }
.search-input .form-control { padding-left: 38px; }
.filter-extra-row { align-items: center; display: flex; font-size: .76rem; justify-content: space-between; margin-top: 12px; }
.filter-extra-row summary { color: var(--rt-muted); cursor: pointer; font-weight: 600; }
.results-heading { align-items: center; display: flex; justify-content: space-between; margin: 25px 0 16px; }
.results-heading strong { font-size: .88rem; }
.results-heading span { color: var(--rt-muted); font-size: .72rem; }
.listing-card { background: #fff; border: 1px solid #e0e3df; border-radius: 9px; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .18s, transform .18s; }
.listing-card:hover { box-shadow: 0 10px 28px rgba(32,40,42,.1); transform: translateY(-2px); }
.listing-image-link { aspect-ratio: 4 / 3; background: #e8e6e1; display: block; overflow: hidden; position: relative; }
.listing-image { height: 100%; object-fit: cover; transition: transform .3s; width: 100%; }
.listing-card:hover .listing-image { transform: scale(1.025); }
.badge { border-radius: 4px; font-size: .59rem; letter-spacing: .02em; padding: 5px 7px; }
.status-badge { left: 10px; position: absolute; top: 10px; }
.status-available { background: #e5f2e9; color: #285f46; }
.status-sold { background: #eceeed; color: #5e6866; }
.status-archived { background: #f4e5c9; color: #805b20; }
.condition-badge { background: rgba(31,39,40,.72); bottom: 10px; color: #fff; left: 10px; position: absolute; }
.listing-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.listing-category { color: var(--rt-red); font-size: .59rem; font-weight: 750; letter-spacing: .08em; margin-bottom: 5px; text-transform: uppercase; }
.listing-title { font-size: .97rem; line-height: 1.35; margin-bottom: 11px; }
.listing-title a { color: var(--rt-ink); }
.listing-title a:hover { color: var(--rt-red); }
.listing-price { color: var(--rt-ink); font-size: 1.35rem; font-weight: 700; letter-spacing: -.025em; }
.listing-price small { font-size: .8rem; font-weight: 550; }
.listing-vat { color: var(--rt-muted); font-size: .66rem; }
.listing-location { align-items: center; border-top: 1px solid #eceeea; color: #717c7a; display: flex; font-size: .67rem; gap: 5px; margin-top: auto; padding-top: 13px; }
.listing-location svg { fill: none; flex: 0 0 auto; height: 14px; stroke: #8b9491; stroke-width: 1.5; width: 14px; }
.empty-state { background: #fff; border: 1px dashed #cfd4ce; border-radius: 10px; padding: 65px 25px; text-align: center; }
.empty-state > div { color: #a2aaa6; font-size: 2.5rem; }
.empty-state h2 { font-size: 1.3rem; }
.empty-state p { color: var(--rt-muted); }
.pagination-nav { align-items: center; display: flex; justify-content: space-between; margin-top: 30px; }
.pagination-nav > span { color: var(--rt-muted); font-size: .75rem; }

.detail-container { max-width: 1200px; }
.gallery-main { aspect-ratio: 4 / 3; background: #e8e6e1; border-radius: 10px; overflow: hidden; position: relative; }
.gallery-main > img { height: 100%; object-fit: cover; width: 100%; }
.gallery-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumb { background: #fff; border: 2px solid transparent; border-radius: 7px; height: 76px; overflow: hidden; padding: 0; width: 96px; }
.gallery-thumb.active { border-color: var(--rt-red); }
.gallery-thumb img { height: 100%; object-fit: cover; width: 100%; }
.detail-summary { background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; padding: 27px; }
.detail-summary h1 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 18px; }
.detail-price { font-size: 2.15rem; font-weight: 700; letter-spacing: -.04em; }
.detail-price small { font-size: 1rem; }
.asking-price, .sold-price-label { color: var(--rt-muted); font-size: .75rem; }
.sold-price-label { margin-bottom: -8px; }
.seller-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 15px; }
.seller-heading > span { color: var(--rt-muted); font-size: .59rem; font-weight: 750; letter-spacing: .1em; }
.seller-heading small { color: var(--rt-muted); }
.seller-person { align-items: center; display: flex; gap: 12px; }
.seller-avatar { align-items: center; background: #e7e3dc; border-radius: 50%; display: flex; flex: 0 0 auto; font-size: .8rem; font-weight: 700; height: 48px; justify-content: center; width: 48px; }
.seller-person > div { display: flex; flex-direction: column; }
.seller-person strong { font-size: .9rem; }
.seller-person span { color: #566360; font-size: .75rem; }
.seller-person small { color: var(--rt-muted); font-size: .68rem; }
.contact-buttons { display: grid; gap: 8px; grid-template-columns: 1fr; margin-top: 20px; }
.contact-buttons:has(.btn + .btn) { grid-template-columns: 1fr 1fr; }
.contact-buttons .btn { font-size: .74rem; }
.seller-email { display: block; font-size: .7rem; margin-top: 12px; text-align: center; }
.direct-deal-note { align-items: flex-start; background: #f2f4f1; border-radius: 7px; color: #64706c; display: flex; font-size: .69rem; gap: 9px; line-height: 1.55; margin-top: 20px; padding: 12px; }
.direct-deal-note > span, .stats-note > span { align-items: center; border: 1px solid #98a49f; border-radius: 50%; display: flex; flex: 0 0 auto; font-family: serif; font-size: .65rem; height: 16px; justify-content: center; margin-top: 2px; width: 16px; }
.direct-deal-note p { margin: 0; }
.owner-actions { border-top: 1px solid var(--rt-line); margin-top: 20px; padding-top: 17px; }
.owner-actions-title { font-size: .72rem; font-weight: 700; margin-bottom: 9px; }
.detail-description { background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; margin-top: 24px; padding: 25px; }
.detail-description h2 { font-size: 1.05rem; margin-bottom: 15px; }
.detail-description p { color: #586461; font-size: .86rem; line-height: 1.75; }
.detail-description p:last-child { margin-bottom: 0; }
.detail-meta-grid { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; margin-top: 22px; }
.detail-meta-grid > div { display: flex; flex-direction: column; }
.detail-meta-grid span { color: var(--rt-muted); font-size: .62rem; text-transform: uppercase; }
.detail-meta-grid strong { font-size: .77rem; }

.listing-form { display: grid; gap: 18px; }
.form-section { background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; padding: 26px; }
.form-section-heading { align-items: flex-start; display: flex; gap: 12px; margin-bottom: 24px; }
.form-section-heading > span { align-items: center; background: var(--rt-red-soft); border-radius: 50%; color: var(--rt-red); display: flex; flex: 0 0 auto; font-size: .75rem; font-weight: 750; height: 30px; justify-content: center; width: 30px; }
.form-section-heading h2 { font-size: 1.1rem; margin: 1px 0 3px; }
.form-section-heading p { color: var(--rt-muted); font-size: .75rem; margin: 0; }
.upload-dropzone { align-items: center; background: #f8f8f5; border: 1px dashed #b9c1ba; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; padding: 28px 20px; text-align: center; transition: background .15s, border-color .15s; }
.upload-dropzone:hover { background: var(--rt-red-soft); border-color: var(--rt-red); }
.upload-dropzone .icon { color: var(--rt-red); height: 30px; margin-bottom: 10px; width: 30px; }
.upload-dropzone strong { font-size: .85rem; }
.upload-dropzone span { color: var(--rt-muted); font-size: .72rem; margin-top: 4px; }
[data-image-input] { height: 1px; opacity: 0; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.image-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.image-preview img { border-radius: 6px; height: 90px; object-fit: cover; width: 110px; }
.existing-images { border-top: 1px solid var(--rt-line); margin-top: 20px; padding-top: 18px; }
.existing-image-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.existing-image { border: 1px solid var(--rt-line); border-radius: 7px; overflow: hidden; width: 125px; }
.existing-image img { height: 85px; object-fit: cover; width: 100%; }
.existing-image > span { display: block; font-size: .68rem; padding: 6px; }
.price-field { position: relative; }
.price-field > span { color: var(--rt-muted); pointer-events: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.price-field input { padding-right: 42px; }
.price-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.price-field input[type="number"]::-webkit-inner-spin-button,
.price-field input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.auto-info { align-items: flex-start; background: #eaf1eb; border: 1px solid #d5e4d7; border-radius: 8px; display: flex; gap: 12px; padding: 16px 20px; }
.auto-info > span { color: var(--rt-green); font-weight: 700; }
.auto-info strong { font-size: .8rem; }
.auto-info p { color: #627067; font-size: .73rem; margin: 3px 0 0; }
.form-submit-bar { align-items: center; display: flex; justify-content: flex-end; gap: 15px; padding: 8px 0; }
.sold-form-card { margin-top: 30px; text-align: center; }
.lead-sm { color: var(--rt-muted); font-size: 1rem; }
.asking-price-box { background: #f5f5f1; border-radius: 7px; display: flex; justify-content: space-between; margin: 20px 0; padding: 14px 18px; }
.asking-price-box span { color: var(--rt-muted); }

.stats-cards { margin-bottom: 10px; }
.stat-card { align-items: flex-start; background: #fff; border: 1px solid var(--rt-line); border-radius: 9px; display: flex; gap: 14px; height: 100%; padding: 20px; }
.stat-icon { align-items: center; background: var(--rt-red-soft); border-radius: 8px; color: var(--rt-red); display: flex; flex: 0 0 auto; font-size: 1.2rem; height: 40px; justify-content: center; width: 40px; }
.stat-icon.green { background: #e5f1e8; color: var(--rt-green); }
.stat-icon.blue { background: #e4edf0; color: var(--rt-blue); }
.stat-icon.amber { background: #f4eddf; color: var(--rt-amber); }
.stat-card > div { display: flex; flex-direction: column; }
.stat-card small { color: var(--rt-muted); font-size: .55rem; font-weight: 700; letter-spacing: .05em; }
.stat-card strong { font-size: 1.9rem; line-height: 1.2; }
.stat-card .stat-money { font-size: 1.45rem; }
.stat-money b { font-size: .7rem; }
.stat-card div > span { color: var(--rt-muted); font-size: .66rem; }
.dashboard-panel { background: #fff; border: 1px solid var(--rt-line); border-radius: 10px; overflow: hidden; }
.panel-heading { align-items: center; border-bottom: 1px solid var(--rt-line); display: flex; justify-content: space-between; padding: 20px 22px; }
.panel-heading h2 { font-size: 1rem; margin: 0 0 3px; }
.panel-heading p { color: var(--rt-muted); font-size: .7rem; margin: 0; }
.panel-count { color: var(--rt-muted); font-size: .7rem; }
.station-stats { padding: 8px 22px; }
.station-stat-row { border-bottom: 1px solid #eceeea; padding: 15px 0; }
.station-stat-row:last-child { border: 0; }
.station-stat-heading { display: flex; justify-content: space-between; }
.station-stat-heading > div { display: flex; flex-direction: column; }
.station-stat-heading > div:last-child { text-align: right; }
.station-stat-heading strong { font-size: .78rem; }
.station-stat-heading span { color: var(--rt-muted); font-size: .65rem; }
.stat-bar { background: #e8ebe7; border-radius: 4px; height: 5px; margin-top: 10px; overflow: hidden; }
.stat-bar span { background: var(--rt-red); border-radius: 4px; display: block; height: 100%; min-width: 2px; }
.sales-history { padding: 6px 20px; }
.sale-history-row { align-items: center; border-bottom: 1px solid #eceeea; color: var(--rt-ink); display: flex; gap: 10px; padding: 13px 0; }
.sale-history-row:last-child { border: 0; }
.sale-history-row > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.sale-history-row strong { font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sale-history-row small { color: var(--rt-muted); font-size: .6rem; }
.sale-history-row b { font-size: .7rem; white-space: nowrap; }
.sale-check { align-items: center; background: #e6f0e8; border-radius: 50%; color: var(--rt-green); display: flex; font-size: .6rem; height: 25px; justify-content: center; width: 25px; }
.empty-table { color: var(--rt-muted); font-size: .78rem; padding: 30px 22px; text-align: center; }
.stats-note { align-items: center; color: var(--rt-muted); display: flex; font-size: .7rem; gap: 8px; margin-top: 20px; }
.management-table { font-size: .75rem; margin: 0; }
.management-table th { background: #f7f7f4; color: var(--rt-muted); font-size: .59rem; letter-spacing: .05em; padding: 11px 18px; text-transform: uppercase; }
.management-table td { border-color: #eceeea; padding: 13px 18px; vertical-align: middle; }
.management-table td > strong, .management-table td > small { display: block; }
.management-table td > small { color: var(--rt-muted); font-size: .65rem; }
.table-status { background: #f1e7e5; border-radius: 10px; color: #8b5550; display: inline-block; font-size: .59rem; padding: 3px 8px; }
.table-status.active { background: #e4f0e7; color: var(--rt-green); }
.table-status.inactive { background: #e9ebe8; color: #6d7571; }
.invite-list { padding: 0 22px; }
.invite-row { align-items: center; border-bottom: 1px solid #eceeea; display: flex; gap: 20px; justify-content: space-between; padding: 18px 0; }
.invite-row:last-child { border: 0; }
.invite-info { display: flex; flex-direction: column; min-width: 0; }
.invite-info strong { font-size: .85rem; }
.invite-info > span, .invite-info small { color: var(--rt-muted); font-size: .68rem; }
.invite-link { color: #89918e; font-family: monospace; font-size: .6rem; margin-top: 5px; max-width: 550px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

@media (min-width: 992px) {
  .detail-summary { position: sticky; top: 20px; }
}
@media (max-width: 991.98px) {
  .app-navbar .navbar-collapse { border-top: 1px solid var(--rt-line); margin-top: 10px; padding: 10px 0; }
  .user-menu-button { margin: 8px 0; }
  .landing-hero { padding: 55px 0 80px; }
  .hero-product-window { margin: 15px auto 0; }
  .stat-card { flex-direction: column; }
  .invite-row { align-items: flex-start; flex-direction: column; }
  .invite-actions { justify-content: flex-start; }
}
@media (max-width: 767.98px) {
  body { padding-bottom: 66px; }
  .app-navbar { min-height: 62px; }
  .brand-mark { height: 31px; width: 29px; }
  .app-brand { font-size: 1.2rem; }
  .app-main { min-height: calc(100vh - 150px); }
  .page-container { padding-top: 25px; }
  .page-header { margin-bottom: 22px; }
  .page-header .btn { white-space: nowrap; }
  .mobile-bottom-nav { background: rgba(255,255,255,.98); border-top: 1px solid #dce0da; bottom: 0; display: flex; height: 64px; justify-content: space-around; left: 0; padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 1030; }
  .mobile-bottom-nav a { align-items: center; color: #66716e; display: flex; flex: 1; flex-direction: column; font-size: .58rem; gap: 2px; justify-content: center; }
  .mobile-bottom-nav a > span { font-size: 1.2rem; line-height: 1; }
  .mobile-bottom-nav .mobile-create { color: var(--rt-red); font-weight: 700; }
  .mobile-bottom-nav .mobile-create > span { align-items: center; background: var(--rt-red); border-radius: 50%; color: #fff; display: flex; font-size: 1.5rem; height: 35px; justify-content: center; margin-top: -17px; width: 35px; }
  .app-footer { margin-bottom: 0; }
  .landing-hero h1 { font-size: 2.7rem; }
  .hero-lead { font-size: .95rem; }
  .landing-cta .container { align-items: flex-start; flex-direction: column; }
  .landing-cta h2 { font-size: 1.45rem; }
  .landing-how { padding: 55px 0; }
  .section-heading h2 { font-size: 1.8rem; }
  .reuse-float { left: -5px; }
  .auth-page { padding: 25px 0 50px; }
  .auth-card { padding: 25px 20px; }
  .filter-panel { padding: 15px; }
  .results-heading span { display: none; }
  .listing-card-body { padding: 14px; }
  .listing-title { font-size: .9rem; }
  .detail-summary { padding: 21px; }
  .detail-summary h1 { font-size: 1.55rem; }
  .form-section { padding: 20px 17px; }
  .form-submit-bar { justify-content: space-between; }
  .stat-card { gap: 8px; padding: 15px; }
  .stat-icon { height: 32px; width: 32px; }
  .stat-card strong { font-size: 1.6rem; }
  .stat-card .stat-money { font-size: 1.05rem; }
  .stat-card div > span { display: none; }
  .panel-heading { padding: 16px; }
  .station-stats { padding: 8px 16px; }
  .station-stat-heading { gap: 10px; }
  .invite-list { padding: 0 16px; }
  .invite-link { max-width: 82vw; }
}
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; }
  .landing-values strong { font-size: 1.25rem; }
  .landing-values span { font-size: .6rem; }
  .hero-product-window { transform: none; }
  .window-content { padding: 13px; }
  .mock-listing img { height: 83px; width: 105px; }
  .mock-listing strong { font-size: .75rem; }
  .mock-listing b { font-size: .95rem; }
  .hero-trust { flex-direction: column; gap: 7px; }
  .page-header h1 { font-size: 1.8rem; }
  .page-header > .btn { font-size: .73rem; padding: .55rem .7rem; }
  .listing-image-link { aspect-ratio: 1.25 / 1; }
  .contact-buttons:has(.btn + .btn) { grid-template-columns: 1fr; }
  .detail-meta-grid { grid-template-columns: 1fr; }
}
