@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #060606;
    --surface: #111111;
    --surface-soft: #181818;
    --ink: #f5f5f5;
    --muted: #b3b3b3;
    --line: #2a2a2a;
    --primary: #ffffff;
    --primary-dark: #d6d6d6;
    --blue: #f3f4f6;
    --cyan: #d4d4d8;
    --teal: #e5e7eb;
    --green: #22c55e;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --danger: #b42318;
    --shadow: 0 18px 44px rgba(0, 0, 0, .28);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .08), transparent 28rem),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, .05), transparent 26rem),
        var(--bg);
    color: var(--ink);
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

main { flex: 1; }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow { width: min(820px, calc(100% - 32px)); }

.site-header {
    padding: 14px 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, .98), rgba(6, 6, 6, .96));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-card,
.footer-inner,
.admin-title,
.job-card-header,
.card-actions,
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-card {
    min-height: 96px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(28, 28, 28, .94));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: #fff;
    min-width: 0;
}

.brand:hover { text-decoration: none; }

.brand-logos {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logos img {
    width: 220px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.brand strong { color: #fff; }

.brand-text {
    display: grid;
    gap: 3px;
}

.brand-text strong {
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    font-family: 'Lexend', 'Segoe UI', sans-serif;
}

.brand small {
    display: block;
    max-width: 520px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.25;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-actions > a:not(.button) {
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #d4d4d8);
    color: #050505;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:hover {
    background: linear-gradient(135deg, #f5f5f5, #a1a1aa);
    border-color: rgba(255, 255, 255, .22);
    color: #050505;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.danger-link { color: var(--danger); }

.button-secondary {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.button-secondary:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.button-disabled,
.button-disabled:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #6b7280;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.button-large { width: fit-content; min-width: 180px; }
.button-full { width: 100%; }

.page-hero,
.detail-hero {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, .98), rgba(18, 18, 18, .96) 54%, rgba(36, 36, 36, .94)),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .10), transparent 18rem);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero-grid,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: center;
    padding: 56px 0;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow.light { color: #e5e7eb; }
.page-hero .eyebrow,
.detail-hero .eyebrow { color: #d4d4d8; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Lexend', 'Segoe UI', sans-serif; }
h1 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
h2 { font-size: 22px; line-height: 1.2; }

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
}

.hero-panel,
.summary-box,
.job-card,
.form-card,
.table-panel,
.success-card,
.empty-state,
.stat-card {
    background: rgba(17, 17, 17, .94);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 26px;
    display: grid;
    gap: 4px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.panel-number {
    color: #fff;
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
}

.hero-grid-jobs {
    align-items: stretch;
}

.hero-panel-jobs {
    gap: 18px;
    align-content: center;
}

.hero-panel-stat {
    display: grid;
    gap: 4px;
}

.hero-panel-inline-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-panel-inline-stats div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.hero-panel-inline-stats strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.hero-panel-inline-stats span {
    display: block;
    margin-top: 5px;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.section { padding: 38px 0 58px; }
.section-tight { padding-top: 24px; }

.jobs-toolbar {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.jobs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jobs-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #d4d4d8;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.jobs-tab:hover {
    color: var(--primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.jobs-tab.is-active {
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
    color: #fff;
}

.jobs-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(17, 17, 17, .92);
    box-shadow: var(--shadow);
    align-items: end;
}

.jobs-filters label {
    display: grid;
    gap: 6px;
}

.jobs-filters label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.jobs-filters select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f5f5f5;
    color: #111827;
    font: inherit;
}

.jobs-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.jobs-results-head h2 {
    margin-bottom: 6px;
}

.jobs-results-head p {
    margin-bottom: 0;
    color: var(--muted);
}

.jobs-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.jobs-grid-refined {
    gap: 20px;
}

.job-card {
    padding: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.job-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green), var(--amber));
}

.job-card-closed {
    background: rgba(31, 31, 31, .9);
    border-color: rgba(255, 255, 255, .06);
    box-shadow: none;
    filter: grayscale(.18);
}

.job-card-closed .job-image img {
    filter: grayscale(1);
    opacity: .62;
}

.job-card-closed h2,
.job-card-closed dd {
    color: #a1a1aa;
}

.job-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #111111, #27272a);
    border-radius: 8px 8px 0 0;
    position: relative;
}

.job-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fallback-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 22px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .94), rgba(28, 28, 28, .88), rgba(55, 55, 55, .78)),
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, .16), transparent 11rem);
}

