:root {
    --canvas: #000000;
    --surface: #111318;
    --surface-raised: #171a21;
    --surface-soft: #0a0c10;
    --text: #ffffff;
    --text-muted: #b7bcc8;
    --border: #2a2e37;
    --primary: #0033ff;
    --primary-bright: #0066ff;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-blue: 0 18px 60px rgba(0, 51, 255, .22);
    --site-footer-height: 64px;
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-bottom: calc(var(--site-footer-height) + env(safe-area-inset-bottom));
    background: var(--canvas);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
}

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

select,
textarea {
    color: var(--text);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--primary-bright);
    outline-offset: 3px;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    font-size: 1.38rem;
    letter-spacing: -.04em;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid var(--primary-bright);
    border-radius: 11px 5px 11px 5px;
    color: var(--primary-bright);
    box-shadow: inset 0 0 16px rgba(0, 102, 255, .22);
    font-size: 1.2rem;
    font-weight: 900;
    font-style: italic;
}

.brand-accent {
    color: var(--primary-bright);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a,
.text-link {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
}

.main-nav a:hover,
.text-link:hover {
    color: var(--text);
}

.header-actions > div,
.authenticated-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 750;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
    color: white;
    box-shadow: 0 10px 28px rgba(0, 51, 255, .25);
}

.button-primary:hover {
    background: linear-gradient(135deg, #0c3cff 0%, #1875ff 100%);
}

.button-ghost {
    border-color: var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
}

.button-quiet {
    background: transparent;
    color: var(--text-muted);
}

.button-large {
    min-height: 52px;
    padding-inline: 24px;
}

.button-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 710px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 72% 50%, rgba(0, 51, 255, .17), transparent 34%),
        linear-gradient(180deg, #020307 0%, #000 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero-glow {
    position: absolute;
    right: -160px;
    bottom: -290px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: rgba(0, 51, 255, .25);
    filter: blur(110px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: 72px;
    padding-block: 80px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #8fa6ff;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .14em;
}

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

.hero h1 {
    max-width: 800px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: .96;
    letter-spacing: -.072em;
}

.hero h1 span {
    color: var(--primary-bright);
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.search-bar {
    max-width: 680px;
    min-height: 64px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 7px 7px 7px 20px;
    border: 1px solid #343a47;
    border-radius: 17px;
    background: rgba(17, 19, 24, .9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.search-icon {
    color: var(--primary-bright);
    font-size: 1.6rem;
}

.search-bar input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.05rem;
}

.search-bar input::placeholder {
    color: #8b909c;
}

.search-bar button {
    min-height: 48px;
    padding-inline: 24px;
    border: 0;
    border-radius: 11px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 22px;
}

.hero-panel {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 32px;
    background: rgba(8, 10, 14, .72);
    box-shadow: var(--shadow-blue);
    transform: rotate(1.2deg);
}

.signal-card {
    min-height: 170px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 19px;
    background: linear-gradient(145deg, #171a21, #0d0f13);
}

.signal-card-main {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 12px;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, .4), transparent 35%),
        linear-gradient(145deg, #111a3f, #0d0f13 65%);
}

.signal-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.signal-card-main strong {
    max-width: 350px;
    font-size: 2.1rem;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.signal-card p {
    margin: 0;
    color: var(--text-muted);
}

.card-link,
.listing-card > a,
.service-main {
    color: inherit;
    text-decoration: none;
}

.page-main {
    min-height: 72vh;
    padding-block: 54px 100px;
    background:
        radial-gradient(circle at 85% 0, rgba(0, 51, 255, .1), transparent 30%),
        var(--canvas);
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.page-heading h1,
.center-heading h1 {
    margin-bottom: 5px;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.center-heading {
    max-width: 720px;
    margin: 20px auto 50px;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-weight: 700;
    text-decoration: none;
}

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

.listing-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .2s ease, border-color .2s ease;
}

.listing-card:hover {
    border-color: #46506a;
    transform: translateY(-3px);
}

.listing-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #090b10;
}

.listing-media img,
.gallery img,
.management-thumb img,
.image-manager img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 102, 255, .34), transparent 34%),
        linear-gradient(145deg, #121a32, #090a0d);
    color: #6b85ff;
    font-size: 3rem;
    font-weight: 900;
}

.featured-badge,
.verified,
.tag-row span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
}

.listing-media .featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.featured-badge {
    background: var(--warning);
    color: #160d00;
}

.verified {
    background: rgba(34, 197, 94, .14);
    color: #8ff0ad;
}

.listing-body {
    padding: 18px;
}

.listing-category {
    margin-bottom: 7px;
    color: #8fa6ff;
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.listing-body h3 {
    min-height: 48px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.28;
}

.price {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.28rem;
}

.listing-body .muted {
    margin-bottom: 0;
    font-size: .84rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.service-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.service-card.card-link:hover {
    border-color: #46506a;
}

.service-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.service-card h3 {
    margin-bottom: 4px;
}

.service-card p {
    margin-bottom: 4px;
}

.avatar-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border: 1px solid #304585;
    border-radius: 17px;
    background: linear-gradient(145deg, #183073, #0c1633);
    color: #b3c2ff;
    font-size: 1.5rem;
    font-weight: 900;
}

.avatar-large {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    font-size: 2rem;
}

.avatar-photo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 17px;
    object-fit: cover;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 28px;
}

.service-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.inline-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.inline-title h1,
.inline-title h3 {
    margin-bottom: 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.tag-row span {
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.empty-panel {
    padding: 55px 30px;
    border: 1px dashed #383e4a;
    border-radius: var(--radius-lg);
    background: rgba(17, 19, 24, .55);
    text-align: center;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(120px, 1fr));
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.filter-panel label,
.field-grid label,
.editor-form label:not(.checkbox-row):not(.file-drop) {
    display: grid;
    gap: 7px;
}

.filter-panel label > span,
.field-grid label > span,
.editor-form label > span {
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 750;
}

.filter-panel input,
.filter-panel select,
.field-grid input,
.field-grid select,
.field-grid textarea,
.compact-form input,
.compact-form select,
.compact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #343945;
    border-radius: var(--radius-sm);
    outline: 0;
    background: #090b0f;
    color: var(--text);
}

textarea {
    resize: vertical;
}

select option {
    background: #101218;
}

.filter-panel input:focus,
.filter-panel select:focus,
.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus {
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .13);
}

.filter-search {
    grid-column: span 2;
}

.service-filters {
    grid-template-columns: 2fr 1fr 1fr auto auto auto;
    align-items: end;
}

.checkbox-filter {
    min-height: 46px;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px;
}

.checkbox-filter input {
    width: 18px;
    min-height: auto;
}

.results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 42px 0 20px;
}

.results-heading h2 {
    margin-bottom: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 40px;
}

.pagination a {
    color: #9db1ff;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
    align-items: start;
    gap: 24px;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 220px;
    gap: 8px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery img:first-child {
    grid-row: span 2;
}

.gallery img {
    cursor: zoom-in;
}

.gallery img[aria-current="true"] {
    cursor: default;
}

.gallery img:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -4px;
}

.gallery-empty {
    height: 420px;
    display: block;
}

.detail-content h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.detail-content h2 {
    margin-top: 32px;
}

.detail-kicker,
.stats-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #9db1ff;
    font-size: .8rem;
    font-weight: 850;
    text-transform: uppercase;
}

.detail-location {
    color: var(--text-muted);
}

.detail-price {
    display: block;
    margin-block: 24px;
    color: #a9b9ff;
    font-size: 2rem;
}

.description {
    color: #d5d8df;
    white-space: pre-line;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
}

.spec-grid > div {
    padding: 16px;
    background: #0b0d11;
}

.spec-grid span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: .76rem;
}

.stats-row {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-transform: none;
}

.sticky-panel {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 10px;
}

.sticky-panel h2 {
    margin-bottom: 0;
}

.report-panel {
    margin-top: 16px;
}

.report-panel summary,
.danger-zone summary {
    cursor: pointer;
    font-weight: 800;
}

.compact-form {
    margin-top: 18px;
}

.professional-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.professional-hero h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -.05em;
}

.narrow-shell {
    max-width: 1050px;
}

.dashboard-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
}

.dashboard-nav a {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-nav a.active {
    border-color: #3158ff;
    background: rgba(0, 51, 255, .16);
    color: white;
}

.management-list {
    display: grid;
    gap: 14px;
}

.management-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.management-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.management-info h2 {
    margin: 7px 0;
}

.management-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.management-actions form {
    display: inline-flex;
}

.button-danger {
    border-color: #b91c1c;
    background: #dc2626;
    color: #ffffff;
}

.button-danger:hover,
.button-danger:focus-visible {
    border-color: #991b1b;
    background: #b91c1c;
    color: #ffffff;
}

.form-shell {
    max-width: 980px;
}

.editor-form {
    display: grid;
    gap: 18px;
}

.form-section {
    padding: clamp(22px, 4vw, 38px);
}

.form-section-title {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.form-section-title > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 51, 255, .18);
    color: #9db1ff;
    font-weight: 900;
}

.form-section-title h2 {
    margin-bottom: 4px;
}

.form-section-title p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.field-span-2 {
    grid-column: span 2;
}

.field-span-3 {
    grid-column: span 3;
}

.field-note {
    align-self: end;
    padding: 13px;
    color: var(--text-muted);
    font-size: .85rem;
}

.file-drop {
    min-height: 140px;
    display: grid;
    place-items: center;
    border: 2px dashed #394259;
    border-radius: var(--radius);
    background: #090b0f;
    cursor: pointer;
}

.file-drop input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.file-drop span {
    color: #a9b9ff !important;
    font-size: 1rem !important;
}

.image-manager {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.image-manager > div {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.image-manager .button {
    position: absolute;
    right: 6px;
    bottom: 6px;
    min-height: 34px;
    padding: 5px 9px;
}

.editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
}

.category-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.category-checks label {
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #0b0d11;
}

.category-checks input,
.toggle-grid input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-bright);
}

