:root {
    --brand: #353091;
    --brand-2: #4f49b5;
    --brand-3: #7b75d5;
    --brand-soft: #efeffb;
    --ink: #171629;
    --muted: #6f6d7e;
    --line: #e7e6ed;
    --surface: #ffffff;
    --surface-2: #f7f7fa;
    --surface-3: #efeff4;
    --success: #13795b;
    --danger: #c1394b;
    --shadow-sm: 0 8px 24px rgba(27, 24, 68, .08);
    --shadow-md: 0 18px 48px rgba(27, 24, 68, .13);
    --shadow-lg: 0 34px 90px rgba(27, 24, 68, .2);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --container: 1240px;
    --header-h: 82px;
}

html[data-theme="dark"] {
    --ink: #f7f7fb;
    --muted: #aaa8bb;
    --line: #32303f;
    --surface: #171620;
    --surface-2: #1e1d29;
    --surface-3: #282635;
    --brand-soft: #25233f;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
    --shadow-md: 0 18px 48px rgba(0, 0, 0, .3);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
svg { fill: currentColor; }
.container { width: calc(100% - 40px); max-width: var(--container); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: rgba(255,255,255,.72); }
.section-heading { margin-bottom: 42px; }
.section-heading h2, .experience-copy h2, .page-hero h1, .detail-heading h1 { margin: 0; letter-spacing: -.045em; line-height: 1.05; }
.section-heading h2, .experience-copy h2 { font-size: clamp(34px, 4.2vw, 58px); }
.section-heading p { max-width: 650px; margin: 16px auto 0; color: var(--muted); font-size: 18px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.centered-heading { text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 750; white-space: nowrap; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { color: #fff; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 760; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 25px rgba(53,48,145,.22); }
.button-primary:hover { background: #2d297c; box-shadow: 0 14px 32px rgba(53,48,145,.3); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--line); }
.button-outline:hover { color: var(--brand); border-color: var(--brand); }
.button-white { color: var(--brand); background: #fff; }
.button-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.button-whatsapp { color: #fff; background: #147e59; }
.button-block { width: 100%; }
.button-large { min-height: 56px; border-radius: 14px; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); display: inline-grid; place-items: center; }
.icon-button svg { width: 19px; height: 19px; }

.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent); backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-emblem { position: relative; width: 62px; height: 48px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.brand-emblem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo-on-dark { opacity: 0; }
html[data-theme="dark"] .logo-on-light { opacity: 0; }
html[data-theme="dark"] .logo-on-dark { opacity: 1; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand strong { color: var(--brand); font-size: 19px; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; min-width: 0; }
.main-nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 670; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--brand); transition: right .25s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login, .nav-account { padding: 11px 10px; font-size: 14px; font-weight: 750; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s ease; }

.toast-wrap { position: fixed; z-index: 2000; top: 96px; right: 22px; max-width: min(440px, calc(100% - 44px)); }
.toast { display: flex; align-items: center; gap: 18px; padding: 16px 18px; color: #fff; border-radius: 14px; box-shadow: var(--shadow-md); animation: toast-in .35s ease; }
.toast-success { background: #156f55; }
.toast-error { background: #a92e43; }
.toast button { border: 0; color: inherit; background: transparent; font-size: 24px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

.hero-section { position: relative; overflow: hidden; padding: 96px 0 0; color: #fff; background: linear-gradient(135deg, #27235f 0%, var(--brand) 46%, #4c46ad 100%); }
.hero-section::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .24; }
.hero-orb-one { width: 420px; height: 420px; right: -80px; top: -160px; background: #b7b3ff; }
.hero-orb-two { width: 300px; height: 300px; left: -100px; bottom: 0; background: #8079df; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; }
.hero-copy h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 6.3vw, 88px); line-height: .96; letter-spacing: -.065em; }
.hero-copy h1 em { color: #b9b5ff; font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p { max-width: 660px; margin: 27px 0 34px; color: rgba(255,255,255,.76); font-size: 19px; line-height: 1.7; }
.hero-trust-row { display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.72); }
.hero-trust-row > div:not(.avatar-stack):not(.trust-divider) { display: flex; flex-direction: column; }
.hero-trust-row strong { color: #fff; }
.hero-trust-row span { font-size: 12px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; display: grid; place-items: center; margin-left: -8px; border: 2px solid var(--brand); border-radius: 50%; color: var(--brand); background: #fff; font-size: 11px; font-weight: 850; }
.avatar-stack span:first-child { margin-left: 0; }
.trust-divider { width: 1px; height: 32px; background: rgba(255,255,255,.24); }
.hero-panel { padding: 32px 0 54px; }
.search-card { padding: 12px; color: var(--ink); background: color-mix(in srgb, var(--surface) 98%, transparent); border: 1px solid rgba(255,255,255,.25); border-radius: 26px; box-shadow: 0 30px 80px rgba(14,12,47,.3); }
.search-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; background: var(--surface-2); border-radius: 15px; }
.search-tabs button { padding: 11px 12px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-weight: 750; }
.search-tabs button.active { color: #fff; background: var(--brand); box-shadow: 0 7px 17px rgba(53,48,145,.24); }
.hero-search-form { padding: 14px 10px 4px; }
.search-field { display: block; }
.search-field > span, .filter-form label > span, .appointment-form label > span, .auth-form label > span, .form-panel label > span, .publish-panel label > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.search-field > div { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.search-field svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-row, .field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.search-row { margin-top: 14px; }
.search-field select { width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--surface); }
.search-submit { width: 100%; margin-top: 16px; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px 5px; color: var(--muted); font-size: 12px; }
.popular-searches a { padding: 4px 8px; color: var(--brand); background: var(--brand-soft); border-radius: 20px; font-weight: 700; }
.hero-stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); margin-top: 62px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats div { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-size: 29px; letter-spacing: -.04em; }
.hero-stats span { color: rgba(255,255,255,.62); font-size: 13px; }

.section-featured { background: var(--surface); }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.listing-grid-two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.listing-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.listing-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--brand) 20%, var(--line)); box-shadow: var(--shadow-md); }
.listing-media { position: relative; overflow: hidden; aspect-ratio: 1.46; background: var(--surface-2); }
.listing-media > a, .listing-media img { width: 100%; height: 100%; }
.listing-media img { object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.listing-card:hover .listing-media img { transform: scale(1.045); }
.listing-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.status-badge, .tag-badge { padding: 6px 9px; border-radius: 7px; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.status-badge { color: #fff; background: var(--brand); }
.tag-badge { color: #4c3b03; background: #f8d777; }
.inline-badges { position: static; margin-bottom: 17px; }
.favorite-button { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #282436; background: rgba(255,255,255,.9); box-shadow: 0 7px 18px rgba(0,0,0,.13); backdrop-filter: blur(10px); }
.favorite-button svg { width: 19px; fill: transparent; stroke: currentColor; stroke-width: 1.8; }
.favorite-button.is-active { color: #fff; background: var(--brand); }
.favorite-button.is-active svg { fill: currentColor; }
.compare-check { position: absolute; left: 13px; bottom: 13px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #2b2934; background: rgba(255,255,255,.9); border-radius: 8px; font-size: 11px; font-weight: 750; backdrop-filter: blur(10px); }
.compare-check input { accent-color: var(--brand); }
.listing-card-body { padding: 20px; }
.listing-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.listing-location svg, .detail-location svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.listing-card h3 { min-height: 50px; margin: 10px 0 15px; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; }
.listing-card h3 a:hover { color: var(--brand); }
.listing-features { display: flex; align-items: center; gap: 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.listing-features span { padding: 0 11px; border-right: 1px solid var(--line); }
.listing-features span:first-child { padding-left: 0; }
.listing-features span:last-child { border: 0; }
.listing-features strong { color: var(--ink); font-size: 13px; }
.listing-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 17px; }
.listing-price { color: var(--brand); font-size: 20px; letter-spacing: -.035em; }
.listing-number { color: var(--muted); font-size: 10px; }

.category-section { background: var(--surface-2); }
.category-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 245px 245px; gap: 18px; }
.category-card { position: relative; overflow: hidden; border-radius: 24px; color: #fff; background: #28244f; }
.category-card-large { grid-row: 1 / 3; }
.category-card-wide { grid-column: 2 / 4; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,17,50,.9), rgba(19,17,50,.08) 70%); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card > div { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 25px; }
.category-card span { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; opacity: .72; }
.category-card h3 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.04em; }
.category-card p { margin: 6px 0 0; color: rgba(255,255,255,.7); }

.experience-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.experience-visual { position: relative; }
.experience-visual::before { content: ""; position: absolute; width: 70%; height: 92%; left: -24px; top: -24px; border: 1px solid var(--brand-3); border-radius: 28px; }
.experience-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.experience-float-card { position: absolute; z-index: 3; right: -28px; bottom: 36px; width: 190px; padding: 24px; color: #fff; background: var(--brand); border-radius: 20px; box-shadow: var(--shadow-md); }
.experience-float-card strong { display: block; font-size: 38px; }
.experience-float-card span { color: rgba(255,255,255,.7); font-size: 12px; }
.experience-copy > p { max-width: 650px; margin: 22px 0 30px; color: var(--muted); font-size: 17px; }
.feature-list { margin: 0 0 33px; }
.feature-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list > div > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 11px; font-weight: 800; }
.feature-list h3 { margin: 0 0 4px; font-size: 17px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 14px; }

.agents-section { color: #fff; background: #1f1c4d; }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent-card, .agent-join-card { padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.055); }
.agent-avatar { width: 72px; height: 72px; padding: 10px; border-radius: 20px; background: #fff; }
.agent-avatar img { width: 100%; height: 100%; }
.agent-card > div:nth-child(2) { margin: 20px 0; }
.agent-card > div:nth-child(2) span, .agent-join-card > span { color: #aca7ff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.agent-card h3, .agent-join-card h3 { margin: 5px 0; font-size: 23px; }
.agent-card p, .agent-join-card p { margin: 0; color: rgba(255,255,255,.61); font-size: 13px; }
.agent-meta { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.agent-card > a, .agent-join-card > a { display: inline-block; margin-top: 18px; color: #c9c6ff; font-weight: 750; }
.agent-join-card { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(124,117,213,.32), rgba(255,255,255,.04)); }

.testimonial-section { background: var(--surface-2); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card { margin: 0; padding: 29px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.stars { color: #d3a52c; letter-spacing: .16em; }
.testimonial-card p { min-height: 105px; margin: 21px 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.55; }
.testimonial-card footer { color: var(--muted); font-weight: 750; }
.cta-section { padding-top: 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 54px 60px; color: #fff; background: linear-gradient(120deg, #25215c, var(--brand), #5049b2); border-radius: 30px; box-shadow: var(--shadow-md); }
.cta-box h2 { margin: 0; font-size: clamp(30px,4vw,48px); letter-spacing: -.045em; }
.cta-box p { margin: 13px 0 0; color: rgba(255,255,255,.7); }
.cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }

.page-hero { padding: 102px 0; color: #fff; background: linear-gradient(135deg, #242057, var(--brand) 55%, #514bb3); }
.page-hero-compact { padding: 72px 0; }
.page-hero h1 { max-width: 850px; font-size: clamp(44px,6vw,76px); }
.page-hero-compact h1 { font-size: clamp(38px,5vw,60px); }
.page-hero p { max-width: 740px; margin: 20px 0 0; color: rgba(255,255,255,.7); font-size: 18px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: end; }
.page-hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(255,255,255,.07); backdrop-filter: blur(15px); }
.page-hero-card strong { display: block; font-size: 60px; line-height: 1; }
.page-hero-card span, .page-hero-card small { display: block; }
.page-hero-card span { margin-top: 6px; font-weight: 750; }
.page-hero-card small { margin-top: 17px; color: rgba(255,255,255,.6); }

.listings-page { background: var(--surface-2); }
.listings-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 30px; align-items: start; }
.filter-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-head h2 { margin: 0; font-size: 23px; }
.filter-head .eyebrow { margin-bottom: 2px; }
.filter-head button { display: none; border: 0; color: var(--ink); background: transparent; font-size: 27px; }
.filter-form { display: grid; gap: 15px; }
.filter-form input, .filter-form select, .appointment-form input, .appointment-form select, .appointment-form textarea, .auth-form input, .form-panel input, .form-panel select, .form-panel textarea, .publish-panel select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: var(--surface); transition: border .2s ease, box-shadow .2s ease; }
.filter-form textarea, .appointment-form textarea, .form-panel textarea { padding-top: 12px; resize: vertical; }
.filter-form input:focus, .filter-form select:focus, .appointment-form input:focus, .appointment-form textarea:focus, .auth-form input:focus, .form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.filter-reset { text-align: center; color: var(--muted); font-size: 12px; text-decoration: underline; }
.results-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.results-toolbar > div { display: flex; align-items: center; gap: 12px; }
.results-toolbar > div > span { color: var(--muted); font-size: 12px; }
.results-toolbar label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.results-toolbar select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); }
.filter-open-button { display: none; }
.empty-state { padding: 70px 30px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.empty-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 30px; }
.empty-state h2, .empty-state h3 { margin: 0 0 8px; }
.empty-state p { max-width: 520px; margin: 0 auto 23px; color: var(--muted); }
.compare-dock { position: fixed; z-index: 1200; left: 50%; bottom: 26px; width: min(620px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; color: #fff; background: #201d4c; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; box-shadow: var(--shadow-lg); transform: translateX(-50%); }
.compare-dock[hidden] { display: none; }
.compare-dock > div { display: flex; flex-direction: column; }
.compare-dock span { color: rgba(255,255,255,.6); font-size: 11px; }

.detail-topbar { padding: 18px 0; background: var(--surface); }
.detail-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-breadcrumb nav { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; }
.detail-breadcrumb nav a:hover { color: var(--brand); }
.detail-share-actions { display: flex; gap: 8px; }
.detail-share-actions button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 700; }
.detail-share-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.detail-share-actions .is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.detail-gallery { padding-bottom: 0; }
.gallery-grid { height: min(600px, 52vw); display: grid; grid-template-columns: 1.5fr .75fr .75fr; grid-template-rows: 1fr 1fr; gap: 7px; overflow: hidden; border-radius: 24px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--surface-2); }
.gallery-item-1 { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-count { position: absolute; right: 16px; bottom: 16px; padding: 10px 13px; color: #19172a; background: rgba(255,255,255,.92); border-radius: 9px; font-size: 12px; font-weight: 800; box-shadow: var(--shadow-sm); }
.detail-section { padding-top: 52px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 56px; align-items: start; }
.detail-heading h1 { max-width: 850px; font-size: clamp(38px,5vw,62px); }
.detail-location { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; color: var(--muted); }
.detail-mobile-price { display: none; margin-top: 18px; color: var(--brand); font-size: 28px; font-weight: 850; }
.quick-specs { display: grid; grid-template-columns: repeat(5,1fr); margin: 34px 0 0; border: 1px solid var(--line); border-radius: 17px; }
.quick-specs div { padding: 18px; border-right: 1px solid var(--line); }
.quick-specs div:last-child { border: 0; }
.quick-specs span, .quick-specs strong { display: block; }
.quick-specs span { color: var(--muted); font-size: 11px; }
.quick-specs strong { margin-top: 5px; font-size: 17px; }
.detail-block { padding: 45px 0; border-bottom: 1px solid var(--line); }
.block-heading h2 { margin: 0; font-size: 31px; letter-spacing: -.04em; }
.block-heading p { margin: 8px 0 0; color: var(--muted); }
.detail-description { color: color-mix(in srgb, var(--ink) 78%, var(--muted)); font-size: 17px; line-height: 1.85; }
.property-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.property-highlights div { padding: 9px 12px; color: var(--success); background: color-mix(in srgb, var(--success) 9%, var(--surface)); border-radius: 9px; font-size: 12px; font-weight: 750; }
.property-highlights span { margin-right: 5px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; margin-top: 25px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec-table > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.spec-table > div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-table span { color: var(--muted); font-size: 12px; }
.spec-table strong { text-align: right; font-size: 13px; }
.nearby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.nearby-grid > div { display: flex; align-items: center; gap: 13px; padding: 17px; background: var(--surface-2); border-radius: 13px; }
.nearby-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 20px; }
.nearby-grid strong, .nearby-grid div div span { display: block; }
.nearby-grid div div span { color: var(--muted); font-size: 11px; }
.map-block { border-bottom: 0; }
.map-frame { position: relative; overflow: hidden; height: 420px; margin-top: 23px; border-radius: 18px; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-privacy-note { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; color: #29263b; background: rgba(255,255,255,.9); border-radius: 8px; font-size: 10px; }
.sticky-card { position: static; top: auto; }
.price-card, .appointment-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.price-card-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.detail-price { display: block; margin-top: 15px; color: var(--brand); font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.price-per-sqm { margin-top: 5px; color: var(--muted); font-size: 11px; }
.sidebar-agent { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.sidebar-agent img { width: 58px; height: 58px; padding: 7px; background: var(--brand-soft); border-radius: 14px; }
.sidebar-agent span, .sidebar-agent strong, .sidebar-agent small { display: block; }
.sidebar-agent span { color: var(--muted); font-size: 10px; }
.sidebar-agent strong { margin: 2px 0; }
.sidebar-agent small { color: var(--muted); font-size: 10px; }
.price-card .button { margin-top: 9px; }
.secure-note { margin: 15px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.appointment-card { margin-top: 20px; scroll-margin-top: 110px; }
.appointment-card h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.appointment-card > p { color: var(--muted); font-size: 13px; }
.appointment-form { display: grid; gap: 13px; margin-top: 20px; }
.check-label { display: flex !important; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.check-label input { width: 16px !important; min-height: 16px !important; margin-top: 2px; accent-color: var(--brand); }
.check-label a { color: var(--brand); text-decoration: underline; }
.lightbox { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 40px; background: rgba(10,9,18,.95); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: #fff; background: transparent; font-size: 46px; }
.lightbox-close { top: 20px; right: 28px; }
.lightbox-prev { left: 22px; top: 50%; }
.lightbox-next { right: 22px; top: 50%; }
.lightbox > span { position: absolute; left: 50%; bottom: 20px; color: rgba(255,255,255,.75); transform: translateX(-50%); }

.auth-section { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: .9fr 1.1fr; }
.auth-visual { display: grid; place-items: center; padding: 70px; color: #fff; background: linear-gradient(145deg, #201d4e, var(--brand)); }
.auth-visual-register { background: linear-gradient(145deg, #2b2766, #4f49b3); }
.auth-visual-inner { max-width: 500px; }
.auth-visual h1 { margin: 0; font-size: clamp(44px,5vw,70px); line-height: 1.02; letter-spacing: -.055em; }
.auth-visual p { margin: 24px 0 34px; color: rgba(255,255,255,.69); font-size: 17px; }
.auth-proof { display: flex; align-items: center; gap: 13px; margin-top: 16px; }
.auth-proof > span { width: 36px; height: 36px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 50%; }
.auth-proof strong, .auth-proof small { display: block; }
.auth-proof small { color: rgba(255,255,255,.55); }
.auth-metric { display: inline-flex; align-items: baseline; gap: 10px; padding: 15px 20px; background: rgba(255,255,255,.1); border-radius: 14px; }
.auth-metric strong { font-size: 29px; }
.auth-form-wrap { display: grid; place-items: center; padding: 60px 30px; background: var(--surface-2); }
.auth-card { width: min(100%, 540px); padding: 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); }
.auth-card h2 { margin: 0; font-size: 35px; letter-spacing: -.045em; }
.auth-card > p { color: var(--muted); }
.oauth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.oauth-button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 750; }
.oauth-button:hover { border-color: var(--brand); }
.oauth-button strong { font-size: 18px; }
.or-divider { position: relative; margin: 25px 0; text-align: center; }
.or-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.or-divider span { position: relative; padding: 0 13px; color: var(--muted); background: var(--surface); font-size: 11px; }
.auth-form { display: grid; gap: 16px; }
.form-between { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.form-between a { color: var(--brand); font-weight: 700; }
.demo-credentials { display: grid; gap: 4px; margin-top: 18px; padding: 13px; color: var(--muted); background: var(--surface-2); border-radius: 10px; font-size: 10px; }
.demo-credentials strong { color: var(--ink); }
.auth-switch { margin: 23px 0 0 !important; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--brand); font-weight: 800; }

.compare-page { background: var(--surface-2); }
.compare-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.compare-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.compare-table th, .compare-table td { min-width: 190px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare-table th:first-child { min-width: 150px; color: var(--muted); font-size: 12px; }
.compare-table thead th { vertical-align: top; }
.compare-table thead img { width: 100%; aspect-ratio: 1.5; object-fit: cover; margin-bottom: 12px; border-radius: 12px; }
.compare-table thead a { font-size: 14px; line-height: 1.35; }
.compare-table td { font-weight: 700; font-size: 13px; }
.account-page { background: var(--surface-2); }
.account-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 28px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 25px); display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.account-nav a, .account-nav button { padding: 15px 18px; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; text-align: left; font-size: 13px; font-weight: 700; }
.account-nav a.active { color: #fff; background: var(--brand); }
.account-nav button { width: 100%; color: var(--danger); }
.account-content { display: grid; gap: 24px; }
.account-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.panel-heading h2 { margin: 0; font-size: 27px; }
.panel-heading > span { color: var(--muted); font-size: 12px; }
.compact-empty { padding: 40px 20px; background: var(--surface-2); }
.preference-list { display: grid; }
.preference-list > label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.preference-list strong, .preference-list span { display: block; }
.preference-list span { color: var(--muted); font-size: 12px; }
.preference-list input { width: 42px; height: 22px; accent-color: var(--brand); }
.agent-profile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.agent-profile-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.agent-profile-top { display: flex; align-items: center; gap: 18px; }
.agent-profile-top img { width: 82px; height: 82px; padding: 10px; background: var(--brand-soft); border-radius: 20px; }
.agent-profile-top span { color: var(--brand); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.agent-profile-top h2 { margin: 4px 0; }
.agent-rating { color: var(--muted); font-size: 12px; }
.agent-profile-card > p { color: var(--muted); }
.agent-specialty { padding: 14px; background: var(--surface-2); border-radius: 12px; }
.agent-specialty span, .agent-specialty strong { display: block; }
.agent-specialty span { color: var(--muted); font-size: 10px; }
.agent-profile-actions { display: flex; gap: 10px; margin-top: 20px; }
.faq-layout { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-intro h2 { margin: 0; font-size: 39px; letter-spacing: -.045em; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--brand); font-size: 25px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 0 24px; color: var(--muted); }
.narrow-content { max-width: 900px; }
.prose-card { padding: 50px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.lead-text { margin: 0; font-size: 21px; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 35px; }
.contact-grid > * { padding: 20px; background: var(--surface-2); border-radius: 13px; }
.contact-grid span, .contact-grid strong { display: block; }
.contact-grid span { color: var(--muted); font-size: 11px; }
.error-page { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.error-page .container > span { color: var(--brand); font-size: 100px; font-weight: 900; line-height: 1; opacity: .15; }
.error-page h1 { margin: -15px 0 8px; font-size: 42px; }
.error-page p { max-width: 500px; margin: 0 auto 25px; color: var(--muted); }
.error-page .container div { display: flex; justify-content: center; gap: 10px; }

.mobile-contact-bar { display: none; }
.site-footer { padding: 75px 0 24px; color: rgba(255,255,255,.7); background: #17153b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 55px; }
.brand-footer strong { color: #fff; }
.brand-footer small { color: rgba(255,255,255,.55); }
.footer-brand p { max-width: 340px; }
.site-footer h3 { margin: 0 0 18px; color: #fff; font-size: 14px; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.site-footer a:hover { color: #fff; }
.social-links { display: flex; gap: 8px; margin-top: 20px; }
.social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; font-size: 10px; font-weight: 800; }
.footer-whatsapp { color: #aaa5ff; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

/* Admin */
.admin-body { background: var(--surface-2); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 245px minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 18px; color: rgba(255,255,255,.72); background: #19173f; }
.brand-admin { padding: 0 8px 24px; }
.brand-admin strong { color: #fff; }
.brand-admin small { color: rgba(255,255,255,.5); }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 20px; }
.admin-sidebar nav a { padding: 12px 13px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.admin-user-card { margin-top: auto; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.05); }
.admin-user-card strong, .admin-user-card span { display: block; }
.admin-user-card span { overflow: hidden; margin-top: 3px; color: rgba(255,255,255,.48); font-size: 10px; text-overflow: ellipsis; }
.admin-user-card button { margin-top: 13px; padding: 0; border: 0; color: #ffadba; background: transparent; font-size: 11px; font-weight: 750; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px 34px; background: var(--surface); border-bottom: 1px solid var(--line); }
.admin-topbar .eyebrow { margin: 0; }
.admin-topbar h1 { margin: 2px 0 0; font-size: 28px; letter-spacing: -.04em; }
.admin-top-actions { display: flex; gap: 10px; }
.admin-menu-button { display: none; }
.admin-content { padding: 28px 34px 60px; }
.admin-alert { margin: 20px 34px 0; padding: 14px 17px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.admin-alert.is-success { color: #0f674c; background: #e7f7f1; }
.admin-alert.is-error { color: #a1243a; background: #fdebed; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.admin-stat-grid article { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.admin-stat-grid span, .admin-stat-grid strong, .admin-stat-grid small { display: block; }
.admin-stat-grid span { color: var(--muted); font-size: 11px; }
.admin-stat-grid strong { margin: 6px 0; color: var(--brand); font-size: 30px; letter-spacing: -.04em; }
.admin-stat-grid small { color: var(--muted); font-size: 9px; }
.admin-grid-two { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; margin-top: 18px; }
.admin-panel { margin-top: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.admin-grid-two .admin-panel { margin-top: 0; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-panel-head .eyebrow { margin: 0; }
.admin-panel-head h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.03em; }
.admin-panel-head select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); }
.admin-panel-head > a { color: var(--brand); font-size: 11px; font-weight: 750; }
.chart-placeholder { height: 230px; display: grid; grid-template-columns: 35px 1fr; gap: 10px; margin-top: 20px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 9px; }
.chart-bars { display: flex; align-items: end; justify-content: space-around; gap: 8px; padding: 15px 12px 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.chart-bars i { flex: 1; max-width: 25px; min-height: 3px; background: linear-gradient(to top, var(--brand), var(--brand-3)); border-radius: 5px 5px 0 0; }
.chart-legend { display: flex; justify-content: space-between; margin-top: 13px; font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.chart-legend i { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
.chart-legend strong { color: var(--success); }
.chart-legend small { color: var(--muted); font-weight: 400; }
.crm-funnel { display: grid; gap: 15px; }
.crm-funnel div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.crm-funnel span { color: var(--muted); font-size: 11px; }
.crm-funnel strong { font-size: 13px; }
.crm-funnel i { grid-column: 1 / -1; height: 7px; background: var(--brand); border-radius: 8px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 11px 13px; color: var(--muted); background: var(--surface-2); text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { padding: 13px; border-bottom: 1px solid var(--line); font-size: 12px; }
.admin-table td > a { color: var(--brand); font-weight: 750; }
.status-pill { display: inline-block; padding: 5px 8px; border-radius: 20px; font-size: 9px; font-weight: 800; }
.status-pending { color: #8a5b00; background: #fff1c9; }
.status-approved { color: #0b6b4f; background: #dff5ed; }
.status-rejected { color: #a52a3d; background: #fde5e9; }
.inline-action-form button { padding: 6px 10px; border: 0; color: #fff; background: var(--brand); border-radius: 7px; font-size: 10px; }
.admin-listing-cell { min-width: 250px; display: flex; align-items: center; gap: 11px; }
.admin-listing-cell img { width: 54px; height: 42px; object-fit: cover; border-radius: 8px; }
.admin-listing-cell strong, .admin-listing-cell span { display: block; }
.admin-listing-cell span { color: var(--muted); font-size: 9px; }
.listing-editor { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; align-items: start; }
.editor-main .admin-panel:first-child, .editor-sidebar .admin-panel:first-child { margin-top: 0; }
.form-panel { padding: 25px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two-cols { grid-template-columns: 1fr 1fr; }
.form-grid.four-cols { grid-template-columns: repeat(4,1fr); }
.span-2 { grid-column: span 2; }
.required-note, .form-help { color: var(--muted); font-size: 10px; }
.form-panel label { display: block; }
.check-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.upload-dropzone { display: grid !important; place-items: center; min-height: 190px; margin-top: 18px; padding: 25px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; background: var(--surface-2); }
.upload-dropzone.is-dragging { border-color: var(--brand); background: var(--brand-soft); }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-dropzone .upload-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 8px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 25px; }
.upload-dropzone strong { font-size: 14px; }
.upload-dropzone small { color: var(--muted); }
[data-file-list] { margin-top: 8px; color: var(--brand); font-size: 10px; }
.editor-sidebar { position: sticky; top: 20px; }
.publish-panel h2 { margin: 0 0 20px; }
.publish-checks { display: grid; gap: 8px; margin: 20px 0; color: var(--muted); font-size: 10px; }
.publish-panel .button { margin-top: 9px; }
.tips-panel h3 { margin: 0; }
.tips-panel ul { padding-left: 18px; color: var(--muted); font-size: 11px; }
.tips-panel li { margin: 8px 0; }

@media (max-width: 1100px) {
    .main-nav { gap: 18px; }
    .nav-cta { display: none; }
    .hero-grid { gap: 40px; }
    .listing-grid { grid-template-columns: repeat(2,1fr); }
    .experience-grid { gap: 55px; }
    .detail-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 30px; }
    .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
    .form-grid.four-cols { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 76px 0; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; display: grid; gap: 0; padding: 18px 20px 28px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .3s ease; }
    .menu-open .main-nav { transform: translateY(0); }
    .main-nav a { padding: 14px 5px; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .menu-toggle { display: block; }
    .nav-login, .nav-account { display: none; }
    .hero-section { padding-top: 70px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-trust-row { justify-content: center; }
    .hero-panel { width: min(100%, 650px); margin-inline: auto; padding-top: 0; }
    .hero-stats { margin-top: 28px; }
    .hero-stats div { padding: 22px 12px; text-align: center; }
    .category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 220px 220px; }
    .category-card-large { grid-column: 1 / 3; grid-row: auto; }
    .category-card-wide { grid-column: 1 / 3; }
    .experience-grid { grid-template-columns: 1fr; }
    .experience-visual { width: min(100%, 610px); margin-inline: auto; }
    .experience-float-card { right: 20px; }
    .agent-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-card p { min-height: 0; }
    .cta-box { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .listings-layout { grid-template-columns: 1fr; }
    .filter-panel { position: fixed; z-index: 1600; inset: 0 0 0 auto; width: min(390px,100%); overflow-y: auto; border-radius: 0; transform: translateX(105%); transition: transform .3s ease; }
    .filter-panel.is-open { transform: translateX(0); }
    .filter-head button, .filter-open-button { display: inline-flex; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .sticky-card { position: static; }
    .appointment-card { margin-top: 0; }
    .detail-mobile-price { display: block; }
    .detail-price { font-size: 28px; }
    .auth-section { grid-template-columns: 1fr; }
    .auth-visual { min-height: 520px; }
    .account-layout, .faq-layout { grid-template-columns: 1fr; }
    .account-nav, .faq-intro { position: static; }
    .account-nav { grid-template-columns: repeat(4,1fr); }
    .account-nav form { display: none; }
    .account-nav a { text-align: center; font-size: 11px; }
    .agent-profile-grid { grid-template-columns: 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; z-index: 1700; inset: 0 auto 0 0; width: 260px; transform: translateX(-105%); transition: transform .3s ease; }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-menu-button { display: grid; }
    .admin-grid-two { grid-template-columns: 1fr; }
    .listing-editor { grid-template-columns: 1fr; }
    .editor-sidebar { position: static; }
}

@media (max-width: 680px) {
    body { padding-bottom: 62px; }
    .section { padding: 62px 0; }
    .brand:not(.brand-official):not(.brand-admin-official) img { width: 40px; height: 40px; }
    .brand strong { font-size: 18px; }
    .nav-actions .icon-button { display: none; }
    .hero-section { padding-top: 55px; }
    .hero-copy h1 { font-size: 49px; }
    .hero-copy > p { font-size: 16px; }
    .hero-trust-row { flex-wrap: wrap; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
    .hero-stats div:nth-child(2) { border-right: 0; }
    .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
    .search-card { border-radius: 20px; }
    .search-row, .field-row { grid-template-columns: 1fr; }
    .section-heading h2, .experience-copy h2 { font-size: 38px; }
    .split-heading { align-items: flex-start; flex-direction: column; }
    .listing-grid, .listing-grid-two { grid-template-columns: 1fr; }
    .category-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4,260px); }
    .category-card-large, .category-card-wide { grid-column: auto; }
    .experience-visual::before { display: none; }
    .experience-float-card { right: 14px; bottom: 14px; }
    .agent-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 36px 26px; }
    .cta-actions { width: 100%; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .mobile-contact-bar { position: fixed; z-index: 1300; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
    .mobile-contact-bar a { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--brand); font-size: 12px; font-weight: 800; }
    .mobile-contact-bar a:first-child { border-radius: 10px 0 0 10px; }
    .mobile-contact-bar a:last-child { background: #147e59; border-radius: 0 10px 10px 0; }
    .mobile-contact-bar svg { width: 18px; height: 18px; }
    .page-hero, .page-hero-compact { padding: 60px 0; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .results-toolbar { align-items: flex-start; flex-direction: column; }
    .results-toolbar > div { flex-wrap: wrap; }
    .results-toolbar > div > span { width: 100%; }
    .gallery-grid { height: 420px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
    .gallery-item-1 { grid-column: 1 / 3; grid-row: auto; }
    .gallery-item:nth-child(n+4) { display: none; }
    .detail-breadcrumb { align-items: flex-start; flex-direction: column; }
    .detail-share-actions { width: 100%; }
    .detail-share-actions button { flex: 1; justify-content: center; }
    .quick-specs { grid-template-columns: repeat(2,1fr); }
    .quick-specs div { border-bottom: 1px solid var(--line); }
    .quick-specs div:nth-child(2n) { border-right: 0; }
    .quick-specs div:last-child { grid-column: 1 / 3; }
    .spec-table, .nearby-grid { grid-template-columns: 1fr; }
    .spec-table > div:nth-child(odd) { border-right: 0; }
    .detail-sidebar { grid-template-columns: 1fr; }
    .lightbox { padding: 12px; }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
    .auth-visual { min-height: 420px; padding: 50px 25px; }
    .auth-visual h1 { font-size: 45px; }
    .auth-form-wrap { padding: 35px 14px; }
    .auth-card { padding: 27px 20px; }
    .oauth-grid { grid-template-columns: 1fr; }
    .account-nav { grid-template-columns: 1fr 1fr; }
    .account-panel { padding: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .prose-card { padding: 28px 22px; }
    .agent-profile-actions { flex-direction: column; }
    .admin-topbar { padding: 18px; }
    .admin-topbar .eyebrow { display: none; }
    .admin-topbar h1 { font-size: 21px; }
    .admin-top-actions .icon-button { display: none; }
    .admin-top-actions .button { min-height: 40px; padding: 0 12px; font-size: 11px; }
    .admin-content { padding: 18px; }
    .admin-alert { margin-inline: 18px; }
    .admin-stat-grid { grid-template-columns: 1fr 1fr; }
    .admin-stat-grid article:last-child { grid-column: 1 / 3; }
    .form-grid.two-cols, .form-grid.four-cols { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .admin-panel { padding: 17px; }
}
.agent-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.agent-card-actions > a { margin: 0; color: #c9c6ff; font-weight: 750; }
.follow-button { min-height: 34px; padding: 0 11px; border: 1px solid currentColor; border-radius: 9px; color: var(--brand); background: transparent; font-size: 10px; font-weight: 800; }
.agents-section .follow-button { color: #c9c6ff; }
.follow-button.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.agents-section .follow-button.is-active { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }


/* 1.1 — logo, layout hardening and office platform */
main { display: block; min-width: 0; }
.site-header, .site-footer { width: 100%; }
.nav-shell, .footer-grid, .footer-bottom { min-width: 0; }
.footer-logo { display: inline-block; width: 176px; margin-bottom: 18px; }
.footer-logo img { width: 100%; height: auto; object-fit: contain; }
.brand-admin .brand-emblem { width: 58px; height: 44px; }
.brand-admin .brand-emblem img { opacity: 1; }
.brand-admin .brand-wordmark strong { color: #fff; }
.brand-admin .brand-wordmark small { color: rgba(255,255,255,.56); }

.account-type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-type-switch label { position: relative; cursor: pointer; }
.account-type-switch input { position: absolute; opacity: 0; pointer-events: none; }
.account-type-switch label > span { min-height: 78px; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: .2s ease; }
.account-type-switch strong, .account-type-switch small { display: block; }
.account-type-switch small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.account-type-switch input:checked + span { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent); }
.office-register-fields { display: none; margin: 8px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.office-register-fields.is-visible { display: grid; gap: 14px; }
.office-register-fields legend { padding: 0 8px; color: var(--brand); font-weight: 800; }
.auth-card-wide { width: min(100%, 760px); }
.auth-register-wide .auth-form-wrap { padding-block: 55px; }

.profile-hero, .office-profile-hero { padding: 82px 0; color: #fff; background: linear-gradient(135deg,#211e5d,var(--brand) 55%,#514ab5); }
.profile-hero-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 44px; align-items: center; }
.profile-avatar { overflow: hidden; aspect-ratio: 1; padding: 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 34px; background: rgba(255,255,255,.1); }
.profile-avatar img { width: 100%; height: 100%; object-fit: contain; }
.profile-copy h1, .office-profile-hero h1 { margin: 0; font-size: clamp(44px,6vw,76px); line-height: 1; letter-spacing: -.055em; }
.profile-copy > p, .office-profile-hero p { max-width: 760px; color: rgba(255,255,255,.76); font-size: 18px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.profile-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.8); font-size: 12px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.profile-info-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.profile-info-card span, .profile-info-card strong { display: block; }
.profile-info-card span { color: var(--muted); font-size: 11px; }
.profile-info-card strong { margin-top: 7px; }
.profile-listing-heading { margin-top: 70px; }
.agent-office-link { display: inline-block; margin: 4px 0 16px; color: var(--brand); font-size: 12px; font-weight: 800; }

.office-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.office-card { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.office-card-logo { display: grid; place-items: center; min-height: 150px; padding: 18px; border-radius: 18px; background: var(--surface-2); }
.office-card-logo img { max-height: 125px; object-fit: contain; }
.office-card h2 { margin: 6px 0 10px; font-size: 25px; }
.office-card p { color: var(--muted); }
.office-card > div > span { color: var(--muted); font-size: 11px; }
.office-card-stats { display: flex; gap: 8px; margin: 15px 0; }
.office-card-stats strong { padding: 6px 9px; color: var(--brand); background: var(--brand-soft); border-radius: 9px; font-size: 11px; }
.office-profile-hero-grid { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 52px; align-items: center; }
.office-profile-logo { min-height: 250px; display: grid; place-items: center; padding: 24px; border: 1px solid rgba(255,255,255,.45); border-radius: 32px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(12,10,45,.22); }
.office-profile-logo img { max-height: 210px; object-fit: contain; }
.office-team-section { background: var(--surface-2); }

.admin-stat-grid-six { grid-template-columns: repeat(6,minmax(0,1fr)); }
.admin-count-badge { padding: 7px 10px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; font-size: 11px; font-weight: 800; }
.admin-panel-intro { max-width: 850px; margin: -4px 0 22px; color: var(--muted); }
.table-subline { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.table-muted { color: var(--muted); font-size: 11px; }
.access-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.access-form select, .access-form button, .member-action-form select, .member-action-form button, .office-admin-actions select, .office-admin-actions button { min-height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font-size: 10px; }
.access-form button, .member-action-form button, .office-admin-actions button { color: #fff; border-color: var(--brand); background: var(--brand); font-weight: 800; }
.row-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.row-actions form { margin: 0; }
.row-actions button, .danger-link { padding: 0; border: 0; color: var(--danger); background: transparent; font-size: 11px; font-weight: 800; }

.office-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.office-admin-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.office-admin-card strong, .office-admin-card span { display: block; }
.office-admin-card span { color: var(--muted); font-size: 10px; }
.office-admin-metrics { display: flex; gap: 8px; margin: 12px 0; }
.office-admin-metrics span { padding: 5px 8px; color: var(--brand); background: var(--brand-soft); border-radius: 8px; }
.office-admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.office-admin-actions form { display: flex; gap: 6px; }
.office-management-grid { grid-template-columns: 1.2fr .8fr; }
.office-summary-panel { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 22px; }
.office-summary-logo { display: grid; place-items: center; padding: 18px; border-radius: 15px; background: var(--surface-2); }
.office-summary-logo img { max-height: 150px; object-fit: contain; }
.office-summary-panel h2 { margin: 0; }
.office-summary-panel p { color: var(--muted); }
.office-summary-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.office-summary-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.permission-list { display: grid; gap: 10px; }
.permission-list div { padding: 11px; border: 1px solid var(--line); border-radius: 10px; }
.permission-list strong, .permission-list span { display: block; }
.permission-list span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.invite-form { display: grid; grid-template-columns: minmax(0,1fr) 220px auto; gap: 12px; align-items: end; }
.invite-form label span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 750; }
.member-action-form { display: flex; gap: 6px; align-items: center; }
.member-action-form .danger-link { color: var(--danger); border-color: transparent; background: transparent; }
.empty-admin-state { text-align: center; padding: 55px; }

@media (max-width: 1250px) {
    .admin-stat-grid-six { grid-template-columns: repeat(3,1fr); }
    .main-nav { gap: 16px; }
    .main-nav a { font-size: 13px; }
}
@media (max-width: 900px) {
    .profile-hero-grid, .office-profile-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .profile-avatar, .office-profile-logo { width: min(260px,100%); margin-inline: auto; }
    .profile-actions, .profile-meta { justify-content: center; }
    .profile-info-grid, .office-grid { grid-template-columns: 1fr; }
    .office-management-grid { grid-template-columns: 1fr; }
    .office-summary-panel { grid-template-columns: 1fr; }
    .office-summary-logo { max-width: 220px; }
    .invite-form { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .container { width: calc(100% - 24px); }
    .brand-emblem { width: 52px; height: 40px; }
    .brand-wordmark strong { font-size: 15px; }
    .brand-wordmark small { font-size: 7px; }
    .account-type-switch { grid-template-columns: 1fr; }
    .profile-info-grid, .admin-stat-grid-six { grid-template-columns: 1fr 1fr; }
    .office-card { grid-template-columns: 1fr; }
    .office-card-logo { min-height: 120px; }
    .office-admin-grid { grid-template-columns: 1fr; }
}

.user-access-cell { min-width: 270px; }
.user-admin-table .access-form select { min-width: 112px; }
.user-admin-table .access-form button { min-width: 78px; }
@media (max-width: 720px) {
    .user-admin-table { min-width: 880px; }
}

.brand-official { position: relative; width: 194px; height: 58px; display: inline-block; }
.brand-official > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-admin-official { width: 190px; height: 58px; padding: 0 8px 24px; box-sizing: content-box; }
.brand-admin-official > img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 650px) { .brand-official { width: 150px; height: 48px; } }

/* v1.2.0 dynamic content, live dashboard and editors */
.testimonial-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.testimonial-section .centered-heading p { max-width: 680px; }
.testimonial-card footer { display: grid; gap: 3px; }
.testimonial-card footer strong { color: var(--ink); }
.testimonial-card footer span { color: var(--muted); font-size: 10px; font-weight: 500; }
.testimonial-empty { display: grid; place-items: center; gap: 6px; min-height: 180px; padding: 34px; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); background: color-mix(in srgb, var(--surface) 80%, transparent); text-align: center; }
.testimonial-empty strong { color: var(--ink); font-size: 18px; }
.review-compose-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.review-compose-card h3 { margin: 5px 0 10px; font-size: 25px; letter-spacing: -.035em; }
.review-compose-card p { margin: 0; color: var(--muted); }
.review-form { display: grid; gap: 13px; }
.review-form label { display: grid; gap: 7px; }
.review-form label > span { font-size: 11px; font-weight: 750; }
.review-form .button { justify-self: start; }

.admin-body { background: #f3f4f9; }
[data-theme="dark"] .admin-body { background: #10101a; }
.admin-shell { grid-template-columns: 270px minmax(0,1fr); }
.admin-sidebar { padding: 24px 18px; background: radial-gradient(circle at 15% 0%, #4b45a8 0, transparent 34%), linear-gradient(180deg, #1c1947 0%, #12112d 100%); border-right: 1px solid rgba(255,255,255,.07); }
.admin-sidebar nav { gap: 5px; }
.admin-sidebar nav a { position: relative; padding: 13px 14px; border: 1px solid transparent; border-radius: 12px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.08); transform: translateX(2px); }
.admin-user-card { border-radius: 16px; backdrop-filter: blur(12px); }
.admin-main { background: radial-gradient(circle at 92% 0%, rgba(53,48,145,.08), transparent 28%); }
.admin-topbar { position: sticky; z-index: 50; top: 0; min-height: 92px; padding: 20px 32px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); }
.admin-content { max-width: 1900px; width: 100%; margin-inline: auto; padding: 28px 32px 64px; }
.admin-panel { border-color: color-mix(in srgb, var(--line) 78%, transparent); border-radius: 22px; box-shadow: 0 12px 34px rgba(26,23,70,.045); }
.admin-live-shell { display: grid; gap: 18px; }
.admin-live-shell > .admin-panel, .admin-live-shell > .admin-grid-two, .admin-live-shell > .admin-stat-grid { margin-top: 0; }
.admin-welcome-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 30px; overflow: hidden; border: 1px solid rgba(53,48,145,.12); border-radius: 24px; color: #fff; background: linear-gradient(125deg, #24205d, #353091 56%, #615bd0); box-shadow: 0 22px 55px rgba(53,48,145,.2); }
.admin-welcome-card h2 { margin: 5px 0 8px; font-size: clamp(25px,3vw,38px); letter-spacing: -.045em; }
.admin-welcome-card p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); }
.admin-welcome-card .eyebrow { color: #d8d5ff; }
.live-status { min-width: 210px; display: flex; align-items: center; gap: 11px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.live-status > i { width: 10px; height: 10px; border-radius: 50%; background: #59e5ae; box-shadow: 0 0 0 6px rgba(89,229,174,.13); animation: livePulse 1.8s infinite; }
.live-status strong, .live-status span { display: block; }
.live-status span { margin-top: 3px; color: rgba(255,255,255,.63); font-size: 9px; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 10px rgba(89,229,174,0); } }
.admin-stat-grid-six { gap: 12px; }
.admin-stat-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 13px; align-items: center; padding: 18px !important; border-radius: 19px !important; transition: transform .2s ease, box-shadow .2s ease; }
.admin-stat-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(26,23,70,.08); }
.admin-stat-card .stat-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 13px; font-size: 19px; }
.admin-stat-card div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-stat-card div > strong { margin: 3px 0 2px; font-size: 27px; }
.dashboard-analytics-grid { grid-template-columns: minmax(0,1.55fr) minmax(320px,.65fr); margin-top: 0; }
.real-chart { height: 260px; display: flex; align-items: stretch; gap: 3px; padding: 18px 4px 0; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.real-chart-column { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px; }
.real-chart-column i { width: min(22px,70%); min-height: 3px; display: block; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, #817be8, var(--brand)); box-shadow: 0 5px 12px rgba(53,48,145,.16); transition: height .45s ease; }
.real-chart-column span { width: 100%; overflow: hidden; color: var(--muted); font-size: 7px; text-align: center; text-overflow: clip; white-space: nowrap; }
.real-chart-column:nth-child(2n) span { visibility: hidden; }
.chart-legend b { color: var(--ink); }
.chart-legend strong.is-negative { color: var(--danger); }
.crm-funnel i { min-width: 2px; transition: width .45s ease; }
.panel-footnote { margin: 20px 0 0; padding: 13px; color: var(--muted); background: var(--surface-2); border-radius: 12px; font-size: 10px; line-height: 1.5; }
.compact-empty-state { display: grid; gap: 5px; padding: 34px; color: var(--muted); background: var(--surface-2); border-radius: 16px; text-align: center; }
.compact-empty-state strong { color: var(--ink); }
.action-link { color: var(--brand) !important; font-weight: 850 !important; }
.listing-admin-table tbody tr { transition: background .18s ease; }
.listing-admin-table tbody tr:hover { background: color-mix(in srgb, var(--brand-soft) 35%, transparent); }

.form-panel-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: linear-gradient(125deg, #25215e, #353091); }
.form-panel-intro h2 { margin: 4px 0 7px; font-size: 28px; }
.form-panel-intro p { margin: 0; color: rgba(255,255,255,.7); }
.form-panel-intro .eyebrow { color: #d1ceff; }
.listing-edit-badge { flex: 0 0 auto; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font-size: 10px; font-weight: 800; }
.existing-media-block { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.existing-media-block > div:first-child { display: grid; gap: 4px; }
.existing-media-block > div:first-child span { color: var(--muted); font-size: 10px; }
.existing-media-grid, .upload-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.existing-media-card, .upload-preview-card { position: relative; overflow: hidden; min-height: 145px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); cursor: pointer; }
.existing-media-card img, .upload-preview-card img { width: 100%; height: 112px; object-fit: cover; }
.existing-media-card > span { position: absolute; top: 8px; left: 8px; padding: 5px 7px; color: #fff; background: rgba(20,18,52,.75); border-radius: 7px; font-size: 8px; font-weight: 800; }
.existing-media-card input { position: absolute; right: 9px; bottom: 9px; width: 17px; height: 17px; accent-color: var(--danger); }
.existing-media-card b { display: block; padding: 8px 34px 8px 9px; color: var(--muted); font-size: 9px; }
.existing-media-card.is-marked { border-color: var(--danger); opacity: .55; }
.existing-media-card.is-marked::after { content: "Kaldırılacak"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(154,28,50,.7); font-size: 12px; font-weight: 850; }
.upload-dropzone { cursor: pointer; }
.upload-preview-grid { width: 100%; }
.upload-preview-card { min-height: 132px; cursor: default; }
.upload-preview-card img { height: 92px; }
.upload-preview-card div { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 8px; }
.upload-preview-card span { min-width: 0; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.upload-preview-card button { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; color: #fff; background: var(--danger); cursor: pointer; }

.office-profile-editor { overflow: hidden; }
.office-profile-form { display: grid; gap: 22px; }
.office-logo-editor { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; align-items: center; padding: 20px; background: var(--surface-2); border-radius: 17px; }
.office-logo-preview { height: 145px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.office-logo-preview img { max-width: 100%; max-height: 115px; object-fit: contain; }
.office-logo-editor label { display: grid; gap: 8px; }
.office-logo-editor label span { font-size: 12px; font-weight: 800; }
.office-logo-editor small { color: var(--muted); }
.form-actions-right { display: flex; justify-content: flex-end; }

@media (max-width: 1250px) {
    .admin-shell { grid-template-columns: 245px minmax(0,1fr); }
    .dashboard-analytics-grid { grid-template-columns: 1fr; }
    .existing-media-grid, .upload-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .review-compose-card { grid-template-columns: 1fr; }
    .admin-welcome-card { align-items: flex-start; flex-direction: column; }
    .live-status { min-width: 0; width: 100%; }
    .office-logo-editor { grid-template-columns: 1fr; }
    .office-logo-preview { max-width: 220px; }
    .existing-media-grid, .upload-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .review-compose-card { padding: 22px; }
    .admin-content { padding: 18px 14px 48px; }
    .admin-welcome-card { padding: 22px; }
    .real-chart { height: 210px; }
    .real-chart-column span { display: none; }
    .existing-media-grid, .upload-preview-grid { grid-template-columns: 1fr 1fr; }
    .form-panel-intro { align-items: flex-start; flex-direction: column; }
}

/* v1.2.0 admin navigation and profile editor refinements */
.admin-nav { display: grid; gap: 5px; }
.admin-nav-label { display: block; margin: 18px 10px 6px; color: rgba(255,255,255,.42); font-size: 8px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.admin-nav-label:first-child { margin-top: 4px; }
.admin-sidebar nav a { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 9px; }
.admin-sidebar nav a > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #dedcff; background: rgba(255,255,255,.07); font-size: 14px; font-style: normal; }
.admin-sidebar nav a.active > i, .admin-sidebar nav a:hover > i { color: #fff; background: rgba(255,255,255,.14); }
.inline-remove-option { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 5px; color: var(--danger); font-size: 10px !important; font-weight: 800 !important; }
.inline-remove-option input { width: 17px; height: 17px; margin: 0; accent-color: var(--danger); }
.detail-sidebar { align-self: start; }
.price-card.sticky-card { position: static !important; inset: auto !important; transform: none !important; }

.readonly-form-field{display:flex;flex-direction:column;gap:.45rem;padding:1rem 1.05rem;border:1px solid var(--border);border-radius:16px;background:color-mix(in srgb,var(--surface) 92%,var(--brand) 8%)}
.readonly-form-field>span{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.readonly-form-field>strong{font-size:1rem;color:var(--text)}
.readonly-form-field>small{line-height:1.55;color:var(--muted)}

/* =========================================================
   Mavi Gayrimenkul v1.3.0 — Yönetim deneyimi
   ========================================================= */
.management-page { display: grid; gap: 20px; }
.management-page > .admin-panel,
.management-page > .admin-grid-two,
.management-page > .admin-stat-grid { margin-top: 0; }
.management-hero { position: relative; isolation: isolate; min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 34px 38px; overflow: hidden; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(125deg,#1d194f 0%,#353091 56%,#5f58ca 100%); box-shadow: 0 24px 60px rgba(38,32,108,.23); }
.management-hero::before { content:""; position:absolute; z-index:-1; width:340px; height:340px; top:-210px; right:7%; border:58px solid rgba(255,255,255,.075); border-radius:50%; }
.management-hero::after { content:""; position:absolute; z-index:-1; width:250px; height:250px; right:-90px; bottom:-145px; border-radius:50%; background:rgba(255,255,255,.08); filter:blur(1px); }
.management-hero .eyebrow { color:#d9d6ff; }
.management-hero h2 { max-width:860px; margin:6px 0 10px; font-size:clamp(29px,3vw,44px); line-height:1.02; letter-spacing:-.05em; }
.management-hero p { max-width:800px; margin:0; color:rgba(255,255,255,.72); font-size:14px; line-height:1.7; }
.management-hero-actions { flex:0 0 auto; display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.button-light { color:var(--brand); border-color:#fff; background:#fff; }
.button-light:hover { color:#201b61; background:#f1f0ff; }
.button-glass { color:#fff; border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.10); backdrop-filter:blur(8px); }
.button-glass:hover { background:rgba(255,255,255,.18); }
.hero-metric { min-width:94px; display:grid; justify-items:center; padding:12px 16px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(255,255,255,.09); }
.hero-metric strong { font-size:25px; }
.hero-metric small { color:rgba(255,255,255,.66); }
.panel-head-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.panel-head-actions > a { color:var(--brand); font-size:11px; font-weight:800; }
.admin-panel-head p { max-width:720px; margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }

/* Modern shared form system */
.modern-form-grid { display:grid; gap:17px; }
.modern-form-grid.two-cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
.modern-form-grid label,
.appointment-filter-form label,
.appointment-editor-form label,
.modern-invite-form label { min-width:0; display:grid; gap:8px; align-content:start; }
.modern-form-grid label > span,
.appointment-filter-form label > span,
.appointment-editor-form label > span,
.modern-invite-form label > span { color:var(--ink); font-size:11px; font-weight:800; letter-spacing:.01em; }
.modern-form-grid input,
.modern-form-grid textarea,
.modern-form-grid select,
.appointment-filter-form input,
.appointment-filter-form select,
.appointment-editor-form input,
.appointment-editor-form select,
.appointment-editor-form textarea,
.modern-invite-form input,
.modern-invite-form select { width:100%; min-height:48px; padding:12px 14px; color:var(--ink); border:1px solid var(--line); border-radius:13px; outline:none; background:var(--surface); transition:border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.modern-form-grid textarea,
.appointment-editor-form textarea { min-height:110px; resize:vertical; line-height:1.55; }
.modern-form-grid input:focus,
.modern-form-grid textarea:focus,
.modern-form-grid select:focus,
.appointment-filter-form input:focus,
.appointment-filter-form select:focus,
.appointment-editor-form input:focus,
.appointment-editor-form select:focus,
.appointment-editor-form textarea:focus,
.modern-invite-form input:focus,
.modern-invite-form select:focus { border-color:rgba(53,48,145,.7); box-shadow:0 0 0 4px rgba(53,48,145,.1); }
.modern-form-grid label > small { color:var(--muted); font-size:10px; line-height:1.5; }
.modern-form-grid .span-2 { grid-column:span 2; }
.form-actions-right { display:flex; justify-content:flex-end; padding-top:4px; }
.file-button { display:inline-flex !important; width:max-content; cursor:pointer; }
.file-button input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.file-button > span { min-height:42px; display:inline-flex; align-items:center; padding:0 15px; color:#fff !important; border-radius:11px; background:var(--brand); box-shadow:0 10px 20px rgba(53,48,145,.18); }
.inline-check { display:flex !important; grid-template-columns:auto 1fr; align-items:center; gap:8px; margin-top:10px; color:var(--muted); font-size:10px; }
.inline-check input { width:16px !important; min-height:16px !important; margin:0; }
.danger-check { color:#a33a46; }

/* Office management */
.platform-office-hero { min-height:190px; }
.office-switcher-panel { overflow:hidden; }
.modern-office-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.modern-office-card { position:relative; display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:14px; align-items:start; padding:18px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,var(--surface),var(--surface-2)); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.modern-office-card:hover,.modern-office-card.is-selected { transform:translateY(-2px); border-color:rgba(53,48,145,.32); box-shadow:0 14px 34px rgba(31,27,91,.08); }
.modern-office-card.is-selected::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; border-radius:18px 0 0 18px; background:var(--brand); }
.modern-office-card-logo { width:58px; height:58px; display:grid; place-items:center; padding:7px; border:1px solid var(--line); border-radius:15px; background:#fff; }
.modern-office-card-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.modern-office-card-copy h3 { margin:8px 0 3px; font-size:15px; }
.modern-office-card-copy p { margin:0 0 10px; color:var(--muted); font-size:10px; }
.modern-office-card-copy > div { display:flex; flex-wrap:wrap; gap:8px; }
.modern-office-card-copy > div span { padding:6px 8px; color:var(--muted); border-radius:8px; background:var(--surface-2); font-size:9px; }
.modern-office-card-copy > div strong { color:var(--ink); }
.modern-office-card-actions { display:flex; gap:6px; align-items:center; }
.modern-office-card-actions .icon-button { width:36px; height:36px; }
.office-status-form { grid-column:1/-1; display:flex; gap:8px; padding-top:12px; border-top:1px solid var(--line); }
.office-status-form select,.office-status-form button { min-height:36px; padding:0 10px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); font-size:10px; }
.office-status-form button { color:#fff; border-color:var(--brand); background:var(--brand); font-weight:800; }
.office-control-hero { min-height:250px; display:flex; align-items:center; justify-content:space-between; gap:28px; padding:32px; color:#fff; border-radius:27px; background:linear-gradient(135deg,#15133a,#29246e 56%,#403aa1); box-shadow:0 20px 48px rgba(20,18,56,.2); }
.office-control-identity { min-width:0; display:flex; align-items:center; gap:25px; }
.office-control-logo { flex:0 0 132px; width:132px; height:132px; display:grid; place-items:center; padding:16px; border-radius:26px; background:#fff; box-shadow:0 17px 38px rgba(0,0,0,.18); }
.office-control-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.office-control-identity .eyebrow { color:#c8c4ff; }
.office-control-identity h2 { margin:5px 0 8px; font-size:clamp(28px,3vw,42px); letter-spacing:-.05em; }
.office-control-identity p { max-width:750px; margin:0; color:rgba(255,255,255,.68); line-height:1.6; }
.office-control-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; }
.office-control-meta > span:not(.status-pill) { padding:7px 10px; border:1px solid rgba(255,255,255,.13); border-radius:9px; color:rgba(255,255,255,.76); background:rgba(255,255,255,.07); font-size:10px; }
.office-control-actions { flex:0 0 auto; display:flex; gap:9px; flex-wrap:wrap; }
.office-kpi-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.admin-stat-card .text-value { font-size:15px; line-height:1.25; }
.office-section-nav { position:sticky; z-index:20; top:94px; display:flex; gap:7px; flex-wrap:wrap; padding:9px; border:1px solid var(--line); border-radius:16px; background:color-mix(in srgb,var(--surface) 92%,transparent); box-shadow:0 10px 30px rgba(24,20,74,.05); backdrop-filter:blur(14px); }
.office-section-nav a { padding:10px 13px; color:var(--muted); border-radius:10px; font-size:10px; font-weight:800; }
.office-section-nav a:hover { color:var(--brand); background:var(--brand-soft); }
.modern-office-editor { scroll-margin-top:155px; }
.modern-office-form { display:grid; gap:25px; }
.modern-logo-uploader { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; align-items:center; padding:20px; border:1px solid var(--line); border-radius:18px; background:var(--surface-2); }
.modern-logo-uploader .office-logo-preview { width:150px; height:125px; display:grid; place-items:center; padding:14px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.modern-logo-uploader .office-logo-preview img { max-width:100%; max-height:100%; object-fit:contain; }
.modern-logo-uploader h3 { margin:0 0 5px; font-size:15px; }
.modern-logo-uploader p { max-width:650px; margin:0 0 13px; color:var(--muted); font-size:11px; line-height:1.6; }
.office-team-layout { grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr); align-items:start; }
.office-side-stack { display:grid; gap:18px; }
.office-member-list { display:grid; gap:9px; }
.office-member-card { display:grid; grid-template-columns:46px minmax(150px,1fr) minmax(100px,.45fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); }
.member-avatar { width:46px; height:46px; display:grid; place-items:center; color:#fff; border-radius:14px; background:linear-gradient(135deg,var(--brand),#6760d5); font-size:17px; font-weight:900; }
.member-identity strong,.member-identity span,.member-identity small { display:block; }
.member-identity strong { font-size:12px; }
.member-identity span,.member-identity small { margin-top:2px; color:var(--muted); font-size:9px; }
.member-role span,.member-role small { display:block; }
.member-role span { font-size:10px; font-weight:800; }
.member-role small { margin-top:3px; color:var(--muted); font-size:9px; }
.member-actions form { display:flex; align-items:center; gap:6px; }
.member-actions select,.member-actions button { min-height:34px; padding:0 8px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:var(--surface); font-size:9px; }
.member-actions button { color:#fff; border-color:var(--brand); background:var(--brand); font-weight:800; }
.member-actions .danger-link { color:#b33c49; border-color:rgba(179,60,73,.18); background:rgba(179,60,73,.07); }
.owner-badge { padding:7px 9px; color:var(--brand); border-radius:9px; background:var(--brand-soft); font-size:9px; font-weight:800; }
.invite-modern-card > p { margin:-5px 0 18px; color:var(--muted); font-size:11px; line-height:1.6; }
.modern-invite-form { display:grid; gap:13px; }
.permission-modern-card h2 { margin:5px 0 18px; }
.permission-modern-list { display:grid; gap:10px; }
.permission-modern-list > div { display:grid; grid-template-columns:35px 1fr; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); }
.permission-modern-list i { width:35px; height:35px; display:grid; place-items:center; color:var(--brand); border-radius:10px; background:var(--brand-soft); font-size:9px; font-style:normal; font-weight:900; }
.permission-modern-list strong,.permission-modern-list small { display:block; }
.permission-modern-list strong { font-size:10px; }
.permission-modern-list small { margin-top:2px; color:var(--muted); font-size:9px; }
.invite-history-table { min-width:720px; }

/* Appointment management */
.appointment-summary-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.admin-stat-card.accent-warning .stat-icon { color:#a76800; background:#fff3d6; }
.admin-stat-card.accent-success .stat-icon { color:#087654; background:#dff8ed; }
.appointment-filter-panel { padding:18px 20px; }
.appointment-filter-form { display:grid; grid-template-columns:minmax(250px,1.6fr) repeat(3,minmax(140px,.65fr)) auto; gap:12px; align-items:end; }
.appointment-filter-form .filter-actions { display:flex; gap:7px; align-items:center; }
.appointment-management-list { display:grid; gap:13px; }
.appointment-management-card { padding:19px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 65%,transparent)); transition:border-color .2s ease,box-shadow .2s ease; }
.appointment-management-card:hover { border-color:rgba(53,48,145,.25); box-shadow:0 14px 35px rgba(28,24,80,.06); }
.appointment-card-head { display:grid; grid-template-columns:50px minmax(0,1fr) auto; gap:13px; align-items:center; padding-bottom:15px; border-bottom:1px solid var(--line); }
.appointment-customer-avatar { width:50px; height:50px; display:grid; place-items:center; color:#fff; border-radius:15px; background:linear-gradient(135deg,#24205e,#5e57c9); font-size:19px; font-weight:900; }
.appointment-primary h3 { margin:2px 0 4px; font-size:15px; }
.appointment-id { color:var(--brand); font-size:8px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.appointment-contact-links { display:flex; flex-wrap:wrap; gap:8px; }
.appointment-contact-links a { color:var(--muted); font-size:9px; }
.appointment-contact-links a:hover { color:var(--brand); }
.appointment-detail-grid { display:grid; grid-template-columns:1.35fr repeat(3,minmax(130px,.65fr)); gap:10px; margin-top:14px; }
.appointment-detail-grid > div { min-width:0; padding:12px; border-radius:12px; background:var(--surface-2); }
.appointment-detail-grid span,.appointment-detail-grid strong,.appointment-detail-grid small,.appointment-detail-grid a { display:block; }
.appointment-detail-grid span { color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.appointment-detail-grid strong { margin-top:5px; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.appointment-detail-grid small { margin-top:3px; color:var(--muted); font-size:9px; }
.appointment-detail-grid a { margin-top:6px; color:var(--brand); font-size:9px; font-weight:800; }
.customer-note { margin-top:12px; padding:12px 14px; border-left:3px solid var(--brand); border-radius:0 12px 12px 0; background:var(--brand-soft); }
.customer-note span { color:var(--brand); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.customer-note p { margin:5px 0 0; color:var(--ink); font-size:10px; line-height:1.6; }
.appointment-editor { margin-top:12px; border:1px solid var(--line); border-radius:13px; overflow:hidden; }
.appointment-editor summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 14px; cursor:pointer; list-style:none; background:var(--surface-2); }
.appointment-editor summary::-webkit-details-marker { display:none; }
.appointment-editor summary span { font-size:10px; font-weight:900; }
.appointment-editor summary small { color:var(--muted); font-size:9px; }
.appointment-editor[open] summary { color:var(--brand); border-bottom:1px solid var(--line); }
.appointment-editor-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:15px; }
.appointment-editor-form .span-3 { grid-column:span 3; }
.appointment-editor-actions { display:flex; justify-content:flex-end; }

/* Detailed statistics */
.analytics-period-form { min-width:190px; display:grid; gap:7px; padding:14px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(255,255,255,.09); }
.analytics-period-form label { display:grid; gap:6px; }
.analytics-period-form label span,.analytics-period-form small { color:rgba(255,255,255,.67); font-size:9px; }
.analytics-period-form select { min-height:42px; padding:0 10px; color:#fff; border:1px solid rgba(255,255,255,.2); border-radius:10px; background:#29246f; }
.analytics-kpi-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.analytics-main-grid { grid-template-columns:minmax(0,1.6fr) minmax(300px,.65fr); }
.analytics-chart-panel { overflow:hidden; }
.analytics-real-chart { min-height:310px; }
.metric-progress-list { display:grid; gap:16px; }
.metric-progress-list > div > div { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
.metric-progress-list span { color:var(--muted); font-size:10px; }
.metric-progress-list strong { font-size:12px; }
.metric-progress-list i { height:8px; display:block; overflow:hidden; border-radius:99px; background:var(--surface-2); }
.metric-progress-list i b { height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,var(--brand),#716ade); }
.metric-progress-list.compact { gap:12px; }
.analytics-secondary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.status-distribution-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.status-distribution-grid > div { position:relative; min-width:0; display:grid; justify-items:center; gap:4px; padding:14px 8px 10px; overflow:hidden; border:1px solid var(--line); border-radius:13px; background:var(--surface-2); }
.status-distribution-grid strong { font-size:19px; }
.status-distribution-grid small { color:var(--muted); font-size:8px; text-align:center; }
.status-distribution-grid > div > i { position:absolute; inset:auto 0 0; height:3px; background:linear-gradient(90deg,var(--brand) var(--value),transparent var(--value)); }
.status-dot { width:8px; height:8px; border-radius:50%; background:#9b9bad; }
.status-dot.status-pending { background:#dc9c22; }
.status-dot.status-approved { background:#21a574; }
.status-dot.status-completed { background:#353091; }
.status-dot.status-rejected,.status-dot.status-cancelled { background:#c94d5c; }
.analytics-listing-table { min-width:980px; }
.agent-performance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.agent-performance-grid article { position:relative; display:grid; grid-template-columns:46px minmax(130px,1fr) minmax(320px,1.2fr); gap:12px; align-items:center; padding:13px 14px 13px 42px; border:1px solid var(--line); border-radius:15px; background:var(--surface-2); }
.agent-performance-grid article > img { width:46px; height:46px; object-fit:cover; border-radius:13px; background:#fff; }
.agent-performance-grid article > div strong,.agent-performance-grid article > div small { display:block; }
.agent-performance-grid article > div strong { font-size:11px; }
.agent-performance-grid article > div small { margin-top:3px; color:var(--muted); font-size:9px; }
.agent-rank { position:absolute; left:11px; width:22px; height:22px; display:grid; place-items:center; color:var(--brand); border-radius:7px; background:var(--brand-soft); font-size:9px; font-weight:900; }
.agent-performance-grid dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:0; }
.agent-performance-grid dl div { padding:8px; border-radius:9px; background:var(--surface); }
.agent-performance-grid dt { color:var(--muted); font-size:7px; text-transform:uppercase; letter-spacing:.05em; }
.agent-performance-grid dd { margin:3px 0 0; font-size:11px; font-weight:900; }

/* Adviser profile editor */
.agent-editor-hero { min-height:200px; }
.agent-editor-identity { display:flex; align-items:center; gap:20px; }
.agent-editor-avatar { flex:0 0 92px; width:92px; height:92px; padding:5px; border:1px solid rgba(255,255,255,.28); border-radius:25px; background:rgba(255,255,255,.13); }
.agent-editor-avatar img { width:100%; height:100%; object-fit:cover; border-radius:19px; background:#fff; }
.agent-editor-identity h2 { margin-bottom:6px; }
.agent-editor-identity p { font-size:12px; }
.profile-editor-layout { grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr); align-items:start; }
.agent-profile-form { display:grid; gap:24px; }
.profile-photo-uploader { display:grid; grid-template-columns:125px minmax(0,1fr); gap:20px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:17px; background:var(--surface-2); }
.profile-photo-preview { width:125px; height:125px; padding:5px; border:1px solid var(--line); border-radius:25px; background:#fff; }
.profile-photo-preview img { width:100%; height:100%; object-fit:cover; border-radius:19px; }
.profile-photo-uploader p { max-width:500px; margin:9px 0 0; color:var(--muted); font-size:10px; line-height:1.55; }
.profile-editor-sidebar { display:grid; gap:18px; }
.profile-completeness-score { display:flex; align-items:end; gap:8px; margin:16px 0 10px; }
.profile-completeness-score strong { color:var(--brand); font-size:36px; line-height:1; }
.profile-completeness-score span { color:var(--muted); font-size:10px; }
.profile-completeness-bar { height:9px; display:block; overflow:hidden; border-radius:99px; background:var(--surface-2); }
.profile-completeness-bar b { height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,var(--brand),#7770e3); }
.profile-completeness-card ul { display:grid; gap:8px; margin:18px 0 0; padding:0; list-style:none; }
.profile-completeness-card li { position:relative; padding-left:22px; color:var(--muted); font-size:10px; }
.profile-completeness-card li::before { content:"○"; position:absolute; left:0; color:#aaaabc; }
.profile-completeness-card li.is-complete { color:var(--ink); }
.profile-completeness-card li.is-complete::before { content:"✓"; color:#16845f; font-weight:900; }
.profile-visibility-card h3 { margin:7px 0 8px; }
.profile-visibility-card > p { color:var(--muted); font-size:10px; line-height:1.6; }
.profile-visibility-card dl { display:grid; gap:8px; margin:17px 0 0; }
.profile-visibility-card dl div { padding:10px; border-radius:10px; background:var(--surface-2); }
.profile-visibility-card dt { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.06em; }
.profile-visibility-card dd { margin:4px 0 0; font-size:10px; font-weight:800; overflow-wrap:anywhere; }

@media (max-width: 1450px) {
    .modern-office-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .appointment-summary-grid,.analytics-kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .appointment-filter-form { grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(140px,.7fr)); }
    .appointment-filter-form .filter-actions { grid-column:auto; }
    .agent-performance-grid { grid-template-columns:1fr; }
}
@media (max-width: 1120px) {
    .management-hero,.office-control-hero { align-items:flex-start; flex-direction:column; }
    .management-hero-actions,.office-control-actions { justify-content:flex-start; }
    .office-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .office-team-layout,.profile-editor-layout,.analytics-main-grid,.analytics-secondary-grid { grid-template-columns:1fr; }
    .appointment-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .appointment-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .appointment-filter-form .filter-search { grid-column:span 2; }
}
@media (max-width: 760px) {
    .management-hero { min-height:0; padding:25px 21px; border-radius:21px; }
    .management-hero h2 { font-size:28px; }
    .management-hero-actions { width:100%; }
    .management-hero-actions .button { flex:1; }
    .modern-office-grid,.modern-form-grid.two-cols,.appointment-filter-form,.appointment-editor-form { grid-template-columns:1fr; }
    .modern-form-grid .span-2,.appointment-filter-form .filter-search,.appointment-editor-form .span-3 { grid-column:auto; }
    .modern-office-card { grid-template-columns:50px minmax(0,1fr); }
    .modern-office-card-logo { width:50px; height:50px; }
    .modern-office-card-actions { grid-column:1/-1; }
    .office-control-identity { align-items:flex-start; flex-direction:column; }
    .office-control-logo { width:105px; height:105px; flex-basis:105px; }
    .office-kpi-grid,.appointment-summary-grid,.analytics-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .office-section-nav { top:76px; overflow-x:auto; flex-wrap:nowrap; }
    .office-section-nav a { white-space:nowrap; }
    .modern-logo-uploader,.profile-photo-uploader { grid-template-columns:1fr; }
    .modern-logo-uploader .office-logo-preview,.profile-photo-preview { width:110px; height:110px; }
    .office-member-card { grid-template-columns:42px minmax(0,1fr); }
    .member-role { grid-column:2; }
    .member-actions { grid-column:1/-1; }
    .member-actions form { flex-wrap:wrap; }
    .appointment-card-head { grid-template-columns:46px minmax(0,1fr); }
    .appointment-card-head > .status-pill { grid-column:2; justify-self:start; }
    .appointment-detail-grid { grid-template-columns:1fr; }
    .appointment-editor summary { align-items:flex-start; flex-direction:column; gap:3px; }
    .status-distribution-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .agent-performance-grid article { grid-template-columns:42px minmax(0,1fr); padding-left:39px; }
    .agent-performance-grid article > img { width:42px; height:42px; }
    .agent-performance-grid dl { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .agent-editor-identity { align-items:flex-start; flex-direction:column; }
    .agent-editor-avatar { width:80px; height:80px; flex-basis:80px; }
}
@media (max-width: 460px) {
    .office-kpi-grid,.appointment-summary-grid,.analytics-kpi-grid { grid-template-columns:1fr; }
    .modern-office-card { padding:14px; }
    .appointment-management-card { padding:14px; }
    .appointment-contact-links { flex-direction:column; gap:3px; }
}
.status-completed { color:#353091; background:#e7e5ff; }
.status-cancelled { color:#7a5260; background:#f0e8ec; }

/* v1.4.0 — portfolio manager, CRM workspace and verified reviews */
.portfolio-summary-grid,.crm-summary-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.admin-stat-card.accent-danger .stat-icon { color:#a72f43; background:#fde7eb; }
.portfolio-filter-panel,.crm-filter-panel { padding:18px 20px; }
.portfolio-filter-form,.crm-filter-form { display:grid; grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(135px,.65fr)); gap:12px; align-items:end; }
.portfolio-filter-form label,.crm-filter-form label { min-width:0; }
.portfolio-filter-form .filter-actions,.crm-filter-form .filter-actions { display:flex; gap:7px; align-items:center; }
.portfolio-list-panel .admin-panel-head { align-items:flex-end; }
.bulk-action-bar { display:flex; align-items:center; gap:12px; margin-bottom:13px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface-2); }
.bulk-action-bar > div { min-width:0; flex:1; }
.bulk-action-bar strong,.bulk-action-bar span { display:block; }
.bulk-action-bar strong { font-size:11px; }
.bulk-action-bar span { margin-top:2px; color:var(--muted); font-size:9px; }
.bulk-action-bar select { min-width:210px; min-height:38px; padding:0 10px; color:var(--ink); border:1px solid var(--line); border-radius:9px; background:var(--surface); }
.portfolio-management-table { min-width:1240px; }
.selection-cell { width:34px; text-align:center; }
.selection-cell input { width:16px; height:16px; accent-color:var(--brand); }
.portfolio-listing-cell { min-width:330px; }
.portfolio-listing-cell small { display:block; margin-top:3px; color:var(--muted); font-size:8px; }
.portfolio-metrics { display:flex; flex-wrap:wrap; gap:5px; min-width:145px; }
.portfolio-metrics span { padding:5px 7px; color:var(--muted); border-radius:8px; background:var(--surface-2); font-size:8px; font-weight:800; }
.admin-pagination { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:17px; padding-top:16px; border-top:1px solid var(--line); }
.admin-pagination a,.admin-pagination span { font-size:10px; }
.admin-pagination a { padding:8px 11px; color:var(--brand); border:1px solid var(--line); border-radius:9px; background:var(--surface); font-weight:800; }
.admin-pagination a.is-disabled { pointer-events:none; opacity:.38; }
.admin-pagination span { color:var(--muted); }

.crm-workspace { display:grid; grid-template-columns:minmax(420px,.8fr) minmax(520px,1.2fr); gap:18px; align-items:start; }
.crm-workspace > .admin-panel { margin-top:0; }
.crm-contact-panel,.crm-editor-panel { min-width:0; }
.crm-contact-list { display:grid; gap:8px; }
.crm-contact-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:11px; align-items:center; padding:12px; color:var(--ink); border:1px solid var(--line); border-radius:14px; background:var(--surface-2); transition:.2s ease; }
.crm-contact-card:hover,.crm-contact-card.is-active { border-color:rgba(53,48,145,.3); background:color-mix(in srgb,var(--brand-soft) 48%,var(--surface)); box-shadow:0 10px 28px rgba(28,24,80,.06); transform:translateY(-1px); }
.crm-contact-avatar { width:44px; height:44px; display:grid; place-items:center; color:#fff; border-radius:13px; background:linear-gradient(135deg,#29246d,#6861d5); font-size:16px; font-weight:900; }
.crm-contact-main,.crm-contact-meta { min-width:0; display:grid; }
.crm-contact-main strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.crm-contact-main small,.crm-contact-main em,.crm-contact-meta small,.crm-contact-meta em { overflow:hidden; color:var(--muted); font-size:8px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.crm-contact-main small { margin-top:3px; }
.crm-contact-main em { margin-top:5px; color:var(--brand); }
.crm-contact-meta { justify-items:end; gap:5px; }
.crm-contact-meta small.is-overdue { color:#b6374b; font-weight:800; }
.crm-editor-panel { position:sticky; top:95px; max-height:calc(100vh - 116px); overflow:auto; scrollbar-width:thin; }
.crm-editor-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.crm-editor-head h2 { margin:3px 0 5px; font-size:21px; letter-spacing:-.03em; }
.crm-editor-head p { max-width:620px; margin:0; color:var(--muted); font-size:10px; line-height:1.55; }
.crm-editor-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:17px; }
.crm-editor-form .span-2 { grid-column:span 2; }
.crm-editor-form label,.crm-activity-form { min-width:0; }
.crm-editor-form label { display:grid; gap:6px; }
.crm-editor-form label > span { font-size:9px; font-weight:800; }
.crm-editor-form input,.crm-editor-form select,.crm-editor-form textarea,.crm-activity-form select,.crm-activity-form textarea { width:100%; color:var(--ink); border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.crm-editor-form input,.crm-editor-form select { min-height:40px; padding:0 10px; }
.crm-editor-form textarea,.crm-activity-form textarea { padding:10px; resize:vertical; }
.crm-form-actions { display:flex; gap:8px; justify-content:flex-end; }
.crm-activity-section { margin-top:22px; padding-top:19px; border-top:1px solid var(--line); }
.crm-section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.crm-section-title h3 { margin:3px 0 0; font-size:17px; }
.crm-section-title > span { color:var(--muted); font-size:9px; }
.crm-activity-form { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:8px; align-items:end; margin-top:13px; padding:12px; border:1px solid var(--line); border-radius:13px; background:var(--surface-2); }
.crm-activity-form select { min-height:38px; padding:0 8px; }
.crm-activity-form textarea { min-height:72px; }
.crm-activity-timeline { position:relative; display:grid; gap:0; margin-top:16px; }
.crm-activity-timeline::before { content:""; position:absolute; top:12px; bottom:12px; left:15px; width:1px; background:var(--line); }
.crm-activity-timeline article { position:relative; display:grid; grid-template-columns:31px minmax(0,1fr); gap:10px; padding:0 0 16px; }
.crm-activity-icon { z-index:1; width:31px; height:31px; display:grid; place-items:center; color:var(--brand); border:1px solid var(--line); border-radius:10px; background:var(--surface); font-size:10px; font-weight:900; }
.crm-activity-timeline strong { font-size:10px; }
.crm-activity-timeline p { margin:4px 0; color:var(--ink); font-size:10px; line-height:1.55; }
.crm-activity-timeline small { color:var(--muted); font-size:8px; }
.crm-editor-empty { min-height:420px; display:grid; place-items:center; align-content:center; gap:9px; text-align:center; }
.crm-editor-empty > span { width:66px; height:66px; display:grid; place-items:center; color:var(--brand); border-radius:20px; background:var(--brand-soft); font-size:26px; }
.crm-editor-empty h3 { margin:8px 0 0; font-size:21px; }
.crm-editor-empty p { max-width:420px; margin:0 0 8px; color:var(--muted); font-size:11px; line-height:1.65; }
.compact-empty-state.mini { min-height:110px; margin-top:14px; }

/* Verified reviews redesign */
.testimonial-section { position:relative; overflow:hidden; background:linear-gradient(180deg,var(--surface-2),color-mix(in srgb,var(--surface-2) 72%,var(--surface))); }
.testimonial-section::before { content:""; position:absolute; width:520px; height:520px; right:-230px; top:-240px; border-radius:50%; background:radial-gradient(circle,rgba(53,48,145,.12),transparent 68%); pointer-events:none; }
.testimonial-heading-layout { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:50px; align-items:end; margin-bottom:34px; }
.testimonial-heading { margin:0; text-align:left; }
.testimonial-heading h2 { max-width:800px; margin:8px 0 12px; }
.testimonial-heading p { max-width:700px; margin:0; }
.testimonial-score-card { display:grid; gap:13px; padding:20px; border:1px solid color-mix(in srgb,var(--line) 78%,transparent); border-radius:22px; background:color-mix(in srgb,var(--surface) 92%,transparent); box-shadow:0 18px 44px rgba(27,23,76,.07); backdrop-filter:blur(12px); }
.testimonial-score-main { display:flex; align-items:center; gap:15px; }
.testimonial-score-main > strong { font-size:48px; line-height:.95; letter-spacing:-.06em; }
.testimonial-score-main > div { display:grid; gap:4px; }
.testimonial-score-main small,.testimonial-score-meta small { color:var(--muted); font-size:9px; }
.testimonial-score-meta { display:flex; align-items:center; gap:7px; padding-top:12px; border-top:1px solid var(--line); }
.testimonial-score-meta span { color:var(--brand); font-size:13px; font-weight:900; }
.testimonial-grid-modern { position:relative; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.testimonial-card-modern { min-height:300px; display:flex; flex-direction:column; padding:24px; border-radius:22px; box-shadow:0 14px 36px rgba(26,23,70,.045); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.testimonial-card-modern:hover { transform:translateY(-3px); border-color:rgba(53,48,145,.22); box-shadow:0 20px 46px rgba(26,23,70,.08); }
.testimonial-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.testimonial-quote-mark { height:35px; color:var(--brand); font-family:Georgia,serif; font-size:46px; line-height:1; }
.verified-review-badge { padding:6px 8px; color:#087654; border-radius:99px; background:#e1f7ee; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.testimonial-stars { margin-top:14px; }
.testimonial-card-modern > p { min-height:0; flex:1; margin:17px 0 24px; font-family:inherit; font-size:16px; line-height:1.65; }
.testimonial-card-modern footer { display:flex; align-items:center; gap:11px; padding-top:15px; border-top:1px solid var(--line); }
.testimonial-card-modern footer img,.testimonial-avatar-fallback { width:42px; height:42px; flex:0 0 42px; border-radius:13px; }
.testimonial-card-modern footer img { object-fit:cover; background:#fff; }
.testimonial-avatar-fallback { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--brand),#6d66da); font-weight:900; }
.testimonial-card-modern footer div { min-width:0; display:grid; gap:3px; }
.testimonial-card-modern footer strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.testimonial-card-modern footer span { font-size:8px; }
.testimonial-empty-modern { min-height:230px; }
.testimonial-empty-modern > span { color:var(--brand); font-size:28px; }
.testimonial-empty-modern p { margin:0; color:var(--muted); font-size:11px; }
.review-compose-modern { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(480px,1.28fr); gap:34px; align-items:start; margin-top:26px; padding:30px; border-radius:25px; background:var(--surface); box-shadow:0 18px 48px rgba(28,24,80,.06); }
.review-compose-copy h3 { max-width:520px; margin:7px 0 10px; font-size:28px; letter-spacing:-.04em; }
.review-compose-copy p { max-width:550px; margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
.review-trust-list { display:grid; gap:8px; margin:20px 0 0; padding:0; list-style:none; }
.review-trust-list li { position:relative; padding-left:24px; color:var(--ink); font-size:10px; font-weight:750; }
.review-trust-list li::before { content:"✓"; position:absolute; left:0; width:17px; height:17px; display:grid; place-items:center; color:#087654; border-radius:6px; background:#e1f7ee; font-size:9px; }
.review-form-modern { padding:18px; border:1px solid var(--line); border-radius:18px; background:var(--surface-2); }
.review-rating-field { display:grid; gap:8px; }
.review-rating-field > span,.review-form-modern label > span { font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.rating-choice-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.rating-choice-grid label { cursor:pointer; }
.rating-choice-grid input { position:absolute; opacity:0; pointer-events:none; }
.rating-choice-grid label > span { min-height:58px; display:grid; place-items:center; align-content:center; gap:3px; padding:7px 5px; border:1px solid var(--line); border-radius:10px; background:var(--surface); text-align:center; transition:.2s ease; }
.rating-choice-grid b { color:#d49a1c; font-size:11px; }
.rating-choice-grid small { color:var(--muted); font-size:7px; line-height:1.2; }
.rating-choice-grid input:checked + span { color:var(--brand); border-color:rgba(53,48,145,.35); background:var(--brand-soft); box-shadow:0 0 0 2px rgba(53,48,145,.08); }
.review-form-modern textarea { min-height:120px; border-radius:12px; }
.review-form-modern label > small { color:var(--muted); font-size:8px; }
.review-login-panel { min-height:250px; display:grid; justify-items:center; align-content:center; gap:9px; padding:25px; border:1px solid var(--line); border-radius:18px; background:var(--surface-2); text-align:center; }
.review-login-icon { width:62px; height:62px; display:grid; place-items:center; color:var(--brand); border-radius:20px; background:var(--brand-soft); font-size:24px; }
.review-login-panel strong { margin-top:6px; font-size:17px; }
.review-login-panel p { max-width:430px; margin:0 0 6px; color:var(--muted); font-size:10px; line-height:1.6; }

@media (max-width:1450px) {
    .portfolio-summary-grid,.crm-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .portfolio-filter-form,.crm-filter-form { grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(130px,.65fr)); }
    .crm-workspace { grid-template-columns:minmax(380px,.8fr) minmax(480px,1.2fr); }
}
@media (max-width:1120px) {
    .portfolio-filter-form,.crm-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .portfolio-filter-form .filter-search,.crm-filter-form .filter-search { grid-column:span 2; }
    .crm-workspace { grid-template-columns:1fr; }
    .crm-editor-panel { position:static; max-height:none; }
    .testimonial-heading-layout { grid-template-columns:1fr; gap:20px; }
    .testimonial-score-card { max-width:420px; }
    .testimonial-grid-modern { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .review-compose-modern { grid-template-columns:1fr; }
}
@media (max-width:760px) {
    .portfolio-summary-grid,.crm-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .portfolio-filter-form,.crm-filter-form,.crm-editor-form { grid-template-columns:1fr; }
    .portfolio-filter-form .filter-search,.crm-filter-form .filter-search,.crm-editor-form .span-2 { grid-column:auto; }
    .bulk-action-bar { align-items:stretch; flex-direction:column; }
    .bulk-action-bar select { width:100%; min-width:0; }
    .crm-contact-card { grid-template-columns:40px minmax(0,1fr); }
    .crm-contact-avatar { width:40px; height:40px; }
    .crm-contact-meta { grid-column:2; justify-items:start; }
    .crm-activity-form { grid-template-columns:1fr; }
    .testimonial-grid-modern { grid-template-columns:1fr; }
    .testimonial-card-modern { min-height:0; }
    .review-compose-modern { padding:21px; }
    .rating-choice-grid { grid-template-columns:repeat(5,minmax(54px,1fr)); overflow-x:auto; padding-bottom:4px; }
    .rating-choice-grid label > span { min-width:54px; }
}
@media (max-width:460px) {
    .portfolio-summary-grid,.crm-summary-grid { grid-template-columns:1fr; }
    .testimonial-score-main > strong { font-size:40px; }
    .review-compose-copy h3 { font-size:24px; }
}
.status-published,.status-won { color:#087654; background:#dff8ed; }
.status-draft,.status-contacted { color:#5d6070; background:#ececf2; }
.status-review,.status-new,.status-offer { color:#9a6500; background:#fff1cd; }
.status-sold,.status-rented,.status-showing { color:#353091; background:#e7e5ff; }
.status-lost { color:#a83347; background:#fde6ea; }

/* =========================================================
   v1.5.0 · canlı operasyon, güvenlik ve modern yönetim yüzeyi
   ========================================================= */
.honeypot-field { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0!important; pointer-events:none!important; }

/* Modern filtre çalışma alanları */
.modern-filter-panel { position:relative; overflow:hidden; padding:0; border:1px solid color-mix(in srgb,var(--brand) 12%,var(--line)); background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 98%,var(--brand-soft)),var(--surface)); box-shadow:0 20px 56px rgba(35,31,91,.08); }
.modern-filter-panel::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:4px; background:linear-gradient(90deg,var(--brand),var(--brand-3),transparent 85%); }
.modern-filter-head { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; padding:28px 30px 22px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 95% -20%,rgba(123,117,213,.14),transparent 38%); }
.modern-filter-head h2 { margin:0 0 7px; font-size:clamp(22px,2vw,30px); letter-spacing:-.035em; }
.modern-filter-head p { max-width:720px; margin:0; color:var(--muted); font-size:14px; }
.filter-shortcut { flex:0 0 auto; display:inline-flex; align-items:center; min-height:34px; padding:0 12px; border:1px solid var(--line); border-radius:10px; color:var(--muted); background:var(--surface); font-size:12px; font-weight:750; box-shadow:var(--shadow-sm); }
.modern-filter-grid { padding:25px 30px 30px; }
.modern-filter-grid label { display:flex; flex-direction:column; gap:8px; }
.modern-filter-grid label > span { margin:0; color:var(--ink); font-size:12px; font-weight:800; letter-spacing:.02em; }
.modern-filter-grid input,.modern-filter-grid select { width:100%; min-height:50px; padding:0 14px; border:1px solid var(--line); border-radius:13px; color:var(--ink); background:color-mix(in srgb,var(--surface) 96%,var(--surface-2)); outline:0; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.modern-filter-grid input:focus,.modern-filter-grid select:focus { border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in srgb,var(--brand-soft) 75%,transparent); transform:translateY(-1px); }
.modern-filter-grid .filter-search { position:relative; }
.modern-filter-grid .filter-search input { padding-left:44px; }
.modern-filter-grid .filter-search::after { content:"⌕"; position:absolute; left:15px; bottom:13px; color:var(--brand); font-size:22px; line-height:1; }
.modern-filter-grid .filter-actions { align-self:end; display:flex; gap:10px; min-height:50px; }
.modern-filter-grid .filter-actions .button { min-height:50px; padding-inline:20px; }

/* İlan stüdyosu */
.listing-form-page { display:grid; gap:20px; }
.listing-form-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:flex-end; justify-content:space-between; gap:30px; min-height:230px; padding:38px 42px; color:#fff; border-radius:26px; background:linear-gradient(128deg,#211d58 0%,#353091 58%,#5a53bd 100%); box-shadow:0 28px 70px rgba(34,29,100,.24); }
.listing-form-hero::before { content:""; position:absolute; z-index:-1; width:340px; height:340px; right:-90px; top:-180px; border-radius:50%; background:rgba(255,255,255,.14); }
.listing-form-hero::after { content:""; position:absolute; z-index:-1; inset:0; opacity:.12; background-image:linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(90deg,#000,transparent 88%); }
.listing-form-hero .eyebrow { color:#d7d4ff; }
.listing-form-hero h2 { max-width:780px; margin:0; font-size:clamp(30px,3.4vw,48px); line-height:1.03; letter-spacing:-.05em; }
.listing-form-hero p { max-width:690px; margin:16px 0 0; color:rgba(255,255,255,.72); font-size:15px; }
.listing-form-hero-meta { flex:0 0 auto; min-width:210px; padding:18px 20px; border:1px solid rgba(255,255,255,.2); border-radius:17px; background:rgba(255,255,255,.1); backdrop-filter:blur(12px); }
.listing-form-hero-meta span,.listing-form-hero-meta strong { display:block; }
.listing-form-hero-meta span { color:rgba(255,255,255,.65); font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.listing-form-hero-meta strong { margin-top:7px; font-size:14px; }
.listing-form-steps { position:sticky; z-index:20; top:14px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:9px; border:1px solid color-mix(in srgb,var(--line) 85%,transparent); border-radius:18px; background:color-mix(in srgb,var(--surface) 92%,transparent); box-shadow:0 14px 38px rgba(27,24,68,.1); backdrop-filter:blur(18px); }
.listing-form-steps a { display:flex; align-items:center; gap:10px; min-height:48px; padding:7px 11px; color:var(--muted); border-radius:12px; font-size:12px; font-weight:800; transition:.2s ease; }
.listing-form-steps a b { width:29px; height:29px; display:grid; place-items:center; flex:0 0 auto; color:var(--brand); border-radius:9px; background:var(--brand-soft); }
.listing-form-steps a:hover,.listing-form-steps a.is-active { color:#fff; background:var(--brand); box-shadow:0 9px 23px rgba(53,48,145,.24); }
.listing-form-steps a:hover b,.listing-form-steps a.is-active b { color:var(--brand); background:#fff; }
.listing-editor { gap:24px; }
.listing-editor .editor-main { display:grid; gap:20px; }
.listing-editor .form-panel { scroll-margin-top:92px; padding:30px; border:1px solid var(--line); border-radius:20px; box-shadow:0 14px 38px rgba(27,24,68,.055); }
.listing-editor .form-panel:not(.form-panel-intro) { background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-2) 54%,var(--surface))); }
.listing-editor .admin-panel-head { margin-bottom:24px; padding-bottom:19px; border-bottom:1px solid var(--line); }
.listing-editor .form-grid { gap:17px; }
.listing-editor .form-panel label > span,.listing-editor .publish-panel label > span { color:var(--ink); font-size:12px; font-weight:800; }
.listing-editor .form-panel input,.listing-editor .form-panel select,.listing-editor .form-panel textarea,.listing-editor .publish-panel select { min-height:51px; border-radius:13px; background:var(--surface); }
.listing-editor .form-panel textarea { padding:14px; }
.listing-editor .editor-sidebar { position:sticky; top:82px; display:grid; gap:18px; }
.listing-editor .publish-panel { padding:26px; border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line)); border-radius:21px; box-shadow:0 24px 55px rgba(31,27,85,.12); }
.listing-editor .publish-panel h2 { margin:3px 0 22px; font-size:25px; letter-spacing:-.04em; }
.listing-editor .tips-panel { padding:24px; border-radius:20px; background:var(--surface-2); }
.listing-editor .upload-dropzone { min-height:230px; padding:28px; border:2px dashed color-mix(in srgb,var(--brand) 28%,var(--line)); border-radius:18px; background:color-mix(in srgb,var(--brand-soft) 38%,var(--surface)); transition:.2s ease; }
.listing-editor .upload-dropzone:hover,.listing-editor .upload-dropzone.is-dragging { border-color:var(--brand); background:var(--brand-soft); transform:translateY(-2px); }

/* İlan yorumları ve canlı durum */
.listing-comments-list { display:grid; gap:15px; }
.listing-comment-card { padding:22px; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:0 10px 30px rgba(27,24,68,.055); }
.listing-comment-head { display:grid; grid-template-columns:46px minmax(0,1fr) auto; gap:12px; align-items:center; }
.comment-author-avatar { width:46px; height:46px; overflow:hidden; display:grid; place-items:center; border-radius:15px; color:#fff; background:linear-gradient(145deg,var(--brand),var(--brand-3)); font-weight:850; }
.comment-author-avatar img { width:100%; height:100%; object-fit:cover; }
.comment-author-meta strong,.comment-author-meta span { display:block; }
.comment-author-meta span { margin-top:2px; color:var(--muted); font-size:11px; }
.comment-actions { display:flex; gap:7px; }
.comment-actions button { padding:6px 9px; border:1px solid var(--line); border-radius:8px; color:var(--brand); background:var(--surface-2); font-size:11px; font-weight:800; }
.comment-actions button.danger { color:var(--danger); }
.listing-comment-card > p { margin:17px 0 0; color:var(--ink); line-height:1.7; }
.comment-inline-editor,.office-comment-reply form { display:grid; gap:10px; margin-top:15px; }
.comment-inline-editor textarea,.office-comment-reply textarea { width:100%; padding:13px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--surface-2); }
.comment-inline-editor > div { display:flex; gap:8px; }
.listing-comment-replies { display:grid; gap:10px; margin:18px 0 0 58px; }
.listing-comment-reply { padding:16px 18px; border-left:3px solid var(--brand); border-radius:0 13px 13px 0; background:var(--brand-soft); }
.listing-comment-reply p { margin:8px 0; }
.listing-comment-reply small { color:var(--muted); }
.official-reply-badge { color:var(--brand); font-size:11px; font-weight:850; }
.office-comment-reply { margin:16px 0 0 58px; }
.office-comment-reply summary { color:var(--brand); cursor:pointer; font-size:12px; font-weight:800; }
.listing-comments-empty { display:grid; justify-items:center; gap:6px; padding:45px 24px; border:1px dashed var(--line); border-radius:18px; text-align:center; background:var(--surface-2); }
.listing-comments-empty span { font-size:25px; color:var(--brand); }
.listing-comments-empty p { margin:0; color:var(--muted); }
.is-live-updated { animation:live-pulse 1.55s ease; }
@keyframes live-pulse { 0%,100%{box-shadow:none} 35%{color:var(--brand);text-shadow:0 0 20px rgba(53,48,145,.28)} }
.detail-section.is-listing-unavailable::before { content:"Bu ilan yayından kaldırıldı"; position:fixed; z-index:1200; left:50%; top:96px; transform:translateX(-50%); padding:12px 18px; color:#fff; border-radius:12px; background:var(--danger); box-shadow:var(--shadow-md); font-weight:800; }

/* Bildirim merkezi */
.notification-center { position:relative; }
.notification-button { position:relative; font-size:18px; }
.notification-button b { position:absolute; top:-5px; right:-5px; min-width:19px; height:19px; display:grid; place-items:center; padding:0 5px; color:#fff; border:2px solid var(--surface); border-radius:999px; background:var(--danger); font-size:9px; line-height:1; }
.notification-popover { position:absolute; z-index:1600; top:calc(100% + 12px); right:0; width:min(390px,calc(100vw - 28px)); overflow:hidden; border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:0 28px 80px rgba(20,17,57,.22); }
.notification-popover-head { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:19px 20px 15px; border-bottom:1px solid var(--line); }
.notification-popover-head .eyebrow { margin:0 0 2px; font-size:9px; }
.notification-popover-head strong { display:block; font-size:16px; }
.notification-popover-head button { width:32px; height:32px; border:0; border-radius:9px; color:var(--muted); background:var(--surface-2); font-size:20px; }
.notification-list { max-height:430px; overflow:auto; }
.notification-item { display:grid; grid-template-columns:18px minmax(0,1fr); gap:9px; padding:15px 18px; border-bottom:1px solid var(--line); transition:background .2s ease; }
.notification-item:hover { background:var(--surface-2); }
.notification-item.is-unread { background:color-mix(in srgb,var(--brand-soft) 55%,var(--surface)); }
.notification-marker { color:var(--brand); font-size:10px; padding-top:4px; }
.notification-item strong { display:block; font-size:13px; }
.notification-item p { margin:4px 0; color:var(--muted); font-size:12px; line-height:1.45; }
.notification-item small { color:var(--muted); font-size:10px; }
.notification-footer-link { display:block; padding:13px 18px; color:var(--brand); background:var(--surface-2); text-align:center; font-size:12px; font-weight:850; }
.notification-loading,.notification-empty { padding:32px 20px; color:var(--muted); text-align:center; }
.notification-empty { display:grid; justify-items:center; gap:5px; }
.notification-empty span { width:38px; height:38px; display:grid; place-items:center; color:var(--success); border-radius:50%; background:color-mix(in srgb,var(--success) 12%,transparent); }
.notification-empty strong { color:var(--ink); }
.notification-empty small { max-width:270px; }

/* Kişisel randevu ve başvuru ekranları */
.user-appointment-list { display:grid; gap:16px; }
.user-appointment-card { padding:23px; border:1px solid var(--line); border-radius:19px; background:linear-gradient(145deg,var(--surface),var(--surface-2)); box-shadow:0 12px 34px rgba(27,24,68,.06); }
.user-appointment-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.user-appointment-head h3 { margin:4px 0; font-size:18px; }
.user-appointment-head small,.user-appointment-head > div > span { color:var(--muted); font-size:11px; }
.user-appointment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:18px; }
.user-appointment-grid > div { padding:14px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.user-appointment-grid span,.user-appointment-grid small,.user-appointment-grid strong { display:block; }
.user-appointment-grid span { color:var(--muted); font-size:10px; font-weight:750; }
.user-appointment-grid strong { margin-top:5px; }
.user-appointment-grid small { margin-top:2px; color:var(--muted); }
.appointment-office-response { margin-top:14px; padding:16px 18px; border-left:3px solid var(--brand); border-radius:0 13px 13px 0; background:var(--brand-soft); }
.appointment-office-response span { color:var(--brand); font-size:10px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.appointment-office-response p { margin:7px 0 0; }
.user-appointment-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:17px; }

@media (max-width:1100px) {
    .modern-filter-grid.portfolio-filter-form,.modern-filter-grid.crm-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .modern-filter-grid .filter-search { grid-column:1/-1; }
    .listing-form-hero { align-items:flex-start; flex-direction:column; }
    .listing-form-hero-meta { width:100%; }
    .listing-form-steps { position:relative; top:auto; overflow-x:auto; grid-template-columns:repeat(5,minmax(155px,1fr)); }
    .listing-editor .editor-sidebar { position:static; }
}
@media (max-width:760px) {
    .modern-filter-head { padding:23px 21px 18px; }
    .filter-shortcut { display:none; }
    .modern-filter-grid { padding:20px; }
    .modern-filter-grid.portfolio-filter-form,.modern-filter-grid.crm-filter-form { grid-template-columns:1fr; }
    .modern-filter-grid .filter-search { grid-column:auto; }
    .modern-filter-grid .filter-actions { flex-direction:column; }
    .modern-filter-grid .filter-actions .button { width:100%; }
    .listing-form-hero { min-height:0; padding:29px 23px; border-radius:20px; }
    .listing-form-steps { margin-inline:-2px; }
    .listing-editor .form-panel { padding:21px; }
    .notification-center-public .notification-popover { position:fixed; top:76px; right:14px; }
    .nav-actions .notification-button,.admin-top-actions .notification-button { display:inline-grid!important; }
    .user-appointment-grid { grid-template-columns:1fr; }
    .listing-comment-head { grid-template-columns:42px minmax(0,1fr); }
    .comment-actions { grid-column:2; }
    .listing-comment-replies,.office-comment-reply { margin-left:0; }
}
.member-approval-note { display:inline-flex; margin-top:5px; padding:4px 7px; color:#9a6500; border-radius:7px; background:#fff1cd; font-size:9px; font-style:normal; font-weight:800; }
.user-access-cell .access-form { display:grid; grid-template-columns:repeat(3,minmax(120px,1fr)) auto; gap:7px; align-items:center; }
.user-access-cell .access-form select { min-height:38px; padding:0 9px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); }
@media(max-width:900px){.user-access-cell .access-form{grid-template-columns:1fr;min-width:210px}}

/* v1.6.0 — tek marka, bildirim ve yorum arayüzü */
.form-honeypot,
.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.auth-register-single .auth-card { max-width: 760px; }
.auth-register-single .auth-visual-inner { max-width: 560px; }
.access-form-simple { grid-template-columns: minmax(130px,1fr) minmax(120px,1fr) auto; }

/* Hesap bildirimleri */
.account-notification-list { display: grid; gap: 12px; }
.account-notification-item {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px 18px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(24,20,67,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.account-notification-item:hover { transform: translateY(-1px); border-color: color-mix(in srgb,var(--brand) 35%,var(--line)); box-shadow: 0 14px 34px rgba(24,20,67,.08); }
.account-notification-item.is-unread { border-color: color-mix(in srgb,var(--brand) 38%,var(--line)); background: linear-gradient(135deg,color-mix(in srgb,var(--brand-soft) 70%,var(--surface)),var(--surface)); }
.account-notification-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: var(--brand); border-radius: 15px; background: var(--brand-soft); font-size: 20px; font-weight: 900; }
.account-notification-copy { display: grid; gap: 4px; min-width: 0; }
.account-notification-copy > div { display: flex; align-items: center; gap: 8px; }
.account-notification-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.account-notification-copy small,
.account-notification-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-notification-copy time { color: color-mix(in srgb,var(--muted) 78%,transparent); font-size: 10px; font-weight: 700; }
.unread-dot { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; padding: 0 8px; color: #fff; border-radius: 999px; background: var(--brand); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.notifications-page-panel { padding: clamp(22px,3vw,34px); }
.notifications-page-heading { align-items: flex-start; }
.notifications-page-heading p { margin: 6px 0 0; color: var(--muted); }
.notification-page-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.notification-page-actions form { margin: 0; }
.account-notification-list-full .account-notification-item { grid-template-columns: 52px minmax(0,1fr) auto; }
.account-notification-actions { display: flex; align-items: center; gap: 7px; }
.account-notification-actions form { margin: 0; }
.account-notification-actions a,
.account-notification-actions button { min-width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0 11px; color: var(--brand); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 11px; font-weight: 850; cursor: pointer; }
.account-notification-actions a:hover,
.account-notification-actions button:hover { color: #fff; border-color: var(--brand); background: var(--brand); }
.notification-empty-state { min-height: 230px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 28px; color: var(--muted); border: 1px dashed var(--line); border-radius: 20px; background: var(--surface-2); text-align: center; }
.notification-empty-state > span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--brand); border-radius: 18px; background: var(--brand-soft); font-size: 24px; }
.notification-empty-state strong { color: var(--ink); font-size: 17px; }
.notification-empty-state p { margin: 0; }

/* İlan yorumları */
.listing-comments-block { overflow: hidden; }
.comments-section-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.comments-section-intro h2 { margin: 5px 0 8px; font-size: clamp(25px,3vw,36px); }
.comments-section-intro p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.65; }
.comments-summary { min-width: 92px; display: grid; justify-items: center; padding: 14px 16px; color: var(--brand); border: 1px solid color-mix(in srgb,var(--brand) 22%,var(--line)); border-radius: 17px; background: var(--brand-soft); }
.comments-summary strong { font-size: 25px; line-height: 1; }
.comments-summary span { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.comment-composer-card { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; margin-bottom: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg,var(--surface),var(--surface-2)); }
.comment-create-avatar,
.listing-comment-avatar { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; color: #fff; border-radius: 15px; background: linear-gradient(145deg,var(--brand),#5550c8); font-size: 17px; font-weight: 900; }
.listing-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-composer-main { display: grid; gap: 9px; }
.comment-composer-main > label { color: var(--ink); font-size: 13px; font-weight: 850; }
.comment-composer-main textarea,
.listing-comment-edit-form textarea,
.office-comment-reply textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.comment-composer-main textarea:focus,
.listing-comment-edit-form textarea:focus,
.office-comment-reply textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb,var(--brand) 10%,transparent); outline: 0; }
.comment-composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.comment-composer-footer small { color: var(--muted); }
.listing-comments-list { display: grid; gap: 16px; }
.listing-comment-card { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 30px rgba(24,20,67,.045); }
.listing-comment-content { min-width: 0; }
.listing-comment-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.listing-comment-header > div:first-child { display: grid; gap: 3px; }
.listing-comment-header strong { font-size: 14px; }
.listing-comment-header span { color: var(--muted); font-size: 10px; }
.listing-comment-actions { display: flex; gap: 5px; }
.listing-comment-actions button { padding: 6px 9px; color: var(--muted); border: 0; border-radius: 8px; background: var(--surface-2); font-size: 10px; font-weight: 800; cursor: pointer; }
.listing-comment-actions button:last-child { color: var(--danger); }
.listing-comment-body { margin: 14px 0 0; color: var(--ink); font-size: 14px; line-height: 1.75; }
.listing-comment-edit-form { display: grid; gap: 10px; margin-top: 13px; }
.listing-comment-edit-form > div { display: flex; gap: 8px; }
.listing-comment-replies { display: grid; gap: 10px; margin-top: 16px; padding-left: 15px; border-left: 2px solid color-mix(in srgb,var(--brand) 28%,var(--line)); }
.listing-comment-reply { padding: 15px 16px; border: 1px solid color-mix(in srgb,var(--brand) 18%,var(--line)); border-radius: 16px; background: color-mix(in srgb,var(--brand-soft) 45%,var(--surface)); }
.official-reply-head { display: flex; align-items: center; gap: 10px; }
.official-reply-head img { width: 34px; height: 34px; object-fit: contain; padding: 4px; border-radius: 10px; background: #fff; }
.official-reply-head > div { display: grid; gap: 2px; }
.official-reply-head strong { color: var(--brand); font-size: 12px; }
.official-reply-head span { color: var(--muted); font-size: 9px; }
.listing-comment-reply p { margin: 11px 0 7px; font-size: 13px; line-height: 1.65; }
.listing-comment-reply small { color: var(--muted); font-size: 9px; }
.office-comment-reply { margin-top: 14px; }
.office-comment-reply summary { width: fit-content; color: var(--brand); cursor: pointer; font-size: 11px; font-weight: 850; }
.office-comment-reply form { display: grid; gap: 9px; margin-top: 10px; padding: 13px; border-radius: 15px; background: var(--surface-2); }
.listing-comments-empty { min-height: 210px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 26px; color: var(--muted); border: 1px dashed var(--line); border-radius: 19px; background: var(--surface-2); text-align: center; }
.listing-comments-empty > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--brand); border-radius: 15px; background: var(--brand-soft); font-size: 21px; }
.listing-comments-empty strong { color: var(--ink); }
.listing-comments-empty p { margin: 0; }
.comment-login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
.comment-login-prompt > div { display: grid; gap: 4px; }
.comment-login-prompt span { color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
    .access-form-simple { grid-template-columns: 1fr; }
    .comments-section-intro { flex-direction: column; }
    .comments-summary { grid-template-columns: auto auto; gap: 6px; min-width: 0; }
    .comments-summary span { margin: 0; align-self: end; }
    .comment-composer-card,
    .listing-comment-card { grid-template-columns: 40px minmax(0,1fr); padding: 14px; }
    .comment-create-avatar,
    .listing-comment-avatar { width: 40px; height: 40px; border-radius: 12px; }
    .comment-composer-footer,
    .comment-login-prompt,
    .notifications-page-heading { align-items: stretch; flex-direction: column; }
    .comment-composer-footer .button { width: 100%; }
    .account-notification-item,
    .account-notification-list-full .account-notification-item { grid-template-columns: 42px minmax(0,1fr); }
    .account-notification-icon { width: 42px; height: 42px; border-radius: 13px; }
    .account-notification-actions { grid-column: 2; justify-content: flex-start; }
}