.fallback-cover span {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.fallback-cover strong {
    max-width: 92%;
    font-size: 24px;
    line-height: 1.1;
}

.job-card-shell {
    display: grid;
    gap: 14px;
}

.job-card-refined {
    padding-bottom: 18px;
}

.job-card h2,
.job-card .job-meta,
.job-card .card-actions,
.job-card .job-card-header,
.job-card .share-row {
    margin-left: 20px;
    margin-right: 20px;
}

.job-card h2 { margin-bottom: 0; color: var(--primary); }

.job-card-header-refined {
    align-items: center;
}

.job-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 20px;
    margin-right: 20px;
}

.job-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 900;
}

.job-chip-light {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.job-card-area,
.job-summary {
    margin: 0 20px;
}

.job-card-area {
    color: #e5e7eb;
    font-weight: 800;
}

.job-summary {
    color: #d4d4d8;
    font-size: 15px;
    line-height: 1.6;
}

.job-meta-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.job-meta-compact dd {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

.card-actions-split {
    gap: 12px;
}

.job-card .job-meta dd {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.job-card .job-meta div:nth-child(3) dd,
.job-card .job-meta div:nth-child(5) dd {
    -webkit-line-clamp: 1;
}

.job-card .job-meta div:nth-child(4) dd {
    -webkit-line-clamp: 2;
    font-weight: 700;
}

.job-date,
.muted,
.form-note {
    color: var(--muted);
    font-size: 14px;
}

.job-meta,
.summary-box dl,
.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.job-meta div,
.summary-box dl div,
.info-list div {
    display: grid;
    gap: 2px;
}

dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

dd { margin: 0; }

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.badge-success { color: #dcfce7; background: rgba(34, 197, 94, .18); }
.badge-muted { color: #e5e7eb; background: rgba(255, 255, 255, .10); }
.badge-warning { color: #fde68a; background: rgba(245, 158, 11, .18); }
.badge-danger { color: #fecdd3; background: rgba(244, 63, 94, .18); }

.detail-layout { align-items: start; }
.summary-box { padding: 22px; display: grid; gap: 18px; color: var(--ink); }
.summary-box-closed { background: rgba(31, 31, 31, .9); color: #d4d4d8; }
.detail-hero-refined {
    padding-bottom: 8px;
}

.detail-layout-refined {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.detail-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.detail-copy .hero-copy {
    margin: 0;
}

.detail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-trust-row div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.detail-trust-row strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.detail-trust-row span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}

.summary-box-refined {
    gap: 16px;
}

.detail-cta-box {
    display: grid;
    gap: 12px;
}

.detail-cta-box h2 {
    margin: 0;
    color: var(--primary);
    font-size: 20px;
}

.detail-steps {
    margin: 0;
    padding-left: 18px;
    color: #e5e7eb;
    display: grid;
    gap: 8px;
}

.detail-offer-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
}

.detail-offer-fallback {
    min-height: 190px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .94), rgba(28, 28, 28, .88), rgba(55, 55, 55, .78));
}

.detail-offer-fallback span {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.detail-offer-fallback strong {
    font-size: 22px;
    line-height: 1.1;
}
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 800; }
.detail-hero .back-link { color: #fff; }

.detail-stack-refined {
    display: grid;
    gap: 16px;
}

.content-stack { display: grid; gap: 16px; }
.content-block { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.content-block h2 { color: var(--primary); }
.content-block p { margin-bottom: 0; color: #e5e7eb; }

.section-title {
    color: var(--primary);
    line-height: 1.2;
}

.section-title-sm {
    font-size: 18px;
}

.section-title-md {
    font-size: 22px;
}

.section-title-lg {
    font-size: 30px;
}

.content-block-highlight {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(17, 17, 17, .94);
    box-shadow: var(--shadow);
}

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

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.summary-grid-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
}

.summary-grid-item dt {
    margin-bottom: 6px;
}

.summary-grid-item dd {
    color: #f3f4f6;
    font-size: 15px;
    line-height: 1.55;
}

.content-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content-anchor-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #f3f4f6;
    font-size: 13px;
    font-weight: 800;
}

.content-anchor-nav a:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
}

.requirements-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.requirements-list div {
    display: grid;
    gap: 5px;
}

.requirements-list dt {
    color: #ffffff;
    font-weight: 900;
}

.requirements-list dd {
    margin: 0;
    color: #e5e7eb;
}

.empty-state,
.success-card {
    padding: 36px;
    text-align: center;
}

.empty-state-soft {
    background: linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(28, 28, 28, .92));
}

.success-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #dcfce7;
    color: var(--green);
    font-size: 32px;
    font-weight: 900;
}

.form-heading { margin-bottom: 22px; }

.import-panel {
    margin-bottom: 18px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: end;
    background:
        linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(32, 32, 32, .92)),
        #111;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.import-panel:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green), var(--amber));
}

.import-panel h2 {
    margin-bottom: 6px;
    color: var(--primary);
}

.import-panel p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
}

.import-actions {
    display: grid;
    gap: 10px;
}

.file-import-label {
    font-size: 13px;
}

.import-status {
    grid-column: 1 / -1;
    min-height: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.import-status.success { color: var(--teal); }
.import-status.warning { color: #92400e; }

.media-fieldset {
    padding: 0 0 18px;
}

.media-upload-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.questions-fieldset {
    display: grid;
    gap: 14px;
}

.section-headings-grid {
    display: grid;
    gap: 14px;
}

.section-heading-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 20, 20, .98), rgba(12, 12, 12, .96));
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.section-heading-card h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 16px;
}