.toggle-grid {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.plan-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.plan-featured {
    border-color: #3158ff;
    box-shadow: var(--shadow-blue);
}

.plan-card h2 {
    font-size: 1.8rem;
}

.plan-price {
    min-height: 72px;
    margin-block: 24px;
}

.plan-price strong {
    font-size: 2rem;
}

.plan-card ul {
    min-height: 130px;
    padding-left: 20px;
    color: var(--text-muted);
}

.plan-card li {
    margin-block: 8px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--text-muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metrics-grid > div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.metrics-grid span {
    display: block;
    color: var(--text-muted);
    font-size: .78rem;
}

.metrics-grid strong {
    display: block;
    margin-top: 7px;
    font-size: 2rem;
}

.admin-section {
    margin-top: 18px;
}

.admin-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.simple-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.simple-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.legal-content {
    max-width: 820px;
    font-size: 1.08rem;
}

.legal-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -.055em;
}

.legal-note {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--warning);
    font-size: .9rem;
}

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

.notification-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.notification-card h2 {
    margin-bottom: 6px;
}

.notification-unread {
    border-color: #3158ff;
    background: linear-gradient(110deg, rgba(0, 51, 255, .12), var(--surface) 50%);
}

.role-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.role-form label {
    font-size: .76rem;
    white-space: nowrap;
}

.timeline {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.timeline span,
.timeline small {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-visit-counter {
    color: var(--text-muted);
    white-space: nowrap;
}

.signal-label,
.signal-number {
    margin-bottom: auto;
    color: #8fa6ff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.signal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.section {
    padding-block: 96px;
}

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

.section-heading h2,
.section-contrast h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -.05em;
}

.section-heading > p {
    max-width: 430px;
    margin-bottom: 4px;
    color: var(--text-muted);
}

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

.category-card {
    min-height: 210px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--surface-raised), var(--surface-soft));
    transition: transform .2s ease, border-color .2s ease;
}

.category-card:hover {
    border-color: #475067;
    transform: translateY(-3px);
}

.category-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(0, 51, 255, .16);
    color: var(--primary-bright);
    font-size: 1.4rem;
}

.category-card h3 {
    margin-bottom: 5px;
    font-size: 1.35rem;
}

.category-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.card-arrow {
    color: var(--primary-bright);
    font-size: 1.5rem;
}

.section-contrast {
    border-block: 1px solid var(--border);
    background: var(--surface-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--border);
}

.feature-grid > div {
    min-height: 150px;
    padding: 28px;
    background: var(--surface);
}

.feature-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.feature-grid p {
    color: var(--text-muted);
}

.messages {
    position: relative;
    z-index: 10;
}

.alert {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: var(--radius-sm);
}

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

.alert-success {
    border-color: rgba(34, 197, 94, .45);
    background: rgba(34, 197, 94, .1);
    color: #adf6c4;
}

.alert-error {
    border-color: rgba(239, 68, 68, .5);
    background: rgba(239, 68, 68, .1);
    color: #ffc2c2;
}

.alert-development {
    border-color: rgba(245, 158, 11, .45);
    background: rgba(245, 158, 11, .11);
    color: #ffdc9c;
}

.alert-development a {
    font-weight: 800;
}

.auth-main {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
    padding: 70px 20px 100px;
    background:
        radial-gradient(circle at 50% 10%, rgba(0, 51, 255, .16), transparent 34%);
}

.auth-card {
    width: min(100%, 500px);
    padding: clamp(26px, 5vw, 44px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(17, 19, 24, .94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.auth-card-wide {
    width: min(100%, 620px);
}

.auth-card h1 {
    margin-bottom: 8px;
    font-size: 2.35rem;
    letter-spacing: -.05em;
}

.muted {
    color: var(--text-muted);
}

.form-stack {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-stack label:not(.checkbox-row) {
    display: grid;
    gap: 8px;
    color: #e5e7eb;
    font-size: .92rem;
    font-weight: 700;
}

.form-stack input[type="text"],
.form-stack input[type="email"],
.form-stack input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #343945;
    border-radius: var(--radius-sm);
    outline: 0;
    background: #090b0f;
    color: var(--text);
}

.form-stack input:focus {
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .16);
}

.field-hint {
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 500;
}

.field-error {
    color: #ff9898;
    font-size: .82rem;
    font-weight: 600;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: .9rem;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-bright);
}

.form-between {
    display: flex;
    justify-content: flex-end;
}

.auth-switch {
    margin: 26px 0 0;
    color: var(--text-muted);
    text-align: center;
}

.auth-switch a {
    color: #8fa6ff;
    font-weight: 800;
}

.account-main {
    min-height: 680px;
    padding-block: 70px 100px;
}

.account-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 44px;
}

.account-sidebar h1 {
    margin-bottom: 4px;
    font-size: 1.9rem;
    letter-spacing: -.04em;
}

.account-sidebar nav {
    display: grid;
    gap: 7px;
    margin-top: 30px;
}

.account-sidebar nav a,
.account-sidebar nav span {
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
}

.account-sidebar nav .active {
    background: rgba(0, 51, 255, .15);
    color: white;
}

.account-sidebar nav span {
    opacity: .55;
}

