:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #fff;
  --line: rgba(0, 0, 0, .09);
  --blue: #0071e3;
  --blue-dark: #0059b3;
  --green: #16715a;
  --red: #c93646;
  --orange: #a96612;
  --shadow: 0 22px 70px rgba(31, 38, 58, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* 公开地址搜索页 */
.public-page { background: var(--bg); }
.public-shell { width: min(1240px, calc(100% - 44px)); margin: 0 auto; padding: 24px 0 48px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 50px; margin-bottom: 30px; }
.site-brand { display: flex; align-items: center; gap: 11px; }
.site-brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.08em; }
.site-brand-logo { position: relative; width: 56px; overflow: hidden; background: transparent; }
.site-brand-logo img { position: absolute; top: 0; left: 50%; width: 84px; max-width: none; height: auto; transform: translateX(-50%); }
.site-brand strong, .site-brand span { display: block; }
.site-brand strong { font-size: 15px; letter-spacing: -.02em; }
.site-brand span { margin-top: 1px; color: var(--subtle); font-size: 11px; }
.site-nav-note { color: var(--muted); font-size: 12px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #27a879; box-shadow: 0 0 0 4px rgba(39, 168, 121, .12); }

.hero-block { position: relative; overflow: hidden; min-height: 430px; padding: clamp(48px, 8vw, 92px) clamp(28px, 8vw, 100px); border: 1px solid rgba(82, 119, 224, .1); border-radius: 32px; color: var(--ink); background: radial-gradient(circle at 82% 20%, rgba(143, 177, 255, .42), transparent 26%), linear-gradient(135deg, #fff 0%, #f5f8ff 53%, #eaf0ff 100%); box-shadow: 0 28px 80px rgba(54, 84, 153, .13); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { color: var(--subtle); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.light { color: var(--muted); }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: #7da8ff; }
.hero-block h1 { margin: 22px 0 17px; font-size: clamp(43px, 7vw, 78px); font-weight: 700; line-height: .98; letter-spacing: -.075em; }
.hero-block h1 em { color: #3567e8; font-style: normal; }
.hero-block p { max-width: 470px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-note { position: absolute; right: clamp(30px, 8vw, 100px); bottom: 47px; z-index: 1; color: var(--subtle); font-size: 12px; line-height: 1.8; text-align: right; }
.hero-note strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.hero-orbit { position: absolute; border: 1px solid rgba(81, 122, 226, .16); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { right: -145px; top: -165px; width: 560px; height: 560px; box-shadow: inset 0 0 70px rgba(89, 119, 255, .12); }
.orbit-two { right: 32px; top: -56px; width: 320px; height: 320px; border-color: rgba(81, 122, 226, .24); }

.search-panel { position: relative; z-index: 2; margin: 24px 28px 42px; padding: 27px 30px 20px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 24px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.search-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.search-heading h2, .results-heading h2 { margin: 7px 0 0; font-size: 25px; font-weight: 700; letter-spacing: -.05em; }
.search-heading p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.search-field { display: grid; gap: 8px; min-width: 0; }
.search-field-wide { grid-column: span 2; }
.search-field label { color: var(--muted); font-size: 11px; font-weight: 700; }
.search-field input, .search-field select { width: 100%; height: 42px; min-width: 0; padding: 0 12px; border: 1px solid #dedee2; border-radius: 11px; outline: none; color: var(--ink); background: rgba(255, 255, 255, .96); transition: border-color .2s, box-shadow .2s; }
.search-field input:focus, .search-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .11); }
.advanced-filters { margin-top: 16px; padding: 17px 0 1px; border-radius: 13px; background: #f8faff; }
.advanced-filters .search-grid { padding: 0 15px; }
.advanced-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.input-with-icon, .price-input { position: relative; }
.input-with-icon > span, .price-input > span { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--subtle); font-size: 16px; pointer-events: none; }
.input-with-icon > span { left: 13px; }
.price-input > span { left: 13px; font-size: 13px; }
.input-with-icon input { padding-left: 34px; }
.price-input input { padding-left: 27px; }
.search-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.search-tip { color: var(--subtle); font-size: 11px; }
.text-button { padding: 4px 0; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; }
.text-button:hover { color: var(--blue-dark); }
.source-switcher { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 10px 12px 10px 18px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 20px; background: rgba(255, 255, 255, .72); box-shadow: 0 10px 30px rgba(31, 38, 58, .045); }
.search-source-switcher { margin-bottom: 22px; border-color: #edf0f5; background: #f7f9fd; box-shadow: none; }
.source-switcher-copy { display: grid; gap: 5px; min-width: max-content; }
.source-switcher-copy strong { font-size: 14px; letter-spacing: -.025em; }
.source-tabs { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 4px; border-radius: 15px; background: #f1f4f9; }
.source-tab { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 7px 15px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 750; white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s, transform .2s; }
.source-tab:hover { color: var(--ink); transform: translateY(-1px); }
.source-tab.is-active { color: var(--ink); background: #fff; box-shadow: 0 5px 14px rgba(31, 38, 58, .1); }
.source-tab-all { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #4e7cf3, #3261d8); font-size: 12px; font-weight: 800; }
.source-tab-logo { display: block; width: 72px; height: 28px; object-fit: contain; }
.source-tab-logo-atmb { width: 80px; }
.source-tab-logo-ipostal1 { width: 42px; }
.source-tab-logo-only { min-width: 72px; padding-right: 11px; padding-left: 11px; }

.result-summary { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 12px; margin: 0 28px 48px; }
.summary-item { display: flex; align-items: baseline; gap: 7px; padding: 20px 22px; border: 1px solid rgba(0, 0, 0, .05); border-radius: 18px; background: rgba(255, 255, 255, .6); }
.summary-item span { align-self: center; color: var(--muted); font-size: 12px; }
.summary-item strong { margin-left: auto; font-size: 27px; font-weight: 650; letter-spacing: -.06em; }
.summary-item small { color: var(--subtle); font-size: 11px; }
.summary-primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #4e7cf3, #3261d8); }
.summary-primary span, .summary-primary small { color: rgba(255, 255, 255, .72); }

.results-section { margin: 0 28px; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.results-heading h2 { font-size: 32px; }
.results-heading > span { color: var(--muted); font-size: 13px; }
.address-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; min-height: 240px; }
.address-card { display: flex; min-height: 280px; flex-direction: column; padding: 21px; border: 1px solid rgba(0, 0, 0, .07); border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: 0 8px 28px rgba(31, 38, 58, .035); transition: transform .25s, box-shadow .25s, border-color .25s; }
.address-card:hover { border-color: rgba(0, 113, 227, .2); box-shadow: 0 18px 38px rgba(31, 38, 58, .11); transform: translateY(-3px); }
.address-card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.address-location-block { display: grid; min-width: 0; gap: 7px; }
.address-badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.address-location { color: var(--muted); font-size: 12px; }
.address-source { display: inline-flex; align-items: center; gap: 5px; width: max-content; max-width: 100%; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.address-source-logo { display: block; width: 24px; height: 14px; object-fit: contain; }
.source-atmb { color: #315da9; background: #edf4ff; }
.source-ipostal1 { color: #8b4d11; background: #fff1df; }
.address-new-badge { display: inline-flex; width: max-content; padding: 4px 8px; border-radius: 999px; color: #9b4c12; background: #fff0df; font-size: 10px; font-weight: 800; }
.address-price { display: flex; align-items: baseline; white-space: nowrap; }
.price-value { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.06em; }
.price-unit { color: var(--subtle); font-size: 11px; }
.address-street { min-height: 52px; margin: 23px 0 21px; font-size: 21px; font-weight: 650; line-height: 1.22; letter-spacing: -.045em; }
.verification-list { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.verification-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.verification-source { color: var(--subtle); font-size: 10px; font-weight: 750; letter-spacing: .03em; }
.verification-logo { display: inline-block; width: 28px; height: 10px; margin-left: 5px; vertical-align: -1px; object-fit: contain; }
.verification-source-icon { display: inline-block; width: 17px; height: 17px; margin-left: 6px; vertical-align: -4px; object-fit: contain; }
.status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.status-badge.success { color: var(--green); background: #e4f5ee; }
.status-badge.danger { color: var(--red); background: #fdebed; }
.status-badge.warning { color: var(--orange); background: #fff3dc; }
.status-badge.neutral { color: var(--muted); background: #eef0f3; }
.status-badge.confirmation-ai { color: var(--red); background: #fdebed; }
.status-badge.confirmation-admin { color: var(--blue); background: #e8f0ff; }
.address-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; }
.address-actions { display: flex; align-items: center; gap: 11px; }
.address-hint { color: var(--subtle); font-size: 11px; }
.copy-button { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; }
.copy-button:hover { color: var(--blue-dark); }
.view-street-button { padding: 7px 10px; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 750; }
.view-street-button:hover { background: var(--blue-dark); }
.view-street-button:disabled { cursor: not-allowed; color: var(--muted); background: #e9edf3; }
.buy-button { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; color: #fff; background: #1d1d1f; font-size: 11px; font-weight: 750; text-decoration: none; }
.buy-button:hover { color: #fff; background: #444; }
.empty-grid { display: block; }
.empty-state { display: grid; place-items: center; min-height: 275px; padding: 35px 20px; border: 1px dashed #d4d4d8; border-radius: 20px; color: var(--muted); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 12px; border-radius: 50%; color: var(--blue); background: #eaf3ff; font-size: 25px; }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.03em; }
.empty-copy { margin-top: 8px; color: var(--muted); font-size: 13px; }
.error-state { color: var(--red); border-color: #f3c8ce; background: #fffafa; }
.error-state h3 { color: var(--red); }
.loading { color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px 0 11px; color: var(--muted); font-size: 12px; }
.pagination button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-size: 12px; }
.pagination button:hover:not(:disabled) { border-color: #bfc0c5; background: #fff; }
.pagination button:disabled { opacity: .35; cursor: not-allowed; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin: 45px 28px 0; padding-top: 19px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 10px; }

/* 后台共用组件 */
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #4b7bff, #233fbb); box-shadow: 0 9px 22px rgba(53, 103, 240, .28); }
.brand h1 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.brand p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.topbar a { color: var(--blue); text-decoration: none; font-weight: 700; font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 0; border-radius: 11px; color: #fff; background: var(--blue); font-weight: 800; line-height: 1.2; text-align: center; transition: transform .2s, background .2s; }
.button:hover { color: #fff; background: var(--blue-dark); transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: #edf1f7; }
.button.secondary:hover { color: var(--ink); background: #e1e6ef; }
.button.danger-button { color: #fff; background: var(--red); }
.button.danger-button:hover { color: #fff; background: #a92d3c; }
.panel { border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.card { padding: 22px; }
.login-panel { max-width: 460px; margin: 46px auto 0; }
.login-error { min-height: 20px; margin: 12px 0 0; color: var(--red); font-size: 13px; font-weight: 700; }
.notice { padding: 13px 15px; color: #725116; background: #fff7e4; border: 1px solid #f4dfac; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card-intro { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card + .card { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.config-section { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.config-section h4 { margin: 0; color: var(--ink); font-size: 14px; }
.credentials-textarea { min-height: 170px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; line-height: 1.65; white-space: pre; }
.credential-status-list { display: grid; gap: 7px; margin-top: 3px; }
.credential-status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: #f6f8fb; font-size: 11px; }
.credential-status-name { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.form-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.form-control { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #dfe4ec; border-radius: 11px; outline: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .12); }
.form-help { color: var(--subtle); font-size: 11px; line-height: 1.6; }
.credential-status { display: inline-flex; margin-top: 6px; }
textarea.form-control { min-height: 180px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.config-status { color: var(--green); font-size: 13px; font-weight: 700; }
.job { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.job + .job { margin-top: 12px; }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.job-title { font-weight: 850; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job-actions .button { min-height: 34px; padding: 0 12px; font-size: 11px; }
.job-actions .button:disabled { cursor: not-allowed; opacity: .38; }
.job-options { display: grid; max-width: 260px; gap: 6px; margin-top: 13px; }
.job-options .form-control { min-height: 36px; padding: 7px 10px; }
.progress { overflow: hidden; height: 7px; margin: 14px 0 10px; border-radius: 999px; background: #edf1f6; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4c7bff, #23b5a6); transition: width .3s; }
.job-message { color: var(--muted); font-size: 12px; }
.job-result { margin-top: 7px; color: #9b4c12; font-size: 12px; font-weight: 750; line-height: 1.6; }
.job-logs { overflow: auto; max-height: 170px; margin: 12px 0 0; padding: 10px; border-radius: 10px; color: #637087; background: #f7f9fc; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.admin-address-review { margin-top: 20px; }
.admin-review-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.admin-review-heading .card-intro { max-width: 720px; }
.admin-address-toolbar { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(190px, .6fr)); gap: 12px; margin-bottom: 16px; }
.admin-address-list { display: grid; gap: 13px; }
.admin-address-card { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .62); }
.admin-address-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-address-title-block { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-address-head h4 { overflow: hidden; margin: 0; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.admin-address-markers { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.admin-address-markers .address-source { flex: 0 0 auto; }
.workflow-priority { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 999px; color: #9b4c12; background: #fff1df; font-size: 10px; font-weight: 800; }
.workflow-note { margin-top: 7px; padding: 8px 10px; border-radius: 9px; color: #9b4c12; background: #fff8ed; font-size: 11px; line-height: 1.5; }
.admin-address-meta, .admin-address-finalized { margin-top: 6px; color: var(--muted); font-size: 12px; }
.admin-address-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr); gap: 16px; margin-top: 14px; }
.admin-address-results { display: grid; align-content: start; gap: 8px; }
.admin-address-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; padding: 5px 8px; border-radius: 9px; background: #f7f9fc; }
.admin-address-result-name { color: var(--muted); font-size: 11px; font-weight: 750; }
.admin-address-photo { display: grid; min-height: 122px; overflow: hidden; place-items: center; border-radius: 12px; color: var(--subtle); background: #edf1f7; font-size: 11px; text-align: center; }
.admin-address-photo img { display: block; width: 100%; height: 150px; object-fit: cover; }
.admin-address-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.admin-address-actions .button { min-height: 35px; padding: 0 11px; font-size: 11px; }
.admin-address-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 17px; color: var(--muted); font-size: 12px; }
.admin-address-pagination .button { min-height: 34px; padding: 0 12px; font-size: 11px; }
.admin-address-pagination .button:disabled { cursor: not-allowed; opacity: .4; }
.admin-address-empty { padding: 30px 15px; border: 1px dashed #d4dbe7; border-radius: 14px; color: var(--muted); text-align: center; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 5; max-width: 360px; padding: 13px 16px; border-radius: 12px; color: #fff; background: #172033; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }

/* 街景人工确认弹窗 */
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(26, 36, 55, .38); backdrop-filter: blur(13px); }
.modal-card { position: relative; z-index: 1; width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 28px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 26px; background: rgba(255, 255, 255, .96); box-shadow: 0 30px 100px rgba(30, 48, 85, .28); }
.modal-close { position: absolute; top: 17px; right: 19px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: #f1f3f7; font-size: 24px; line-height: 1; }
.modal-close:hover { color: var(--ink); background: #e5e9f0; }
.modal-card h2 { margin: 11px 45px 3px 0; font-size: 28px; letter-spacing: -.05em; }
.modal-address { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.street-view-frame { display: grid; min-height: 320px; overflow: hidden; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #eaf0fa, #f7f9fc); }
.street-view-frame img { display: block; width: 100%; max-height: 430px; object-fit: cover; }
.image-loading { color: var(--muted); font-size: 13px; }
.modal-notice { margin: 16px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.modal-error { margin: 12px 0; padding: 11px 13px; border: 1px solid #f3c8ce; border-radius: 11px; color: var(--red); background: #fff7f8; font-size: 12px; line-height: 1.6; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.review-actions button { min-height: 42px; flex: 1; padding: 0 15px; border: 1px solid #d7dfed; border-radius: 12px; color: var(--ink); background: #f8faff; font-size: 13px; font-weight: 750; }
.review-actions button:first-child { color: #146a54; border-color: #b9e0d2; background: #eaf8f2; }
.review-actions button:nth-child(2) { color: #a42e3d; border-color: #f1c5cc; background: #fff0f2; }
.review-actions button:hover:not(:disabled) { border-color: var(--blue); transform: translateY(-1px); }
.review-actions button:disabled { cursor: wait; opacity: .55; }
.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field-wide { grid-column: span 2; }
  .address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .public-shell { width: min(100% - 24px, 1240px); padding-top: 15px; }
  .site-nav { margin-bottom: 18px; }
  .hero-block { min-height: 430px; border-radius: 25px; padding: 50px 27px; }
  .hero-block h1 { max-width: 100%; font-size: 40px; }
  .hero-note { right: 20px; bottom: 46px; font-size: 11px; }
  .hero-note strong { font-size: 12px; }
  .search-panel { margin: 18px 10px 30px; padding: 23px 18px 17px; border-radius: 20px; }
  .search-heading { display: block; }
  .search-heading p { margin-top: 8px; }
  .search-grid { grid-template-columns: 1fr; gap: 13px; }
  .search-field-wide { grid-column: auto; }
  .search-footer { align-items: start; flex-direction: column; gap: 11px; }
  .advanced-filters { padding: 14px 0 1px; }
  .advanced-filters .search-grid { padding: 0; }
  .source-switcher { display: block; margin-bottom: 15px; padding: 14px; }
  .source-switcher-copy { margin: 1px 3px 11px; }
  .source-tabs { overflow-x: auto; justify-content: flex-start; }
  .source-tab { flex: 0 0 auto; padding-right: 13px; padding-left: 13px; }
  .result-summary { grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 0 10px 37px; }
  .summary-item { display: block; padding: 15px; }
  .summary-item span, .summary-item small { display: block; }
  .summary-item strong { display: inline-block; margin: 8px 4px 0 0; font-size: 23px; }
  .results-section { margin: 0 10px; }
  .results-heading { align-items: start; display: block; }
  .results-heading h2 { font-size: 27px; }
  .results-heading > span { display: block; margin-top: 9px; }
  .address-grid { grid-template-columns: 1fr; }
  .address-card-footer { align-items: flex-start; flex-direction: column; }
  .address-actions { width: 100%; justify-content: space-between; }
  .site-footer { align-items: start; flex-direction: column; gap: 7px; margin: 38px 10px 0; }
  .shell { width: min(100% - 22px, 1180px); padding-top: 20px; }
  .topbar { align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .admin-review-heading { display: block; }
  .admin-review-heading .button { width: 100%; }
  .admin-address-toolbar { grid-template-columns: 1fr; }
  .admin-address-content { grid-template-columns: 1fr; }
  .admin-address-actions .button { flex: 1 1 145px; }
  .modal { padding: 12px; }
  .modal-card { padding: 23px 18px 18px; border-radius: 22px; }
  .street-view-frame { min-height: 220px; }
  .review-actions { display: grid; grid-template-columns: 1fr; }
}