.base-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.base-questions-grid section {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 20, 20, .98), rgba(12, 12, 12, .96));
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.base-questions-grid h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 15px;
}

.base-questions-grid ul,
.base-question-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.base-questions-grid li {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.base-question-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 800;
}

.base-question-toggle:has(input:not(:checked)) {
    background: rgba(255, 255, 255, .02);
    color: #a1a1aa;
}

.base-question-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.base-question-toggle span {
    display: grid;
    gap: 2px;
}

.base-question-toggle small {
    color: #d4d4d8;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.base-question-toggle:has(input:not(:checked)) small {
    color: #71717a;
}

.questions-builder {
    display: grid;
    gap: 14px;
}

.question-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 20, 20, .98), rgba(12, 12, 12, .96));
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.question-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.question-item-head strong {
    color: #ffffff;
    font-size: 15px;
}

.question-required {
    align-self: end;
    min-height: 44px;
}

.custom-questions-public,
.custom-answer-list {
    display: grid;
    gap: 16px;
}

.custom-question-field {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 20, 20, .98), rgba(12, 12, 12, .96));
}

.option-stack {
    display: grid;
    gap: 8px;
}

.offer-image-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #eef2f7;
}

.offer-image-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.form-card {
    padding: 24px;
    display: grid;
    gap: 20px;
}

fieldset {
    margin: 0;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
}

legend {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

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

.span-2 { grid-column: 1 / -1; }

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(26, 26, 26, .98), rgba(18, 18, 18, .98));
    color: #f5f5f5;
    font: inherit;
    color-scheme: dark;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 8px 18px rgba(0, 0, 0, .18);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, .56);
}