.account-logout-form {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.account-logout {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.account-logout:hover {
    border-color: rgba(255, 75, 81, .45);
    background: rgba(255, 75, 81, .08);
    color: #ff777c;
}

.account-content {
    display: grid;
    gap: 18px;
}

.panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.panel-muted {
    background: var(--surface-soft);
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.panel h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    letter-spacing: -.04em;
}

.status-badge {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.status-ok {
    border-color: rgba(34, 197, 94, .4);
    background: rgba(34, 197, 94, .1);
    color: #8ff0ad;
}

.status-pending {
    border-color: rgba(245, 158, 11, .4);
    background: rgba(245, 158, 11, .1);
    color: #ffcf78;
}

.profile-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-block: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
}

.profile-data > div {
    padding: 18px;
    background: #0d0f13;
}

.profile-data dt {
    color: var(--text-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.profile-data dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.empty-state {
    min-height: 70vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 50px 20px;
    text-align: center;
}

.empty-state h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: -.06em;
}

.error-code {
    margin: 0;
    color: var(--primary-bright);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.site-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    min-height: var(--site-footer-height);
    border-top: 1px solid var(--border);
    background: #050608;
}

.footer-inner {
    height: var(--site-footer-height);
    min-height: var(--site-footer-height);
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-inner p {
    margin: 0;
}

.developer-credit {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    align-self: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: inherit;
    line-height: 1.5;
    white-space: nowrap;
}

.developer-credit > span {
    display: block;
    margin: 0;
    line-height: 1.5;
}

.developer-logo {
    display: block;
    width: 150px;
    height: auto;
}

.brand-small {
    margin-right: auto;
    font-size: 1.05rem;
}

.brand-small .brand-mark {
    width: 30px;
    height: 30px;
    font-size: .9rem;
}

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

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

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

    .hero-panel {
        transform: none;
    }

    .category-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 18px;
    }

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

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

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

    .filter-panel,
    .service-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-search {
        grid-column: span 2;
    }

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

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 66px;
    }

    .brand {
        font-size: 1.06rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .header-actions .button-ghost,
    .header-actions .button-quiet {
        display: none;
    }

    .header-actions .button {
        min-height: 40px;
        padding: 8px 12px;
        font-size: .86rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        gap: 50px;
        padding-block: 65px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .search-bar {
        grid-template-columns: auto 1fr;
        padding-right: 12px;
    }

    .search-bar button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hero-actions,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        gap: 12px;
        padding-block: 16px;
    }

    .developer-credit {
        align-self: flex-start;
    }

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

    .listing-grid,
    .service-grid,
    .plan-grid,
    .filter-panel,
    .service-filters,
    .field-grid,
    .field-grid-3,
    .category-checks,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .filter-search,
    .field-span-2,
    .field-span-3 {
        grid-column: span 1;
    }

    .management-card {
        grid-template-columns: 95px 1fr;
    }

    .management-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .gallery img:first-child {
        grid-row: auto;
    }

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

    .image-manager {
        grid-template-columns: 1fr 1fr;
    }

    .editor-actions,
    .toggle-grid {
        align-items: stretch;
        flex-direction: column;
    }

    .professional-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .signal-row,
    .form-grid,
    .profile-data {
        grid-template-columns: 1fr;
    }

    .section {
        padding-block: 70px;
    }

    .category-card {
        min-height: 175px;
    }

    .auth-main {
        padding-inline: 12px;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .panel-heading {
        flex-direction: column;
    }

    .footer-inner {
        justify-content: center;
        padding-block: 16px;
    }

    .brand-small {
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* MercadoNexo reference system · July 2026 */
:root {
    --canvas: #000;
    --surface: #0b0c0f;
    --surface-raised: #111216;
    --surface-soft: #07080a;
    --text: #f7f7f8;
    --text-muted: #9a9da5;
    --border: #292b30;
    --primary: #075fff;
    --primary-bright: #1671ff;
    --radius-sm: 7px;
    --radius: 9px;
    --radius-lg: 12px;
    --shadow-blue: 0 14px 36px rgba(0, 83, 255, .18);
}

body {
    background: #000;
    color: var(--text);
    font-size: 15px;
}

.shell {
    width: min(1750px, calc(100% - 84px));
}

.site-header {
    background: rgba(0, 0, 0, .96);
    border-color: #222328;
    backdrop-filter: blur(12px);
}

.site-header--vehicles,
.site-header--properties,
.site-header--services,
.site-header--products,
.site-header--education,
.site-header--jobs,
.site-header--pets {
    background: #000;
    border-color: #222328;
}

.brand-platform {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-badge {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #30333a;
    border-radius: 8px;
    background: #101116;
    color: var(--primary-bright);
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}

.header-inner {
    min-height: 68px;
    gap: 32px;
}

.brand {
    gap: 9px;
    font-size: 1.32rem;
    letter-spacing: -.045em;
}

.brand-logo {
    width: auto;
    height: 36px;
    display: block;
    object-fit: contain;
}

.brand-small .brand-logo {
    height: 30px;
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 31px;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i,
.brand-mark b {
    position: absolute;
    display: block;
    content: "";
}

.brand-mark::before {
    left: 2px;
    bottom: 3px;
    width: 17px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-bright);
    transform: rotate(-47deg);
    transform-origin: left center;
}

.brand-mark::after {
    right: 3px;
    top: 3px;
    width: 11px;
    height: 11px;
    border-top: 3px solid var(--primary-bright);
    border-right: 3px solid var(--primary-bright);
}

.brand-mark i {
    left: 1px;
    bottom: 2px;
    width: 3px;
    height: 11px;
    border-radius: 3px;
    background: var(--primary-bright);
    box-shadow: 6px 0 0 rgba(22, 113, 255, .72), 12px 0 0 rgba(22, 113, 255, .42);
}

.brand-mark b {
    display: none;
}

.main-nav {
    justify-content: center;
    gap: clamp(22px, 2.4vw, 43px);
    margin-inline: auto;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-block: 23px 21px;
    color: #a6a8ae;
    font-size: .91rem;
    font-weight: 550;
    white-space: nowrap;
}

.nav-icon {
    color: var(--primary-bright);
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: .9rem;
    line-height: 1;
}

.platform-selector-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.platform-selector-label {
    color: #a6a8ae;
    font-size: .82rem;
    font-weight: 600;
}

.platform-selector {
    position: relative;
}

.platform-selector summary {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #35373d;
    border-radius: 8px;
    background: #0b0c0f;
    color: #d2d3d7;
    font-size: .88rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.platform-selector summary::-webkit-details-marker {
    display: none;
}

.platform-selector summary:hover,
.platform-selector[open] summary {
    border-color: #5a5d66;
    background: #15161a;
    color: #ffffff;
}

.selector-grid-icon {
    color: var(--primary-bright);
    font-size: 1rem;
}

.platform-current-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    left: 50%;
    width: min(560px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    border: 1px solid #30333a;
    border-radius: 10px;
    background: #0b0c0f;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .48);
    transform: translateX(-50%);
}

.main-nav .platform-menu a {
    min-height: 46px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #b8bbc2;
    font-size: .84rem;
    text-decoration: none;
}

.main-nav .platform-menu a::after {
    display: none;
}

.main-nav .platform-menu a > span {
    display: grid;
    place-items: center;
    color: var(--primary-bright);
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 1.1rem;
}

.main-nav .platform-menu a b {
    overflow: hidden;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav .platform-menu a:hover,
.main-nav .platform-menu a.active {
    border-color: #2457a8;
    background: #10224a;
    color: #ffffff;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--primary-bright);
}

.main-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--primary-bright);
}

.header-actions {
    flex: 0 0 auto;
}

.header-actions > div,
.authenticated-actions {
    gap: 5px;
}

.header-actions form {
    display: flex;
}

.header-icon-link {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid #35373d;
    border-radius: 8px;
    background: #0b0c0f;
    color: #f4f5f7;
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
    border-color: #075fff;
    background: #10224a;
    color: #8cb8ff;
}

.notification-icon {
    display: block;
    transform: translateY(-1px);
}

.button {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 700;
}

.button-primary {
    background: var(--primary);
    box-shadow: none;
}

.button-primary:hover {
    background: var(--primary-bright);
}

.button-publish {
    gap: 7px;
    border-color: #4a4d54;
    background: #0b0c0f;
    color: #fff;
}

.button-publish:hover {
    border-color: #777b84;
    background: #131419;
}

.publish-fab {
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: calc(var(--site-footer-height) + max(16px, env(safe-area-inset-bottom)));
    z-index: 1200;
    min-height: 48px;
    padding: 12px 20px;
    border-color: #4a4d54;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}

.publish-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgb(0 0 0 / 42%);
}

.button-ghost {
    border-color: #35373d;
    background: #0b0c0f;
}

.button-quiet {
    color: #d2d3d7;
}

.page-main {
    padding-block: 34px 84px;
    background: #000;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 27px;
    color: #777a81;
    font-size: .8rem;
}

.breadcrumb a {
    color: #a8abb2;
    text-decoration: none;
}

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

.market-heading-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.market-heading-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid #30333a;
    border-radius: 10px;
    background: #101116;
    color: var(--primary-bright);
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 1.55rem;
    line-height: 1;
}

.market-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(1.85rem, 2.4vw, 2.7rem);
    line-height: 1;
    letter-spacing: -.052em;
}

.market-heading p {
    margin: 0;
    color: #999ca4;
    font-size: 1rem;
}

.market-form {
    display: block;
}

.market-searchbar {
    min-height: 57px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 118px;
    overflow: hidden;
    border: 1px solid #34363c;
    border-radius: 8px;
    background: #0a0b0e;
}

.market-searchbar label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-inline: 18px;
}

.market-searchbar label + label {
    border-left: 1px solid #2c2e34;
}

.market-searchbar label > span {
    color: #8e929a;
    font-size: 1.23rem;
}

.market-searchbar input {
    width: 100%;
    min-width: 0;
    height: 55px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.market-searchbar input::placeholder {
    color: #787b83;
}

.market-searchbar .button {
    min-height: 55px;
    margin: 0;
    border-radius: 0;
}

.operation-tabs {
    display: flex;
    gap: 3px;
    margin-top: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #202126;
}

.operation-tabs label {
    cursor: pointer;
}

.operation-tabs input {
    position: absolute;
    opacity: 0;
}

.operation-tabs span {
    min-width: 105px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 7px 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #8e9199;
    font-size: .84rem;
    font-weight: 650;
}

.operation-tabs input:checked + span {
    border-color: #34363d;
    background: #15161a;
    color: #fff;
}

.operation-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-strip {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 15px;
    overflow-x: auto;
    border-bottom: 1px solid #202126;
}

.category-strip a {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid #2e3036;
    border-radius: 6px;
    color: #a6a9b0;
    font-size: .82rem;
    font-weight: 650;
    text-decoration: none;
}

.category-strip a:hover,
.category-strip a.active {
    border-color: #176fff;
    background: rgba(7, 95, 255, .13);
    color: #fff;
}

.market-layout {
    display: grid;
    grid-template-columns: 282px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    margin-top: 29px;
}

.filter-sidebar {
    overflow: hidden;
    border: 1px solid #2b2d32;
    border-radius: 8px;
    background: #090a0d;
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 17px;
    border-bottom: 1px solid #24262b;
}

.filter-title h2 {
    margin: 0;
    font-size: .98rem;
}

.filter-title a {
    color: #5793ff;
    font-size: .76rem;
    text-decoration: none;
}

.filter-group {
    display: grid;
    gap: 10px;
    padding: 16px 17px;
    border-bottom: 1px solid #24262b;
}

.filter-group label {
    display: grid;
    gap: 8px;
}

.filter-group label > span,
.filter-label {
    color: #d2d3d7;
    font-size: .78rem;
    font-weight: 650;
}

.filter-group input,
.filter-group select,
.sort-control select {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid #33353b;
    border-radius: 6px;
    outline: 0;
    background: #0d0e12;
    color: #d9dade;
    font-size: .79rem;
}

.filter-group input:focus,
.filter-group select:focus,
.sort-control select:focus {
    border-color: var(--primary-bright);
}

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

.filter-sidebar > .button {
    width: calc(100% - 34px);
    margin: 16px 17px;
}

.service-location-grid {
    display: grid;
    gap: 11px;
}

.service-more-filters {
    border-bottom: 1px solid #24262b;
}

.service-more-filters summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 17px;
    color: #5793ff;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 800;
    list-style: none;
}

.service-more-filters summary::-webkit-details-marker {
    display: none;
}

.service-more-filters summary::after {
    content: "⌄";
    color: #8f96a5;
    font-size: 1rem;
    transition: transform .18s ease;
}

.service-more-filters[open] summary::after {
    transform: rotate(180deg);
}

.service-more-filters-body {
    border-top: 1px solid #24262b;
}

.service-more-filters-body .filter-group:last-child {
    border-bottom: 0;
}

.vehicle-filter-sidebar .filter-title {
    border-bottom: 0;
    padding-bottom: 4px;
}

.vehicle-filter-sidebar .filter-group {
    border-bottom: 0;
    padding-top: 8px;
    padding-bottom: 4px;
}

.vehicle-filter-sidebar .year-range-fields label {
    display: grid;
}

.vehicle-option-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
}

.check-filter-group {
    gap: 3px;
}

.filter-group .checkbox-filter {
    min-height: 37px;
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.filter-group .checkbox-filter input {
    width: 16px;
    height: 16px;
    min-height: 16px;
    accent-color: var(--primary-bright);
}

.filter-group .checkbox-filter span {
    color: #aaaeb5;
    font-weight: 500;
}

.vehicle-option-grid .checkbox-filter,
.verified-business-filter .checkbox-filter {
    min-height: 32px;
}

.verified-business-filter {
    padding-top: 10px;
}

.verified-business-filter .checkbox-filter {
    display: flex;
    gap: 8px;
}

.verified-business-filter .verified-shield {
    width: 17px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bright);
    color: #fff;
    clip-path: polygon(50% 0, 92% 17%, 86% 67%, 50% 100%, 14% 67%, 8% 17%);
    font-size: .7rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.vehicle-more-filters {
    margin-top: 6px;
}

.vehicle-rental-filters {
    border-top: 1px solid #24262b;
}

.vehicle-rental-filters[hidden] {
    display: none;
}

.filter-subtitle {
    padding: 14px 17px 4px;
    color: #d2d3d7;
    font-size: .78rem;
    font-weight: 800;
}

.filter-clear-link {
    display: block;
    width: max-content;
    margin: -5px auto 17px;
    color: #2f7cff;
    font-size: .78rem;
    text-decoration: none;
}

.filter-clear-link:hover {
    color: #78a8ff;
    text-decoration: underline;
}

.market-results {
    min-width: 0;
}

.results-toolbar {
    min-height: 50px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 18px;
}

.results-toolbar h2 {
    margin-bottom: 3px;
    font-size: 1.18rem;
}

.results-toolbar p {
    margin: 0;
    color: #757880;
    font-size: .78rem;
}

.results-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-toggle {
    min-height: 39px;
    white-space: nowrap;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8e9199;
    font-size: .78rem;
}

.sort-control select {
    width: 168px;
}

.property-map-panel {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #33353b;
    border-radius: 8px;
    background: #0a0b0e;
}

.property-map-canvas {
    width: 100%;
    height: 520px;
}

.property-map-note,
.property-map-empty {
    margin: 0;
    padding: 9px 13px;
    color: #9ba0aa;
    font-size: .75rem;
}

.property-map-empty {
    position: absolute;
    z-index: 500;
    top: 14px;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 28px);
    transform: translateX(-50%);
    border: 1px solid #34363d;
    border-radius: 6px;
    background: rgba(8, 9, 12, .94);
    color: #fff;
}

.leaflet-popup-content {
    display: grid;
    gap: 5px;
    min-width: 160px;
}

.leaflet-popup-content span,
.leaflet-popup-content b,
.leaflet-popup-content a {
    display: block;
}

.leaflet-popup-content a {
    color: #075fff;
    font-weight: 750;
}

.market-listing-grid,
.service-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.listing-card {
    border-color: #2d2f34;
    border-radius: 8px;
    background: #08090b;
}

.listing-card:hover {
    border-color: #53565e;
    transform: translateY(-2px);
}

.listing-media {
    aspect-ratio: 16 / 10;
    background: #0d0e11;
}

.listing-media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 28%;
    content: "";
    background: linear-gradient(transparent, rgba(0, 0, 0, .48));
    pointer-events: none;
}

.listing-media .featured-badge {
    z-index: 1;
    top: 10px;
    left: 10px;
}

.featured-badge {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-size: .64rem;
    letter-spacing: .02em;
}

.card-favorite {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 10px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.card-favorite-button {
    padding: 0;
    font-family: inherit;
}

.card-favorite:hover,
.card-favorite:focus-visible,
.card-favorite.is-favorite {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(16, 86, 255, .9);
}

.favorite-card-forms {
    display: none;
}

.listing-body {
    padding: 14px 15px 13px;
}

.listing-category {
    margin-bottom: 5px;
    color: #858992;
    font-size: .66rem;
    letter-spacing: .07em;
}

.listing-body h3 {
    min-height: 41px;
    margin-bottom: 7px;
    font-size: .98rem;
    line-height: 1.3;
}

.listing-specs {
    min-height: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 11px;
    color: #898c94;
    font-size: .72rem;
}

.listing-specs span + span::before {
    margin-inline: 7px;
    content: "·";
    color: #55585f;
}

.price,
.detail-price {
    color: #2d7dff;
}

.listing-body .price {
    margin-bottom: 12px;
    font-size: 1.2rem;
    letter-spacing: -.02em;
}

.card-seller {
    min-height: 29px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #202126;
    color: #777a82;
    font-size: .68rem;
}

.seller-avatar {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid #2e55a5;
    border-radius: 50%;
    background: #0e1c38;
    color: #77a5ff;
    font-size: .5rem;
    font-weight: 800;
}

.service-result-card {
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #08090b;
}

.service-result-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #0c0d10;
}

.service-media img,
.service-media .image-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-media .image-placeholder {
    display: grid;
    place-items: center;
}

.service-media .verified {
    position: absolute;
    left: 11px;
    bottom: 10px;
    border: 1px solid rgba(74, 222, 128, .32);
    border-radius: 4px;
    background: rgba(4, 40, 22, .92);
    color: #77e9a0;
}

.service-card-body {
    min-height: 184px;
    padding: 15px 16px;
}

.service-card-body h3 {
    font-size: 1rem;
}

.service-categories {
    color: #4e8dff;
    font-size: .73rem;
}

.service-description {
    min-height: 42px;
    color: #9598a0;
    font-size: .76rem;
    line-height: 1.45;
}

.service-card-body .tag-row {
    margin-top: 12px;
}

.service-card-body .tag-row span {
    padding: 3px 7px;
    border-radius: 4px;
    font-size: .64rem;
}

.service-location {
    display: flex;
    gap: 5px;
    margin-top: 14px;
    color: #777a82;
    font-size: .7rem;
}

.service-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-top: 1px solid #24262a;
    color: #d9dade;
    font-size: .75rem;
    font-weight: 650;
}

