:root {
    --paper: #f7f4ee;
    --ink: #10253f;
    --muted: #667085;
    --line: #dedbd3;
    --surface: #ffffff;
    --accent: #f45d48;
    --accent-dark: #d94634;
    --success: #16794d;
    --warning: #a15c00;
    --danger: #bd2c2c;
    --shadow: 0 18px 50px rgba(16, 37, 63, .08);
    --radius: 18px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* V13.7 — Growth analytics and conversion intelligence */
.v137-shell{display:grid;gap:18px}.v137-header{align-items:center}.v137-header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.v137-header-actions form{margin:0}.v137-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px}.v137-toolbar>div{display:grid;gap:3px}.v137-toolbar>div span{color:#708299;font-size:13px}.v137-toolbar nav{display:flex;gap:6px;padding:4px;border-radius:12px;background:#edf2f7}.v137-toolbar nav a{padding:8px 12px;border-radius:9px;color:#53667d;font-weight:800;font-size:12px;text-decoration:none}.v137-toolbar nav a.active{background:#102b47;color:#fff}.v137-section{overflow:hidden}.v137-section>.admin-card-heading{padding:20px 22px;margin:0;border-bottom:1px solid #e7edf3;display:flex;align-items:center;justify-content:space-between;gap:15px}.v137-section>.admin-card-heading h2{margin:0}.v137-section>.admin-card-heading p{margin:5px 0 0;color:#75879d}.v137-funnel{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:18px;gap:10px}.v137-funnel article{position:relative;display:grid;gap:7px;padding:18px;border:1px solid #e2eaf1;border-radius:16px;background:linear-gradient(145deg,#fff,#f7fafc)}.v137-funnel article:not(:last-child):after{content:'›';position:absolute;right:-9px;top:50%;z-index:2;display:grid;place-items:center;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:#f45f50;color:#fff;font-weight:900}.v137-funnel span,.v137-email-grid span,.v137-risk-grid span{color:#61758d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.v137-funnel strong{font-size:30px;color:#102b47}.v137-funnel small{color:#138463;font-weight:900}.v137-split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.v137-retention,.v137-email-grid,.v137-risk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px}.v137-retention article,.v137-email-grid article,.v137-risk-grid article{display:grid;gap:7px;padding:16px;border:1px solid #e2eaf1;border-radius:14px;background:#fbfcfe}.v137-retention span{font-weight:900;color:#f45f50}.v137-retention strong,.v137-email-grid strong,.v137-risk-grid strong{font-size:25px;color:#102b47}.v137-retention small{color:#75879d}.v137-table td strong,.v137-table td small{display:block}.v137-table td small{margin-top:3px;color:#7d8da0}.v137-rate{display:inline-flex;padding:5px 9px;border-radius:20px;background:#e7f7f1;color:#087759;font-weight:900}.v137-breakdown-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.v137-ranking{display:grid;padding:10px 18px 18px}.v137-ranking article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 3px;border-bottom:1px solid #edf1f5}.v137-ranking article:last-child{border-bottom:0}.v137-ranking span{color:#344b63}.v137-ranking strong{color:#102b47}.v137-risk-grid article.has-risk{border-color:#ffd3cc;background:#fff8f6}.v137-risk-grid article.has-risk strong{color:#d84a3c}.v137-snapshot-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:18px}.v137-snapshot-list article{display:grid;gap:5px;padding:12px 8px;text-align:center;border-radius:12px;background:#f4f7fa}.v137-snapshot-list span{font-size:11px;color:#74869b}.v137-snapshot-list strong{font-size:20px;color:#102b47}.v137-snapshot-list small{font-size:10px;color:#12805f}.v137-privacy{margin:0;padding:14px 18px;border:1px solid #d9e6ef;border-radius:14px;background:#f5f9fc;color:#5e7188;font-size:12px}.v137-tracking-link{display:inline-flex;padding:7px 10px;border-radius:9px;background:#edf5fb;color:#174f7a;font-weight:800;text-decoration:none}
@media(max-width:1280px){.v137-funnel{grid-template-columns:repeat(3,1fr)}.v137-funnel article:nth-child(3):after{display:none}.v137-breakdown-grid{grid-template-columns:1fr 1fr}.v137-breakdown-grid section:last-child{grid-column:1/-1}}
@media(max-width:860px){.v137-header,.v137-toolbar{align-items:flex-start;flex-direction:column}.v137-toolbar nav{width:100%;overflow-x:auto}.v137-split,.v137-breakdown-grid{grid-template-columns:1fr}.v137-breakdown-grid section:last-child{grid-column:auto}.v137-funnel{grid-template-columns:1fr 1fr}.v137-funnel article:nth-child(2n):after{display:none}.v137-email-grid,.v137-risk-grid{grid-template-columns:1fr 1fr}.v137-snapshot-list{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){.v137-funnel,.v137-email-grid,.v137-risk-grid{grid-template-columns:1fr}.v137-funnel article:after{display:none}.v137-header-actions{width:100%}.v137-header-actions a,.v137-header-actions form,.v137-header-actions button{width:100%}.v137-snapshot-list{grid-template-columns:repeat(2,1fr)}}

.locale-switch {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.locale-switch a {
    padding: 4px 7px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
}

.locale-switch a.active {
    color: #fff;
    background: var(--ink);
}

.verification-card form + form {
    margin-top: 20px;
}

.verified-state {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: 6px;
    color: var(--warning);
}

.verified-state.ok { color: var(--success); }
.verified-state a { color: var(--accent); font-weight: 800; }

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto 50px;
}

.store-card,
.store-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.store-card h2 { margin: 0 0 5px; font-size: 20px; }
.store-card p, .store-card small { margin: 0; color: var(--muted); }
.store-logo { display: grid; overflow: hidden; flex: 0 0 72px; width: 72px; height: 72px; place-items: center; border-radius: 16px; background: #ffede9; color: var(--accent); font-size: 22px; font-weight: 900; }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-logo.large { flex-basis: 120px; width: 120px; height: 120px; }
.store-hero { max-width: 1180px; margin: 40px auto 70px; align-items: flex-start; }
.store-hero h1 { margin-bottom: 10px; font-size: 42px; }
.store-contact { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }
.store-status { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; background: #fff6e5; }
.status-approved { color: var(--success); background: #effbf5; }
.status-rejected { color: var(--danger); background: #fff1f0; }

.promotion-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 24px; }
.promotion-package input { position: absolute; opacity: 0; }
.promotion-package span { display: grid; min-height: 140px; padding: 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.promotion-package input:checked + span { border-color: var(--accent); box-shadow: 0 10px 26px rgba(244, 93, 72, .15); }
.promotion-package small { color: var(--muted); }
.promotion-package b { align-self: end; margin-top: 22px; font-size: 20px; }
.simple-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.simple-list span { color: var(--muted); font-size: 13px; }
.promotion-badge { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; border-radius: 8px; color: #fff; background: var(--accent); font-size: 10px; }
.listing-card.is-promoted { border-color: rgba(244, 93, 72, .65); box-shadow: 0 14px 36px rgba(244, 93, 72, .11); }
.payment-details div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.payment-details dt { color: var(--muted); }
.payment-details dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .store-grid { grid-template-columns: 1fr 1fr; padding-inline: 18px; }
    .promotion-packages { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .locale-switch { order: -1; }
    .store-grid { grid-template-columns: 1fr; }
    .store-hero { margin-inline: 18px; flex-direction: column; }
    .simple-list > div { flex-direction: column; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    color: #fff;
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 42px;
    align-items: center;
    min-height: 76px;
    padding: 12px max(24px, calc((100vw - 1240px) / 2));
    border-bottom: 1px solid rgba(16, 37, 63, .1);
    background: rgba(247, 244, 238, .94);
    backdrop-filter: blur(18px);
}

.wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--ink);
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -1.6px;
}

.wordmark span {
    color: var(--accent);
}

.site-header nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a,
.text-link,
.text-button {
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
}

.site-header nav a:hover,
.text-link:hover,
.text-button:hover {
    color: var(--accent);
}

.header-actions {
    justify-content: flex-end;
    gap: 18px;
}

.header-actions form {
    margin: 0;
}

.primary-button,
.secondary-button,
.outline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-button {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 10px 20px rgba(244, 93, 72, .2);
}

.primary-button:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    box-shadow: 0 13px 26px rgba(244, 93, 72, .28);
    transform: translateY(-1px);
}

/* Pazarce V3.0 platform controls */
.settings-section {
    margin-bottom: 18px;
    padding: 24px;
}

.admin-settings-form .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-settings-form textarea,
.settings-tests input,
.settings-tests button,
.admin-primary-button {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d8dde5;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.admin-settings-form textarea {
    resize: vertical;
}

.admin-settings-form .wide {
    grid-column: 1 / -1;
}

.admin-settings-form .admin-check {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.admin-settings-form .admin-check input {
    width: 18px;
    min-height: 18px;
}

.admin-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 28px;
}

.admin-primary-button,
.settings-tests button {
    width: auto;
    cursor: pointer;
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    font-weight: 800;
}

.inline-price,
.settings-tests {
    display: flex;
    gap: 10px;
    align-items: center;
}

.inline-price input {
    min-width: 110px;
}

.settings-tests {
    flex-wrap: wrap;
}

.settings-tests form {
    display: flex;
    gap: 9px;
}

.listing-status-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 5px;
}

.listing-status-tabs a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.listing-status-tabs a.active {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

.listing-row-actions,
.saved-search-actions,
.results-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.listing-row-actions form {
    display: inline-flex;
}

.listing-row-actions button,
.saved-search-actions button,
.saved-search-actions a,
.save-search-form button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.save-search-form {
    display: flex;
    gap: 7px;
    align-items: center;
}

.save-search-form input,
.save-search-form select {
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.saved-search-list {
    display: grid;
    gap: 12px;
}

.saved-search-list article {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.saved-search-list article > div:first-child {
    display: grid;
    gap: 4px;
}

.saved-search-list span {
    color: var(--muted);
    font-size: 12px;
}

.readiness-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.readiness-summary article {
    display: grid;
    gap: 4px;
    padding: 20px;
    border: 1px solid #dde2e9;
    border-radius: 14px;
    background: #fff;
}

.readiness-summary strong {
    font-size: 28px;
}

.readiness-list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e7eaf0;
}

.readiness-list article > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.readiness-list article > div {
    display: grid;
    gap: 3px;
}

.readiness-list small {
    color: var(--muted);
}

.readiness-ok > span { color: #137a4b; background: #e4f6ed; }
.readiness-warning > span { color: #9a6600; background: #fff2cd; }
.readiness-error > span { color: #a92f2f; background: #fde7e7; }
.readiness-ok > b { color: #137a4b; }
.readiness-warning > b { color: #9a6600; }
.readiness-error > b { color: #a92f2f; }

.compact-button {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
}

@media (max-width: 760px) {
    .admin-settings-form .admin-form-grid,
    .readiness-summary {
        grid-template-columns: 1fr;
    }

    .saved-search-list article,
    .results-tools,
    .save-search-form,
    .settings-tests form {
        align-items: stretch;
        flex-direction: column;
    }

    .readiness-list article {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .readiness-list article > b {
        grid-column: 2;
    }
}

.secondary-button,
.outline-link {
    border-color: var(--line);
    background: var(--surface);
}

.secondary-button:hover,
.outline-link:hover {
    border-color: var(--ink);
}

.flash-message,
.admin-flash {
    margin: 18px auto 0;
    max-width: 1180px;
    padding: 14px 18px;
    color: #0d5c3a;
    border: 1px solid #b6dfcc;
    border-radius: 12px;
    background: #effbf5;
    font-weight: 700;
}

.hero {
    overflow: hidden;
    padding: 96px max(24px, calc((100vw - 1180px) / 2)) 78px;
    background:
        radial-gradient(circle at 84% 7%, rgba(244, 93, 72, .15), transparent 27%),
        linear-gradient(180deg, #f7f4ee 0%, #f0ece3 100%);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}

.eyebrow span {
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(48px, 7.4vw, 92px);
    line-height: .96;
    letter-spacing: -.065em;
}

.hero-copy > p:last-child {
    color: #4b5f75;
    font-size: 20px;
}

.search-panel {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
    gap: 10px;
    margin-top: 46px;
    padding: 10px;
    border: 1px solid rgba(16, 37, 63, .08);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-panel label {
    display: flex;
    align-items: center;
    min-width: 0;
    border-right: 1px solid var(--line);
}

.search-panel label span {
    margin-left: 14px;
    font-size: 23px;
}

.search-panel input,
.search-panel select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.category-grid a {
    display: grid;
    min-height: 145px;
    padding: 20px;
    border: 1px solid rgba(16, 37, 63, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.category-grid a:hover {
    border-color: var(--accent);
    background: #fff;
    transform: translateY(-3px);
}

.category-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 22px;
    color: var(--accent);
    border-radius: 50%;
    background: #ffede9;
    font-weight: 900;
}

.category-grid strong {
    line-height: 1.2;
}

.category-grid small {
    align-self: end;
    margin-top: 6px;
    color: var(--muted);
}

.content-section,
.trust-section,
.detail-wrap,
.form-page {
    max-width: 1180px;
    margin-inline: auto;
}

.content-section {
    padding: 86px 24px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.04em;
}

.section-kicker {
    margin-bottom: 6px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.listing-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .2s ease, box-shadow .2s ease;
}

.listing-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.listing-image {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    place-items: center;
    background: #e9e5dc;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.025);
}

.placeholder-image {
    color: rgba(16, 37, 63, .6);
    background:
        linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, .45) 49%, rgba(255, 255, 255, .45) 51%, transparent 52%),
        #e7e1d7;
}

.placeholder-image > span {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.listing-image small {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 800;
}

.listing-image .demo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: #fff;
    border-radius: 8px;
    background: rgba(16, 37, 63, .9);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.demo-listing-notice {
    margin-bottom: 16px;
    padding: 12px 15px;
    color: #72530f;
    border: 1px solid #efd18a;
    border-radius: 11px;
    background: #fff7df;
    font-size: 13px;
    font-weight: 750;
}

.listing-body {
    padding: 16px;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.listing-body h3 {
    overflow: hidden;
    min-height: 46px;
    margin: 9px 0 8px;
    font-size: 16px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.listing-body > p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.listing-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.listing-bottom strong {
    font-size: 19px;
}

.listing-bottom span {
    color: var(--success);
    font-size: 11px;
    font-weight: 800;
}

.empty-state {
    padding: 54px 28px;
    text-align: center;
    border: 1px dashed #c9c4bb;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .55);
}

.empty-state p {
    color: var(--muted);
}

.trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 90px;
    padding: 62px 24px;
    color: #fff;
    border-radius: 28px;
    background: var(--ink);
}

.trust-section div {
    padding: 0 38px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.trust-section div:last-child {
    border-right: 0;
}

.trust-section span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.trust-section h3 {
    margin: 18px 0 10px;
    font-size: 20px;
}

.trust-section p {
    margin: 0;
    color: #b9c4d0;
}

.site-footer {
    padding: 66px max(24px, calc((100vw - 1180px) / 2)) 24px;
    color: #d8e1e9;
    background: #0a1b2e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 42px;
    padding-bottom: 50px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo {
    color: #fff;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: #98a8b8;
}

.footer-grid p {
    max-width: 360px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
}

.inner-page {
    min-height: 65vh;
}

.page-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 58px max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid var(--line);
    background: #f0ece3;
}

.page-hero h1,
.form-intro h1 {
    margin-bottom: 8px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -.05em;
}

.page-hero p {
    margin-bottom: 0;
}

.breadcrumb {
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.compact-search {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 190px auto;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.compact-search input,
.compact-search select {
    min-height: 46px;
    padding: 0 13px;
    border: 0;
    border-right: 1px solid var(--line);
    outline: 0;
    background: transparent;
}

.results-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    max-width: 1180px;
    margin: 42px auto 88px;
    padding-inline: 24px;
}

.filters {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.filter-heading,
.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-heading {
    margin-bottom: 20px;
}

.filter-heading h2 {
    margin: 0;
    font-size: 20px;
}

.filter-heading a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.filters > label,
.filters .two-fields label,
.listing-form label,
.auth-card label {
    display: grid;
    gap: 7px;
    margin-bottom: 17px;
    color: #34475d;
    font-size: 13px;
    font-weight: 750;
}

.filters input,
.filters select,
.listing-form input,
.listing-form select,
.listing-form textarea,
.auth-card input,
.auth-card select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d2d0ca;
    border-radius: 10px;
    outline: none;
    background: #fff;
}

.filters input:focus,
.filters select:focus,
.listing-form input:focus,
.listing-form select:focus,
.listing-form textarea:focus,
.auth-card input:focus,
.auth-card select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 93, 72, .12);
}

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filters .primary-button {
    width: 100%;
}

.vehicle-filter-group {
    margin: 4px 0 18px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.vehicle-filter-group summary {
    margin-bottom: 15px;
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
}

.vehicle-filter-group[open] summary {
    color: var(--accent);
}

.listing-vehicle-meta {
    margin-bottom: 4px !important;
    color: var(--ink) !important;
    font-size: 12px;
    font-weight: 800;
}

.results-toolbar {
    min-height: 48px;
    margin-bottom: 18px;
}

.results-toolbar select {
    min-height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pager {
    margin-top: 32px;
}

.pager nav > div:first-child {
    display: none;
}

.pager nav > div:last-child,
.pager nav > div:last-child > div:last-child > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pager nav svg {
    width: 18px;
}

.pager nav a,
.pager nav span[aria-current="page"] span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.detail-wrap {
    padding: 36px 24px 90px;
}

.status-banner {
    margin: 18px 0;
    padding: 13px 16px;
    color: #7a4800;
    border: 1px solid #f3cf98;
    border-radius: 10px;
    background: #fff6e6;
    font-weight: 700;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
    gap: 28px;
}

.detail-image {
    display: grid;
    overflow: hidden;
    min-height: 520px;
    place-items: center;
    border-radius: 22px;
    background: #e7e1d7;
}

.detail-image img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: cover;
}

.detail-card {
    align-self: start;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.detail-card h1 {
    margin: 18px 0 10px;
    font-size: 31px;
    line-height: 1.14;
    letter-spacing: -.035em;
}

.detail-card > p {
    color: var(--muted);
}

.detail-price {
    display: block;
    margin: 26px 0;
    font-size: 34px;
    letter-spacing: -.035em;
}

.seller-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    padding: 17px 0;
    border-block: 1px solid var(--line);
}

.seller-box > span,
.admin-user > span {
    display: grid;
    flex: 0 0 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.seller-box div,
.admin-user div {
    display: grid;
}

.seller-box small {
    color: var(--success);
}

.detail-card .primary-button,
.detail-card .secondary-button,
.favorite-form .secondary-button {
    width: 100%;
    margin-top: 10px;
}

.favorite-form {
    margin: 0;
}

.disabled-button {
    cursor: not-allowed;
    opacity: .58;
}

.safety-note {
    margin: 18px 0 0;
    padding: 13px;
    border-radius: 10px;
    background: #f7f4ee;
    font-size: 12px;
}

.detail-content {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 28px;
    margin-top: 34px;
}

.detail-content section {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.detail-content h2 {
    font-size: 22px;
}

.detail-content dl {
    margin: 0;
}

.detail-content dl div {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #efede8;
}

.detail-content dt {
    color: var(--muted);
}

.detail-content dd {
    margin: 0;
    font-weight: 750;
}

.similar {
    margin-top: 70px;
}

.form-page {
    padding: 64px 24px 100px;
}

.form-intro {
    max-width: 680px;
    margin-bottom: 30px;
}

.form-intro p:last-child {
    color: var(--muted);
}

.listing-form {
    max-width: 900px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.vehicle-fields-panel {
    margin: 4px 0 22px;
    padding: 22px;
    border: 1px solid #f2b4aa;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffaf8, #fff);
}

.vehicle-fields-panel[hidden] {
    display: none;
}

.vehicle-fields-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.vehicle-fields-heading div {
    display: grid;
    gap: 4px;
}

.vehicle-fields-heading strong {
    color: var(--ink);
    font-size: 18px;
}

.vehicle-fields-heading small {
    color: var(--muted);
}

.vehicle-fields-heading > span {
    padding: 6px 9px;
    color: var(--accent);
    border-radius: 999px;
    background: #fff0ed;
    font-size: 11px;
    font-weight: 800;
}

.vehicle-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.vehicle-fields-grid label {
    margin-bottom: 15px;
}

.category-fields-panel {
    border-color: #c8d7e8;
    background: linear-gradient(135deg, #f7fbff, #fff);
}

.category-fields-panel .vehicle-fields-heading > span {
    color: #315f8f;
    background: #eaf3fc;
}

.category-boolean-field {
    display: flex !important;
    align-items: center;
    align-self: center;
    gap: 10px !important;
    min-height: 46px;
}

.category-boolean-field input {
    width: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.category-fields-panel select[multiple] {
    min-height: 116px;
}

.listing-form textarea {
    resize: vertical;
}

.listing-form .checkbox-label,
.auth-card .checkbox-label {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 9px;
    min-height: 46px;
}

.checkbox-label input {
    width: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.upload-field {
    padding: 20px;
    border: 1px dashed #bdb8ad;
    border-radius: 12px;
    background: #faf9f6;
}

.upload-field small {
    color: var(--muted);
    font-weight: 500;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.error-box {
    margin-bottom: 22px;
    padding: 14px 16px;
    color: #8b2020;
    border: 1px solid #ebbbbb;
    border-radius: 10px;
    background: #fff0f0;
}

.error-box ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.auth-page {
    display: grid;
    min-height: 72vh;
    padding: 64px 24px 90px;
    place-items: start center;
    background:
        radial-gradient(circle at 72% 10%, rgba(244, 93, 72, .12), transparent 24%),
        var(--paper);
}

.auth-card {
    display: grid;
    width: min(100%, 480px);
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin-bottom: 8px;
    font-size: 38px;
    letter-spacing: -.045em;
}

.auth-card > p:not(.section-kicker) {
    margin-bottom: 26px;
    color: var(--muted);
}

.auth-card .primary-button {
    width: 100%;
}

.auth-card > small {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
}

.auth-card > small a {
    color: var(--accent);
    font-weight: 800;
}

.admin-body {
    background: #f2f4f7;
}

.admin-shell {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 28px 22px;
    color: #dce5ed;
    background: var(--ink);
}

.admin-logo {
    color: #fff;
}

.admin-sidebar > small {
    margin-top: 8px;
    color: #7f93a8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 44px;
}

.admin-sidebar nav a,
.admin-exit {
    padding: 11px 13px;
    border-radius: 9px;
    color: #adc0d1;
    font-size: 14px;
    font-weight: 700;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.admin-sidebar nav a.active {
    box-shadow: inset 3px 0 var(--accent);
}

.admin-exit {
    margin-top: 12px;
}

.admin-language-switch {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
}

.admin-language-switch > span {
    color: #8fa3b6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-language-switch .locale-switch {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
}

.admin-language-switch .locale-switch a {
    color: #adc0d1;
}

.admin-language-switch .locale-switch a.active {
    color: #fff;
    background: var(--accent);
}

.admin-main {
    min-width: 0;
    padding: 36px 42px 70px;
}

.admin-flash {
    max-width: none;
    margin: 0 0 24px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.admin-topbar p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -.035em;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    border: 1px solid #e0e3e7;
    border-radius: 12px;
    background: #fff;
}

.admin-user small {
    color: var(--muted);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-stats article {
    display: grid;
    min-height: 154px;
    padding: 22px;
    border: 1px solid #e0e3e7;
    border-radius: 15px;
    background: #fff;
}

.admin-stats > a {
    display: block;
    min-width: 0;
}

.admin-stats > a article {
    height: 100%;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.admin-stats > a:hover article {
    transform: translateY(-2px);
    border-color: #cfd5dc;
    box-shadow: 0 12px 24px rgba(18, 42, 66, .06);
}

.admin-stats article > span,
.admin-stats article > small {
    color: var(--muted);
    font-size: 12px;
}

.admin-stats article > span {
    font-weight: 800;
}

.admin-stats article > strong {
    align-self: end;
    margin-top: 10px;
    font-size: 34px;
}

.admin-card {
    margin-top: 24px;
    border: 1px solid #e0e3e7;
    border-radius: 15px;
    background: #fff;
}

.admin-card-heading {
    padding: 22px 24px;
    border-bottom: 1px solid #e7e9ec;
}

.admin-card-heading h2 {
    margin-bottom: 4px;
    font-size: 20px;
}

.admin-card-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-card-heading-row,
.admin-page-header,
.admin-report-summary,
.admin-report-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-card-heading-row > a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.admin-page-header {
    margin-bottom: 22px;
}

.admin-page-header p {
    margin: 0 0 5px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
}

.admin-page-header h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -.04em;
}

.admin-page-header span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.admin-outline-button,
.admin-danger-button,
.admin-filter-bar button,
.admin-inline-form button,
.admin-report-form button,
.admin-form-grid > button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 0;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.admin-outline-button {
    color: var(--ink);
    border: 1px solid #d8dde2;
    background: #fff;
}

.admin-danger-button {
    color: #9d2828;
    background: #fdeaea;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) minmax(150px, .8fr) minmax(150px, .8fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e3e7;
    border-radius: 13px;
    background: #fff;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-inline-form select,
.admin-report-form input,
.admin-report-form select,
.admin-form-grid input,
.admin-form-grid select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d8dde2;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-size: 12px;
}

.admin-filter-bar input:focus,
.admin-filter-bar select:focus,
.admin-inline-form select:focus,
.admin-report-form input:focus,
.admin-report-form select:focus,
.admin-form-grid input:focus,
.admin-form-grid select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 93, 72, .11);
}

.admin-filter-bar button,
.admin-inline-form button,
.admin-report-form button,
.admin-form-grid > button {
    color: #fff;
    background: var(--ink);
}

.admin-filter-bar > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-page-card {
    margin-top: 18px;
}

.admin-empty {
    padding: 48px 24px;
    color: var(--muted);
    text-align: center;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table-wrap th,
.admin-table-wrap td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid #edf0f2;
}

.admin-table-wrap th {
    color: var(--muted);
    background: #fafbfc;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-table-wrap td:first-child {
    display: grid;
    min-width: 230px;
}

.admin-table-wrap td:first-child small {
    color: var(--muted);
}

.admin-table-wrap td strong,
.admin-table-wrap td small {
    display: block;
}

.admin-table-wrap td small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.admin-status {
    display: inline-flex;
    width: max-content;
    padding: 5px 8px;
    color: #72530f;
    border-radius: 999px;
    background: #fff4cd;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.admin-status.status-active,
.admin-status.status-published,
.admin-status.status-resolved {
    color: #0d6842;
    background: #e2f7eb;
}

.admin-status.status-reviewing {
    color: #255c87;
    background: #e4f1fc;
}

.admin-status.status-info {
    color: #255c87;
    background: #e4f1fc;
}

.admin-status.status-warning {
    color: #72530f;
    background: #fff4cd;
}

.admin-status.status-critical {
    color: #962c2c;
    background: #fde8e8;
}

/* Security event center */
.security-page-header {
    padding: 24px 26px;
    border: 1px solid #e0e3e7;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #fff 62%, #f7f9fb 100%);
}

.security-retention,
.security-total-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    color: #526274;
    border: 1px solid #dfe4e9;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.security-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.security-overview article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid #e0e3e7;
    border-radius: 14px;
    background: #fff;
}

.security-overview article > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.security-overview article strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
}

.security-overview article div span {
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.security-stat-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 900;
}

.security-stat-info { color: #255c87; background: #e4f1fc; }
.security-stat-critical { color: #962c2c; background: #fde8e8; }
.security-stat-warning { color: #72530f; background: #fff4cd; }
.security-stat-device { color: #5b3f91; background: #eee9fb; }

.security-filter-bar {
    grid-template-columns: minmax(230px, 1.5fr) minmax(150px, .7fr) minmax(190px, 1fr) auto auto;
}

.security-events-card {
    overflow: hidden;
}

.security-event-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.security-event-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #5e8db4;
    box-shadow: 0 0 0 5px #eaf3fa;
}

.security-event-warning { background: #c68b20; box-shadow: 0 0 0 5px #fff5df; }
.security-event-critical { background: #c34343; box-shadow: 0 0 0 5px #fdecec; }

.security-table td:first-child {
    display: table-cell;
    min-width: 240px;
}

.security-table td:nth-child(2) { min-width: 190px; }
.security-table td:nth-child(3) { min-width: 220px; }
.security-table td:last-child { min-width: 155px; }

.security-ip {
    display: inline-block;
    padding: 4px 7px;
    color: #31475c;
    border-radius: 6px;
    background: #f1f4f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.security-date strong,
.security-date small {
    white-space: nowrap;
}

.security-empty {
    display: grid;
    justify-items: center;
    gap: 9px;
}

.security-empty span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #0d6842;
    border-radius: 50%;
    background: #e2f7eb;
    font-weight: 900;
}

.admin-status.status-rejected,
.admin-status.status-banned {
    color: #962c2c;
    background: #fde8e8;
}

.admin-status.status-suspended,
.admin-status.status-archived,
.admin-status.status-expired,
.admin-status.status-sold,
.admin-status.status-dismissed {
    color: #526274;
    background: #e9edf1;
}

.action-cell {
    display: flex;
    align-items: center;
    gap: 7px;
}

.action-cell a,
.action-cell button {
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
}

.action-cell a {
    color: var(--ink);
    background: #edf1f5;
}

.action-cell .approve {
    color: #0e6640;
    background: #e2f6eb;
}

.action-cell .reject {
    color: #9d2828;
    background: #fdeaea;
}

.action-cell .neutral {
    color: #526274;
    background: #e9edf1;
}

.action-cell form {
    margin: 0;
}

.admin-row-actions {
    min-width: 220px;
    flex-wrap: wrap;
}

.admin-pagination {
    padding: 17px 20px;
    border-top: 1px solid #edf0f2;
}

.admin-pagination nav > div:first-child {
    display: none;
}

.admin-pagination nav > div:last-child,
.admin-pagination nav > div:last-child > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-pagination a,
.admin-pagination span {
    font-size: 12px;
}

.admin-pagination svg {
    width: 18px;
    height: 18px;
}

.admin-inline-form {
    display: grid;
    min-width: 320px;
    grid-template-columns: 1fr 1fr auto;
    gap: 7px;
}

.admin-self-account {
    display: grid;
    gap: 3px;
}

.admin-self-account span {
    font-weight: 800;
}

.admin-report-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.admin-report-card {
    padding: 22px;
    border: 1px solid #e0e3e7;
    border-radius: 15px;
    background: #fff;
}

.admin-report-summary {
    align-items: flex-start;
}

.admin-report-summary h2 {
    margin: 4px 0;
    font-size: 20px;
}

.admin-report-summary small,
.admin-report-summary p,
.admin-report-details,
.admin-resolution-note {
    color: var(--muted);
    font-size: 12px;
}

.admin-report-summary p {
    margin: 0;
}

.admin-report-details,
.admin-resolution-note {
    margin: 16px 0 0;
    padding: 13px;
    border-radius: 9px;
    background: #f7f8fa;
}

.admin-resolution-note {
    color: #255c87;
    background: #eef6fc;
}

.admin-report-actions {
    align-items: stretch;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf0f2;
}

.admin-report-actions > form:not(.admin-report-form) {
    margin: 0;
}

.admin-report-form {
    display: grid;
    flex: 1;
    grid-template-columns: 150px minmax(210px, 1fr) auto;
    gap: 8px;
}

.admin-category-layout {
    display: grid;
    grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.admin-form-card,
.admin-category-card {
    margin-top: 0;
}

.admin-form-card {
    position: sticky;
    top: 20px;
}

.admin-form-grid {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.admin-form-grid label {
    display: grid;
    gap: 6px;
    color: #34475d;
    font-size: 12px;
    font-weight: 750;
}

.admin-form-grid label small {
    color: var(--muted);
    font-weight: 500;
}

.admin-form-grid .admin-check {
    display: flex;
    align-items: center;
}

.admin-form-grid .admin-check input {
    width: 17px;
    min-height: 17px;
}

.admin-category-actions {
    min-width: 190px;
}

.admin-category-actions > form {
    display: inline-block;
    margin: 7px 0 0;
}

.admin-edit-details > summary {
    width: max-content;
    padding: 7px 10px;
    color: var(--ink);
    border-radius: 7px;
    background: #edf1f5;
    font-size: 11px;
    font-weight: 850;
    list-style: none;
    cursor: pointer;
}

.admin-edit-details[open] {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    overflow-y: auto;
    padding: 40px 18px;
    place-items: start center;
    background: rgba(10, 31, 51, .55);
}

.admin-edit-details[open] > summary {
    position: fixed;
    z-index: 1;
    top: 20px;
    right: 24px;
    color: #fff;
    background: var(--ink);
}

.admin-edit-details[open] > summary::after {
    content: " ×";
}

.admin-edit-details[open] .admin-form-grid {
    width: min(620px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 31, 51, .22);
}

.admin-edit-details[open] .admin-form-grid > button {
    grid-column: 1 / -1;
}

.admin-error-box {
    max-width: none;
    margin: 0 0 22px;
}

.admin-error-box ul {
    margin: 8px 0 0 18px;
}

@media (max-width: 1040px) {
    .site-header {
        gap: 22px;
    }

    .site-header nav {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .listing-grid,
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .compact-search {
        grid-template-columns: 1.5fr 1fr auto;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image {
        min-height: 440px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-overview {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        grid-template-columns: 1fr auto;
        min-height: 68px;
        padding-inline: 18px;
    }

    .wordmark {
        font-size: 24px;
    }

    .header-actions .text-link,
    .header-actions form {
        display: none;
    }

    .header-actions .primary-button {
        min-height: 42px;
        padding-inline: 14px;
        font-size: 12px;
    }

    .hero {
        padding: 66px 18px 56px;
    }

    .hero h1 {
        font-size: clamp(46px, 15vw, 68px);
    }

    .hero-copy > p:last-child {
        font-size: 17px;
    }

    .search-panel {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .search-panel label {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid a {
        min-height: 132px;
    }

    .content-section {
        padding: 62px 18px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .trust-section {
        grid-template-columns: 1fr;
        margin: 0 18px 60px;
        padding: 22px;
    }

    .trust-section div {
        padding: 25px 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .trust-section div:last-child {
        border-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .page-hero {
        padding: 42px 18px;
    }

    .compact-search {
        grid-template-columns: 1fr;
    }

    .compact-search input,
    .compact-search select {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .results-layout {
        grid-template-columns: 1fr;
        margin-top: 26px;
        padding-inline: 18px;
    }

    .filters {
        position: static;
    }

    .detail-wrap,
    .form-page {
        padding: 28px 18px 70px;
    }

    .detail-image {
        min-height: 300px;
    }

    .detail-card {
        padding: 22px;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-content section {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .wide {
        grid-column: auto;
    }

    .vehicle-fields-panel {
        padding: 18px;
    }

    .vehicle-fields-grid {
        grid-template-columns: 1fr;
    }

    .listing-form,
    .auth-card {
        padding: 24px 20px;
    }

    .form-submit {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 18px;
    }

    .admin-sidebar > small,
    .admin-exit {
        display: none;
    }

    .admin-sidebar nav {
        display: flex;
        overflow-x: auto;
        gap: 5px;
        margin-top: 14px;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto;
        padding: 9px 11px;
        white-space: nowrap;
    }

    .admin-language-switch {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
        padding: 8px 10px;
    }

    .admin-main {
        padding: 24px 16px 50px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .admin-topbar h1 {
        font-size: 25px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-stats article {
        min-height: 130px;
        padding: 17px;
    }

    .admin-page-header,
    .admin-card-heading-row,
    .admin-report-summary,
    .admin-report-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-header h1 {
        font-size: 29px;
    }

    .security-page-header {
        padding: 20px;
    }

    .security-retention {
        white-space: normal;
    }

    .admin-filter-bar,
    .admin-report-form,
    .admin-category-layout,
    .admin-inline-form {
        grid-template-columns: 1fr;
    }

    .admin-inline-form {
        min-width: 230px;
    }

    .admin-report-actions .admin-outline-button,
    .admin-report-actions > form,
    .admin-report-actions > form button,
    .admin-report-form,
    .admin-report-form button {
        width: 100%;
    }

    .admin-form-card {
        position: static;
    }

    .admin-edit-details[open] .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-table-wrap th,
    .admin-table-wrap td {
        padding: 13px 14px;
    }

    .security-overview article {
        padding: 15px;
    }
}

@media (max-width: 540px) {
    .security-overview {
        grid-template-columns: 1fr;
    }

    .security-overview article div span {
        white-space: normal;
    }

    .security-total-badge {
        white-space: normal;
    }
}

/* V2.4 support center */
.support-contact-section {
    background:
        radial-gradient(circle at 100% 0, rgba(244, 93, 72, .08), transparent 30%),
        #fffdf9;
}

.support-section-heading,
.support-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.support-section-heading > div {
    min-width: 0;
}

.support-section-heading p {
    max-width: 670px;
}

.support-contact-card {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid #e7e1d8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 37, 63, .06);
}

.support-form-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #ebe7df;
}

.support-form-intro h2,
.support-form-intro h3 {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 20px;
    letter-spacing: -.025em;
}

.support-form-intro p,
.legal-content .support-form-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.support-form-icon,
.support-upload-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: #fff0ed;
}

.support-form-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.support-form-icon svg,
.support-upload-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-response-badge {
    padding: 8px 11px;
    color: #276347;
    border: 1px solid #cce8d9;
    border-radius: 999px;
    background: #effaf4;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.support-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.support-required-note,
.legal-content .support-required-note {
    margin: 0;
    color: #84909d;
    font-size: 11px;
}

.support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.support-form .support-field,
.support-reply-form label,
.admin-support-reply label,
.admin-support-sidebar form label {
    display: grid;
    gap: 8px;
    color: #34475d;
    font-size: 13px;
    font-weight: 750;
}

.support-field > span {
    display: flex;
    gap: 4px;
    align-items: center;
}

.support-field > span b {
    color: var(--accent);
}

.support-field > small {
    color: #84909d;
    font-size: 11px;
    font-weight: 500;
}

.support-form input,
.support-form select,
.support-form textarea,
.support-reply-form input,
.support-reply-form textarea,
.admin-support-reply input,
.admin-support-reply textarea,
.admin-support-sidebar select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d8d5cf;
    border-radius: 12px;
    outline: none;
    background: #fdfcf9;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.support-form textarea,
.support-reply-form textarea,
.admin-support-reply textarea {
    min-height: 170px;
    resize: vertical;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
    color: #9ba4ae;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus,
.support-reply-form textarea:focus,
.admin-support-reply textarea:focus,
.admin-support-sidebar select:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(244, 93, 72, .12);
}

.support-form > .primary-button {
    justify-self: end;
}

.support-upload {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(210px, auto);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px dashed #c5bdb2;
    border-radius: 14px;
    background: #faf8f4;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease;
}

.support-upload:hover,
.support-upload:focus-within {
    border-color: var(--accent);
    background: #fff7f5;
}

.support-upload-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.support-upload-copy {
    display: grid;
    gap: 2px;
}

.support-upload-copy strong {
    color: var(--ink);
    font-size: 13px;
}

.support-upload input {
    min-height: 0;
    padding: 5px;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.support-upload input::file-selector-button {
    margin-right: 10px;
    padding: 9px 12px;
    color: var(--ink);
    border: 1px solid #d8d5cf;
    border-radius: 9px;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.support-upload small,
.admin-support-reply small {
    color: var(--muted);
    font-weight: 500;
}

.support-form-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #ebe7df;
}

.support-safety-note,
.legal-content .support-safety-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    max-width: 530px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.support-safety-note span {
    display: grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--success);
    font-size: 10px;
    font-weight: 900;
}

.support-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.support-form-actions .primary-button,
.support-form-footer > .primary-button {
    min-width: 190px;
}

.support-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.support-create-panel {
    overflow: hidden;
    padding: 28px;
    box-shadow: 0 22px 60px rgba(16, 37, 63, .07);
}

.support-ticket-list {
    overflow: hidden;
    padding: 0;
}

.support-ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 96px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    transition: background .16s ease;
}

.support-ticket-row:last-child {
    border-bottom: 0;
}

.support-ticket-row:hover {
    background: #fff8f6;
}

.support-ticket-main {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.support-ticket-main small,
.support-ticket-main > span:last-child {
    color: var(--muted);
    font-size: 11px;
}

.support-ticket-main strong {
    overflow: hidden;
    color: var(--ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-status,
.support-priority {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.support-status.status-open,
.support-status-open {
    color: #875200;
    background: #fff1cf;
}

.support-status.status-waiting_staff,
.support-status-waiting_staff {
    color: #9a3324;
    background: #ffe4df;
}

.support-status.status-waiting_user,
.support-status-waiting_user {
    color: #245d8b;
    background: #e5f2fc;
}

.support-status.status-resolved,
.support-status-resolved {
    color: #247052;
    background: #def5e9;
}

.support-status.status-closed,
.support-status-closed {
    color: #5f6a77;
    background: #e9edf1;
}

.support-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    min-width: 0;
}

.support-thread {
    overflow: hidden;
    padding: 0;
}

.support-thread .panel-heading {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.support-messages {
    display: grid;
    gap: 13px;
    padding: 24px;
    background: #faf8f4;
}

.support-message {
    max-width: min(84%, 680px);
    padding: 15px 17px;
    border: 1px solid var(--line);
    border-radius: 5px 16px 16px 16px;
    background: #fff;
}

.support-message.is-staff {
    justify-self: end;
    color: #fff;
    border-color: var(--ink);
    border-radius: 16px 5px 16px 16px;
    background: var(--ink);
}

.support-message header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 8px;
    font-size: 11px;
}

.support-message time {
    opacity: .6;
}

.support-message p {
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.65;
    white-space: pre-wrap;
}

.support-attachments {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.support-attachments a {
    padding: 8px 10px;
    color: var(--ink);
    border-radius: 8px;
    background: #f1eee8;
    font-size: 11px;
    font-weight: 750;
}

.support-message.is-staff .support-attachments a {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.support-reply-form {
    display: grid;
    gap: 14px;
    padding: 22px 24px;
    border-top: 1px solid var(--line);
}

.support-reply-form > button {
    justify-self: end;
}

.support-ticket-meta {
    position: sticky;
    top: 92px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.support-ticket-meta h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.support-ticket-meta dl,
.admin-support-meta {
    margin: 0;
}

.support-ticket-meta dl div,
.admin-support-meta div {
    display: grid;
    gap: 3px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.support-ticket-meta dl div:last-child,
.admin-support-meta div:last-child {
    border-bottom: 0;
}

.support-ticket-meta dt,
.admin-support-meta dt {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.support-ticket-meta dd,
.admin-support-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 750;
}

.support-closed-note {
    padding: 20px 24px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #f5f6f7;
}

.admin-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.support-admin-list {
    margin-top: 18px;
}

.support-admin-list td > small,
.support-admin-list td > strong {
    display: block;
}

.support-admin-list td > small {
    color: var(--muted);
    font-size: 10px;
}

.support-priority.priority-low {
    color: #52606d;
    background: #edf0f2;
}

.support-priority.priority-normal {
    color: #245d8b;
    background: #e5f2fc;
}

.support-priority.priority-high {
    color: #875200;
    background: #fff1cf;
}

.support-priority.priority-urgent {
    color: #9a3324;
    background: #ffe4df;
}

.support-admin-header {
    align-items: flex-end;
}

.support-admin-header a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.admin-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.admin-support-thread {
    overflow: hidden;
    margin-top: 0;
}

.admin-support-messages {
    min-height: 260px;
}

.admin-support-reply {
    display: grid;
    gap: 13px;
    padding: 20px;
    border-top: 1px solid #edf0f2;
}

.admin-support-reply button,
.admin-support-sidebar form button {
    min-height: 40px;
    padding: 9px 14px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.admin-support-sidebar {
    position: sticky;
    top: 20px;
    margin-top: 0;
}

.admin-support-sidebar > form {
    display: grid;
    gap: 13px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f2;
}

.admin-support-sidebar select {
    min-height: 40px;
}

.admin-support-meta {
    padding: 10px 20px;
}

.admin-mail-button {
    display: block;
    margin: 10px 20px 20px;
    text-align: center;
}

@media (max-width: 1040px) {
    .support-ticket-layout,
    .admin-support-layout {
        grid-template-columns: 1fr;
    }

    .support-ticket-meta,
    .admin-support-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .support-section-heading,
    .support-header {
        align-items: stretch;
        flex-direction: column;
    }

    .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-form-intro {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .support-response-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .support-contact-card {
        padding: 18px;
    }

    .support-upload {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .support-upload input {
        grid-column: 1 / -1;
        width: 100%;
    }

    .support-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .support-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .support-form-actions .secondary-button,
    .support-form-actions .primary-button,
    .support-form-footer > .primary-button {
        width: 100%;
        min-width: 0;
    }

    .support-form > .primary-button,
    .support-reply-form > button {
        width: 100%;
        justify-self: stretch;
    }

    .support-create-panel {
        padding: 20px;
    }

    .support-ticket-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .support-message {
        max-width: 94%;
    }

    .support-messages,
    .support-reply-form {
        padding: 17px;
    }

    .support-admin-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .support-form-actions {
        grid-template-columns: 1fr;
    }

    .support-form-icon {
        width: 42px;
        height: 42px;
    }
}

.legal-page {
    min-height: 70vh;
    padding: 64px max(24px, calc((100vw - 1180px) / 2)) 90px;
    background:
        radial-gradient(circle at 82% 3%, rgba(244, 93, 72, .10), transparent 23%),
        var(--paper);
}

.legal-hero {
    max-width: 820px;
    margin-bottom: 38px;
}

.legal-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(40px, 6vw, 68px);
    letter-spacing: -.055em;
}

.legal-hero > p:not(.section-kicker) {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.legal-hero small {
    display: inline-block;
    margin-top: 12px;
    color: #7d8995;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 92px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.legal-nav a {
    padding: 13px 16px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 750;
}

.legal-nav a:last-child {
    border-bottom: 0;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--ink);
    background: #f8f5ef;
}

.legal-nav a.active {
    box-shadow: inset 3px 0 var(--accent);
}

.legal-content {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 42, 66, .07);
}

.legal-content > section {
    padding: 30px 34px;
    border-bottom: 1px solid var(--line);
}

.legal-content > section:last-child {
    border-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -.025em;
}

.legal-content p,
.legal-content li {
    color: #516275;
    line-height: 1.75;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 21px;
}

.legal-contact-card {
    background: #f9f7f2;
}

.legal-contact-card dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.legal-contact-card dl div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.legal-contact-card dl div:last-child {
    border-bottom: 0;
}

.legal-contact-card dt {
    color: var(--muted);
}

.legal-contact-card dd {
    margin: 0;
    color: var(--ink);
    font-weight: 750;
}

.legal-contact-card a,
.legal-consent a,
.cookie-notice a {
    color: var(--accent);
    font-weight: 800;
}

.auth-card .legal-consent {
    align-items: flex-start;
    min-height: auto;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.auth-card .legal-consent input {
    flex: 0 0 18px;
    margin-top: 1px;
}

.cookie-notice {
    position: fixed;
    z-index: 120;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(880px, calc(100% - 48px));
    margin-inline: auto;
    padding: 18px 20px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: #0f2944;
    box-shadow: 0 24px 70px rgba(8, 28, 48, .28);
}

.cookie-notice strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-notice p {
    margin: 0;
    color: #c2ceda;
    font-size: 12px;
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
}

.cookie-actions .primary-button {
    border: 0;
    cursor: pointer;
}

@media (max-width: 760px) {
    .legal-page {
        padding: 42px 18px 70px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-nav a:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .legal-content > section {
        padding: 24px 20px;
    }

    .legal-contact-card dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cookie-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        flex-direction: column;
        width: auto;
        gap: 14px;
    }

    .cookie-actions {
        justify-content: space-between;
    }
}

@media (max-width: 420px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

/* Account and listing management */
.account-menu {
    position: relative;
}

.notification-link {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.notification-link svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.notification-link:hover {
    color: var(--accent);
    border-color: rgba(244, 93, 72, .45);
}

.notification-link b {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    color: #fff;
    border: 2px solid var(--paper);
    border-radius: 999px;
    background: var(--accent);
    font-size: 9px;
    font-weight: 900;
}

.account-menu summary {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

.account-menu summary::after {
    margin-left: 7px;
    content: "⌄";
    color: var(--muted);
}

.account-menu[open] summary,
.account-menu summary:hover {
    background: #fff;
}

.account-menu > div {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.account-menu a,
.account-menu button {
    width: 100%;
    padding: 10px 11px;
    text-align: left;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}

.account-menu .menu-badge-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-badge-link b,
.unread-badge {
    display: inline-grid;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: var(--accent);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}

.account-menu a:hover,
.account-menu button:hover {
    color: var(--accent);
    background: var(--paper);
}

.account-menu form {
    display: block;
    margin: 0;
    border-top: 1px solid var(--line);
}

.auth-help-link {
    justify-self: end;
    margin: -8px 0 13px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.contact-composer {
    position: relative;
}

.contact-composer summary {
    list-style: none;
    cursor: pointer;
}

.contact-composer summary::-webkit-details-marker {
    display: none;
}

.contact-composer form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.contact-composer label {
    font-size: 12px;
    font-weight: 800;
}

.contact-composer textarea,
.chat-compose textarea {
    width: 100%;
    padding: 12px;
    resize: vertical;
    border: 1px solid #d2d0ca;
    border-radius: 10px;
    outline: none;
    background: #fff;
}

.contact-composer textarea:focus,
.chat-compose textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 93, 72, .12);
}

.field-error {
    display: block;
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
}

.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.detail-thumbnails button {
    overflow: hidden;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #e7e1d7;
}

.detail-thumbnails button:hover,
.detail-thumbnails button:focus {
    border-color: var(--accent);
}

.detail-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.owner-actions,
.owner-actions form {
    display: grid;
    margin: 0;
}

.account-page {
    min-height: 70vh;
    padding: 64px max(24px, calc((100vw - 1180px) / 2)) 100px;
}

.account-heading {
    margin-bottom: 32px;
}

.account-heading h1 {
    margin-bottom: 9px;
    font-size: clamp(40px, 5vw, 60px);
    letter-spacing: -.05em;
}

.account-heading > p:last-child {
    color: var(--muted);
}

.account-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.account-nav {
    position: sticky;
    top: 100px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.account-nav a {
    padding: 12px 13px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
}

.account-nav a:hover,
.account-nav a.active {
    color: var(--accent);
    background: #fff0ed;
}

.account-panel,
.existing-images,
.danger-zone {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.account-stack {
    display: grid;
    gap: 22px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.panel-heading h2 {
    margin-bottom: 4px;
    font-size: 22px;
}

.panel-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.my-listings {
    display: grid;
    gap: 12px;
}

.my-listing-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 12px;
    border: 1px solid #ece9e3;
    border-radius: 14px;
}

.my-listing-thumb {
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    place-items: center;
    border-radius: 10px;
    background: #e7e1d7;
}

.my-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-listing-info h3 {
    margin: 7px 0 5px;
    font-size: 17px;
}

.my-listing-info p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.my-listing-price {
    display: grid;
    gap: 12px;
    min-width: 145px;
    text-align: right;
}

.my-listing-price .secondary-button {
    min-height: 40px;
    padding-inline: 16px;
}

.status-pill {
    display: inline-flex;
    width: max-content;
    padding: 5px 8px;
    color: #72530f;
    border-radius: 999px;
    background: #fff4cd;
    font-size: 10px;
    font-weight: 850;
}

.status-published {
    color: #0d6842;
    background: #e2f7eb;
}

.status-rejected,
.status-expired {
    color: #962c2c;
    background: #fde8e8;
}

.status-sold,
.status-archived {
    color: #526274;
    background: #e9edf1;
}

.profile-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 17px;
    color: #34475d;
    font-size: 13px;
    font-weight: 750;
}

.profile-form input,
.profile-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d2d0ca;
    border-radius: 10px;
    outline: none;
    background: #fff;
}

.profile-form input:focus,
.profile-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 93, 72, .12);
}

.existing-images {
    max-width: 900px;
    margin-bottom: 20px;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.existing-images-grid article {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: #e7e1d7;
}

.existing-images-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.existing-images-grid form {
    position: absolute;
    right: 7px;
    bottom: 7px;
    margin: 0;
}

.existing-images-grid button,
.danger-zone button {
    padding: 8px 11px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: #b83030;
    font-size: 11px;
    font-weight: 800;
}

.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 900px;
    margin-top: 20px;
    border-color: #efcaca;
}

.danger-zone p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Internal messaging */
.message-panel {
    padding: 0;
}

.message-panel .panel-heading {
    margin: 0;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
}

.account-empty-state {
    display: grid;
    min-height: 310px;
    padding: 48px 24px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.account-empty-state strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.account-empty-state p {
    margin-bottom: 20px;
    color: var(--muted);
}

/* Notification center */
.notification-header {
    align-items: end;
}

.notification-header form {
    margin-bottom: 8px;
}

.notification-panel {
    overflow: hidden;
    padding: 0;
}

.notification-row {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    min-height: 96px;
    padding: 17px 22px;
    border-bottom: 1px solid #ece9e3;
    transition: background .16s ease;
}

.notification-row:last-child {
    border-bottom: 0;
}

.notification-row:hover,
.notification-row.is-unread {
    background: #fff8f6;
}

.notification-row.is-unread::before {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--accent);
    content: "";
}

.notification-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--accent);
    border-radius: 13px;
    background: #ffede9;
    font-size: 18px;
    font-weight: 900;
}

.notification-copy {
    display: grid;
    gap: 3px;
}

.notification-copy strong {
    font-size: 15px;
}

.notification-copy > span,
.notification-copy small {
    color: var(--muted);
}

.notification-copy > span {
    font-size: 13px;
}

.notification-copy small {
    font-size: 11px;
}

.notification-row > b {
    padding: 5px 8px;
    color: var(--accent);
    border-radius: 999px;
    background: #ffede9;
    font-size: 9px;
    text-transform: uppercase;
}

.conversation-list {
    display: grid;
}

.conversation-row {
    position: relative;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    min-height: 96px;
    padding: 13px 20px;
    border-bottom: 1px solid #ece9e3;
    transition: background .16s ease;
}

.conversation-row:hover,
.conversation-row.is-unread {
    background: #fff8f6;
}

.conversation-row.is-unread::before {
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--accent);
    content: "";
}

.conversation-thumb {
    display: grid;
    overflow: hidden;
    width: 68px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 12px;
    background: #e7e1d7;
    font-size: 22px;
    font-weight: 850;
}

.conversation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-copy {
    display: grid;
    min-width: 0;
}

.conversation-title-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.conversation-title-line strong,
.conversation-copy b,
.conversation-copy > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-title-line time,
.conversation-copy > span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.conversation-copy b {
    margin: 2px 0;
    font-size: 13px;
}

.compact-account-heading {
    margin-bottom: 22px;
}

.compact-account-heading h1 {
    margin-top: 9px;
    font-size: clamp(32px, 4vw, 48px);
}

.back-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.message-layout {
    display: grid;
    grid-template-columns: minmax(0, 850px) 280px;
    gap: 24px;
    align-items: start;
}

.chat-card,
.message-safety-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.chat-listing {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.chat-listing .conversation-thumb {
    width: 58px;
    border-radius: 10px;
}

.chat-listing > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.chat-listing small,
.chat-listing em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}

.chat-listing strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-listing b {
    font-size: 12px;
}

.chat-messages {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    gap: 10px;
    min-height: 430px;
    max-height: 58vh;
    padding: 24px;
    background: #faf8f4;
}

.chat-bubble {
    align-self: flex-start;
    max-width: min(78%, 560px);
    padding: 11px 13px 8px;
    border: 1px solid var(--line);
    border-radius: 4px 14px 14px 14px;
    background: #fff;
}

.chat-bubble.is-own {
    align-self: flex-end;
    color: #fff;
    border-color: var(--ink);
    border-radius: 14px 4px 14px 14px;
    background: var(--ink);
}

.chat-bubble small,
.chat-bubble time {
    display: block;
    font-size: 10px;
    opacity: .65;
}

.chat-bubble p {
    margin: 2px 0 5px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chat-bubble time {
    text-align: right;
}

.chat-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.chat-compose .field-error {
    grid-column: 1 / -1;
}

.message-safety-card {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.message-safety-card strong {
    display: block;
    margin-bottom: 12px;
}

.message-safety-card p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
}

.message-safety-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .account-menu > div {
        position: fixed;
        top: 64px;
        right: 14px;
    }

    .account-menu form {
        display: block !important;
    }

    .account-page {
        padding: 42px 18px 70px;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .account-nav a {
        padding-inline: 8px;
        text-align: center;
        font-size: 12px;
    }

    .account-panel,
    .existing-images,
    .danger-zone {
        padding: 20px;
    }

    .notification-panel {
        padding: 0;
    }

    .notification-row {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px 16px;
    }

    .notification-row > b {
        display: none;
    }

    .notification-icon {
        width: 39px;
        height: 39px;
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-listing-row {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
    }

    .my-listing-price {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: center;
        text-align: left;
    }

    .existing-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .danger-zone {
        align-items: flex-start;
        flex-direction: column;
    }

    .message-layout {
        grid-template-columns: 1fr;
    }

    .message-safety-card {
        position: static;
    }

    .chat-messages {
        min-height: 360px;
        padding: 16px;
    }

    .chat-compose {
        grid-template-columns: 1fr;
    }

    .chat-compose .primary-button {
        width: 100%;
    }

    .conversation-row {
        grid-template-columns: 54px minmax(0, 1fr) auto;
        padding-inline: 14px;
    }

    .conversation-thumb {
        width: 54px;
    }

    .conversation-title-line time {
        display: none;
    }
}

/* Pazarce V3.2 email security center */
.security-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    justify-content: flex-end;
}

.security-policy-badge,
.security-state-pill {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #bce3cf;
    border-radius: 999px;
    color: #12623f;
    background: #edf9f3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
}

.security-policy-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19a766;
    box-shadow: 0 0 0 5px rgba(25, 167, 102, .12);
}

.security-system-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 18px;
    margin-bottom: 18px;
}

.security-system-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e1e5ea;
    box-shadow: 0 16px 38px rgba(16, 37, 63, .06);
}

.security-card-heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.security-card-heading p {
    margin: 0 0 4px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.security-card-heading h2 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -.02em;
}

.security-state-pill {
    flex: 0 0 auto;
    min-height: 29px;
    padding: 5px 10px;
}

.security-state-pill.is-warning {
    color: #80540b;
    border-color: #f0d596;
    background: #fff8e8;
}

.security-card-copy {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.security-verification-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fbfcfd;
}

.security-verification-metrics div {
    min-width: 0;
    padding: 15px;
    border-right: 1px solid #e4e7ec;
}

.security-verification-metrics div:last-child { border-right: 0; }
.security-verification-metrics strong { display: block; font-size: 22px; line-height: 1.15; }
.security-verification-metrics span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }

.security-progress-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
}

.security-progress {
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: #e8edf1;
}

.security-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1a9b62, #42bd82);
}

.security-policy-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    color: #445063;
    font-size: 12px;
    list-style: none;
}

.security-policy-list li {
    position: relative;
    padding-left: 22px;
}

.security-policy-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    color: #147448;
    background: #e7f7ef;
    content: '✓';
    font-size: 10px;
    font-weight: 900;
}

.security-mail-config {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px solid #eaecf0;
}

.security-mail-config div {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eaecf0;
}

.security-mail-config dt { color: var(--muted); font-size: 12px; }
.security-mail-config dd { overflow-wrap: anywhere; margin: 0; text-align: right; font-size: 12px; font-weight: 850; }

.security-test-form {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #f8fafc;
}

.security-test-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 850;
}

.security-test-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.security-test-form input,
.security-test-form button {
    min-width: 0;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #d7dde5;
    border-radius: 10px;
    background: #fff;
}

.security-test-form button {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
    font-size: 12px;
    font-weight: 850;
}

.security-test-form small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 1080px) {
    .security-system-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .security-header-actions { justify-content: flex-start; }
    .security-system-card { padding: 18px; }
    .security-verification-metrics { grid-template-columns: 1fr; }
    .security-verification-metrics div { border-right: 0; border-bottom: 1px solid #e4e7ec; }
    .security-verification-metrics div:last-child { border-bottom: 0; }
    .security-test-form > div { grid-template-columns: 1fr; }
}

/* V3.3 - Email notification center */
.email-page-header{align-items:flex-end}.email-system-badges{display:flex;gap:.55rem;flex-wrap:wrap}.email-system-badges span,.email-total-badge{display:inline-flex;align-items:center;border:1px solid #ddd8ef;background:#f8f6ff;color:#4c3b78;border-radius:999px;padding:.48rem .72rem;font-size:.76rem;font-weight:800}.email-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.email-overview article{background:#fff;border:1px solid #ece9f3;border-radius:18px;padding:1.1rem 1.2rem;box-shadow:0 10px 30px rgba(31,22,54,.05)}.email-overview strong{display:block;font-size:1.65rem;color:#281d45}.email-overview span{display:block;margin-top:.15rem;color:#766f82;font-size:.82rem}.email-overview .email-stat-failed{border-color:#f2d4d4}.email-overview .email-stat-failed strong{color:#a12d36}.email-system-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:1rem;margin-bottom:1rem}.email-test-card,.email-health-card{padding:1.25rem}.email-test-form{display:grid;grid-template-columns:1fr 180px auto;align-items:end;gap:.8rem}.email-test-form label{display:grid;gap:.35rem;font-size:.78rem;font-weight:800;color:#5b5368}.email-test-form input,.email-test-form select{width:100%;min-height:44px;border:1px solid #dcd6e8;border-radius:10px;padding:.68rem .75rem;background:#fff}.email-test-form button{min-height:44px;border:0;border-radius:10px;background:#5b3fa3;color:#fff;padding:0 1rem;font-weight:800;cursor:pointer}.email-health-card dl{display:grid;gap:.55rem;margin:0}.email-health-card dl div{display:flex;justify-content:space-between;gap:1rem;padding:.72rem 0;border-bottom:1px solid #eeeaf5}.email-health-card dt{color:#777080}.email-health-card dd{margin:0;font-weight:800;color:#302446;text-align:right;overflow-wrap:anywhere}.email-filter-bar{grid-template-columns:minmax(200px,1fr) 150px 190px 120px auto auto}.email-table{width:100%;border-collapse:collapse}.email-table th{font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;color:#776f83;text-align:left;padding:.8rem;border-bottom:1px solid #ece8f2}.email-table td{padding:.85rem;border-bottom:1px solid #f0edf5;vertical-align:top}.email-table td strong,.email-table td small,.email-table td em{display:block}.email-table td small{color:#7c7487;margin-top:.18rem}.email-table td em{color:#a12d36;font-size:.75rem;font-style:normal;margin-top:.28rem}.email-status-queued,.email-status-processing{background:#fff2cc;color:#765900}.email-status-sent{background:#dff5e8;color:#166439}.email-status-failed{background:#fde4e4;color:#972d35}.admin-link-button{border:0;background:transparent;color:#5b3fa3;font-weight:800;cursor:pointer;padding:.2rem}.admin-link-button:hover{text-decoration:underline}@media(max-width:1100px){.email-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.email-system-grid{grid-template-columns:1fr}.email-test-form{grid-template-columns:1fr 160px auto}.email-filter-bar{grid-template-columns:1fr 1fr}}@media(max-width:700px){.email-overview{grid-template-columns:1fr 1fr}.email-test-form{grid-template-columns:1fr}.email-filter-bar{grid-template-columns:1fr}.email-table{min-width:900px}}


/* V3.4 - Listing lifecycle and renewal center */
.lifecycle-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}.lifecycle-header-actions form{margin:0}.lifecycle-header-actions button{cursor:pointer}.lifecycle-admin-stats,.lifecycle-user-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.lifecycle-admin-stats article,.lifecycle-user-stats article{padding:1.05rem 1.15rem;border:1px solid #e8e5ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,22,54,.045)}.lifecycle-admin-stats strong,.lifecycle-user-stats strong{display:block;color:#281d45;font-size:1.6rem}.lifecycle-admin-stats span,.lifecycle-user-stats span{display:block;margin-top:.18rem;color:#766f82;font-size:.8rem}.lifecycle-admin-stats .is-warning,.lifecycle-user-stats .is-warning{border-color:#f0d596;background:#fffaf0}.lifecycle-admin-stats .is-warning strong,.lifecycle-user-stats .is-warning strong{color:#8a5a00}.lifecycle-admin-stats .is-expired,.lifecycle-user-stats .is-expired{border-color:#efcece;background:#fff7f7}.lifecycle-admin-stats .is-expired strong,.lifecycle-user-stats .is-expired strong{color:#9e3039}.lifecycle-filter-bar{grid-template-columns:minmax(240px,1fr) 210px auto auto}.lifecycle-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:.9rem 1rem;border:1px solid #ddd7eb;border-radius:14px;background:#faf8ff}.lifecycle-bulk-toolbar div{display:grid;gap:.18rem}.lifecycle-bulk-toolbar strong{font-size:.86rem}.lifecycle-bulk-toolbar small{color:#766f82}.lifecycle-bulk-toolbar button{min-height:40px;padding:.65rem 1rem;border:0;border-radius:10px;color:#fff;background:#5b3fa3;font-weight:800;cursor:pointer}.lifecycle-table td:first-child,.lifecycle-table th:first-child{width:42px;text-align:center}.lifecycle-table input[type=checkbox],.lifecycle-select-cell input{width:18px;height:18px;accent-color:#5b3fa3}.lifecycle-table tr.is-expiring{background:#fffdf5}.lifecycle-table tr.is-expired{background:#fff8f8}.lifecycle-inline-warning,.lifecycle-warning-pill{display:inline-flex;margin-top:.35rem;padding:.25rem .5rem;border-radius:999px;color:#815300;background:#fff0bf;font-size:.7rem;font-weight:850}.lifecycle-bottom-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;margin-top:1rem}.lifecycle-history-card,.lifecycle-runs-card{padding:1.1rem}.lifecycle-history-row,.lifecycle-run-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid #eeeaf4}.lifecycle-history-row>div{display:grid;gap:.2rem}.lifecycle-history-row>div:last-child{text-align:right}.lifecycle-history-row small,.lifecycle-run-row small{color:#7a7284}.lifecycle-run-row{display:grid;grid-template-columns:minmax(170px,.8fr) 1fr auto}.lifecycle-run-row>div{display:flex;align-items:center;gap:.55rem}.lifecycle-run-row time{color:#7a7284;font-size:.76rem}.lifecycle-run-running{background:#fff0c9;color:#765500}.lifecycle-run-success{background:#ddf4e7;color:#17633b}.lifecycle-run-partial{background:#fff0c9;color:#765500}.lifecycle-run-failed{background:#fde0e0;color:#952d36}.lifecycle-account-page .account-panel{min-width:0}.lifecycle-user-stats{gap:.75rem}.lifecycle-user-stats article{padding:.85rem 1rem;border-radius:14px}.lifecycle-user-stats strong{font-size:1.35rem}.my-listing-row{position:relative}.my-listing-row.is-expiring{border-color:#ead49b;background:linear-gradient(90deg,#fffaf0 0,#fff 26%)}.my-listing-row.is-expired{border-color:#e8caca;background:linear-gradient(90deg,#fff7f7 0,#fff 26%)}.lifecycle-select-cell{display:grid;place-items:center;min-width:24px}.lifecycle-status-line{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.lifecycle-warning-pill{margin-top:0}.lifecycle-meta{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.42rem;color:#766f82;font-size:.76rem}.listing-row-actions .renew-action{color:#fff;border-color:#5b3fa3;background:#5b3fa3}.admin-lifecycle-bulk{margin-top:0}
@media(max-width:1100px){.lifecycle-admin-stats,.lifecycle-user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lifecycle-bottom-grid{grid-template-columns:1fr}.lifecycle-filter-bar{grid-template-columns:1fr 1fr}.lifecycle-run-row{grid-template-columns:1fr auto}.lifecycle-run-row>small{grid-column:1/-1}}
@media(max-width:720px){.lifecycle-header-actions{justify-content:flex-start}.lifecycle-admin-stats,.lifecycle-user-stats{grid-template-columns:1fr 1fr}.lifecycle-bulk-toolbar{align-items:stretch;flex-direction:column}.lifecycle-filter-bar{grid-template-columns:1fr}.lifecycle-table{min-width:900px}.lifecycle-run-row{grid-template-columns:1fr}.lifecycle-run-row time{justify-self:start}.my-listing-row{grid-template-columns:28px 82px minmax(0,1fr)}.my-listing-row .my-listing-price{grid-column:2/-1}.lifecycle-select-cell{grid-row:1/3}}

/* V3.4.1 - Listing lifecycle UI and safe bulk actions */
.admin-warning{margin:0 0 24px;padding:14px 16px;color:#765500;border:1px solid #ead49b;border-radius:12px;background:#fff9e9;font-size:13px;font-weight:750}
.lifecycle-page-header{align-items:flex-start}.lifecycle-header-copy{min-width:0}.lifecycle-header-meta{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:.65rem}.lifecycle-header-meta>span{display:inline-flex;margin:0;padding:.36rem .62rem;color:#665f70;border:1px solid #e4e0ea;border-radius:999px;background:#fff;font-size:.72rem}.lifecycle-header-meta strong{color:#281d45}.lifecycle-admin-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.lifecycle-admin-stats>a{display:block;min-width:0}.lifecycle-admin-stats>a article{height:100%;margin:0;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.lifecycle-admin-stats>a:hover article{transform:translateY(-2px);border-color:#d7d0e3;box-shadow:0 14px 30px rgba(31,22,54,.08)}.lifecycle-admin-stats .is-renewable{border-color:#d8cdef;background:#faf7ff}.lifecycle-admin-stats .is-renewable strong{color:#5b3fa3}
.lifecycle-bulk-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center}.lifecycle-bulk-copy,.lifecycle-bulk-summary{display:grid;gap:.2rem}.lifecycle-bulk-summary{grid-template-columns:repeat(2,max-content);gap:.5rem}.lifecycle-bulk-summary span{padding:.38rem .58rem;color:#655d72;border:1px solid #e1dbea;border-radius:999px;background:#fff;font-size:.72rem;font-weight:800}.lifecycle-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem}.lifecycle-bulk-toolbar button:disabled{cursor:not-allowed;opacity:.45}.lifecycle-bulk-toolbar .lifecycle-secondary-button{color:#4d3a78;border:1px solid #d6cbe8;background:#fff}.lifecycle-info-note{margin:-.35rem 0 1rem;padding:.75rem 1rem;color:#6d6477;border:1px dashed #d8d1df;border-radius:12px;background:#fbfafc;font-size:.78rem}
.lifecycle-list-card{overflow:hidden}.lifecycle-list-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.lifecycle-list-heading>div{min-width:0}.lifecycle-list-heading>span{color:#766f82;font-size:.78rem;font-weight:800;white-space:nowrap}.lifecycle-table-wrap{max-width:100%}.lifecycle-table{min-width:980px}.admin-table-wrap .lifecycle-table th.lifecycle-selection-column,.admin-table-wrap .lifecycle-table td.lifecycle-selection-column{display:table-cell;width:52px;min-width:52px;max-width:52px;padding-left:14px;padding-right:14px;text-align:center}.lifecycle-table th{position:sticky;top:0;z-index:1}.lifecycle-table tbody tr{transition:background .15s ease}.lifecycle-table tbody tr:hover{background:#faf9fc}.lifecycle-table tr.is-expiring:hover{background:#fff9e9}.lifecycle-table tr.is-expired:hover{background:#fff3f3}.lifecycle-table tr.is-renewable{box-shadow:inset 3px 0 #6d4eb7}.lifecycle-table .lifecycle-listing-cell{min-width:300px}.lifecycle-table .lifecycle-seller-cell{min-width:190px}.lifecycle-not-selectable{color:#b8b2bf}.lifecycle-inline-renewable{display:inline-flex;margin-top:.35rem;padding:.25rem .5rem;color:#5b3fa3;border-radius:999px;background:#eee8fb;font-size:.7rem;font-weight:850}.lifecycle-row-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.lifecycle-row-actions form{margin:0}.lifecycle-row-actions>a,.lifecycle-renew-now{display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:.45rem .68rem;border-radius:8px;font-size:.72rem;font-weight:850}.lifecycle-row-actions>a{color:#243e5b;border:1px solid #dce2e8;background:#fff}.lifecycle-renew-now{color:#fff;border:0;background:#5b3fa3;cursor:pointer}.lifecycle-window-note{max-width:125px;color:#8b8491;font-size:.68rem;line-height:1.25}.lifecycle-row-checkbox,[data-master-checkbox]{width:18px;height:18px;accent-color:#5b3fa3;cursor:pointer}
@media(max-width:1320px){.lifecycle-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.lifecycle-bulk-toolbar{grid-template-columns:1fr auto}.lifecycle-bulk-summary{grid-column:1}.lifecycle-bulk-actions{grid-column:2;grid-row:1/3}}
@media(max-width:820px){.lifecycle-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lifecycle-bulk-toolbar{grid-template-columns:1fr}.lifecycle-bulk-summary,.lifecycle-bulk-actions{grid-column:1;grid-row:auto}.lifecycle-bulk-actions{justify-content:stretch}.lifecycle-bulk-actions button{flex:1}.lifecycle-list-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.lifecycle-admin-stats{grid-template-columns:1fr}.lifecycle-bulk-summary{grid-template-columns:1fr}.lifecycle-bulk-actions{flex-direction:column}.lifecycle-bulk-actions button{width:100%}.lifecycle-header-meta{align-items:flex-start;flex-direction:column}}

/* V3.5 — Analytics and Activity Center */
.analytics-page-header{align-items:flex-end}.analytics-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}.analytics-period-switch{display:inline-flex;gap:.25rem;padding:.25rem;border:1px solid #ddd8e8;border-radius:12px;background:#fff}.analytics-period-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 .72rem;color:#6b6376;border-radius:9px;font-size:.75rem;font-weight:850}.analytics-period-switch a:hover,.analytics-period-switch a.active{color:#fff;background:#2e2444}.analytics-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem;margin-bottom:1rem}.analytics-metrics article{min-width:0;padding:1rem 1.05rem;border:1px solid #e9e5ef;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(31,22,54,.045)}.analytics-metrics article>span{display:block;overflow:hidden;color:#766f82;font-size:.76rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.analytics-metrics strong{display:block;margin-top:.22rem;color:#281d45;font-size:1.62rem;letter-spacing:-.035em}.analytics-change{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin-top:.42rem;font-size:.7rem;font-weight:850}.analytics-change span{color:#827a8b;font-weight:650}.analytics-change.is-up{color:#16794d}.analytics-change.is-down{color:#bd2c2c}.analytics-change.is-new{color:#5b3fa3}.analytics-change.is-flat{color:#6f6878}.analytics-trend-card{padding:1.15rem;margin-bottom:1rem}.analytics-legend{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}.analytics-legend span{display:inline-flex;align-items:center;gap:.35rem;color:#6e6678;font-size:.72rem;font-weight:800}.analytics-legend span::before{width:9px;height:9px;border-radius:3px;content:""}.analytics-legend .series-listings::before,.analytics-chart-bars .series-listings{background:#5b3fa3}.analytics-legend .series-users::before,.analytics-chart-bars .series-users{background:#2b75a8}.analytics-legend .series-messages::before,.analytics-chart-bars .series-messages{background:#1b8a63}.analytics-legend .series-reports::before,.analytics-chart-bars .series-reports{background:#d46a32}.analytics-chart-wrap{overflow-x:auto;padding:1rem .2rem .15rem}.analytics-chart{display:grid;grid-template-columns:repeat(var(--analytics-points),minmax(34px,1fr));gap:.35rem;min-width:max(720px,calc(var(--analytics-points) * 34px));height:260px;padding:1rem .4rem 0;border-left:1px solid #ece8f1;border-bottom:1px solid #dcd6e6;background:repeating-linear-gradient(to bottom,#fff 0,#fff 51px,#f0edf4 52px)}.analytics-chart-point{display:grid;grid-template-rows:1fr 26px;min-width:0}.analytics-chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:2px;min-height:0}.analytics-chart-bars span{display:block;width:min(18%,8px);min-width:4px;border-radius:4px 4px 1px 1px;transition:opacity .15s ease}.analytics-chart-bars span:hover{opacity:.7}.analytics-chart-point small{display:flex;align-items:flex-end;justify-content:center;overflow:visible;color:#8a8292;font-size:.62rem;white-space:nowrap;transform:translateY(3px)}.analytics-two-column{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.analytics-panel{padding:1.15rem;min-width:0}.analytics-progress-list{display:grid;gap:.72rem}.analytics-progress-row{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(120px,1.2fr) 48px;align-items:center;gap:.7rem}.analytics-progress-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-width:0}.analytics-progress-row strong{overflow:hidden;color:#3c334b;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.analytics-progress-row span,.analytics-progress-row small{color:#756d7f;font-size:.7rem;font-weight:800}.analytics-progress-row small{text-align:right}.analytics-progress-track{overflow:hidden;height:9px;border-radius:999px;background:#eeeaf3}.analytics-progress-track>span{display:block;height:100%;min-width:2px;border-radius:999px;background:#7560aa}.analytics-progress-track .status-published{background:#16794d}.analytics-progress-track .status-pending{background:#d69018}.analytics-progress-track .status-rejected{background:#bd2c2c}.analytics-progress-track .status-sold{background:#2b75a8}.analytics-progress-track .status-expired,.analytics-progress-track .status-archived{background:#8a8292}.analytics-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.analytics-health-grid a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem .9rem;color:#554c61;border:1px solid #ebe7f0;border-radius:13px;background:#fbfafc}.analytics-health-grid a:hover{border-color:#cfc5df;background:#f8f5fc}.analytics-health-grid span{font-size:.76rem;font-weight:750}.analytics-health-grid strong{color:#281d45;font-size:1.18rem}.analytics-ranking-list{display:grid;gap:.72rem}.analytics-ranking-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:.7rem}.analytics-ranking-row>span{display:grid;width:27px;height:27px;place-items:center;color:#5b3fa3;border-radius:9px;background:#f1ecfa;font-size:.7rem;font-weight:900}.analytics-ranking-row>div{display:grid;gap:.35rem;min-width:0}.analytics-ranking-row strong{overflow:hidden;color:#3c334b;font-size:.79rem;text-overflow:ellipsis;white-space:nowrap}.analytics-ranking-row>div>div{overflow:hidden;height:7px;border-radius:999px;background:#eeeaf3}.analytics-ranking-row i{display:block;height:100%;border-radius:999px;background:#6b52a5}.analytics-ranking-row b{color:#40354f;font-size:.78rem}.analytics-totals-card{padding:1.15rem;margin-bottom:1rem}.analytics-total-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.7rem}.analytics-total-grid>div{padding:.85rem;border:1px solid #ebe7f0;border-radius:13px;background:#fbfafc}.analytics-total-grid span{display:block;color:#766f82;font-size:.72rem;font-weight:750}.analytics-total-grid strong{display:block;margin-top:.25rem;color:#281d45;font-size:1.25rem}.analytics-activity-card{padding:1.15rem}.analytics-activity-table code{display:inline-block;max-width:260px;overflow:hidden;padding:.25rem .42rem;color:#4d3a78;border-radius:7px;background:#f3eff9;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.activity-filter-bar{grid-template-columns:minmax(220px,1fr) 220px 150px 150px auto auto}.activity-full-table{min-width:1120px}.activity-change-details{position:relative}.activity-change-details summary{color:#5b3fa3;cursor:pointer;font-size:.74rem;font-weight:850}.activity-change-details[open]{min-width:280px;padding:.65rem;border:1px solid #e4ddec;border-radius:10px;background:#fbfafc}.activity-change-details strong{display:block;margin:.4rem 0 .2rem;color:#5d5368;font-size:.68rem;text-transform:uppercase}.activity-change-details pre{overflow:auto;max-width:390px;max-height:180px;margin:0;padding:.55rem;color:#40374b;border-radius:8px;background:#f0edf4;font-size:.66rem;white-space:pre-wrap;word-break:break-word}
@media(max-width:1500px){.analytics-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.analytics-page-header{align-items:flex-start}.analytics-header-actions{justify-content:flex-start}.analytics-two-column{grid-template-columns:1fr}.activity-filter-bar{grid-template-columns:1fr 1fr 1fr}.analytics-chart{height:235px}}
@media(max-width:720px){.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-period-switch{width:100%;overflow-x:auto}.analytics-period-switch a{flex:1;white-space:nowrap}.analytics-header-actions{width:100%}.analytics-health-grid{grid-template-columns:1fr}.analytics-progress-row{grid-template-columns:minmax(110px,1fr) 1fr 42px}.activity-filter-bar{grid-template-columns:1fr}.analytics-chart{height:220px}}


/* V3.6 SEO and indexing center */
.seo-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.seo-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.seo-heading-actions form{margin:0}.seo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.seo-metrics article{background:#fff;border:1px solid var(--admin-border,#e5e7eb);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.seo-metrics span{display:block;color:#64748b;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.seo-metrics strong{display:block;margin-top:8px;color:#0f172a;font-size:2rem;line-height:1}.seo-status-panel{margin-bottom:18px}.seo-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 20px}.seo-check{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:13px;padding:14px;background:#fff}.seo-check-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-weight:900}.seo-check div{min-width:0}.seo-check strong,.seo-check small{display:block}.seo-check small{margin-top:3px;color:#64748b;overflow-wrap:anywhere}.seo-check b{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.seo-check.is-ready .seo-check-icon{background:#dcfce7;color:#15803d}.seo-check.is-ready b{color:#15803d}.seo-check.needs-attention .seo-check-icon{background:#fef3c7;color:#b45309}.seo-check.needs-attention b{color:#b45309}.seo-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px 20px}.seo-toggle-card{display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe3ed;border-radius:14px;padding:16px;background:#f8fafc;cursor:pointer}.seo-toggle-card input{width:20px;height:20px;margin-top:2px;accent-color:#e7542b}.seo-toggle-card strong,.seo-toggle-card small{display:block}.seo-toggle-card small{margin-top:4px;color:#64748b;line-height:1.45}.seo-core-fields{padding-top:0}.seo-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 20px 22px}.seo-language-card{border:1px solid #dfe6ee;border-radius:16px;padding:18px;background:#fff}.seo-language-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}.seo-language-heading strong{display:grid;place-items:center;min-width:40px;height:28px;border-radius:8px;background:#0f172a;color:#fff;font-size:.75rem;letter-spacing:.08em}.seo-language-heading span{font-weight:750;color:#334155}.seo-language-card label{display:block;margin-top:12px;font-weight:650;color:#334155}.seo-language-card input,.seo-language-card textarea{width:100%;margin-top:6px}.seo-language-card label>small{display:block;text-align:right;margin-top:4px;color:#94a3b8;font-size:.72rem}.seo-search-preview{margin-top:16px;border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:#f8fafc}.seo-search-preview span{font-size:.78rem;color:#166534}.seo-search-preview h3{margin:5px 0 3px;color:#1a0dab;font-size:1rem;font-weight:500}.seo-search-preview p{margin:0;color:#4b5563;font-size:.8rem;line-height:1.4}.seo-robots-panel pre{margin:0 20px 22px;padding:16px;border-radius:12px;background:#0f172a;color:#dbeafe;white-space:pre-wrap;overflow:auto;font-size:.78rem;line-height:1.55}.admin-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-weight:700;text-decoration:none;cursor:pointer}.admin-secondary-button:hover{border-color:#94a3b8;background:#f8fafc}
@media(max-width:1100px){.seo-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-language-grid{grid-template-columns:1fr}.seo-page-heading{align-items:flex-start;flex-direction:column}.seo-heading-actions{justify-content:flex-start}}
@media(max-width:720px){.seo-metrics,.seo-check-grid,.seo-toggle-grid{grid-template-columns:1fr}.seo-check{grid-template-columns:34px minmax(0,1fr)}.seo-check b{grid-column:2}.seo-heading-actions{width:100%}.seo-heading-actions>*{flex:1}.seo-heading-actions form button{width:100%}.seo-language-grid{padding-left:14px;padding-right:14px}}


/* V3.7 search and discovery center */
.search-center-header-actions,
.search-center-header-actions form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-center-header-actions select,
.search-settings-form input,
.search-synonym-create input,
.search-synonym-create select,
.search-synonym-list input {
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.search-migration-warning {
    margin-bottom: 18px;
    border-color: #f3c27a;
    background: #fff8ea;
}

.search-migration-warning strong {
    display: block;
    margin-bottom: 5px;
    color: var(--warning);
    font-size: 17px;
}

.search-migration-warning p { margin: 0 0 10px; color: var(--muted); }
.search-migration-warning code { display: inline-block; padding: 8px 10px; border-radius: 8px; background: #fff; }

.search-metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.search-metric-grid article {
    min-height: 130px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 37, 63, .05);
}

.search-metric-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.search-metric-grid strong { display: block; margin-top: 17px; font-size: 31px; line-height: 1; }

.search-insight-grid,
.search-config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.search-insight-panel,
.search-zero-panel,
.search-settings-panel,
.search-locale-panel,
.search-synonym-panel,
.search-recent-panel { overflow: hidden; }

.search-query-table a { color: var(--ink); font-weight: 850; }
.search-query-table a:hover { color: var(--accent); }
.search-query-table th:nth-child(n+2),
.search-query-table td:nth-child(n+2) { white-space: nowrap; }

.search-zero-list { display: grid; gap: 8px; }
.search-zero-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #ebe6de;
    border-radius: 12px;
    background: #fffaf8;
}
.search-zero-list strong,
.search-zero-list small { display: block; }
.search-zero-list small { margin-top: 3px; color: var(--muted); }
.search-zero-list button {
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    font-weight: 850;
    cursor: pointer;
}

.search-settings-form { display: grid; gap: 12px; }
.search-toggle-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.search-toggle-card input { margin-top: 3px; accent-color: var(--accent); }
.search-toggle-card strong,
.search-toggle-card small { display: block; }
.search-toggle-card small { margin-top: 4px; color: var(--muted); line-height: 1.45; }

.search-number-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.search-number-grid label,
.search-synonym-create label { color: var(--muted); font-size: 12px; font-weight: 800; }
.search-number-grid input,
.search-synonym-create input,
.search-synonym-create select { width: 100%; margin-top: 6px; }

.search-locale-list { display: grid; gap: 16px; }
.search-locale-list article > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.search-locale-list small { color: var(--muted); }
.search-locale-track { overflow: hidden; height: 8px; margin: 7px 0 4px; border-radius: 999px; background: #eeeae3; }
.search-locale-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ff9b78); }

.search-synonym-panel,
.search-recent-panel { margin-bottom: 18px; }
.search-synonym-create {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr .8fr .45fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid #e8e2d8;
    border-radius: 14px;
    background: #fbfaf7;
}

.search-synonym-list { display: grid; gap: 9px; }
.search-synonym-list > article {
    display: grid;
    grid-template-columns: minmax(140px, .6fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.search-synonym-identity { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-synonym-identity span { color: var(--accent); font-weight: 900; }
.search-synonym-list > article > form:first-of-type {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto 80px auto auto;
    gap: 8px;
    align-items: center;
}
.search-priority-input { width: 80px; }
.search-locale-badge,
.search-result-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--ink);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}
.search-active-check { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 800; }
.search-result-pill.is-zero { background: #fff0ed; color: var(--danger); }
.search-recent-table td:nth-child(2) strong,
.search-recent-table td:nth-child(2) small,
.search-recent-table td:nth-child(5) span { display: block; }
.search-recent-table td:nth-child(2) small { margin-top: 3px; color: var(--muted); }

.popular-searches,
.related-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.popular-searches { max-width: 1180px; margin: 16px auto 0; }
.popular-searches > span,
.related-searches > strong { color: var(--muted); font-size: 12px; }
.popular-searches a,
.related-searches a {
    padding: 7px 10px;
    border: 1px solid rgba(16, 37, 63, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
}
.related-searches { justify-content: center; margin-top: 16px; }

@media (max-width: 1180px) {
    .search-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .search-synonym-create { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-synonym-create button { align-self: stretch; }
    .search-synonym-list > article { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .search-insight-grid,
    .search-config-grid { grid-template-columns: 1fr; }
    .search-synonym-list > article > form:first-of-type { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .search-center-header-actions,
    .search-center-header-actions form { width: 100%; align-items: stretch; flex-direction: column; }
    .search-center-header-actions select,
    .search-center-header-actions .admin-secondary-button { width: 100%; }
    .search-metric-grid { grid-template-columns: 1fr 1fr; }
    .search-number-grid,
    .search-synonym-create,
    .search-synonym-list > article > form:first-of-type { grid-template-columns: 1fr; }
    .popular-searches { padding-inline: 18px; }
}

/* V3.8 Trust & Safety Center */
.trust-header-actions,
.trust-row-links,
.trust-run-list article > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.trust-header-actions form { margin: 0; }
.trust-migration-warning { margin-bottom: 18px; }
.trust-migration-warning p { margin: 7px 0; }
.trust-migration-warning code { display: inline-block; padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,.7); }

.trust-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.trust-metric-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 37, 63, .045);
}
.trust-metric-grid article.is-critical { border-color: rgba(176, 48, 52, .25); background: #fff8f7; }
.trust-metric-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.trust-metric-grid strong { display: block; margin-top: 7px; color: var(--ink); font-size: 26px; }

.trust-filter-bar { margin-bottom: 18px; }
.trust-queue-card { margin-bottom: 18px; }
.trust-table th:nth-child(1) { min-width: 250px; }
.trust-table th:nth-child(2) { min-width: 112px; }
.trust-table th:nth-child(3) { min-width: 250px; }
.trust-table th:nth-child(4) { min-width: 130px; }
.trust-table th:nth-child(5) { min-width: 230px; }
.trust-table td > strong,
.trust-table td > small { display: block; }
.trust-table td > small { margin-bottom: 4px; color: var(--muted); }
.trust-row-links { margin-top: 9px; }
.trust-row-links a { font-size: 12px; font-weight: 800; }

.trust-score {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 66px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f1f4f6;
}
.trust-score strong { font-size: 23px; line-height: 1; }
.trust-score small { margin-left: 2px; color: var(--muted); font-size: 10px; }
.trust-score-low { background: #ecf8f1; color: #177246; }
.trust-score-medium { background: #fff6dc; color: #8b6200; }
.trust-score-high { background: #fff0e3; color: #a44c00; }
.trust-score-critical { background: #ffe9e8; color: #a9252b; }

.trust-level,
.trust-status,
.trust-listing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 27px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}
.trust-level,
.trust-status { margin-top: 6px; }
.trust-level-low { background: #e9f7ef; color: #176d45; }
.trust-level-medium { background: #fff3ce; color: #805a00; }
.trust-level-high { background: #ffebda; color: #9a4500; }
.trust-level-critical { background: #ffe4e3; color: #a3262c; }
.trust-status-open { background: #eef2f7; color: #304c6d; }
.trust-status-cleared { background: #e9f7ef; color: #176d45; }
.trust-status-confirmed { background: #ffe4e3; color: #a3262c; }

.trust-flag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.trust-flag-list > span {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    padding: 5px 7px;
    border: 1px solid #eadfd3;
    border-radius: 9px;
    background: #fbfaf7;
    color: var(--ink);
    font-size: 11px;
    font-weight: 750;
}
.trust-flag-list b { color: var(--danger); }
.trust-flag-list small { width: 100%; color: var(--muted); font-weight: 600; }
.trust-no-flags { color: #177246; font-size: 12px; font-weight: 800; }

.trust-review-form { display: grid; gap: 7px; }
.trust-review-form select,
.trust-review-form textarea { width: 100%; }
.trust-review-form textarea { min-height: 58px; resize: vertical; }
.trust-reviewer { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.trust-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr);
    gap: 18px;
    align-items: start;
}
.trust-run-list { display: grid; gap: 8px; }
.trust-run-list article {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.trust-run-list article strong,
.trust-run-list article small { display: block; }
.trust-run-list article small { margin-top: 4px; color: var(--muted); }
.trust-run-list article > div:last-child { justify-content: flex-end; color: var(--muted); font-size: 11px; font-weight: 800; }

.trust-settings-panel form { display: grid; gap: 12px; }
.trust-toggle-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfaf7;
}
.trust-toggle-card input { margin-top: 3px; }
.trust-toggle-card strong,
.trust-toggle-card small { display: block; }
.trust-toggle-card small { margin-top: 4px; color: var(--muted); line-height: 1.45; }
.trust-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trust-settings-grid label,
.trust-terms-field { color: var(--muted); font-size: 12px; font-weight: 800; }
.trust-settings-grid input,
.trust-terms-field textarea { width: 100%; margin-top: 6px; }
.trust-terms-field small { display: block; margin-top: 5px; line-height: 1.45; }

.trust-listing-badge { flex-direction: column; min-width: 70px; border: 1px solid transparent; }
.trust-listing-badge strong { font-size: 17px; line-height: 1; }
.trust-listing-badge span { font-size: 10px; }
.trust-listing-badge.is-unscanned { border-color: var(--line); background: #f7f7f7; color: var(--muted); }

@media (max-width: 1280px) {
    .trust-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .trust-header-actions { width: 100%; }
    .trust-header-actions a,
    .trust-header-actions form,
    .trust-header-actions button { width: 100%; }
    .trust-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-run-list article { flex-direction: column; }
    .trust-run-list article > div:last-child { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .trust-metric-grid,
    .trust-settings-grid { grid-template-columns: 1fr 1fr; }
}

/* V3.9 — System Operations Center */
.system-health-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}
.system-health-heading small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.system-health-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}
.system-health-actions form { margin: 0; }
.system-health-actions a,
.system-health-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.system-health-summary,
.system-health-metrics,
.system-health-runtime-grid {
    display: grid;
    gap: 12px;
}
.system-health-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 14px;
}
.system-health-summary article,
.system-health-metrics article,
.system-health-runtime-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(21, 35, 47, .035);
}
.system-health-summary article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
}
.system-health-summary span,
.system-health-metrics span,
.system-health-runtime-grid span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}
.system-health-summary strong { font-size: 30px; }
.system-health-summary-ok { border-top: 4px solid #2d936c !important; }
.system-health-summary-warning { border-top: 4px solid #d89a18 !important; }
.system-health-summary-error { border-top: 4px solid #c94249 !important; }
.system-health-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
}
.system-health-metrics article { min-height: 92px; }
.system-health-metrics strong,
.system-health-runtime-grid strong {
    display: block;
    margin-top: 9px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.15;
}
.system-health-checks-panel { margin-bottom: 18px; }
.system-health-check-list { display: grid; gap: 8px; }
.system-health-check {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 12px;
    background: #fff;
}
.system-health-check-ok { border-left-color: #2d936c; }
.system-health-check-warning { border-left-color: #d89a18; }
.system-health-check-error { border-left-color: #c94249; }
.system-health-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}
.system-health-check-ok .system-health-check-icon { background: #e9f7ef; color: #176d45; }
.system-health-check-warning .system-health-check-icon { background: #fff3ce; color: #805a00; }
.system-health-check-error .system-health-check-icon { background: #ffe4e3; color: #a3262c; }
.system-health-check strong,
.system-health-check small { display: block; }
.system-health-check small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.system-health-check b {
    color: var(--ink);
    font-size: 12px;
    white-space: nowrap;
}
.system-health-check em {
    min-width: 80px;
    padding: 5px 8px;
    border-radius: 999px;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}
.system-health-check-ok em { background: #e9f7ef; color: #176d45; }
.system-health-check-warning em { background: #fff3ce; color: #805a00; }
.system-health-check-error em { background: #ffe4e3; color: #a3262c; }
.system-health-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}
.system-health-run-list,
.system-health-failed-list { display: grid; gap: 8px; }
.system-health-run-list article,
.system-health-failed-list article {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.system-health-run-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.system-health-run-list strong,
.system-health-run-list small,
.system-health-failed-list strong,
.system-health-failed-list small { display: block; }
.system-health-run-list small,
.system-health-failed-list small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}
.system-health-run-status {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--muted);
    background: #f1f3f6;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}
.system-health-run-status-success { background: #e9f7ef; color: #176d45; }
.system-health-run-status-warning { background: #fff3ce; color: #805a00; }
.system-health-run-status-failed { background: #ffe4e3; color: #a3262c; }
.system-health-failed-list p {
    margin: 8px 0 0;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.system-health-runtime-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.system-health-runtime-grid article { min-height: 82px; }

@media (max-width: 1280px) {
    .system-health-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .system-health-runtime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .system-health-heading,
    .system-health-run-list article { flex-direction: column; }
    .system-health-actions { width: 100%; justify-content: flex-start; }
    .system-health-bottom-grid { grid-template-columns: 1fr; }
    .system-health-check { grid-template-columns: 30px minmax(0, 1fr) auto; }
    .system-health-check b { display: none; }
}

@media (max-width: 600px) {
    .system-health-summary,
    .system-health-metrics,
    .system-health-runtime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .system-health-actions a,
    .system-health-actions form,
    .system-health-actions button { width: 100%; }
    .system-health-check { grid-template-columns: 28px minmax(0, 1fr); }
    .system-health-check em { grid-column: 2; justify-self: start; }
}


/* V4.0 Backup & Recovery Center */
.backup-page-header { align-items: flex-start; gap: 24px; }
.backup-page-header span { display: block; max-width: 760px; color: #657178; margin-top: 6px; }
.backup-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.backup-header-actions form { margin: 0; }
.backup-header-actions button,
.backup-actions a,
.backup-actions button { white-space: nowrap; }
.backup-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.backup-summary-grid article { background: #fff; border: 1px solid #e5e9eb; border-radius: 16px; padding: 18px; min-height: 104px; }
.backup-summary-grid span { display: block; color: #68747a; font-size: 13px; margin-bottom: 10px; }
.backup-summary-grid strong { display: block; color: #13242c; font-size: 24px; line-height: 1.1; }
.backup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; margin-bottom: 18px; }
.backup-policy-list { display: grid; gap: 0; margin: 0; }
.backup-policy-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #edf0f1; }
.backup-policy-list div:last-child { border-bottom: 0; }
.backup-policy-list dt { color: #69757a; }
.backup-policy-list dd { margin: 0; color: #172a33; font-weight: 700; }
.backup-recovery-card ol { margin: 14px 0 0; padding-left: 21px; display: grid; gap: 9px; color: #45545b; }
.backup-recovery-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff3ce; color: #765300; font-size: 13px; }
.backup-history-card { margin-bottom: 24px; }
.backup-table td:first-child { min-width: 225px; }
.backup-table td:first-child strong,
.backup-table td:first-child small,
.backup-table td:first-child code { display: block; }
.backup-table td:first-child code { width: fit-content; margin-top: 5px; padding: 3px 6px; border-radius: 6px; background: #f2f5f6; color: #526168; font-size: 11px; }
.backup-status-success { background: #e9f7ef; color: #176d45; }
.backup-status-failed { background: #ffe4e3; color: #a3262c; }
.backup-status-running { background: #e8f2ff; color: #205d97; }
.backup-error { display: block; max-width: 220px; margin-top: 6px; color: #a3262c; }
.backup-verified { color: #176d45; font-weight: 700; font-size: 12px; }
.backup-unverified { color: #8a6510; font-size: 12px; }
.backup-actions { min-width: 200px; }
.backup-actions form { display: inline-flex; margin: 0; }
.backup-migration-warning code { display: inline-block; margin-top: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.7); }
@media (max-width: 1180px) {
    .backup-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .backup-page-header { display: block; }
    .backup-header-actions { justify-content: flex-start; margin-top: 16px; }
    .backup-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .backup-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .backup-summary-grid { grid-template-columns: 1fr; }
    .backup-header-actions { display: grid; }
    .backup-header-actions button { width: 100%; }
}

/* V13.8.2 localized, responsive pagination */
.pazarce-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 18px 0 0; }
.pazarce-pagination > p { margin: 0; color: #718397; font-size: 12px; }
.pazarce-pagination > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pazarce-pagination a,
.pazarce-pagination span { display: inline-grid; min-width: 36px; height: 36px; padding: 0 10px; place-items: center; border: 1px solid #dfe7ed; border-radius: 10px; background: #fff; color: #30465f; font-size: 12px; font-weight: 750; text-decoration: none; }
.pazarce-pagination a:hover { border-color: #f1614e; color: #d94938; }
.pazarce-pagination .is-current { border-color: #17283d; background: #17283d; color: #fff; }
.pazarce-pagination .is-disabled { opacity: .45; }
.pazarce-pagination .pazarce-pagination-pages { display: flex; width: auto; height: auto; padding: 0; gap: 6px; border: 0; border-radius: 0; background: transparent; }

/* V13.8.3 secure SMTP center */
.smtp-settings-card { margin: 0 0 22px; border-top: 3px solid #f1614e; }
.smtp-kicker { margin: 0 0 6px; color: #e25342 !important; font-size: 10px !important; font-weight: 850; letter-spacing: .14em; }
.smtp-source-badge { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: #eef3f6; color: #53687c; font-size: 11px; font-weight: 800; }
.smtp-source-badge.is-database { background: #e5f7ef; color: #167451; }
.smtp-security-note { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 20px; padding: 14px 16px; border: 1px solid #d9e6ed; border-radius: 13px; background: #f7fafc; }
.smtp-security-note > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 10px; background: #17283d; color: #fff; font-size: 18px; }
.smtp-security-note strong { display: block; margin-bottom: 3px; color: #17243a; font-size: 12px; }
.smtp-security-note p { margin: 0; color: #677b8e; font-size: 11px; line-height: 1.5; }
.smtp-form-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(100px, .65fr) minmax(170px, 1fr) minmax(110px, .7fr); gap: 14px; }
.smtp-form-grid label,
.smtp-settings-form label { display: grid; gap: 7px; color: #344b62; font-size: 11px; font-weight: 800; }
.smtp-form-grid input,
.smtp-form-grid select { min-width: 0; width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #d9e3ea; border-radius: 10px; background: #fff; color: #17243a; font: inherit; font-weight: 600; }
.smtp-form-grid input:focus,
.smtp-form-grid select:focus { outline: 3px solid rgba(241,97,78,.13); border-color: #f1614e; }
.smtp-form-grid label > small { color: #8090a0; font-size: 10px; font-weight: 550; }
.smtp-domain-field,
.smtp-test-field { grid-column: span 2; }
.smtp-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.smtp-form-actions > small { max-width: 600px; color: #718397; font-size: 10px; line-height: 1.5; }
.smtp-settings-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e6edf2; }
.smtp-settings-footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.smtp-settings-footer strong { color: #283d54; font-size: 11px; }
.smtp-settings-footer small { color: #718397; font-size: 10px; }
.smtp-settings-footer p { flex-basis: 100%; margin: 0; color: #65798c; font-size: 11px; }
.smtp-test-state { padding: 5px 8px; border-radius: 999px; background: #eef2f5; color: #607589; font-size: 10px; font-weight: 800; }
.smtp-test-state.is-passed { background: #e3f7ed; color: #14704d; }
.smtp-test-state.is-failed { background: #ffebe8; color: #b93c2f; }
.smtp-environment-form button { padding: 8px 10px; border: 1px solid #d8e2e9; border-radius: 9px; background: #fff; color: #52677b; font-size: 10px; font-weight: 800; cursor: pointer; }

/* V13.9 seller trust center */
.v139-user-trust-page { --trust-navy: #17283d; --trust-coral: #f1614e; }
.v139-trust-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; background: linear-gradient(125deg, #fff 0%, #f4f8fa 100%); }
.v139-trust-hero > div { display: flex; align-items: center; gap: 15px; }
.v139-trust-hero h2 { margin: 2px 0 4px; color: #17243a; }
.v139-trust-hero p { margin: 0; color: #667b8e; }
.v139-trust-shield { display: grid; flex: 0 0 54px; height: 54px; place-items: center; border-radius: 17px 17px 22px 22px; background: #e8eef2; color: #617588; font-size: 23px; font-weight: 900; }
.v139-trust-shield.is-verified,
.v139-trust-shield.is-trusted { background: #def6e9; color: #11714c; }
.v139-trust-shield.is-established { background: #e7f1ff; color: #2569a8; }
.v139-trust-shield.is-developing { background: #fff3d9; color: #9a6914; }
.v139-trust-shield.is-review { background: #ffebe8; color: #bd4032; }
.v139-profile-status,
.v139-level,
.v139-appeal-status { display: inline-flex; align-items: center; width: max-content; padding: 5px 9px; border-radius: 999px; background: #eef2f5; color: #566c80; font-size: 10px; font-weight: 850; white-space: nowrap; }
.v139-profile-status.is-active,
.v139-level.is-verified,
.v139-level.is-trusted,
.v139-appeal-status.is-resolved { background: #e3f7ed; color: #14704d; }
.v139-profile-status.is-under_review,
.v139-level.is-developing,
.v139-appeal-status.is-reviewing { background: #fff2d8; color: #95630d; }
.v139-profile-status.is-restricted,
.v139-level.is-review,
.v139-appeal-status.is-rejected { background: #ffebe8; color: #b93c2f; }
.v139-level.is-established { background: #e8f2ff; color: #286ba9; }
.v139-user-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v139-user-check-grid article { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid #e3e9ee; border-radius: 13px; background: #fff; }
.v139-user-check-grid article > span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0ed; color: #bf4335; font-weight: 900; }
.v139-user-check-grid article.is-complete > span { background: #e3f7ed; color: #14704d; }
.v139-user-check-grid strong,
.v139-user-check-grid small { display: block; }
.v139-user-check-grid strong { color: #263c53; font-size: 12px; }
.v139-user-check-grid small { margin-top: 3px; color: #718397; font-size: 10px; line-height: 1.35; }
.v139-verified-callout,
.v139-pending-callout { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #eaf8f1; }
.v139-pending-callout { background: #fff5df; }
.v139-verified-callout > span,
.v139-pending-callout > span { font-size: 22px; }
.v139-verified-callout p,
.v139-pending-callout p { margin: 3px 0 0; }
.v139-appeal-form { display: grid; gap: 13px; }
.v139-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.v139-appeal-form label { display: grid; gap: 6px; color: #344b62; font-size: 11px; font-weight: 800; }
.v139-appeal-form input,
.v139-appeal-form select,
.v139-appeal-form textarea { width: 100%; padding: 10px 11px; border: 1px solid #dbe4eb; border-radius: 10px; background: #fff; color: #17243a; font: inherit; }
.v139-appeal-history { display: grid; gap: 10px; }
.v139-appeal-history article { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e9eef2; }
.v139-appeal-history article:last-child { border-bottom: 0; }
.v139-appeal-history article > div { display: grid; gap: 5px; }
.v139-appeal-history article form button { border: 0; background: none; color: #c54536; font-size: 11px; font-weight: 800; cursor: pointer; }
.v139-public-trust { border-color: #cae7da !important; background: #eaf8f1 !important; color: #176f50 !important; }
.v139-public-trust.is-review { display: none; }

.v139-admin-header { align-items: flex-end; }
.v139-header-actions { display: flex; align-items: center; gap: 9px; }
.v139-admin-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-bottom: 17px; }
.v139-admin-metrics article { padding: 16px; border: 1px solid #dfe7ed; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(17,37,61,.035); }
.v139-admin-metrics strong,
.v139-admin-metrics span { display: block; }
.v139-admin-metrics strong { color: #17243a; font-size: 24px; letter-spacing: -.04em; }
.v139-admin-metrics span { margin-top: 5px; color: #718397; font-size: 10px; font-weight: 750; }
.v139-filter-bar { grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(145px, 1fr)) auto auto; }
.v139-profile-section { margin-bottom: 18px; }
.v139-profile-table td > strong,
.v139-profile-table td > small { display: block; }
.v139-profile-table td > small { margin-top: 4px; color: #718397; font-size: 9px; }
.v139-admin-columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 17px; align-items: start; }
.v139-admin-side-stack { display: grid; gap: 17px; }
.v139-admin-appeals { display: grid; gap: 13px; }
.v139-admin-appeals article { padding: 14px; border: 1px solid #e1e8ee; border-radius: 12px; background: #fbfcfd; }
.v139-admin-appeals header { display: flex; justify-content: space-between; gap: 10px; }
.v139-admin-appeals header > div { display: grid; gap: 5px; }
.v139-admin-appeals time { color: #7b8c9c; font-size: 9px; white-space: nowrap; }
.v139-admin-appeals article > p { color: #536a7f; font-size: 11px; line-height: 1.55; }
.v139-admin-appeals form { display: grid; grid-template-columns: minmax(120px, .6fr) minmax(200px, 1.6fr) auto; gap: 8px; margin-top: 11px; }
.v139-admin-appeals select,
.v139-admin-appeals textarea { width: 100%; padding: 8px 9px; border: 1px solid #dbe4eb; border-radius: 9px; background: #fff; color: #263b51; font: inherit; font-size: 10px; }
.v139-compact-list { display: grid; gap: 7px; margin-bottom: 13px; }
.v139-compact-list a { display: grid; gap: 3px; padding: 10px; border: 1px solid #e2e9ee; border-radius: 9px; color: #263c53; text-decoration: none; }
.v139-compact-list a:hover { border-color: #f1614e; }
.v139-compact-list span { color: #718397; font-size: 9px; }

@media (max-width: 1120px) {
    .smtp-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v139-admin-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v139-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v139-admin-columns { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .pazarce-pagination { align-items: flex-start; flex-direction: column; }
    .smtp-form-grid,
    .v139-form-grid,
    .v139-user-check-grid { grid-template-columns: 1fr; }
    .smtp-domain-field,
    .smtp-test-field { grid-column: auto; }
    .smtp-settings-footer,
    .v139-trust-hero,
    .v139-appeal-history article { align-items: flex-start; flex-direction: column; }
    .v139-admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v139-filter-bar { grid-template-columns: 1fr; }
    .v139-header-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .v139-admin-appeals form { grid-template-columns: 1fr; }
}

/* V13.8 campaign acquisition and landing center */
.v138-landing{--v138-accent:#f45f50;--v138-soft:#fff0ed;--v138-ink:#102b47;max-width:1480px;margin:0 auto;padding:42px clamp(20px,4vw,64px) 80px;color:var(--v138-ink)}
.v138-theme-navy{--v138-accent:#174f7a;--v138-soft:#eaf4fb}.v138-theme-mint{--v138-accent:#12805f;--v138-soft:#e7f7f1}
.v138-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:48px;align-items:center;overflow:hidden;padding:clamp(34px,6vw,78px);border:1px solid #e7e1da;border-radius:34px;background:linear-gradient(135deg,#fff 0 58%,var(--v138-soft));box-shadow:0 24px 70px rgba(16,43,71,.09)}
.v138-hero:before{content:'';position:absolute;z-index:-1;width:360px;height:360px;right:-100px;top:-150px;border:72px solid color-mix(in srgb,var(--v138-accent) 12%,transparent);border-radius:50%}
.v138-hero-copy{max-width:820px}.v138-eyebrow,.v138-section-heading p,.v138-final-cta>div>p{margin:0 0 14px;color:var(--v138-accent);font-size:13px;font-weight:950;letter-spacing:.14em}.v138-hero h1{max-width:820px;margin:0;font-size:clamp(42px,5.4vw,78px);line-height:.98;letter-spacing:-.055em}.v138-hero-copy>p:not(.v138-eyebrow){max-width:700px;margin:26px 0 0;color:#60748a;font-size:clamp(17px,1.7vw,22px);line-height:1.6}.v138-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:30px}.v138-primary,.v138-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 23px;border-radius:15px;font-weight:950;text-decoration:none}.v138-primary{gap:20px;background:var(--v138-accent);color:#fff;box-shadow:0 12px 28px color-mix(in srgb,var(--v138-accent) 25%,transparent)}.v138-secondary{border:1px solid #dce4eb;background:#fff;color:var(--v138-ink)}.v138-hero-copy>small{display:block;margin-top:18px;color:#76879a;font-size:12px}.v138-reward-card{display:grid;gap:13px;padding:30px;border:1px solid color-mix(in srgb,var(--v138-accent) 20%,#fff);border-radius:25px;background:rgba(255,255,255,.9);box-shadow:0 18px 50px rgba(16,43,71,.11)}.v138-reward-card>span{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#687d92}.v138-reward-card>strong{font-size:70px;line-height:1;color:var(--v138-accent);letter-spacing:-.07em}.v138-reward-card>strong em{font-size:25px;font-style:normal;letter-spacing:0}.v138-reward-card>p{margin:0;color:#4e657b;line-height:1.55}.v138-reward-card>div{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #e8edf1;color:#13785b;font-size:12px;font-weight:900}.v138-reward-card i{width:8px;height:8px;border-radius:50%;background:#18a074;box-shadow:0 0 0 5px #e5f7f1}
.v138-steps,.v138-listings{padding:76px 0 0}.v138-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.v138-section-heading h2,.v138-final-cta h2{margin:0;font-size:clamp(29px,3vw,44px);letter-spacing:-.035em}.v138-section-heading>a{padding:11px 16px;border:1px solid #dfe5ea;border-radius:12px;background:#fff;color:var(--v138-ink);font-weight:900;text-decoration:none}.v138-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.v138-step-grid article{min-height:190px;padding:25px;border:1px solid #e2e8ed;border-radius:20px;background:#fff}.v138-step-grid b{display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border-radius:13px;background:var(--v138-soft);color:var(--v138-accent)}.v138-step-grid h3{margin:0 0 9px;font-size:18px}.v138-step-grid p{margin:0;color:#6c7e91;line-height:1.55;font-size:14px}.v138-target-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:34px;padding:18px 22px;border-radius:17px;background:var(--v138-ink);color:#fff}.v138-target-strip>span{margin-right:5px;color:#9fb4c8;font-size:12px;font-weight:900;text-transform:uppercase}.v138-target-strip strong{padding:7px 10px;border-radius:9px;background:rgba(255,255,255,.12)}.v138-target-strip a{margin-left:auto;color:#fff;font-weight:900;text-decoration:none}.v138-listings .listing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v138-final-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:78px;padding:38px clamp(26px,5vw,60px);border-radius:28px;background:var(--v138-ink);color:#fff}.v138-final-cta>div>p{color:#ff8a7d}.v138-final-cta>div>span{display:block;margin-top:10px;color:#adc0d2}.v138-final-cta .v138-primary{flex:none}.v138-terms{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;color:#667a8f;font-size:13px}.v138-terms details{max-width:760px}.v138-terms summary{cursor:pointer;color:var(--v138-ink);font-weight:900}.v138-terms details p{line-height:1.6}.v138-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v138-share a,.v138-share button{padding:8px 10px;border:1px solid #dde5eb;border-radius:9px;background:#fff;color:#27445f;font:inherit;font-weight:900;text-decoration:none;cursor:pointer}
.v138-home-campaign{--v138-accent:#f45f50;--v138-soft:#fff0ed;--v138-ink:#102b47;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:34px;align-items:center;overflow:hidden;max-width:1240px;margin:42px auto 0;padding:34px clamp(26px,4vw,52px);border-radius:28px;background:linear-gradient(120deg,#102b47,#173b5e);color:#fff;box-shadow:0 22px 55px rgba(16,43,71,.16)}.v138-home-campaign:after{content:'';position:absolute;z-index:-1;right:170px;bottom:-160px;width:330px;height:330px;border:64px solid rgba(255,255,255,.045);border-radius:50%}.v138-home-campaign-copy>p{margin:0 0 9px;color:#ff8a7d;font-size:12px;font-weight:950;letter-spacing:.13em}.v138-home-campaign-copy h2{max-width:760px;margin:0;font-size:clamp(28px,3.2vw,42px);line-height:1.08;letter-spacing:-.035em}.v138-home-campaign-copy>span{display:block;max-width:720px;margin-top:12px;color:#b9c9d8;line-height:1.55}.v138-home-campaign-copy>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.v138-home-campaign .v138-secondary{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff}.v138-home-campaign aside{display:grid;gap:7px;padding:22px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.08);backdrop-filter:blur(7px)}.v138-home-campaign aside small{color:#a9bdce;font-size:10px;font-weight:950;letter-spacing:.09em}.v138-home-campaign aside strong{font-size:46px;line-height:1;letter-spacing:-.05em}.v138-home-campaign aside em{font-size:19px;font-style:normal;letter-spacing:0}.v138-home-campaign aside span{color:#c5d2dd;font-size:12px;line-height:1.45}
.v138-admin-shell{display:grid;gap:18px}.v138-admin-header{align-items:center}.v138-admin-actions,.v138-page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v138-admin-actions form,.v138-page-actions form{margin:0}.v138-admin-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.v138-admin-summary article{display:grid;gap:8px;padding:18px;border:1px solid #e0e7ed;border-radius:17px;background:#fff}.v138-admin-summary span,.v138-page-metrics span{font-size:10px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#708399}.v138-admin-summary strong{font-size:28px;color:#102b47}.v138-editor{overflow:hidden}.v138-editor>.admin-card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #e7edf2}.v138-editor>.admin-card-heading h2{margin:0}.v138-editor>.admin-card-heading p{margin:5px 0 0;color:#73859a}.v138-editor-form{padding:22px}.v138-form-grid,.v138-copy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v138-form-grid label:not(.v138-check),.v138-copy-grid label{display:grid;gap:6px}.v138-form-grid label>span,.v138-copy-grid label>span,.v138-fixed-reward>span{font-size:11px;font-weight:900;color:#5b7087;text-transform:uppercase}.v138-form-grid input,.v138-form-grid select,.v138-copy-grid input,.v138-copy-grid textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8e1e8;border-radius:11px;background:#fbfcfd;color:#102b47;font:inherit}.v138-copy-grid textarea{min-height:90px;resize:vertical}.v138-form-grid small,.v138-fixed-reward small{color:#8292a4;font-size:11px}.v138-check{display:flex;align-items:center;gap:10px;align-self:center;min-height:48px;padding:10px 12px;border:1px solid #dfe6ec;border-radius:11px;background:#fbfcfd}.v138-check input{width:18px;height:18px;accent-color:#f45f50}.v138-fixed-reward{display:grid;gap:3px;padding:8px 12px;border-radius:11px;background:#fff1ed}.v138-fixed-reward strong{color:#e45344}.v138-locales{margin-top:22px;border:1px solid #e0e7ed;border-radius:16px;overflow:hidden}.v138-locale-tabs{display:flex;gap:6px;padding:8px;background:#f2f6f9}.v138-locale-tabs button{min-width:56px;padding:9px 13px;border:0;border-radius:9px;background:transparent;color:#60758b;font-weight:900;cursor:pointer}.v138-locale-tabs button.active{background:#102b47;color:#fff}.v138-locales fieldset{margin:0;padding:20px;border:0}.v138-locales legend{padding:0;font-weight:900}.v138-copy-grid .wide{grid-column:1/-1}.v138-save{margin-top:18px}.v138-pages{display:grid;gap:14px}.v138-section-title h2{margin:0}.v138-section-title p{margin:5px 0 0;color:#71849a}.v138-page-card{display:grid;grid-template-columns:minmax(300px,1.2fr) minmax(360px,1fr) minmax(300px,.7fr);gap:18px;padding:20px}.v138-page-main{min-width:0}.v138-status-line{display:flex;align-items:center;gap:10px}.v138-status{padding:5px 9px;border-radius:999px;font-size:10px;font-weight:950;text-transform:uppercase}.v138-status-active{background:#e4f7f0;color:#087558}.v138-status-paused{background:#fff0d8;color:#9b6200}.v138-status-draft{background:#edf1f5;color:#637589}.v138-status-line small{color:#8393a4}.v138-page-main h3{margin:13px 0 5px;font-size:20px}.v138-page-main>p{margin:0;color:#76889a}.v138-page-targets{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.v138-page-targets span{padding:6px 8px;border-radius:8px;background:#f0f5f8;color:#536b82;font-size:11px;font-weight:800}.v138-page-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.v138-page-metrics>div{display:grid;gap:4px;padding:13px;border-radius:12px;background:#f7f9fb}.v138-page-metrics strong{font-size:22px;color:#102b47}.v138-page-metrics small{color:#12805f;font-weight:900}.v138-share-card{display:grid;grid-template-columns:108px 1fr;gap:13px;align-items:center;padding:12px;border:1px solid #e1e8ed;border-radius:15px;background:#fbfcfd}.v138-qr svg{display:block;width:108px;height:108px}.v138-share-card strong{font-size:13px}.v138-share-card p{margin:5px 0 9px;color:#77899c;font-size:11px;line-height:1.4}.v138-share-card button{margin:2px 4px 2px 0;padding:6px 8px;border:1px solid #dbe4ea;border-radius:7px;background:#fff;color:#29445f;font-size:10px;font-weight:900;cursor:pointer}.v138-safety-note{margin:0;padding:14px 17px;border:1px solid #cfe2ee;border-radius:14px;background:#f2f8fc;color:#536d83;font-size:12px}
@media(max-width:1180px){.v138-listings .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v138-page-card{grid-template-columns:1fr 1fr}.v138-share-card{grid-column:1/-1}.v138-admin-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:860px){.v138-landing{padding:22px 16px 120px}.v138-hero{grid-template-columns:1fr;gap:28px;padding:32px 24px;border-radius:24px}.v138-hero h1{font-size:clamp(39px,12vw,58px)}.v138-reward-card{grid-template-columns:1fr auto;align-items:center}.v138-reward-card>strong{grid-row:1/3;grid-column:2;font-size:54px}.v138-reward-card>div{grid-column:1/-1}.v138-step-grid{grid-template-columns:repeat(2,1fr)}.v138-final-cta{align-items:flex-start;flex-direction:column}.v138-terms{align-items:flex-start;flex-direction:column}.v138-form-grid,.v138-copy-grid{grid-template-columns:repeat(2,1fr)}.v138-admin-summary{grid-template-columns:repeat(2,1fr)}.v138-home-campaign{grid-template-columns:1fr;margin:26px 16px 0}.v138-home-campaign aside{grid-template-columns:1fr auto;align-items:center}.v138-home-campaign aside strong{grid-row:1/3;grid-column:2}}
@media(max-width:620px){.v138-hero-actions>a{width:100%}.v138-step-grid,.v138-listings .listing-grid{grid-template-columns:1fr}.v138-step-grid article{min-height:auto}.v138-target-strip a{width:100%;margin:7px 0 0}.v138-section-heading{align-items:flex-start;flex-direction:column}.v138-final-cta{margin-top:52px;padding:30px 24px}.v138-final-cta .v138-primary{width:100%}.v138-form-grid,.v138-copy-grid,.v138-admin-summary,.v138-page-card{grid-template-columns:1fr}.v138-copy-grid .wide{grid-column:auto}.v138-page-metrics{grid-template-columns:repeat(2,1fr)}.v138-share-card{grid-template-columns:88px 1fr}.v138-qr svg{width:88px;height:88px}.v138-locale-tabs button{min-width:0;flex:1}.v138-home-campaign{padding:27px 22px;border-radius:22px}.v138-home-campaign-copy>div>a{width:100%}.v138-home-campaign aside{grid-template-columns:1fr}.v138-home-campaign aside strong{grid-row:auto;grid-column:auto}}

/* V13.6 — referral growth and safe re-engagement */
.auth-referral-note {
    max-width: 620px;
    margin: 32px auto -12px;
    padding: 14px 18px;
    border: 1px solid #cce8dc;
    border-radius: 14px;
    color: #145f48;
    background: #effaf5;
}
.auth-referral-note strong,
.auth-referral-note span { display: block; }
.auth-referral-note span { margin-top: 3px; color: #527368; font-size: 13px; }
.v136-referral-page { width: min(1180px, calc(100% - 40px)); margin: 38px auto 90px; }
.v136-referral-hero,
.v136-share-card,
.v136-dashboard-referral {
    border: 1px solid #dde6ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17,37,61,.07);
}
.v136-referral-hero { display: flex; padding: 34px 38px; align-items: center; justify-content: space-between; gap: 28px; }
.v136-referral-hero span,
.v136-share-card > div:first-child > span,
.v136-dashboard-referral > div:first-child > span {
    color: #f1614e;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.v136-referral-hero h1 { margin: 8px 0; color: #13283e; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.v136-referral-hero p { max-width: 720px; margin: 0; color: #64788c; line-height: 1.65; }
.v136-share-card { margin-top: 22px; padding: 28px 32px; }
.v136-share-card h2 { margin: 7px 0 5px; color: #172b40; font-size: 25px; }
.v136-share-card p { margin: 0; color: #718397; }
.v136-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 20px; }
.v136-copy-row input { min-width: 0; height: 54px; padding: 0 18px; border: 1px solid #d7e1e8; border-radius: 13px; color: #1b344c; background: #f7fafc; font-weight: 700; }
.v136-copy-row .primary-button { min-width: 140px; }
.v136-share-card > small { display: block; margin-top: 13px; color: #687d90; line-height: 1.55; }
.v136-user-kpis,
.v136-admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.v136-user-kpis article,
.v136-admin-kpis article { padding: 20px; border: 1px solid #dde6ec; border-radius: 17px; background: #fff; }
.v136-user-kpis span,
.v136-admin-kpis span { display: block; color: #6f8295; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.v136-user-kpis strong,
.v136-admin-kpis strong { display: block; margin-top: 13px; color: #13283e; font-size: 28px; }
.v136-user-table-card { overflow: hidden; margin-top: 22px; border: 1px solid #dde6ec; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(17,37,61,.05); }
.v136-user-table-card > header { padding: 23px 26px; border-bottom: 1px solid #e6edf1; }
.v136-user-table-card h2 { margin: 0; color: #172b40; }
.v136-user-table-card p { margin: 5px 0 0; color: #718397; }
.v136-table-wrap { overflow-x: auto; }
.v136-table { width: 100%; border-collapse: collapse; }
.v136-table th { padding: 12px 16px; color: #657b90; background: #f6f9fb; font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.v136-table td { padding: 15px 16px; border-top: 1px solid #edf1f4; color: #294158; font-size: 13px; vertical-align: middle; }
.v136-table td small { display: block; margin-top: 4px; color: #8293a3; }
.v136-user-table-card > footer { display: flex; padding: 16px 25px; align-items: center; justify-content: flex-end; gap: 12px; border-top: 1px solid #edf1f4; color: #7a8d9e; }
.v136-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #53697d; background: #edf2f5; font-size: 10px; font-weight: 850; white-space: nowrap; }
.v136-status.is-rewarded { color: #087353; background: #e9f8f2; }
.v136-status.is-qualified { color: #315f8c; background: #eaf3fb; }
.v136-status.is-review { color: #8b5a00; background: #fff4d8; }
.v136-status.is-blocked { color: #9c3d36; background: #ffebe8; }
.v136-dashboard-referral { display: grid; grid-template-columns: minmax(0, 1.5fr) auto auto auto; margin: 18px 0; padding: 22px 25px; align-items: center; gap: 24px; }
.v136-dashboard-referral h2 { margin: 4px 0; color: #172b40; }
.v136-dashboard-referral p { margin: 0; color: #718397; }
.v136-dashboard-referral-stats { min-width: 100px; padding-left: 20px; border-left: 1px solid #e2e9ee; }
.v136-dashboard-referral-stats strong,
.v136-dashboard-referral-stats span { display: block; }
.v136-dashboard-referral-stats strong { color: #172b40; font-size: 22px; }
.v136-dashboard-referral-stats span { margin-top: 3px; color: #788b9c; font-size: 11px; }
.v136-admin-page { display: grid; gap: 18px; }
.v136-admin-header { align-items: center; }
.v136-admin-actions,
.v136-review-actions { display: flex; gap: 9px; }
.v136-period-switch { display: flex; width: fit-content; padding: 4px; gap: 3px; border: 1px solid #dce5eb; border-radius: 12px; background: #fff; }
.v136-period-switch a { padding: 8px 12px; border-radius: 9px; color: #687d90; font-size: 11px; font-weight: 800; text-decoration: none; }
.v136-period-switch a.active { color: #fff; background: #263d54; }
.v136-admin-kpis { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 0; }
.v136-admin-kpis article { min-width: 0; padding: 17px; }
.v136-admin-kpis strong { font-size: 23px; }
.v136-admin-table-card { overflow: hidden; }
.v136-review-actions button { min-height: 34px; padding: 6px 10px; font-size: 10px; }
.v136-admin-page .danger-button { border: 1px solid #efc2bd; border-radius: 9px; color: #a43e34; background: #fff2f0; font-weight: 800; }

@media (max-width: 1180px) {
    .v136-admin-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .v136-dashboard-referral { grid-template-columns: minmax(0, 1fr) auto auto; }
    .v136-dashboard-referral .primary-button { grid-column: 1 / -1; width: fit-content; }
}
@media (max-width: 760px) {
    .v136-referral-page { width: min(100% - 24px, 1180px); margin-top: 20px; }
    .v136-referral-hero { padding: 24px 21px; align-items: flex-start; flex-direction: column; }
    .v136-referral-hero .primary-button { width: 100%; }
    .v136-share-card { padding: 23px 20px; }
    .v136-copy-row { grid-template-columns: 1fr; }
    .v136-copy-row .primary-button { width: 100%; }
    .v136-user-kpis,
    .v136-admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v136-dashboard-referral { grid-template-columns: 1fr 1fr; gap: 18px; }
    .v136-dashboard-referral > div:first-child { grid-column: 1 / -1; }
    .v136-dashboard-referral-stats { padding: 0; border-left: 0; }
    .v136-admin-header { align-items: flex-start; flex-direction: column; }
    .v136-admin-actions { width: 100%; flex-direction: column; }
    .v136-admin-actions form,
    .v136-admin-actions button { width: 100%; }
}
@media (max-width: 430px) {
    .v136-user-kpis,
    .v136-admin-kpis { grid-template-columns: 1fr; }
    .v136-user-table-card > footer { align-items: flex-start; flex-direction: column; }
}

/* V13.5 — localized user onboarding and first-listing activation */
.v135-onboarding {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid #dae6e5;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 39, 62, .08);
}
.v135-onboarding-summary {
    display: flex;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(145deg, #112a43 0%, #173d50 100%);
    color: #fff;
}
.v135-onboarding-summary .eyebrow { color: #ff7361; }
.v135-onboarding-summary h2 { margin: 8px 0 9px; color: #fff; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.v135-onboarding-summary p { max-width: 520px; margin: 0 0 20px; color: #c8d7e1; line-height: 1.55; }
.v135-onboarding-summary > strong { margin-top: 8px; color: #d9e7ed; font-size: 12px; }
.v135-onboarding-summary .primary-button { margin-top: auto; padding: 13px 17px; }
.v135-progress { width: 100%; height: 9px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.14); }
.v135-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1614e, #ff9a69); box-shadow: 0 0 16px rgba(241,97,78,.5); }
.v135-onboarding-steps { display: grid; margin: 0; padding: 18px; list-style: none; gap: 7px; }
.v135-onboarding-steps li { display: grid; min-width: 0; padding: 12px 13px; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 1px solid transparent; border-radius: 14px; }
.v135-onboarding-steps li.is-next { border-color: #ffd2ca; background: #fff7f4; }
.v135-onboarding-steps li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #edf2f5; color: #486078; font-weight: 800; }
.v135-onboarding-steps li.is-complete > span { background: #e4f6ef; color: #14835f; }
.v135-onboarding-steps li div { min-width: 0; }
.v135-onboarding-steps strong, .v135-onboarding-steps small { display: block; }
.v135-onboarding-steps strong { color: #152941; font-size: 14px; }
.v135-onboarding-steps small { margin-top: 3px; color: #75889a; line-height: 1.35; }
.v135-onboarding-steps a { color: #e95442; font-size: 12px; font-weight: 800; white-space: nowrap; }

.v135-admin-page { display: grid; gap: 20px; }
.v135-page-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.v135-page-header > div:first-child p { margin: 0 0 8px; color: #f1614e; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.v135-page-header h1 { margin: 0; }
.v135-page-header span { display: block; margin-top: 7px; color: #75889a; }
.v135-header-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.v135-period-switch { display: inline-flex; width: fit-content; padding: 4px; border: 1px solid #dfe7ed; border-radius: 12px; background: #fff; gap: 3px; }
.v135-period-switch a { padding: 8px 13px; border-radius: 9px; color: #667b8f; font-size: 12px; font-weight: 800; }
.v135-period-switch a.active { background: #172b43; color: #fff; }
.v135-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.v135-kpi-grid article { min-width: 0; padding: 19px; border: 1px solid #dfe7ed; border-radius: 17px; background: #fff; box-shadow: 0 10px 25px rgba(16,39,62,.045); }
.v135-kpi-grid span { display: block; overflow: hidden; color: #687d91; font-size: 10px; font-weight: 850; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.v135-kpi-grid strong { display: block; margin: 12px 0 10px; color: #142941; font-size: 30px; }
.v135-kpi-grid small { display: block; margin-top: 7px; color: #74879a; text-align: right; }
.v135-funnel-track, .v135-table-progress { height: 6px; overflow: hidden; border-radius: 99px; background: #e8eef2; }
.v135-funnel-track i, .v135-table-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1614e, #ff9a69); }
.v135-table-panel { overflow: hidden; }
.v135-table td strong, .v135-table td small { display: block; }
.v135-table td small { margin-top: 3px; color: #7b8b9b; }
.v135-table td:nth-child(4) { min-width: 145px; }
.v135-table td:nth-child(4) b { display: block; margin-top: 5px; color: #62778b; font-size: 11px; }
.v135-locale, .v135-stage { display: inline-flex; padding: 6px 9px; border-radius: 9px; background: #edf3f5; color: #2c455d; font-size: 10px; font-weight: 850; }
.v135-locale { background: #fff0ec; color: #db4e3c; }

@media (max-width: 1180px) {
    .v135-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .v135-onboarding { grid-template-columns: 1fr; border-radius: 19px; }
    .v135-onboarding-summary { padding: 24px; }
    .v135-onboarding-summary .primary-button { margin-top: 20px; }
    .v135-page-header { align-items: flex-start; flex-direction: column; }
    .v135-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .v135-onboarding-summary { padding: 21px; }
    .v135-onboarding-steps { padding: 12px; }
    .v135-onboarding-steps li { grid-template-columns: 34px minmax(0, 1fr); padding: 10px; }
    .v135-onboarding-steps li > a { grid-column: 2; }
    .v135-kpi-grid { grid-template-columns: 1fr; }
    .v135-header-actions, .v135-header-actions form, .v135-header-actions button { width: 100%; }
}

/* V13.3 — real-user pilot operations and public filter stabilization */
.v133-admin-page { display: grid; min-width: 0; gap: 18px; }
.v133-page-header { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 20px; }
.v133-page-header > div:first-child { min-width: 0; }
.v133-page-header p { margin: 0 0 6px; color: #f1614e; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.v133-page-header h1 { margin: 0; overflow-wrap: anywhere; }
.v133-page-header span { display: block; max-width: 760px; margin-top: 7px; color: #718397; line-height: 1.55; }
.v133-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.v133-header-actions form { margin: 0; }
.v133-period-switch { display: flex; width: max-content; max-width: 100%; padding: 4px; overflow-x: auto; border: 1px solid #dfe6ec; border-radius: 12px; background: #fff; }
.v133-period-switch a { min-width: 82px; padding: 8px 12px; color: #63788a; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 800; white-space: nowrap; }
.v133-period-switch a.active { color: #fff; background: #21384f; }
.v133-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.v133-kpi-grid article { position: relative; min-width: 0; padding: 18px; overflow: hidden; border: 1px solid #dfe6ec; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(17,37,61,.04); }
.v133-kpi-grid article::before { position: absolute; inset: 0 0 auto; height: 3px; background: #a9bbc8; content: ''; }
.v133-kpi-grid article.is-success::before { background: #259374; }
.v133-kpi-grid article.is-warning::before { background: #e7a93b; }
.v133-kpi-grid article.is-danger::before { background: #db5b5b; }
.v133-kpi-grid span,
.v133-kpi-grid strong,
.v133-kpi-grid small { display: block; overflow: hidden; text-overflow: ellipsis; }
.v133-kpi-grid span { min-height: 28px; color: #6d8193; font-size: 9px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.v133-kpi-grid strong { margin: 9px 0 5px; color: #142a40; font-size: 27px; line-height: 1; white-space: nowrap; }
.v133-kpi-grid small { color: #8494a1; font-size: 9px; white-space: nowrap; }
.v133-funnel-panel,
.v133-table-panel { min-width: 0; overflow: hidden; }
.v133-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.v133-funnel article { min-width: 0; padding: 14px; border: 1px solid #e3e9ed; border-radius: 13px; background: #fbfcfd; }
.v133-funnel article > div:first-child { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.v133-funnel span { overflow: hidden; color: #5e7487; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.v133-funnel strong { color: #173149; font-size: 20px; }
.v133-funnel-track { height: 6px; margin: 13px 0 8px; overflow: hidden; border-radius: 999px; background: #e5ebef; }
.v133-funnel-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1614e, #f59472); }
.v133-funnel small { color: #8092a0; font-size: 9px; font-weight: 750; }
.v133-operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: 18px; }
.v133-operations-grid > .admin-panel { min-width: 0; }
.v133-health-list { display: grid; margin: 0; gap: 0; }
.v133-health-list > div { display: flex; min-width: 0; min-height: 43px; padding: 8px 0; align-items: center; justify-content: space-between; border-top: 1px solid #e8edf0; gap: 14px; }
.v133-health-list dt { min-width: 0; color: #5f7486; font-size: 11px; font-weight: 750; }
.v133-health-list dd { flex: 0 0 auto; margin: 0; padding: 5px 9px; border-radius: 999px; color: #536779; background: #edf2f4; font-size: 9px; font-weight: 850; }
.v133-health-list dd.is-good { color: #087459; background: #e8f7f1; }
.v133-health-list dd.is-warning { color: #8b6304; background: #fff3d8; }
.v133-health-list dd.is-danger { color: #9b3333; background: #feeaea; }
.v133-alert-list { display: grid; gap: 8px; }
.v133-alert-list article { display: flex; min-width: 0; padding: 11px 12px; align-items: center; gap: 10px; border: 1px solid #e2e8ec; border-radius: 11px; background: #fbfcfd; }
.v133-alert-list article > span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #e2aa40; }
.v133-alert-list article.is-error > span { background: #dd5656; }
.v133-alert-list article > div { min-width: 0; }
.v133-alert-list strong,
.v133-alert-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v133-alert-list strong { color: #263d52; font-size: 10px; }
.v133-alert-list small { margin-top: 3px; color: #8494a1; font-size: 9px; }
.v133-all-clear { display: grid; min-height: 170px; place-items: center; align-content: center; color: #16755e; gap: 8px; text-align: center; }
.v133-all-clear b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e8f7f1; font-size: 20px; }
.v133-all-clear span { font-size: 11px; font-weight: 800; }
.v133-table { width: 100%; min-width: 760px; }
.v133-table td strong,
.v133-table td small { display: block; }
.v133-table td small { margin-top: 3px; color: #8192a0; }
.v133-stage,
.v133-locale { display: inline-flex; min-height: 24px; padding: 5px 8px; align-items: center; border-radius: 999px; color: #4c6376; background: #edf2f4; font-size: 8px; font-weight: 900; white-space: nowrap; }
.v133-stage.is-verified,
.v133-stage.is-published,
.v133-stage.is-ready,
.v133-stage.is-rewarded { color: #087459; background: #e7f7f1; }
.v133-stage.is-warning { color: #8b6304; background: #fff3d8; }
.v133-stage.is-attention { color: #9b3333; background: #feeaea; }
.v133-snapshot-list { display: grid; gap: 4px; }
.v133-snapshot-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-width: 0; padding: 10px 0; align-items: center; border-top: 1px solid #e8edf0; gap: 10px; }
.v133-snapshot-list article > div { min-width: 0; }
.v133-snapshot-list strong,
.v133-snapshot-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v133-snapshot-list strong { color: #263d52; font-size: 10px; }
.v133-snapshot-list small { margin-top: 3px; color: #8192a0; font-size: 8px; }
.v133-snapshot-list b { color: #536779; font-size: 10px; }
.v133-locale-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.v133-locale-grid article { min-width: 0; padding: 18px 12px; border: 1px solid #e3e9ed; border-radius: 13px; background: #fbfcfd; text-align: center; }
.v133-locale-grid span,
.v133-locale-grid strong { display: block; }
.v133-locale-grid span { color: #76899a; font-size: 9px; font-weight: 900; }
.v133-locale-grid strong { margin-top: 8px; color: #173149; font-size: 22px; }

/* Keep every admin table and action group inside the content canvas. */
.admin-v60 .admin-content,
.admin-v60 .admin-panel,
.admin-v60 .admin-table-wrap { min-width: 0; max-width: 100%; }
.admin-v60 .admin-table-wrap { overflow-x: auto; overscroll-behavior-inline: contain; }

@media (max-width: 1180px) {
    .v133-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v133-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .v133-page-header { align-items: stretch; flex-direction: column; }
    .v133-header-actions { width: 100%; }
    .v133-header-actions form { flex: 1 1 0; }
    .v133-header-actions button { width: 100%; }
    .v133-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v133-funnel { grid-template-columns: 1fr; }
    .v133-operations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .v133-header-actions { align-items: stretch; flex-direction: column; }
    .v133-kpi-grid { grid-template-columns: 1fr; }
    .v133-kpi-grid article { padding: 16px; }
    .v133-locale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* V4.1 Privacy & Data Retention Center */
.privacy-admin-heading { align-items: flex-start; gap: 24px; }
.privacy-admin-heading span { display: block; max-width: 780px; margin-top: 6px; color: var(--muted); }
.privacy-admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.privacy-admin-actions form { margin: 0; }
.privacy-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.privacy-summary-grid article { min-height: 102px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.privacy-summary-grid span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.privacy-summary-grid strong { display: block; color: var(--ink); font-size: 23px; }
.privacy-admin-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 18px; margin-bottom: 18px; }
.privacy-settings-form, .privacy-review-form { display: grid; gap: 12px; }
.privacy-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.privacy-settings-grid label, .privacy-review-form { font-size: 12px; color: var(--muted); }
.privacy-settings-grid input, .privacy-review-form select, .privacy-review-form textarea, .privacy-filter-form select { width: 100%; margin-top: 6px; }
.privacy-toggle, .privacy-confirm { display: flex; align-items: flex-start; gap: 9px; }
.privacy-toggle input, .privacy-confirm input { width: auto; margin-top: 3px; }
.privacy-run-list { display: grid; gap: 10px; }
.privacy-run-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.privacy-run-list strong, .privacy-run-list small { display: block; }
.privacy-run-list small { margin-top: 4px; color: var(--muted); }
.privacy-run-list span { color: var(--muted); font-size: 12px; text-align: right; }
.privacy-request-heading { align-items: flex-end; }
.privacy-filter-form { display: flex; gap: 8px; align-items: end; }
.privacy-request-table td:first-child { min-width: 175px; }
.privacy-request-table td:nth-child(2) { min-width: 200px; }
.privacy-request-table td:nth-child(3) { min-width: 240px; max-width: 360px; }
.privacy-request-table td:last-child { min-width: 240px; }
.privacy-request-table strong, .privacy-request-table small { display: block; }
.privacy-request-table small { margin-top: 4px; color: var(--muted); }
.privacy-request-table p { margin: 0 0 8px; white-space: pre-wrap; }
.privacy-user-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.privacy-user-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.privacy-user-summary dl div { padding: 13px; border-radius: 12px; background: #f6f8f8; }
.privacy-user-summary dt { color: var(--muted); font-size: 12px; }
.privacy-user-summary dd { margin: 6px 0 0; font-weight: 750; }
.privacy-danger-panel { border-color: #f0c9c7; }
.privacy-user-history { display: grid; gap: 10px; }
.privacy-user-history article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.privacy-user-history strong, .privacy-user-history small { display: block; }
.privacy-user-history small { margin-top: 4px; color: var(--muted); }
.privacy-user-history p { margin: 8px 0 0; color: var(--muted); }
.privacy-user-history-actions { display: flex; align-items: center; gap: 8px; }
.privacy-user-history-actions form { margin: 0; }
@media (max-width: 1100px) {
    .privacy-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .privacy-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .privacy-admin-heading, .privacy-request-heading, .privacy-user-history article { display: block; }
    .privacy-admin-actions, .privacy-filter-form { margin-top: 14px; justify-content: flex-start; }
    .privacy-summary-grid, .privacy-user-grid, .privacy-user-summary dl, .privacy-settings-grid { grid-template-columns: 1fr; }
    .privacy-user-history-actions { margin-top: 12px; }
}

/* V4.2 Notification Preferences & Digest Center */
.notification-settings-page{max-width:1120px;margin:0 auto;padding:42px 24px 72px}.notification-settings-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.notification-settings-hero p,.notification-admin-heading p{margin:0 0 6px;color:#7467f0;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.notification-settings-hero h1{margin:0 0 8px;font-size:clamp(2rem,4vw,3rem)}.notification-settings-hero span{color:#667085}.notification-mandatory-note{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border:1px solid #cfd8ff;background:#f5f7ff;border-radius:16px;margin-bottom:22px;color:#344054}.notification-preference-form{display:grid;gap:20px}.notification-settings-card{background:#fff;border:1px solid #e6e8ef;border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(17,24,39,.05)}.notification-card-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.notification-card-heading h2{margin:0 0 6px;font-size:1.22rem}.notification-card-heading p{margin:0;color:#667085}.notification-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.notification-toggle-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e4e7ec;border-radius:16px;background:#fafafa;cursor:pointer}.notification-toggle-card input{width:20px;height:20px}.notification-toggle-card span{display:grid;gap:4px}.notification-toggle-card small{font-size:.72rem;color:#667085;font-weight:800}.notification-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.notification-field-grid label{display:grid;gap:7px;font-weight:700;color:#344054}.notification-field-grid input,.notification-field-grid select{width:100%;border:1px solid #d0d5dd;border-radius:12px;padding:11px 12px;background:#fff}.notification-quiet-heading{align-items:center}.compact-switch{display:flex;gap:9px;align-items:center;font-weight:700;white-space:nowrap}.compact-switch input{width:19px;height:19px}.notification-quiet-grid{grid-template-columns:repeat(2,minmax(0,220px))}.notification-category-table-wrap{overflow:auto}.notification-category-table{width:100%;border-collapse:collapse}.notification-category-table th,.notification-category-table td{padding:15px 14px;border-bottom:1px solid #eaecf0;text-align:left}.notification-category-table th:nth-child(n+2),.notification-category-table td:nth-child(n+2){width:120px;text-align:center}.notification-category-table td:first-child{display:grid;gap:4px}.notification-category-table td small{color:#667085}.notification-checkbox{display:inline-grid;place-items:center;cursor:pointer}.notification-checkbox input{width:20px;height:20px}.notification-form-actions{display:flex;justify-content:flex-end}.notification-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}.notification-summary-grid article{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:16px;display:grid;gap:8px}.notification-summary-grid span{font-size:.78rem;color:#667085;font-weight:700}.notification-summary-grid strong{font-size:1.55rem}.notification-admin-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:20px}.notification-admin-settings-form{display:grid;gap:18px}.notification-run-list{display:grid;gap:10px}.notification-run-list article{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:14px;border:1px solid #eaecf0;border-radius:14px}.notification-run-list article div{display:grid;gap:4px}.notification-run-list small,.notification-run-list span{color:#667085;font-size:.8rem}.notification-migration-warning code,.warning-box code{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:7px;background:rgba(0,0,0,.07)}
@media(max-width:1050px){.notification-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.notification-admin-grid{grid-template-columns:1fr}}
@media(max-width:720px){.notification-settings-page{padding:28px 16px 56px}.notification-settings-hero,.notification-card-heading,.notification-quiet-heading{display:grid}.notification-channel-grid,.notification-field-grid,.notification-quiet-grid{grid-template-columns:1fr}.notification-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-settings-card{padding:18px}.notification-category-table th:nth-child(n+2),.notification-category-table td:nth-child(n+2){width:82px}.notification-run-list article{display:grid}}
.notification-header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.notification-header-actions form{margin:0}

/* V4.3 Stable Admin Navigation */
.admin-body { overflow-x: hidden; }
.admin-shell { grid-template-columns: 276px minmax(0, 1fr); }
.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    overflow: hidden;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    isolation: isolate;
}
.admin-sidebar-header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.015);
}
.admin-sidebar-header > div { min-width: 0; }
.admin-sidebar-header small {
    display: block;
    margin-top: 7px;
    color: #7f93a8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}
.admin-menu-toggle {
    display: none;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}
.admin-menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: #fff;
    transition: transform .18s ease, opacity .18s ease;
}
.admin-sidebar.is-open .admin-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.admin-sidebar.is-open .admin-menu-toggle span:nth-child(2) { opacity: 0; }
.admin-sidebar.is-open .admin-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.admin-sidebar nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 14px 12px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.23) transparent;
}
.admin-sidebar nav::-webkit-scrollbar { width: 6px; }
.admin-sidebar nav::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.22); }
.admin-nav-group { display: grid; gap: 4px; }
.admin-nav-group + .admin-nav-group { margin-top: 19px; }
.admin-nav-heading {
    display: block;
    padding: 0 11px 5px;
    color: #6f8498;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}
.admin-sidebar nav a,
.admin-exit {
    display: block;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 9px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-sidebar nav a.active { box-shadow: inset 3px 0 var(--accent), 0 5px 14px rgba(0,0,0,.08); }
.admin-sidebar-footer {
    flex: 0 0 auto;
    padding: 13px 14px 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(5,18,34,.26);
}
.admin-sidebar-footer .admin-language-switch { margin: 0; padding: 10px 11px; }
.admin-sidebar-footer .admin-exit { margin-top: 8px; }
.admin-main { min-width: 0; }

/* V4.3 Media & Storage Center */
.media-center-heading { align-items: flex-start; gap: 24px; }
.media-center-heading span { display: block; max-width: 780px; margin-top: 6px; color: var(--muted); }
.media-center-heading small { display: block; margin-top: 8px; color: #87929a; }
.media-center-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.media-center-actions form { margin: 0; }
.media-center-actions button:disabled { opacity: .55; cursor: not-allowed; }
.media-summary-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.media-summary-grid article { min-height: 98px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.media-summary-grid span { display: block; min-height: 34px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.media-summary-grid strong { display: block; margin-top: 8px; color: var(--ink); font-size: 23px; line-height: 1; }
.media-summary-grid article.is-good { border-color: #bee4cf; background: #f5fcf8; }
.media-summary-grid article.is-warning { border-color: #f0d9a3; background: #fffaf0; }
.media-summary-grid article.is-danger { border-color: #edc0c2; background: #fff7f7; }
.media-center-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; margin-bottom: 18px; }
.media-runtime-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; }
.media-runtime-list div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf0f1; }
.media-runtime-list dt { color: var(--muted); font-size: 12px; }
.media-runtime-list dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 800; text-align: right; }
.media-runtime-list dd.is-ready { color: var(--success); }
.media-runtime-list dd.is-primary { color: var(--success); font-size: 13px; }
.media-runtime-list dd.is-muted { color: var(--danger); }
.media-runtime-warning,
.media-runtime-ready { margin-top: 14px; padding: 11px 13px; border-radius: 11px; font-size: 12px; font-weight: 700; }
.media-runtime-warning { background: #fff3ce; color: #785500; }
.media-runtime-ready { background: #e9f8ef; color: #17673a; border: 1px solid #bee7cc; }
.media-engine-test { display: grid; gap: 4px; margin-top: 10px; padding: 12px 13px; border-radius: 11px; font-size: 12px; }
.media-engine-test strong { font-size: 13px; }
.media-engine-test span { color: inherit; }
.media-engine-test small { overflow-wrap: anywhere; opacity: .85; }
.media-engine-test.is-success { background: #e9f8ef; color: #17673a; border: 1px solid #bee7cc; }
.media-engine-test.is-failed { background: #fff0ee; color: #963c31; border: 1px solid #f1c6c0; }
.media-run-list { display: grid; gap: 8px; }
.media-run-list article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.media-run-list strong, .media-run-list small { display: block; }
.media-run-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.media-run-list span { color: var(--muted); font-size: 10px; font-weight: 750; text-align: right; white-space: nowrap; }
.media-issues-panel { overflow: hidden; }
.media-issues-heading { align-items: flex-end; }
.media-issues-heading > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.media-table-wrap { max-width: 100%; }
.media-issue-table { min-width: 1080px; }
.media-issue-table th:first-child, .media-issue-table td:first-child { width: 76px; min-width: 76px; max-width: 76px; }
.media-issue-table td:nth-child(2) { min-width: 245px; }
.media-issue-table td:nth-child(3) { min-width: 220px; }
.media-issue-table td:nth-child(4) { min-width: 230px; }
.media-preview-cell img, .media-preview-cell > span { width: 54px; height: 42px; border-radius: 9px; }
.media-preview-cell img { object-fit: cover; background: #edf1f3; }
.media-preview-cell > span { display: grid; place-items: center; background: #ffe9e8; color: #b42e34; font-size: 22px; font-weight: 900; }
.media-issue-table td strong, .media-issue-table td small, .media-issue-table td a { display: block; }
.media-issue-table td a { width: fit-content; margin-top: 5px; color: #365f9b; font-size: 11px; font-weight: 800; }
.media-issue-table td code { display: block; max-width: 235px; overflow: hidden; color: #53636b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.media-issue-table td small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.media-issue-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.media-issue-badge { padding: 4px 7px; border-radius: 999px; background: #fff3ce; color: #755400; font-size: 9px; font-weight: 850; }
.media-issue-missing_file, .media-issue-read_error, .media-issue-repair_failed { background: #ffe4e3; color: #a3262c; }
.media-issue-not_webp { background: #e8f2ff; color: #205d97; }
.media-error-text { color: #a3262c !important; overflow-wrap: anywhere; }
.media-not-repairable { color: var(--muted); font-size: 11px; }
.media-empty-good { color: var(--success); }
.media-migration-warning code { display: inline-block; margin-top: 8px; padding: 6px 9px; border-radius: 7px; background: rgba(255,255,255,.7); }

@media (max-width: 1360px) {
    .media-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
    .admin-shell { grid-template-columns: 250px minmax(0, 1fr); }
    .media-center-grid { grid-template-columns: 1fr; }
    .media-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .admin-shell { display: block; }
    .admin-sidebar {
        position: sticky;
        z-index: 80;
        top: 0;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        box-shadow: 0 8px 22px rgba(4,18,33,.16);
    }
    .admin-sidebar-header { align-items: center; padding: 14px 16px; }
    .admin-sidebar-header small { display: block; }
    .admin-menu-toggle { display: block; }
    .admin-sidebar nav {
        display: none;
        max-height: calc(100dvh - 144px);
        padding: 12px 10px 18px;
        overflow-y: auto;
    }
    .admin-sidebar.is-open nav { display: block; }
    .admin-nav-group + .admin-nav-group { margin-top: 15px; }
    .admin-nav-heading { display: block; }
    .admin-sidebar nav a { padding: 10px 11px; white-space: normal; }
    .admin-sidebar-footer { display: none; padding: 10px 12px 13px; }
    .admin-sidebar.is-open .admin-sidebar-footer { display: grid; }
    .admin-sidebar-footer .admin-exit { display: block; }
    .admin-main { padding: 24px 16px 50px; }
    .media-center-heading { display: block; }
    .media-center-actions { justify-content: flex-start; margin-top: 15px; }
    .media-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-runtime-list { grid-template-columns: 1fr; }
    .media-run-list article { display: block; }
    .media-run-list span { display: block; margin-top: 8px; text-align: left; white-space: normal; }
}
@media (max-width: 480px) {
    .media-summary-grid { grid-template-columns: 1fr; }
    .media-center-actions { display: grid; }
    .media-center-actions form, .media-center-actions button, .media-center-actions a { width: 100%; }
}

/* V4.5 Listing Quality Center */
.listing-quality-heading { align-items: flex-start; gap: 24px; }
.listing-quality-heading span { display: block; max-width: 780px; margin-top: 6px; color: var(--muted); }
.listing-quality-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.listing-quality-actions form { margin: 0; }
.listing-quality-summary-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.listing-quality-summary-grid article { min-height: 98px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.listing-quality-summary-grid span { display: block; min-height: 32px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.listing-quality-summary-grid strong { display: block; margin-top: 8px; color: var(--ink); font-size: 23px; line-height: 1; }
.listing-quality-summary-grid .quality-excellent { border-color: #bfe2ca; background: #f3fbf6; }
.listing-quality-summary-grid .quality-good { border-color: #c7dcec; background: #f5faff; }
.listing-quality-summary-grid .quality-needs-improvement { border-color: #eed79e; background: #fffaf0; }
.listing-quality-summary-grid .quality-poor { border-color: #edc0c2; background: #fff6f6; }
.listing-quality-filter-panel { margin-bottom: 18px; }
.listing-quality-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, .75fr)) auto; gap: 12px; align-items: end; }
.listing-quality-filters label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 750; }
.listing-quality-filters input, .listing-quality-filters select { width: 100%; min-height: 42px; }
.listing-quality-filter-actions { display: flex; gap: 8px; align-items: center; }
.listing-quality-queue-panel { overflow: hidden; margin-bottom: 18px; }
.listing-quality-table { min-width: 1260px; }
.listing-quality-table td:nth-child(1) { min-width: 270px; }
.listing-quality-table td:nth-child(4) { min-width: 265px; }
.listing-quality-table td:nth-child(5) { min-width: 190px; }
.listing-quality-table td strong, .listing-quality-table td small, .listing-quality-table td a { display: block; }
.listing-quality-table td small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.listing-quality-table td a { width: fit-content; margin-top: 5px; color: #365f9b; font-size: 11px; font-weight: 800; }
.listing-quality-score { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.listing-quality-score strong { font-size: 22px; line-height: 1; }
.listing-quality-score span { font-size: 10px; font-weight: 900; }
.quality-score-excellent { color: #17673a; border-color: #bfe2ca; background: #f1faf5; }
.quality-score-good { color: #235f8f; border-color: #c7dcec; background: #f3f9fd; }
.quality-score-needs_improvement { color: #7c5a00; border-color: #eed79e; background: #fff9e9; }
.quality-score-poor { color: #a3262c; border-color: #edc0c2; background: #fff3f3; }
.listing-quality-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; }
.quality-status-excellent { color: #17673a; background: #e7f7ed; }
.quality-status-good { color: #235f8f; background: #e9f3fb; }
.quality-status-needs_improvement { color: #7c5a00; background: #fff2c9; }
.quality-status-poor { color: #a3262c; background: #ffe5e4; }
.listing-quality-issue-list { display: flex; flex-wrap: wrap; gap: 5px; }
.listing-quality-issue-list > span { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 5px 7px; border-radius: 9px; background: #fff2d1; color: #725200; font-size: 9px; font-weight: 800; }
.listing-quality-issue-list > span b { color: #a3262c; }
.listing-quality-issue-list > span small { width: 100%; margin: 0; color: inherit; opacity: .78; }
.listing-quality-no-issues { color: var(--success); font-size: 11px; font-weight: 800; }
.listing-quality-metrics-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.listing-quality-metrics-list span { padding: 5px 7px; border-radius: 8px; background: #f2f5f6; color: var(--muted); font-size: 9px; }
.listing-quality-metrics-list b { color: var(--ink); }
.listing-quality-runs-panel { margin-bottom: 18px; }
.listing-quality-run-list { display: grid; gap: 8px; }
.listing-quality-run-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.listing-quality-run-list strong, .listing-quality-run-list small { display: block; }
.listing-quality-run-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.listing-quality-run-list article > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.listing-quality-run-list article > div:last-child span { padding: 4px 7px; border-radius: 999px; background: #f1f4f5; color: var(--muted); font-size: 9px; font-weight: 800; }
.listing-quality-warning code { display: inline-block; margin-top: 8px; padding: 6px 9px; border-radius: 7px; background: rgba(255,255,255,.7); }

@media (max-width: 1360px) {
    .listing-quality-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .listing-quality-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-quality-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .listing-quality-heading { display: block; }
    .listing-quality-actions { justify-content: flex-start; margin-top: 15px; }
    .listing-quality-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-quality-filters { grid-template-columns: 1fr; }
    .listing-quality-filter-actions { grid-column: auto; }
    .listing-quality-run-list article { display: block; }
    .listing-quality-run-list article > div:last-child { justify-content: flex-start; margin-top: 9px; }
}
@media (max-width: 480px) {
    .listing-quality-summary-grid { grid-template-columns: 1fr; }
    .listing-quality-actions, .listing-quality-filter-actions { display: grid; }
    .listing-quality-actions form, .listing-quality-actions button, .listing-quality-actions a,
    .listing-quality-filter-actions button, .listing-quality-filter-actions a { width: 100%; }
}

/* V4.6 Seller Performance Center */
.seller-performance-heading,
.seller-performance-actions,
.seller-performance-filter-actions,
.seller-performance-run-list article,
.seller-performance-run-list article > div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.seller-performance-heading { justify-content: space-between; }
.seller-performance-actions { flex-wrap: wrap; }
.seller-performance-summary-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.seller-performance-summary-card {
    background: #fff;
    border: 1px solid var(--admin-border, #e4e7ec);
    border-radius: 14px;
    padding: 16px;
    min-width: 0;
}
.seller-performance-summary-card span { display: block; font-size: 12px; color: #667085; }
.seller-performance-summary-card strong { display: block; margin-top: 6px; font-size: 24px; }
.seller-performance-filters {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(150px, .8fr)) auto;
    gap: 12px;
    align-items: end;
}
.seller-performance-filters label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.seller-performance-table { min-width: 1180px; width: 100%; }
.seller-performance-table td { vertical-align: top; }
.seller-performance-table td:first-child strong,
.seller-performance-table td:first-child small,
.seller-performance-table td:first-child a { display: block; }
.seller-performance-score {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 70px;
    padding: 7px 10px;
    border-radius: 12px;
    background: #f2f4f7;
}
.seller-performance-score strong { font-size: 20px; }
.seller-performance-score span { font-weight: 800; }
.performance-score-strong, .performance-status-strong { background: #ecfdf3; color: #027a48; }
.performance-score-healthy, .performance-status-healthy { background: #eff8ff; color: #175cd3; }
.performance-score-needs_attention, .performance-status-needs_attention { background: #fffaeb; color: #b54708; }
.performance-score-critical, .performance-status-critical { background: #fef3f2; color: #b42318; }
.seller-performance-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.seller-performance-issue-list,
.seller-performance-metrics-list { display: grid; gap: 6px; }
.seller-performance-issue-list span,
.seller-performance-metrics-list span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}
.seller-performance-issue-list small { color: #667085; }
.seller-performance-no-issues { color: #027a48; font-weight: 700; }
.seller-performance-run-list { display: grid; gap: 10px; }
.seller-performance-run-list article {
    justify-content: space-between;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 12px 14px;
}
.seller-performance-run-list article > div { flex-wrap: wrap; }
.seller-performance-run-list small { display: block; color: #667085; }
@media (max-width: 1250px) {
    .seller-performance-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .seller-performance-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .seller-performance-heading { align-items: flex-start; flex-direction: column; }
    .seller-performance-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seller-performance-filters { grid-template-columns: 1fr; }
    .seller-performance-run-list article { align-items: flex-start; flex-direction: column; }
}

/* V5.0 Unified Admin Suite -------------------------------------------------- */
.admin-body {
    --admin-surface: #ffffff;
    --admin-surface-soft: #f7f9fc;
    --admin-border: #e4e8ef;
    --admin-text: #172033;
    --admin-muted: #697386;
    --admin-accent: #f45d48;
    --admin-sidebar: #111827;
    overflow-x: hidden;
    color: var(--admin-text);
    background: #f4f6f9;
}
.admin-shell { grid-template-columns: 292px minmax(0, 1fr) !important; min-height: 100vh; }
.admin-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0;
    z-index: 1000;
    width: 292px;
    height: 100dvh !important;
    padding: 18px 16px 16px !important;
    color: #e5e7eb;
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%) !important;
    box-shadow: 16px 0 45px rgba(15, 23, 42, .12);
}
.admin-sidebar-header { min-height: 56px; padding: 0 6px 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-header small { margin-top: 5px; color: #8290a6; font-size: 10px; letter-spacing: .1em; }
.admin-logo { font-size: 23px; letter-spacing: -.04em; }
.admin-nav-search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    margin: 14px 0 11px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    background: rgba(255,255,255,.06);
}
.admin-nav-search > span { color: #98a4b6; font-size: 18px; }
.admin-nav-search input { min-width: 0; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font-size: 12px; }
.admin-nav-search input::placeholder { color: #7d8a9e; }
.admin-nav-search kbd, .admin-commandbar-search kbd { padding: 2px 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #8390a2; background: rgba(255,255,255,.05); font: 10px/1.4 inherit; }
.admin-sidebar nav {
    display: block !important;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 !important;
    padding: 0 3px 12px 0 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.admin-nav-dropdown { margin: 4px 0; border: 1px solid transparent; border-radius: 12px; }
.admin-nav-dropdown[open] { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.035); }
.admin-nav-dropdown summary {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 8px 10px;
    border-radius: 11px;
    color: #b5c0d0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.admin-nav-dropdown summary::-webkit-details-marker { display: none; }
.admin-nav-dropdown summary:hover { color: #fff; background: rgba(255,255,255,.055); }
.admin-nav-dropdown summary b { overflow: hidden; font-size: 12px; font-weight: 800; letter-spacing: .015em; text-overflow: ellipsis; white-space: nowrap; }
.admin-nav-dropdown summary i { font-style: normal; text-align: center; transition: transform .18s ease; }
.admin-nav-dropdown[open] summary i { transform: rotate(180deg); }
.admin-nav-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #d7ddea; background: rgba(255,255,255,.07); font-size: 13px; }
.admin-nav-links { display: grid; gap: 2px; padding: 0 7px 8px 42px; }
.admin-sidebar .admin-nav-links a {
    position: relative;
    display: block;
    min-height: 34px;
    padding: 8px 9px !important;
    border-radius: 8px !important;
    color: #8f9db1 !important;
    font-size: 11px !important;
    font-weight: 720 !important;
    line-height: 1.5;
}
.admin-sidebar .admin-nav-links a::before { position: absolute; top: 50%; left: -10px; width: 4px; height: 4px; border-radius: 50%; background: #56647a; content: ''; transform: translateY(-50%); }
.admin-sidebar .admin-nav-links a:hover { color: #fff !important; background: rgba(255,255,255,.06) !important; }
.admin-sidebar .admin-nav-links a.active { color: #fff !important; background: linear-gradient(135deg, rgba(244,93,72,.25), rgba(244,93,72,.12)) !important; box-shadow: inset 2px 0 var(--admin-accent) !important; }
.admin-sidebar .admin-nav-links a.active::before { background: var(--admin-accent); box-shadow: 0 0 0 4px rgba(244,93,72,.12); }
.admin-nav-empty { margin: 16px 4px; padding: 17px 12px; border: 1px dashed rgba(255,255,255,.12); border-radius: 12px; color: #8491a5; font-size: 11px; text-align: center; }
.admin-sidebar-footer { flex: 0 0 auto; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-footer .admin-language-switch { padding: 8px 10px; border-radius: 10px; }
.admin-sidebar-footer .admin-exit { display: block; margin: 7px 0 0; padding: 9px 11px; }
.admin-main { grid-column: 2; min-width: 0; padding: 24px 34px 70px !important; }
.admin-commandbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(240px, 620px) auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -24px -34px 26px;
    padding: 13px 34px;
    border-bottom: 1px solid rgba(218,223,232,.9);
    background: rgba(244,246,249,.92);
    backdrop-filter: blur(18px);
}
.admin-commandbar-menu { display: none; width: 40px; height: 40px; border: 1px solid var(--admin-border); border-radius: 11px; background: #fff; cursor: pointer; }
.admin-commandbar-search { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: min(100%, 620px); padding: 9px 12px; border: 1px solid #dfe4eb; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.admin-commandbar-search > span { color: #8792a5; font-size: 18px; }
.admin-commandbar-search input { min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.admin-commandbar-search kbd { border-color: #e3e7ed; color: #8390a2; background: #f7f8fa; }
.admin-commandbar-user { display: flex; align-items: center; gap: 9px; min-width: 0; }
.admin-commandbar-user > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: #fff; background: #172033; font-size: 11px; font-weight: 900; }
.admin-commandbar-user strong, .admin-commandbar-user small { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-commandbar-user strong { font-size: 11px; }
.admin-commandbar-user small { margin-top: 2px; color: var(--admin-muted); font-size: 9px; }

/* Modern admin inputs, searches and selects */
.admin-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.admin-main select,
.admin-main textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dce2ea;
    border-radius: 11px;
    outline: none;
    color: #1f2937;
    background-color: #fff;
    font: inherit;
    font-size: 12px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.admin-main textarea { min-height: 82px; resize: vertical; }
.admin-main select {
    padding-right: 38px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #667085 50%), linear-gradient(135deg, #667085 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}
.admin-main input:focus, .admin-main select:focus, .admin-main textarea:focus { border-color: rgba(244,93,72,.75); box-shadow: 0 0 0 4px rgba(244,93,72,.1); }
.admin-main input[type="search"], .admin-main .admin-modern-search-input { padding-left: 38px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238692a6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-position: 12px center; background-repeat: no-repeat; }
.admin-modern-filter-form { border-radius: 14px; }
.admin-primary-button,
.v50-filter-actions button,
.v50-action-stack button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1c2739, #101827);
    box-shadow: 0 7px 16px rgba(15,23,42,.12);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}
.admin-outline-button { border-radius: 10px !important; }

.v50-page-header { align-items: flex-start; }
.v50-page-header > div:first-child { max-width: 790px; }
.v50-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.v50-header-actions form { margin: 0; }
.v50-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.v50-stat-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.v50-stat-grid article { min-width: 0; padding: 17px; border: 1px solid var(--admin-border); border-radius: 15px; background: #fff; box-shadow: 0 6px 22px rgba(15,23,42,.03); }
.v50-stat-grid span { display: block; min-height: 30px; color: var(--admin-muted); font-size: 10px; line-height: 1.4; }
.v50-stat-grid strong { display: block; margin-top: 8px; overflow: hidden; color: #172033; font-size: 23px; line-height: 1.1; text-overflow: ellipsis; }
.v50-filter-panel { margin-bottom: 16px; padding: 16px; }
.v50-filter-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(170px, .7fr)) auto; gap: 12px; align-items: end; }
.v50-field { display: grid; gap: 6px; min-width: 0; }
.v50-field > span { color: #687386; font-size: 10px; font-weight: 850; letter-spacing: .02em; }
.v50-filter-actions { display: flex; align-items: center; gap: 9px; }
.v50-filter-actions a { color: #647084; font-size: 11px; font-weight: 800; }
.v50-table-panel { overflow: hidden; margin-bottom: 17px; }
.v50-table { min-width: 1120px; }
.v50-table td { vertical-align: top; }
.v50-table td:first-child { display: table-cell !important; min-width: 210px; }
.v50-table td a { color: #305f9b; font-size: 11px; font-weight: 800; }
.v50-pill, .v50-status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .02em; }
.v50-pill { color: #315f88; background: #eef6fc; }
.v50-status { color: #536174; background: #eef1f5; }
.v50-status.is-success, .v50-status.is-passed, .v50-status.is-approved, .v50-status.is-active { color: #067647; background: #eafbf1; }
.v50-status.is-warning, .v50-status.is-partial, .v50-status.is-pending, .v50-status.is-awaiting_payment, .v50-status.is-awaiting_review, .v50-status.is-paid, .v50-status.is-reviewing, .v50-status.is-needs_info { color: #a15c00; background: #fff4d6; }
.v50-status.is-failed, .v50-status.is-rejected, .v50-status.is-cancelled { color: #b42318; background: #fff0ee; }
.v50-filter-code { display: block; max-width: 290px; padding: 7px 8px; border-radius: 8px; color: #586579; background: #f5f7fa; font-size: 9px; line-height: 1.55; white-space: normal; }
.v50-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.v50-row-actions form { margin: 0; }
.v50-row-actions button { min-height: 32px; padding: 6px 9px; border: 1px solid #dde2e9; border-radius: 8px; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.v50-pagination { padding: 14px 17px; }
.v50-history-panel { overflow: hidden; margin-top: 17px; }
.v50-run-list { display: grid; gap: 8px; padding: 15px; }
.v50-run-list article { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border: 1px solid #e7ebf0; border-radius: 12px; background: #fafbfd; }
.v50-run-list article > div:last-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.v50-run-list strong, .v50-run-list small { display: block; }
.v50-run-list small { margin-top: 3px; color: var(--admin-muted); font-size: 9px; }

.v50-promotion-table { min-width: 1380px; }
.v50-action-stack { display: grid; gap: 7px; min-width: 220px; }
.v50-action-stack form { display: grid; grid-template-columns: minmax(100px, 1fr) auto; gap: 6px; margin: 0; }
.v50-action-stack input { min-height: 34px !important; padding: 7px 9px !important; font-size: 9px !important; }
.v50-action-stack button { min-height: 34px; padding: 6px 9px; font-size: 9px; box-shadow: none; }
.v50-package-panel { overflow: hidden; margin-top: 18px; }
.v50-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding: 16px; }
.v50-package-card { min-width: 0; padding: 15px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fafbfd; }
.v50-package-card.is-new { border-style: dashed; background: #fff8f6; }
.v50-package-card h3 { margin-bottom: 12px; font-size: 15px; }
.v50-package-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.v50-package-card > button { margin-top: 12px; }
.v50-check { display: flex; align-items: center; gap: 8px; padding-top: 20px; font-size: 11px; font-weight: 800; }
.v50-check input { width: 17px; height: 17px; }

.v50-verification-list { display: grid; gap: 15px; }
.v50-verification-card { overflow: hidden; }
.v50-verification-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px; border-bottom: 1px solid #e8ecf1; }
.v50-verification-card h2 { margin: 8px 0 3px; font-size: 19px; }
.v50-verification-card p, .v50-verification-card small { color: var(--admin-muted); font-size: 10px; }
.v50-verification-card > header > div:last-child { text-align: right; }
.v50-verification-card > header strong, .v50-verification-card > header small { display: block; }
.v50-verification-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) minmax(280px, .9fr); gap: 15px; padding: 17px; }
.v50-verification-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
.v50-verification-body dl div { padding: 10px; border-radius: 10px; background: #f6f8fb; }
.v50-verification-body dt { color: var(--admin-muted); font-size: 9px; font-weight: 800; }
.v50-verification-body dd { margin: 4px 0 0; font-size: 11px; }
.v50-document-list { display: grid; align-content: start; gap: 7px; }
.v50-document-list > strong { margin-bottom: 3px; font-size: 11px; }
.v50-document-list a { display: grid; gap: 3px; padding: 10px; border: 1px solid #e3e8ef; border-radius: 10px; color: #294f7b; background: #fff; font-size: 10px; font-weight: 800; }
.v50-document-list small { color: var(--admin-muted); font-size: 8px; font-weight: 500; }
.v50-review-form { display: grid; align-content: start; gap: 9px; }

.v50-launch-run-form { display: grid; grid-template-columns: minmax(200px, 1fr) auto; gap: 8px; width: min(100%, 480px); }
.v50-launch-latest { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; padding: 20px; border-left: 4px solid #d0d5dd; }
.v50-launch-latest.is-passed { border-left-color: #12b76a; }
.v50-launch-latest.is-warning { border-left-color: #f79009; }
.v50-launch-latest.is-failed { border-left-color: #f04438; }
.v50-launch-latest span, .v50-launch-latest p { color: var(--admin-muted); font-size: 10px; }
.v50-launch-latest h2 { margin: 5px 0; font-size: 22px; }
.v50-launch-score { display: flex; align-items: center; gap: 9px; }
.v50-launch-score article { min-width: 65px; padding: 10px; border-radius: 10px; background: #f5f7fa; text-align: center; }
.v50-launch-score article strong, .v50-launch-score article span { display: block; }
.v50-launch-score article strong { font-size: 19px; }
.v50-launch-score article span { margin-top: 3px; font-size: 8px; }
.v50-launch-checks { overflow: hidden; margin-bottom: 17px; }
.v50-launch-checks > article { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 11px 16px; border-top: 1px solid #edf0f4; }
.v50-launch-checks > article > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #eef1f5; font-weight: 900; }
.v50-launch-checks > article.is-ok > span { color: #067647; background: #eafbf1; }
.v50-launch-checks > article.is-warning > span { color: #a15c00; background: #fff4d6; }
.v50-launch-checks > article.is-error > span { color: #b42318; background: #fff0ee; }
.v50-launch-checks strong, .v50-launch-checks small { display: block; }
.v50-launch-checks small { margin-top: 3px; color: var(--admin-muted); font-size: 9px; }
.v50-launch-checks b { font-size: 9px; text-transform: uppercase; }

.v50-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v50-user-verified { border-color: #b7e4ca; background: #f1fbf5; }
.v50-user-verified strong { color: #067647; }
.v50-receipt-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; }
.v50-receipt-upload input { max-width: 320px; }

@media (max-width: 1380px) {
    .v50-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v50-stat-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v50-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v50-verification-body { grid-template-columns: 1fr 1fr; }
    .v50-review-form { grid-column: 1 / -1; }
}
@media (max-width: 1050px) {
    .admin-shell { grid-template-columns: 260px minmax(0, 1fr) !important; }
    .admin-sidebar { width: 260px; }
    .admin-main { padding-inline: 24px !important; }
    .admin-commandbar { margin-inline: -24px; padding-inline: 24px; }
    .v50-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v50-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .admin-shell { display: block !important; }
    .admin-sidebar { transform: translateX(-105%); transition: transform .2s ease; }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-menu-open::after { position: fixed; inset: 0; z-index: 900; background: rgba(15,23,42,.45); content: ''; }
    .admin-main { grid-column: auto; padding: 18px 18px 60px !important; }
    .admin-commandbar { grid-template-columns: auto minmax(0, 1fr) auto; margin: -18px -18px 22px; padding: 11px 18px; }
    .admin-commandbar-menu { display: block; }
    .admin-commandbar-user div { display: none; }
    .admin-commandbar-search kbd { display: none; }
    .v50-page-header { display: block; }
    .v50-page-header > :last-child { margin-top: 14px; }
    .v50-launch-run-form { width: 100%; }
}
@media (max-width: 700px) {
    .v50-stat-grid, .v50-stat-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v50-filter-grid, .v50-package-grid, .v50-form-grid { grid-template-columns: 1fr; }
    .v50-filter-actions { grid-column: auto; }
    .v50-verification-card > header, .v50-launch-latest { align-items: flex-start; flex-direction: column; }
    .v50-verification-card > header > div:last-child { text-align: left; }
    .v50-verification-body { grid-template-columns: 1fr; }
    .v50-review-form { grid-column: auto; }
    .v50-launch-score { flex-wrap: wrap; }
    .v50-run-list article { align-items: flex-start; flex-direction: column; }
    .v50-run-list article > div:last-child { justify-content: flex-start; }
    .admin-commandbar-search { min-width: 0; }
}
@media (max-width: 450px) {
    .v50-stat-grid, .v50-stat-grid-5 { grid-template-columns: 1fr; }
    .v50-filter-actions, .v50-header-actions, .v50-launch-run-form { display: grid; grid-template-columns: 1fr; }
    .v50-filter-actions button, .v50-filter-actions a, .v50-header-actions a, .v50-header-actions button { width: 100%; }
}
.v50-suite-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 0 0 19px; }
.v50-suite-grid a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--admin-border); border-radius: 14px; color: #172033; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.025); transition: transform .16s ease, box-shadow .16s ease; }
.v50-suite-grid a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,23,42,.07); }
.v50-suite-grid a > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#f45d48,#d94332); font-size: 16px; font-weight: 900; }
.v50-suite-grid strong, .v50-suite-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v50-suite-grid strong { font-size: 11px; }
.v50-suite-grid small { margin-top: 4px; color: var(--admin-muted); font-size: 8px; }
.v50-suite-grid b { color: #9aa4b3; }
@media (max-width: 1250px) { .v50-suite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .v50-suite-grid { grid-template-columns: 1fr; } }

/* V5.0.2 Legacy Navy Sidebar Refinement ------------------------------------ */
.admin-body {
    --admin-sidebar: #11253d;
    --admin-sidebar-active: #26394e;
    --admin-sidebar-text: #aec0d0;
    --admin-sidebar-muted: #708497;
    --admin-accent: #f1614e;
}
.admin-sidebar {
    color: var(--admin-sidebar-text);
    background: #11253d !important;
    box-shadow: 10px 0 32px rgba(7, 22, 38, .16);
}
.admin-sidebar-header {
    min-height: 96px;
    padding: 6px 2px 20px;
    border-bottom-color: #152840;
}
.admin-sidebar-header small {
    display: block;
    margin-top: 13px;
    color: #8fa6bd;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .17em;
    line-height: 1.35;
    text-transform: uppercase;
}
.admin-logo {
    color: #fff !important;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: 1;
}
.admin-logo span { color: var(--admin-accent) !important; }
.admin-nav-search {
    margin: 15px 0 12px;
    padding: 10px 12px;
    border-color: #26394e;
    border-radius: 12px;
    background: #152840;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.admin-nav-search > span { color: #8fa6bd; }
.admin-nav-search input { color: #fff; font-size: 13px; font-weight: 650; }
.admin-nav-search input::placeholder { color: #708497; }
.admin-nav-search kbd { color: #8fa6bd; border-color: #344a62; background: #20364e; }
.admin-sidebar nav { padding: 1px 1px 16px 0 !important; }
.admin-sidebar nav::-webkit-scrollbar-thumb { background: #26394e; }
.admin-nav-dropdown,
.admin-nav-dropdown[open] {
    margin: 8px 0 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.admin-nav-dropdown summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    min-height: 34px;
    padding: 7px 7px 8px;
    border-radius: 8px;
    color: var(--admin-sidebar-muted);
    background: transparent;
}
.admin-nav-dropdown summary:hover { color: #94a9bd; background: rgba(38,57,78,.28); }
.admin-nav-dropdown summary b {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.35;
    text-transform: uppercase;
}
.admin-nav-dropdown summary i { color: #708497; font-size: 13px; }
.admin-nav-icon { display: none; }
.admin-nav-links { gap: 5px; padding: 3px 0 0; }
.admin-sidebar .admin-nav-links a {
    min-height: 44px;
    padding: 11px 15px !important;
    border-radius: 12px !important;
    color: var(--admin-sidebar-text) !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1.55;
}
.admin-sidebar .admin-nav-links a::before { display: none; }
.admin-sidebar .admin-nav-links a:hover {
    color: #fff !important;
    background: #1c324b !important;
}
.admin-sidebar .admin-nav-links a.active {
    color: #fff !important;
    background: #26394e !important;
    box-shadow: inset 4px 0 var(--admin-accent) !important;
}
.admin-sidebar-footer { border-top-color: #152840; }
.admin-sidebar-footer .admin-language-switch { color: var(--admin-sidebar-text); background: #152840; }
.admin-sidebar-footer .admin-exit { color: var(--admin-sidebar-text); border-radius: 10px; }
.admin-sidebar-footer .admin-exit:hover { color: #fff; background: #1c324b; }
.admin-modern-filter-form,
.admin-filter-bar,
.v50-filter-panel {
    border-color: #dfe5ec !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(17, 37, 61, .055);
}
.admin-main input[type="search"],
.admin-main .admin-modern-search-input,
.admin-main .admin-modern-select,
.admin-main select {
    min-height: 44px;
    border-color: #d8e0e8;
    border-radius: 12px;
    background-color: #fbfcfe;
}
.admin-main input[type="search"]:focus,
.admin-main .admin-modern-search-input:focus,
.admin-main .admin-modern-select:focus,
.admin-main select:focus {
    border-color: #f1614e;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(241, 97, 78, .11);
}
@media (max-width: 860px) {
    .admin-sidebar { width: min(88vw, 330px); }
    .admin-sidebar-header { min-height: 78px; padding-top: 2px; }
    .admin-logo { font-size: 27px; }
}


/* ========================================================================
   V6.0 UNIFIED LAUNCH SUITE
   Admin UX, public search, listing wizard and Pazarce Credit
   ======================================================================== */
:root {
    --v60-navy: #11253d;
    --v60-navy-2: #1a3048;
    --v60-active: #26394e;
    --v60-text: #aec0d0;
    --v60-muted: #708497;
    --v60-coral: #f1614e;
    --v60-ink: #172033;
    --v60-line: #dce4eb;
    --v60-soft: #f4f7fa;
    --v60-green: #16856b;
    --v60-gold: #f4b740;
}

/* Admin shell */
.admin-v60 .admin-shell { background: #f3f6f9; }
.admin-v60 .admin-sidebar {
    width: 290px !important;
    padding: 20px 14px 16px !important;
    color: var(--v60-text) !important;
    background: var(--v60-navy) !important;
    border-right: 1px solid #172d45 !important;
    box-shadow: 18px 0 42px rgba(17, 37, 61, .1);
}
.admin-v60 .admin-sidebar-header { min-height: 84px !important; padding: 2px 6px 18px !important; border-bottom: 1px solid rgba(174,192,208,.12) !important; }
.admin-v60 .admin-sidebar-header .wordmark { font-size: 30px !important; letter-spacing: -.055em; }
.admin-v60 .admin-sidebar-header small { color: #8da1b5 !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .16em !important; }
.admin-v60 .admin-nav-search { margin: 15px 3px 13px !important; background: #172e47 !important; border: 1px solid #294058 !important; border-radius: 14px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.admin-v60 .admin-nav-search input { color: #fff !important; font-size: 13px; }
.admin-v60 .admin-nav-search input::placeholder { color: #7f94a8; }
.admin-v60 .admin-nav-search kbd { color: #9bb0c3; background: #203850; border-color: #344b62; }
.admin-v60 .admin-sidebar nav { padding: 0 0 20px !important; }
.admin-v60 .admin-nav-dropdown { margin: 4px 0 7px; }
.admin-v60 .admin-nav-dropdown summary {
    min-height: 46px !important;
    padding: 0 11px !important;
    color: var(--v60-muted) !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase;
}
.admin-v60 .admin-nav-dropdown summary:hover { color: #c6d4df !important; background: rgba(255,255,255,.035) !important; }
.admin-v60 .admin-nav-dropdown[open] > summary { color: #8ea3b7 !important; background: rgba(255,255,255,.025); }
.admin-v60 .admin-nav-icon { color: #6f8599 !important; font-size: 14px !important; }
.admin-v60 .admin-nav-dropdown summary i { color: #647b90 !important; font-style: normal; transition: transform .18s ease; }
.admin-v60 .admin-nav-dropdown[open] summary i { transform: rotate(180deg); }
.admin-v60 .admin-nav-links { display: grid; gap: 5px; margin: 2px 0 9px; }
.admin-v60 .admin-nav-links a {
    position: relative;
    min-height: 50px !important;
    padding: 0 14px 0 17px !important;
    color: var(--v60-text) !important;
    background: transparent !important;
    border-radius: 13px !important;
    font-size: 15px !important;
    font-weight: 720 !important;
    letter-spacing: -.015em;
}
.admin-v60 .admin-nav-links a:hover { color: #fff !important; background: #1b324b !important; transform: translateX(2px); }
.admin-v60 .admin-nav-links a.active {
    color: #fff !important;
    background: var(--v60-active) !important;
    box-shadow: inset 4px 0 var(--v60-coral), 0 9px 24px rgba(0,0,0,.12) !important;
}
.admin-v60 .admin-nav-links a.active::after { position: absolute; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--v60-coral); content: ''; box-shadow: 0 0 0 5px rgba(241,97,78,.1); }
.admin-v60 .admin-sidebar-footer { border-top: 1px solid rgba(174,192,208,.12) !important; }
.admin-v60 .admin-sidebar-footer .admin-language-switch { background: #172e47 !important; }
.admin-v60 .admin-main { min-width: 0; padding: 0 28px 50px; }
.admin-v60 .admin-commandbar { position: sticky; z-index: 20; top: 0; margin: 0 -28px 24px; padding: 12px 28px; background: rgba(243,246,249,.94); border-bottom: 1px solid #e0e7ed; backdrop-filter: blur(16px); }
.admin-v60 .admin-commandbar-search { max-width: 560px; min-height: 46px; background: #fff; border: 1px solid #d8e1e9; border-radius: 15px; box-shadow: 0 6px 22px rgba(27,48,72,.06); }
.admin-v60 .admin-commandbar-search input { font-size: 14px; }
.admin-v60 .admin-page-header,
.admin-v60 .admin-heading { margin-bottom: 22px; padding: 25px 27px; background: #fff; border: 1px solid #e0e7ed; border-radius: 20px; box-shadow: 0 14px 34px rgba(17,37,61,.055); }
.admin-v60 .admin-page-header h1,
.admin-v60 .admin-heading h1 { color: #17243a; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.045em; }
.admin-v60 .admin-panel { border: 1px solid #e0e7ed !important; border-radius: 19px !important; box-shadow: 0 11px 30px rgba(17,37,61,.045) !important; }
.admin-v60 .admin-main input:not([type="checkbox"]):not([type="radio"]),
.admin-v60 .admin-main select,
.admin-v60 .admin-main textarea { min-height: 46px; color: #1b2b3d; background-color: #fff; border: 1px solid #d5e0e8; border-radius: 12px; box-shadow: inset 0 1px 2px rgba(17,37,61,.025); }
.admin-v60 .admin-main textarea { min-height: 96px; }
.admin-v60 .admin-main input:focus,
.admin-v60 .admin-main select:focus,
.admin-v60 .admin-main textarea:focus { border-color: #748da3; outline: 3px solid rgba(112,132,151,.13); box-shadow: 0 0 0 1px #748da3; }
.admin-v60 .admin-main select { padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, #61778b 50%), linear-gradient(135deg, #61778b 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; appearance: none; }
.admin-v60 .admin-table-wrap { border: 1px solid #e1e8ee; border-radius: 15px; }
.admin-v60 table { border-collapse: separate; border-spacing: 0; }
.admin-v60 thead th { position: sticky; z-index: 2; top: 0; color: #63788b; background: #f7f9fb; border-bottom: 1px solid #dce5ec; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.admin-v60 tbody tr { transition: background .15s ease, box-shadow .15s ease; }
.admin-v60 tbody tr:hover { background: #f8fafc; box-shadow: inset 3px 0 var(--v60-coral); }
.admin-v60 .admin-primary-button,
.admin-v60 .v50-filter-actions button,
.admin-v60 .v60-filter-actions button { border-color: var(--v60-coral) !important; background: var(--v60-coral) !important; box-shadow: 0 8px 20px rgba(241,97,78,.18); }
.admin-v60 .admin-outline-button { color: #263d54; border-color: #cdd9e2; background: #fff; }
.v60-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.v60-filter-panel { padding: 17px !important; }
.v60-filter-grid { display: grid; grid-template-columns: minmax(260px,1.6fr) minmax(180px,.7fr) auto; gap: 12px; align-items: end; }
.v60-field { display: grid; gap: 7px; }
.v60-field > span { color: #687d90; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.v60-filter-actions { display: flex; gap: 9px; align-items: center; }
.v60-filter-actions button,
.v60-filter-actions a { min-height: 46px; padding: 0 17px; border: 1px solid #d4dee6; border-radius: 12px; font-weight: 750; }
.v60-filter-actions a { display: inline-flex; align-items: center; color: #536b80; background: #fff; }
.v60-table { width: 100%; min-width: 920px; }
.v60-table td > small,
.v60-table td > strong { display: block; }
.v60-credit-chip { display: inline-flex; padding: 6px 10px; color: #714b00; background: #fff2c7; border: 1px solid #f3d77b; border-radius: 999px; }
.v60-inline-adjust { display: grid; grid-template-columns: 85px minmax(150px,1fr) auto; gap: 7px; min-width: 380px; }
.v60-inline-adjust button { min-height: 42px; padding: 0 13px; border: 0; border-radius: 10px; color: #fff; background: #26394e; }
.v60-action-stack { display: grid; gap: 7px; min-width: 300px; }
.v60-action-stack form { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.v60-credit-admin-packages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.v60-credit-admin-package { padding: 18px; background: #fff; border: 1px solid #dde6ed; border-radius: 16px; }
.v60-credit-admin-package.is-new { background: #f8fafc; border-style: dashed; }
.v60-package-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 15px 0; }
.v60-package-fields label { display: grid; gap: 5px; }
.v60-package-fields label > span { color: #6d8193; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.v60-package-fields .v60-check { display: flex; align-items: center; }
.v60-package-fields .v60-check input { width: 18px; min-height: 18px !important; }
.v60-table td.is-credit { color: #0a8064; font-weight: 800; }
.v60-table td.is-debit { color: #c64b3b; font-weight: 800; }

/* Public header and Pazarce Credit */
.header-credit-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 5px 10px 5px 6px; color: #5e4300; background: linear-gradient(135deg,#fff5cf,#ffe89a); border: 1px solid #efd479; border-radius: 999px; box-shadow: 0 5px 15px rgba(99,76,0,.08); }
.header-credit-chip span { display: grid; width: 27px; height: 27px; place-items: center; color: #fff; background: #d39a12; border-radius: 50%; font-size: 10px; font-weight: 900; }
.header-credit-chip b { font-size: 13px; }
.account-menu .menu-credit-link { display: flex !important; justify-content: space-between; gap: 20px; color: #765405; background: #fff8dc; }
.account-menu .menu-credit-link b { color: #b37b00; }

/* V6 homepage */
.v60-public-home { overflow: hidden; background: #f6f8fa; }
.v60-hero { position: relative; min-height: 535px; padding: 86px max(28px,calc((100vw - 1240px)/2)) 60px; color: #fff; background: radial-gradient(circle at 80% 10%,rgba(241,97,78,.22),transparent 32%), linear-gradient(135deg,#10253d 0%,#142f4c 58%,#193a57 100%); }
.v60-hero-glow { position: absolute; right: -80px; bottom: -150px; width: 520px; height: 520px; border-radius: 50%; background: rgba(241,97,78,.09); filter: blur(2px); }
.v60-hero-copy { position: relative; z-index: 1; max-width: 780px; }
.v60-hero-badge { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #b7c8d7; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.v60-hero-badge span { width: 28px; height: 3px; background: var(--v60-coral); border-radius: 999px; }
.v60-hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px,6vw,76px); line-height: .98; letter-spacing: -.06em; }
.v60-hero-copy > p:last-child { max-width: 650px; margin: 24px 0 0; color: #b9c8d5; font-size: 18px; line-height: 1.65; }
.v60-search-dock { position: relative; z-index: 2; display: grid; grid-template-columns: 1.7fr 1fr 1fr .75fr auto; max-width: 1240px; margin: 42px auto 0; padding: 9px; background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 19px; box-shadow: 0 24px 55px rgba(2,15,30,.26); }
.v60-search-dock label { position: relative; display: grid; align-content: center; min-height: 70px; padding: 9px 17px 9px 44px; color: #17283a; border-right: 1px solid #e5ebef; }
.v60-search-dock label:last-of-type { border-right: 0; }
.v60-search-dock small { margin-bottom: 4px; color: #778b9c; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.v60-search-dock input,
.v60-search-dock select { width: 100%; min-height: 27px; padding: 0; color: #17283a; background: transparent; border: 0; outline: 0; font-size: 15px; font-weight: 650; }
.v60-field-icon { position: absolute; left: 17px; color: #688096; font-size: 18px; }
.v60-search-dock button { min-width: 142px; border: 0; border-radius: 14px; color: #fff; background: var(--v60-coral); font-size: 15px; font-weight: 800; box-shadow: 0 10px 24px rgba(241,97,78,.26); }
.v60-search-dock button span { margin-right: 7px; }
.v60-search-underbar { position: relative; z-index: 2; display: flex; max-width: 1240px; margin: 17px auto 0; align-items: center; justify-content: space-between; gap: 20px; color: #aebfce; font-size: 12px; }
.v60-search-underbar > a { color: #fff; font-weight: 750; }
.v60-search-underbar div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v60-search-underbar div a { padding: 5px 9px; color: #c4d1dd; background: rgba(255,255,255,.07); border-radius: 999px; }
.v60-category-section,
.v60-listing-section { max-width: 1240px; margin: 0 auto; padding: 74px 24px 0; }
.v60-section-heading { display: flex; margin-bottom: 25px; align-items: end; justify-content: space-between; gap: 20px; }
.v60-section-heading h2 { margin: 4px 0 0; color: #17253a; font-size: clamp(27px,4vw,38px); letter-spacing: -.045em; }
.v60-section-heading > a { color: #405a70; font-weight: 750; }
.v60-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.v60-category-grid > a { display: flex; min-height: 90px; padding: 16px; align-items: center; gap: 13px; color: #26394e; background: #fff; border: 1px solid #e0e7ed; border-radius: 16px; box-shadow: 0 9px 24px rgba(17,37,61,.045); transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.v60-category-grid > a:hover { border-color: #b8c7d3; box-shadow: 0 15px 32px rgba(17,37,61,.08); transform: translateY(-3px); }
.v60-category-grid > a > span { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; color: #fff; background: #243a50; border-radius: 13px; font-size: 18px; font-weight: 850; }
.v60-category-grid > a strong,
.v60-category-grid > a small { display: block; }
.v60-category-grid > a small { margin-top: 4px; color: #8091a0; }
.v60-category-grid > a i { margin-left: auto; color: #9eafbd; font-style: normal; }
.v60-featured-section { padding-top: 70px; }
.v60-featured-grid .listing-card { border-color: #f0cf72; box-shadow: 0 16px 35px rgba(95,71,0,.08); }
.v60-listing-grid,
.v60-featured-grid { gap: 18px; }
.v60-trust-strip { display: grid; grid-template-columns: repeat(3,1fr); max-width: 1240px; margin: 80px auto; padding: 0 24px; gap: 1px; }
.v60-trust-strip article { display: flex; padding: 28px; gap: 18px; background: #11253d; }
.v60-trust-strip article:first-child { border-radius: 18px 0 0 18px; }
.v60-trust-strip article:last-child { border-radius: 0 18px 18px 0; }
.v60-trust-strip article > span { color: var(--v60-coral); font-size: 12px; font-weight: 850; }
.v60-trust-strip h3 { margin: 0 0 6px; color: #fff; }
.v60-trust-strip p { margin: 0; color: #9fb1c2; line-height: 1.55; }

/* V6 search results */
.v60-search-page { min-height: 70vh; background: #f5f7f9; }
.v60-search-hero { padding: 42px max(24px,calc((100vw - 1240px)/2)) 34px; color: #fff; background: linear-gradient(135deg,#11253d,#193650); }
.v60-search-hero > div { max-width: 720px; }
.v60-search-hero h1 { margin: 8px 0; font-size: clamp(32px,5vw,52px); letter-spacing: -.05em; }
.v60-search-hero p { color: #afc0ce; }
.v60-search-hero .breadcrumb a { color: #fff; }
.v60-search-bar { display: grid; grid-template-columns: 1.7fr 1fr 1fr auto; max-width: 1240px; margin: 27px auto 0; padding: 7px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.v60-search-bar label { position: relative; display: flex; min-height: 58px; padding-left: 42px; align-items: center; border-right: 1px solid #e3e9ed; }
.v60-search-bar label > span { position: absolute; left: 16px; color: #6f8497; }
.v60-search-bar input,
.v60-search-bar select { width: 100%; min-height: 50px; padding: 0 10px 0 0; background: transparent; border: 0; outline: 0; font-weight: 650; }
.v60-search-bar select { color: #203449 !important; color-scheme: light; -webkit-text-fill-color: #203449; opacity: 1; }
.v60-search-bar select option,
.v60-search-bar select optgroup { color: #203449 !important; background: #fff !important; -webkit-text-fill-color: #203449; font-size: 15px; font-weight: 650; }
.v60-search-bar button { min-width: 128px; border: 0; border-radius: 12px; color: #fff; background: var(--v60-coral); font-weight: 800; }
.v60-results-shell { display: grid; grid-template-columns: 285px minmax(0,1fr); max-width: 1288px; margin: 0 auto; padding: 30px 24px 80px; gap: 22px; }
.v60-filter-sidebar { align-self: start; position: sticky; top: 20px; }
.v60-filter-form { display: grid; padding: 20px; gap: 16px; background: #fff; border: 1px solid #dfe7ed; border-radius: 18px; box-shadow: 0 12px 30px rgba(17,37,61,.05); }
.v60-filter-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #e5ebef; }
.v60-filter-heading > div { display: flex; align-items: center; gap: 8px; }
.v60-filter-heading h2 { margin: 0; color: #203449; font-size: 17px; }
.v60-filter-heading a { color: var(--v60-coral); font-size: 12px; font-weight: 750; }
.v60-filter-form label { display: grid; gap: 7px; color: #657b8e; font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.v60-filter-form input,
.v60-filter-form select { width: 100%; min-height: 44px; padding: 0 12px; color: #203449; background: #fbfcfd; border: 1px solid #d8e2e9; border-radius: 11px; text-transform: none; }
.v60-filter-form select { color-scheme: light; -webkit-text-fill-color: #203449; opacity: 1; }
.v60-filter-form select option,
.v60-filter-form select optgroup { color: #203449 !important; background: #fff !important; -webkit-text-fill-color: #203449; font-size: 14px; font-weight: 650; }
.v60-filter-form .vehicle-check-row { display: flex; min-height: 32px; align-items: center; gap: 10px; cursor: pointer; letter-spacing: 0; text-transform: none; }
.v60-filter-form .vehicle-check-row input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; border-radius: 4px; accent-color: var(--v60-coral); }
.v60-filter-form .vehicle-check-row span { color: #33485d; font-size: 12px; font-weight: 750; }
.v60-filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.v60-apply-filters { min-height: 48px; border: 0; border-radius: 12px; color: #fff; background: #26394e; font-weight: 800; }
.v60-results-main { min-width: 0; }
.v60-results-toolbar { display: flex; min-height: 74px; margin-bottom: 15px; padding: 12px 17px; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #dfe7ed; border-radius: 15px; }
.v60-results-toolbar strong,
.v60-results-toolbar small { display: block; }
.v60-results-toolbar strong { color: #203449; font-size: 16px; }
.v60-results-toolbar small { margin-top: 3px; color: #8192a0; }
.v60-result-actions { display: flex; align-items: center; gap: 10px; }
.v60-sort-form label { display: flex; align-items: center; gap: 8px; color: #758a9b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.v60-sort-form select { min-height: 40px; padding: 0 32px 0 11px; border: 1px solid #d7e1e8; border-radius: 10px; }
.v60-save-search { position: relative; }
.v60-save-search summary { cursor: pointer; padding: 10px 12px; color: #26394e; background: #f4f7f9; border: 1px solid #dbe4ea; border-radius: 10px; font-size: 12px; font-weight: 800; }
.v60-save-search form { position: absolute; z-index: 10; top: calc(100% + 7px); right: 0; display: grid; width: 270px; padding: 13px; gap: 8px; background: #fff; border: 1px solid #dbe4ea; border-radius: 13px; box-shadow: 0 18px 40px rgba(17,37,61,.15); }
.v60-save-search input,
.v60-save-search select,
.v60-save-search button { min-height: 41px; border: 1px solid #d8e2e9; border-radius: 9px; }
.v60-save-search button { color: #fff; background: #26394e; }
.v60-active-filters { display: flex; margin-bottom: 12px; flex-wrap: wrap; gap: 7px; align-items: center; }
.v60-active-filters > span { color: #7c8e9d; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.v60-active-filters a { display: inline-flex; padding: 6px 9px; gap: 6px; color: #425c70; background: #fff; border: 1px solid #dbe4ea; border-radius: 999px; font-size: 11px; }
.v60-active-filters a.clear { color: #c84f3f; border-color: #f0cbc5; }
.v60-results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.v60-mobile-filter-button,
.v60-filter-mobile-head,
.v60-filter-backdrop { display: none; }

/* Listing wizard */
.v60-wizard-page { min-height: 80vh; padding: 52px max(20px,calc((100vw - 1120px)/2)) 90px; background: #f4f7f9; }
.v60-wizard-intro { display: flex; margin-bottom: 25px; align-items: end; justify-content: space-between; gap: 20px; }
.v60-wizard-intro h1 { margin: 5px 0 8px; color: #17253a; font-size: clamp(31px,5vw,48px); letter-spacing: -.055em; }
.v60-wizard-intro p:last-child { max-width: 700px; color: #6f8293; }
.v60-wizard-autosave { opacity: 0; padding: 9px 12px; color: #08765d; background: #e9f8f3; border: 1px solid #bde8da; border-radius: 999px; font-size: 11px; font-weight: 750; transition: opacity .2s ease; }
.v60-wizard-autosave.visible { opacity: 1; }
.v60-wizard-progress { display: grid; grid-template-columns: repeat(6,1fr); margin-bottom: 17px; padding: 10px; gap: 7px; background: #fff; border: 1px solid #dfe7ed; border-radius: 17px; }
.v60-wizard-progress button { display: flex; min-height: 53px; padding: 7px 9px; align-items: center; gap: 8px; color: #8394a2; background: transparent; border: 0; border-radius: 11px; text-align: left; }
.v60-wizard-progress button span { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; color: #60778a; background: #edf2f5; border-radius: 50%; font-size: 11px; font-weight: 850; }
.v60-wizard-progress button b { font-size: 11px; line-height: 1.2; }
.v60-wizard-progress button.active { color: #fff; background: #26394e; }
.v60-wizard-progress button.active span { color: #fff; background: var(--v60-coral); }
.v60-wizard-progress button.complete span { color: #fff; background: #16856b; }
.v60-wizard-card { overflow: hidden; background: #fff; border: 1px solid #dfe7ed; border-radius: 21px; box-shadow: 0 18px 42px rgba(17,37,61,.06); }
.v60-wizard-step { display: none; min-height: 460px; padding: 28px; }
.v60-wizard-step.active { display: block; animation: v60WizardIn .22s ease; }
@keyframes v60WizardIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.v60-wizard-step > header { display: flex; margin-bottom: 26px; align-items: flex-start; gap: 14px; }
.v60-wizard-step > header > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; color: #fff; background: #11253d; border-radius: 13px; font-size: 11px; font-weight: 850; }
.v60-wizard-step header h2 { margin: 0 0 5px; color: #1b2d40; font-size: 24px; letter-spacing: -.035em; }
.v60-wizard-step header p { margin: 0; color: #75899a; }
.v60-wizard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.v60-wizard-grid .wide { grid-column: 1/-1; }
.v60-wizard-grid label { display: grid; gap: 7px; color: #61778a; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.v60-wizard-grid label > span { display: block; }
.v60-wizard-grid input,
.v60-wizard-grid select,
.v60-wizard-grid textarea { width: 100%; min-height: 50px; padding: 0 14px; color: #1a2d40; background: #fbfcfd; border: 1px solid #d5e0e8; border-radius: 12px; font-size: 14px; text-transform: none; }
.v60-wizard-grid textarea { min-height: 190px; padding-top: 13px; resize: vertical; }
.v60-wizard-grid input:focus,
.v60-wizard-grid select:focus,
.v60-wizard-grid textarea:focus { border-color: #778fa3; outline: 3px solid rgba(112,132,151,.12); }
.v60-wizard-grid label small { color: #94a3af; text-align: right; text-transform: none; }
.v60-feature-field select { min-height: 58px; font-size: 16px; }
.v60-switch-field { display: flex !important; min-height: 58px; padding: 12px 14px; align-items: center; gap: 10px; background: #f5f8fa; border: 1px solid #dce5eb; border-radius: 12px; }
.v60-switch-field input { width: 20px !important; min-height: 20px !important; }
.v60-switch-field b,
.v60-switch-field small { display: block; text-align: left !important; }
.v60-dropzone { display: grid; min-height: 260px; padding: 30px; place-items: center; align-content: center; color: #718698; background: linear-gradient(135deg,#f7fafb,#eef4f7); border: 2px dashed #bccbd6; border-radius: 18px; text-align: center; cursor: pointer; }
.v60-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v60-dropzone > span { display: grid; width: 62px; height: 62px; margin-bottom: 13px; place-items: center; color: #fff; background: #26394e; border-radius: 18px; font-size: 29px; }
.v60-dropzone strong { color: #26394e; font-size: 18px; }
.v60-dropzone small { margin-top: 7px; }
.v60-image-preview { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 16px; gap: 10px; }
.v60-image-preview figure { overflow: hidden; position: relative; aspect-ratio: 1; margin: 0; border-radius: 12px; }
.v60-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.v60-image-preview figcaption { position: absolute; left: 7px; bottom: 7px; padding: 4px 7px; color: #fff; background: rgba(17,37,61,.82); border-radius: 999px; font-size: 9px; }
.v60-listing-preview { display: grid; grid-template-columns: minmax(260px,.85fr) 1fr; gap: 28px; }
.v60-preview-image { display: grid; min-height: 320px; place-items: center; overflow: hidden; color: #8295a5; background: #edf2f5; border-radius: 17px; }
.v60-preview-image img { width: 100%; height: 100%; object-fit: cover; }
.v60-preview-category { color: var(--v60-coral); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.v60-listing-preview h2 { margin: 10px 0; color: #1c2e41; font-size: 31px; letter-spacing: -.045em; }
.v60-listing-preview > div:last-child > strong { display: block; margin-bottom: 17px; color: #11253d; font-size: 25px; }
.v60-listing-preview p { color: #687e90; line-height: 1.7; }
.v60-listing-preview dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.v60-listing-preview dl div { padding: 12px; background: #f5f8fa; border-radius: 10px; }
.v60-listing-preview dt { color: #8495a3; font-size: 10px; text-transform: uppercase; }
.v60-listing-preview dd { margin: 4px 0 0; color: #26394e; font-weight: 750; }
.v60-publish-choice { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.v60-publish-choice article { display: flex; min-height: 140px; padding: 20px; align-items: flex-start; gap: 13px; background: #f7f9fb; border: 1px solid #dce5eb; border-radius: 15px; }
.v60-publish-choice article.recommended { background: #fff7f5; border-color: #f2c4bd; }
.v60-publish-choice article > span { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: #26394e; border-radius: 11px; }
.v60-publish-choice article.recommended > span { background: var(--v60-coral); }
.v60-publish-choice strong { color: #203449; }
.v60-publish-choice p { color: #75899a; line-height: 1.5; }
.v60-wizard-final-actions { display: flex; margin-top: 26px; justify-content: flex-end; gap: 10px; }
.v60-clear-local-draft { display: block; margin: 18px auto 0; color: #8495a3; background: transparent; border: 0; text-decoration: underline; }
.v60-wizard-navigation { display: flex; margin-top: 15px; justify-content: space-between; align-items: center; }
.v60-wizard-navigation > div { display: flex; align-items: center; gap: 14px; }
.v60-wizard-navigation span { color: #7c8e9c; font-size: 12px; font-weight: 750; }
.v60-wizard-warning { margin-top: 12px; padding: 12px 14px; color: #943d32; background: #fff0ed; border: 1px solid #f4c7c0; border-radius: 11px; }

/* Credits and promotion */
.v60-credit-heading,
.v60-promotions-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.v60-wallet-balance { display: grid; min-width: 250px; padding: 18px 20px; color: #624700; background: linear-gradient(135deg,#fff8d9,#ffeaa1); border: 1px solid #efd474; border-radius: 17px; box-shadow: 0 14px 28px rgba(96,72,0,.09); }
.v60-wallet-balance span { font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.v60-wallet-balance strong { margin: 4px 0; font-size: 31px; letter-spacing: -.04em; }
.v60-wallet-balance strong small { font-size: 13px; }
.v60-wallet-balance em { color: #866817; font-size: 10px; font-style: normal; }
.v60-wallet-balance.compact { color: #624700; text-decoration: none; }
.v60-credit-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 0 !important; overflow: hidden; }
.v60-credit-info > div { padding: 19px; background: #f8fafb; }
.v60-credit-info strong,
.v60-credit-info span { display: block; }
.v60-credit-info strong { color: #26394e; }
.v60-credit-info span { margin-top: 6px; color: #718697; font-size: 12px; line-height: 1.5; }
.v60-credit-packages { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.v60-credit-package { cursor: pointer; }
.v60-credit-package input { position: absolute; opacity: 0; }
.v60-credit-package > span { display: grid; min-height: 170px; padding: 18px; align-content: start; background: #fff; border: 2px solid #dfe7ed; border-radius: 16px; transition: border .15s ease,transform .15s ease,box-shadow .15s ease; }
.v60-credit-package input:checked + span { border-color: #d39a12; box-shadow: 0 12px 28px rgba(157,112,0,.12); transform: translateY(-3px); }
.v60-credit-package small { color: #8293a1; font-size: 10px; font-weight: 800; }
.v60-credit-package strong { margin-top: 10px; color: #26394e; font-size: 25px; }
.v60-credit-package b { justify-self: start; margin-top: 7px; padding: 4px 8px; color: #0b8065; background: #e7f8f2; border-radius: 999px; font-size: 10px; }
.v60-credit-package em { margin-top: auto; padding-top: 20px; color: #a37200; font-size: 20px; font-style: normal; font-weight: 850; }
.v60-credit-ledger { display: grid; gap: 8px; }
.v60-credit-ledger article { display: grid; grid-template-columns: 95px 1fr auto; padding: 12px; align-items: center; gap: 12px; background: #f8fafb; border-radius: 11px; }
.v60-credit-ledger article > span { font-weight: 850; }
.v60-credit-ledger article.is-credit > span { color: #0a8064; }
.v60-credit-ledger article.is-debit > span { color: #c34e3e; }
.v60-credit-ledger strong,
.v60-credit-ledger small { display: block; }
.v60-credit-ledger small { margin-top: 3px; color: #8192a0; }
.v60-credit-ledger b { color: #26394e; }
.v60-promotion-packages { grid-template-columns: repeat(4,1fr); }
.v60-promotion-packages .promotion-package span { min-height: 190px; }
.v60-promotion-packages .promotion-package em { margin-top: 6px; color: #718697; font-style: normal; }
.v60-promotion-packages .promotion-package i { margin-top: 8px; color: #b04335; font-size: 10px; font-style: normal; }
.v60-promotion-packages .promotion-package i.ready { color: #0a8064; }
.v60-promotion-submit { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1100px) {
    .v60-search-dock { grid-template-columns: 1.5fr 1fr 1fr auto; }
    .v60-search-dock label:nth-of-type(4) { display: none; }
    .v60-category-grid { grid-template-columns: repeat(3,1fr); }
    .v60-results-grid { grid-template-columns: repeat(2,1fr); }
    .v60-credit-admin-packages { grid-template-columns: repeat(2,1fr); }
    .v60-promotion-packages { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
    .admin-v60 .admin-sidebar { width: min(88vw,330px) !important; }
    .admin-v60 .admin-main { padding: 0 14px 35px; }
    .admin-v60 .admin-commandbar { margin: 0 -14px 18px; padding: 10px 14px; }
    .v60-filter-grid { grid-template-columns: 1fr; }
    .v60-credit-admin-packages { grid-template-columns: 1fr; }
    .v60-hero { min-height: auto; padding-top: 58px; }
    .v60-search-dock { grid-template-columns: 1fr; padding: 10px; }
    .v60-search-dock label { min-height: 58px; border-right: 0; border-bottom: 1px solid #e5ebef; }
    .v60-search-dock label:nth-of-type(4) { display: grid; }
    .v60-search-dock button { min-height: 56px; margin-top: 5px; }
    .v60-search-underbar { display: grid; }
    .v60-category-grid { grid-template-columns: repeat(2,1fr); }
    .v60-trust-strip { grid-template-columns: 1fr; }
    .v60-trust-strip article:first-child { border-radius: 18px 18px 0 0; }
    .v60-trust-strip article:last-child { border-radius: 0 0 18px 18px; }
    .v60-search-bar { grid-template-columns: 1fr; }
    .v60-search-bar label { border-right: 0; border-bottom: 1px solid #e3e9ed; }
    .v60-search-bar button { min-height: 52px; }
    .v60-results-shell { display: block; padding-top: 18px; }
    .v60-mobile-filter-button { display: inline-flex; margin-bottom: 13px; padding: 11px 14px; align-items: center; gap: 7px; color: #fff; background: #26394e; border: 0; border-radius: 11px; font-weight: 800; }
    .v60-mobile-filter-button b { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: var(--v60-coral); border-radius: 50%; font-size: 10px; }
    .v60-filter-sidebar { position: fixed; z-index: 120; top: 0; bottom: 0; left: 0; width: min(90vw,360px); padding: 12px; overflow-y: auto; background: #f5f7f9; transform: translateX(-105%); transition: transform .2s ease; }
    .v60-filter-sidebar.is-open { transform: translateX(0); }
    .v60-filter-mobile-head { display: flex; min-height: 52px; padding: 0 7px; align-items: center; justify-content: space-between; }
    .v60-filter-mobile-head button { width: 38px; height: 38px; border: 0; border-radius: 10px; font-size: 25px; }
    .v60-filter-backdrop { position: fixed; z-index: 110; inset: 0; background: rgba(10,25,40,.55); }
    body.v60-filter-open { overflow: hidden; }
    body.v60-filter-open .v60-filter-backdrop { display: block; }
    .v60-results-toolbar { align-items: flex-start; }
    .v60-result-actions { align-items: flex-end; flex-direction: column; }
    .v60-wizard-progress { grid-template-columns: repeat(3,1fr); }
    .v60-wizard-grid { grid-template-columns: 1fr; }
    .v60-wizard-grid .wide { grid-column: auto; }
    .v60-listing-preview { grid-template-columns: 1fr; }
    .v60-publish-choice { grid-template-columns: 1fr; }
    .v60-credit-heading,.v60-promotions-heading { align-items: stretch; flex-direction: column; }
    .v60-credit-info { grid-template-columns: 1fr; }
    .v60-credit-packages { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .header-credit-chip { padding-right: 7px; }
    .header-credit-chip b { display: none; }
    .v60-hero h1 { font-size: 43px; }
    .v60-category-grid { grid-template-columns: 1fr; }
    .v60-category-section,.v60-listing-section { padding-left: 15px; padding-right: 15px; }
    .v60-results-grid { grid-template-columns: 1fr; }
    .v60-results-toolbar { align-items: stretch; flex-direction: column; }
    .v60-result-actions { align-items: stretch; }
    .v60-wizard-page { padding-left: 12px; padding-right: 12px; }
    .v60-wizard-intro { align-items: stretch; flex-direction: column; }
    .v60-wizard-progress { display: flex; overflow-x: auto; }
    .v60-wizard-progress button { flex: 0 0 120px; }
    .v60-wizard-step { padding: 20px 16px; }
    .v60-image-preview { grid-template-columns: repeat(3,1fr); }
    .v60-wizard-navigation { gap: 10px; }
    .v60-wizard-navigation .primary-button,.v60-wizard-navigation .secondary-button { padding-left: 13px; padding-right: 13px; }
    .v60-credit-ledger article { grid-template-columns: 80px 1fr; }
    .v60-credit-ledger article > b { grid-column: 2; }
    .v60-inline-adjust { grid-template-columns: 1fr; min-width: 220px; }
}

/* V12.1 — compact categories and horizontal listing experience */
.hero { padding-bottom: 48px; }

.v121-category-head {
    display: flex;
    margin-top: 34px;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.v121-category-head div { display: grid; gap: 3px; }
.v121-category-head strong { color: #10263b; font-size: 15px; }
.v121-category-head span { color: #728396; font-size: 12px; }
.v121-category-head > a { color: #304b62; font-size: 12px; font-weight: 800; }

.v121-category-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.v121-category-strip > a {
    display: flex;
    min-width: 0;
    min-height: 66px;
    padding: 11px 13px;
    align-items: center;
    gap: 10px;
    color: #193149;
    border: 1px solid rgba(16, 37, 63, .1);
    border-radius: 13px;
    background: rgba(255, 255, 255, .78);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.v121-category-strip > a:hover { border-color: #f1614e; background: #fff; transform: translateY(-2px); }
.v121-category-strip svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; color: #e95c49; border-radius: 10px; background: #ffede9; }
.v121-category-strip span { min-width: 0; }
.v121-category-strip strong,
.v121-category-strip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v121-category-strip strong { font-size: 12px; }
.v121-category-strip small { margin-top: 4px; color: #7a8b9c; font-size: 10px; }

.v121-home-listings { max-width: 1240px; padding-top: 70px; padding-bottom: 54px; }
.v121-listing-list { display: grid; gap: 13px; }
.v121-listing-list--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.v121-listing-row {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) minmax(132px, auto);
    min-width: 0;
    min-height: 166px;
    overflow: hidden;
    border: 1px solid #dfe6eb;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(17, 37, 61, .045);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.v121-listing-row:hover { border-color: #bfcdd7; box-shadow: 0 15px 34px rgba(17, 37, 61, .085); transform: translateY(-2px); }
.v121-listing-row.is-promoted { border-color: #efc6bf; }
.v121-listing-row.is-promoted::before { position: absolute; z-index: 3; inset: 0 auto 0 0; width: 4px; content: ""; background: #f1614e; }

.v121-row-image {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 166px;
    overflow: hidden;
    place-items: center;
    color: #8b9aa6;
    background: #edf0f1;
}

.v121-row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.v121-listing-row:hover .v121-row-image img { transform: scale(1.025); }
.v121-row-image.is-placeholder { align-content: center; gap: 8px; background: linear-gradient(145deg, #f1f3f4, #e7ebed); }
.v121-row-image.is-placeholder > span { color: #a4afb7; font-size: 32px; }
.v121-row-image.is-placeholder > small { max-width: 120px; overflow: hidden; color: #788996; font-size: 10px; font-weight: 750; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.v121-demo-badge,
.v121-plus-badge { position: absolute; z-index: 2; top: 10px; padding: 5px 8px; color: #fff; border-radius: 7px; font-size: 9px; font-weight: 850; }
.v121-demo-badge { left: 10px; background: rgba(16, 38, 59, .9); }
.v121-plus-badge { right: 10px; background: #f1614e; }

.v121-row-content { display: flex; min-width: 0; padding: 16px 17px; flex-direction: column; }
.v121-row-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #7a8c9c; font-size: 10px; font-weight: 750; }
.v121-row-meta a { overflow: hidden; color: #506a7f; text-overflow: ellipsis; white-space: nowrap; }
.v121-row-meta span { white-space: nowrap; }
.v121-row-title h3 { display: -webkit-box; overflow: hidden; min-height: 47px; margin: 8px 0 7px; color: #10263b; font-size: 18px; line-height: 1.34; letter-spacing: -.018em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v121-row-facts { display: flex; min-height: 24px; flex-wrap: wrap; gap: 6px; }
.v121-row-facts span { padding: 4px 7px; color: #50687a; border-radius: 7px; background: #f2f5f6; font-size: 9px; font-weight: 750; }
.v121-row-seller { display: flex; margin-top: auto; padding-top: 9px; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 11px; }
.v121-row-seller a { color: #3f586e; font-weight: 750; }
.v121-row-seller span { color: #08765a; font-size: 9px; font-weight: 850; }

.v121-row-aside {
    display: flex;
    min-width: 132px;
    padding: 16px;
    align-items: flex-end;
    justify-content: center;
    border-left: 1px solid #e6ebee;
    flex-direction: column;
    text-align: right;
}

.v121-row-location { max-width: 145px; overflow: hidden; color: #718697; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.v121-row-aside > strong { margin: auto 0 8px; color: #10263b; font-size: 20px; letter-spacing: -.025em; white-space: nowrap; }
.v121-row-aside > a { color: #e45946; font-size: 10px; font-weight: 850; }

.v121-listing-list--home .v121-listing-row { grid-template-columns: 150px minmax(0, 1fr) 108px; min-height: 150px; }
.v121-listing-list--home .v121-row-image { min-height: 150px; }
.v121-listing-list--home .v121-row-content { padding: 14px; }
.v121-listing-list--home .v121-row-title h3 { min-height: 42px; font-size: 16px; }
.v121-listing-list--home .v121-row-aside { min-width: 108px; padding: 13px; }
.v121-listing-list--home .v121-row-aside > strong { font-size: 17px; }
.v121-listing-list--home .v121-row-aside > a { font-size: 0; }
.v121-listing-list--home .v121-row-aside > a span { font-size: 17px; }

.v121-results-list { gap: 12px; }
.v121-results-list + .pager { margin-top: 22px; }

.v121-market-status {
    display: grid;
    grid-template-columns: minmax(270px, 1fr) auto auto;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 36px;
    padding: 15px 18px;
    align-items: center;
    gap: 22px;
    color: #dbe5ec;
    border-radius: 16px;
    background: #10263b;
    box-shadow: 0 14px 34px rgba(16, 38, 59, .13);
}

.v121-market-copy { display: flex; min-width: 0; align-items: center; gap: 11px; }
.v121-market-copy i { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: #40c694; box-shadow: 0 0 0 5px rgba(64, 198, 148, .12); }
.v121-market-copy span { min-width: 0; }
.v121-market-copy strong,
.v121-market-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v121-market-copy strong { color: #fff; font-size: 12px; }
.v121-market-copy small { margin-top: 3px; color: #9fb1c0; font-size: 9px; }
.v121-market-numbers { display: flex; align-items: center; gap: 18px; }
.v121-market-numbers span { color: #9fb1c0; font-size: 9px; white-space: nowrap; }
.v121-market-numbers strong { margin-right: 5px; color: #fff; font-size: 16px; }
.v121-market-status > a { color: #fff; font-size: 11px; font-weight: 850; white-space: nowrap; }

@media (max-width: 1050px) {
    .v121-listing-list--home { grid-template-columns: 1fr; }
    .v121-market-status { grid-template-columns: 1fr auto; }
    .v121-market-numbers { grid-row: 2; }
    .v121-market-status > a { grid-row: 1; grid-column: 2; }
}

@media (max-width: 760px) {
    .v121-category-strip { display: flex; margin-right: -24px; padding-right: 24px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
    .v121-category-strip::-webkit-scrollbar { display: none; }
    .v121-category-strip > a { flex: 0 0 185px; scroll-snap-align: start; }
    .v121-listing-row,
    .v121-listing-list--home .v121-listing-row { grid-template-columns: 125px minmax(0, 1fr); min-height: 142px; }
    .v121-row-image,
    .v121-listing-list--home .v121-row-image { grid-row: 1 / span 2; min-height: 142px; }
    .v121-row-content,
    .v121-listing-list--home .v121-row-content { padding: 13px; }
    .v121-row-title h3,
    .v121-listing-list--home .v121-row-title h3 { min-height: 40px; margin-top: 7px; font-size: 15px; }
    .v121-row-facts span:nth-child(n+3) { display: none; }
    .v121-row-aside,
    .v121-listing-list--home .v121-row-aside { display: flex; grid-column: 2; grid-row: 2; min-width: 0; padding: 0 13px 12px; align-items: center; justify-content: space-between; border-left: 0; text-align: left; flex-direction: row; }
    .v121-row-location { display: none; }
    .v121-row-aside > strong,
    .v121-listing-list--home .v121-row-aside > strong { margin: 0; font-size: 17px; }
    .v121-row-aside > a { font-size: 0; }
    .v121-row-aside > a span { font-size: 17px; }
    .v121-row-seller { display: none; }
    .v121-market-status { grid-template-columns: 1fr; gap: 13px; }
    .v121-market-status > a { display: none; }
    .v121-market-numbers { grid-row: auto; justify-content: space-between; gap: 8px; }
}

@media (max-width: 480px) {
    .v121-category-head { align-items: flex-start; flex-direction: column; gap: 7px; }
    .v121-category-strip { margin-right: -24px; }
    .v121-listing-row,
    .v121-listing-list--home .v121-listing-row { grid-template-columns: 108px minmax(0, 1fr); }
    .v121-row-image,
    .v121-listing-list--home .v121-row-image { min-height: 134px; }
    .v121-row-meta span { display: none; }
    .v121-row-facts { display: none; }
    .v121-market-status { width: min(100% - 24px, 1180px); }
    .v121-market-copy small { display: none; }
    .v121-market-numbers span { display: grid; gap: 2px; }
    .v121-market-numbers strong { margin: 0; }
}
.v60-admin-filter-toggle { display: none; margin: 0 0 10px auto; min-height: 40px; padding: 0 13px; color: #26394e; background: #fff; border: 1px solid #d6e0e8; border-radius: 10px; font-weight: 750; }
@media (max-width: 860px) {
    .v60-admin-filter-toggle { display: inline-flex; align-items: center; }
    .v60-admin-filter-enhanced.is-collapsed { display: none !important; }
}

/* ======================================================================
   V7.0 Stabilization, Revenue & Launch Suite
   ====================================================================== */
:root {
    --v70-navy: #11253d;
    --v70-slate: #26394e;
    --v70-coral: #f1614e;
    --v70-ink: #17283c;
    --v70-muted: #6f8293;
    --v70-line: #dbe4ea;
    --v70-canvas: #f4f7f9;
    --v70-gold: #b17b00;
}

/* Admin UX completion */
.v70-page-header { align-items: flex-end; }
.v70-page-header > div:first-child > p { margin: 0 0 5px; color: var(--v70-coral); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.v70-header-action { display: flex; min-width: min(100%,520px); align-items: center; gap: 8px; }
.v70-header-action input { flex: 1; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--v70-line); border-radius: 11px; }
.v70-header-buttons { display: flex; align-items: center; gap: 8px; }
.v70-header-buttons form { margin: 0; }
.v70-regression-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 5px solid #169374; }
.v70-regression-summary.is-warning { border-left-color: #d69a12; }
.v70-regression-summary.is-failed { border-left-color: #d75040; }
.v70-regression-summary > div:first-child > span { color: var(--v70-muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.v70-regression-summary h2 { margin: 5px 0; color: var(--v70-ink); }
.v70-regression-summary p { margin: 0; color: var(--v70-muted); }
.v70-score-strip { display: flex; align-items: center; gap: 8px; }
.v70-score-strip article { display: grid; min-width: 74px; padding: 10px 12px; place-items: center; background: #f7f9fb; border: 1px solid var(--v70-line); border-radius: 12px; }
.v70-score-strip article strong { color: var(--v70-ink); font-size: 23px; }
.v70-score-strip article span { color: var(--v70-muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v70-check-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.v70-check-group .admin-card-heading > span { display: grid; min-width: 30px; height: 30px; place-items: center; color: #fff; background: var(--v70-slate); border-radius: 50%; font-size: 11px; font-weight: 800; }
.v70-check-list { display: grid; gap: 8px; }
.v70-check-list article { display: grid; grid-template-columns: 34px 1fr auto; min-height: 58px; padding: 10px; align-items: center; gap: 10px; background: #f8fafb; border: 1px solid #e7edf1; border-radius: 11px; }
.v70-check-list article > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: #159175; border-radius: 9px; font-weight: 900; }
.v70-check-list article.is-warning > span { background: #d39a12; }
.v70-check-list article.is-error > span { background: #d54f3f; }
.v70-check-list article strong,
.v70-check-list article small { display: block; }
.v70-check-list article strong { color: var(--v70-ink); font-size: 12px; }
.v70-check-list article small { margin-top: 3px; color: var(--v70-muted); line-height: 1.4; }
.v70-check-list article > b { color: var(--v70-muted); font-size: 9px; letter-spacing: .06em; }
.v70-filter-bar { display: flex; padding: 13px !important; align-items: end; gap: 10px; }
.v70-filter-bar label { display: grid; min-width: 180px; gap: 5px; color: var(--v70-muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.v70-filter-bar input { min-height: 43px; padding: 0 12px; color: var(--v70-ink); background: #fbfcfd; border: 1px solid var(--v70-line); border-radius: 10px; }
.v70-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.v70-stat-grid article { display: grid; min-height: 126px; padding: 17px; align-content: start; background: #fff; border: 1px solid var(--v70-line); border-radius: 15px; box-shadow: 0 10px 28px rgba(17,37,61,.045); }
.v70-stat-grid article span { color: var(--v70-muted); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.v70-stat-grid article strong { margin-top: 12px; color: var(--v70-ink); font-size: 25px; letter-spacing: -.035em; }
.v70-stat-grid article small { margin-top: 5px; color: var(--v70-muted); }
.v70-stat-grid article.is-money { background: linear-gradient(140deg,#fff9e4,#fff); border-color: #ecd990; }
.v70-stat-grid article.is-money strong { color: #8c6300; }
.v70-two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.v70-metric-list { display: grid; gap: 8px; }
.v70-metric-list div { display: flex; min-height: 48px; padding: 0 13px; align-items: center; justify-content: space-between; background: #f8fafb; border-radius: 10px; }
.v70-metric-list dt { color: var(--v70-muted); }
.v70-metric-list dd { margin: 0; color: var(--v70-ink); font-weight: 850; }
.v70-top-users { display: grid; gap: 7px; }
.v70-top-users article { display: grid; grid-template-columns: 36px 1fr auto; padding: 9px; align-items: center; gap: 9px; background: #f8fafb; border-radius: 10px; }
.v70-top-users article > span { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--v70-slate); border-radius: 10px; font-size: 10px; font-weight: 850; }
.v70-top-users strong,
.v70-top-users small { display: block; }
.v70-top-users small { margin-top: 2px; color: var(--v70-muted); }
.v70-top-users b { color: var(--v70-coral); }
.v70-sticky-table thead th { position: sticky; z-index: 2; top: 0; background: #f6f8fa; box-shadow: 0 1px 0 var(--v70-line); }
.admin-v60 .admin-table-wrap { scrollbar-color: #9cafbe #eef2f5; }
.admin-v60 .admin-panel { box-shadow: 0 8px 28px rgba(17,37,61,.035); }
.admin-v60 input:focus,
.admin-v60 select:focus,
.admin-v60 textarea:focus { border-color: #6f879b !important; outline: 3px solid rgba(112,132,151,.13) !important; }

/* Vehicle make/model experience */
.v60-wizard-step[data-wizard-step="0"] .vehicle-fields-panel { margin-top: 3px; }
.vehicle-fields-panel:not([hidden]) { animation: v70PanelIn .18s ease; }
.vehicle-fields-heading span { background: #eaf1f7; color: #315b80; }
#vehicle-make,
#vehicle-model { background-color: #fff; font-weight: 750; }
#vehicle-make:valid,
#vehicle-model:valid { border-color: #9dc9b9; background-color: #fbfffd; }
.v70-vehicle-catalog-note { grid-column: 1/-1; margin: -4px 0 3px; color: var(--v70-muted); font-size: 11px; }
@keyframes v70PanelIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Public site refinement without replacing the established home design */
.listing-card { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.listing-card:hover { transform: translateY(-3px); border-color: #c7d5df; box-shadow: 0 18px 38px rgba(17,37,61,.10); }
.listing-card.is-promoted { border-color: #efc9c2; box-shadow: 0 12px 28px rgba(241,97,78,.08); }
.listing-card.is-promoted::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--v70-coral); border-radius: inherit; }
.listing-vehicle-meta { color: #5d7487; font-weight: 700; }

/* Credit center redesign */
.v70-credit-page { padding-top: 34px; background: #f7f4ee; }
.v70-credit-hero { display: flex; width: min(1320px,calc(100% - 40px)); margin: 0 auto 28px; align-items: flex-end; justify-content: space-between; gap: 24px; }
.v70-credit-hero h1 { margin: 5px 0 9px; color: var(--v70-ink); font-size: clamp(38px,5vw,64px); letter-spacing: -.06em; }
.v70-credit-hero p:last-child { max-width: 780px; color: #3d5367; font-size: 16px; }
.v70-credit-balance { display: grid; min-width: 270px; padding: 20px 22px; color: #5f4500; background: linear-gradient(135deg,#fff8d8,#ffe99f); border: 1px solid #ebce68; border-radius: 19px; box-shadow: 0 18px 38px rgba(100,75,0,.10); }
.v70-credit-balance > span { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.v70-credit-balance strong { margin: 7px 0 3px; font-size: 34px; letter-spacing: -.04em; }
.v70-credit-balance small { font-size: 13px; }
.v70-credit-balance em { color: #82671f; font-size: 10px; font-style: normal; }
.v70-account-layout { width: min(1320px,calc(100% - 40px)); margin: 0 auto; }
.v70-credit-stack { gap: 18px; }
.v70-credit-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; background: #fff; border: 1px solid #e0e4e4; border-radius: 17px; }
.v70-credit-steps article { display: flex; min-height: 90px; padding: 16px; align-items: center; gap: 11px; border-right: 1px solid #e7ebec; }
.v70-credit-steps article:last-child { border-right: 0; }
.v70-credit-steps article > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--v70-slate); border-radius: 11px; font-weight: 900; }
.v70-credit-steps strong,
.v70-credit-steps small { display: block; }
.v70-credit-steps strong { color: var(--v70-ink); }
.v70-credit-steps small { margin-top: 3px; color: var(--v70-muted); font-size: 10px; }
.v70-credit-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 !important; overflow: hidden; }
.v70-credit-benefits article { display: flex; min-height: 102px; padding: 18px; align-items: flex-start; gap: 11px; background: #fbfcfc; border-right: 1px solid #e8ecee; }
.v70-credit-benefits article:last-child { border-right: 0; }
.v70-credit-benefits article > span { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--v70-coral); border-radius: 11px; }
.v70-credit-benefits strong,
.v70-credit-benefits small { display: block; }
.v70-credit-benefits strong { color: var(--v70-ink); }
.v70-credit-benefits small { margin-top: 5px; color: var(--v70-muted); line-height: 1.45; }
.v70-credit-purchase { padding: 26px !important; }
.v70-credit-package-fieldset { min-width: 0; padding: 0; border: 0; }
.v70-credit-package-fieldset legend { margin: 18px 0 11px; color: var(--v70-ink); font-size: 13px; font-weight: 850; }
.v70-credit-packages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.v70-credit-package { position: relative; cursor: pointer; }
.v70-credit-package > input { position: absolute; opacity: 0; pointer-events: none; }
.v70-package-card { position: relative; display: grid; min-height: 225px; padding: 20px; overflow: hidden; align-content: start; color: var(--v70-ink); background: #fff; border: 2px solid #dbe4ea; border-radius: 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.v70-credit-package:hover .v70-package-card { transform: translateY(-3px); border-color: #bacbd6; box-shadow: 0 18px 36px rgba(17,37,61,.08); }
.v70-credit-package input:focus-visible + .v70-package-card { outline: 4px solid rgba(241,97,78,.18); }
.v70-credit-package input:checked + .v70-package-card { border-color: var(--v70-coral); background: linear-gradient(150deg,#fff,#fff8f6); box-shadow: 0 18px 36px rgba(241,97,78,.12); transform: translateY(-4px); }
.v70-package-top { display: flex; min-height: 27px; align-items: center; justify-content: space-between; gap: 8px; }
.v70-package-top small { color: #74899a; font-weight: 850; }
.v70-package-top b { padding: 5px 8px; color: #fff; background: var(--v70-coral); border-radius: 999px; font-size: 9px; text-transform: uppercase; }
.v70-package-card > strong { margin-top: 17px; font-size: 34px; letter-spacing: -.045em; }
.v70-package-card > strong em { font-size: 13px; font-style: normal; }
.v70-package-card > i { justify-self: start; margin-top: 8px; padding: 5px 9px; color: #08755d; background: #e6f8f2; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 850; }
.v70-package-card > i.is-empty { opacity: 0; }
.v70-package-total { margin-top: 14px; color: var(--v70-muted); font-size: 11px; }
.v70-package-price { margin-top: auto; padding-top: 20px; color: var(--v70-gold); font-size: 24px; font-weight: 900; }
.v70-package-price b { font-size: 12px; }
.v70-package-check { position: absolute; right: 15px; bottom: 15px; display: grid; width: 29px; height: 29px; opacity: 0; place-items: center; color: #fff; background: var(--v70-coral); border-radius: 50%; font-size: 12px; font-weight: 900; transform: scale(.7); transition: .18s ease; }
.v70-credit-package input:checked + .v70-package-card .v70-package-check { opacity: 1; transform: scale(1); }
.v70-credit-checkout { display: grid; grid-template-columns: minmax(0,1fr) 320px; margin-top: 22px; gap: 16px; }
.v70-credit-note { display: grid; align-content: start; gap: 7px; }
.v70-credit-note > span { color: var(--v70-ink); font-size: 12px; font-weight: 850; }
.v70-credit-note textarea { width: 100%; min-height: 142px; padding: 14px; resize: vertical; color: var(--v70-ink); background: #fbfcfd; border: 1px solid #d8e2e8; border-radius: 13px; font: inherit; line-height: 1.5; }
.v70-credit-note small { color: var(--v70-muted); line-height: 1.45; }
.v70-credit-order-summary { display: grid; padding: 18px; align-content: start; color: #fff; background: var(--v70-navy); border-radius: 16px; box-shadow: 0 16px 30px rgba(17,37,61,.15); }
.v70-credit-order-summary > span { color: #9fb2c4; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.v70-credit-order-summary > strong { margin-top: 7px; font-size: 25px; }
.v70-credit-order-summary dl { display: grid; margin: 18px 0; gap: 8px; }
.v70-credit-order-summary dl div { display: flex; min-height: 35px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.v70-credit-order-summary dt { color: #aebdcc; }
.v70-credit-order-summary dd { margin: 0; font-weight: 850; }
.v70-credit-order-summary .primary-button { width: 100%; margin-top: auto; background: var(--v70-coral); }
.v70-credit-order-list { display: grid; gap: 9px; }
.v70-credit-order-list > article { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 14px; align-items: center; gap: 10px; background: #f8fafb; border: 1px solid #e7ecef; border-radius: 12px; }
.v70-order-main span,
.v70-order-main strong,
.v70-order-main small { display: block; }
.v70-order-main span { color: var(--v70-coral); font-size: 10px; font-weight: 850; }
.v70-order-main strong { margin-top: 4px; color: var(--v70-ink); font-size: 18px; }
.v70-order-main small { margin-top: 3px; color: var(--v70-muted); }
.v70-receipt-upload { grid-column: 1/-1; display: flex; padding-top: 10px; align-items: center; gap: 10px; border-top: 1px solid #e0e7eb; }
.v70-receipt-upload input { flex: 1; min-width: 0; }
.v70-receipt-name { grid-column: 1/-1; color: var(--v70-muted); }
.v70-bank-panel { background: linear-gradient(150deg,#fff,#faf8f0); }

@media (max-width: 1120px) {
    .v70-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .v70-check-groups { grid-template-columns: 1fr; }
    .v70-credit-checkout { grid-template-columns: 1fr; }
    .v70-credit-order-summary { min-height: 245px; }
}
@media (max-width: 860px) {
    .v70-page-header,
    .v70-regression-summary,
    .v70-credit-hero { align-items: stretch; flex-direction: column; }
    .v70-header-action { min-width: 0; flex-direction: column; align-items: stretch; }
    .v70-score-strip { flex-wrap: wrap; }
    .v70-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v70-two-column { grid-template-columns: 1fr; }
    .v70-filter-bar { align-items: stretch; flex-direction: column; }
    .v70-filter-bar label { min-width: 0; }
    .v70-credit-hero,
    .v70-account-layout { width: min(100% - 24px,1320px); }
    .v70-credit-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v70-credit-steps article:nth-child(2) { border-right: 0; }
    .v70-credit-steps article:nth-child(-n+2) { border-bottom: 1px solid #e7ebec; }
    .v70-credit-benefits { grid-template-columns: 1fr; }
    .v70-credit-benefits article { border-right: 0; border-bottom: 1px solid #e8ecee; }
    .v70-credit-benefits article:last-child { border-bottom: 0; }
    .v70-credit-packages { grid-template-columns: 1fr; }
    .v70-package-card { min-height: 190px; }
}
@media (max-width: 620px) {
    .v70-stat-grid { grid-template-columns: 1fr; }
    .v70-score-strip article { min-width: 62px; }
    .v70-credit-balance { min-width: 0; }
    .v70-credit-steps { grid-template-columns: 1fr; }
    .v70-credit-steps article { border-right: 0; border-bottom: 1px solid #e7ebec; }
    .v70-credit-steps article:last-child { border-bottom: 0; }
    .v70-credit-purchase { padding: 18px 14px !important; }
    .v70-credit-order-list > article { grid-template-columns: 1fr; }
    .v70-receipt-upload { flex-direction: column; align-items: stretch; }
    .v70-credit-ledger article { grid-template-columns: 1fr; }
}
.v70-admin-active-filters { display: flex; margin: -6px 0 15px; flex-wrap: wrap; align-items: center; gap: 6px; }
.v70-admin-active-filters span,
.v70-admin-active-filters a { padding: 6px 9px; color: #526a7d; background: #fff; border: 1px solid #dbe4ea; border-radius: 999px; font-size: 10px; text-decoration: none; }
.v70-admin-active-filters a { color: #c64d3e; border-color: #efccc6; }
@media (max-width: 700px) {
    .admin-v60 .admin-table-wrap table.v70-mobile-cards,
    .admin-v60 .admin-table-wrap table.v70-mobile-cards tbody,
    .admin-v60 .admin-table-wrap table.v70-mobile-cards tr,
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td { display: block; width: 100%; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards thead { display: none; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards tr { margin-bottom: 10px; padding: 9px; background: #fff; border: 1px solid #dbe4ea; border-radius: 12px; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td { display: grid; grid-template-columns: 105px minmax(0,1fr); padding: 8px; border-bottom: 1px solid #edf1f4; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td::before { content: attr(data-label); color: #7b8d9b; font-size: 9px; font-weight: 850; text-transform: uppercase; }
}


/* ======================================================================
   V8.0 Vehicle, Credit Operations & Production Launch
   ====================================================================== */
.v80-page-header>div:first-child>p{margin:0 0 5px;color:#f1614e;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.v80-inline-filters,.v80-inline-form,.v80-filter-grid{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.v80-inline-filters select,.v80-inline-form input,.v80-inline-form select,.v80-filter-grid input,.v80-filter-grid select,.v80-form-grid input,.v80-form-grid select{min-height:43px;padding:0 12px;border:1px solid #dbe4ea;border-radius:10px;background:#fff;color:#17283c}.v80-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.v80-stat-grid article{min-height:105px;padding:16px;background:#fff;border:1px solid #dbe4ea;border-radius:15px;box-shadow:0 8px 25px rgba(17,37,61,.04)}.v80-stat-grid span{display:block;color:#6f8293;font-size:10px;font-weight:850;text-transform:uppercase}.v80-stat-grid strong{display:block;margin-top:12px;color:#17283c;font-size:25px}.v80-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.v80-zero-list,.v80-metric-list,.v80-synonym-list,.v80-catalog-list,.v80-model-list{display:grid;gap:8px}.v80-zero-list button,.v80-metric-list>div,.v80-catalog-list article,.v80-model-list article,.v80-synonym-list article{display:flex;min-height:50px;padding:10px 12px;align-items:center;justify-content:space-between;gap:10px;background:#f8fafb;border:1px solid #e4ebf0;border-radius:11px}.v80-zero-list button{width:100%;cursor:pointer}.v80-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v80-form-grid label{display:grid;gap:5px}.v80-toggle{display:flex!important;align-items:center;grid-column:1/-1}.v80-toggle input{min-height:auto}.v80-synonym-list article>div strong,.v80-synonym-list article>div span,.v80-catalog-list article a strong,.v80-catalog-list article a span{display:block}.v80-synonym-list article form{display:flex;align-items:center;gap:7px}.v80-catalog-list article a{flex:1;text-decoration:none}.v80-catalog-list article.is-inactive{opacity:.55}.v80-model-list article form{display:grid;grid-template-columns:1fr 90px auto auto;gap:8px;align-items:center;width:100%}.v80-action-stack{display:grid;gap:6px}.v80-action-stack form{display:flex;gap:6px}.v80-action-stack input{min-height:36px;padding:0 8px;border:1px solid #dbe4ea;border-radius:8px}.v80-heartbeat-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:5px solid #f1614e}.v80-heartbeat-card span,.v80-heartbeat-card strong{display:block}.v80-heartbeat-card strong{margin-top:6px}.v80-command{display:block;padding:14px;overflow:auto;background:#11253d;color:#dbe8f1;border-radius:10px}.account-credit-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;color:#8c6300;background:#fff3c3;border:1px solid #ecd276;border-radius:999px;font-weight:850}.listing-detail-contact{position:sticky;top:18px}.mobile-filter-drawer{overscroll-behavior:contain}
@media(max-width:980px){.v80-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v80-two-column{grid-template-columns:1fr}.v80-catalog-layout{display:block}.v80-catalog-layout>section{margin-bottom:14px}.v80-heartbeat-card{align-items:stretch;flex-direction:column}}
@media(max-width:680px){.v80-stat-grid{grid-template-columns:1fr 1fr}.v80-inline-filters,.v80-inline-form,.v80-filter-grid{display:grid;grid-template-columns:1fr}.v80-form-grid{grid-template-columns:1fr}.v80-model-list article form{grid-template-columns:1fr}.v80-synonym-list article{align-items:stretch;flex-direction:column}.v80-synonym-list article form{align-items:stretch;flex-direction:column}.admin-table-wrap table{min-width:760px}}


/* V9.0 OFFICIAL LAUNCH */
.v9-mobile-nav{display:none}.v9-seller-hero,.v9-category-hero,.v9-content-page,.v9-invoice{background:#fff;border:1px solid #e4eaf0;border-radius:24px;box-shadow:0 18px 45px rgba(17,37,61,.08)}
.v9-seller-hero{display:grid;grid-template-columns:110px 1fr;gap:24px;padding:30px;align-items:start}.v9-avatar{width:104px;height:104px;border-radius:28px;background:#11253d;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:800;overflow:hidden}.v9-avatar img{width:100%;height:100%;object-fit:cover}.v9-trust-row,.v9-seller-contact{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.v9-trust-row span{background:#eef7f4;color:#176b55;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700}.v9-seller-contact a,.v9-seller-contact span{color:#52677c}.v9-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 28px}.v9-stat-grid div{background:#fff;border:1px solid #e4eaf0;border-radius:18px;padding:18px;display:flex;flex-direction:column}.v9-stat-grid strong{font-size:26px;color:#11253d}.v9-stat-grid span{color:#708497;font-size:13px}
.v9-category-hero{padding:34px;margin-bottom:18px;background:linear-gradient(135deg,#fff 0%,#f4f7fa 100%)}.v9-category-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.v9-category-chips a{background:#fff;border:1px solid #dbe3ea;border-radius:999px;padding:9px 14px;color:#26394e;font-weight:700}.v9-category-toolbar{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.v9-faq{margin-top:36px}.v9-faq details{background:#fff;border:1px solid #e4eaf0;border-radius:16px;padding:16px 18px;margin:9px 0}.v9-faq summary{font-weight:800;cursor:pointer}.v9-rich-copy{line-height:1.8;color:#40566c;white-space:normal}.v9-content-page{max-width:900px;margin:auto;padding:42px}.v9-content-page h1{font-size:clamp(30px,5vw,52px);color:#11253d}.v9-content-lead{font-size:20px;color:#52677c}
.v9-message-tabs{display:flex;gap:8px;margin-bottom:16px;border-bottom:1px solid #e4eaf0}.v9-message-tabs a{padding:12px 16px;color:#708497;font-weight:800}.v9-message-tabs a.active{color:#11253d;border-bottom:3px solid #f1614e}.v9-conversation-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.v9-quick-replies{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px 0}.v9-quick-replies button{border:1px solid #dbe3ea;background:#f7f9fb;border-radius:999px;padding:8px 12px;cursor:pointer;color:#26394e}
.v9-invoice{max-width:900px;margin:20px auto;padding:34px}.v9-invoice header,.v9-invoice footer{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.v9-invoice header>div:last-child{display:flex;flex-direction:column;text-align:right}.v9-invoice table{width:100%;border-collapse:collapse;margin:28px 0}.v9-invoice th,.v9-invoice td{text-align:left;padding:14px;border-bottom:1px solid #e4eaf0}.v9-print-button{display:block;margin:16px auto}.v9-table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v9-table-actions form{margin:0}.v9-profile-public{margin-top:24px;padding-top:20px;border-top:1px solid #e4eaf0}.form-grid-span{grid-column:1/-1}
@media(max-width:800px){body{padding-bottom:76px}.v9-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));left:10px;right:10px;bottom:8px;z-index:1000;background:#11253d;border-radius:20px;padding:8px;box-shadow:0 14px 40px rgba(17,37,61,.3)}.v9-mobile-nav a{color:#aec0d0;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:17px;text-decoration:none}.v9-mobile-nav a span{font-size:10px}.v9-mobile-nav a.primary{background:#f1614e;color:#fff;border-radius:14px;padding:6px}.v9-seller-hero{grid-template-columns:1fr;padding:22px}.v9-stat-grid{grid-template-columns:repeat(3,1fr)}.v9-stat-grid div{padding:12px}.v9-stat-grid strong{font-size:20px}.v9-content-page,.v9-invoice,.v9-category-hero{padding:22px;border-radius:18px}.v9-invoice header,.v9-invoice footer{flex-direction:column}.v9-invoice header>div:last-child{text-align:left}.v9-category-toolbar{align-items:flex-start;gap:12px}.site-footer{padding-bottom:80px}}
@media print{.site-header,.site-footer,.v9-mobile-nav,.v9-print-button,.admin-sidebar,.admin-topbar{display:none!important}.v9-invoice{border:0;box-shadow:none;padding:0}.admin-shell{display:block}.admin-content{padding:0}}

/* V11 unified growth suite */
.seller-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.seller-dashboard-grid .info-card strong{display:block;font-size:30px;margin-top:8px}.admin-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-form-grid label{display:flex;flex-direction:column;gap:6px}.admin-form-grid .wide{grid-column:1/-1}@media(max-width:900px){.seller-dashboard-grid,.admin-form-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.seller-dashboard-grid,.admin-form-grid{grid-template-columns:1fr}}

/* ======================================================================
   V11.1 Visual stabilization & localization
   ====================================================================== */
.v111-admin-page {
    --v111-ink: #17283c;
    --v111-muted: #687b8e;
    --v111-line: #dfe7ed;
    --v111-soft: #f6f8fa;
    --v111-accent: #f1614e;
    --v111-success: #16805e;
    --v111-warning: #a36b00;
    --v111-danger: #c43f46;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.v111-admin-page .admin-page-header {
    margin: 0;
    padding: 25px 26px;
    border: 1px solid var(--v111-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(17, 37, 61, .045);
}

.v111-admin-page .admin-page-header p {
    text-transform: uppercase;
}

.v111-admin-page .admin-page-header form {
    flex: 0 0 auto;
    margin: 0;
}

.v111-admin-page .admin-primary-button,
.v111-admin-page .admin-secondary-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}

.v111-admin-page .admin-primary-button {
    color: #fff;
    border: 1px solid var(--v111-accent);
    background: var(--v111-accent);
    box-shadow: 0 8px 20px rgba(241, 97, 78, .18);
}

.v111-admin-page .admin-secondary-button {
    color: var(--v111-ink);
    border: 1px solid #ccd8e0;
    background: #fff;
}

.v111-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.v111-kpi-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v111-kpi-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.v111-kpi-grid--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.v111-kpi-grid article {
    position: relative;
    display: grid;
    min-height: 112px;
    align-content: space-between;
    gap: 14px;
    overflow: hidden;
    padding: 17px 18px;
    border: 1px solid var(--v111-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 37, 61, .035);
}

.v111-kpi-grid article::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: #9fb0bd;
}

.v111-kpi-grid article.is-accent::before { background: var(--v111-accent); }
.v111-kpi-grid article.is-success::before { background: var(--v111-success); }
.v111-kpi-grid article.is-warning::before { background: #e2a525; }
.v111-kpi-grid article.is-danger::before { background: var(--v111-danger); }

.v111-kpi-grid span {
    color: var(--v111-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

.v111-kpi-grid strong {
    color: var(--v111-ink);
    font-size: clamp(24px, 2.2vw, 32px);
    letter-spacing: -.035em;
    line-height: 1;
}

.v111-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--v111-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 37, 61, .035);
}

.v111-panel--padded { padding: 22px; }

.v111-panel-heading {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    border-bottom: 1px solid #e8eef2;
}

.v111-panel-heading h2,
.v111-panel--padded > h2 {
    margin: 0;
    color: var(--v111-ink);
    font-size: 18px;
    letter-spacing: -.02em;
}

.v111-panel-heading p,
.v111-panel--padded > p {
    margin: 5px 0 0;
    color: var(--v111-muted);
    font-size: 12px;
    line-height: 1.65;
}

.v111-table-wrap { max-width: 100%; overflow-x: auto; }

.v111-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: var(--v111-ink);
    font-size: 12px;
}

.v111-table th,
.v111-table td {
    padding: 14px 17px;
    border-bottom: 1px solid #e9eef2;
    text-align: left;
    vertical-align: middle;
}

.v111-table th {
    color: var(--v111-muted);
    background: #f8fafb;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v111-table tbody tr:last-child td { border-bottom: 0; }
.v111-table tbody tr:hover { background: #fbfcfd; }
.v111-table td:first-child { min-width: 150px; }
.v111-table a { color: #315f86; font-weight: 800; }
.v111-table form { margin: 0; }

.v111-status {
    display: inline-flex;
    width: max-content;
    min-width: 52px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    color: #52677a;
    border: 1px solid #d7e0e7;
    border-radius: 999px;
    background: #f6f8fa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.v111-status--success { color: #0d6d50; border-color: #c9e9dd; background: #edf9f5; }
.v111-status--warning { color: #8a5a00; border-color: #eedca9; background: #fff8e6; }
.v111-status--danger { color: #a8333a; border-color: #f0cdd0; background: #fff1f2; }

.v111-empty {
    padding: 42px 20px !important;
    color: var(--v111-muted);
    text-align: center !important;
}

.v111-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    padding: 20px;
}

.v111-form-grid label,
.v111-filter-bar label {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.v111-form-grid label > span,
.v111-filter-bar label > span {
    color: #455c70;
    font-size: 10px;
    font-weight: 850;
}

.v111-form-grid input,
.v111-form-grid select,
.v111-filter-bar input,
.v111-filter-bar select,
.v111-inline-action select {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    color: var(--v111-ink);
    border: 1px solid #d5e0e7;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    font-size: 12px;
}

.v111-form-grid input:focus,
.v111-form-grid select:focus,
.v111-filter-bar input:focus,
.v111-filter-bar select:focus {
    border-color: var(--v111-accent);
    box-shadow: 0 0 0 3px rgba(241, 97, 78, .11);
}

.v111-form-grid .wide { grid-column: 1 / -1; }

.v111-form-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 2px;
}

.v111-form-actions .admin-primary-button { min-width: 150px; }

.v111-filter-bar {
    display: flex;
    align-items: end;
    gap: 11px;
    padding: 14px;
}

.v111-filter-bar label { min-width: 190px; }

.v111-inline-action {
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 7px;
}

.v111-inline-action .admin-primary-button { min-height: 38px; }

.v111-pagination { padding: 14px 18px; border-top: 1px solid #e9eef2; }

.v111-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 17px;
    color: #52677a;
    border: 1px solid #dce6ed;
    border-radius: 13px;
    background: #f7fafc;
    font-size: 12px;
    line-height: 1.65;
}

.v111-note strong { color: var(--v111-ink); }

/* Seller dashboard */
.v111-seller-page {
    width: min(100% - 40px, 1240px);
    min-height: 560px;
    margin: 0 auto;
    padding: 42px 0 70px;
    color: #17283c;
}

.v111-seller-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 28px 30px;
    border: 1px solid #e0e7ed;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff 0%, #f4f7f9 100%);
    box-shadow: 0 16px 42px rgba(17, 37, 61, .06);
}

.v111-seller-hero .eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #f1614e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.v111-seller-hero h1 {
    margin: 0;
    font-size: clamp(29px, 4vw, 42px);
    letter-spacing: -.045em;
}

.v111-seller-hero p {
    max-width: 650px;
    margin: 8px 0 0;
    color: #64798c;
    line-height: 1.6;
}

.v111-seller-hero .primary-button { white-space: nowrap; }

.v111-seller-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.v111-seller-kpis article {
    position: relative;
    min-height: 128px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #e1e8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 37, 61, .045);
}

.v111-seller-kpis article::after {
    position: absolute;
    right: -18px;
    bottom: -24px;
    width: 78px;
    height: 78px;
    content: "";
    border-radius: 50%;
    background: rgba(241, 97, 78, .08);
}

.v111-seller-kpis span { color: #6b7f91; font-size: 12px; font-weight: 800; }
.v111-seller-kpis strong { display: block; margin-top: 22px; font-size: 32px; letter-spacing: -.04em; }

.v111-seller-layout {
    display: grid;
    grid-template-columns: minmax(280px, .38fr) minmax(0, .62fr);
    gap: 18px;
}

.v111-seller-card {
    overflow: hidden;
    border: 1px solid #e1e8ed;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 37, 61, .04);
}

.v111-seller-card > header {
    padding: 19px 20px;
    border-bottom: 1px solid #e8edf1;
}

.v111-seller-card h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.v111-seller-card header p { margin: 5px 0 0; color: #6b7f91; font-size: 12px; }

.v111-pipeline-list { display: grid; gap: 15px; padding: 20px; }

.v111-pipeline-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
}

.v111-pipeline-row span { color: #536a7d; font-size: 12px; font-weight: 750; }
.v111-pipeline-row strong { font-size: 13px; }
.v111-pipeline-track { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 999px; background: #edf1f4; }
.v111-pipeline-track i { display: block; height: 100%; border-radius: inherit; background: #f1614e; }
.v111-pipeline-row:nth-child(2) i { background: #e2a525; }
.v111-pipeline-row:nth-child(3) i { background: #8095a7; }
.v111-pipeline-row:nth-child(4) i { background: #b45d66; }

.v111-seller-table-wrap { overflow-x: auto; }

.v111-seller-table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 13px;
}

.v111-seller-table th,
.v111-seller-table td { padding: 15px 18px; border-bottom: 1px solid #e9eef2; text-align: left; }
.v111-seller-table th { color: #6b7f91; background: #f8fafb; font-size: 10px; text-transform: uppercase; }
.v111-seller-table tbody tr:last-child td { border-bottom: 0; }
.v111-seller-table a { color: #214e73; font-weight: 800; }
.v111-seller-empty { padding: 42px 18px !important; color: #6b7f91; text-align: center !important; }

@media (max-width: 1200px) {
    .v111-kpi-grid--five,
    .v111-kpi-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .v111-kpi-grid,
    .v111-kpi-grid--three,
    .v111-kpi-grid--five,
    .v111-kpi-grid--six,
    .v111-seller-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v111-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v111-seller-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .v111-admin-page .admin-page-header,
    .v111-seller-hero { align-items: stretch; flex-direction: column; }
    .v111-admin-page .admin-page-header { padding: 21px 18px; }
    .v111-admin-page .admin-page-header form,
    .v111-admin-page .admin-page-header button { width: 100%; }
    .v111-kpi-grid,
    .v111-kpi-grid--three,
    .v111-kpi-grid--five,
    .v111-kpi-grid--six,
    .v111-form-grid,
    .v111-seller-kpis { grid-template-columns: 1fr; }
    .v111-filter-bar { align-items: stretch; flex-direction: column; }
    .v111-filter-bar label { min-width: 0; }
    .v111-inline-action { min-width: 0; align-items: stretch; flex-direction: column; }
    .v111-form-actions { justify-content: stretch; }
    .v111-form-actions .admin-primary-button { width: 100%; }
    .v111-seller-page { width: min(100% - 24px, 1240px); padding-top: 24px; }
    .v111-seller-hero { padding: 22px 20px; }
    .v111-seller-hero .primary-button { width: 100%; text-align: center; }
}

/* V12.0 — public marketplace completion and accessible navigation */
.v120-skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 11px 16px;
    border-radius: 10px;
    color: #fff;
    background: #10263b;
    box-shadow: 0 10px 30px rgba(16, 38, 59, .25);
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.v120-skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: 0; }

.v120-live-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    gap: 28px;
    width: min(1180px, calc(100% - 40px));
    margin: 22px auto 34px;
    padding: 30px;
    border: 1px solid #dfe7eb;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff 0%, #f7faf9 100%);
    box-shadow: 0 18px 46px rgba(16, 38, 59, .06);
}

.v120-live-copy h2 { margin: 4px 0 8px; color: #10263b; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; }
.v120-live-copy > p:not(.section-kicker) { max-width: 620px; margin: 0; color: #607489; line-height: 1.65; }
.v120-live-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.v120-live-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v120-live-stats article { display: flex; min-height: 126px; padding: 18px; border: 1px solid #e2e9ed; border-radius: 17px; background: #fff; flex-direction: column; justify-content: center; }
.v120-live-stats strong { color: #10263b; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.04em; }
.v120-live-stats span { margin-top: 8px; color: #687d8e; font-size: 12px; font-weight: 750; line-height: 1.35; }

@media (max-width: 900px) {
    .v120-live-strip { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .v120-live-strip { width: min(100% - 24px, 1180px); padding: 21px; border-radius: 19px; }
    .v120-live-stats { grid-template-columns: 1fr; }
    .v120-live-stats article { min-height: 96px; }
    .v120-live-actions { align-items: stretch; flex-direction: column; }
    .v120-live-actions a { width: 100%; text-align: center; }
}

/* V12.1.1 — category menu panel and full-width marketplace rows */
.v1211-category-panel {
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid #e0e6ea;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16, 38, 59, .055);
}

.v1211-category-panel > header {
    display: flex;
    min-height: 72px;
    padding: 16px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #e8edef;
}

.v1211-category-panel > header > div { display: grid; gap: 3px; }
.v1211-category-panel > header strong { color: #10263b; font-size: 17px; letter-spacing: -.015em; }
.v1211-category-panel > header div span { color: #718396; font-size: 11px; }
.v1211-category-panel > header > a { display: inline-flex; align-items: center; gap: 8px; color: #e75b49; font-size: 11px; font-weight: 850; white-space: nowrap; }
.v1211-category-panel > header > a span { font-size: 17px; }

.v1211-category-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v1211-category-list > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 82px;
    padding: 15px 19px;
    align-items: center;
    gap: 12px;
    color: #173149;
    border-right: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    transition: color .18s ease, background .18s ease;
}

.v1211-category-list > a:nth-child(3n) { border-right: 0; }
.v1211-category-list > a:hover { color: #e65b49; background: #fbf8f4; }
.v1211-category-list svg { width: 42px; height: 42px; padding: 10px; color: #e85c49; border-radius: 12px; background: #fff0ec; }
.v1211-category-list > a > span { min-width: 0; }
.v1211-category-list strong,
.v1211-category-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v1211-category-list strong { color: inherit; font-size: 13px; }
.v1211-category-list small { margin-top: 4px; color: #8493a0; font-size: 10px; }
.v1211-category-list b { color: #a7b2bb; font-size: 22px; font-weight: 500; transition: color .18s ease, transform .18s ease; }
.v1211-category-list > a:hover b { color: #e65b49; transform: translateX(3px); }

.v121-home-listings { max-width: 1240px; padding-top: 64px; }
.v121-listing-list--home { grid-template-columns: 1fr; gap: 16px; }
.v121-results-list { gap: 14px; }

.v121-listing-row,
.v121-listing-list--home .v121-listing-row {
    grid-template-columns: 240px minmax(0, 1fr) 190px;
    min-height: 190px;
    border-color: #dfe6ea;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 38, 59, .055);
}

.v121-listing-row:hover { border-color: #ccd7de; box-shadow: 0 17px 38px rgba(16, 38, 59, .095); transform: translateY(-1px); }
.v121-listing-row.is-promoted::before { width: 5px; }
.v121-row-image,
.v121-listing-list--home .v121-row-image { min-height: 190px; background: #eef1f2; }
.v121-row-image img { object-fit: cover; }
.v121-row-image.is-demo img { object-fit: contain; transform: none !important; }
.v121-row-image.is-demo { background: #eef2f3; }
.v121-row-image.is-placeholder > small { max-width: 180px; }

.v121-row-content,
.v121-listing-list--home .v121-row-content { padding: 20px 22px; }
.v121-row-meta { font-size: 11px; }
.v121-row-title h3,
.v121-listing-list--home .v121-row-title h3 { min-height: 0; margin: 9px 0 6px; font-size: 20px; line-height: 1.28; }
.v121-row-summary { display: -webkit-box; overflow: hidden; max-width: 760px; margin: 0 0 11px; color: #6c7e8d; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v121-row-facts { min-height: 25px; }
.v121-row-facts span { padding: 5px 8px; border-radius: 8px; font-size: 9px; }
.v121-row-seller { padding-top: 10px; font-size: 11px; }

.v121-row-aside,
.v121-listing-list--home .v121-row-aside {
    min-width: 190px;
    padding: 20px;
    align-items: stretch;
    justify-content: flex-start;
    border-left-color: #e8edef;
    text-align: left;
}

.v121-row-location { max-width: 100%; font-size: 11px; }
.v121-row-aside > strong,
.v121-listing-list--home .v121-row-aside > strong { margin: auto 0 12px; font-size: 22px; }
.v121-row-aside > a,
.v121-listing-list--home .v121-row-aside > a {
    display: inline-flex;
    width: 100%;
    min-height: 38px;
    padding: 8px 11px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    border-radius: 10px;
    background: #f1614e;
    font-size: 10px;
}
.v121-listing-list--home .v121-row-aside > a span,
.v121-row-aside > a span { font-size: 16px; }

@media (max-width: 980px) {
    .v1211-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v1211-category-list > a:nth-child(3n) { border-right: 1px solid #edf0f2; }
    .v1211-category-list > a:nth-child(2n) { border-right: 0; }
    .v121-listing-row,
    .v121-listing-list--home .v121-listing-row { grid-template-columns: 205px minmax(0, 1fr) 170px; }
    .v121-row-aside,
    .v121-listing-list--home .v121-row-aside { min-width: 170px; }
}

@media (max-width: 760px) {
    .v1211-category-panel { margin-top: 27px; border-radius: 17px; }
    .v1211-category-panel > header { min-height: 66px; padding: 14px 16px; }
    .v1211-category-panel > header strong { font-size: 15px; }
    .v1211-category-panel > header div span { display: none; }
    .v1211-category-list > a { min-height: 70px; padding: 12px 15px; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
    .v1211-category-list svg { width: 36px; height: 36px; padding: 8px; }
    .v121-listing-row,
    .v121-listing-list--home .v121-listing-row { grid-template-columns: 138px minmax(0, 1fr); min-height: 164px; }
    .v121-row-image,
    .v121-listing-list--home .v121-row-image { grid-row: 1 / span 2; min-height: 164px; }
    .v121-row-content,
    .v121-listing-list--home .v121-row-content { padding: 14px 15px 8px; }
    .v121-row-title h3,
    .v121-listing-list--home .v121-row-title h3 { min-height: 39px; margin-top: 7px; font-size: 15px; }
    .v121-row-summary,
    .v121-row-seller { display: none; }
    .v121-row-aside,
    .v121-listing-list--home .v121-row-aside { grid-column: 2; grid-row: 2; min-width: 0; padding: 0 15px 13px; align-items: center; justify-content: space-between; border-left: 0; flex-direction: row; }
    .v121-row-aside > strong,
    .v121-listing-list--home .v121-row-aside > strong { margin: 0; font-size: 17px; }
    .v121-row-aside > a,
    .v121-listing-list--home .v121-row-aside > a { width: 36px; min-height: 34px; padding: 0; justify-content: center; font-size: 0; }
}

@media (max-width: 520px) {
    .v1211-category-list { grid-template-columns: 1fr; }
    .v1211-category-list > a,
    .v1211-category-list > a:nth-child(2n),
    .v1211-category-list > a:nth-child(3n) { border-right: 0; }
    .v1211-category-list > a:nth-child(n+6) { display: none; }
    .v121-listing-row,
    .v121-listing-list--home .v121-listing-row { grid-template-columns: 112px minmax(0, 1fr); min-height: 154px; border-radius: 15px; }
    .v121-row-image,
    .v121-listing-list--home .v121-row-image { min-height: 154px; }
    .v121-row-content,
    .v121-listing-list--home .v121-row-content { padding: 12px 12px 7px; }
    .v121-row-meta { font-size: 9px; }
    .v121-row-facts { display: none; }
    .v121-row-aside,
    .v121-listing-list--home .v121-row-aside { padding: 0 12px 11px; }
    .v121-row-aside > strong,
    .v121-listing-list--home .v121-row-aside > strong { font-size: 15px; }
}

/* V12.1.2 — keep the cookie notice clear of the fixed mobile navigation */
@media (max-width: 800px) {
    .v9-mobile-nav {
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
    }

    .cookie-notice {
        z-index: 1050;
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 116px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (max-width: 420px) {
    .cookie-notice {
        right: 10px;
        left: 10px;
        padding: 15px 16px;
        gap: 10px;
        border-radius: 16px;
    }

    .cookie-notice strong { font-size: 15px; }
    .cookie-notice p { font-size: 11px; line-height: 1.45; }
    .cookie-actions { gap: 10px; }
    .cookie-actions .primary-button { min-height: 40px; padding: 9px 14px; }
}

/* V13.0 — listing detail, mobile flows and launch stabilization */
.v130-detail-page { background: linear-gradient(180deg, #f7f4ee 0, #f4f7f8 470px); }
.v130-detail-wrap { width: min(1240px, calc(100% - 40px)); padding-top: 28px; }
.v130-detail-toolbar { display: flex; min-height: 42px; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 20px; }
.v130-detail-toolbar .breadcrumb { display: flex; min-width: 0; margin: 0; align-items: center; gap: 8px; color: #778a99; font-size: 11px; }
.v130-detail-toolbar .breadcrumb a { color: #405a70; font-weight: 750; }
.v130-detail-toolbar .breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v130-share-button { display: inline-flex; min-height: 40px; padding: 9px 14px; align-items: center; gap: 8px; color: #173149; border: 1px solid #d8e0e4; border-radius: 11px; background: #fff; cursor: pointer; font-size: 11px; }
.v130-share-button span { color: #f1614e; font-size: 17px; }
.v130-share-button:hover { border-color: #f1614e; }

.v130-detail-grid { grid-template-columns: minmax(0, 1.62fr) minmax(340px, .78fr); gap: 24px; align-items: start; }
.v130-gallery { min-width: 0; }
.v130-main-image { position: relative; min-height: 590px; overflow: hidden; border: 1px solid #dde4e8; border-radius: 22px; background: #e9edef; box-shadow: 0 17px 44px rgba(16, 38, 59, .08); }
.v130-main-image img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.v130-main-image.is-demo img { object-fit: contain; background: #eef3f4; }
.v130-image-placeholder { display: grid; min-height: 590px; place-items: center; color: #f1614e; font-size: 68px; font-weight: 900; }
.v130-photo-count { position: absolute; right: 16px; bottom: 16px; padding: 9px 12px; color: #fff; border-radius: 10px; background: rgba(16, 38, 59, .86); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; }
.v130-thumbnails { display: flex; margin-top: 12px; padding-bottom: 4px; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.v130-thumbnails button { width: 82px; min-width: 82px; height: 66px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 11px; background: #fff; cursor: pointer; opacity: .72; }
.v130-thumbnails button.active { border-color: #f1614e; opacity: 1; }
.v130-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

.v130-contact-card { position: sticky; top: 18px; padding: 25px; border: 1px solid #dde4e8; border-radius: 22px; background: #fff; box-shadow: 0 17px 44px rgba(16, 38, 59, .08); }
.v130-contact-card .section-kicker { margin: 0 0 10px; }
.v130-contact-card .listing-meta { margin-bottom: 12px; }
.v130-contact-card h1 { margin: 0; color: #10263b; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.13; letter-spacing: -.035em; }
.v130-location { margin: 12px 0 0; color: #657a8b; font-size: 12px; }
.v130-contact-card .detail-price { display: block; margin: 18px 0 20px; padding-bottom: 19px; color: #10263b; border-bottom: 1px solid #e8edef; font-size: 30px; letter-spacing: -.035em; }
.v130-seller-panel { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 14px; align-items: center; gap: 12px; border: 1px solid #e3e8eb; border-radius: 15px; background: #f8faf9; }
.v130-seller-avatar { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; border-radius: 14px; background: #173149; font-size: 13px; font-weight: 900; }
.v130-seller-panel div { display: grid; min-width: 0; gap: 2px; }
.v130-seller-panel small { color: #8594a0; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.v130-seller-panel strong a { color: #10263b; font-size: 14px; }
.v130-seller-panel span:not(.v130-seller-avatar) { color: #748696; font-size: 10px; }
.v130-seller-panel b { color: #0b7c5b; font-size: 10px; }
.v130-contact-heading { display: grid; margin-top: 18px; gap: 4px; }
.v130-contact-heading strong { color: #10263b; font-size: 13px; }
.v130-contact-heading span { color: #748696; font-size: 10px; line-height: 1.5; }
.v130-contact-card > .primary-button,
.v130-contact-card > .secondary-button,
.v130-contact-card > .disabled-button,
.v130-contact-card > .favorite-form,
.v130-contact-card > .contact-composer { width: 100%; margin-top: 10px; }
.v130-contact-card > a.primary-button,
.v130-contact-card > a.secondary-button,
.v130-contact-card > span.secondary-button { display: flex; align-items: center; justify-content: center; text-align: center; }
.v130-contact-card .favorite-form button,
.v130-contact-card .contact-composer summary { width: 100%; text-align: center; }
.v130-owner-actions { display: grid; margin-top: 16px; gap: 9px; }
.v130-owner-actions > *, .v130-owner-actions button { width: 100%; text-align: center; }
.v130-safety-card { margin-top: 18px; padding: 14px 15px; color: #285648; border: 1px solid #d6e8e1; border-radius: 14px; background: #f0faf6; }
.v130-safety-card strong { font-size: 11px; }
.v130-safety-card ul { display: grid; margin: 8px 0 0; padding-left: 16px; gap: 5px; }
.v130-safety-card li { color: #557467; font-size: 9px; line-height: 1.45; }
.v130-report-panel { margin-top: 12px; color: #6e7e8b; border-top: 1px solid #e8edef; font-size: 10px; }
.v130-report-panel summary { padding-top: 13px; cursor: pointer; font-weight: 750; text-align: center; }
.v130-report-panel form { display: grid; margin-top: 12px; padding: 14px; gap: 8px; border: 1px solid #e3e8eb; border-radius: 13px; background: #fafbfb; }
.v130-report-panel form > strong { color: #173149; font-size: 12px; }
.v130-report-panel label { color: #536979; font-size: 9px; font-weight: 750; }
.v130-report-panel select,
.v130-report-panel textarea { width: 100%; padding: 10px; color: #173149; border: 1px solid #dce4e8; border-radius: 9px; background: #fff; font: inherit; }
.v130-report-panel button { width: 100%; margin-top: 3px; }

.v130-detail-content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); margin-top: 28px; gap: 20px; }
.v130-detail-content section { padding: 26px; border: 1px solid #dfe6ea; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(16, 38, 59, .045); }
.v130-detail-content header { padding-bottom: 16px; border-bottom: 1px solid #e8edef; }
.v130-detail-content header h2 { margin: 0; color: #10263b; font-size: 20px; letter-spacing: -.025em; }
.v130-detail-content header p { margin: 5px 0 0; color: #788a98; font-size: 10px; }
.v130-description { padding-top: 19px; color: #3e5669; font-size: 13px; line-height: 1.8; white-space: normal; }
.v130-features-card dl { display: grid; margin-top: 15px; }
.v130-features-card dl div { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); padding: 10px 0; gap: 12px; border-bottom: 1px solid #eef1f3; }
.v130-features-card dl div:last-child { border-bottom: 0; }
.v130-features-card dt { color: #7c8c99; font-size: 10px; }
.v130-features-card dd { margin: 0; color: #173149; font-size: 11px; font-weight: 750; text-align: right; }
.v130-similar { margin-top: 56px; content-visibility: auto; contain-intrinsic-size: 800px; }
.v130-similar .section-heading p:last-child { margin: 6px 0 0; color: #738594; font-size: 11px; }
.v130-similar-list { margin-top: 20px; gap: 14px; }

@media (max-width: 980px) {
    .v130-detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); }
    .v130-main-image, .v130-main-image img, .v130-image-placeholder { min-height: 490px; }
    .v130-detail-content { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .v9-mobile-nav a.active:not(.primary) { color: #fff; }
    .v9-mobile-nav a.active:not(.primary)::before { position: absolute; width: 24px; height: 3px; margin-top: -8px; border-radius: 999px; background: #f1614e; content: ''; }
    .v130-detail-wrap { width: min(100% - 24px, 1240px); padding-top: 15px; }
    .v130-detail-toolbar { min-height: 36px; margin-bottom: 12px; }
    .v130-detail-toolbar .breadcrumb span:last-child { display: none; }
    .v130-share-button { min-width: 40px; padding: 8px 10px; }
    .v130-share-button b { display: none; }
    .v130-detail-grid { grid-template-columns: 1fr; gap: 14px; }
    .v130-main-image { min-height: 0; aspect-ratio: 4 / 3; border-radius: 17px; }
    .v130-main-image img { min-height: 0; aspect-ratio: 4 / 3; }
    .v130-image-placeholder { min-height: 0; aspect-ratio: 4 / 3; }
    .v130-photo-count { right: 11px; bottom: 11px; }
    .v130-contact-card { position: static; padding: 20px; border-radius: 17px; }
    .v130-contact-card h1 { font-size: 24px; }
    .v130-contact-card .detail-price { font-size: 27px; }
    .v130-detail-content { margin-top: 16px; gap: 14px; }
    .v130-detail-content section { padding: 20px; border-radius: 17px; }
    .v130-similar { margin-top: 40px; }
}

@media (max-width: 520px) {
    .v130-main-image { aspect-ratio: 1 / 1; }
    .v130-main-image img, .v130-image-placeholder { aspect-ratio: 1 / 1; }
    .v130-thumbnails button { width: 68px; min-width: 68px; height: 55px; }
    .v130-contact-card { padding: 18px; }
    .v130-contact-card h1 { font-size: 22px; }
    .v130-seller-panel { grid-template-columns: 42px minmax(0, 1fr); padding: 12px; }
    .v130-seller-avatar { width: 42px; height: 42px; }
    .v130-detail-content section { padding: 18px; }
    .v130-features-card dl div { grid-template-columns: minmax(86px, .8fr) minmax(0, 1.2fr); }
    .v130-similar .v121-listing-row { grid-template-columns: 104px minmax(0, 1fr); }
}
/* V13.1 listing rewards and launch acquisition campaign */
.v131-listing-reward-banner,.v131-credit-campaign{display:flex;align-items:center;gap:18px;padding:20px 24px;border:1px solid #fed3ca;border-radius:22px;background:linear-gradient(120deg,#fff8f4,#fff);box-shadow:0 18px 45px rgba(15,39,65,.07)}
.v131-listing-reward-banner{max-width:1180px;margin:0 auto 22px}.v131-listing-reward-banner>span,.v131-credit-campaign>span{flex:0 0 auto;padding:12px 15px;border-radius:14px;background:#f65f50;color:#fff;font-weight:900;white-space:nowrap}.v131-listing-reward-banner strong,.v131-credit-campaign strong{display:block;color:#102a45;font-size:18px}.v131-listing-reward-banner p,.v131-credit-campaign p{margin:5px 0 0;color:#617287;line-height:1.55}.v131-credit-campaign{max-width:1220px;margin:0 auto 24px}.v131-credit-campaign div{flex:1}.v131-credit-campaign small{display:block;margin-top:7px;color:#087358;font-weight:750}.v131-credit-campaign .primary-button{white-space:nowrap}
.v131-reward-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v131-reward-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.v131-reward-settings-grid label{display:grid;gap:7px;color:#51657b;font-size:12px;font-weight:800}.v131-reward-settings-grid input[type=number],.v131-reward-settings-grid input[type=datetime-local]{width:100%;min-height:44px;border:1px solid #dce4eb;border-radius:11px;padding:0 12px;background:#fff;color:#102a45}.v131-reward-settings-grid .v131-check{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid #dce4eb;border-radius:11px;background:#f8fafc}.v131-reward-settings-grid .v131-check input{width:18px;height:18px}.v131-reward-settings-grid .v131-check span{font-size:13px;color:#102a45}
#credit-packages{scroll-margin-top:24px}
@media(max-width:900px){.v131-reward-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v131-reward-settings-grid{grid-template-columns:1fr 1fr}.v131-credit-campaign{margin-inline:16px}}
@media(max-width:640px){.v131-listing-reward-banner,.v131-credit-campaign{align-items:flex-start;flex-wrap:wrap;padding:17px;border-radius:18px}.v131-listing-reward-banner>span,.v131-credit-campaign>span{font-size:13px}.v131-credit-campaign .primary-button{width:100%;text-align:center}.v131-reward-settings-grid{grid-template-columns:1fr}.v131-reward-stat-grid{grid-template-columns:1fr 1fr}}

/* V13.2 — soft launch center, reward journey and global admin layout stabilization */
.admin-content,
.admin-content > *,
.admin-main > * { min-width: 0; max-width: 100%; }
.admin-content { width: 100%; }
.admin-content .admin-page-header { align-items: flex-start; flex-wrap: wrap; }
.admin-content .admin-page-header > div:first-child { flex: 1 1 520px; min-width: 0; }
.admin-content .admin-page-header h1,
.admin-content .admin-page-header span,
.admin-content .admin-card-heading h2,
.admin-content .admin-card-heading p { overflow-wrap: anywhere; }
.admin-content .admin-panel,
.admin-content .admin-card,
.admin-content .admin-page-card,
.admin-content .warning-box,
.admin-content .error-box { width: 100%; min-width: 0; max-width: 100%; }
.admin-content form,
.admin-content fieldset,
.admin-content label,
.admin-content [class*="-grid"] > *,
.admin-content [class*="-layout"] > * { min-width: 0; }
.admin-content input:not([type="checkbox"]):not([type="radio"]),
.admin-content select,
.admin-content textarea { max-width: 100%; }
.admin-content pre,
.admin-content code { max-width: 100%; overflow-x: auto; overflow-wrap: anywhere; }
.admin-content .admin-table-wrap,
.admin-content [class*="table-wrap"] { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.admin-content table { margin: 0; }
.admin-content .v60-table td,
.admin-content .v60-table th { vertical-align: middle; }
.admin-content .admin-card-heading { min-width: 0; }
.admin-content .admin-card-heading-row { align-items: flex-start; flex-wrap: wrap; }
.admin-content .admin-filter-bar,
.admin-content .v50-filter-grid { max-width: 100%; }

.v132-admin-page { --v132-green: #078765; --v132-amber: #b97908; --v132-red: #c8493a; }
.v132-page-header { padding: 25px 27px; border: 1px solid #e1e7ec; border-radius: 19px; background: #fff; box-shadow: 0 12px 32px rgba(15, 39, 65, .045); }
.v132-header-actions { display: flex; flex: 0 1 auto !important; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.v132-header-actions form { margin: 0; }
.v132-header-actions .is-paused { color: #9b3428; background: #fff0ed; box-shadow: none; }
.v132-period-switch { display: inline-flex; margin: 0 0 17px; padding: 4px; gap: 3px; border: 1px solid #dde5ea; border-radius: 12px; background: #fff; }
.v132-period-switch a { padding: 8px 12px; color: #637789; border-radius: 9px; font-size: 11px; font-weight: 800; }
.v132-period-switch a.active { color: #fff; background: #173149; }
.v132-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.v132-kpi-grid article { min-width: 0; min-height: 128px; padding: 18px; border: 1px solid #e0e7eb; border-top: 3px solid #9badba; border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(15, 39, 65, .035); }
.v132-kpi-grid article.is-success { border-top-color: var(--v132-green); }
.v132-kpi-grid article.is-warning { border-top-color: var(--v132-amber); background: #fffaf1; }
.v132-kpi-grid article.is-danger { border-top-color: var(--v132-red); background: #fff7f5; }
.v132-kpi-grid span,
.v132-kpi-grid small { display: block; color: #718494; font-size: 10px; font-weight: 800; line-height: 1.35; }
.v132-kpi-grid strong { display: block; margin: 18px 0 7px; overflow: hidden; color: #142b42; font-size: 27px; letter-spacing: -.04em; text-overflow: ellipsis; }
.v132-funnel-panel { margin-bottom: 18px; }
.v132-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 18px; gap: 11px; }
.v132-funnel article { min-width: 0; padding: 14px; border: 1px solid #e4e9ec; border-radius: 13px; background: #fafcfc; }
.v132-funnel article > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.v132-funnel span { color: #667b8d; font-size: 10px; font-weight: 800; }
.v132-funnel strong { color: #142b42; font-size: 20px; }
.v132-funnel-track { height: 7px; margin: 15px 0 8px; overflow: hidden; border-radius: 999px; background: #e6ecef; }
.v132-funnel-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1614e, #e9a132); }
.v132-funnel small { color: #7d8e9b; font-size: 10px; font-weight: 750; }
.v132-operations-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; margin-bottom: 18px; }
.v132-health-list { margin: 0; padding: 8px 20px 18px; }
.v132-health-list div { display: flex; min-width: 0; padding: 13px 0; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf1f3; }
.v132-health-list div:last-child { border-bottom: 0; }
.v132-health-list dt { color: #627789; font-size: 11px; }
.v132-health-list dd { margin: 0; font-size: 12px; font-weight: 900; }
.v132-health-list dd.is-good { color: var(--v132-green); }
.v132-health-list dd.is-warning { color: var(--v132-amber); }
.v132-health-list dd.is-danger { color: var(--v132-red); }
.v132-snapshot-list { display: grid; padding: 8px 18px 18px; gap: 8px; }
.v132-snapshot-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; padding: 11px; align-items: center; gap: 10px; border: 1px solid #e8edef; border-radius: 11px; }
.v132-snapshot-list strong,
.v132-snapshot-list small { display: block; }
.v132-snapshot-list strong { color: #173149; font-size: 11px; }
.v132-snapshot-list small { margin-top: 2px; color: #7b8d9a; font-size: 9px; }
.v132-snapshot-list b { color: #526a7c; font-size: 10px; }
.v132-table-panel { margin-bottom: 18px; overflow: hidden; }
.v132-table { min-width: 920px; }
.v132-table td:first-child { min-width: 210px; }

.v132-reward-journey { width: min(1220px, calc(100% - 32px)); margin: 0 auto 22px; padding: 19px 21px; border: 1px solid #f0d5b2; border-radius: 18px; background: linear-gradient(125deg, #fff9ee, #fff); box-shadow: 0 11px 30px rgba(126, 86, 5, .055); }
.v111-seller-page > .v132-reward-journey { width: 100%; margin: 0 0 18px; }
.v132-journey-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.v132-journey-heading > div { min-width: 0; }
.v132-journey-heading span { color: #c5613e; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.v132-journey-heading strong { display: block; margin-top: 4px; color: #173149; font-size: 17px; }
.v132-journey-heading p { margin: 5px 0 0; color: #687d8e; font-size: 11px; line-height: 1.55; }
.v132-journey-heading > b { flex: 0 0 auto; color: #173149; font-size: 24px; letter-spacing: -.04em; }
.v132-journey-track { height: 8px; margin: 14px 0 11px; overflow: hidden; border-radius: 999px; background: #ede8df; }
.v132-journey-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1614e, #e4a227); transition: width .25s ease; }
.v132-reward-journey footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v132-reward-journey footer span { color: #304a60; font-size: 10px; font-weight: 850; }
.v132-reward-journey footer a { color: #e15a48; font-size: 10px; font-weight: 850; white-space: nowrap; }

@media (max-width: 1280px) {
    .v132-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v132-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .admin-content .admin-filter-bar,
    .admin-content .v50-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v132-operations-grid { grid-template-columns: 1fr; }
    .v132-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .admin-body { overflow-x: clip; }
    .admin-main { width: 100%; max-width: 100vw; overflow-x: clip; }
    .admin-content .admin-page-header { padding: 20px 18px; gap: 14px; }
    .admin-content .admin-page-header > div:first-child { flex-basis: 100%; }
    .admin-content .admin-page-header h1 { font-size: clamp(25px, 8vw, 32px); }
    .admin-content .admin-card-heading { padding: 17px; }
    .admin-content .admin-filter-bar,
    .admin-content .v50-filter-grid { grid-template-columns: 1fr; }
    .admin-content .admin-filter-bar > button,
    .admin-content .admin-filter-bar > a { width: 100%; }
    .v132-header-actions { width: 100%; justify-content: stretch; }
    .v132-header-actions form,
    .v132-header-actions button { width: 100%; }
    .v132-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v132-funnel { grid-template-columns: 1fr; padding: 14px; }
    .v132-period-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
    .v132-period-switch a { text-align: center; }
}

@media (max-width: 520px) {
    .admin-commandbar { gap: 8px; }
    .admin-commandbar-user > div,
    .admin-commandbar-search kbd { display: none; }
    .admin-commandbar-user { min-width: 34px; }
    .v132-kpi-grid { grid-template-columns: 1fr; }
    .v132-kpi-grid article { min-height: 105px; }
    .v132-reward-journey { width: min(100% - 24px, 1220px); padding: 16px; }
    .v111-seller-page > .v132-reward-journey { width: 100%; }
    .v132-journey-heading { gap: 12px; }
    .v132-journey-heading > b { font-size: 20px; }
    .v132-reward-journey footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* V13.2.1 — professional public store page */
.v1321-store-page { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 90px; }
.v1321-store-profile { overflow: hidden; border: 1px solid #dfe5e8; border-radius: 24px; background: #fff; box-shadow: 0 18px 52px rgba(16, 38, 59, .085); }
.v1321-store-cover { position: relative; height: 174px; overflow: hidden; background: linear-gradient(120deg, #142d45 0%, #1d425d 48%, #f1614e 145%); }
.v1321-store-cover::before,
.v1321-store-cover::after { position: absolute; border-radius: 50%; content: ''; }
.v1321-store-cover::before { width: 320px; height: 320px; top: -215px; right: 8%; background: rgba(255,255,255,.09); }
.v1321-store-cover::after { width: 180px; height: 180px; right: 32%; bottom: -140px; background: rgba(241,97,78,.28); }
.v1321-store-cover img { width: 100%; height: 100%; object-fit: cover; }
.v1321-store-cover.has-image::after { inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(90deg, rgba(16,38,59,.24), rgba(16,38,59,.04)); }
.v1321-store-identity { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; min-width: 0; padding: 0 30px 27px; align-items: start; gap: 24px; }
.v1321-store-logo { display: grid; width: 132px; height: 132px; margin-top: -54px; overflow: hidden; place-items: center; border: 6px solid #fff; border-radius: 25px; color: #f1614e; background: #fff3ef; box-shadow: 0 13px 30px rgba(16,38,59,.16); font-size: 30px; font-weight: 900; }
.v1321-store-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.v1321-store-copy { min-width: 0; padding-top: 20px; }
.v1321-store-badges { display: flex; min-height: 24px; flex-wrap: wrap; gap: 7px; }
.v1321-store-badges span { padding: 5px 9px; color: #4e6476; border-radius: 999px; background: #edf2f4; font-size: 9px; font-weight: 850; }
.v1321-store-badges span.is-verified { color: #087459; background: #e9f8f2; }
.v1321-store-copy h1 { margin: 8px 0 6px; overflow-wrap: anywhere; color: #10263b; font-size: clamp(28px, 4vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.v1321-store-copy > p { max-width: 760px; margin: 0; color: #5f7486; font-size: 12px; line-height: 1.7; }
.v1321-store-contact { display: flex; margin-top: 15px; align-items: center; flex-wrap: wrap; gap: 8px; }
.v1321-store-contact span,
.v1321-store-contact a { display: inline-flex; min-height: 31px; padding: 6px 10px; align-items: center; color: #486176; border: 1px solid #e0e7eb; border-radius: 9px; background: #f9fbfb; font-size: 10px; font-weight: 750; }
.v1321-store-contact a { color: #163b58; }
.v1321-store-actions { display: grid; min-width: 190px; padding-top: 22px; gap: 9px; }
.v1321-store-actions a { display: flex; min-height: 42px; margin: 0; padding: 9px 15px; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }
.v1321-store-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 30px 28px; overflow: hidden; border: 1px solid #e4e9ec; border-radius: 15px; background: #f8faf9; }
.v1321-store-stats article { min-width: 0; padding: 16px 20px; border-right: 1px solid #e4e9ec; }
.v1321-store-stats article:last-child { border-right: 0; }
.v1321-store-stats span,
.v1321-store-stats strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v1321-store-stats span { color: #7b8c99; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .055em; }
.v1321-store-stats strong { margin-top: 5px; color: #173149; font-size: 18px; }
.v1321-store-catalog { padding-top: 54px; }
.v1321-store-catalog-heading { display: flex; margin-bottom: 20px; align-items: end; justify-content: space-between; gap: 20px; }
.v1321-store-catalog-heading > div { min-width: 0; }
.v1321-store-catalog-heading .section-kicker { margin: 0 0 5px; }
.v1321-store-catalog-heading h2 { margin: 0; color: #10263b; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.04em; }
.v1321-store-catalog-heading p:last-child { margin: 5px 0 0; color: #748696; font-size: 11px; }
.v1321-store-catalog-heading > span { flex: 0 0 auto; padding: 9px 12px; color: #52697b; border: 1px solid #dfe6ea; border-radius: 10px; background: #fff; font-size: 10px; font-weight: 850; }
.v1321-store-listings { grid-template-columns: 1fr; gap: 15px; }
.v1321-store-empty { display: grid; min-height: 260px; padding: 38px; place-items: center; align-content: center; border: 1px dashed #ccd7de; border-radius: 20px; background: rgba(255,255,255,.64); text-align: center; }
.v1321-store-empty > span { color: #9aabb7; font-size: 36px; }
.v1321-store-empty h3 { margin: 10px 0 4px; color: #173149; font-size: 20px; }
.v1321-store-empty p { margin: 0; color: #748696; font-size: 11px; }

@media (max-width: 900px) {
    .v1321-store-identity { grid-template-columns: 112px minmax(0, 1fr); padding-inline: 22px; }
    .v1321-store-logo { width: 112px; height: 112px; }
    .v1321-store-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); width: 100%; padding-top: 0; }
    .v1321-store-stats { margin-inline: 22px; }
}

@media (max-width: 640px) {
    .v1321-store-page { width: min(100% - 24px, 1240px); padding-top: 14px; }
    .v1321-store-profile { border-radius: 18px; }
    .v1321-store-cover { height: 126px; }
    .v1321-store-identity { grid-template-columns: 1fr; padding: 0 15px 18px; gap: 12px; }
    .v1321-store-logo { width: 82px; height: 82px; margin-top: -31px; border-width: 4px; border-radius: 18px; font-size: 22px; }
    .v1321-store-copy { padding-top: 0; }
    .v1321-store-copy h1 { font-size: 27px; }
    .v1321-store-copy > p { margin-top: 9px; font-size: 11px; }
    .v1321-store-contact { margin-top: 12px; }
    .v1321-store-actions { grid-template-columns: 1fr; }
    .v1321-store-stats { grid-template-columns: 1fr; margin: 0 15px 18px; }
    .v1321-store-stats article { display: flex; padding: 12px 14px; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid #e4e9ec; gap: 12px; }
    .v1321-store-stats article:last-child { border-bottom: 0; }
    .v1321-store-stats strong { margin: 0; font-size: 15px; }
    .v1321-store-catalog { padding-top: 38px; }
    .v1321-store-catalog-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
    .v1321-store-catalog-heading > span { align-self: flex-start; }
}

@media (max-width: 430px) {
    .v1321-store-logo { width: 72px; height: 72px; }
    .v1321-store-copy h1 { font-size: 23px; }
    .v1321-store-contact span,
    .v1321-store-contact a { width: 100%; }
}

/* V13.2.2 — compact and aligned admin header */
.admin-v60 .admin-commandbar {
    grid-template-columns: minmax(280px, 430px) auto;
    grid-template-areas: "search account";
    min-height: 66px;
    margin-bottom: 20px;
    padding-block: 9px;
    gap: 18px;
}
.admin-v60 .admin-commandbar-menu { grid-area: menu; }
.admin-v60 .admin-commandbar-search {
    grid-area: search;
    width: 100%;
    max-width: 430px;
    min-height: 44px;
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(17,37,61,.045);
}
.admin-v60 .admin-commandbar-user {
    grid-area: account;
    justify-self: end;
    min-width: 0;
    padding: 5px 10px 5px 5px;
    border: 1px solid #dde5eb;
    border-radius: 13px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 5px 16px rgba(17,37,61,.04);
}
.admin-v60 .admin-commandbar-user > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #17283d;
}
.admin-v60 .admin-commandbar-user strong { max-width: 170px; color: #17243a; font-size: 11px; }
.admin-v60 .admin-commandbar-user small { max-width: 170px; color: #718397; font-size: 9px; }

.admin-v60 .admin-topbar.admin-dashboard-hero {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 0 22px;
    padding: 23px 26px;
    border: 1px solid #dfe7ed;
    border-radius: 18px;
    background: linear-gradient(110deg, #fff 0%, #fff 64%, #f5f8fa 100%);
    box-shadow: 0 12px 30px rgba(17,37,61,.05);
}
.admin-v60 .admin-topbar.admin-dashboard-hero::after {
    position: absolute;
    top: -58px;
    right: 5%;
    width: 150px;
    height: 150px;
    border: 26px solid rgba(241,97,78,.055);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.admin-v60 .admin-dashboard-heading { position: relative; z-index: 1; min-width: 0; }
.admin-v60 .admin-dashboard-heading p {
    display: flex;
    margin: 0 0 7px;
    align-items: center;
    gap: 8px;
    color: #718397;
    font-size: 10px;
    font-weight: 750;
}
.admin-v60 .admin-dashboard-heading p span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f1614e;
    box-shadow: 0 0 0 4px rgba(241,97,78,.1);
}
.admin-v60 .admin-dashboard-heading h1 {
    margin: 0;
    color: #17243a;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

@media (max-width: 860px) {
    .admin-v60 .admin-commandbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "menu search account";
        min-height: 64px;
        margin-bottom: 18px;
        padding-block: 10px;
        gap: 9px;
    }
    .admin-v60 .admin-commandbar-menu { display: block; }
    .admin-v60 .admin-commandbar-search { min-height: 42px; }
    .admin-v60 .admin-commandbar-user { padding: 4px; }
    .admin-v60 .admin-commandbar-user > div { display: none; }
}

@media (max-width: 520px) {
    .admin-v60 .admin-commandbar { padding-inline: 12px; }
    .admin-v60 .admin-commandbar-menu { width: 38px; height: 38px; }
    .admin-v60 .admin-commandbar-search { grid-template-columns: 18px minmax(0, 1fr); padding-inline: 10px; }
    .admin-v60 .admin-commandbar-search > span { font-size: 16px; }
    .admin-v60 .admin-commandbar-user > span { width: 32px; height: 32px; }
    .admin-v60 .admin-topbar.admin-dashboard-hero { padding: 19px 18px; border-radius: 16px; }
    .admin-v60 .admin-topbar.admin-dashboard-hero::after { right: -45px; opacity: .7; }
    .admin-v60 .admin-dashboard-heading h1 { max-width: 88%; font-size: 24px; }
}

/* V14.0 — market liquidity, smart matching and sale outcomes */
.v140-admin-header { background: linear-gradient(118deg, #10263b 0%, #183f57 62%, #167f72 135%); }
.v140-admin-header h1,
.v140-admin-header p,
.v140-admin-header span { color: #fff; }
.v140-admin-header > div:first-child span { color: rgba(255,255,255,.74); }
.v140-header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.v140-header-actions .admin-outline-button { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.v140-header-actions .admin-primary-button { background: #f1614e; box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.v140-kpi-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 18px; gap: 10px; }
.v140-kpi-grid article { min-width: 0; min-height: 118px; padding: 18px; border: 1px solid #e0e7eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(18,42,61,.045); }
.v140-kpi-grid article.is-warning { background: linear-gradient(145deg, #fff, #fff8eb); }
.v140-kpi-grid article.is-success { background: linear-gradient(145deg, #fff, #edf9f4); }
.v140-kpi-grid span,
.v140-kpi-grid small,
.v140-kpi-grid strong { display: block; }
.v140-kpi-grid span { color: #738695; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .055em; }
.v140-kpi-grid strong { margin: 9px 0 6px; overflow: hidden; color: #142d45; font-size: clamp(23px, 2vw, 31px); text-overflow: ellipsis; }
.v140-kpi-grid small { color: #80909c; font-size: 9px; line-height: 1.45; }
.v140-filter-bar { grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto; }
.v140-segments-card { margin-bottom: 18px; }
.v140-segments-card .admin-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.v140-segments-card .admin-card-heading > span { flex: 0 0 auto; padding: 7px 10px; color: #476178; border-radius: 9px; background: #edf2f4; font-size: 10px; font-weight: 800; }
.v140-segments-table { min-width: 940px; }
.v140-segments-table td > strong,
.v140-segments-table td > small,
.v140-segments-table td > b { display: block; }
.v140-segments-table td > small { margin-top: 3px; color: #7c8e9c; font-size: 9px; }
.v140-segments-table td > b { margin-top: 5px; color: #c85f36; font-size: 9px; }
.v140-status { display: inline-flex; padding: 6px 9px; align-items: center; border-radius: 999px; color: #526778; background: #edf1f3; font-size: 9px; font-weight: 850; white-space: nowrap; }
.v140-status.is-opportunity { color: #087459; background: #e5f7ef; }
.v140-status.is-balanced { color: #285e83; background: #e9f3fa; }
.v140-status.is-oversupplied { color: #9a5a0c; background: #fff2d9; }
.v140-operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v140-operations-grid .admin-card { min-width: 0; }
.v140-operations-grid .admin-outline-button { margin: 0 18px 18px; }
.v140-compact-list { padding: 0 18px 16px; }
.v140-compact-list > article { display: flex; min-width: 0; padding: 11px 0; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf1f3; gap: 14px; }
.v140-compact-list > article:last-child { border-bottom: 0; }
.v140-compact-list > article > div { min-width: 0; }
.v140-compact-list strong,
.v140-compact-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v140-compact-list strong { color: #1b354d; font-size: 10px; }
.v140-compact-list small { margin-top: 4px; color: #81909c; font-size: 9px; }
.v140-compact-list b { flex: 0 0 auto; color: #f1614e; font-size: 13px; }
.v140-response-badge { margin-top: 4px; color: #087459 !important; }
.v140-outcome-panel { position: relative; width: 100%; }
.v140-outcome-panel > summary { display: flex; width: 100%; align-items: center; justify-content: center; list-style: none; cursor: pointer; }
.v140-outcome-panel > summary::-webkit-details-marker { display: none; }
.v140-outcome-panel form { display: grid; margin-top: 8px; padding: 15px; border: 1px solid #dfe6ea; border-radius: 14px; background: #f8fafb; text-align: left; gap: 10px; }
.v140-outcome-panel form > strong { color: #173149; font-size: 12px; }
.v140-outcome-panel form > p { margin: -4px 0 2px; color: #758796; font-size: 9px; line-height: 1.5; }
.v140-outcome-panel label { display: grid; color: #587084; font-size: 9px; font-weight: 750; gap: 5px; }
.v140-outcome-panel select,
.v140-outcome-panel input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #d7e0e5; border-radius: 9px; background: #fff; }
.v140-row-outcome { position: relative; }
.v140-row-outcome > summary { cursor: pointer; list-style: none; }
.v140-row-outcome > summary::-webkit-details-marker { display: none; }
.v140-row-outcome form { position: absolute; z-index: 4; right: 0; display: grid; width: 230px; margin-top: 6px; padding: 12px; border: 1px solid #dfe6ea; border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgba(16,38,59,.16); gap: 7px; }
.v140-row-outcome select,
.v140-row-outcome input { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #dbe3e8; border-radius: 8px; }
.v140-outcome-recorded { display: inline-flex; padding: 5px 8px; align-items: center; color: #087459; border-radius: 999px; background: #e6f7ef; font-size: 9px; font-weight: 800; }
.lifecycle-user-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1280px) {
    .v140-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .v140-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v140-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v140-operations-grid { grid-template-columns: 1fr; }
    .lifecycle-user-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .v140-header-actions,
    .v140-header-actions form,
    .v140-header-actions a,
    .v140-header-actions button { width: 100%; }
    .v140-kpi-grid,
    .v140-filter-bar,
    .lifecycle-user-stats { grid-template-columns: 1fr; }
    .v140-kpi-grid article { min-height: 98px; }
    .v140-row-outcome form { position: static; width: min(230px, 82vw); }
}

/* V14.1 — SEO, sharing and acquisition */
.footer-cookie-settings { padding: 0; color: inherit; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.footer-cookie-settings:hover { color: #f1614e; }
.v141-home-cities { max-width: 1240px; margin: 38px auto 0; padding: 0 24px; }
.v141-home-cities > header { display: flex; margin-bottom: 15px; align-items: end; justify-content: space-between; gap: 20px; }
.v141-home-cities header p { margin: 0 0 4px; color: #e85d4b; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.v141-home-cities header h2 { margin: 0; color: #10263b; font-size: 25px; }
.v141-home-cities header > a { color: #304b62; font-size: 12px; font-weight: 850; }
.v141-home-cities nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e1e7eb; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(16,38,59,.06); }
.v141-home-cities nav a { display: grid; min-height: 78px; padding: 15px; align-items: center; grid-template-columns: 35px minmax(0,1fr) auto; column-gap: 10px; color: #203a52; border-right: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }
.v141-home-cities nav a:hover { color: #e85d4b; background: #fcf8f5; }
.v141-home-cities nav a > span { display: grid; width: 35px; height: 35px; place-items: center; color: #e85d4b; border-radius: 11px; background: #fff0ec; }
.v141-home-cities nav strong,.v141-home-cities nav small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v141-home-cities nav small { margin-top: 3px; color: #8292a0; font-size: 10px; }
.v141-home-cities nav b { color: #a5b1ba; font-size: 21px; }

.v141-listing-share { display: flex; margin: 10px 0 18px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #e1e7eb; border-radius: 14px; background: #fff; }
.v141-listing-share > strong { color: #40586c; font-size: 11px; white-space: nowrap; }
.v141-listing-share > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.v141-listing-share a,.v141-listing-share button { min-height: 32px; padding: 7px 11px; color: #30475c; border: 1px solid #dce4e9; border-radius: 999px; background: #f8fafb; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.v141-listing-share .facebook { color: #2855a4; background: #f0f5ff; }
.v141-listing-share .whatsapp { color: #087459; background: #eaf9f1; }
.v141-listing-share .viber { color: #6551a5; background: #f4f0ff; }

.v141-market-page { max-width: 1240px; margin: 0 auto; padding: 38px 24px 76px; }
.v141-market-hero { position: relative; overflow: hidden; padding: 42px clamp(24px,5vw,64px); color: #fff; border-radius: 28px; background: linear-gradient(128deg,#10263b,#1d4667); box-shadow: 0 22px 55px rgba(16,38,59,.16); }
.v141-market-hero:after { position: absolute; right: -75px; bottom: -140px; width: 310px; height: 310px; border: 55px solid rgba(255,255,255,.05); border-radius: 50%; content: ''; }
.v141-market-hero nav { display: flex; position: relative; z-index: 1; flex-wrap: wrap; gap: 7px; color: #a9bdcc; font-size: 10px; }
.v141-market-hero nav a { color: #d5e0e8; }
.v141-market-hero > p { position: relative; z-index: 1; margin: 26px 0 8px; color: #ff806f; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.v141-market-hero h1 { position: relative; z-index: 1; max-width: 780px; margin: 0; font-size: clamp(34px,5vw,60px); line-height: 1.04; letter-spacing: -.045em; }
.v141-market-hero > span { display: block; position: relative; z-index: 1; max-width: 720px; margin-top: 14px; color: #c4d2dc; line-height: 1.65; }
.v141-market-stats { display: flex; position: relative; z-index: 1; margin-top: 26px; align-items: center; gap: 10px; }
.v141-market-stats b { font-size: 27px; }
.v141-market-stats small { color: #adbfcc; }
.v141-market-stats a { margin-left: 12px; padding: 10px 14px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; }
.v141-market-chips { display: flex; margin-top: 18px; flex-wrap: wrap; gap: 8px; }
.v141-market-chips a,.v141-market-discovery nav a { padding: 8px 12px; color: #39546b; border: 1px solid #dce4e9; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 750; }
.v141-market-results { margin-top: 38px; }
.v141-market-results > header { display: flex; margin-bottom: 15px; align-items: end; justify-content: space-between; gap: 18px; }
.v141-market-results header p { margin: 0 0 5px; color: #e85d4b; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.v141-market-results header h2 { margin: 0; color: #10263b; font-size: 27px; }
.v141-market-discovery { display: grid; margin-top: 42px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.v141-market-discovery > div { padding: 23px; border: 1px solid #e1e7eb; border-radius: 19px; background: #fff; }
.v141-market-discovery h2 { margin: 0 0 15px; color: #18344c; font-size: 17px; }
.v141-market-discovery nav { display: flex; flex-wrap: wrap; gap: 7px; }

.v141-admin-heading > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }
.v141-period { display: flex; width: fit-content; margin-bottom: 18px; padding: 4px; border: 1px solid #dfe6ea; border-radius: 12px; background: #fff; }
.v141-period a { padding: 8px 12px; color: #6b7c8b; border-radius: 8px; font-size: 10px; font-weight: 850; }
.v141-period a.active { color: #fff; background: #173a57; }
.v141-metrics { display: grid; margin-bottom: 20px; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.v141-metrics article,.v141-seo-metrics article { display: grid; min-height: 105px; padding: 17px; align-content: space-between; border: 1px solid #e0e7eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(16,38,59,.045); }
.v141-metrics span,.v141-seo-metrics span { color: #6d7f8e; font-size: 10px; font-weight: 800; }
.v141-metrics strong,.v141-seo-metrics strong { color: #173149; font-size: 27px; }
.v141-metrics small { color: #81909c; font-size: 9px; }
.v141-admin-grid { display: grid; margin-bottom: 20px; grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: 20px; }
.v141-funnel { display: grid; gap: 10px; }
.v141-funnel article { display: grid; position: relative; padding: 10px 0 13px; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; }
.v141-funnel article span { color: #526a7e; font-size: 11px; font-weight: 800; }
.v141-funnel article strong { color: #173149; }
.v141-funnel article b { color: #e85d4b; font-size: 10px; }
.v141-funnel article i { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; overflow: hidden; border-radius: 999px; background: #edf1f4; }
.v141-funnel article i:after { display: block; width: var(--value); height: 100%; border-radius: inherit; background: #f1614e; content: ''; }
.v141-share-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.v141-share-grid article { padding: 14px; border: 1px solid #e4e9ec; border-radius: 13px; background: #f8fafb; }
.v141-share-grid span,.v141-share-grid strong { display: block; }
.v141-share-grid span { color: #6f8190; font-size: 9px; font-weight: 800; }
.v141-share-grid strong { margin-top: 5px; color: #18344c; font-size: 20px; }
.v141-opportunities { margin-bottom: 20px; }
.v141-opportunities table { width: 100%; border-collapse: collapse; }
.v141-opportunities th,.v141-opportunities td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e8ecef; font-size: 11px; }
.v141-opportunities td strong,.v141-opportunities td small { display: block; }
.v141-opportunities td small { margin-top: 3px; color: #81909d; }
.v141-opportunities td:last-child { display: flex; flex-wrap: wrap; gap: 7px; }
.v141-opportunities td:last-child a { padding: 6px 8px; color: #284b67; border-radius: 8px; background: #edf3f7; font-size: 9px; font-weight: 850; }
.v141-seo-metrics { display: grid; margin-bottom: 20px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.v141-seo-metrics article { min-height: 88px; }
.v141-settings { display: grid; gap: 20px; }
.v141-toggle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.v141-toggle-grid > label { display: flex; padding: 15px; align-items: flex-start; gap: 11px; border: 1px solid #dfe6ea; border-radius: 14px; background: #f9fbfc; cursor: pointer; }
.v141-toggle-grid input { width: 18px; height: 18px; }
.v141-toggle-grid span { display: grid; gap: 4px; }
.v141-toggle-grid strong { color: #304b62; font-size: 11px; }
.v141-toggle-grid small,.v141-fields small,.v141-integration-grid p,.v141-integration-grid small { color: #758795; font-size: 9px; line-height: 1.5; }
.v141-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
.v141-integration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.v141-integration-grid article { display: grid; padding: 18px; border: 1px solid #dfe6ea; border-radius: 16px; background: #fff; gap: 10px; }
.v141-integration-grid h3,.v141-integration-grid p { margin: 0; }
.v141-integration-grid label { display: grid; color: #40596c; font-size: 10px; font-weight: 800; gap: 6px; }
.v141-integration-grid input:not([type=checkbox]) { min-height: 40px; padding: 9px 11px; border: 1px solid #d5dfe5; border-radius: 10px; }
.v141-integration-grid .v141-inline-toggle { display: flex; align-items: center; gap: 8px; }

@media (max-width: 1100px) {
    .v141-home-cities nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v141-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .v141-toggle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .v141-home-cities { padding: 0 16px; }
    .v141-home-cities nav,.v141-market-discovery,.v141-admin-grid,.v141-integration-grid { grid-template-columns: 1fr; }
    .v141-market-page { padding: 24px 16px 90px; }
    .v141-market-hero { padding: 31px 22px; border-radius: 21px; }
    .v141-market-stats,.v141-market-results > header,.v141-listing-share { align-items: flex-start; flex-direction: column; }
    .v141-listing-share > div { justify-content: flex-start; }
    .v141-metrics,.v141-seo-metrics,.v141-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .v141-home-cities nav,.v141-metrics,.v141-seo-metrics,.v141-fields,.v141-share-grid { grid-template-columns: 1fr; }
    .v141-listing-share a,.v141-listing-share button { flex: 1 1 42%; text-align: center; }
}

/* V14.1.2 — global public and admin layout stabilization */
html { max-width: 100%; overflow-x: clip; }
body { max-width: 100%; min-width: 0; overflow-x: clip; }
main, section, article, aside, form, fieldset,
.site-header, .site-header > *, .site-footer, .inner-page,
[class*="-grid"] > *, [class*="-layout"] > * { min-width: 0; }
img, picture, video, iframe, canvas, svg { max-width: 100%; }
pre, code { max-width: 100%; }

/* Keep public canvases and recently-added discovery elements inside the viewport. */
.v141-home-cities,
.v141-market-page,
.v130-detail-wrap,
.listings-shell,
.category-page,
.account-page { max-width: 100%; }
.v141-home-cities nav a,
.v141-listing-share,
.v141-listing-share > div,
.v141-market-hero,
.v141-market-results,
.v141-market-discovery > div { min-width: 0; }
.v141-market-hero h1,
.v141-market-hero > span,
.v141-market-results h2,
.v141-home-cities h2 { overflow-wrap: anywhere; }

/* Compact, readable and persistent cookie consent layer. */
.cookie-notice {
    z-index: 1300;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: min(960px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    padding: 15px 17px;
    flex-wrap: wrap;
    gap: 16px;
}
.cookie-notice > div:first-child { flex: 1 1 290px; min-width: 0; }
.cookie-actions { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-actions a { display: inline-flex; min-height: 40px; padding: 0 6px; align-items: center; }
.cookie-actions .secondary-button,
.cookie-actions .primary-button {
    min-height: 40px;
    padding: 9px 14px;
    justify-content: center;
    white-space: normal;
}
.cookie-actions .secondary-button {
    color: #10263b;
    border-color: #fff;
    background: #fff;
    cursor: pointer;
}
.cookie-actions .secondary-button:hover { color: #10263b; background: #f1f5f8; }

/* Final admin canvas wins over legacy version layers. */
.admin-v60 .admin-shell { width: 100%; max-width: 100vw; }
.admin-v60 .admin-main { width: auto; max-width: 100%; min-width: 0; overflow-x: clip; }
.admin-v60 .admin-content,
.admin-v60 .admin-content > *,
.admin-v60 .admin-content form,
.admin-v60 .admin-content fieldset,
.admin-v60 .admin-content label { min-width: 0; max-width: 100%; }
.admin-v60 .admin-heading,
.admin-v60 .admin-page-header,
.admin-v60 .admin-panel,
.admin-v60 .admin-card { width: 100%; max-width: 100%; min-width: 0; }
.admin-v60 .admin-heading,
.admin-v60 .admin-page-header,
.admin-v60 .admin-card-heading,
.admin-v60 .admin-card-heading-row { flex-wrap: wrap; }
.admin-v60 .admin-heading > div:first-child,
.admin-v60 .admin-page-header > div:first-child,
.admin-v60 .admin-card-heading > div:first-child { min-width: 0; }
.admin-v60 .admin-heading h1,
.admin-v60 .admin-page-header h1,
.admin-v60 .admin-card-heading h2,
.admin-v60 .admin-heading p,
.admin-v60 .admin-page-header p { overflow-wrap: anywhere; }
.admin-v60 .admin-table-wrap,
.admin-v60 .admin-content [class*="table-wrap"] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}
.admin-v60 .admin-table-wrap table { margin: 0; }
.admin-v60 .v141-admin-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.admin-v60 .v141-admin-heading > div:first-child { flex: 1 1 480px; }
.admin-v60 .v141-admin-heading > div:last-child { flex: 0 1 auto; justify-content: flex-end; }
.admin-v60 .v141-opportunities { overflow: hidden; }
.admin-v60 .v141-opportunities .admin-table-wrap { border: 0; border-radius: 0; }
.admin-v60 .v141-opportunities table { min-width: 720px; }

@media (max-width: 860px) {
    .admin-v60 .admin-shell { display: block !important; }
    .admin-v60 .admin-sidebar {
        position: fixed;
        z-index: 1000;
        inset: 0 auto 0 0;
        width: min(88vw, 330px) !important;
        max-width: calc(100vw - 40px);
    }
    .admin-v60 .admin-main {
        width: 100%;
        max-width: 100vw;
        padding: 0 14px 42px !important;
    }
    .admin-v60 .admin-commandbar {
        width: auto;
        max-width: none;
        margin: 0 -14px 18px;
        padding: 10px 14px;
    }
    .admin-v60 .admin-content { width: 100%; }
    .admin-v60 .v141-admin-heading { align-items: stretch; flex-direction: column; gap: 14px; }
    .admin-v60 .v141-admin-heading > div:first-child,
    .admin-v60 .v141-admin-heading > div:last-child { width: 100%; flex-basis: auto; }
    .admin-v60 .v141-admin-heading > div:last-child { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .admin-v60 .admin-heading,
    .admin-v60 .admin-page-header { padding: 19px 17px; border-radius: 16px; }
    .admin-v60 .admin-card-heading,
    .admin-v60 .admin-card-heading-row { align-items: stretch; flex-direction: column; gap: 10px; }
    .admin-v60 .admin-card-heading > :last-child,
    .admin-v60 .admin-card-heading-row > :last-child { width: 100%; }
    .admin-v60 .admin-card-heading form,
    .admin-v60 .admin-card-heading-row form { max-width: 100%; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards { min-width: 0 !important; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td > * { max-width: 100%; }
    .admin-v60 .admin-table-wrap table.v70-mobile-cards td form { width: 100%; }
}

@media (max-width: 800px) {
    .cookie-notice {
        right: 12px;
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        left: 12px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 116px);
        align-items: stretch;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .cookie-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 520px) {
    .cookie-notice {
        right: 10px;
        bottom: calc(82px + env(safe-area-inset-bottom, 0px));
        left: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 104px);
        padding: 14px;
        overflow-y: auto;
        gap: 11px;
        border-radius: 15px;
    }
    .cookie-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-actions a { grid-column: 1 / -1; min-height: 30px; padding: 0; }
    .cookie-actions .secondary-button,
    .cookie-actions .primary-button { width: 100%; min-width: 0; }
    .v141-home-cities > header,
    .v141-market-results > header { align-items: flex-start; flex-direction: column; gap: 8px; }
    .v141-market-stats { width: 100%; flex-wrap: wrap; }
    .v141-market-stats a { width: 100%; margin-left: 0; text-align: center; }
    .v141-listing-share > div { width: 100%; }
    .admin-v60 .admin-commandbar { grid-template-columns: auto minmax(0, 1fr) auto; }
    .admin-v60 .admin-commandbar-search input { min-width: 0; }
    .admin-v60 .v141-admin-heading > div:last-child,
    .admin-v60 .v141-admin-heading > div:last-child form,
    .admin-v60 .v141-admin-heading > div:last-child a,
    .admin-v60 .v141-admin-heading > div:last-child button { width: 100%; }
}

/* V14.1.3 — admin card spacing and action alignment */
.admin-v60 .smtp-settings-card > .smtp-security-note {
    margin: 16px 24px 20px;
}
.admin-v60 .smtp-settings-card > .smtp-settings-form {
    margin-inline: 24px;
}
.admin-v60 .smtp-settings-card > .smtp-settings-footer {
    margin-top: 20px;
    padding: 16px 24px 18px;
}
.admin-v60 .smtp-form-actions {
    justify-content: flex-end;
}
.admin-v60 .smtp-form-actions > small {
    order: -1;
    flex: 1 1 320px;
    margin-right: auto;
}
.admin-v60 .smtp-form-actions > button {
    flex: 0 0 auto;
}

/* Notification policy cards use the same inner edge as their headings. */
.admin-v60 .notification-admin-grid > .admin-panel > .notification-admin-settings-form,
.admin-v60 .notification-admin-grid > .admin-panel > .notification-run-list {
    padding: 0 22px 22px;
}
.admin-v60 .notification-admin-grid > .admin-panel > .admin-empty {
    margin: 0 22px 22px;
}
.admin-v60 .notification-admin-settings-form .form-submit {
    display: flex;
    justify-content: flex-end;
}

/* Trust-center queues and appeals no longer touch the card border. */
.admin-v60 .v139-appeals-section > .v139-admin-appeals {
    padding: 0 20px 20px;
}
.admin-v60 .v139-profile-section > .admin-pagination,
.admin-v60 .v139-appeals-section > .admin-pagination {
    padding: 0 20px 20px;
}
.admin-v60 .v139-admin-side-stack > .admin-card > .v139-compact-list {
    margin: 0;
    padding: 0 20px 14px;
}
.admin-v60 .v139-admin-side-stack > .admin-card > .admin-outline-button {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    justify-content: center;
}

/* V14.1 acquisition panels share one consistent content inset. */
.admin-v60 .v141-admin-grid > .admin-panel > .v141-funnel,
.admin-v60 .v141-admin-grid > .admin-panel > .v141-share-grid {
    margin: 0 20px 20px;
}
.admin-v60 .v141-settings > .v141-toggle-grid,
.admin-v60 .v141-settings > .v141-fields,
.admin-v60 .v141-settings > .v141-integration-grid {
    width: auto;
    margin-inline: 20px;
}
.admin-v60 .v141-settings > .admin-settings-actions {
    padding: 0 20px 20px;
}

@media (max-width: 700px) {
    .admin-v60 .smtp-settings-card > .smtp-security-note {
        margin: 14px 16px 18px;
    }
    .admin-v60 .smtp-settings-card > .smtp-settings-form {
        margin-inline: 16px;
    }
    .admin-v60 .smtp-settings-card > .smtp-settings-footer {
        padding: 15px 16px 17px;
    }
    .admin-v60 .smtp-form-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-v60 .smtp-form-actions > small {
        grid-column: 1 / -1;
        margin: 0;
    }
    .admin-v60 .smtp-form-actions > button {
        width: 100%;
        min-width: 0;
    }
    .admin-v60 .notification-admin-grid > .admin-panel > .notification-admin-settings-form,
    .admin-v60 .notification-admin-grid > .admin-panel > .notification-run-list {
        padding: 0 16px 18px;
    }
    .admin-v60 .notification-admin-grid > .admin-panel > .admin-empty {
        margin: 0 16px 18px;
    }
    .admin-v60 .v139-appeals-section > .v139-admin-appeals,
    .admin-v60 .v139-profile-section > .admin-pagination,
    .admin-v60 .v139-appeals-section > .admin-pagination {
        padding-right: 16px;
        padding-left: 16px;
    }
    .admin-v60 .v139-admin-side-stack > .admin-card > .v139-compact-list {
        padding-right: 16px;
        padding-left: 16px;
    }
    .admin-v60 .v139-admin-side-stack > .admin-card > .admin-outline-button {
        width: calc(100% - 32px);
        margin-right: 16px;
        margin-left: 16px;
    }
    .admin-v60 .v141-admin-grid > .admin-panel > .v141-funnel,
    .admin-v60 .v141-admin-grid > .admin-panel > .v141-share-grid,
    .admin-v60 .v141-settings > .v141-toggle-grid,
    .admin-v60 .v141-settings > .v141-fields,
    .admin-v60 .v141-settings > .v141-integration-grid {
        margin-right: 16px;
        margin-left: 16px;
    }
    .admin-v60 .v141-settings > .admin-settings-actions {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 480px) {
    .admin-v60 .smtp-form-actions {
        grid-template-columns: 1fr;
    }
    .admin-v60 .smtp-form-actions > small {
        grid-column: auto;
    }
}

/* V14.1.8 — live user and email acceptance center */
.v1418-page {
    width: 100%;
    max-width: 100%;
}

.v1418-header {
    align-items: center;
}

.v1418-scan-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.v1418-scan-form label,
.v1418-test-form label {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: #455c70;
    font-size: 10px;
    font-weight: 850;
}

.v1418-scan-form select,
.v1418-test-form input,
.v1418-test-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: #17283c;
    border: 1px solid #d5e0e7;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    font: inherit;
}

.v1418-scan-form select {
    min-width: 130px;
}

.v1418-readonly-note {
    margin: 0;
}

.v1418-readonly-note > span {
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: #0d6d50;
    border-radius: 8px;
    background: #e7f7f1;
    font-weight: 900;
}

.v1418-page .v111-kpi-grid article small {
    color: #687b8e;
    font-size: 11px;
    font-weight: 800;
}

.v1418-group .v111-panel-heading,
.v1418-test-panel .v111-panel-heading {
    padding-right: 20px;
    padding-left: 20px;
}

.v1418-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    padding: 20px;
}

.v1418-check {
    display: grid;
    min-width: 0;
    min-height: 156px;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dfe7ed;
    border-top: 3px solid #9fb0bd;
    border-radius: 14px;
    background: #fff;
}

.v1418-check.is-ok { border-top-color: #16805e; }
.v1418-check.is-warning { border-top-color: #e2a525; }
.v1418-check.is-error { border-top-color: #c43f46; }

.v1418-check-top {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.v1418-check-top > strong {
    color: #17283c;
    font-size: 22px;
    line-height: 1;
}

.v1418-check h3 {
    margin: 0;
    color: #17283c;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.v1418-check p {
    margin: 0;
    color: #687b8e;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.v1418-test-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(120px, 180px) max-content;
    align-items: end;
    gap: 12px;
    padding: 20px;
}

.v1418-protocol-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 20px;
    list-style: none;
}

.v1418-protocol-grid li {
    display: flex;
    min-width: 0;
    gap: 11px;
    padding: 15px;
    border: 1px solid #e2e9ee;
    background: #fff;
}

.v1418-protocol-grid li:nth-child(n + 5) {
    border-top: 0;
}

.v1418-protocol-grid li:not(:nth-child(4n + 1)) {
    border-left: 0;
}

.v1418-protocol-grid li:nth-child(1) { border-radius: 12px 0 0; }
.v1418-protocol-grid li:nth-child(4) { border-radius: 0 12px 0 0; }
.v1418-protocol-grid li:nth-child(5) { border-radius: 0 0 0 12px; }
.v1418-protocol-grid li:nth-child(8) { border-radius: 0 0 12px; }

.v1418-protocol-grid li > span {
    display: inline-flex;
    flex: 0 0 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    background: #183550;
    font-size: 11px;
    font-weight: 900;
}

.v1418-protocol-grid strong {
    color: #17283c;
    font-size: 12px;
}

.v1418-protocol-grid p {
    margin: 5px 0 0;
    color: #687b8e;
    font-size: 11px;
    line-height: 1.55;
}

.v1418-test-form .admin-primary-button {
    white-space: nowrap;
}

.v1418-panel-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    padding: 0 20px 20px;
}

.v1418-panel-links a {
    color: #315f86;
    font-size: 12px;
    font-weight: 800;
}

.v1418-page .v111-table td:first-child small {
    display: block;
    margin-top: 4px;
    color: #687b8e;
}

@media (max-width: 1180px) {
    .v1418-check-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v1418-protocol-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v1418-protocol-grid li,
    .v1418-protocol-grid li:nth-child(n + 5),
    .v1418-protocol-grid li:nth-child(1),
    .v1418-protocol-grid li:nth-child(4),
    .v1418-protocol-grid li:nth-child(5),
    .v1418-protocol-grid li:nth-child(8) {
        border-radius: 0;
    }

    .v1418-protocol-grid li:nth-child(n + 3) {
        border-top: 0;
    }

    .v1418-protocol-grid li:nth-child(odd) {
        border-left: 1px solid #e2e9ee;
    }

    .v1418-protocol-grid li:nth-child(even) {
        border-left: 0;
    }

    .v1418-protocol-grid li:first-child { border-radius: 12px 0 0; }
    .v1418-protocol-grid li:nth-child(2) { border-radius: 0 12px 0 0; }
    .v1418-protocol-grid li:nth-child(7) { border-radius: 0 0 0 12px; }
    .v1418-protocol-grid li:last-child { border-radius: 0 0 12px; }
}

@media (max-width: 860px) {
    .v1418-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v1418-test-form {
        grid-template-columns: 1fr 160px;
    }

    .v1418-test-form .admin-primary-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .v1418-scan-form,
    .v1418-test-panel .v111-panel-heading,
    .v1418-protocol .v111-panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .v1418-scan-form select,
    .v1418-scan-form .admin-primary-button,
    .v1418-test-panel .admin-secondary-button,
    .v1418-protocol .admin-secondary-button {
        width: 100%;
    }

    .v1418-check-grid,
    .v1418-test-form,
    .v1418-protocol-grid {
        grid-template-columns: 1fr;
        padding-right: 16px;
        padding-left: 16px;
    }

    .v1418-protocol-grid li,
    .v1418-protocol-grid li:nth-child(n),
    .v1418-protocol-grid li:first-child,
    .v1418-protocol-grid li:last-child {
        border: 1px solid #e2e9ee;
        border-top: 0;
        border-radius: 0;
    }

    .v1418-protocol-grid li:first-child {
        border-top: 1px solid #e2e9ee;
        border-radius: 12px 12px 0 0;
    }

    .v1418-protocol-grid li:last-child {
        border-radius: 0 0 12px 12px;
    }

    .v1418-test-form .admin-primary-button {
        grid-column: auto;
    }

    .v1418-panel-links {
        align-items: stretch;
        flex-direction: column;
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* V14.1.8.2 — restore the centered home-city content boundary */
.v141-home-cities {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
}
