: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);
    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;
    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-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: rgba(239, 68, 68, .4);
    background: rgba(239, 68, 68, .1);
    color: #ffb1b1;
}

.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;
}

.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-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 {
    border-top: 1px solid var(--border);
    background: #050608;
}

.footer-inner {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-inner p {
    margin: 0;
}

.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;
    }

    .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: 34px;
    }

    .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 {
    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;
    padding-block: 23px 21px;
    color: #a6a8ae;
    font-size: .91rem;
    font-weight: 550;
}

.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: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--primary-bright);
    font-size: .58rem;
    text-decoration: none;
}

.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;
}

.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 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) minmax(220px, 390px) 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;
    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-tabs--vehicles {
    display: grid;
    grid-template-columns: minmax(105px, .38fr) 1fr 1fr;
}

.operation-tabs--vehicles label > span {
    width: 100%;
    gap: 9px;
}

.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;
}

.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-mark {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-bright);
    color: #fff;
    font-size: .7rem;
    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;
}

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

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

.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: 112px;
}

/* 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) minmax(170px, .6fr) 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,
    .header-icon-link,
    .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;
    }

    .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 {
    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"] .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 {
    color: #075fff;
}

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-card-action,
html[data-theme="light"] .card-seller {
    border-color: #e0e6f0;
}

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"] .field-grid label > span,
html[data-theme="light"] .editor-form label > span {
    color: #162750;
}

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"] .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"] .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: 900px) {
    .header-inner {
        gap: 14px;
    }

    .platform-badge,
    .header-actions .button-publish {
        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: 420px) {
    .header-inner {
        gap: 8px;
    }

    .header-actions {
        gap: 4px;
    }

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

    .mobile-platform-nav a,
    .theme-toggle {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}