.service-card-action b {
    color: var(--primary-bright);
    font-size: 1rem;
}

.market-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 68px;
    padding: 27px 30px;
    border: 1px solid #2d3035;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 95, 255, .1), transparent 38%),
        #08090b;
}

.market-cta h2 {
    margin-bottom: 3px;
    font-size: 1.25rem;
}

.market-cta p {
    margin: 0;
    color: #8d9098;
    font-size: .83rem;
}

.empty-panel {
    padding: 52px 28px;
    border-color: #34363c;
    border-radius: 8px;
    background: #08090b;
}

.pagination {
    align-items: center;
    margin-top: 32px;
    color: #90939a;
    font-size: .82rem;
}

.pagination a {
    color: #72a2ff;
    text-decoration: none;
}

/* Shared screens */
.page-heading {
    margin-bottom: 28px;
}

.page-heading h1,
.center-heading h1 {
    font-size: clamp(2.25rem, 3.3vw, 3.45rem);
    letter-spacing: -.052em;
}

.eyebrow {
    color: #6f9fff;
    font-size: .68rem;
}

.panel,
.form-section,
.plan-card,
.metrics-grid > div,
.management-card,
.notification-card,
.auth-card {
    border-color: #2c2e33;
    border-radius: 9px;
    background: #090a0d;
}

.form-shell {
    max-width: 1100px;
}

.form-section {
    padding: clamp(22px, 3vw, 34px);
}

.field-grid input,
.field-grid select,
.field-grid textarea,
.compact-form input,
.compact-form select,
.compact-form textarea,
.form-stack input[type="text"],
.form-stack input[type="email"],
.form-stack input[type="password"],
.form-stack textarea,
.form-stack select {
    border-color: #34363c;
    border-radius: 6px;
    background: #08090b;
}

.file-drop {
    border-color: #363943;
    border-radius: 8px;
    background: #07080a;
}

.detail-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .55fr);
    gap: 22px;
}

.gallery {
    border: 1px solid #292b30;
    border-radius: 9px;
}

.detail-content h1 {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.detail-price {
    font-size: 2.15rem;
}

.spec-grid {
    border-radius: 7px;
}

.sticky-panel {
    top: 88px;
}

.category-card {
    min-height: 175px;
    border-radius: 9px;
    background: #090a0d;
}

.category-card:hover {
    border-color: #4a4d54;
}

.section {
    padding-block: 76px;
}

.section-contrast {
    background: #050608;
}

.auth-main {
    background: #000;
}

.auth-card {
    box-shadow: none;
}

.account-grid {
    grid-template-columns: 245px 1fr;
    gap: 30px;
}

.dashboard-nav a {
    border-radius: 6px;
}

.site-footer {
    background: #030304;
}

.footer-inner {
    min-height: 64px;
}

/* Home aligned to the supplied visual language */
.hero {
    min-height: 555px;
    background:
        radial-gradient(circle at 76% 42%, rgba(7, 95, 255, .13), transparent 29%),
        #000;
}

.hero::before {
    opacity: .1;
    background-size: 64px 64px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .55fr);
    gap: 64px;
    padding-block: 64px;
}

.hero h1 {
    max-width: 790px;
    margin-bottom: 18px;
    font-size: clamp(3rem, 5.6vw, 5.4rem);
}

.hero-lead {
    margin-bottom: 24px;
}

.search-bar {
    max-width: 760px;
    min-height: 57px;
    padding: 5px 5px 5px 17px;
    border-radius: 8px;
    background: #0a0b0e;
    box-shadow: none;
}

.search-bar button {
    min-height: 45px;
    border-radius: 6px;
    background: var(--primary);
}

.hero-panel {
    padding: 10px;
    border-radius: 12px;
    background: #08090b;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .5);
    transform: none;
}

.signal-card {
    min-height: 135px;
    padding: 21px;
    border-radius: 8px;
    background: #0c0d10;
}

.signal-card-main {
    min-height: 210px;
    background:
        radial-gradient(circle at 84% 18%, rgba(7, 95, 255, .32), transparent 31%),
        #0c0d10;
}

.signal-card-main strong {
    font-size: 1.7rem;
}

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

