/* Property manager portal: dashboard and claim pages. */
:root {
    --mp-blue: #2563eb;
    --mp-indigo: #4f46e5;
    --mp-ink: #0f172a;
    --mp-body: #334155;
    --mp-muted: #64748b;
    --mp-line: #e2e8f0;
    --mp-soft: #f8fafc;
}

.mp-body { background: var(--mp-soft); color: var(--mp-ink); min-height: 100vh; margin: 0; }
.mp-body * { box-sizing: border-box; }

.mp-header { background: #fff; border-bottom: 1px solid var(--mp-line); }
.mp-header-in { padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mp-brand img { height: 36px; width: auto; }
.mp-brand span { font-size: 18px; font-weight: 600; color: var(--mp-ink); }
.mp-brand b { color: var(--mp-blue); font-weight: 600; }
.mp-header-links { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.mp-header-links a { color: #475569; text-decoration: none; }
.mp-header-links a:hover { color: var(--mp-ink); }

.mp-shell { display: flex; align-items: stretch; min-height: calc(100vh - 65px); }
.mp-nav { width: 236px; flex: none; background: #fff; border-right: 1px solid var(--mp-line); padding: 20px 12px; }
.mp-nav .biz { padding: 4px 12px 16px; }
.mp-nav .biz-name { font-size: 14px; font-weight: 700; color: var(--mp-ink); }
.mp-nav .biz-place { font-size: 12px; color: var(--mp-muted); margin-top: 4px; }
.mp-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; color: #475569; font-size: 14px; font-weight: 600; text-decoration: none; }
.mp-nav a:hover { background: var(--mp-soft); color: var(--mp-ink); }
.mp-nav a.on { background: #eff6ff; color: #1d4ed8; }
.mp-nav .count { min-width: 20px; text-align: center; font-size: 12px; border-radius: 999px; background: var(--mp-blue); color: #fff; padding: 1px 7px; }
.mp-nav .count.muted { background: #e2e8f0; color: var(--mp-body); }
.mp-nav .nav-foot { margin-top: 18px; padding: 14px 12px 0; border-top: 1px solid #f1f5f9; font-size: 12px; color: var(--mp-muted); }
.mp-nav .nav-foot a { display: inline; padding: 0; font-size: 12px; color: var(--mp-blue); }
.mp-nav .nav-foot a:hover { background: none; }

.mp-main { flex: 1; min-width: 0; padding: 32px 32px 64px; }
.mp-inner { width: 100%; max-width: 880px; margin: 0 auto; }
.mp-page-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; color: var(--mp-ink); }
.mp-page-sub { font-size: 14px; color: var(--mp-muted); margin: 0 0 20px; }

.mp-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); padding: 24px; margin-bottom: 20px; }
.mp-card h2 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--mp-ink); }
.mp-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; color: var(--mp-ink); }
.mp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mp-card-blue { background: #eff6ff; border-color: #bfdbfe; }
.mp-sub { font-size: 14px; color: var(--mp-muted); margin: 0 0 16px; line-height: 1.5; }
.mp-text { font-size: 14px; color: var(--mp-body); line-height: 1.55; margin: 0 0 12px; }
.mp-small { font-size: 12px; color: var(--mp-muted); }
.mp-muted { color: var(--mp-muted); }
.mp-strong { font-weight: 700; color: var(--mp-ink); }
.mp-mt { margin-top: 16px; }
.mp-mt-sm { margin-top: 8px; }
.mp-mb-0 { margin-bottom: 0; }

.mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--mp-blue), var(--mp-indigo)); border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; font-family: inherit; }
.mp-btn:hover { filter: brightness(.95); }
.mp-btn[disabled] { opacity: .6; cursor: not-allowed; }
.mp-btn-ghost { background: #fff; color: var(--mp-ink); border-color: var(--mp-line); }
.mp-btn-ghost:hover { border-color: #94a3b8; filter: none; }
.mp-btn-danger { background: #fff; color: #b91c1c; border-color: #fecaca; }
.mp-btn-danger:hover { border-color: #f87171; filter: none; }
.mp-btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.mp-btn-block { width: 100%; }
.mp-btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mp-link { color: var(--mp-blue); font-weight: 600; text-decoration: none; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.mp-link:hover { text-decoration: underline; }

.mp-field { margin-bottom: 16px; }
.mp-label { display: block; font-size: 14px; font-weight: 600; color: var(--mp-body); margin-bottom: 6px; }
.mp-input, .mp-select, .mp-textarea { width: 100%; padding: 11px 14px; background: var(--mp-soft); border: 1px solid var(--mp-line); border-radius: 10px; font-size: 14px; color: var(--mp-ink); font-family: inherit; }
.mp-input:focus, .mp-select:focus, .mp-textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); background: #fff; }
.mp-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.mp-help { font-size: 12px; color: var(--mp-muted); margin-top: 6px; line-height: 1.45; }
.mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mp-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.mp-inline-form { display: flex; gap: 8px; }
.mp-inline-form .mp-input { flex: 1; }
.mp-code { letter-spacing: .3em; font-size: 20px; text-align: center; }
.mp-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.mp-choice { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mp-body); }
.mp-switch { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mp-body); }
.mp-switch input { margin-top: 3px; }

.mp-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f1f5f9; color: var(--mp-body); white-space: nowrap; }
.mp-badge-green { background: #ecfdf5; color: #047857; }
.mp-badge-blue { background: #eff6ff; color: #1d4ed8; }
.mp-badge-amber { background: #fffbeb; color: #b45309; }
.mp-badge-red { background: #fef2f2; color: #b91c1c; }
.mp-from-site { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; color: #b45309; background: #fffbeb; border-radius: 999px; padding: 1px 8px; vertical-align: middle; }

.mp-flash { border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; border: 1px solid; line-height: 1.5; }
.mp-flash-ok { background: #ecfdf5; border-color: #d1fae5; color: #047857; }
.mp-flash-err { background: #fef2f2; border-color: #fee2e2; color: #b91c1c; }
.mp-note { border-radius: 10px; padding: 10px 14px; font-size: 13px; background: var(--mp-soft); border: 1px solid var(--mp-line); color: var(--mp-body); line-height: 1.5; }

.mp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mp-stat { background: var(--mp-soft); border: 1px solid var(--mp-line); border-radius: 12px; padding: 14px; }
.mp-stat .v { font-size: 22px; font-weight: 800; color: var(--mp-ink); }
.mp-stat .l { font-size: 12px; color: var(--mp-muted); margin-top: 4px; }
.mp-stat .d { font-size: 12px; margin-top: 4px; }
.mp-up { color: #047857; }
.mp-down { color: #b91c1c; }
.mp-spark { display: flex; align-items: flex-end; gap: 2px; height: 40px; margin-top: 14px; }
.mp-spark span { flex: 1; background: #bfdbfe; border-radius: 2px 2px 0 0; min-height: 2px; }

.mp-progress { height: 8px; background: var(--mp-line); border-radius: 999px; overflow: hidden; }
.mp-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--mp-blue), var(--mp-indigo)); }
.mp-checklist { margin-top: 12px; }
.mp-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.mp-check .dot { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #cbd5e1; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; margin-top: 1px; }
.mp-check.done .dot { background: #10b981; border-color: #10b981; }
.mp-check .what { flex: 1; min-width: 0; }
.mp-check .what b { display: block; font-size: 14px; color: var(--mp-ink); }
.mp-check.done .what b { color: var(--mp-muted); text-decoration: line-through; }
.mp-check .what span { display: block; font-size: 13px; color: var(--mp-muted); margin-top: 2px; }

.mp-tabs { display: flex; flex-wrap: wrap; gap: 4px; background: #f1f5f9; padding: 4px; border-radius: 10px; width: fit-content; max-width: 100%; margin-bottom: 16px; }
.mp-tabs a { padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #475569; text-decoration: none; white-space: nowrap; }
.mp-tabs a.on { background: #fff; color: var(--mp-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.mp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mp-pills a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #475569; background: #fff; border: 1px solid var(--mp-line); text-decoration: none; }
.mp-pills a.on { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.mp-pills a .tick { color: #10b981; margin-right: 4px; }

.mp-lead { border: 1px solid var(--mp-line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.mp-lead.open { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59, 130, 246, .12); }
.mp-lead-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mp-lead-title { font-size: 15px; font-weight: 700; color: var(--mp-ink); text-decoration: none; }
.mp-lead-meta { font-size: 12px; color: var(--mp-muted); margin-top: 3px; }
.mp-facts { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 14px; margin: 14px 0 0; }
.mp-facts dt { color: var(--mp-muted); }
.mp-facts dd { margin: 0; color: var(--mp-ink); }
.mp-locked { margin-top: 14px; background: var(--mp-soft); border: 1px dashed #cbd5e1; border-radius: 12px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mp-locked p { margin: 0; font-size: 13px; color: var(--mp-body); }
.mp-contact { margin-top: 14px; background: #ecfdf5; border: 1px solid #d1fae5; border-radius: 12px; padding: 14px; font-size: 14px; }
.mp-contact a { color: #047857; font-weight: 600; }
.mp-quote { margin: 12px 0 0; padding: 10px 12px; background: var(--mp-soft); border-radius: 10px; font-size: 14px; color: var(--mp-body); white-space: pre-line; }

.mp-review { border: 1px solid var(--mp-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.mp-review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mp-review-who { font-size: 14px; font-weight: 600; color: var(--mp-ink); }
.mp-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.mp-reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid #93c5fd; background: #eff6ff; border-radius: 0 8px 8px 0; font-size: 14px; color: var(--mp-body); white-space: pre-line; }
.mp-reply b { display: block; font-size: 12px; color: #1d4ed8; margin-bottom: 4px; }

.mp-details { margin-top: 10px; }
.mp-details > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--mp-blue); list-style: none; display: inline-block; }
.mp-details > summary::-webkit-details-marker { display: none; }
.mp-details[open] > summary { margin-bottom: 10px; }
.mp-option { border: 1px solid var(--mp-line); border-radius: 12px; padding: 16px; margin-top: 12px; background: #fff; }
.mp-option h4 { margin: 0 0 4px; font-size: 15px; color: var(--mp-ink); }

.mp-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; border: 1px solid var(--mp-line); border-radius: 12px; padding: 14px 16px; background: #fff; margin-bottom: 10px; }
.mp-result:hover { border-color: #93c5fd; }
.mp-result.on { border-color: #93c5fd; background: #eff6ff; }
.mp-result .who { min-width: 0; }
.mp-result .who b { display: block; color: var(--mp-ink); font-size: 15px; }
.mp-result .who span { display: block; color: var(--mp-muted); font-size: 13px; margin-top: 2px; }
.mp-result .go { flex: none; font-size: 14px; font-weight: 600; color: var(--mp-blue); }

.mp-photo-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.mp-photo { width: 128px; }
.mp-photo img { width: 128px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.mp-logo { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--mp-line); object-fit: contain; background: #fff; }

.mp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mp-muted); padding: 8px 10px; border-bottom: 1px solid var(--mp-line); }
.mp-table td { padding: 10px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.mp-empty { text-align: center; padding: 28px 16px; color: var(--mp-muted); font-size: 14px; }
.mp-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: var(--mp-muted); }

/* Claim landing page */
.mp-claim-wrap { max-width: 960px; margin: 0 auto; padding: 36px 20px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.mp-claim-hero { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0 0 8px; color: var(--mp-ink); }
.mp-company { display: flex; align-items: center; gap: 14px; }
.mp-company-name { font-size: 18px; font-weight: 700; color: var(--mp-ink); }
.mp-waiting { margin-top: 16px; display: flex; gap: 12px; align-items: center; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #92400e; }
.mp-waiting b { font-size: 22px; color: #b45309; }
.mp-missing { list-style: none; padding: 0; margin: 10px 0 0; }
.mp-missing li { font-size: 14px; color: var(--mp-body); padding: 6px 0; border-top: 1px solid #f1f5f9; }
.mp-missing li:before { content: "+"; display: inline-block; width: 18px; color: var(--mp-blue); font-weight: 700; }
.mp-divider { display: flex; align-items: center; gap: 10px; color: var(--mp-muted); font-size: 12px; margin: 14px 0; }
.mp-divider:before, .mp-divider:after { content: ""; flex: 1; height: 1px; background: var(--mp-line); }
.mp-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 10px 16px; border: 1px solid var(--mp-line); border-radius: 10px; background: #fff; color: var(--mp-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.mp-google:hover { border-color: #94a3b8; }

@media (max-width: 860px) {
    .mp-claim-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .mp-shell { flex-direction: column; }
    .mp-nav { width: auto; border-right: 0; border-bottom: 1px solid var(--mp-line); display: flex; gap: 4px; overflow-x: auto; padding: 10px 12px; }
    .mp-nav .biz, .mp-nav .nav-foot { display: none; }
    .mp-nav a { white-space: nowrap; }
    .mp-main { padding: 20px 14px 48px; }
    .mp-card { padding: 18px; }
    .mp-row, .mp-row-3, .mp-choice-grid { grid-template-columns: 1fr; }
    .mp-stats { grid-template-columns: 1fr 1fr; }
    .mp-facts { grid-template-columns: 1fr; gap: 2px; }
    .mp-facts dd { margin-bottom: 8px; }
    .mp-header-links .hide-sm { display: none; }
}