input[type="file"] {
    padding: 10px 12px;
    color: #f5f5f5;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

select option {
    color: #f5f5f5;
    background: #151515;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset;
    transition: background-color 9999s ease-in-out 0s;
}

textarea { min-height: 120px; resize: vertical; }
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .28);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, .08),
        0 12px 24px rgba(0, 0, 0, .24);
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .72) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, .72) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(.95);
    opacity: .9;
    cursor: pointer;
}

input[type="file"] {
    color: rgba(255, 255, 255, .78);
    padding: 10px 12px;
    color-scheme: dark;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f5f5, #cfcfd6);
    color: #0a0a0a;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #ffffff, #bbbbc4);
}

.check-row {
    grid-template-columns: 20px 1fr;
    align-items: start;
    font-weight: 500;
}

.check-row input { width: 18px; min-height: 18px; margin-top: 3px; }

.alert {
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.alert p { margin: 0; }
.alert-error { background: #ffe4e6; border: 1px solid #fecdd3; color: #9f1239; }
.alert-success { background: #dcfce7; border: 1px solid #bbf7d0; color: #166534; }
.alert-info { background: #e0f2fe; border: 1px solid #bae6fd; color: #075985; }

.preview-banner {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
    color: #78350f;
    box-shadow: 0 12px 26px rgba(120, 53, 15, .08);
}

.preview-banner strong {
    font-size: 14px;
}

.preview-banner span {
    color: #92400e;
}

.login-page {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .08), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, .06), transparent 28rem),
        linear-gradient(135deg, #050505, #151515);
}

.login-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: stretch;
}

.login-brand-panel {
    min-height: 520px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        linear-gradient(160deg, #050505 0%, #111111 54%, #27272a 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
}

.login-brand-panel:after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.login-brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.login-brand-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.login-brand-logo strong,
.login-brand-logo span { display: block; }
.login-brand-logo strong { font-size: 18px; line-height: 1.2; }
.login-brand-logo span { color: rgba(255, 255, 255, .7); font-size: 13px; margin-top: 4px; }

.login-brand-copy {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.login-brand-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 42px;
}

.login-brand-copy p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.6;
}

.login-brand-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.login-brand-meta div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .10);
}

.login-brand-meta strong,
.login-brand-meta span { display: block; }
.login-brand-meta strong { font-size: 20px; }
.login-brand-meta span { margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: 12px; }

.login-box {
    background: rgba(17, 17, 17, .96);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo {
    display: none;
    text-align: center;
    margin-bottom: 18px;
}

.login-logo img {
    height: 76px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.login-box h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}

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

.login-form label {
    gap: 10px;
    color: #f5f5f5;
    font-size: 15px;
    font-weight: 800;
}

.login-form input {
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(28, 28, 28, .98), rgba(18, 18, 18, .98));
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        0 10px 24px rgba(0, 0, 0, .22);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.login-form input::placeholder {
    color: rgba(255, 255, 255, .42);
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset;
    transition: background-color 9999s ease-in-out 0s;
}

.login-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .34);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, .08),
        0 14px 30px rgba(0, 0, 0, .28);
    transform: translateY(-1px);
}

.login-form .button {
    min-height: 60px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #cfcfd6);
    color: #050505;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.login-form .button:hover {
    background: linear-gradient(135deg, #ffffff, #b9bac2);
    color: #050505;
}

.sub {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.login-box .button { width: 100%; }

.footer-acropolis-login {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-acropolis-login span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-acropolis-login img {
    height: 30px;
    width: auto;
    max-width: 170px;
    opacity: 1;
}

.admin-section { padding-top: 28px; }
.admin-title { margin-bottom: 22px; align-items: end; }
.dashboard-shell {
    display: grid;
    gap: 18px;
}

.dashboard-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, .98), rgba(17, 17, 17, .96) 52%, rgba(39, 39, 42, .94)),
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .08), transparent 14rem);
    box-shadow: var(--shadow);
    color: #fff;
}

.dashboard-hero-card h1 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
}