@media (max-width: 1180px) {
    .shell {
        width: min(100% - 40px, 1750px);
    }

    .main-nav {
        gap: 19px;
    }

    .main-nav a {
        font-size: .82rem;
    }

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

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .market-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 20px;
    }

    .market-searchbar {
        grid-template-columns: minmax(180px, 1fr) 105px;
    }

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

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

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 24px, 1750px);
    }

    .header-inner {
        min-height: 62px;
    }

    .brand-logo {
        height: 29px;
    }

    .platform-badge {
        width: 30px;
        height: 30px;
        font-size: 1.05rem;
    }

    .header-actions .button-quiet,
    .authenticated-actions form {
        display: none;
    }

    .button-publish {
        padding-inline: 10px;
        font-size: .77rem;
    }

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

    .market-heading h1 {
        font-size: 2rem;
    }

    .market-searchbar {
        grid-template-columns: 1fr;
        overflow: visible;
        border: 0;
        background: transparent;
        gap: 8px;
    }

    .market-searchbar label {
        min-height: 50px;
        border: 1px solid #34363c !important;
        border-radius: 7px;
        background: #0a0b0e;
    }

    .market-searchbar input {
        height: 48px;
    }

    .market-searchbar .button {
        min-height: 48px;
        border-radius: 7px;
    }

    .operation-tabs {
        overflow-x: auto;
    }

    .operation-tabs span {
        min-width: 94px;
    }

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

    .filter-sidebar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .market-listing-grid,
    .service-result-grid,
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .sort-control {
        width: 100%;
        justify-content: space-between;
    }

    .results-toolbar-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .map-toggle {
        width: 100%;
    }

    .property-map-canvas {
        height: 420px;
    }

    .market-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-cta .button {
        width: 100%;
    }

    .hero-grid {
        padding-block: 55px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

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

/* Theme selector. Dark remains the default PublicáPY appearance. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid #35373d;
    border-radius: 8px;
    background: #0b0c0f;
    color: #f4f5f7;
    cursor: pointer;
    transition:
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

.theme-toggle:hover {
    border-color: #686c75;
    background: #15161a;
    transform: translateY(-1px);
}

.theme-toggle-icon {
    grid-area: 1 / 1;
    font-family: "Segoe UI Symbol", sans-serif;
    font-size: 1.1rem;
    line-height: 1;
}

.theme-toggle-moon {
    display: none;
}

.mobile-platform-nav {
    display: none;
}

.mobile-filter-toggle {
    display: none;
}

html[data-theme="light"] {
    --canvas: #f7f9fc;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --surface-soft: #f2f5fa;
    --text: #071842;
    --text-muted: #68738e;
    --border: #d5ddea;
    --primary: #0a49ce;
    --primary-bright: #075fff;
    --warning: #ef1019;
    --danger: #e20d18;
    --shadow-blue: 0 16px 40px rgba(11, 65, 165, .12);
    color-scheme: light;
}

html[data-theme="light"] body {
    background: #ffffff;
    color: var(--text);
}

html[data-theme="light"] .theme-toggle-sun {
    display: none;
}

html[data-theme="light"] .theme-toggle-moon {
    display: block;
}

html[data-theme="light"] .theme-toggle {
    border-color: #35373d;
    background: #0b0c0f;
    color: #f4f5f7;
    box-shadow: none;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: #686c75;
    background: #15161a;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header--vehicles,
html[data-theme="light"] .site-header--properties,
html[data-theme="light"] .site-header--services,
html[data-theme="light"] .site-header--products,
html[data-theme="light"] .site-header--education,
html[data-theme="light"] .site-header--jobs,
html[data-theme="light"] .site-header--pets {
    border-color: #222328;
    background: rgba(0, 0, 0, .96);
    box-shadow: none;
}

html[data-theme="light"] .brand-logo {
    filter:
        brightness(0)
        saturate(100%)
        invert(12%)
        sepia(38%)
        saturate(3217%)
        hue-rotate(205deg)
        brightness(77%)
        contrast(107%);
}

html[data-theme="light"] .site-header .brand-logo {
    filter: none;
}

html[data-theme="light"] .platform-badge {
    border-color: #30333a;
    background: #101116;
    color: #075fff;
    box-shadow: none;
}

html[data-theme="light"] .market-heading-icon {
    border-color: #c8d4e8;
    background: #ffffff;
    color: #075fff;
    box-shadow: 0 4px 14px rgba(9, 58, 145, .08);
}

html[data-theme="light"] .main-nav a {
    color: #a6a8ae;
}

html[data-theme="light"] .text-link,
html[data-theme="light"] .button-quiet {
    color: #0c1d49;
}

html[data-theme="light"] .main-nav a:hover {
    color: #ffffff;
}

html[data-theme="light"] .text-link:hover {
    color: #ed1019;
}

html[data-theme="light"] .main-nav a:hover::after,
html[data-theme="light"] .main-nav a.active::after {
    background: var(--primary-bright);
}

html[data-theme="light"] .header-icon-link {
    border-color: #35373d;
    background: #0b0c0f;
    color: #f4f5f7;
}

html[data-theme="light"] .header-icon-link:hover,
html[data-theme="light"] .header-icon-link:focus-visible {
    border-color: #075fff;
    background: #10224a;
    color: #8cb8ff;
}

html[data-theme="light"] .site-header .button-quiet {
    color: #d2d3d7;
}

html[data-theme="light"] .button-publish {
    border-color: #4a4d54;
    background: #0b0c0f;
    color: #ffffff;
    box-shadow: none;
}

html[data-theme="light"] .button-publish:hover {
    border-color: #777b84;
    background: #131419;
}

html[data-theme="light"] .button-primary {
    background: linear-gradient(135deg, #075fff, #083fb5);
    color: #ffffff;
}

html[data-theme="light"] .button-primary:hover {
    background: #073aa4;
}

html[data-theme="light"] .button-ghost {
    border-color: #cad5e7;
    background: #ffffff;
    color: #0c1d49;
}

html[data-theme="light"] .page-main,
html[data-theme="light"] .auth-main {
    background: #ffffff;
}

html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .market-heading p,
html[data-theme="light"] .muted,
html[data-theme="light"] .results-toolbar p,
html[data-theme="light"] .sort-control,
html[data-theme="light"] .service-description,
html[data-theme="light"] .service-location,
html[data-theme="light"] .card-seller,
html[data-theme="light"] .empty-panel p,
html[data-theme="light"] .market-cta p {
    color: #68738e;
}

html[data-theme="light"] .breadcrumb a {
    color: #34466e;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .listing-category,
html[data-theme="light"] .service-categories {
    color: #0752d3;
}

html[data-theme="light"] .market-searchbar {
    border-color: #cbd6e8;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(19, 49, 104, .05);
}

html[data-theme="light"] .market-searchbar label + label {
    border-color: #d8e0ec;
}

html[data-theme="light"] .market-searchbar label > span,
html[data-theme="light"] .search-icon {
    color: #075fff;
}

html[data-theme="light"] .market-searchbar input,
html[data-theme="light"] .search-bar input {
    color: #071842;
}

html[data-theme="light"] .market-searchbar input::placeholder,
html[data-theme="light"] .search-bar input::placeholder {
    color: #71809d;
}

html[data-theme="light"] .market-searchbar .button,
html[data-theme="light"] .search-bar button {
    background: linear-gradient(135deg, #075fff, #083fb5);
    color: #ffffff;
}

html[data-theme="light"] .operation-tabs,
html[data-theme="light"] .category-strip {
    border-color: #dce3ef;
}

html[data-theme="light"] .operation-tabs span {
    color: #0b3ca8;
}

html[data-theme="light"] .operation-tabs input:checked + span {
    border-color: #ef1019;
    background: linear-gradient(135deg, #f2131c, #df0711);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(225, 9, 20, .14);
}

html[data-theme="light"] .category-strip a {
    border-color: #cfd9e9;
    background: #ffffff;
    color: #34466e;
}

html[data-theme="light"] .category-strip a:hover,
html[data-theme="light"] .category-strip a.active {
    border-color: #075fff;
    background: #edf4ff;
    color: #073da9;
}

html[data-theme="light"] :where(
    .filter-sidebar,
    .filter-panel,
    .panel,
    .form-section,
    .plan-card,
    .metrics-grid > div,
    .management-card,
    .notification-card,
    .auth-card,
    .category-card,
    .service-card,
    .service-result-card,
    .listing-card,
    .empty-panel
) {
    border-color: #d4ddea;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(13, 40, 91, .06);
}

html[data-theme="light"] .filter-title,
html[data-theme="light"] .filter-group,
html[data-theme="light"] .service-more-filters,
html[data-theme="light"] .service-more-filters-body,
html[data-theme="light"] .vehicle-rental-filters,
html[data-theme="light"] .service-card-action,
html[data-theme="light"] .card-seller {
    border-color: #e0e6f0;
}

html[data-theme="light"] .property-map-panel {
    border-color: #d4ddea;
    background: #ffffff;
}

html[data-theme="light"] .property-map-note {
    color: #68738e;
}

html[data-theme="light"] .filter-title a,
html[data-theme="light"] .filter-clear-link,
html[data-theme="light"] .pagination a,
html[data-theme="light"] .service-card-action b {
    color: #0752d3;
}

html[data-theme="light"] .filter-group label > span,
html[data-theme="light"] .filter-label,
html[data-theme="light"] .filter-subtitle,
html[data-theme="light"] .field-grid label > span,
html[data-theme="light"] .editor-form label > span,
html[data-theme="light"] .form-stack label > span,
html[data-theme="light"] .compact-form label > span {
    color: #162750;
}

html[data-theme="light"] .account-sidebar nav .active {
    background: linear-gradient(135deg, #f2131c, #d90711);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(217, 7, 17, .2);
}

html[data-theme="light"] .profile-data {
    border-color: #d4ddea;
    background: #d4ddea;
}

html[data-theme="light"] .profile-data > div {
    background: #f7f9fd;
}

html[data-theme="light"] .profile-data dt {
    color: #60708f;
}

html[data-theme="light"] .profile-data dd {
    color: #071842;
}

html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .filter-group input,
html[data-theme="light"] .filter-group select,
html[data-theme="light"] .sort-control select,
html[data-theme="light"] .field-grid input,
html[data-theme="light"] .field-grid select,
html[data-theme="light"] .field-grid textarea,
html[data-theme="light"] .compact-form input,
html[data-theme="light"] .compact-form select,
html[data-theme="light"] .compact-form textarea,
html[data-theme="light"] .form-stack input[type="text"],
html[data-theme="light"] .form-stack input[type="email"],
html[data-theme="light"] .form-stack input[type="password"],
html[data-theme="light"] .form-stack textarea,
html[data-theme="light"] .form-stack select {
    border-color: #b9c8e3;
    background: #ffffff;
    color: #071842;
}

html[data-theme="light"] select option {
    background: #ffffff;
    color: #071842;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: #7c89a3;
}

html[data-theme="light"] .filter-group .checkbox-filter span {
    color: #26375f;
}

html[data-theme="light"] .listing-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .category-card:hover {
    border-color: #8ba7d7;
    box-shadow: 0 13px 30px rgba(13, 52, 124, .11);
}

html[data-theme="light"] .card-favorite {
    border-color: #8fb0e7;
    background: rgba(255, 255, 255, .96);
    color: #0752d3;
    box-shadow: 0 4px 14px rgba(7, 42, 102, .2);
    font-weight: 850;
    text-shadow: none;
}

html[data-theme="light"] .card-favorite:hover,
html[data-theme="light"] .card-favorite:focus-visible,
html[data-theme="light"] .card-favorite.is-favorite {
    border-color: #ef1019;
    background: #ef1019;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(225, 9, 20, .25);
}

html[data-theme="light"] .listing-media,
html[data-theme="light"] .service-media {
    background: #eaf0f8;
}

html[data-theme="light"] .featured-badge {
    background: #ef1019;
    color: #ffffff;
}

html[data-theme="light"] .listing-body h3,
html[data-theme="light"] .service-card-body h3,
html[data-theme="light"] .results-toolbar h2,
html[data-theme="light"] .market-heading h1,
html[data-theme="light"] .page-heading h1,
html[data-theme="light"] .center-heading h1 {
    color: #071842;
}

html[data-theme="light"] .price,
html[data-theme="light"] .detail-price,
html[data-theme="light"] .listing-body .price {
    color: #0752d3;
}

html[data-theme="light"] .listing-specs {
    color: #66738d;
}

html[data-theme="light"] .listing-specs span + span::before {
    color: #aab5c8;
}

html[data-theme="light"] .seller-avatar {
    border-color: #9eb7e3;
    background: #eaf2ff;
    color: #0649c2;
}

html[data-theme="light"] .service-card-action {
    color: #1c2f59;
}

html[data-theme="light"] .service-media .verified,
html[data-theme="light"] .verified {
    border-color: #9bd8b0;
    background: #e9f9ef;
    color: #13773a;
}

html[data-theme="light"] .market-cta {
    border-color: #cdd9ea;
    background:
        linear-gradient(90deg, rgba(7, 95, 255, .07), transparent 42%),
        #ffffff;
    box-shadow: 0 10px 28px rgba(13, 40, 91, .05);
}

html[data-theme="light"] .file-drop {
    border-color: #bfcce0;
    background: #f8faff;
}

html[data-theme="light"] .gallery {
    border-color: #d2dceb;
    background: #ffffff;
}

html[data-theme="light"] .spec-grid {
    border-color: #d4ddea;
    background: #d4ddea;
}

html[data-theme="light"] .spec-grid > div {
    background: #f7f9fd;
}

html[data-theme="light"] .spec-grid span {
    color: #60708f;
}

html[data-theme="light"] .spec-grid strong {
    color: #071842;
}

html[data-theme="light"] .detail-kicker {
    color: #0752d3;
}

html[data-theme="light"] .description {
    color: #26375f;
}

html[data-theme="light"] .stats-row {
    border-color: #dce3ef;
    color: #68738e;
}

html[data-theme="light"] .image-placeholder {
    background:
        radial-gradient(circle at 50% 30%, rgba(7, 95, 255, .15), transparent 38%),
        linear-gradient(145deg, #edf3fd, #dfe8f6);
    color: #326dcc;
}

html[data-theme="light"] .section-contrast {
    background: #f4f7fb;
}

html[data-theme="light"] .hero {
    border-color: #dce3ef;
    background:
        radial-gradient(circle at 76% 42%, rgba(7, 95, 255, .09), transparent 31%),
        #ffffff;
}

html[data-theme="light"] .hero::before {
    opacity: .35;
    background-image:
        linear-gradient(rgba(20, 63, 135, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 63, 135, .07) 1px, transparent 1px);
}

html[data-theme="light"] .hero-glow {
    background: rgba(7, 95, 255, .09);
}

html[data-theme="light"] .hero h1 {
    color: #071842;
}

html[data-theme="light"] .hero-lead {
    color: #5c6b88;
}

html[data-theme="light"] .search-bar,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .signal-card {
    border-color: #d2dceb;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(13, 40, 91, .08);
}

html[data-theme="light"] .signal-card-main {
    background:
        radial-gradient(circle at 84% 18%, rgba(7, 95, 255, .17), transparent 34%),
        #f5f8fd;
}

html[data-theme="light"] .site-footer {
    border-color: #dce3ef;
    background: #f7f9fc;
    color: #26375f;
}

html[data-theme="light"] .footer-links a {
    color: #445474;
}

html[data-theme="light"] .footer-visit-counter {
    color: #445474;
}

html[data-theme="light"] .alert-success {
    border-color: #9cd5ae;
    background: #eaf8ef;
    color: #176c36;
}

html[data-theme="light"] .alert-error {
    border-color: #f0a8ad;
    background: #fff0f1;
    color: #a20d17;
}

html[data-theme="light"] .alert-development {
    border-color: #a9c3ef;
    background: #edf4ff;
    color: #16468f;
}

@media (max-width: 720px) {
    html[data-theme="light"] .market-searchbar label {
        border-color: #cbd6e8 !important;
        background: #ffffff;
    }

    html.filters-collapsible .mobile-filter-toggle {
        width: 100%;
        min-height: 48px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 10px;
        margin: 16px 0 0;
        padding: 10px 14px;
        border: 1px solid #34363c;
        border-radius: 7px;
        background: #0b0c0f;
        color: #f7f7f8;
        cursor: pointer;
        font-weight: 750;
        text-align: left;
    }

    html.filters-collapsible .mobile-filter-toggle:hover,
    html.filters-collapsible .mobile-filter-toggle.is-open {
        border-color: #075fff;
        background: #111722;
    }

    .filter-toggle-icon {
        color: #4387ff;
        font-size: 1.1rem;
    }

    .filter-toggle-chevron {
        color: #8f96a5;
        font-size: 1rem;
        transition: transform .18s ease;
    }

    .mobile-filter-toggle.is-open .filter-toggle-chevron {
        transform: rotate(180deg);
    }

    html.filters-collapsible .mobile-collapsible-filter {
        display: none;
    }

    html.filters-collapsible .mobile-collapsible-filter.is-open {
        display: grid;
    }

    html.filters-collapsible .market-layout {
        margin-top: 14px;
    }

    html[data-theme="light"].filters-collapsible .mobile-filter-toggle {
        border-color: #c8d4e8;
        background: #ffffff;
        color: #071842;
        box-shadow: 0 5px 16px rgba(13, 40, 91, .06);
    }

    html[data-theme="light"].filters-collapsible .mobile-filter-toggle:hover,
    html[data-theme="light"].filters-collapsible .mobile-filter-toggle.is-open {
        border-color: #075fff;
        background: #f2f6fd;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

@media (max-width: 1180px) {
    .main-nav {
        display: flex;
    }

    .header-inner {
        gap: 14px;
    }

    .platform-badge {
        display: none;
    }

    .mobile-platform-nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-platform-nav a {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border: 1px solid #30333a;
        border-radius: 8px;
        background: #101116;
        color: #aeb3be;
        font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
        font-size: 1rem;
        line-height: 1;
        text-decoration: none;
    }

    .mobile-platform-nav a:hover,
    .mobile-platform-nav a.active {
        border-color: #075fff;
        background: #10224a;
        color: #61a0ff;
    }

}

@media (max-width: 900px) {
    .header-actions .button-publish {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-header .header-inner {
        min-height: 62px;
        align-items: center;
        padding-top: 0;
    }

    .site-header .header-actions {
        margin-left: auto;
    }

    .main-nav > a {
        display: none;
    }

    .platform-selector-label {
        display: none;
    }

    .platform-selector summary {
        max-width: 150px;
    }

    .platform-current-name {
        max-width: 102px;
    }

    .platform-menu {
        right: 0;
        left: auto;
        width: min(320px, calc(100vw - 24px));
        max-height: min(500px, calc(100vh - 86px));
        grid-template-columns: 1fr;
        overflow-y: auto;
        transform: none;
    }

    .market-heading-main {
        align-items: flex-start;
        gap: 11px;
    }

    .market-heading-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 9px;
        font-size: 1.35rem;
    }
}

@media (max-width: 420px) {
    .header-inner {
        gap: 8px;
    }

    .header-actions {
        gap: 4px;
    }

    .mobile-platform-nav {
        gap: 3px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .publish-fab {
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(var(--site-footer-height) + max(12px, env(safe-area-inset-bottom)));
        min-height: 44px;
        padding: 10px 15px;
        font-size: .82rem;
    }
}

/* One persistent footer on every page, including short account screens. */
@media (max-width: 640px) {
    :root {
        --site-footer-height: 104px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: repeat(3, auto);
        align-content: center;
        align-items: center;
        gap: 3px 12px;
        padding-block: 8px;
    }

    .footer-inner .brand-small {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
    }

    .footer-inner .developer-credit {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .footer-inner .developer-logo {
        width: 104px;
    }

    .footer-inner > p {
        grid-column: 1;
        grid-row: 3;
        font-size: .74rem;
    }

    .footer-inner .footer-links {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 12px;
        font-size: .74rem;
    }

    .footer-inner .footer-visit-counter {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        font-size: .74rem;
    }
}

/* Category header: brand, category selector and search share one compact row. */
.site-header .header-inner.header-inner--with-search {
    display: grid;
    grid-template-columns: auto auto minmax(300px, 620px) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(24px, 2vw, 38px);
}

.header-inner--with-search .main-nav {
    justify-content: flex-start;
    margin-inline: 0;
}

.header-category-search {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
}

.header-search-field {
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0;
    border: 1px solid #35373d;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #0b0c0f;
    color: #8e929a;
}

.header-search-field:focus-within {
    border-color: #075fff;
    box-shadow: inset 0 0 0 1px #075fff;
}

.header-search-field input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
}

.header-search-field input::placeholder {
    color: #858993;
}

.header-search-button {
    min-height: 42px;
    margin: 0;
    padding-inline: 22px;
    border-left: 0;
    border-radius: 0 8px 8px 0;
}

.header-inner--with-search .header-actions {
    grid-column: 5;
}

html[data-theme="light"] .site-header .header-search-field {
    border-color: #cbd6e8;
    background: #ffffff;
}

html[data-theme="light"] .site-header .header-search-field:focus-within {
    border-color: #075fff;
}

.market-heading + .market-form > .operation-tabs,
.market-heading + .market-form > .category-strip {
    margin-top: 0;
}

@media (max-width: 960px) {
    .site-header .header-inner.header-inner--with-search {
        min-height: 0;
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 9px;
        padding: 9px 0 10px;
    }

    .header-inner--with-search .brand-platform {
        grid-column: 1;
        grid-row: 1;
    }

    .header-inner--with-search .main-nav {
        grid-column: 2;
        grid-row: 1;
    }

    .header-inner--with-search .header-actions {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }

    .header-inner--with-search .header-category-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 520px) {
    .header-inner--with-search .platform-current-name {
        display: none;
    }

    .header-inner--with-search .platform-selector summary {
        max-width: none;
        gap: 5px;
        padding-inline: 9px;
    }

    .header-search-button {
        padding-inline: 16px;
    }
}

@media (max-width: 420px) {
    .header-inner--with-search .brand-logo {
        height: 25px;
    }

    .header-inner--with-search .platform-selector summary {
        min-height: 36px;
        padding-inline: 7px;
    }

    .header-inner--with-search .header-search-button {
        padding-inline: 13px;
    }
}

/* Home category directory. */
.category-directory {
    position: relative;
    overflow: hidden;
    border-block: 1px solid #1d2026;
    background:
        radial-gradient(circle at 82% 12%, rgba(7, 95, 255, .1), transparent 28%),
        #030304;
}

.category-directory-heading {
    align-items: center;
    margin-bottom: 28px;
}

.category-directory-heading > p {
    max-width: 470px;
    padding-left: 18px;
    border-left: 2px solid #075fff;
    line-height: 1.55;
}

.category-directory .category-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.category-directory .category-card {
    min-height: 156px;
    grid-column: span 4;
    align-items: center;
    gap: 17px;
    padding: 22px;
    overflow: hidden;
    border-color: #272b33;
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(20, 23, 29, .96), rgba(7, 8, 10, .98));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

.category-directory .category-card:nth-child(n + 4) {
    grid-column: span 3;
}

.category-directory .category-card:hover,
.category-directory .category-card:focus-visible {
    border-color: #286fdc;
    background:
        linear-gradient(145deg, rgba(20, 35, 66, .96), rgba(7, 10, 17, .98));
    box-shadow: 0 16px 38px rgba(0, 66, 180, .18);
    transform: translateY(-4px);
}

.category-directory .category-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid #29549a;
    border-radius: 14px;
    background: #10224a;
    box-shadow: inset 0 0 18px rgba(22, 113, 255, .16);
    color: #63a2ff;
    font-size: 1.45rem;
}

