:root {
    --first: #2F5D8C;
    --sec: #DCE8F4;
    --third: #F5F9FD;
    --gray: #343F49;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; font-family: 'Open Sans', sans-serif; font-size: 0; scroll-behavior: smooth; }
body { color: var(--gray); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, textarea, select { border: 2px solid var(--first); border-radius: 16px; padding: 12px 16px; font-size: 16px; font-family: 'Open Sans', sans-serif; width: 100%; background: white; color: var(--gray); }
button { border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
.motion2ms { transition: all 0.2s ease; }
.motion5ms { transition: all 0.5s ease; }
.font { font-family: 'Comfortaa', sans-serif; }
.bg-first-color { background-color: var(--first); }
.first-color { color: var(--first); }
.bg-sec-color { background-color: var(--sec); }
.sec-color { color: var(--sec); }
.bg-third-color { background-color: var(--third); }
.bg-gray { background-color: var(--gray); }
.gray { color: var(--gray); }
.white { color: white; }
.bold { font-weight: 700; }
.fz12 { font-size: 11px; line-height: 18px; }
.fz16 { font-size: 16px; line-height: 24px; }
.fz22 { font-size: 22px; line-height: 26px; }
.fz26 { font-size: 26px; line-height: 34px; }
.fz42 { font-size: 42px; line-height: 50px; }
.radius { border-radius: 40px; overflow: hidden; }
.aleft { text-align: left; }
.aright { text-align: right; }
.acenter { text-align: center; }
.ltr { direction: ltr; }
.rtl { direction: rtl; }
.wrapper { width: 95%; max-width: 1550px; margin: 0 auto; position: relative; }
.half-bg { width: 100%; height: 65%; position: absolute; inset: 0 0 auto; }
.logo-bg { background-position: left center; background-size: 60% auto; background-repeat: no-repeat; }
.right-bg-section { background-position: right center; background-size: 20% auto; background-repeat: no-repeat; }
.section-padding { padding: 80px 0; position: relative; }
.header { padding: 40px 0; }
.logo { width: 360px; }
.footer-logo { width: 210px; }
.header nav { margin-top: 30px; }
.header ul { list-style: none; display: inline-block; margin: 0; padding: 0; }
.header ul li { display: inline; margin: 0 15px; }
.header ul li a { color: var(--gray); padding: 10px 15px; border-bottom: 2px solid transparent; }
.header ul li a:hover, .header ul li a[aria-current="page"] { color: var(--first); border-bottom-color: var(--first); }
.two-block, .three-block { display: table; width: 100%; }
.two-block .cell { width: 50%; display: table-cell; vertical-align: middle; position: relative; }
.three-block .cell { width: 33.33%; display: table-cell; vertical-align: top; position: relative; }
.cell-padding { padding: 0 3%; }
.cell-text { display: flex; flex-direction: column; justify-content: center; }
.cell .cell-img { width: 100%; margin-top: 30px; }
.cell .icon-wrapper { background: white; border-radius: 100px; width: 20%; padding: 4%; position: absolute; margin: -10% 30%; z-index: 10; box-shadow: 0 12px 30px rgba(52, 63, 73, 0.08); }
.first-btn, .sec-btn { border-radius: 50px; font-size: 18px; padding: 15px 42px; font-family: 'Comfortaa', sans-serif; font-weight: 700; display: inline-block; }
.first-btn { border: 2px solid var(--first); color: var(--sec); background: var(--first); }
.first-btn:hover { color: var(--first); background: var(--sec); }
.sec-btn { border: 2px solid var(--sec); color: var(--gray); background: var(--sec); }
.sec-btn:hover { color: var(--sec); background: transparent; }
.card { cursor: pointer; user-select: none; height: 50vw; max-height: 600px; position: relative; }
.card-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card:hover .card-img { opacity: 0.2; transform: scale(1.1); }
.card-label { position: absolute; width: 82%; padding: 5%; bottom: 0; z-index: 10; }
.bullets { margin: 16px 0; display: flex; gap: 12px; align-items: center; }
.bullets img { width: 26px; }
.full-width-bg { max-width: 80%; }
.massonery .aleft, .massonery .aright { padding: 30px 0; }
.massonery .aleft .img-wrapper, .massonery .aright .img-wrapper { border-radius: 180px; width: 180px; height: 180px; overflow: hidden; position: relative; display: inline-block; vertical-align: middle; box-shadow: 0 16px 28px rgba(52, 63, 73, 0.08); }
.massonery .aleft .img-wrapper { margin-left: -7%; }
.massonery .aright .img-wrapper { margin-right: -7%; }
.massonery .aleft .content, .massonery .aright .content { padding: 4%; width: 60%; display: inline-block; vertical-align: middle; }
.massonery .aleft .content { padding-right: 10%; padding-left: 5%; }
.massonery .aright .content { padding-left: 10%; padding-right: 5%; }
.massonery .img-wrapper img { object-fit: cover; width: 100%; height: 100%; }
.full-width { display: table; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.full-width .container { display: table-cell; vertical-align: middle; text-align: center; padding: 10vw 0; }
.full-width .container .wrapper { max-width: 1000px; }
.city-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.city-pill { font-size: 14px; line-height: 20px; border: 1px solid rgba(47, 93, 140, 0.25); color: var(--first); background: rgba(220, 232, 244, 0.85); padding: 10px 16px; border-radius: 999px; }
.page-hero-copy { max-width: 760px; margin: 0 auto; }
.feature-copy { max-width: 700px; }
.lead-form { max-width: 860px; margin: 0 auto; font-size: 16px; text-align: left; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form > * + * { margin-top: 16px; }
.form-note { font-size: 14px; line-height: 22px; color: rgba(52, 63, 73, 0.8); }
.form-success { color: var(--first); font-size: 15px; line-height: 22px; font-weight: 700; }
.form-status { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; font-size: 15px; line-height: 22px; box-shadow: inset 0 0 0 1px rgba(52,63,73,0.08); }
.form-status strong { display: block; font-family: 'Comfortaa', sans-serif; font-size: 18px; line-height: 24px; }
.form-status span { display: block; }
.form-status--success { background: var(--third); color: var(--first); box-shadow: inset 0 0 0 1px rgba(52,63,73,0.08); }
.form-status--warning { background: rgba(255,245,214,0.9); color: #7a5b00; }
.form-status--error { background: rgba(154,47,90,0.10); color: #9A2F5A; }
.mini-card-grid, .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 16px; }
.mini-card { background: var(--third); border-radius: 28px; padding: 32px; height: 100%; position: relative; z-index: 1; }
.mini-card.inverse { background: var(--first); color: var(--sec); }
.post-card { background: white; border: 1px solid rgba(52, 63, 73, 0.08); border-radius: 28px; padding: 28px; box-shadow: 0 16px 40px rgba(52, 63, 73, 0.04); }
.cta-band { background: linear-gradient(135deg, rgba(47, 93, 140, 0.9), rgba(34, 70, 107, 0.86)); }
.list-clean { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.list-clean li + li { margin-top: 12px; }
.section-heading { margin-bottom: 42px; position: relative; z-index: 1; background: transparent; box-shadow: none; }
.hero-market { padding-top: 18px; }
.hero-copy { max-width: 600px; margin-top: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-panel { padding: 30px; box-shadow: 0 22px 52px rgba(52, 63, 73, 0.08); }
.hero-panel__eyebrow { font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(52, 63, 73, 0.62); }
.hero-panel__headline { font-size: 28px; line-height: 34px; margin-top: 8px; }
.hero-panel__copy { max-width: 460px; margin-top: 16px; line-height: 1.7; }
.hero-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.hero-stat-card { background: rgba(255,255,255,0.72); border-radius: 24px; padding: 20px; font-size: 15px; line-height: 22px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.hero-stat-card span { display: block; color: rgba(52, 63, 73, 0.7); }
.hero-stat-card strong { display: block; margin-top: 8px; font-size: 22px; line-height: 26px; font-family: 'Comfortaa', sans-serif; color: var(--gray); }
.hero-stat-card--accent { background: linear-gradient(135deg, rgba(47, 93, 140,0.12), rgba(220, 232, 244,0.95)); }
.hero-panel__image { margin-top: 20px; height: 248px; object-fit: cover; }
.hero-panel__image--market { object-position: center 38%; }
.dashboard-shell { overflow: visible; padding-top: 124px; padding-bottom: 0; }
.dashboard-shell::before { content: ""; position: absolute; top: 16px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(47, 93, 140, 0.35), transparent); }
.dashboard-shell::after { content: ""; position: absolute; inset: 120px 4% auto; height: 420px; background: radial-gradient(circle at top left, rgba(47, 93, 140, 0.08), transparent 48%); pointer-events: none; }
.dashboard-card { padding: 34px; box-shadow: 0 24px 64px rgba(52, 63, 73, 0.08); border: 1px solid rgba(47, 93, 140, 0.08); background: linear-gradient(180deg, rgba(245, 249, 253,0.96), rgba(255,255,255,0.98)); overflow: visible; }
.dashboard-live-zone { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 18px; align-items: start; }
.dashboard-live-main { min-width: 0; }
.dashboard-sidebar { grid-column: 1; position: sticky; top: 18px; align-self: start; z-index: 3; overflow: visible; }
.dashboard-mobile-dock-spacer { display: none; }
.dashboard-static-stack { margin-top: 24px; }
.dashboard-static-stack > * + * { margin-top: 0; }
.dashboard-simple-panel { margin-bottom: 18px; padding: 22px; border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(220, 232, 244,0.60)); box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05); scroll-margin-top: 24px; }
.dashboard-simple-panel__head { margin-bottom: 16px; }
.dashboard-simple-city { display: block; margin-top: 8px; font-size: 1.62em; line-height: 1.04; font-weight: 700; color: var(--first); }
.dashboard-simple-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dashboard-simple-card { background: rgba(255,255,255,0.94); border-radius: 22px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.dashboard-simple-card strong { display: block; margin-top: 8px; margin-bottom: 6px; }
.dashboard-simple-delta { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; background: rgba(52,63,73,0.08); color: var(--gray); font-size: 11px; line-height: 16px; font-weight: 700; }
.dashboard-simple-delta.is-positive { background: rgba(47,125,67,0.14); color: #2f7d43; }
.dashboard-simple-delta.is-negative { background: rgba(138, 49, 90,0.14); color: #8a315a; }
.dashboard-simple-delta.is-neutral { background: rgba(52,63,73,0.08); color: var(--gray); }
.dashboard-section-intro { margin-top: 28px; margin-bottom: 16px; }
.dashboard-disclosure { margin-top: 14px; }
.dashboard-disclosure__summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 16px; border-radius: 999px; background: rgba(47, 93, 140,0.12); color: var(--first); font-size: 13px; line-height: 18px; font-weight: 700; }
.dashboard-disclosure__summary::-webkit-details-marker { display: none; }
.dashboard-kpis--secondary { margin-top: 16px; }
.dashboard-kpis--inventory { margin-top: 16px; }
.dashboard-disclosure--section > .dashboard-disclosure__summary { margin-bottom: 14px; }
.dashboard-comparison-card--nested { margin-top: 0; }
.dashboard-toolbar { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: end; background: linear-gradient(180deg, rgba(52,63,73,0.99), rgba(52,63,73,0.92)); padding: 12px; border-radius: 24px; box-shadow: 0 20px 34px rgba(52, 63, 73, 0.16), inset 0 0 0 1px rgba(255,255,255,0.05); }
.dashboard-toolbar--sidebar { grid-template-columns: 1fr; }
.dashboard-control span, .dashboard-toolbar__note span { display: block; margin-bottom: 8px; }
.dashboard-city-search { display: grid; gap: 5px; margin: 0 0 8px; }
.dashboard-city-search__input { width: 100%; min-height: 36px; border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,0.12); color: white; font-size: 13px; line-height: 1.2; outline: none; }
.dashboard-city-search__input::placeholder { color: rgba(255,255,255,0.62); }
.dashboard-city-search__input:focus { border-color: rgba(255,255,255,0.62); background: rgba(255,255,255,0.18); }
.dashboard-city-search__status { min-height: 14px; color: rgba(255,255,255,0.72); font-size: 11px; line-height: 1.25; }
.dashboard-toolbar .dashboard-control span,
.dashboard-toolbar .dashboard-toolbar__note span { color: rgba(255,255,255,0.72); }
.dashboard-toolbar select,
.dashboard-toolbar input { border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.96); }
.dashboard-toolbar .dashboard-city-search__input,
.dashboard-toolbar .dashboard-city-search__input:focus { border-color: rgba(255,255,255,0.24); background: rgba(28,35,42,0.72); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.dashboard-toolbar__head p { color: rgba(255,255,255,0.52); line-height: 1.4; }
.dashboard-toolbar__footer { display: grid; gap: 10px; padding-top: 2px; }
.dashboard-toolbar__jump-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.52); }
.dashboard-toolbar__jump-title::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(135deg, rgba(47, 93, 140,1), rgba(127, 168, 208,0.95)); box-shadow: 0 0 0 4px rgba(47, 93, 140,0.14); }
.dashboard-toolbar__jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dashboard-toolbar__jump-link { position: relative; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 10px 7px 7px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)); color: rgba(255,255,255,0.88); font-size: 10px; line-height: 12px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; }
.dashboard-toolbar__jump-code { display: inline-flex; align-items: center; justify-content: center; width: 22px; min-width: 22px; height: 20px; border-radius: 999px; background: rgba(47, 93, 140,0.18); color: #fff; font-size: 9px; line-height: 9px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(47, 93, 140,0.14); }
.dashboard-toolbar__jump-link span:last-child { flex: 1; }
.dashboard-toolbar__jump-link:hover { background: linear-gradient(90deg, rgba(47, 93, 140,0.96), rgba(47, 93, 140,0.72)); color: var(--sec); transform: translateX(2px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.dashboard-toolbar__jump-link:hover .dashboard-toolbar__jump-code { background: rgba(255,255,255,0.22); color: #fff; }
.dashboard-control--type { min-width: 0; }
.property-toggle { --toggle-index: 0; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: rgba(255,255,255,0.10); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); min-height: 48px; }
.property-toggle__indicator { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(135deg, rgba(47, 93, 140,0.92), rgba(34, 70, 107,0.92)); box-shadow: 0 12px 24px rgba(47, 93, 140, 0.18); transform: translateX(calc(var(--toggle-index) * 100%)); transition: transform 0.28s ease; }
.property-toggle__button { position: relative; z-index: 1; min-width: 0; padding: 0 10px; border-radius: 999px; background: transparent; color: rgba(255,255,255,0.74); font-size: 11px; line-height: 16px; font-weight: 700; min-height: 36px; }
.property-toggle__button.is-active { color: var(--sec); }
.dashboard-overview { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 24px; margin-top: 28px; align-items: start; }
.dashboard-summary { background: white; border-radius: 30px; padding: 28px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); min-height: 100%; position: relative; overflow: hidden; }
.dashboard-summary::before { content: "DATA"; position: absolute; top: 12px; right: 18px; font-size: 68px; line-height: 1; font-family: 'Comfortaa', sans-serif; color: rgba(47, 93, 140, 0.06); pointer-events: none; }
.dashboard-trend-card { margin-top: 24px; padding: 18px 18px 14px; border-radius: 24px; background: linear-gradient(180deg, rgba(245, 249, 253,0.95), rgba(255,255,255,1)); box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.dashboard-trend-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.dashboard-trend-card__head [data-dashboard-trend-caption] { font-size: 14px; line-height: 18px; font-weight: 800; }
.dashboard-chart-note { margin-bottom: 10px; line-height: 1.45; }
.dashboard-trend-chart { display: block; width: 100%; height: auto; overflow: visible; }
.dashboard-trend-chart__line { fill: none; stroke: var(--first); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-trend-chart__area { fill: url(#trendGradient); }
.dashboard-trend-chart circle { fill: white; stroke: var(--first); stroke-width: 3; filter: drop-shadow(0 8px 14px rgba(47, 93, 140, 0.15)); }
.dashboard-trend-chart circle:hover { r: 6; }
.dashboard-trend-chart__bar { fill: rgba(47, 93, 140, 0.78); rx: 7; filter: drop-shadow(0 8px 14px rgba(47, 93, 140, 0.13)); }
.dashboard-trend-chart__bar--current { fill: rgba(47, 93, 140, 0.38); stroke: rgba(47, 93, 140, 0.55); stroke-width: 1.5; stroke-dasharray: 4 3; }
.dashboard-trend-chart__bar--days { fill: rgba(52,63,73,0.72); filter: drop-shadow(0 8px 14px rgba(52,63,73,0.11)); }
.dashboard-trend-chart__bar--days.dashboard-trend-chart__bar--current { fill: rgba(52,63,73,0.34); stroke: rgba(52,63,73,0.5); }
.dashboard-chart-tooltip { position: fixed; z-index: 9999; min-width: 84px; max-width: 180px; padding: 8px 12px; border-radius: 14px; background: rgba(52,63,73,0.94); color: white; font-size: 11px; line-height: 16px; font-family: 'Open Sans', sans-serif; font-weight: 700; box-shadow: 0 14px 28px rgba(52,63,73,0.22); pointer-events: none; opacity: 0; transform: none; transition: opacity 0.12s ease; white-space: pre-line; }
.dashboard-chart-tooltip.is-visible { opacity: 1; transform: none; }
.dashboard-chart-tooltip::after { display: none; }
.dashboard-trend-chart line { stroke: rgba(52, 63, 73, 0.12); stroke-width: 1; }
.dashboard-trend-chart text { font-size: 10px; line-height: 14px; fill: rgba(52, 63, 73, 0.72); font-family: 'Open Sans', sans-serif; }
.dashboard-trend-chart [data-dashboard-trend-value-labels] text,
.dashboard-trend-chart [data-dashboard-days-value-labels] text,
.dashboard-trend-chart [data-dashboard-rate-value-labels] text { font-size: 11px; font-weight: 700; fill: var(--gray); text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,0.95); stroke-width: 4px; stroke-linejoin: round; }
.dashboard-trend-chart [data-dashboard-trend-y-labels] text,
.dashboard-trend-chart [data-dashboard-days-y-labels] text { text-anchor: end; }
.dashboard-trend-chart [data-dashboard-trend-x-labels] text,
.dashboard-trend-chart [data-dashboard-days-x-labels] text { text-anchor: middle; }
.dashboard-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dashboard-badge { font-size: 13px; line-height: 18px; background: rgba(220, 232, 244,0.9); color: var(--first); border-radius: 999px; padding: 8px 14px; }
.dashboard-meter-panel { background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(220, 232, 244,0.65)); border-radius: 30px; padding: 28px; text-align: center; min-height: 100%; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); position: relative; overflow: hidden; }
.dashboard-meter-panel::before { content: "M"; position: absolute; top: 14px; left: 18px; font-size: 62px; line-height: 1; font-family: 'Comfortaa', sans-serif; color: rgba(52, 63, 73, 0.05); pointer-events: none; }
.market-gauge { --gauge: 50; width: 188px; height: 188px; border-radius: 50%; margin: 0 auto 18px; background: conic-gradient(var(--first) calc(var(--gauge) * 1%), rgba(47, 93, 140, 0.14) 0); display: grid; place-items: center; }
.market-gauge__inner { width: 138px; height: 138px; border-radius: 50%; background: white; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 10px 30px rgba(52, 63, 73, 0.08); }
.market-gauge__inner strong { font-size: 38px; line-height: 44px; color: var(--first); }
.dashboard-mini-chart { margin-top: 24px; padding: 18px; border-radius: 24px; background: rgba(255,255,255,0.86); box-shadow: inset 0 0 0 1px rgba(52, 63, 73, 0.06); text-align: left; }
.dashboard-mini-chart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.dashboard-trend-chart--compact { margin-top: 6px; }
.dashboard-trend-chart__line--days { fill: none; stroke: var(--gray); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-trend-chart__area--days { fill: url(#daysTrendGradient); }
.dashboard-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.dashboard-kpis--formulas { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.kpi-card { position: relative; background: white; border-radius: 28px; padding: 22px; min-height: 156px; display: grid; align-content: start; gap: 10px; box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05); overflow: hidden; }
.kpi-card::after { content: ''; position: absolute; right: -18px; top: -18px; width: 152px; height: 152px; background-position: center; background-repeat: no-repeat; background-size: contain; opacity: 0.08; pointer-events: none; }
.kpi-card strong { position: relative; z-index: 1; margin-top: 2px; max-width: 82%; }
.kpi-card p { position: relative; z-index: 1; max-width: 100%; padding-right: 56px; }
.kpi-card--formula { min-height: 178px; }
.kpi-card--formula p { padding-right: 28px; }
.kpi-formula-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); align-items: end; gap: 10px; margin-top: 4px; }
.kpi-formula-part { min-width: 0; padding: 12px 14px; border-radius: 20px; background: rgba(220, 232, 244, 0.38); box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.kpi-formula-part small { display: block; font-size: 11px; line-height: 14px; font-weight: 700; color: rgba(97, 105, 114, 0.9); margin-bottom: 4px; }
.kpi-formula-part strong { display: block; margin: 0; max-width: none; font-size: 22px; line-height: 26px; color: var(--gray); }
.kpi-formula-part--result { background: linear-gradient(135deg, rgba(47, 93, 140, 0.16), rgba(220, 232, 244, 0.6)); }
.kpi-formula-part--result strong { color: var(--first); }
.kpi-formula-sign { font-family: 'Comfortaa', sans-serif; font-size: 26px; line-height: 28px; font-weight: 700; color: var(--first); padding-bottom: 10px; }
.dashboard-comparison-card { margin-top: 24px; padding: 26px; border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(220, 232, 244,0.72)); box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05); position: relative; overflow: hidden; }
.dashboard-comparison-card::after { content: ""; position: absolute; inset: auto auto 0 0; width: 160px; height: 160px; background: radial-gradient(circle, rgba(47, 93, 140,0.08), transparent 68%); pointer-events: none; }
.dashboard-comparison-card__head { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 18px; }
.dashboard-comparison-card__period { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--first); background: rgba(47, 93, 140,0.12); border-radius: 999px; padding: 10px 14px; }
.dashboard-overview,
.dashboard-kpis,
.dashboard-comparison-card { scroll-margin-top: 32px; }
.dashboard-comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.dashboard-comparison-grid--focus { grid-template-columns: 1fr; }
.dashboard-comparison-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.dashboard-comparison-grid--calculator { margin-top: 18px; }
.dashboard-compare-pill { background: rgba(255,255,255,0.86); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); min-height: 100%; }
.dashboard-compare-pill--focus { padding: 24px; }
.dashboard-compare-pill strong { display: block; margin: 8px 0 10px; }
.dashboard-compare-pill strong.is-positive { color: #2f7d43; }
.dashboard-compare-pill strong.is-negative { color: #8a315a; }
.dashboard-compare-pill strong.is-neutral { color: var(--gray); }
.dashboard-city-select--hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.dashboard-city-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dashboard-city-links--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 0; }
.dashboard-chip { background: rgba(255,255,255,0.85); color: var(--gray); border-radius: 16px; padding: 10px 12px; font-size: 13px; line-height: 18px; font-weight: 700; text-align: center; }
.dashboard-chip--compact { border-radius: 12px; padding: 7px 8px; font-size: 11px; line-height: 14px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.84); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); min-height: 36px; display: flex; align-items: center; justify-content: center; }
.dashboard-city-wheel { position: relative; margin-top: 10px; padding: 8px 0; border-radius: 8px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); outline: none; cursor: grab; touch-action: none; user-select: none; }
.dashboard-city-wheel.is-dragging { cursor: grabbing; }
.dashboard-city-wheel:focus-visible { box-shadow: 0 0 0 3px rgba(47,93,140,0.28), inset 0 0 0 1px rgba(255,255,255,0.16); }
.dashboard-city-wheel__viewport { position: relative; height: 220px; overflow: hidden; }
.dashboard-city-wheel__viewport::before,
.dashboard-city-wheel__viewport::after { content: ""; position: absolute; left: 0; right: 0; height: 44px; z-index: 4; pointer-events: none; }
.dashboard-city-wheel__viewport::before { top: 0; background: linear-gradient(180deg, var(--gray), rgba(52,63,73,0)); }
.dashboard-city-wheel__viewport::after { bottom: 0; background: linear-gradient(0deg, var(--gray), rgba(52,63,73,0)); }
.dashboard-chip--wheel { position: absolute; left: 50%; top: 50%; width: calc(100% - 24px); min-height: 42px; padding: 7px 10px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.13); color: rgba(255,255,255,0.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); opacity: var(--wheel-opacity, 0); transform: translate(-50%, calc(-50% + var(--wheel-offset, 0px))) scale(var(--wheel-scale, 0.88)); pointer-events: none; }
.dashboard-chip--wheel.is-visible { pointer-events: auto; }
.dashboard-chip--wheel.is-center,
.dashboard-chip--wheel.is-active { background: #F5F9FD; color: var(--gray); box-shadow: 0 12px 30px rgba(0,0,0,0.20), inset 0 0 0 2px rgba(47,93,140,0.32); z-index: 5; transform: translate(-50%, -50%) scale(1.03); }
.dashboard-chip--wheel .dashboard-chip-name { display: block; min-width: 0; color: inherit; font-size: 11px; line-height: 14px; text-align: center; }
.dashboard-chip--wheel.is-active .dashboard-chip-name,
.dashboard-chip--wheel.is-center .dashboard-chip-name { color: #343F49; }
.dashboard-chip:hover, .dashboard-chip.is-active { background: var(--first); color: var(--sec); }
.dashboard-chip--wheel:hover,
.dashboard-chip--wheel.is-active,
.dashboard-chip--wheel.is-center { background: #F5F9FD; color: var(--gray); box-shadow: 0 12px 30px rgba(0,0,0,0.20), inset 0 0 0 2px rgba(47,93,140,0.32); }
.dashboard-toolbar select,
.dashboard-toolbar input,
.dashboard-calculator__form input { padding: 10px 14px; border-radius: 14px; font-size: 15px; }
.dashboard-control span { margin-bottom: 5px; }
.dashboard-control { display: grid; gap: 0; }
.dashboard-toolbar .first-btn { padding: 11px 14px; font-size: 13px; text-align: center; width: 100%; }
.dashboard-balance-panel { position: relative; overflow: hidden; }
.dashboard-balance-panel[data-balance-side="acheteur"] { box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05), inset 0 0 0 1px rgba(47, 125, 67, 0.15); }
.dashboard-balance-panel[data-balance-side="vendeur"] { box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05), inset 0 0 0 1px rgba(138, 49, 90, 0.15); }
.dashboard-balance-scale { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.dashboard-balance-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(47, 125, 67, 0.24), rgba(255,255,255,0.9), rgba(138, 49, 90, 0.24)); box-shadow: inset 0 0 0 1px rgba(52, 63, 73, 0.08); }
.dashboard-balance-pointer { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--first); box-shadow: 0 12px 24px rgba(47, 93, 140, 0.26); transition: left 0.35s ease; }
.dashboard-rates-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: 18px; align-items: start; }
.dashboard-rates-main { display: grid; gap: 14px; align-items: start; }
.dashboard-rates-side { display: grid; gap: 12px; align-content: start; height: auto; }
.dashboard-rate-summary-card { min-height: 180px; display: flex; flex-direction: column; justify-content: center; }
.dashboard-rates-side .dashboard-compare-pill { padding: 16px 18px; }
.dashboard-rates-side .dashboard-compare-pill strong { color: var(--first); font-size: 32px; line-height: 36px; }
.dashboard-rate-impact-card { padding: 18px 20px; }
.dashboard-rate-impact-card strong { color: var(--first); font-size: 38px; line-height: 42px; font-weight: 700; }
.dashboard-rate-impact-card p { margin-top: 8px; font-size: 11px; line-height: 16px; max-width: 34ch; }
.dashboard-trend-card--rates { margin-top: 0; height: 100%; padding: 14px 14px 14px; }
.dashboard-trend-card--rates .dashboard-trend-chart { max-height: 334px; }
.dashboard-rate-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 16px; }
.dashboard-rate-impact-card { min-height: 100%; }
.dashboard-rate-history { display: grid; gap: 12px; margin-top: 0; }
.dashboard-rate-event { display: flex; flex-direction: column; justify-content: center; min-height: 88px; background: rgba(255,255,255,0.86); border-radius: 24px; padding: 14px 18px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); border-left: 4px solid rgba(47, 93, 140, 0.30); }
.dashboard-rate-event__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 6px; }
.dashboard-rate-event p { line-height: 1.45; }
.dashboard-calculator { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; align-items: start; }
.dashboard-calculator__form { background: rgba(255,255,255,0.82); border-radius: 24px; padding: 20px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.dashboard-calculator__form > * + * { margin-top: 14px; }
.mortgage-shell { padding-top: 0; }
.mortgage-calculator-card { margin-top: 0; }
.mortgage-options-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.mortgage-calculator-card.is-comparing .mortgage-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mortgage-option-panel { background: rgba(255,255,255,0.88); border-radius: 28px; padding: 20px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.mortgage-option-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 16px; }
.mortgage-option-head strong { text-align: right; line-height: 1.05; font-size: 40px; font-weight: 700; color: var(--first); }
.mortgage-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mortgage-fields input { width: 100%; padding: 12px 16px; border-radius: 16px; border: 2px solid rgba(47, 93, 140,0.9); background: white; font-size: 15px; line-height: 22px; color: var(--gray); }
.mortgage-down-input-shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-right: 6px; border-radius: 16px; border: 2px solid rgba(47, 93, 140,0.9); background: white; overflow: hidden; }
.mortgage-down-input-shell input { border: 0; padding-right: 10px; }
.mortgage-down-mode-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(52,63,73,0.08); }
.mortgage-down-mode { min-width: 36px; height: 34px; border-radius: 999px; border: 0; background: transparent; color: var(--gray); font-size: 13px; line-height: 13px; font-weight: 700; cursor: pointer; }
.mortgage-down-mode.is-active { background: linear-gradient(135deg, rgba(47, 93, 140,0.96), rgba(34, 70, 107,0.96)); color: white; }
.mortgage-toggle-group { margin-top: 16px; }
.mortgage-toggle-group > span { display: block; margin-bottom: 8px; }
.mortgage-button-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px; border-radius: 22px; background: rgba(52,63,73,0.08); }
.mortgage-choice { min-height: 44px; padding: 10px 12px; border-radius: 18px; background: transparent; color: var(--gray); font-size: 13px; line-height: 16px; font-weight: 700; }
.mortgage-choice.is-active { background: linear-gradient(135deg, rgba(47, 93, 140,0.96), rgba(34, 70, 107,0.96)); color: white; box-shadow: 0 12px 24px rgba(47, 93, 140, 0.16); }
.mortgage-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mortgage-result-grid--triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mortgage-result-pill { background: linear-gradient(180deg, rgba(245, 249, 253,0.8), rgba(255,255,255,0.96)); border-radius: 22px; padding: 16px 18px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.mortgage-result-pill span { display: block; margin-bottom: 8px; }
.mortgage-result-pill strong { color: var(--gray); }
.mortgage-compare-btn { border: 0; border-radius: 999px; padding: 12px 18px; background: rgba(47, 93, 140,0.12); color: var(--first); font-size: 13px; line-height: 18px; font-weight: 700; font-family: 'Comfortaa', sans-serif; cursor: pointer; }
.mortgage-compare-btn:hover { background: var(--first); color: white; }
.mortgage-schl-warning { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: rgba(47, 93, 140,0.08); color: var(--first); font-size: 13px; line-height: 18px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(47, 93, 140,0.16); }
.mortgage-schl-warning.is-error { background: rgba(138, 49, 90,0.10); color: #8a315a; box-shadow: inset 0 0 0 1px rgba(138, 49, 90,0.22); }
.city-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; font-size: 16px; }
.city-hub-card { background: rgba(245, 249, 253,0.16); border: 1px solid rgba(255,255,255,0.2); color: var(--sec); border-radius: 30px; padding: 26px; backdrop-filter: blur(8px); min-height: 230px; display: flex; flex-direction: column; }
.city-hub-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.city-hub-card__badge { display: inline-flex; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.14); font-size: 11px; line-height: 18px; font-weight: 700; margin-bottom: 18px; }
.city-hub-card__cta { margin-top: auto; font-size: 14px; line-height: 20px; font-weight: 700; }
.report-section { background: linear-gradient(180deg, rgba(245, 249, 253,0.7), rgba(255,255,255,1)); }
.report-card { padding: 30px; box-shadow: 0 24px 64px rgba(52, 63, 73, 0.08); }
.report-card__header { margin-bottom: 16px; }
.report-badge { display: inline-flex; font-size: 11px; line-height: 18px; font-weight: 700; color: var(--first); background: rgba(47, 93, 140,0.12); padding: 8px 14px; border-radius: 999px; margin-bottom: 14px; }
.report-form { max-width: none; }
.report-page-shell { padding-top: 30px; }
.report-page { max-width: 1380px; }
.report-page__hero { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.report-page__intro { max-width: 760px; margin-top: 18px; }
.report-page__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.report-page__context { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.report-page__grid { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 24px; margin-top: 24px; align-items: start; }
.report-page__main { padding: 30px; box-shadow: 0 24px 64px rgba(52, 63, 73, 0.08); }
.report-page__section + .report-page__section { margin-top: 22px; }
.report-page__story { margin-top: 22px; padding: 22px; }
.report-page__decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.report-page__kpis { margin-top: 24px; }
.report-page__charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.report-page__comparison { margin-top: 24px; }
.report-page__comparison-grid { grid-template-columns: 1fr; }
.report-page__macro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.report-page__macro-summary { margin-top: 18px; }
.report-page__macro-summary p + p { margin-top: 10px; }
.report-page__rate-list { margin-top: 16px; }
.report-page__rate-list li + li { margin-top: 10px; }
.report-page__band--respirable { background: rgba(47, 125, 67, 0.12); color: #2f7d43; }
.report-page__band--equilibree { background: rgba(47, 93, 140, 0.12); color: var(--first); }
.report-page__band--tendue { background: rgba(138, 49, 90, 0.12); color: #8a315a; }
.report-page__next { margin-top: 24px; padding: 26px; box-shadow: 0 24px 64px rgba(52, 63, 73, 0.08); }
.report-page__next-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero-grid, .report-grid { table-layout: fixed; }
.admin-shell { max-width: 1120px; }
.admin-card { padding: 30px; box-shadow: 0 24px 64px rgba(52, 63, 73, 0.08); }
.admin-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; font-size: 16px; }
.admin-form { max-width: none; margin-top: 22px; }
.admin-list { margin-top: 20px; }
.admin-list li + li { margin-top: 10px; }
.admin-alert { border-radius: 22px; padding: 18px 22px; margin: 0 auto 24px; max-width: 1120px; }
.admin-alert--success { background: rgba(83, 146, 82, 0.12); color: #315f31; }
.admin-alert--error { background: rgba(47, 93, 140, 0.12); color: var(--first); }
.admin-kpis { grid-template-columns: 1fr; margin-top: 18px; }
.admin-logout { margin-top: 22px; }
.admin-diagnostics { margin-top: 22px; }
.admin-diagnostics p + p { margin-top: 8px; }
.admin-import-summary { margin-top: 22px; padding: 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(220, 232, 244,0.68)); box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.admin-import-summary__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.admin-import-summary__item { background: rgba(255,255,255,0.85); border-radius: 20px; padding: 16px; }
.admin-import-summary__item strong { display: block; margin-top: 8px; font-size: 22px; line-height: 26px; font-family: 'Comfortaa', sans-serif; color: var(--first); }
.admin-table-wrap { overflow-x: auto; margin-top: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(52, 63, 73, 0.08); }
.admin-table th { font-weight: 700; color: var(--gray); background: rgba(255,255,255,0.55); }
@media (max-width: 1100px) {
  .dashboard-live-zone { grid-template-columns: 214px minmax(0, 1fr); }
  .dashboard-overview, .dashboard-kpis, .dashboard-kpis--formulas, .city-hub-grid, .admin-grid, .dashboard-comparison-grid, .admin-import-summary__grid, .report-page__context, .report-page__grid, .report-page__charts, .report-page__macro-grid, .report-page__decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-simple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-page__hero { flex-direction: column; align-items: flex-start; }
  .dashboard-calculator { grid-template-columns: 1fr; }
  .mortgage-calculator-card.is-comparing .mortgage-options-grid, .mortgage-fields, .mortgage-result-grid, .mortgage-result-grid--triple { grid-template-columns: 1fr; }
  .mortgage-option-head { display: block; }
  .mortgage-option-head strong { display: block; margin-top: 8px; text-align: left; }
  .dashboard-kpis, .dashboard-kpis--formulas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .fz16 { font-size: 14px; line-height: 20px; }
  .fz26 { font-size: 18px; line-height: 24px; }
  .fz42 { font-size: 28px; line-height: 34px; }
  .radius { border-radius: 20px; }
  .first-btn, .sec-btn { font-size: 11px; padding: 10px 28px; }
  .two-block, .three-block { display: block; }
  .two-block .cell, .three-block .cell { width: auto; display: block; }
  .card { height: auto; margin-top: 8vw; }
  .cell .icon-wrapper { width: 13%; padding: 2%; margin: -5% 43%; }
  .full-width-bg { max-width: 100%; }
  .dashboard-shell { padding-top: 92px; }
  .dashboard-live-zone { grid-template-columns: 1fr; gap: 18px; }
  .form-grid, .mini-card-grid, .post-grid, .hero-panel__grid, .dashboard-overview, .city-hub-grid, .admin-grid, .admin-import-summary__grid, .report-page__context, .report-page__grid, .report-page__charts, .report-page__macro-grid, .report-page__decision-grid, .dashboard-comparison-grid--wide { grid-template-columns: 1fr; }
  .dashboard-simple-grid { grid-template-columns: 1fr; }
  .dashboard-toolbar { gap: 10px; padding: 14px; }
  .dashboard-kpis, .dashboard-kpis--formulas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-panel, .dashboard-card, .report-card, .admin-card { padding: 22px; }
  .report-page__main, .report-page__next { padding: 22px; }
  .market-gauge { width: 160px; height: 160px; }
  .market-gauge__inner { width: 116px; height: 116px; }
  .market-gauge__inner strong { font-size: 30px; line-height: 36px; }
  .dashboard-sidebar { position: static; }
  .dashboard-sidebar { overflow: visible; }
  .dashboard-comparison-card { padding: 20px; }
  .dashboard-summary, .dashboard-meter-panel { padding: 22px; }
  .dashboard-rates-layout { grid-template-columns: 1fr; }
  .dashboard-rates-side { grid-template-rows: none; }
  .dashboard-rate-history { grid-template-rows: none; }
  .dashboard-rate-insights { grid-template-columns: 1fr; }
  .dashboard-rates-main { gap: 12px; }
  .kpi-card { min-height: 144px; }
  .kpi-card--formula { min-height: 166px; }
  .kpi-formula-row { gap: 8px; }
  .kpi-formula-part { padding: 11px 12px; }
  .kpi-formula-part strong { font-size: 21px; line-height: 25px; }
  .kpi-card p { max-width: 100%; }
  .dashboard-rate-event__head { align-items: flex-start; flex-direction: column; }
  .dashboard-summary::before,
  .dashboard-meter-panel::before { font-size: 48px; }
  .dashboard-city-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-city-links--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-toolbar__jump { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
  .dashboard-kpis,
  .dashboard-kpis--formulas,
  .dashboard-comparison-grid { grid-template-columns: 1fr; }
  .kpi-formula-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-auto-rows: auto; }
  .kpi-formula-row .kpi-formula-sign:nth-of-type(2) { grid-column: 2; }
  .kpi-formula-part--result { grid-column: 1 / -1; }
  .kpi-card::after { width: 104px; height: 104px; right: -8px; top: -6px; opacity: 0.07; }
  .dashboard-city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-city-links--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-toolbar__jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
@media print {
  .header, .footer, .report-page__actions, .report-page__next-actions { display: none !important; }
  body { background: white; }
  .section-padding { padding: 24px 0; }
  .report-page__grid, .report-page__context, .report-page__charts, .dashboard-kpis { gap: 12px; }
  .report-page__main, .report-page__next, .dashboard-meter-panel, .dashboard-comparison-card, .dashboard-trend-card, .kpi-card, .hero-stat-card { box-shadow: none !important; }
  @page { margin: 0; size: A4 portrait; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pdf-report { page-break-inside: avoid; }
}
@media (max-width: 550px) {
  .massonery .aleft, .massonery .aright { text-align: center; }
  .massonery .aleft .img-wrapper, .massonery .aright .img-wrapper { margin: 0 0 -10px; }
  .massonery .aleft .content, .massonery .aright .content { width: 100%; padding: 4%; }
  .logo { width: 260px; }
  .footer-logo { width: 170px; }
  .header ul li { margin: 0 5px; }
  .header ul li a { padding: 10px 5px; }
}


.admin-shell { max-width: 1280px; }
.admin-summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; font-size: 16px; }
.admin-summary-tile { background: white; border-radius: 24px; padding: 18px 20px; box-shadow: 0 18px 32px rgba(52, 63, 73, 0.05); }
.admin-summary-tile strong { display: block; margin-top: 8px; }
.admin-grid--control { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.admin-card--compact { padding: 22px; }
.admin-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.admin-card--compact h2 { margin-bottom: 8px; }
.admin-card--compact > p { margin-bottom: 14px; }
.admin-form--compact { margin-top: 14px; }
.admin-form--compact > * + * { margin-top: 12px; }
.admin-meta-list { display: grid; gap: 12px; margin-top: 14px; }
.admin-meta-list > div { background: rgba(255,255,255,0.82); border-radius: 18px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.admin-meta-list p { margin-top: 6px; }
.admin-side-stack { display: grid; gap: 14px; margin-top: 12px; }
.admin-side-block { background: rgba(255,255,255,0.82); border-radius: 18px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.admin-side-block p { margin-top: 6px; }
.admin-actions { display: grid; gap: 10px; margin-top: 8px; }
.admin-action-link { width: 100%; }
.admin-logout--compact { margin-top: 0; }
.admin-logout--compact .sec-btn { width: 100%; text-align: center; }

.admin-import-summary--tight { margin-top: 16px; padding: 16px; }
.admin-import-summary__path { margin-top: 10px; word-break: break-word; }
@media (max-width: 1100px) {
  .admin-summary-strip,
  .admin-grid--control { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .admin-summary-strip,
  .admin-grid--control { grid-template-columns: 1fr; }
  .admin-card--compact { padding: 20px; }
}


.admin-grid--census { grid-template-columns: 0.95fr 1.2fr 0.75fr; align-items: start; }
.admin-city-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.admin-city-pills .dashboard-chip { text-align: center; }
.admin-city-detail { margin-top: 6px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.admin-detail-item { background: rgba(255,255,255,0.82); border-radius: 20px; padding: 16px; box-shadow: inset 0 0 0 1px rgba(47, 93, 140, 0.08); }
.admin-detail-item strong { display: block; margin-top: 8px; font-size: 20px; line-height: 28px; }
.admin-missing-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; background: rgba(47, 93, 140,0.12); color: var(--first); font-size: 11px; line-height: 16px; font-weight: 700; }
.admin-detail-link { color: var(--first); font-weight: 700; }
.admin-detail-link:hover { text-decoration: underline; }
.admin-table td .admin-missing-badge { vertical-align: middle; }
@media (max-width: 1100px) {
  .admin-grid--census { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-city-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.dashboard-trend-chart__line--rates { fill: none; stroke: var(--first); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-trend-chart__area--rates { fill: url(#rateTrendGradient); }
.dashboard-trend-chart--rates { margin-top: 6px; }
.dashboard-trend-card--rates { margin-top: 18px; }


.kpi-card[data-kpi-icon="listing"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h28l8 8v36H18z'/%3E%3Cpath d='M46 10v8h8'/%3E%3Cpath d='M24 28h24M24 36h18M24 44h14'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="days"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='34' r='18'/%3E%3Cpath d='M32 22v12l8 4M24 8v8M40 8v8'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="median"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 44 28 24l10 14 10-18'/%3E%3Cpath d='M16 52h32'/%3E%3Ccircle cx='16' cy='44' r='2.6' fill='%232F5D8C' stroke='none'/%3E%3Ccircle cx='28' cy='24' r='2.6' fill='%232F5D8C' stroke='none'/%3E%3Ccircle cx='38' cy='38' r='2.6' fill='%232F5D8C' stroke='none'/%3E%3Ccircle cx='48' cy='20' r='2.6' fill='%232F5D8C' stroke='none'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="flow"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 22h28l-6-6M42 22l-6 6'/%3E%3Cpath d='M50 42H22l6-6M22 42l6 6'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="active"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 28h36v22H14z'/%3E%3Cpath d='M22 28v-6a10 10 0 0 1 20 0v6'/%3E%3Ccircle cx='32' cy='39' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="new"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 14v28M18 28h28'/%3E%3Ccircle cx='32' cy='28' r='18'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="sales"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 44h10V28H18zM30 44h10V20H30zM42 44h10V32H42z'/%3E%3Cpath d='M16 50h38'/%3E%3C/g%3E%3C/svg%3E"); }
.kpi-card[data-kpi-icon="absorption"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F5D8C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 42c4-14 24-24 28-24'/%3E%3Cpath d='M42 18h8v8'/%3E%3Cpath d='M18 48h30'/%3E%3C/g%3E%3C/svg%3E"); }



.pdf-report-mount {
    position: absolute;
    left: 0;
    top: 0;
    width: 794px;
    min-height: 1123px;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}
body.pdf-exporting {
    min-height: 1300px !important;
}
body.pdf-exporting > *:not(.pdf-report-mount) {
    visibility: hidden !important;
    pointer-events: none !important;
}
.pdf-report {
    width: 744px;
    margin: 0 auto;
    height: 1123px;
    min-height: 1123px;
    padding: 22px;
    background: white;
    color: #343F49;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
}
.pdf-report,
.pdf-report * { box-sizing: border-box; }
.pdf-report strong,
.pdf-report span,
.pdf-report p,
.pdf-report h2,
.pdf-report div { font-size: 14px; line-height: 1.35; }
.pdf-report__hero {
    background: #29323A;
    border-radius: 24px;
    padding: 14px;
}
.pdf-report__hero-brand {
    width: 210px;
    background: #DCE8F4;
    border-radius: 20px;
    padding: 12px 16px;
}
.pdf-report__hero-brand img { display: block; width: 100%; }
.pdf-report__hero-meta {
    margin-top: -44px;
    text-align: right;
    color: white;
}
.pdf-report__hero-meta strong {
    display: block;
    font-family: 'Comfortaa', sans-serif;
    font-size: 24px;
    line-height: 1.1;
}
.pdf-report__hero-meta span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}
.pdf-report__brief,
.pdf-report__charts {
    margin-top: 7px;
}
.pdf-report__brief {
    background: white;
    border: 1px solid rgba(220, 232, 244, 0.9);
    border-radius: 24px;
    padding: 13px;
}
.pdf-report__section-kicker {
    color: #2F5D8C;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 10px;
    line-height: 1.1;
}
.pdf-report__brief h2 {
    margin: 4px 0 0;
    font-family: 'Comfortaa', sans-serif;
    font-size: 22px;
    line-height: 1.1;
}
.pdf-report__brief-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 9px;
}
.pdf-report__mini-card,
.pdf-report__bottom-card,
.pdf-report__formula-card,
.pdf-report__chart-card {
    background: white;
    border: 1.5px solid #DCE8F4;
    border-radius: 24px;
}
.pdf-report__mini-card {
    min-height: 78px;
    padding: 12px 14px;
}
.pdf-report__mini-card--light {
    min-height: 82px;
}
.pdf-report__mini-card span {
    display: block;
    color: #2F5D8C;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.1;
}
.pdf-report__mini-card strong {
    display: block;
    margin-top: 7px;
    font-size: 27px;
    line-height: 1.0;
    color: #343F49;
}
.pdf-report__mini-card p {
    margin-top: 6px;
    color: #616972;
    font-size: 10px;
    line-height: 1.3;
}
.pdf-report__charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.pdf-report__chart-card {
    padding: 12px 14px;
}
.pdf-report__chart-svg {
    margin-top: 6px;
}
.pdf-report__chart-svg svg {
    width: 100%;
    height: auto;
    display: block;
}
.pdf-report__data-grid {
    display: grid;
    gap: 4px;
    margin-top: 7px;
}
.pdf-report__data-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pdf-report__data-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pdf-report__data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    background: rgba(52,63,73,0.04);
    border: 1px solid rgba(52,63,73,0.10);
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11px;
}
.pdf-report__data-item span {
    color: #2F5D8C;
    font-weight: 700;
    text-transform: lowercase;
}
.pdf-report__data-item strong {
    color: #343F49;
    font-size: 10px;
}
.pdf-report__body {
    margin-top: 9px;
    background: #DCE8F4;
    border: 2px solid #343F49;
    border-radius: 26px;
    padding: 13px;
    flex: 1;
}
.pdf-report__kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 9px;
}
.pdf-report__formula-row,
.pdf-report__bottom-row {
    display: grid;
    gap: 10px;
    margin-top: 9px;
}
.pdf-report__formula-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-report__bottom-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pdf-report__formula-card,
.pdf-report__bottom-card {
    min-height: 116px;
    padding: 12px 14px;
}
.pdf-report__formula-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: end;
    gap: 6px;
    margin-top: 7px;
}
.pdf-report__formula-grid > div {
    text-align: center;
}
.pdf-report__formula-grid strong {
    display: block;
    color: #2F5D8C;
    font-size: 22px;
    line-height: 1;
}
.pdf-report__formula-grid span {
    display: block;
    margin-top: 5px;
    color: #616972;
    font-size: 10px;
}
.pdf-report__formula-op {
    align-self: center;
    color: #343F49;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.pdf-report__formula-card p,
.pdf-report__bottom-card p {
    margin-top: 9px;
    color: #616972;
    font-size: 10px;
    line-height: 1.35;
}
.pdf-report__bottom-card strong {
    display: block;
    margin-top: 7px;
    color: #2F5D8C;
    font-size: 26px;
    line-height: 1.0;
}
.pdf-report__bottom-card p strong {
    display: inline;
    font-size: inherit;
    color: #343F49;
}
.pdf-report__footer {
    margin-top: 7px;
    background: #29323A;
    border-radius: 18px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 0 18px;
    align-items: center;
    color: white;
}
.pdf-report__footer-brand {
    width: 110px;
}
.pdf-report__footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}
.pdf-report__footer-copy strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}
.pdf-report__footer-copy span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}
.pdf-report__footer-copy p {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 9px;
    line-height: 1.4;
}
.pdf-report__footer-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.pdf-report__footer-stack img {
    display: block;
    max-width: 84px;
    height: auto;
}
.pdf-report__footer-oaciq {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.pdf-report__footer-oaciq img {
    display: block;
    width: 46px;
    height: auto;
}

.pdf-report__bottom-row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-report__bottom-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pdf-report__chart-fallback { display: flex; align-items: center; justify-content: center; min-height: 180px; color: #616972; font-size: 13px; border: 1px dashed rgba(52,63,73,0.18); border-radius: 18px; background: rgba(255,255,255,0.55); }

/* Admin cockpit */
.admin-shell { max-width: 1280px; }
.admin-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 18px 20px; border-radius: 8px; background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(52,63,73,0.04)); box-shadow: 0 18px 36px rgba(52,63,73,0.06), inset 0 0 0 1px rgba(52,63,73,0.08); }
.admin-dashboard-head h1 { margin-top: 4px; }
.admin-summary-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; font-size: 16px; }
.admin-summary-tile { background: white; border-radius: 8px; padding: 16px 18px; box-shadow: 0 16px 28px rgba(52,63,73,0.05), inset 0 0 0 1px rgba(52,63,73,0.06); min-height: 126px; }
.admin-summary-tile strong { display: block; margin-top: 8px; }
.admin-summary-tile p { margin-top: 6px; }
.admin-card--primary-import { margin-bottom: 22px; padding: 28px; background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(52,63,73,0.04)); box-shadow: 0 28px 70px rgba(52,63,73,0.12), inset 0 0 0 1px rgba(52,63,73,0.08); border-radius: 8px; position: relative; overflow: hidden; }
.admin-card--primary-import::before { content: "IMPORT"; position: absolute; right: 22px; top: 12px; font-size: 72px; line-height: 1; font-family: 'Comfortaa', sans-serif; color: rgba(52,63,73,0.05); pointer-events: none; }
.admin-primary-import__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 28px; align-items: end; position: relative; z-index: 1; }
.admin-primary-import__form { margin-top: 0; padding: 18px; border-radius: 8px; background: rgba(255,255,255,0.82); box-shadow: inset 0 0 0 1px rgba(52,63,73,0.08); }
.admin-upload-zone { display: grid; gap: 10px; padding: 14px; border-radius: 8px; background: rgba(255,255,255,0.78); box-shadow: inset 0 0 0 1px rgba(52,63,73,0.08); }
.admin-upload-zone input[type="file"] { margin-top: 0; }
.admin-meta-list--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 18px 0 12px; }
.admin-grid--control { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.admin-card--compact { padding: 22px; }
.admin-card--secondary { box-shadow: 0 18px 40px rgba(52,63,73,0.06); opacity: 0.98; }
.admin-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.admin-card--compact h2 { margin-bottom: 8px; }
.admin-card--compact > p { margin-bottom: 14px; }
.admin-form--compact { margin-top: 14px; }
.admin-form--compact > * + * { margin-top: 12px; }
.admin-meta-list { display: grid; gap: 12px; margin-top: 14px; }
.admin-meta-list > div, .admin-side-block { background: rgba(255,255,255,0.82); border-radius: 8px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(52,63,73,0.08); }
.admin-meta-list p, .admin-side-block p { margin-top: 6px; }
.admin-side-stack { display: grid; gap: 14px; margin-top: 12px; }
.admin-actions { display: grid; gap: 10px; margin-top: 8px; }
.admin-action-link { width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 10px 14px; background: rgba(52,63,73,0.94); color: white; font-size: 13px; line-height: 18px; font-weight: 700; text-align: center; box-shadow: 0 12px 22px rgba(52,63,73,0.14); }
.admin-action-link:hover { background: var(--first); color: white; }
.admin-action-link--primary { background: var(--first); color: white; }
.admin-action-link--primary:hover { background: var(--gray); color: white; }
.admin-shell .first-btn, .admin-shell .sec-btn { border-radius: 8px; text-align: center; }
.admin-logout--compact { margin-top: 0; }
.admin-logout--compact .sec-btn { width: 100%; text-align: center; }
.admin-import-summary--tight { margin-top: 16px; padding: 16px; }
.admin-import-summary__path { margin-top: 10px; word-break: break-word; }
.admin-summary-strip--audit { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-audit-panel { margin-top: 18px; }
.admin-audit-explainer { margin-top: 18px; padding: 18px 20px; }
.admin-audit-explainer p + p { margin-top: 8px; }
.admin-audit-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.admin-audit-panel .admin-table-wrap { margin-top: 14px; }
.admin-table--compact th,
.admin-table--compact td { padding: 10px 8px; font-size: 12px; line-height: 16px; }
.admin-audit-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.admin-audit-filters .admin-action-link { width: auto; min-height: 36px; padding: 8px 12px; }
.admin-audit-status { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 5px 10px; border-radius: 8px; font-size: 11px; line-height: 14px; font-weight: 700; white-space: nowrap; }
.admin-audit-status--ok { background: rgba(52,63,73,0.08); color: var(--first); }
.admin-audit-status--empty { background: rgba(52,63,73,0.1); color: var(--gray); }
.admin-audit-status--error { background: rgba(180,55,55,0.12); color: #9b2424; }
@media (max-width: 1100px) {
  .admin-summary-strip,
  .admin-grid--control { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-primary-import__layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .admin-summary-strip,
  .admin-grid--control { grid-template-columns: 1fr; }
  .admin-audit-compare-grid { grid-template-columns: 1fr; }
  .admin-card--compact { padding: 20px; }
  .admin-dashboard-head { align-items: stretch; flex-direction: column; }
  .admin-meta-list--inline { grid-template-columns: 1fr; }
  .admin-audit-filters { justify-content: stretch; }
  .admin-audit-filters .admin-action-link { flex: 1; }
}

/* Laurentides - scrollable city list for 41 cities */
.dashboard-city-links--compact { max-height: 300px; overflow-y: auto; }

/* Compact dashboard controls */
.dashboard-sidebar { top: 10px; }
.dashboard-toolbar { gap: 6px; padding: 10px; border-radius: 20px; }
.dashboard-control span, .dashboard-toolbar__note span { margin-bottom: 5px; }
.dashboard-city-wheel { margin-top: 6px; padding: 5px 0; }
.dashboard-city-wheel__viewport { height: 160px; }
.dashboard-city-wheel__viewport::before,
.dashboard-city-wheel__viewport::after { height: 32px; }
.dashboard-chip--wheel { min-height: 34px; padding: 5px 9px; }
.dashboard-chip--wheel .dashboard-chip-name { font-size: 10px; line-height: 13px; }
.property-toggle { min-height: 42px; }
.property-toggle__button { min-height: 32px; font-size: 10px; }
.dashboard-toolbar__footer { gap: 7px; }
.dashboard-toolbar__jump { gap: 5px; }
.dashboard-toolbar__jump-link { min-height: 29px; padding: 5px 8px 5px 6px; }
.dashboard-toolbar .first-btn { padding: 9px 12px; }

@media (max-width: 800px) {
  .dashboard-sidebar { position: sticky; top: 0; z-index: 30; }
  .dashboard-toolbar { max-height: 76vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 0 0 18px 18px; }
  .dashboard-city-wheel__viewport { height: 138px; }
}

/* Mobile dashboard controls */
@media (max-width: 800px) {
  .dashboard-live-zone {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .dashboard-card {
    position: relative;
  }

  .dashboard-mobile-dock-spacer {
    display: block;
    height: calc(min(25vh, 184px) + 20px);
  }

  .dashboard-sidebar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    top: auto;
    z-index: 90;
    width: auto;
    max-width: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 18px));
    transition: opacity .2s ease, transform .24s ease, visibility 0s linear .24s;
    will-change: transform, opacity;
  }

  .dashboard-shell.is-mobile-controls-active .dashboard-sidebar {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .dashboard-shell.is-mobile-controls-ending .dashboard-sidebar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: translateY(0);
    transition: opacity .2s ease;
  }

  .dashboard-shell.is-mobile-controls-past .dashboard-sidebar {
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    transition: none;
  }

  .dashboard-toolbar.dashboard-toolbar--sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, .58fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 7px;
    align-items: stretch;
    max-width: none;
    height: min(25vh, 184px);
    max-height: min(25vh, 184px);
    overflow: visible;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 -18px 40px rgba(18, 26, 34, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
  }

  .dashboard-toolbar > .dashboard-control:first-child {
    display: contents;
  }

  .dashboard-toolbar > .dashboard-control:first-child > span {
    display: none;
  }

  .dashboard-control--type {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }

  .dashboard-toolbar > .dashboard-control:nth-of-type(3) {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    grid-column: 2;
    grid-row: 3;
    min-width: 0;
  }

  .dashboard-toolbar .dashboard-control span,
  .dashboard-toolbar .dashboard-toolbar__note span {
    margin-bottom: 3px;
    font-size: 9px;
    line-height: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .dashboard-city-search {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    gap: 0;
    margin: 0;
  }

  .dashboard-city-search__status {
    display: none;
  }

  .dashboard-city-search__input {
    min-height: 0;
    height: 100%;
    padding: 6px 9px;
    border-radius: 10px;
    font-size: 12px;
  }

  .dashboard-city-wheel {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: stretch;
    margin-top: 0;
    padding: 3px 0;
    border-radius: 10px;
  }

  .dashboard-city-wheel__viewport {
    height: 100% !important;
  }

  .dashboard-city-wheel__viewport::before,
  .dashboard-city-wheel__viewport::after {
    height: 18px;
  }

  .dashboard-chip--wheel {
    width: calc(100% - 12px);
    min-height: 28px;
    padding: 4px 7px;
  }

  .dashboard-chip--wheel .dashboard-chip-name {
    font-size: 9px;
    line-height: 11px;
  }

  .property-toggle {
    min-height: 0;
    height: 100%;
    padding: 3px;
  }

  .property-toggle__button {
    min-height: 0;
    height: 100%;
    padding: 0 5px;
    font-size: 0;
    line-height: 11px;
  }

  .property-toggle__button::after {
    font-size: 9px;
  }

  .property-toggle__button[data-dashboard-type="unifamiliale"]::after {
    content: "Unifam.";
  }

  .property-toggle__button[data-dashboard-type="copropriete"]::after {
    content: "Coprop.";
  }

  .dashboard-toolbar select {
    min-height: 0;
    height: 100%;
    padding: 6px 24px 6px 9px;
    border-radius: 10px;
    font-size: 12px;
  }

  .dashboard-toolbar__footer {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .dashboard-mobile-dock-spacer {
    height: calc(min(25vh, 168px) + 18px);
  }

  .dashboard-toolbar.dashboard-toolbar--sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(104px, .58fr);
    gap: 6px;
    padding: 7px;
    height: min(25vh, 168px);
    max-height: min(25vh, 168px);
  }

  .dashboard-city-wheel__viewport {
    height: 100% !important;
  }

  .dashboard-city-search__input {
    font-size: 11px;
  }

  .property-toggle__button::after {
    font-size: 8.5px;
  }

  .dashboard-toolbar select {
    font-size: 11px;
  }
}

@media (max-width: 800px) and (max-height: 700px) {
  .dashboard-mobile-dock-spacer {
    height: calc(min(25vh, 150px) + 18px);
  }

  .dashboard-toolbar.dashboard-toolbar--sidebar {
    height: min(25vh, 150px);
    max-height: min(25vh, 150px);
  }
}






/* Shared dashboard refinements */
.dashboard-guide { position: relative; z-index: 1; display: grid; gap: 16px; margin-bottom: 30px; }
.dashboard-guide__intro { display: grid; align-content: center; gap: 10px; max-width: 720px; }
.dashboard-guide__intro p, .dashboard-guide__intro h2 { margin: 0; }
.dashboard-guide__bubble { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; padding: 12px; border-radius: 22px; background: linear-gradient(180deg, rgba(52,63,73,0.99), rgba(52,63,73,0.92)); box-shadow: 0 20px 34px rgba(52, 63, 73, 0.16), inset 0 0 0 1px rgba(255,255,255,0.05); }
.dashboard-guide-step { min-height: 126px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.dashboard-guide-step__number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--first); color: var(--sec); font-size: 13px; font-weight: 700; }
.dashboard-guide-step strong { display: block; margin-bottom: 6px; color: #fff; font-size: 15px; line-height: 19px; }
.dashboard-guide-step p { margin: 0; color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.45; }
.dashboard-guide-download { min-height: 126px; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; justify-content: stretch; text-align: left; white-space: normal; padding: 14px; border-radius: 16px; font-size: 15px; line-height: 19px; }
.dashboard-guide-download strong { align-self: center; color: var(--sec); }
.dashboard-guide-step__number--download { background: var(--gray); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.dashboard-period-select--hidden { display: none !important; }
.period-toggle { --period-col: 0; --period-row: 0; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; background: rgba(255,255,255,0.10); border-radius: 24px; padding: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); min-height: 112px; }
.period-toggle::before { content: ""; position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(50% - 4px); border-radius: 20px; background: linear-gradient(135deg, var(--first), var(--first)); box-shadow: 0 12px 24px rgba(52, 63, 73, 0.18); transform: translate(calc(var(--period-col) * 100%), calc(var(--period-row) * 100%)); transition: transform 0.28s ease; }
.period-toggle__button { position: relative; z-index: 1; min-width: 0; min-height: 50px; padding: 8px 7px; border-radius: 20px; background: transparent; color: rgba(255,255,255,0.74); font-size: 11px; line-height: 14px; font-weight: 700; text-align: center; }
.period-toggle__button.is-active { color: var(--sec); }
.dashboard-kpi-group-title { margin: 10px 0 -10px; color: rgba(52,63,73,0.74); font-size: 12px; line-height: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.dashboard-kpi-group-title--spaced { margin-top: 20px; }
.dashboard-card-note { margin: -4px 0 18px; max-width: 78ch; line-height: 1.55; }
.kpi-formula-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) !important; align-items: center !important; }
.kpi-formula-part { min-height: 86px; display: grid; align-content: center; justify-items: center; text-align: center; }
.kpi-formula-part strong { text-align: center; }
.kpi-formula-sign { padding-bottom: 0 !important; }
.dashboard-download-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; padding: 24px 26px; border-radius: 30px; background: linear-gradient(135deg, rgba(52,63,73,0.98), rgba(31,40,48,0.94)); box-shadow: 0 18px 32px rgba(52, 63, 73, 0.12), inset 0 0 0 1px rgba(255,255,255,0.08); }
.dashboard-download-card h3, .dashboard-download-card p { color: #fff; }
.dashboard-download-card p.fz16 { color: rgba(255,255,255,0.72); max-width: 680px; }
.dashboard-download-card .first-btn { min-width: 190px; text-align: center; }
.dashboard-simulator-card { background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,250,250,0.92)); border: 1px solid rgba(52,63,73,0.10); }
.dashboard-simulator-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(180deg, var(--gray), var(--first)); }
.dashboard-simulator-card .dashboard-comparison-card__head p.fz12.gray { margin-top: 8px; max-width: 620px; line-height: 1.5; }
@media (max-width: 960px) { .dashboard-guide__bubble { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .dashboard-download-card { grid-template-columns: 1fr; align-items: stretch; padding: 20px; } .dashboard-download-card .first-btn { width: 100%; } .period-toggle::before { display: none; } .period-toggle__button.is-active { background: linear-gradient(135deg, var(--first), var(--first)); } }
@media (max-width: 560px) { .dashboard-guide__bubble { grid-template-columns: 1fr; } }