.dashboard-hero-copy {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dashboard-hero-card .button-secondary {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.dashboard-hero-card .button-secondary:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-tab {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #d4d4d8;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transition: .18s ease;
}

.dashboard-tab:hover {
    text-decoration: none;
    border-color: #93c5fd;
    color: var(--primary);
    transform: translateY(-1px);
}

.dashboard-tab.is-active {
    border-color: rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.admin-actions-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.stat-card small {
    display: block;
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stat-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.stat-card span { display: block; color: var(--primary); font-size: 34px; font-weight: 900; line-height: 1; }
.stat-card p { margin: 8px 0 0; color: var(--muted); }

.stat-card-primary {
    background: linear-gradient(135deg, rgba(0, 75, 147, .97), rgba(0, 116, 200, .92));
    border-color: rgba(0, 75, 147, .12);
}

.stat-card-primary:before {
    background: linear-gradient(90deg, #bbf7d0, #fde68a, #ffffff);
}

.stat-card-primary small,
.stat-card-primary span,
.stat-card-primary p {
    color: #fff;
}

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

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

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

.insights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.mini-bars {
    display: grid;
    gap: 12px;
}

.mini-bars h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 18px;
}

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

.dashboard-kpi-inline {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.dashboard-kpi-inline strong {
    color: var(--primary);
    font-size: 28px;
    line-height: 1;
}

.dashboard-kpi-inline span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.mini-bar-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
}

.mini-bar-row span {
    font-weight: 800;
}

.mini-bar-row strong {
    text-align: right;
    color: var(--primary);
}

.mini-bar-row div {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.mini-bar-row i {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.age-list {
    display: grid;
    gap: 10px;
}

.age-row {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}

.age-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.age-row-head span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.age-row-head strong {
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.age-progress {
    height: 8px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.age-progress i {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green));
}

.age-row small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.table-panel { padding: 18px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--primary); font-size: 12px; text-transform: uppercase; }
td small { display: block; color: var(--muted); }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-actions form { min-width: 130px; }

.latest-list { display: grid; gap: 10px; }
.latest-list a {
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}
.latest-list span { color: var(--muted); font-size: 13px; }

.traffic-chart {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    min-height: 240px;
}

.traffic-bar {
    display: grid;
    gap: 8px;
    align-content: end;
    justify-items: center;
    min-height: 210px;
}

.traffic-value {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.traffic-bar i {
    display: block;
    width: 100%;
    min-height: 10px;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, var(--blue), var(--cyan), var(--green));
    box-shadow: inset 0 -10px 16px rgba(255, 255, 255, .18);
}

.traffic-bar small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-stack {
    display: grid;
    gap: 18px;
}

.offer-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.offer-admin-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(18, 18, 18, .98), rgba(28, 28, 28, .94));
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.offer-admin-card-soft {
    border-color: rgba(255, 255, 255, .12);
    background:
        linear-gradient(135deg, rgba(15, 15, 15, .99), rgba(24, 24, 24, .96)),
        radial-gradient(circle at top right, rgba(255, 255, 255, .06), transparent 12rem);
}

.offer-admin-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.offer-admin-top small {
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
}

.offer-admin-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
}

.offer-admin-card p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.offer-admin-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.offer-admin-metrics div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.offer-admin-metrics strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
}

.offer-admin-metrics span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.offer-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.offer-admin-actions a,
.offer-admin-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}

.offer-admin-actions a:hover,
.offer-admin-actions button:hover {
    text-decoration: none;
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .10);
}

.offer-admin-actions form {
    margin: 0;
}

.offer-admin-actions .button-danger-inline {
    border-color: rgba(244, 63, 94, .38);
    background: rgba(244, 63, 94, .12);
    color: #fecdd3;
}

.offer-admin-actions .button-danger-inline:hover {
    border-color: rgba(244, 63, 94, .58);
    background: rgba(244, 63, 94, .18);
    color: #ffe4e6;
}

.performance-list {
    display: grid;
    gap: 10px;
}

.performance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 20, 20, .98), rgba(30, 30, 30, .94));
}