.category-card-copy {
    min-width: 0;
}

.category-directory .category-card h3 {
    margin-bottom: 6px;
    font-size: 1.18rem;
    line-height: 1.2;
}

.category-directory .category-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .86rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-directory .card-arrow {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid #2b4e88;
    border-radius: 999px;
    background: rgba(7, 95, 255, .08);
    color: #73aaff;
    font-size: .73rem;
    font-weight: 750;
    white-space: nowrap;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.category-directory .card-arrow b {
    font-size: 1rem;
    line-height: 1;
    transition: transform .18s ease;
}

.category-directory .category-card:hover .card-arrow,
.category-directory .category-card:focus-visible .card-arrow {
    border-color: #1671ff;
    background: #075fff;
    color: #ffffff;
}

.category-directory .category-card:hover .card-arrow b,
.category-directory .category-card:focus-visible .card-arrow b {
    transform: translateX(2px);
}

html[data-theme="light"] .category-directory {
    border-color: #dce3ef;
    background:
        radial-gradient(circle at 82% 12%, rgba(7, 95, 255, .08), transparent 29%),
        #f7f9fc;
}

html[data-theme="light"] .category-directory-heading > p {
    color: #5d6d8a;
}

html[data-theme="light"] .category-directory .category-card {
    border-color: #d4ddea;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(13, 40, 91, .07);
}

html[data-theme="light"] .category-directory .category-card:hover,
html[data-theme="light"] .category-directory .category-card:focus-visible {
    border-color: #76a0e4;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(13, 52, 124, .13);
}

html[data-theme="light"] .category-directory .category-icon {
    border-color: #bad0f3;
    background: #e9f1ff;
    color: #0752d3;
    box-shadow: inset 0 0 16px rgba(7, 95, 255, .06);
}

html[data-theme="light"] .category-directory .card-arrow {
    border-color: #b9cced;
    background: #f2f6fd;
    color: #0752d3;
}

html[data-theme="light"] .category-directory .category-card:hover .card-arrow,
html[data-theme="light"] .category-directory .category-card:focus-visible .card-arrow {
    border-color: #075fff;
    background: #075fff;
    color: #ffffff;
}

@media (max-width: 1180px) {
    .category-directory .category-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .category-directory .category-card,
    .category-directory .category-card:nth-child(n + 4) {
        grid-column: span 6;
    }

    .category-directory .category-card:last-child:nth-child(odd) {
        grid-column: 3 / span 8;
    }
}

@media (max-width: 720px) {
    .category-directory {
        padding-block: 56px;
    }

    .category-directory-heading {
        margin-bottom: 22px;
    }

    .category-directory-heading > p {
        margin-top: 14px;
        padding-left: 13px;
    }

    .category-directory .category-card,
    .category-directory .category-card:nth-child(n + 4),
    .category-directory .category-card:last-child:nth-child(odd) {
        min-height: 126px;
        grid-column: 1 / -1;
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .category-directory .category-card {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 13px;
    }

    .category-directory .category-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.25rem;
    }

    .category-directory .card-arrow {
        min-width: 34px;
        justify-content: center;
        padding-inline: 8px;
    }

    .category-directory .card-arrow > span {
        display: none;
    }
}

/* Home landing page. */
.home-page {
    background: #000000;
}

.home-main .shell {
    width: min(1590px, calc(100% - 96px));
}

.home-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #21242a;
    background: #030304;
}