.performance-item strong {
    display: block;
    color: #ffffff;
}

.performance-item small {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 800;
}

.performance-item span {
    color: #f4f4f5;
    font-weight: 900;
    white-space: nowrap;
}

.quick-links-list {
    display: grid;
    gap: 10px;
}

.quick-links-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 22, 22, .98), rgba(32, 32, 32, .95));
    color: #ffffff;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.quick-links-list a:hover {
    text-decoration: none;
    border-color: rgba(255, 255, 255, .24);
    background: linear-gradient(135deg, rgba(28, 28, 28, .98), rgba(42, 42, 42, .96));
    transform: translateY(-1px);
}

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

.info-panel h2 { margin-top: 10px; color: var(--primary); }
.file-list { display: flex; flex-wrap: wrap; gap: 10px; }
.file-list a { padding: 9px 12px; border-radius: 8px; background: #ecf7ff; font-weight: 800; }

.file-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 180px;
}

.file-chip-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecf7ff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    border: 1px solid #bfdbfe;
}

.file-chip-list a:hover {
    background: #dbeafe;
    text-decoration: none;
}

.site-footer {
    margin-top: 34px;
    border-top: 1px solid rgba(203, 213, 225, .65);
    background: transparent;
    color: #7b8491;
}

.footer-inner {
    min-height: 70px;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    flex-direction: row;
    gap: 14px;
}

.footer-inner img {
    height: 30px;
    width: auto;
    max-width: 170px;
    opacity: 1;
}

@media (max-width: 900px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-brand-panel { min-height: 0; padding: 24px; }
    .login-brand-copy h1 { font-size: 32px; }
    .login-brand-meta { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .hero-grid,
    .detail-layout,
    .admin-grid,
    .detail-admin-grid,
    .insights-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid-balanced,
    .dashboard-split-metrics,
    .dashboard-hero-card {
        grid-template-columns: 1fr;
    }

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

    .dashboard-hero-actions,
    .dashboard-kpi-inline {
        justify-content: flex-start;
        justify-items: start;
    }

    .jobs-filters,
    .summary-grid,
    .detail-trust-row,
    .job-meta-compact,
    .detail-layout-refined {
        grid-template-columns: 1fr;
    }

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

    .traffic-chart {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .header-card,
    .admin-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid { grid-template-columns: 1fr; }
    .import-panel { grid-template-columns: 1fr; }
    .media-upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .container,
    .narrow { width: min(100% - 22px, 1120px); }
    h1 { font-size: 30px; }
    .section { padding: 24px 0 40px; }
.card-actions,
.job-card-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .button,
    .button-large { width: 100%; }
    .form-card,
    .table-panel,
    .empty-state,
    .success-card { padding: 18px; }
    .login-page { padding: 14px; }
    .login-brand-panel { display: none; }
    .login-box { padding: 24px; border-radius: 20px; }
    .login-logo { display: block; }
    .brand { align-items: flex-start; flex-direction: column; gap: 12px; }
    .brand-logos img { width: 180px; height: 58px; }
    .brand-text strong { font-size: 24px; }
    .brand small { display: none; }
    .footer-inner { min-height: 64px; font-size: 12px; flex-direction: row; gap: 10px; }
    .footer-inner img { height: 22px; max-width: 54px; }
    .dashboard-tab { width: 100%; justify-content: center; }
    .jobs-tab { width: 100%; }
    .jobs-filters { grid-template-columns: 1fr; }
    .traffic-chart { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .performance-item,
    .offer-admin-top,
    .offer-admin-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .hero-panel-inline-stats,
    .detail-trust-row,
    .job-meta-compact,
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

.share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.share-row > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.share-row-full {
    justify-content: center;
    padding-top: 4px;
}

.share-button {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.share-button:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.share-whatsapp { background: #16a34a; }
.share-facebook { background: #1877f2; }
.share-x { background: #0f172a; }
.share-linkedin { background: #0a66c2; }

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