.home-header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.home-brand .brand-logo {
    height: 42px;
}

.home-nav {
    display: flex;
    align-self: stretch;
    justify-content: center;
    gap: clamp(28px, 4vw, 66px);
}

.home-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #f4f5f7;
    font-size: .93rem;
    font-weight: 720;
    text-decoration: none;
}

.home-nav a::after {
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: #075fff;
    content: "";
    opacity: 0;
    transform: scaleX(.3);
    transition: opacity .18s ease, transform .18s ease;
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after,
.home-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-login-link {
    padding: 10px 5px;
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.home-header-publish {
    min-height: 46px;
    gap: 9px;
    padding-inline: 23px;
    border-color: #075fff;
    background: transparent;
    color: #ffffff;
    box-shadow: inset 0 0 18px rgba(7, 95, 255, .08);
    white-space: nowrap;
}

.home-header-publish:hover {
    border-color: #3880ff;
    background: rgba(7, 95, 255, .14);
}

.home-main {
    overflow: hidden;
    background: var(--canvas);
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 88% 15%, rgba(7, 95, 255, .2), transparent 30%),
        radial-gradient(circle at 8% 6%, rgba(7, 95, 255, .08), transparent 25%),
        linear-gradient(135deg, #070a12 0%, #05070c 54%, #07152f 100%);
}

.home-hero::before {
    position: absolute;
    z-index: -1;
    top: 42px;
    left: -12px;
    width: 150px;
    height: 130px;
    background-image: radial-gradient(circle, rgba(59, 121, 255, .42) 1.5px, transparent 1.7px);
    background-size: 15px 15px;
    content: "";
    opacity: .38;
}

.home-hero::after {
    position: absolute;
    z-index: -1;
    right: -160px;
    bottom: -200px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(7, 95, 255, .24);
    content: "";
    transform: rotate(42deg);
}

.home-hero-decoration {
    position: absolute;
    z-index: -1;
    right: 45%;
    bottom: 20%;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(7, 95, 255, .16);
    border-radius: 30px;
    transform: rotate(40deg);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(560px, .88fr);
    align-items: center;
    gap: clamp(50px, 6vw, 110px);
    padding-block: 40px 26px;
}

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

.home-hero-grid.home-hero-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.home-hero-grid--single .home-hero-copy {
    max-width: 920px;
}

.home-hero-copy h1 {
    margin: 0 0 20px;
    color: var(--text);
    font-size: clamp(3.25rem, 5vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.home-hero-copy h1 span {
    display: block;
    color: #075fff;
}

.home-hero-copy > p {
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.55;
}

.home-search {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) minmax(180px, 1fr) minmax(170px, .9fr) auto;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 16px 36px rgba(13, 40, 91, .13);
}

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

.home-search label:nth-of-type(3) {
    border-right: 0;
}

.home-search-query {
    padding-left: 33px;
}

.home-search-icon {
    position: absolute;
    left: 10px;
    color: #075fff;
    font-size: 1.3rem;
    line-height: 1;
}

.home-search input,
.home-search select {
    width: 100%;
    height: 50px;
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.home-search-query input {
    padding-left: 0;
}

.home-search input::placeholder {
    color: var(--text-muted);
}

.home-search button {
    min-width: 108px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #075fff, #0d4bd7);
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(7, 95, 255, .24);
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 22px;
}

.home-hero-actions .button {
    min-height: 50px;
    gap: 18px;
    padding-inline: 22px;
}

.home-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: #1671ff;
    font-weight: 800;
    text-decoration: none;
}

.home-explore-link span {
    font-size: 1.45rem;
    transition: transform .18s ease;
}

.home-explore-link:hover span {
    transform: translateX(4px);
}

.home-featured-grid {
    max-height: 492px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 7px;
    scrollbar-color: #075fff rgba(7, 95, 255, .12);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scroll-snap-type: y proximity;
    overscroll-behavior: contain;
}

.home-featured-grid::-webkit-scrollbar {
    width: 8px;
}

.home-featured-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(7, 95, 255, .12);
}

.home-featured-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #075fff;
}

.home-featured-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 12px 28px rgba(9, 24, 55, .14);
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-featured-card:hover,
.home-featured-card:focus-visible {
    border-color: #7da7ed;
    box-shadow: 0 18px 36px rgba(9, 42, 105, .2);
    transform: translateY(-3px);
}

.home-featured-media {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.home-featured-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: #071842;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.home-featured-body {
    position: relative;
    min-height: 91px;
    padding: 12px 42px 12px 14px;
}

.home-featured-body h3 {
    margin: 0 0 4px;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-featured-body strong {
    display: block;
    margin-bottom: 5px;
    color: #075fff;
    font-size: .92rem;
}

.home-featured-body p {
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: .75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-card-heart {
    position: absolute;
    top: 10px;
    right: 13px;
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
}

.home-featured-categories {
    padding-block: 34px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--canvas);
}

.home-featured-category {
    margin-bottom: 32px;
}

.home-featured-category:last-child {
    margin-bottom: 0;
}

.home-featured-category-heading {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 9px;
}

.home-featured-category-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    letter-spacing: -.025em;
}

.home-featured-category-heading h2 > span {
    width: 26px;
    display: inline-flex;
    justify-content: center;
    color: #075fff;
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
}

.home-featured-category-heading a {
    color: #075fff;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-featured-track {
    display: grid;
    grid-auto-columns: clamp(270px, 22vw, 340px);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 14px;
    scrollbar-color: #075fff rgba(7, 95, 255, .12);
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
}

.home-featured-track::-webkit-scrollbar {
    height: 8px;
}

.home-featured-track::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(7, 95, 255, .12);
}

.home-featured-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #075fff;
}

.home-featured-track .home-featured-card {
    scroll-snap-align: start;
}

.home-trust-strip {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.home-trust-grid {
    min-height: 86px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.home-trust-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding-inline: 30px;
    border-right: 1px solid var(--border);
}

.home-trust-item:last-child {
    border-right: 0;
}

.home-trust-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 2px solid #075fff;
    border-radius: 12px;
    color: #075fff;
}

.home-trust-icon svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-trust-item:nth-child(2) .home-trust-icon svg {
    stroke-width: 1.8;
}

.home-trust-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: .9rem;
}

.home-trust-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: .8rem;
}

.home-categories {
    padding-block: 27px 34px;
    background: var(--canvas);
}

.home-section-heading {
    margin-bottom: 16px;
}

.home-section-heading h2 {
    margin-bottom: 1px;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    letter-spacing: -.035em;
}

.home-section-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: .92rem;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.home-category-card {
    min-width: 0;
    height: 106px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(72px, .92fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-category-card:hover,
.home-category-card:focus-visible {
    border-color: #77a1e7;
    box-shadow: 0 12px 25px rgba(13, 52, 124, .12);
    transform: translateY(-3px);
}

.home-category-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    grid-template-rows: 30px 38px;
    align-content: center;
    align-items: end;
    column-gap: 7px;
    padding: 10px 9px 10px 14px;
}

.home-category-icon {
    grid-column: 1 / -1;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: center;
    color: #075fff;
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.home-category-copy strong {
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    font-size: .85rem;
    line-height: 1.15;
}

.home-category-arrow {
    width: 18px;
    height: 38px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    color: #075fff;
    font-size: 1.3rem;
    line-height: 1;
}

.home-category-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

html[data-theme="light"] .home-page,
html[data-theme="light"] .home-main {
    background: #ffffff;
}

html[data-theme="light"] .home-hero {
    background:
        radial-gradient(circle at 92% 15%, rgba(7, 95, 255, .13), transparent 29%),
        radial-gradient(circle at 10% 6%, rgba(7, 95, 255, .055), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #fbfdff 57%, #e8f1ff 100%);
}

html[data-theme="light"] .home-search,
html[data-theme="light"] .home-featured-card,
html[data-theme="light"] .home-featured-categories,
html[data-theme="light"] .home-trust-strip,
html[data-theme="light"] .home-category-card {
    background: #ffffff;
}

@media (min-width: 1280px) {
    .home-hero {
        min-height: 340px;
    }

    .home-hero-grid.home-hero-grid--single {
        grid-template-columns: minmax(650px, 1.08fr) minmax(500px, .92fr);
        gap: clamp(36px, 4vw, 74px);
        padding-block: 26px 22px;
    }

    .home-hero-grid--single .home-hero-copy {
        max-width: none;
        display: contents;
    }

    .home-hero-grid--single .home-hero-copy h1 {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        margin-bottom: 15px;
        font-size: clamp(3.5rem, 4.25vw, 4.55rem);
    }

    .home-hero-grid--single .home-hero-copy > p {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        margin: 0;
    }

    .home-hero-grid--single .home-search {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        grid-template-columns:
            minmax(110px, 1.2fr)
            minmax(130px, 1fr)
            minmax(110px, .9fr)
            auto;
    }

    .home-hero-grid--single .home-hero-actions {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin-top: 18px;
    }
}

@media (max-width: 1400px) {
    .home-main .shell {
        width: min(1280px, calc(100% - 56px));
    }

    .home-header-inner {
        gap: 28px;
    }

    .home-nav {
        gap: 28px;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(500px, .92fr);
        gap: 54px;
    }

    .home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .home-nav {
        display: none;
    }

    .home-header-inner {
        grid-template-columns: auto 1fr;
    }

    .home-header-actions {
        justify-self: end;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 55px 40px;
    }

    .home-hero-copy {
        max-width: 850px;
    }

    .home-featured-grid {
        max-width: 850px;
    }

}

@media (max-width: 760px) {
    .home-main .shell {
        width: min(100% - 28px, 680px);
    }

    .home-header-inner {
        min-height: 64px;
        gap: 14px;
    }

    .home-brand .brand-logo {
        height: 31px;
    }

    .home-header-actions {
        gap: 7px;
    }

    .home-login-link {
        display: none;
    }

    .home-header-publish {
        min-height: 39px;
        padding-inline: 11px;
        font-size: .76rem;
    }

    .home-hero {
        min-height: 0;
    }

    .home-hero-grid {
        padding-block: 40px 30px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.45rem, 12vw, 3.65rem);
    }

    .home-hero-copy > p br {
        display: none;
    }

    .home-search {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 9px;
    }

    .home-search label {
        border: 1px solid var(--border);
        border-radius: 7px;
    }

    .home-search-query {
        grid-column: 1 / -1;
    }

    .home-search button {
        min-height: 48px;
        grid-column: 1 / -1;
    }

    .home-featured-media {
        height: 128px;
    }

    .home-featured-categories {
        padding-block: 26px 16px;
    }

    .home-featured-category {
        margin-bottom: 26px;
    }

    .home-featured-track {
        grid-auto-columns: minmax(260px, 86vw);
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
        padding-block: 8px;
    }

    .home-trust-item {
        min-height: 70px;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .home-trust-item:last-child {
        border-bottom: 0;
    }

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

@media (max-width: 480px) {
    .home-header-publish span {
        display: none;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .home-explore-link {
        justify-content: center;
    }

    .home-featured-grid {
        grid-template-columns: 1fr;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Readability: keep secondary information comfortably legible. */
body {
    font-size: 16px;
}

small,
.field-hint,
.field-error,
.editor-form label > span,
.listing-body .muted,
.service-description,
.service-location,
.market-cta p {
    font-size: .9rem;
}

.category-strip a,
.platform-selector-label,
.platform-menu a,
.filter-group input,
.filter-group select,
.sort-control select,
.filter-clear-link,
.filter-apply-button,
.filter-subtitle,
.filter-group .checkbox-filter span {
    font-size: .88rem;
}

.filter-group label > span,
.filter-label,
.results-toolbar p,
.sort-control,
.property-map-note,
.property-map-empty,
.service-card-action,
.service-categories,
.service-price-note {
    font-size: .86rem;
}

.eyebrow,
.featured-badge,
.listing-category,
.listing-specs,
.card-seller,
.service-card .badge,
.table-card th,
.profile-data dt {
    font-size: .8rem;
}

.seller-avatar {
    font-size: .62rem;
}

@media (max-width: 640px) {
    .footer-inner > p,
    .footer-inner .footer-links,
    .footer-inner .footer-visit-counter {
        font-size: .84rem;
    }
}

/* Secondary gray copy must stay readable without competing with headings. */
.results-toolbar p,
.sort-control,
.listing-specs,
.card-seller,
.service-location,
.service-description,
.listing-body .muted {
    color: #aeb3bd;
    font-weight: 500;
}

.results-toolbar p,
.sort-control {
    font-size: .88rem;
}

.listing-specs {
    font-size: .86rem;
}

.card-seller {
    font-size: .84rem;
}

html[data-theme="light"] .results-toolbar p,
html[data-theme="light"] .sort-control,
html[data-theme="light"] .listing-specs,
html[data-theme="light"] .card-seller,
html[data-theme="light"] .service-location,
html[data-theme="light"] .service-description,
html[data-theme="light"] .listing-body .muted {
    color: #52627f;
}

/* Primary card information, one step larger without changing the grid. */
.listing-body h3 {
    min-height: 45px;
    font-size: 1.08rem;
}

.listing-body .price {
    font-size: 1.3rem;
}

.listing-body .muted,
.listing-specs,
.service-description {
    font-size: .92rem;
    line-height: 1.5;
}
