:root {
    --egu-container: 1320px;
    --egu-sidebar: 270px;
    --egu-header-height: 78px;
    --egu-grid-gap: 18px;
    --egu-card-radius: 8px;
}

input, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="url"], input[type="search"], textarea, select {
    font-size: 14px !important;
    font-weight: 400 !important;
}

header.site-header {
    display: flex !important;
    grid-template-columns: none !important;
    height: 64px !important;
    padding: 0 28px !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #e5e0e3 !important;
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

header.site-header nav {
    display: flex !important;
    position: static !important;
    height: 100%;
    gap: 38px;
    padding: 0;
    border: 0;
    box-shadow: none;
    flex: 1 !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

header.site-header nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: #6e6870;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

header.site-header nav a:hover,
header.site-header nav a.active {
    color: #181218;
}

header.site-header nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #c90071;
}

.site-header .header-actions a {
    height: 40px;
    display: inline-flex;
    align-items: center;
    border: 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.site-header .login {
    padding: 0 13px;
    background: transparent;
}

.site-header .post {
    padding: 0 17px;
}

.site-header .menu svg {
    width: 20px;
    height: 20px;
}

.city-inner {
    max-width: var(--egu-container);
    margin: 0 auto;
}

.card-photo {
    display: block;
}

.card-info p {
    min-height: 18px;
}

.vip-section-link {
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid #6d3b54;
    color: #eab7ce;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.vip-section-link svg {
    width: 13px;
}

.verified-mark {
    width: 15px;
    height: 15px;
    color: var(--fuchsia);
}

.unverified-mark {
    display: inline-flex;
    align-items: center;
    padding: 2px 5px;
    border-radius: 3px;
    background: #767176;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .04em;
}

.pagination a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #e0d7dd;
    border-radius: 4px;
    background: #fff;
    color: #6b6269;
    font-size: 12px;
}

.pagination a.active {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.pagination a.next {
    width: auto;
    padding: 0 14px;
    display: flex;
    gap: 8px;
}

.site-footer .footer-logo {
    color: #fff;
}

.site-footer .logo-symbol {
    border-color: #fff;
}

.site-footer a {
    cursor: pointer;
}

.site-footer {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 28px;
    grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2fr);
    gap: 38px 70px;
    align-items: start;
}

.site-footer > .footer-brand {
    justify-self: start;
    display: block;
}

.footer-brand > p {
    max-width: 330px;
    margin-top: 20px;
    color: #a69da4;
    font-size: 10px;
    line-height: 1.75;
}

.footer-adult-mark {
    width: max-content;
    margin-top: 17px;
    padding: 7px 9px;
    display: block;
    border: 1px solid #463640;
    border-radius: 4px;
    color: #f07aae;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer > .footer-links {
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-links section {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-links h2 {
    margin: 0 0 5px;
    color: #fff;
    font: 800 9px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-links a {
    width: max-content;
    max-width: 100%;
    color: #aaa0a7;
    font-size: 12px;
    line-height: 1.35;
}

.footer-links a:hover {
    color: #ff6aae;
}

.site-footer > .footer-disclaimer {
    max-width: none;
    margin: 0;
    padding-top: 24px;
    grid-column: 1 / -1;
    border-top: 1px solid #342a31;
    color: #81777e;
    font-size: 8px;
    line-height: 1.7;
}

.site-footer > .footer-bottom {
    margin: -18px 0 0;
    padding-top: 18px;
    grid-column: 1 / -1;
    justify-self: stretch;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #2b2429;
    color: #786f75;
    font-size: 8px;
}

@media (max-width: 820px) {
    .site-footer {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer > .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }
}

@media (max-width: 460px) {
    .site-footer { padding: 40px 20px 25px; }
    .site-footer > .footer-links { grid-template-columns: 1fr 1fr; }
    .site-footer > .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* V17 uses its own non-home classes for the remaining Laravel surfaces. */
.page-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 42px 28px 76px;
}

.narrow-wrap {
    max-width: 1180px;
}

.page-hero {
    padding: 8px 0 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.page-hero h1 {
    margin: 0;
    font: 700 38px/1.12 Manrope, sans-serif;
    letter-spacing: -.045em;
}

.page-hero > div > p:last-child {
    max-width: 620px;
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.card-surface,
.surface {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(55, 25, 43, .055);
}

.grid {
    display: grid;
    gap: 16px;
}

.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 54px max(28px, 4vw) 0;
}

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

.chip,
.btn {
    min-height: 32px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #ded4db;
    border-radius: 18px;
    background: #fff;
    color: #5f565e;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.btn {
    min-height: 40px;
    border-radius: 4px;
}

.btn.primary,
.primary-btn {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

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

.filter-text-input {
    width: 100%;
    height: 34px;
    margin-bottom: 8px;
    padding: 0 9px;
    border: 1px solid #e1d8de;
    border-radius: 3px;
    outline: 0;
    color: #655d64;
    font-size: 8px;
}

.filter-actions a {
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid #ded2da;
    background: #fff;
    font-size: 7px;
    font-weight: 800;
}

.search-empty {
    grid-column: 1 / -1;
    min-height: 260px;
    padding: 38px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--soft);
    text-align: center;
}

.search-empty h2 { margin: 0; font: 700 22px Manrope, sans-serif; }
.search-empty p { margin: 8px 0 18px; color: var(--muted); font-size: 10px; }

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

.agency-directory-card {
    min-height: 260px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 9px 27px rgba(58, 30, 45, .055);
}

.agency-directory-head {
    display: grid;
    grid-template-columns: 50px 1fr 18px;
    gap: 13px;
    align-items: center;
}

.agency-initials {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--fuchsia);
    color: #fff;
    font: 800 14px Manrope, sans-serif;
}

.agency-directory-head small { color: var(--fuchsia-dark); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.agency-directory-head h2 { margin: 4px 0 0; font: 700 17px Manrope, sans-serif; }
.agency-directory-head > svg { width: 18px; color: var(--fuchsia); }
.agency-directory-card > p { margin: 20px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.agency-directory-meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #6d646c; font-size: 12px; }
.agency-directory-meta span { display: flex; align-items: center; gap: 5px; }
.agency-directory-meta svg { width: 13px; }
.agency-directory-action { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; color: var(--fuchsia-dark); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.agency-directory-action svg { width: 14px; }
.agency-avatar { font: 800 17px Manrope, sans-serif; }
.agency-roster-head { margin-bottom: 22px; }

.dashboard-nav nav a,
.dash-bottom a,
.admin-sidebar nav a,
.admin-exit {
    height: 40px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #777077;
    font-size: 12px;
    text-align: left;
}

.dashboard-nav nav a.active {
    background: var(--rose);
    color: var(--fuchsia-dark);
    font-weight: 800;
}

.admin-sidebar nav a,
.admin-exit { color: #aaa0a7; }
.admin-sidebar nav a.active { background: #34242e; color: #ff68ae; }
.admin-sidebar nav a b { margin-left: auto; min-width: 18px; padding: 3px; border-radius: 8px; background: var(--red); color: #fff; font-size: 7px; text-align: center; }
.admin-sidebar .logo-type strong { color: #fff; }
.admin-sidebar .logo-type small { color: #ff68ae; }
.admin-sidebar form { margin: 0; }
.admin-sidebar form .admin-exit { width: 100%; border: 0; }

.agency-card-actions a,
.agency-section-heading a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fuchsia-dark);
    font-size: 8px;
    font-weight: 800;
}

.agency-card-actions a svg,
.agency-section-heading a svg { width: 13px; }
.agency-rating strong { display: flex; align-items: center; justify-content: flex-end; }
.agency-rating strong svg { width: 14px; color: #f5a623; }

.header-actions form { margin: 0; }
.header-actions form .login { border: 0; }

.form-error,
.form-success {
    margin: 12px 0;
    padding: 11px 13px;
    border: 1px solid #f0b8c9;
    border-radius: 5px;
    background: #fff3f7;
    color: #a20b3e;
    font-size: 12px;
    font-weight: 700;
}

.form-success {
    border-color: #b9dfcf;
    background: #eff9f4;
    color: #257a58;
}

.setup-form-error { margin: 0 0 14px; }
.agency-setup-page {
    width: min(1180px, 100%);
    padding-top: 26px;
}

.agency-setup-hero {
    margin-bottom: 18px;
    padding: 24px 26px;
}

.agency-setup-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.agency-setup-heading h1 {
    margin: 0;
    font: 700 30px/1.12 Manrope, sans-serif;
    letter-spacing: -.04em;
}

.agency-setup-heading p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.agency-heading-actions {
    display: flex;
    justify-content: flex-end;
}

.agency-heading-actions span,
.agency-card-badge {
    min-height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #f0d0db;
    border-radius: 999px;
    background: #fff6f9;
    color: var(--fuchsia-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agency-setup-hero-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.agency-setup-hero-grid article {
    min-height: 118px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
}

.agency-setup-hero-grid small,
.agency-side-card .eyebrow,
.agency-card-heading .eyebrow {
    color: var(--fuchsia-dark);
}

.agency-setup-hero-grid strong {
    margin-top: 12px;
    display: block;
    font: 700 31px/1 Manrope, sans-serif;
    letter-spacing: -.05em;
}

.agency-setup-hero-grid span {
    margin-top: 8px;
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.agency-account-form { margin: 0; }

.agency-setup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
    gap: 18px;
    align-items: start;
}

.agency-setup-main,
.agency-setup-side {
    display: grid;
    gap: 18px;
}

.agency-setup-card {
    padding: 22px 24px;
}

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

.agency-card-heading h2,
.agency-side-card h2 {
    margin: 4px 0 0;
    font: 700 22px/1.2 Manrope, sans-serif;
    letter-spacing: -.03em;
}

.setup-help {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

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

.agency-setup-fields.one-col {
    grid-template-columns: minmax(0, 1fr);
}

.agency-account-form label {
    display: grid;
    gap: 8px;
}

.agency-account-form label > span {
    color: #443a42;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.agency-account-form input,
.agency-account-form select,
.agency-account-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    border: 1px solid #e2d6dd;
    border-radius: 7px;
    background: #fff;
    color: #261f24;
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.agency-account-form textarea {
    min-height: 168px;
    resize: vertical;
}

.agency-account-form input:focus,
.agency-account-form select:focus,
.agency-account-form textarea:focus {
    outline: none;
    border-color: #df1153;
    box-shadow: 0 0 0 3px rgba(223, 17, 83, .08);
}

.agency-description-field { display: grid; gap: 10px; }

.agency-brand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 240px;
    gap: 18px;
    align-items: start;
}

.agency-logo-editor {
    display: grid;
    gap: 8px;
}

.agency-logo-editor strong {
    color: #443a42;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.agency-logo-editor small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.agency-logo-preview {
    min-height: 180px;
    padding: 10px;
    display: grid;
    place-items: center;
    border: 1px dashed #d9cfd5;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fff7fa 100%);
    overflow: hidden;
}

.agency-logo-preview img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 6px;
}

.agency-logo-preview span {
    color: #8d848b;
    font-size: 11px;
    font-weight: 700;
}

.agency-logo-picker {
    display: inline-flex !important;
    justify-self: start;
}

.agency-logo-picker span,
.agency-add-phone-btn {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ead7df;
    border-radius: 999px;
    background: #fff;
    color: var(--fuchsia-dark);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}

.agency-contact-layout {
    display: grid;
    gap: 16px;
}

.agency-contact-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.agency-extra-phones {
    display: grid;
    gap: 10px;
}

.agency-extra-phone-row > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.agency-extra-phone-row button {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #edd8df;
    border-radius: 7px;
    background: #fff7fa;
    color: #c6124d;
    font-size: 10px;
    font-weight: 800;
}

.agency-channel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agency-channel-pill {
    position: relative;
    display: inline-flex !important;
}

.agency-channel-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.agency-channel-pill span {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e6d8df;
    border-radius: 999px;
    background: #fff;
    color: #5a4f57;
    font-size: 10px;
    font-weight: 700;
}

.agency-channel-pill input:checked + span {
    border-color: #df1153;
    background: #fff1f6;
    color: #c70d48;
}

.agency-selected-plan {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #f0d3de;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff5f9 0%, #fff 100%);
}

.agency-selected-plan small {
    color: var(--fuchsia-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agency-selected-plan strong {
    margin-top: 7px;
    display: block;
    font: 700 20px/1.15 Manrope, sans-serif;
}

.agency-selected-plan span {
    margin-top: 6px;
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.agency-profile-notice {
    margin-bottom: 14px;
}

.agency-profile-form {
    margin-top: 14px;
}

.agency-package-notice {
    min-height: 44px;
    margin: -4px 0 18px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
    background: #fff3f7;
    color: #85133a;
}

.agency-package-notice strong {
    font-size: 10px;
}

.agency-package-notice span {
    color: #7c5968;
    font-size: 10px;
}

.agency-photo-preview img {
    object-fit: contain;
    background: #fff;
}

.agency-contact-section .contact-custom-fields {
    margin-top: 0;
}

.agency-contact-add-phone {
    margin-top: 4px;
}

.agency-social-channels {
    justify-content: flex-start;
}

.agency-social-check {
    width: auto;
    min-width: 0;
}

.agency-social-pill {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2d6dc;
    border-radius: 999px;
    background: #fff;
    color: #5b5158;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.agency-social-check input[type="checkbox"]:checked + .agency-social-pill {
    border-color: var(--fuchsia-dark);
    background: #fff1f6;
    color: var(--fuchsia-dark);
}

.agency-edit-actions {
    margin-top: 28px;
}

.agency-edit-actions .primary-btn {
    min-width: 220px;
}

.agency-side-card {
    position: sticky;
    top: 18px;
}

.agency-checklist {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.agency-checklist li {
    padding-left: 22px;
    position: relative;
    color: #4d434b;
    font-size: 11px;
    line-height: 1.7;
}

.agency-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--fuchsia-dark);
    font-weight: 800;
}

.agency-side-metrics {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.agency-side-metrics div {
    padding: 14px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid #eadbe3;
    border-radius: 7px;
    background: #fff8fb;
}

.agency-side-metrics strong {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--fuchsia-dark));
    color: #fff;
    font: 800 13px/1 Manrope, sans-serif;
}

.agency-side-metrics span {
    color: #493f47;
    font-size: 11px;
    line-height: 1.6;
}

.member-consent { margin: 4px 0 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.member-consent input { accent-color: var(--fuchsia); }
.favorite-row > div:last-child form { margin: 0; }
.empty-state { padding: 42px; text-align: center; }
.empty-state h2 { margin: 0; font: 700 22px Manrope, sans-serif; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 10px; }
.empty-state .primary-btn { width: max-content; margin: auto; }

.dash-bottom form { margin: 0; }
.dash-bottom form button {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #777077;
    font-size: 12px;
    text-align: left;
}

.setup-topbar nav form { height: 100%; }
.setup-topbar nav form button {
    height: 100%;
    padding: 0 3px;
    border: 0;
    background: transparent;
    color: #272329;
    font-size: 11px;
    font-weight: 600;
}

.agency-cover { display: block; }

.agency-page-navigation a {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #756c74;
    font-size: 12px;
    font-weight: 700;
}

.agency-page-navigation a:last-child { color: var(--fuchsia-dark); }
.agency-page-navigation a svg { width: 13px; }

.auth-login-options > a,
.auth-login-footer a,
.auth-signup-footer a {
    color: var(--fuchsia-dark);
    font-size: 10px;
    font-weight: 700;
}

.auth-role-card h2 { margin: 0 0 7px; font: 700 20px Manrope, sans-serif; }
.auth-role-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.auth-role-card > b { margin-top: 20px; display: flex; align-items: center; gap: 7px; color: var(--fuchsia-dark); font-size: 12px; }
.auth-role-card > b svg { width: 13px; }
.auth-signup-footer { margin-top: auto; text-align: center; color: var(--muted); font-size: 10px; }

.publish-help > a {
    padding: 13px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--line);
    color: var(--fuchsia-dark);
    font-size: 8px;
    font-weight: 800;
}

.publish-help > a svg { width: 12px; }

.setup-topbar nav > a {
    height: 100%;
    padding: 0 3px;
    display: flex;
    align-items: center;
    color: #272329;
    font-size: 11px;
    font-weight: 600;
}

.setup-actions .setup-next {
    min-height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--red);
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
}

.setup-actions .setup-next svg { width: 13px; }

.edit-step-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: right;
}

.edit-step-actions .primary-btn {
    min-height: 40px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--red);
    border-radius: 4px;
    background: linear-gradient(90deg, var(--red), var(--fuchsia-dark));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}

.edit-step-actions .primary-btn svg { width: 13px; }

@media (max-width: 820px) {
    .site-header nav.open { display: flex; }
    .site-header .header-actions .login { display: none; }
    .cards-6, .cards-4, .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-hero { align-items: start; }
    .agency-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .site-header .header-actions .post { display: none; }
    .page-wrap { padding: 29px 16px 55px; }
    .page-hero { display: block; }
    .page-hero h1 { font-size: 29px; }
    .cards-6, .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
    .agency-directory-grid { grid-template-columns: 1fr; }
    .agency-directory-card { min-height: 235px; }
    .agency-profile-hero { padding: 21px 17px; grid-template-columns: 52px 1fr; gap: 13px; }
    .agency-profile-hero .agency-avatar { width: 52px; height: 52px; }
    .agency-profile-hero > button { grid-column: 1 / -1; width: 100%; }
    .agency-profile-hero h1 { font-size: 23px; }
    .agency-about-grid { grid-template-columns: 1fr; }
    .results-grid.four-col { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .dashboard-shell,
    .admin-shell {
        width: 100%;
        max-width: 100vw;
        grid-template-columns: minmax(0, 1fr);
        overflow-x: hidden;
    }

    .dashboard-nav,
    .admin-sidebar {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 0;
        position: relative;
        padding: 14px 16px;
        overflow: hidden;
    }

    .dashboard-nav > .logo,
    .admin-sidebar > .logo { margin: 0 0 12px; }

    .dashboard-nav nav,
    .admin-sidebar nav {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .dashboard-nav nav a,
    .admin-sidebar nav a { flex: 0 0 auto; white-space: nowrap; }
    .dash-account,
    .dash-bottom,
    .admin-sidebar > small,
    .admin-exit { display: none; }

    .dashboard-content,
    .admin-main {
        min-width: 0;
        padding: 22px 14px 42px;
        overflow: hidden;
    }

    .dash-top,
    .admin-top { align-items: flex-start; gap: 14px; }
    .dash-top h1,
    .admin-top h1 { font-size: 25px; }
    .agency-setup-heading,
    .agency-card-heading { flex-direction: column; }
    .agency-setup-hero,
    .agency-setup-card { padding: 18px; }
    .agency-brand-layout,
    .agency-setup-hero-grid,
    .agency-setup-grid,
    .agency-contact-primary,
    .agency-setup-fields,
    .setup-fields { grid-template-columns: 1fr; }
    .agency-side-card {
        position: static;
        top: auto;
    }
    .status-banner,
    .agency-summary { align-items: flex-start; flex-direction: column; }
    .status-banner > button,
    .agency-summary > a { width: 100%; }
    .stat-grid,
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-stats article { min-width: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .moderation { max-width: 100%; overflow: hidden; }
    .moderation-head { align-items: flex-start; flex-direction: column; }
    .moderation-table { max-width: 100%; overflow-x: auto; }
    .moderation-table .table-head,
    .moderation-table article { min-width: 700px; }
    .review-drawer {
        width: 100%;
        max-width: 100%;
        position: relative;
        inset: auto;
        margin-top: 18px;
        border-left: 0;
        box-shadow: none;
    }
}

/* Verified account gate */
.email-verification-page {
    min-height: calc(100vh - 291px);
    padding: 70px 20px;
    display: grid;
    place-items: start center;
    background: #fffafb;
}

.email-verification-card {
    width: min(560px, 100%);
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(55, 25, 43, .08);
    text-align: center;
}

.verification-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--rose);
    color: var(--fuchsia-dark);
}

.verification-icon svg { width: 25px; }
.email-verification-card h1 { margin: 0; font: 700 30px/1.2 Manrope, sans-serif; letter-spacing: 0; }
.email-verification-card > p:not(.eyebrow) { margin: 12px auto 24px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.email-verification-card form { margin: 0; }
.email-verification-card .auth-primary { width: 100%; }
.local-mail-preview { margin-top: 18px; padding: 16px; border: 1px dashed #e1c9d5; border-radius: 6px; background: #fff7fa; text-align: left; }
.local-mail-preview small { color: var(--fuchsia-dark); font-size: 7px; font-weight: 800; letter-spacing: 0; }
.local-mail-preview p { margin: 5px 0 12px; color: var(--muted); font-size: 12px; }
.local-mail-preview a { display: inline-flex; align-items: center; gap: 7px; color: var(--fuchsia-dark); font-size: 12px; font-weight: 800; }
.local-mail-preview svg { width: 13px; }
.verification-logout button { margin-top: 20px; border: 0; background: transparent; color: #6e666d; font-size: 12px; text-decoration: underline; }

/* Reference profile workspace, kept inside the V17 visual system. */
.independent-setup-page {
    width: min(1120px, 100%);
    padding-top: 28px;
    display: block;
}

.independent-setup-page .setup-main { width: 100%; }
.independent-account-dashboard .setup-page { padding-bottom: 44px; }
.profile-workspace-heading { padding: 0 2px 14px; }
.profile-workspace-heading .eyebrow { margin-bottom: 5px; }
.profile-workspace-heading h1 { margin: 0; font: 700 28px/1.15 Manrope, sans-serif; letter-spacing: 0; }
.setup-status { margin: 0 0 14px; }

.profile-incomplete-notice {
    min-height: 44px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
    background: #30232b;
    color: #fff;
}

.profile-incomplete-notice strong { font-size: 8px; letter-spacing: 0; }
.profile-incomplete-notice span { color: #d9cfd5; font-size: 8px; }
.profile-incomplete-notice span[data-state="saving"],
.profile-incomplete-notice span[data-state="pending"] { color: #ffd0e5; }
.profile-incomplete-notice span[data-state="saved"] { color: #7be0b6; }
.profile-incomplete-notice span[data-state="error"],
.profile-incomplete-notice span[data-state="incomplete"] { color: #ffc0c9; }

.independent-profile-tabs a {
    min-width: max-content;
    padding: 0 18px;
    position: relative;
    display: flex;
    align-items: center;
    border-right: 1px solid #eee9ec;
    background: #fff;
    color: #716970;
    font-size: 12px;
    font-weight: 650;
}

.independent-profile-tabs a:last-child { border-right: 0; }
.independent-profile-tabs a.active { background: #fff3f7; color: #cb0d49; }
.independent-profile-tabs a.active::after { content: ""; height: 3px; position: absolute; left: 12px; right: 12px; bottom: 0; background: var(--red); }

.reference-profile-form,
.profile-step-panel {
    margin-top: 14px;
    padding: 24px;
    border: 1px solid #e1dce0;
    border-radius: 7px;
    background: #fff;
}

.reference-profile-form label,
.profile-step-panel label,
.reference-subsection label {
    display: grid;
    gap: 7px;
    color: #3d383e;
    font-size: 12px;
    font-weight: 700;
}

.reference-profile-form label > span b,
.reference-radio-groups legend b,
.reference-photo-block b { color: var(--red); font-size: 16px; font-weight: 800; }

.reference-profile-form input,
.reference-profile-form select,
.reference-profile-form textarea,
.profile-step-panel input,
.profile-step-panel select,
.profile-step-panel textarea,
.reference-subsection input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d9d4d8;
    border-radius: 5px;
    outline: 0;
    background: #fff;
    color: #302a2f;
    font-size: 10px;
}

.reference-profile-form textarea,
.profile-step-panel textarea { height: auto; min-height: 110px; padding-top: 11px; resize: vertical; }
.reference-profile-form input:focus,
.reference-profile-form select:focus,
.reference-profile-form textarea:focus,
.profile-step-panel input:focus,
.profile-step-panel select:focus,
.profile-step-panel textarea:focus { border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(236, 22, 140, .08); }

.reference-form-row,
.reference-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-bottom: 18px; }
.reference-form-row.single { grid-template-columns: minmax(0, 1fr); }
.reference-form-row.compact-width { max-width: calc(50% - 10px); }

.reference-section-band,
.reference-subsection h2,
.profile-step-panel > h2 {
    margin: 24px -24px 20px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, var(--rose), #fff);
    color: var(--fuchsia-dark);
    font: 800 15px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
}

.reference-profile-form > .reference-section-band:first-of-type {
    margin-top: -24px;
}

.reference-section-band::before,
.reference-subsection h2::before,
.profile-step-panel > h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 9px;
    border-radius: 4px;
    background: linear-gradient(var(--red), var(--fuchsia));
    vertical-align: -3px;
}

.reference-photo-block {
    margin: 0 0 20px;
    padding: 0 0 20px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.reference-photo-block > div > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.reference-photo-preview { height: 285px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #d4ced2; border-radius: 5px; background: #f1edef; cursor: pointer; }
.reference-photo-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reference-photo-preview > span { display: grid; place-items: center; gap: 9px; color: #958c92; }
.reference-photo-preview > span svg { width: 45px; }
.reference-photo-preview .profile-photo-action { height: 35px; padding: 0 12px; position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; place-items: initial; align-items: center; justify-content: center; gap: 7px; border-radius: 4px; background: rgba(255, 255, 255, .94); color: var(--fuchsia-dark); font-size: 8px; font-weight: 800; box-shadow: 0 4px 14px rgba(45, 27, 37, .1); }
.reference-photo-preview .profile-photo-action svg { width: 14px; }
.reference-photo-preview input { position: absolute; inset: 0; z-index: 2; opacity: 0; cursor: pointer; }
.reference-photo-preview.is-dragging { border-color: var(--fuchsia); box-shadow: 0 0 0 4px rgba(211, 0, 111, .1); }
.profile-photo-tools { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-photo-tools button { height: 32px; padding: 0 11px; border: 1px solid #d90d61; border-radius: 4px; background: #fff; color: var(--fuchsia-dark); font-size: 8px; font-weight: 800; }
.profile-photo-tools button span { margin-left: 5px; color: #9a8f96; font-size: 7px; font-weight: 600; }
.profile-photo-tools small { color: #847b82; font-size: 7px; text-align: right; }

.profile-crop-dialog { width: min(780px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: hidden; border: 0; border-radius: 7px; background: #fff; box-shadow: 0 24px 80px rgba(16, 8, 13, .35); }
.profile-crop-dialog::backdrop { background: rgba(23, 16, 21, .72); backdrop-filter: blur(4px); }
.profile-crop-shell { padding: 20px; }
.profile-crop-shell > header { height: auto; padding: 0 0 16px; display: flex; align-items: center; justify-content: space-between; border: 0; }
.profile-crop-shell > header h2 { margin: 2px 0 0; font: 700 22px Manrope, sans-serif; }
.profile-crop-shell > header button { width: 34px; height: 34px; border: 1px solid #ddd4d9; border-radius: 50%; background: #fff; color: #4a4247; font-size: 21px; }
.profile-crop-stage { height: min(60vh, 520px); overflow: hidden; border-radius: 5px; background: #171317; }
.profile-crop-stage img { display: block; max-width: 100%; }
.profile-crop-zoom { margin-top: 16px; display: grid; grid-template-columns: 55px 1fr; gap: 12px; align-items: center; }
.profile-crop-zoom span { color: #5e555b; font-size: 12px; font-weight: 800; }
.profile-crop-zoom input { width: 100%; accent-color: var(--fuchsia-dark); }
.profile-crop-shell > footer { min-height: 0; margin-top: 17px; padding: 0; display: flex; justify-content: flex-end; gap: 8px; background: transparent; }
.profile-crop-shell > footer button { min-width: 112px; height: 40px; border-radius: 4px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.profile-crop-shell > footer .secondary-btn { border: 1px solid #dcd3d8; background: #fff; color: #5d555b; }
.profile-crop-shell > footer .primary-btn { border: 0; background: linear-gradient(90deg, var(--red), var(--fuchsia-dark)); color: #fff; }
.reference-photo-block > div > small { margin-top: 7px; display: block; color: var(--muted); font-size: 7px; }
.profile-photo-rules { align-self: end; padding: 16px; border-radius: 5px; background: #fff6f8; }
.profile-photo-rules strong { display: block; margin-bottom: 9px; color: var(--red); font-size: 8px; }
.profile-photo-rules p { margin: 7px 0; color: #675f65; font-size: 8px; line-height: 1.45; }
.profile-photo-rules p::before { content: "×"; margin-right: 7px; color: var(--red); font-weight: 800; }

.reference-textarea { margin-bottom: 20px; }
.reference-textarea small { color: var(--muted); font-size: 7px; font-weight: 500; }
.reference-radio-groups { padding: 18px 0; display: grid; gap: 18px; border-top: 1px solid var(--line); }
.reference-radio-groups fieldset { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 20px; border: 0; }
.reference-radio-groups legend { width: 100%; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.reference-radio-groups label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.reference-radio-groups input { display: none; }
.reference-radio-groups label > span { width: 15px; height: 15px; border: 1px solid #bbb4b9; border-radius: 50%; }
.reference-radio-groups input:checked + span { border: 4px solid var(--red); }
.reference-details-grid { padding-top: 0; border-top: 0; }

.reference-subsection { margin-top: 22px; padding-top: 0; border-top: 0; }
.reference-subsection h2 { margin-bottom: 18px; }
.reference-subsection h2 small { color: var(--muted); font-size: 8px; text-transform: none; }
.reference-subsection p { margin: 8px 0 0; color: var(--muted); font-size: 8px; }

.profile-step-panel { min-height: 390px; }
.profile-step-panel > h2 { margin-top: 8px; }
.profile-step-panel > p:not(.eyebrow) { margin: 8px 0 22px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.media-dropzone { min-height: 190px; place-items: center; align-content: center; border: 1px dashed #d6cbd1; border-radius: 6px; background: #fff8fa; cursor: pointer; text-align: center; }
.media-dropzone svg { width: 35px; color: var(--fuchsia-dark); }
.media-dropzone small { color: var(--muted); font-size: 8px; }
.media-dropzone input { width: auto; height: auto; border: 0; background: transparent; font-size: 8px; }
.uploaded-media-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }

.photo-gallery-step {
    padding-top: 18px;
}

.photo-progress-notice {
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border: 1px solid #f0d98d;
    border-radius: 4px;
    background: #fff8d9;
    color: #c18b16;
}

.photo-progress-notice strong {
    font-size: 10px;
}

.photo-progress-notice strong span {
    color: #e7ac18;
}

.photo-progress-notice small {
    color: #a87912;
    font-size: 8px;
}

.photo-rules-panel {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fffafb;
}

.photo-rules-panel h2,
.photo-gallery-heading,
.gallery-collection > h2 {
    margin: 0;
    color: #312b30;
    font: 800 11px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
}

.photo-rules-panel p {
    margin: 9px 0;
    display: flex;
    gap: 8px;
    color: #5f575d;
    font-size: 8px;
    line-height: 1.45;
}

.photo-rules-panel p::before {
    content: "×";
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.photo-gallery-heading,
.gallery-collection > h2 {
    margin-top: 28px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, var(--rose), #fff);
    color: var(--fuchsia-dark);
}

.photo-gallery-heading::before,
.gallery-collection > h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    margin-right: 8px;
    border-radius: 4px;
    background: linear-gradient(var(--red), var(--fuchsia));
    vertical-align: -3px;
}

.gallery-collection > h2 span {
    color: #746d74;
    font-size: 12px;
}

.modern-photo-upload {
    padding: 18px 0 20px;
    display: block;
}

.profile-step-panel .compact-photo-picker {
    min-height: 126px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border: 1px dashed #d3b7c5;
    border-radius: 6px;
    background: linear-gradient(135deg, #fff9fb, #fff);
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.profile-step-panel .compact-photo-picker:hover,
.profile-step-panel .compact-photo-picker.is-dragging {
    border-color: var(--fuchsia);
    background: var(--rose);
    box-shadow: 0 8px 22px rgba(82, 31, 57, .07);
}

.profile-step-panel .compact-photo-picker.is-dragging {
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(211, 0, 111, .08);
}

.compact-photo-picker > input {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.photo-upload-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--fuchsia-dark);
    box-shadow: 0 5px 15px rgba(82, 31, 57, .09);
}

.photo-upload-icon svg { width: 21px; }
.photo-upload-copy { min-width: 0; text-align: center; }
.photo-upload-copy strong,
.photo-upload-copy small { display: block; }
.photo-upload-copy strong { color: #332d32; font-size: 11px; }
.photo-upload-copy small { margin-top: 5px; overflow: hidden; color: #847b82; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.photo-step-navigation {
    padding-top: 2px;
    display: flex;
    gap: 8px;
}

.photo-step-navigation a,
.photo-step-navigation button {
    min-width: 105px;
    height: 39px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--red);
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.photo-step-navigation a svg,
.photo-step-navigation button svg { width: 13px; }
.photo-step-navigation a.previous { border-color: #ddd3d8; background: #fff; color: #5f575d; }
.photo-step-navigation a.previous svg { transform: rotate(180deg); }
.photo-step-navigation button:last-child,
.photo-step-navigation a[data-draft-next] { border-color: var(--fuchsia-dark); background: var(--fuchsia-dark); color: #fff; }
.photo-step-navigation button:disabled { border-color: #d5ccd1; background: #d5ccd1; cursor: not-allowed; }

.verification-panel { min-height: 300px; }
.verification-panel > h2 { margin-top: 4px; }
.verification-panel > p:not(.eyebrow) { margin: 8px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.verification-required-checks { margin: 0 0 18px; padding: 15px 17px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 1px solid #f0d9e3; border-radius: 7px; background: #fff5f8; }
.verification-required-checks span { display: flex; align-items: center; gap: 7px; color: #453c42; font-size: 11px; font-weight: 700; }
.verification-required-checks svg { width: 14px; color: var(--fuchsia-dark); }
.verification-upload {
    margin: 0 0 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    border: 1px dashed #d9cdd4;
    border-radius: 7px;
    background: #fbfafb;
    color: #5f575d;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.verification-upload:hover,
.verification-upload.is-dragging { border-color: var(--fuchsia); background: #fff5f8; }
.verification-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.verification-upload .video-upload-icon { flex: none; }
.verification-upload strong { display: block; color: #332d31; font-size: 12px; }
.verification-upload small { display: block; margin-top: 3px; color: #958b93; font-size: 10px; }
.verification-upload .video-error { width: 100%; }
.verification-consent {
    margin: 0 0 18px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #4a4248;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}
.verification-consent input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--red); cursor: pointer; }
.verification-consent svg { display: none; }
.verification-status-card { margin: 18px 0; padding: 20px 22px; display: flex; align-items: center; gap: 15px; border: 1px solid #cdeedf; border-radius: 8px; background: #f0faf6; }
.verification-status-card .verification-status-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #d9f3e7; color: var(--green); }
.verification-status-card svg { width: 24px; }
.verification-status-card strong { display: block; color: #215f45; font-size: 13px; }
.verification-status-card p { margin: 4px 0 0; color: #6b8a7b; font-size: 10px; line-height: 1.55; }
.verification-pending .video-review-alert { display: flex; }
.verification-code-card {
    margin: 0 0 16px;
    padding: 18px 20px;
    display: grid;
    gap: 6px;
    text-align: center;
    border: 2px dashed var(--fuchsia);
    border-radius: 8px;
    background: #fff5f8;
}
.verification-code-card span { color: #7a7078; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.verification-code-card strong {
    padding: 9px 14px;
    display: block;
    width: max-content;
    margin: 0 auto;
    border-radius: 5px;
    background: var(--fuchsia-dark);
    color: #fff;
    font: 800 22px/1 Manrope, sans-serif;
    letter-spacing: .14em;
}
.verification-code-card small { color: #9a8f98; font-size: 10px; }

.verification-camera { margin: 16px 0; }
.camera-preview { width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #1a1619; position: relative; }
.camera-preview video { width: 100%; height: 100%; object-fit: cover; transform: rotateY(180deg); }
.camera-placeholder {
    padding: 40px 20px;
    display: grid;
    gap: 10px;
    text-align: center;
    border: 2px dashed #d9cdd4;
    border-radius: 10px;
    background: #fbfafb;
    color: #5f575d;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.camera-placeholder:hover { border-color: var(--fuchsia); background: #fff5f8; }
.camera-icon { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: var(--fuchsia-dark); }
.camera-icon svg { width: 28px; height: 28px; }
.camera-placeholder strong { display: block; color: #332d31; font-size: 14px; }
.camera-placeholder small { color: #958b93; font-size: 11px; }
.camera-recording { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px; color: #fff; font-size: 13px; font-weight: 700; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: rec-pulse 1s infinite; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.stop-square { width: 10px; height: 10px; background: #fff; }
.rec-timer { font-variant-numeric: tabular-nums; font-family: 'SF Mono', Menlo, monospace; }
.camera-controls { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.camera-controls button { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-record { background: var(--red); color: #fff; }
.btn-stop { background: #ef4444; color: #fff; }
.btn-cancel { background: #fff; color: #5f575d; border: 1px solid #ddd3d8; }
.camera-review { margin-top: 12px; text-align: center; }
.camera-review video { width: 100%; max-height: 400px; border-radius: 8px; background: #1a1619; }
.review-actions { display: flex; gap: 10px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.review-actions button { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 5px; font-size: 11px; font-weight: 700; cursor: pointer; }
.btn-retake { background: #fff; color: #5f575d; border: 1px solid #ddd3d8; }
.btn-use { background: var(--fuchsia-dark); color: #fff; }

/* ========== VERIFICATION FLOW ========== */

/* Stepper */
.verification-stepper { margin: 0 0 28px; }
.stepper-list { display: flex; list-style: none; margin: 0; padding: 0; align-items: flex-start; }
.stepper-item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stepper-list--egu { gap: 8px; align-items: stretch; }
.stepper-item--egu { flex-direction: row; align-items: center; gap: 12px; }
.stepper-marker { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f0e9ed; color: #9a8f98; font: 700 11px/1 Manrope, sans-serif; border: 2px solid #e5dce1; transition: all .25s; position: relative; z-index: 2; }
.stepper-marker--egu { width: 42px; height: 42px; flex-shrink: 0; border-width: 1px; background: #fff; color: #9a8f98; box-shadow: 0 8px 20px rgba(28,24,32,.04); }
.stepper-icon { width: 16px; height: 16px; }
.stepper-check { width: 15px; height: 15px; display: none; }
.stepper-item.completed .stepper-marker { background: var(--fuchsia-dark); border-color: var(--fuchsia-dark); color: #fff; }
.stepper-item.completed .stepper-check { display: block; color: #fff; }
.stepper-item.active .stepper-marker { background: var(--fuchsia-dark); border-color: var(--fuchsia-dark); color: #fff; }
.stepper-item.future .stepper-marker { background: #f0e9ed; border-color: #e5dce1; color: #9a8f98; }
.stepper-label { font-size: 10px; font-weight: 700; color: #9a8f98; text-align: center; letter-spacing: .02em; }
.stepper-label--egu { display: grid; gap: 3px; text-align: left; font-size: 11px; }
.stepper-index { color: #b49fa9; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.stepper-item.active .stepper-label { color: var(--fuchsia-dark); font-weight: 800; }
.stepper-item.completed .stepper-label { color: var(--fuchsia-dark); }
.stepper-connector { position: absolute; top: 17px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 0; border-top: 2px dashed #e5dce1; z-index: 1; }
.stepper-connector--egu { top: 21px; left: calc(100% - 12px); right: -12px; border-top-style: solid; border-top-width: 1px; }
.stepper-item:last-child .stepper-connector { display: none; }
.stepper-item.completed .stepper-connector { border-top-color: var(--fuchsia-dark); }

/* Step Content */
.verification-step-wrapper { min-height: 300px; }
.verification-step-title { margin: 0 0 8px; font: 700 24px/1.25 Manrope, sans-serif; color: #1c1820; letter-spacing: -.02em; }
.verification-step-subtitle { margin: 0 0 24px; color: #716970; font-size: 13px; line-height: 1.55; }

/* Two Column Layout */
.verification-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.verification-two-col-main { min-width: 0; }
.verification-two-col-aside { min-width: 0; }
@media (max-width: 820px) {
    .verification-two-col { grid-template-columns: 1fr; gap: 20px; }
}

/* Notice Box */
.verification-notice { margin: 0 0 24px; padding: 16px 18px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid #fde5ef; border-radius: 8px; background: #fff5f8; }
.verification-notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--fuchsia-dark); }
.verification-notice-text { font-size: 12px; line-height: 1.55; color: #453c42; }

/* Process Steps (Description page) */
.verification-process-steps { margin: 0 0 24px; }
.verification-process-steps h3 { margin: 0 0 16px; font: 700 13px Manrope, sans-serif; color: #1c1820; }
.process-step { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.process-step-num { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fuchsia-dark); color: #fff; font: 700 11px/1 Manrope, sans-serif; }
.process-step-text { padding-top: 4px; color: #3d383e; font-size: 13px; line-height: 1.5; }
.process-step-text strong { font-weight: 800; color: #1c1820; }
.verification-reference-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 26px; align-items: start; }
.verification-reference-main,
.verification-reference-aside { min-width: 0; }
.verification-warning-card { margin: 0 0 18px; padding: 16px 18px; display: grid; gap: 8px; border-radius: 10px; border: 1px solid #f4c4cf; background: linear-gradient(180deg, #fff1f4 0%, #ffe7ec 100%); }
.verification-warning-card strong { color: #9d123c; font: 800 13px/1.45 Manrope, sans-serif; }
.verification-warning-card span { color: #7c3045; font-size: 12px; line-height: 1.55; }
.verification-device-card { margin: 0 0 24px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 10px; border: 1px solid #d7ebcd; background: linear-gradient(180deg, #f6fff1 0%, #ecf8e5 100%); }
.verification-device-card strong { display: block; margin-bottom: 4px; color: #1f5c17; font: 800 13px/1.35 Manrope, sans-serif; }
.verification-device-card span { display: block; color: #4b6b45; font-size: 12px; line-height: 1.5; }
.verification-device-btn { min-height: 42px; padding: 0 18px; border: 0; border-radius: 6px; background: #54a533; color: #fff; font: 800 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; white-space: nowrap; }
.verification-device-btn:hover { filter: brightness(.96); }
.verification-reference-list { margin: 0; padding-left: 22px; display: grid; gap: 14px; color: #3d383e; font-size: 13px; line-height: 1.6; }
.verification-reference-list > li > strong { display: block; margin-bottom: 3px; color: #1c1820; font-weight: 800; }
.verification-reference-list > li > span { display: block; }
.verification-reference-sublist { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: #5d545b; }
.verification-reference-note { margin-top: 20px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; border-radius: 8px; background: #fff5f8; border: 1px solid #fde5ef; }
.verification-reference-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--fuchsia-dark); }
.verification-reference-note span { color: #453c42; font-size: 12px; line-height: 1.5; }
.verification-support-grid { margin-top: 22px; display: grid; gap: 14px; }
.verification-support-card { position: relative; padding: 18px; border-radius: 10px; border: 1px solid #e9e2e7; background: #fff; }
.verification-support-card h3 { margin: 0 0 8px; color: #1c1820; font: 800 13px/1.35 Manrope, sans-serif; }
.verification-support-card p { margin: 0; color: #5d545b; font-size: 12px; line-height: 1.6; }
.verification-support-card small { display: block; margin-top: 10px; color: #8a8188; font-size: 11px; line-height: 1.5; }
.verification-support-card--optional { background: #faf8f9; }
.verification-support-badge { position: absolute; top: 12px; right: 12px; padding: 4px 8px; border-radius: 999px; background: #fff2d7; color: #9a5c00; font: 800 9px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.verification-support-link { display: inline-flex; align-items: center; margin-top: 14px; color: var(--fuchsia-dark); font: 800 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.verification-support-link:hover { text-decoration: underline; }
.verification-demo-card { padding: 18px; border: 1px solid #e9e2e7; border-radius: 10px; background: #fff; }
.verification-demo-head { margin-bottom: 12px; color: #1c1820; font: 800 12px/1.2 Manrope, sans-serif; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.verification-demo-phone { max-width: 244px; margin: 0 auto; padding: 10px; border-radius: 24px; background: #181419; box-shadow: 0 16px 40px rgba(28,24,32,.14); }
.verification-demo-screen { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9/16; background: linear-gradient(180deg, #dfc8d3 0%, #c59aae 42%, #7f5a6b 42%, #4f3946 100%); }
.verification-demo-ribbon { position: absolute; top: 14px; left: -32px; padding: 6px 34px; transform: rotate(-45deg); background: var(--red); color: #fff; font: 800 8px/1 Manrope, sans-serif; letter-spacing: .1em; z-index: 2; }
.verification-demo-portrait { position: absolute; inset: 54px 44px 90px; border-radius: 90px 90px 24px 24px; background:
    radial-gradient(circle at 50% 16%, #fff9 0 10%, transparent 11%),
    radial-gradient(circle at 50% 20%, #f0d3c4 0 12%, transparent 12.5%),
    radial-gradient(circle at 50% 13%, #382932 0 15%, transparent 15.5%),
    linear-gradient(180deg, #9e6d57 0%, #d7a98f 44%, #f0d6c8 45%, #f0d6c8 62%, #c38b74 63%, #8a5e4e 100%);
}
.verification-demo-paper { position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); width: 110px; padding: 10px 8px; border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 12px 20px rgba(28,24,32,.18); text-align: center; }
.verification-demo-paper span { display: block; color: #6e6570; font: 700 8px/1.2 Manrope, sans-serif; letter-spacing: .08em; }
.verification-demo-paper strong { display: block; margin-top: 6px; color: var(--red); font: 900 28px/1 Manrope, sans-serif; letter-spacing: .08em; }
.verification-demo-overlay { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font: 700 9px/1 Manrope, sans-serif; }
.verification-demo-play { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #1c1820; display: grid; place-items: center; cursor: default; }
.verification-demo-play svg { width: 12px; height: 12px; }
.verification-demo-progress { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; }
.verification-demo-progress-fill { display: block; width: 34%; height: 100%; background: #fff; }
.verification-demo-caption { margin: 14px 0 0; color: #5d545b; font-size: 12px; line-height: 1.5; text-align: center; }
.verification-other-device--stacked { margin-top: 16px; }

/* Phone Mockup */
.phone-mockup-frame { position: relative; }
.phone-mockup-label { margin-bottom: 12px; font: 700 12px Manrope, sans-serif; color: #1c1820; text-align: center; }
.phone-mockup { position: relative; width: 100%; max-width: 280px; margin: 0 auto; border-radius: 28px; background: #1c1820; padding: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.phone-mockup-inner { border-radius: 20px; overflow: hidden; background: #2a262c; aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center; }
.phone-mockup-inner img,
.phone-mockup-inner video { width: 100%; height: 100%; object-fit: cover; }
.phone-mockup-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 22px; background: #1c1820; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-mockup-video-controls { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; gap: 10px; z-index: 2; }
.phone-play-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.9); color: #1c1820; flex-shrink: 0; }
.phone-play-btn svg { width: 12px; height: 12px; }
.phone-progress-bar { flex: 1; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; position: relative; }
.phone-progress-fill { width: 0%; height: 100%; background: #fff; border-radius: 2px; }
.phone-time { color: rgba(255,255,255,.8); font-size: 9px; font-weight: 600; font-variant-numeric: tabular-nums; }
.phone-mockup-tip { margin-top: 14px; padding: 10px 14px; display: flex; align-items: flex-start; gap: 8px; border-radius: 6px; background: #fff5f8; border: 1px solid #fde5ef; }
.phone-mockup-tip svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; color: var(--fuchsia); }
.phone-mockup-tip span { font-size: 11px; color: #453c42; line-height: 1.4; }
.verification-example-frame { padding: 24px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.verification-example-scene { position: relative; background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.55) 0 16%, transparent 17%),
    linear-gradient(180deg, #f6dbe5 0%, #f2bfcf 46%, #6d4c5b 46%, #473340 100%);
    padding: 22px 18px 16px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}
.verification-example-head { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(180deg, #f5d8c5, #d9a98f); box-shadow: 0 10px 24px rgba(28,24,32,.12); }
.verification-example-note { width: min(178px, 82%); padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 8px 18px rgba(28,24,32,.12); display: grid; gap: 3px; text-align: center; }
.verification-example-brand { font: 800 10px/1 Manrope, sans-serif; letter-spacing: .12em; color: #1c1820; }
.verification-example-date { font: 600 10px/1.3 Manrope, sans-serif; color: #6f6670; }
.verification-example-code { font: 800 13px/1.2 Manrope, sans-serif; letter-spacing: .08em; color: var(--red); }
.verification-example-user { font: 600 10px/1.2 Manrope, sans-serif; color: #4a4248; }
.verification-example-caption { padding: 8px 10px; border-radius: 999px; background: rgba(28,24,32,.74); color: rgba(255,255,255,.92); font: 700 9px/1.2 Manrope, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.verification-example-points { margin-top: 16px; display: grid; gap: 8px; text-align: left; }
.verification-example-point { padding-left: 14px; position: relative; color: #453c42; font-size: 12px; line-height: 1.45; }
.verification-example-point::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--fuchsia-dark); }

/* Note Card Display */
.verification-note-card { margin: 0 0 20px; }
.verification-note-card h4 { margin: 0 0 10px; font: 700 13px Manrope, sans-serif; color: #1c1820; }
.note-paper { padding: 24px 28px; border: 1px solid #e5dce1; border-radius: 8px; background: #fff; font-family: 'Caveat', 'Patrick Hand', cursive; text-align: center; }
.note-paper-line { border-bottom: 1px solid #e9e2e7; padding: 6px 0; }
.note-paper .note-title { color: var(--fuchsia-dark); font-size: 18px; font-weight: 700; }
.note-paper .note-date-text { color: #1c1820; font-size: 16px; }
.note-paper .note-code-text { color: var(--red); font-size: 22px; font-weight: 800; letter-spacing: .05em; }
.note-paper .note-user-text { color: #4a4248; font-size: 15px; }

/* What to Say */
.verification-what-to-say { margin: 0 0 20px; }
.verification-what-to-say h4 { margin: 0 0 10px; font: 700 13px Manrope, sans-serif; color: #1c1820; }
.verification-quote { padding: 14px 18px; border-left: 3px solid var(--fuchsia); background: #fff5f8; border-radius: 0 6px 6px 0; font-style: italic; color: #453c42; font-size: 13px; line-height: 1.5; }

/* Other Device Link */
.verification-other-device { margin: 0 0 16px; padding: 16px 18px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.verification-other-device-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.verification-other-device-header svg { width: 18px; height: 18px; color: var(--fuchsia-dark); }
.verification-other-device-header strong { font: 700 13px Manrope, sans-serif; color: #1c1820; }
.verification-other-device-header small { display: block; margin-top: 2px; color: #8a8188; font-size: 11px; font-weight: 400; }
.verification-link-row { display: flex; gap: 8px; align-items: center; }
.verification-link-input { flex: 1; padding: 8px 12px; border: 1px solid #e9e2e7; border-radius: 6px; background: #faf8f9; font-size: 11px; color: #4a4248; font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verification-copy-btn { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid #e9e2e7; border-radius: 6px; background: #fff; color: #4a4248; cursor: pointer; transition: all .2s; }
.verification-copy-btn:hover { border-color: var(--fuchsia); color: var(--fuchsia-dark); }
.verification-copy-btn svg { width: 14px; height: 14px; }

/* Security Notice */
.verification-security { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.verification-security svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #9a8f98; }
.verification-security span { color: #8a8188; font-size: 11px; line-height: 1.5; }
.verification-security a { color: var(--fuchsia-dark); text-decoration: underline; font-weight: 600; }

/* Camera Warning */
.verification-camera-warning { display: flex; align-items: center; gap: 8px; margin: 16px 0; padding: 12px 16px; border: 1px solid #fde5ef; border-radius: 7px; background: #fff5f8; }
.verification-camera-warning svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.verification-camera-warning span { font-size: 12px; color: var(--red); font-weight: 600; }

/* Bottom Actions Bar */
.verification-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e9e2e7; }
.verification-actions form { margin: 0; }
.verification-actions-group { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.verification-actions--end { justify-content: flex-end; }
.btn-prev { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9d3d7; border-radius: 4px; background: #fff; color: #5f575d; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: all .2s; }
.btn-prev:hover { border-color: #b0a6ac; }
.btn-prev svg { width: 12px; transform: rotate(180deg); }
.btn-next { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--fuchsia-dark)); color: #fff; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: filter .2s; }
.btn-next:hover { filter: brightness(.94); }
.btn-next svg { width: 12px; }
@media (max-width: 920px) {
    .verification-reference-layout,
    .verification-prep-layout { grid-template-columns: 1fr; }
    .verification-device-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
    .stepper-list--egu { flex-direction: column; }
    .stepper-item--egu { width: 100%; }
    .stepper-connector--egu { display: none; }
    .verification-actions { align-items: stretch; flex-direction: column; }
    .verification-actions-group { margin-left: 0; width: 100%; justify-content: stretch; }
    .verification-actions-group form,
    .verification-actions > form,
    .verification-actions > a { width: 100%; }
    .btn-prev,
    .btn-next { width: 100%; }
}

/* ========== PREPARATION PAGE ========== */

/* Checklist */
.verification-checklist { margin: 0 0 24px; }
.checklist-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.checklist-check { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; }
.checklist-check svg { width: 14px; height: 14px; }
.checklist-item span:last-child { color: #3d383e; font-size: 13px; font-weight: 500; }
.verification-prep-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 26px; align-items: start; }
.verification-prep-preview,
.verification-prep-sidebar { min-width: 0; }
.verification-prep-stage { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #ecf4f2 0%, #ead9df 35%, #c48da2 35%, #774a5f 100%); min-height: 360px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.verification-prep-timer { position: absolute; top: 16px; left: 16px; padding: 7px 10px; border-radius: 6px; background: rgba(226,52,95,.96); color: #fff; font: 800 13px/1 Manrope, sans-serif; letter-spacing: .04em; z-index: 2; }
.verification-prep-hero { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 34px 24px 24px; }
.verification-prep-person { width: min(76%, 360px); aspect-ratio: 5/6; border-radius: 30px; background:
    radial-gradient(circle at 50% 16%, #fff9 0 10%, transparent 11%),
    radial-gradient(circle at 50% 20%, #f0d3c4 0 12%, transparent 12.5%),
    radial-gradient(circle at 50% 13%, #382932 0 15%, transparent 15.5%),
    linear-gradient(180deg, #573f4d 0%, #c08fa3 22%, #e0b39f 23%, #ddb39f 42%, #b17d6e 43%, #8b6153 58%, #b4767e 59%, #5f4654 100%);
    box-shadow: 0 24px 46px rgba(28,24,32,.16);
}
.verification-prep-paper { width: min(72%, 290px); padding: 16px 18px; border-radius: 10px; background: rgba(255,255,255,.96); box-shadow: 0 18px 30px rgba(28,24,32,.16); text-align: center; display: grid; gap: 5px; }
.verification-prep-paper span { color: #7a7078; font: 800 10px/1 Manrope, sans-serif; letter-spacing: .12em; }
.verification-prep-paper small { color: #6e6570; font: 600 11px/1.3 Manrope, sans-serif; }
.verification-prep-paper strong { color: var(--red); font: 900 28px/1 Manrope, sans-serif; letter-spacing: .08em; }
.verification-prep-paper b { color: #4a4248; font: 700 12px/1.3 Manrope, sans-serif; }
.verification-prep-panel { margin-top: 18px; padding: 18px 20px; border: 1px solid #e9e2e7; border-radius: 10px; background: #fff; }
.verification-prep-panel h3 { margin: 0 0 14px; color: #1c1820; font: 800 13px/1.3 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.verification-prep-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #453c42; font-size: 13px; line-height: 1.55; }
.verification-prep-warning { margin-top: 18px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; border-radius: 10px; background: #fff5f8; border: 1px solid #fde5ef; }
.verification-prep-warning svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--red); }
.verification-prep-warning span { color: #b4234d; font-size: 12px; line-height: 1.5; font-weight: 700; }
.verification-prep-privacy { margin-top: 18px; padding: 16px; display: flex; align-items: flex-start; gap: 10px; border-radius: 10px; border: 1px solid #e9e2e7; background: #faf8f9; }
.verification-prep-privacy svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--fuchsia-dark); }
.verification-prep-privacy strong { display: block; margin-bottom: 3px; color: #1c1820; font: 800 12px/1.3 Manrope, sans-serif; }
.verification-prep-privacy span { color: #7a7078; font-size: 11px; line-height: 1.5; }

/* QR Code Panel */
.qr-panel { padding: 24px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; text-align: center; }
.qr-panel h4 { margin: 0 0 6px; font: 700 14px Manrope, sans-serif; color: #1c1820; }
.qr-panel > p { margin: 0 0 20px; color: #8a8188; font-size: 12px; line-height: 1.5; }
.qr-code-box { width: 160px; height: 160px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.qr-code-box svg { width: 120px; height: 120px; color: #1c1820; }
.qr-phone-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.qr-phone-code { display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid #e9e2e7; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; color: #333; }
.qr-phone-code img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; }
.qr-phone-input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #e9e2e7; border-radius: 6px; font-size: 13px; color: #333; outline: none; }
.qr-phone-input:focus { border-color: var(--fuchsia); }
.btn-send-link { width: 100%; height: 44px; border: 0; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--fuchsia-dark)); color: #fff; font: 700 12px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-send-link:hover { filter: brightness(.94); }
.qr-privacy { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid #e9e2e7; border-radius: 8px; background: #faf8f9; text-align: left; }
.qr-privacy svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--fuchsia-dark); }
.qr-privacy strong { display: block; font: 700 12px Manrope, sans-serif; color: #1c1820; margin-bottom: 3px; }
.qr-privacy span { font-size: 11px; color: #8a8188; line-height: 1.5; }

/* ========== RECORDING PAGE ========== */

/* Camera Wrapper */
.verification-studio-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 24px; align-items: start; }
.verification-studio-main,
.verification-studio-sidebar { min-width: 0; }
.verification-studio-camera { box-shadow: 0 18px 40px rgba(28,24,32,.14); }
.verification-studio-controls { margin-top: 16px; }
.verification-studio-warning { margin-top: 14px; }
.verification-studio-panel { border-radius: 10px; box-shadow: 0 8px 28px rgba(28,24,32,.04); }
.recording-camera-wrap { position: relative; border-radius: 10px; overflow: hidden; background: #1a1619; aspect-ratio: 16/9; }
.recording-camera-wrap video { width: 100%; height: 100%; object-fit: cover; transform: rotateY(180deg); }
.rec-overlay-tl,
.rec-overlay-tr,
.rec-overlay-bl,
.rec-overlay-br { position: absolute; width: 24px; height: 24px; z-index: 2; }
.rec-overlay-tl { top: 16px; left: 16px; border-top: 2px solid rgba(255,255,255,.6); border-left: 2px solid rgba(255,255,255,.6); }
.rec-overlay-tr { top: 16px; right: 16px; border-top: 2px solid rgba(255,255,255,.6); border-right: 2px solid rgba(255,255,255,.6); }
.rec-overlay-bl { bottom: 16px; left: 16px; border-bottom: 2px solid rgba(255,255,255,.6); border-left: 2px solid rgba(255,255,255,.6); }
.rec-overlay-br { bottom: 16px; right: 16px; border-bottom: 2px solid rgba(255,255,255,.6); border-right: 2px solid rgba(255,255,255,.6); }
.rec-indicator { position: absolute; top: 18px; left: 20px; display: flex; align-items: center; gap: 8px; z-index: 3; }
.rec-dot-live { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: rec-pulse 1s infinite; }
.rec-indicator span { color: #fff; font: 700 13px/1 Manrope, sans-serif; letter-spacing: .05em; }
.rec-timer-overlay { position: absolute; top: 42px; left: 20px; z-index: 3; color: rgba(255,255,255,.85); font: 600 12px/1 'SF Mono', Menlo, monospace; font-variant-numeric: tabular-nums; }
.rec-note-overlay { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 10px 18px; background: rgba(255,255,255,.92); border-radius: 6px; text-align: center; z-index: 3; }
.rec-note-overlay .rec-note-brand { font: 700 10px/1 Manrope, sans-serif; color: #1c1820; letter-spacing: .08em; }
.rec-note-overlay .rec-note-date { font: 600 11px/1.4 Manrope, sans-serif; color: #4a4248; }
.rec-note-overlay .rec-note-code-label { font: 500 9px/1.4 Manrope, sans-serif; color: #8a8188; }
.rec-note-overlay .rec-note-code { font: 800 15px/1 Manrope, sans-serif; color: var(--red); letter-spacing: .1em; }

/* Live Instructions Panel */
.live-instructions { padding: 20px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.live-instructions h4 { margin: 0 0 16px; font: 700 14px Manrope, sans-serif; color: #1c1820; }
.live-instruction-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.live-instruction-num { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fuchsia-dark); color: #fff; font: 700 10px/1 Manrope, sans-serif; }
.live-instruction-text { padding-top: 4px; color: #3d383e; font-size: 13px; line-height: 1.45; }
.live-instruction-active .live-instruction-num { background: var(--fuchsia-dark); color: #fff; }
.live-instruction-active .live-instruction-text { color: var(--fuchsia-dark); font-weight: 700; }
.live-instruction-done .live-instruction-num { background: var(--green); color: #fff; }
.live-instruction-done .live-instruction-text { color: var(--green); }
@media (max-width: 820px) {
    .verification-studio-layout { grid-template-columns: 1fr; }
}
.live-instruction-warning { margin-top: 16px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #fde5ef; border-radius: 7px; background: #fff5f8; }
.live-instruction-warning svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--red); }
.live-instruction-warning span { font-size: 12px; color: var(--red); font-weight: 600; line-height: 1.4; }

/* Recording Bottom Controls */
.recording-bottom-controls { display: flex; gap: 12px; margin-top: 20px; }
.btn-retake-rec { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9d3d7; border-radius: 6px; background: #fff; color: #5f575d; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-retake-rec svg { width: 14px; }
.btn-pause-rec { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9d3d7; border-radius: 6px; background: #fff; color: #5f575d; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-pause-rec svg { width: 14px; }
.btn-stop-rec { flex: 1.5; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--fuchsia-dark)); color: #fff; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-stop-rec .stop-square { width: 10px; height: 10px; background: #fff; }

/* Recording Warning */
.recording-page-warning { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 16px; border: 1px solid #fde5ef; border-radius: 7px; background: #fff5f8; }
.recording-page-warning svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.recording-page-warning span { font-size: 12px; color: var(--red); font-weight: 600; }

/* ========== REVIEW PAGE ========== */

/* Video Player */
.review-video-player { border-radius: 10px; overflow: hidden; background: #1a1619; position: relative; }
.review-video-player video { width: 100%; max-height: 420px; display: block; }
.review-video-meta { padding: 10px 14px; background: #1c1820; color: rgba(255,255,255,.7); font-size: 11px; }

/* Confirm Checklist */
.confirm-checklist { padding: 20px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.confirm-checklist h4 { margin: 0 0 16px; font: 700 14px Manrope, sans-serif; color: #1c1820; }
.confirm-check { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.confirm-check-icon { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; }
.confirm-check-icon svg { width: 14px; height: 14px; }
.confirm-check span { color: #3d383e; font-size: 13px; font-weight: 500; }
.confirm-check.confirmed .confirm-check-icon { background: var(--green); color: #fff; }
.confirm-check.confirmed span { color: var(--green); font-weight: 700; }
.confirm-warning { margin-top: 18px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #fde5ef; border-radius: 7px; background: #fff5f8; }
.confirm-warning svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--red); }
.confirm-warning span { font-size: 12px; color: var(--red); font-weight: 600; line-height: 1.4; }
.verification-review-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; color: #4a4248; font-size: 12px; line-height: 1.5; }
.verification-review-confirm input { margin-top: 2px; }

/* Review Bottom Actions */
.review-bottom-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e9e2e7; }
.btn-retake-video { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9d3d7; border-radius: 4px; background: #fff; color: #5f575d; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-retake-video svg { width: 12px; transform: rotate(180deg); }
.btn-submit-review { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--fuchsia-dark)); color: #fff; font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.btn-submit-review svg { width: 12px; }
.btn-submit-review:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.1); }
.verification-review-player { box-shadow: 0 18px 40px rgba(28,24,32,.14); }

/* ========== SUBMITTED PAGE ========== */

/* Submitted Header */
.verification-submitted { text-align: center; }
.submitted-check { width: 80px; height: 80px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.submitted-check svg { width: 40px; height: 40px; }
.submitted-title { margin: 0 0 8px; font: 700 26px/1.2 Manrope, sans-serif; color: #1c1820; letter-spacing: -.02em; }
.submitted-subtitle { margin: 0 auto 28px; max-width: 500px; color: #716970; font-size: 13px; line-height: 1.55; }
.submitted-side-copy { margin: 0 0 18px; color: #8a8188; font-size: 13px; line-height: 1.5; }

/* Horizontal Progress Timeline */
.submitted-timeline { display: flex; align-items: flex-start; justify-content: space-between; max-width: 680px; margin: 0 auto 36px; padding: 0 10px; position: relative; }
.submitted-timeline::before { content: ""; position: absolute; top: 16px; left: 40px; right: 40px; height: 2px; background: #e9e2e7; }
.submitted-timeline--egu::before { background: linear-gradient(90deg, var(--fuchsia-dark), #e9e2e7); }
.submitted-timeline-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }
.timeline-step-marker { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f0e9ed; color: #9a8f98; font: 700 10px/1 Manrope, sans-serif; border: 2px solid #e5dce1; transition: all .25s; }
.submitted-timeline-step.completed .timeline-step-marker { background: var(--green); border-color: var(--green); color: #fff; }
.submitted-timeline-step.active .timeline-step-marker { background: #fff; border-color: var(--red); color: var(--red); }
.submitted-timeline-step.active .timeline-step-marker .timeline-step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.submitted-timeline-step.future .timeline-step-marker { background: #f0e9ed; border-color: #e5dce1; color: #9a8f98; }
.submitted-timeline-step.active .timeline-step-label { color: var(--red); font-weight: 800; }
.submitted-timeline-step.completed .timeline-step-label { color: var(--green); }
.timeline-step-label { font-size: 10px; font-weight: 600; color: #9a8f98; text-align: center; }

/* Submitted Info Cards */
.submitted-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; margin: 0 auto; text-align: left; }
@media (max-width: 720px) {
    .submitted-info-grid { grid-template-columns: 1fr; }
}
.submitted-info-card { padding: 24px; border: 1px solid #e9e2e7; border-radius: 8px; background: #fff; }
.submitted-info-card h4 { margin: 0 0 18px; font: 700 15px Manrope, sans-serif; color: #1c1820; }
.info-card-item { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.info-card-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: var(--fuchsia-dark); }
.info-card-icon svg { width: 18px; }
.info-card-text strong { display: block; font: 700 13px Manrope, sans-serif; color: #1c1820; margin-bottom: 3px; }
.info-card-text span { font-size: 12px; color: #8a8188; line-height: 1.5; }
.btn-restart-verification { width: 100%; margin-top: 16px; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--fuchsia-dark); border-radius: 4px; background: #fff; color: var(--fuchsia-dark); font: 700 11px/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: all .2s; }
.btn-restart-verification:hover { background: var(--fuchsia-dark); color: #fff; }
.submitted-privacy { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid #e9e2e7; border-radius: 8px; background: #faf8f9; }
.submitted-privacy svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: #9a8f98; }
.submitted-privacy strong { display: block; font: 700 12px Manrope, sans-serif; color: #1c1820; margin-bottom: 3px; }
.submitted-privacy span { font-size: 11px; color: #8a8188; line-height: 1.5; }

/* ========== APPROVED / REJECTED ========== */
.verification-approved-state,
.verification-rejected-state { text-align: center; }
.approved-header,
.rejected-header { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.approved-icon { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.approved-icon svg { width: 40px; }
.rejected-icon { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; background: #fde5ef; color: var(--red); }
.rejected-icon svg { width: 40px; }
.verification-approved-state .verification-status-card,
.verification-rejected-state .verification-status-card { margin: 0 auto 24px; max-width: 440px; padding: 20px 24px; border: 1px solid #cdeedf; border-radius: 8px; background: #f0faf6; }
.verification-status-card strong { display: block; color: #215f45; font-size: 14px; }
.verification-status-card p { margin: 4px 0 0; color: #6b8a7b; font-size: 12px; line-height: 1.55; }
.verification-rejected-state .verification-status-card { border-color: #fde5ef; background: #fff5f8; }
.verification-rejected-state .verification-status-card strong { color: var(--red); }
.rejection-reason { margin: 16px 0; padding: 12px; border: 1px solid #fde5ef; border-radius: 6px; background: #fff; text-align: left; color: #453c42; font-size: 12px; }
.rejection-reason strong { display: block; margin-bottom: 6px; color: var(--red); }
.review-date { margin: 8px 0 0 !important; font-size: 11px; color: #6b8a7b; }

/* Legacy compat */
.verification-actions form { margin: 0; }
.text-btn { background: none; border: 0; color: var(--fuchsia-dark); font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.text-btn:hover { text-decoration: underline; }
.verification-optional-note { margin: 12px 0 0; font-size: 11px; color: #8a8188; text-align: center; }
.permission-denied { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px; text-align: center; border: 1px solid #fde5ef; border-radius: 8px; background: #fff5f8; color: #453c42; }
.denied-icon { width: 48px; height: 48px; color: var(--red); }
.permission-denied h3 { margin: 0; font-size: 14px; font-weight: 800; }
.permission-denied p { margin: 6px 0 16px; font-size: 12px; line-height: 1.5; }
.recording-progress { text-align: center; padding: 20px; }
.progress-bar { width: 100%; max-width: 300px; margin: 0 auto 12px; height: 6px; border-radius: 3px; background: #f0e9ed; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--fuchsia); transition: width .3s; }
.progress-text { margin: 0; font-size: 12px; color: #8a8188; }
.recording-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; text-align: center; border: 1px solid #fde5ef; border-radius: 8px; background: #fff5f8; color: #453c42; }
.error-icon { width: 48px; height: 48px; color: var(--red); }
.recording-error p { margin: 0; font-size: 12px; }

.gallery-collection {
    margin-top: 26px;
}

.gallery-collection [hidden] {
    display: none !important;
}

.gallery-empty-state {
    min-height: 115px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px dashed #ddd3d8;
    border-top: 0;
    background: #fcfbfc;
    color: #8a8188;
    text-align: center;
}

.gallery-empty-state svg {
    width: 19px;
    color: #c9bdc4;
}

.gallery-empty-state p {
    margin: 0;
    font-size: 12px;
}

.gallery-description {
    margin: 0;
    padding: 14px 15px 0;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    color: #6d656b;
    font-size: 12px;
    line-height: 1.55;
}

.gallery-collection .uploaded-media-grid {
    margin-top: 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-top: 0;
}

.gallery-description + .gallery-empty-state,
.gallery-description + .uploaded-media-grid {
    padding-top: 14px;
}

.gallery-media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ddd5da;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(45, 32, 40, .06);
}

.gallery-media-image {
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    background: #f3eff1;
}

.gallery-media-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.gallery-main-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    padding: 4px 6px;
    border-radius: 3px;
    background: var(--fuchsia-dark);
    color: #fff;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.gallery-media-status {
    min-height: 42px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e48b19;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.gallery-media-status::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.gallery-media-status.status-approved { color: #13875d; }
.gallery-media-status.status-ready { color: var(--fuchsia-dark); }

.gallery-media-actions {
    padding: 0 8px 8px;
    display: grid;
    gap: 3px;
}

.gallery-media-actions form { margin: 0; }

.gallery-media-actions button {
    width: 100%;
    min-height: 31px;
    padding: 6px 8px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font: 800 8px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.gallery-media-actions .set-main { background: linear-gradient(90deg, var(--red), var(--fuchsia)); }
.gallery-media-actions .delete-photo,
.gallery-media-actions .remove-preview { background: #2c292b; }
.gallery-media-actions button:hover { filter: brightness(.94); }
.gallery-media-actions button:disabled { background: #e8a0b5; cursor: default; filter: none; }
.gallery-media-card.is-local-preview { border-color: #d8a6bf; }

.video-upload-step { padding-top: 18px; }
.video-progress-notice { max-width: 520px; padding: 14px 16px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; border: 1px solid #f1dc9c; border-radius: 5px; background: #fff9df; }
.video-progress-notice strong { color: #e3a719; font-size: 10px; }
.video-progress-notice p { margin: 0; color: #a87913; font-size: 8px; line-height: 1.55; }
.video-section-band { margin-top: 25px !important; }
.video-requirements-grid { padding: 18px 0 22px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; }
.video-requirements-grid section { min-width: 0; }
.video-requirements-grid h3 { margin: 0 0 12px; color: #332d31; font: 800 10px Manrope, sans-serif; }
.video-requirements-grid p { margin: 8px 0; display: flex; align-items: flex-start; gap: 7px; color: #625a60; font-size: 8px; line-height: 1.45; }
.video-requirements-grid p::before { content: "✓"; color: var(--red); font-weight: 900; }
.video-requirements-grid section:last-child p::before { content: "×"; }
.profile-step-panel .video-dropzone { min-height: 150px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; position: relative; overflow: hidden; border: 1px dashed #d4bac7; border-radius: 6px; background: #fff9fb; cursor: pointer; text-align: center; }
.profile-step-panel .video-dropzone[hidden] { display: none; }
.video-dropzone:hover, .video-dropzone.is-dragging { border-color: var(--fuchsia); background: var(--rose); box-shadow: 0 8px 22px rgba(82, 31, 57, .07); }
.video-dropzone.is-uploading { pointer-events: none; border-color: var(--fuchsia); background: var(--rose); opacity: .78; }
.video-dropzone input { position: absolute; z-index: 2; inset: 0; opacity: 0; cursor: pointer; }
.video-upload-icon { width: 46px; height: 46px; margin-inline: auto; display: grid; place-items: center; flex: 0 0 auto; align-self: center; border-radius: 50%; background: #fff; color: var(--fuchsia-dark); box-shadow: 0 5px 15px rgba(82, 31, 57, .09); }
.video-upload-icon svg { width: 21px; }
.video-dropzone strong, .video-dropzone small { display: block; }
.video-dropzone strong { color: #332d32; font-size: 10px; }
.video-dropzone small { max-width: 420px; margin-top: 5px; overflow: hidden; color: #847b82; font-size: 8px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.video-preview-card { margin-top: 14px; padding: 12px; display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; border: 1px solid #dfd7dc; border-radius: 6px; background: #fff; }
.video-preview-card[hidden] { display: none; }
.video-preview-card video { width: 180px; height: 125px; object-fit: cover; border-radius: 4px; background: #171317; }
.video-preview-card strong, .video-preview-card span { display: block; }
.video-preview-card strong { overflow: hidden; color: #302a2e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.video-preview-card span { margin-top: 7px; color: #e48b19; font-size: 8px; font-weight: 800; }
.video-review-alert { color: #fff; font-size: 8px; font-weight: 700; line-height: 1.5; }
.video-review-alert[hidden] { display: none; }
.video-review-alert-top { margin-bottom: 15px; padding: 11px 14px; border-radius: 3px; background: #4b9f2f; box-shadow: 0 5px 16px rgba(40, 96, 25, .12); }
.video-review-alert-inline { max-width: 520px; margin-top: 4px; padding: 13px 15px; border-radius: 3px; background: #688ab0; box-shadow: 0 5px 16px rgba(47, 79, 114, .12); }
.video-review-alert-inline.is-error { background: #b73d50; box-shadow: 0 5px 16px rgba(125, 33, 49, .12); }
.video-step-navigation { margin-top: 18px; }
.video-upload-step.is-uploading .video-step-navigation { pointer-events: none; opacity: .5; }

.rates-step { padding-top: 18px; }
.rates-progress-notice {
    max-width: 760px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid #f1dc9c;
    border-radius: 5px;
    background: #fff9df;
}
.rates-progress-notice strong { color: #e3a719; font-size: 10px; }
.rates-progress-notice p { margin: 0; color: #a87913; font-size: 8px; line-height: 1.55; }
.rates-controls {
    max-width: 650px;
    padding: 20px 0 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.rates-controls label { min-width: 0; }
.rates-controls label > span { margin-bottom: 7px; display: block; color: #4c454a; font-size: 8px; font-weight: 800; }
.rates-controls label > span b { color: var(--red); }
.rates-controls select {
    width: 100%;
    height: 39px;
    padding: 0 36px 0 12px;
    border: 1px solid #d9d1d6;
    border-radius: 4px;
    background-color: #fff;
    color: #40393e;
    font: 700 9px Manrope, sans-serif;
}
.rates-table-shell { width: min(100%, 650px); position: relative; }
.rates-table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(236, 22, 140, 0.15);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(59, 39, 50, .06);
}
.rates-table th,
.rates-table td { height: 49px; padding: 7px 12px; border-bottom: 1px solid rgba(236, 22, 140, 0.08); text-align: left; }
.rates-table thead th {
    height: 38px;
    border-bottom: 0;
    background: rgba(236, 22, 140, 0.14);
    color: #1c1820;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.rates-table thead th:first-child { border-radius: 8px 0 0 0; }
.rates-table thead th:last-child { border-radius: 0 8px 0 0; }
.rates-table tbody tr:last-child th,
.rates-table tbody tr:last-child td { border-bottom: 0; }
.rates-table tbody th { width: 23%; color: var(--fuchsia-dark); font-size: 12px; font-weight: 800; }
.rates-table td[data-rate-channel] { width: 31%; }
.rates-table td:last-child { width: 15%; color: var(--fuchsia-dark); font-size: 12px; font-weight: 800; }
.rates-table input {
    width: 100%;
    height: 33px;
    padding: 0 10px;
    border: 1px solid #e6dde2;
    border-radius: 4px;
    background: #fff;
    color: #332d31;
    font: 400 13px Manrope, sans-serif;
}
.rates-table input:focus { border-color: var(--fuchsia); outline: 2px solid rgba(211, 0, 111, .08); }
.rates-table [data-rate-channel][hidden] { display: none; }
.rates-help {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 7px;
    right: -31px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font: 800 10px Manrope, sans-serif;
    cursor: help;
}
.rates-step-navigation { width: min(100%, 650px); margin-top: 18px; justify-content: space-between; }

.services-step { padding-top: 18px; }
.services-progress-notice {
    max-width: 760px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid #f1dc9c;
    border-radius: 5px;
    background: #fff9df;
}
.services-progress-notice strong { color: #e3a719; font-size: 10px; }
.services-progress-notice p { margin: 0; color: #a87913; font-size: 8px; line-height: 1.55; }
.services-table-section { width: min(100%, 760px); margin-top: 24px; }
.services-table-section h2 { margin: 0 0 9px; color: #332d31; font: 800 11px Manrope, sans-serif; }
.services-table-shell { overflow: hidden; border: 1px solid rgba(236, 22, 140, 0.15); border-radius: 8px; background: #fff; box-shadow: 0 7px 22px rgba(59, 39, 50, .06); }
.services-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.services-table th,
.services-table td { min-height: 47px; padding: 7px 12px; border-bottom: 1px solid rgba(236, 22, 140, 0.08); text-align: left; }
.services-table thead th { height: 38px; border-bottom: 0; background: rgba(236, 22, 140, 0.14); color: #1c1820; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.services-table thead th:first-child { border-radius: 8px 0 0 0; }
.services-table thead th:last-child { border-radius: 0 8px 0 0; }
.services-table tbody tr:last-child th,
.services-table tbody tr:last-child td { border-bottom: 0; }
.services-table tbody th { width: 42%; color: #1c1820; font-size: 13px; font-weight: 800; }
.services-table td:nth-child(2) { width: 22%; }
.services-table td:nth-child(3) { width: 23%; }
.services-table td:last-child { width: 13%; color: var(--fuchsia-dark); font-size: 12px; font-weight: 800; }
.service-check { width: 16px; height: 16px; margin-right: 8px; display: inline-grid; position: relative; vertical-align: middle; }
.service-check input { width: 16px; height: 16px; position: absolute; opacity: 0; cursor: pointer; }
.service-check i { width: 16px; height: 16px; display: block; border: 1px solid #d1c8ce; border-radius: 3px; background: #fff; }
.service-check input:checked + i { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px #fff; }
.services-table select,
.services-table input {
    width: 100%;
    height: 33px;
    padding: 0 9px;
    border: 1px solid #ddd6da;
    border-radius: 3px;
    background: #fff;
    color: #40393e;
    font: 700 12px Manrope, sans-serif;
}
.services-table input:focus,
.services-table select:focus { border-color: var(--fuchsia); outline: 2px solid rgba(211, 0, 111, .08); }
.services-table input:disabled,
.services-table select:disabled { border-color: #ebe6e9; background: #f4f1f3; color: #c4bbc1; cursor: default; }
.services-table tr:not(.is-selected) th { color: #1c1820; font-weight: 600; }
.services-step-navigation { width: min(100%, 760px); margin-top: 18px; justify-content: space-between; }

@media (max-width: 760px) {
    .video-requirements-grid { grid-template-columns: 1fr; gap: 15px; }
    .video-preview-card { grid-template-columns: 1fr; }
    .video-preview-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .rates-controls { grid-template-columns: 1fr; }
    .rates-table-shell { overflow-x: auto; padding-bottom: 4px; }
    .rates-table { min-width: 520px; }
    .rates-help { display: none; }
    .services-table-shell { overflow-x: auto; }
    .services-table { min-width: 590px; }
}

.profile-hours { display: grid; gap: 8px; }
.profile-hours > div { padding: 10px 0; display: grid; grid-template-columns: minmax(130px, 1fr) 130px 20px 130px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.profile-hours label { display: flex; align-items: center; gap: 8px; }
.profile-hours label input { display: none; }
.profile-hours label span { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #c8c0c5; border-radius: 3px; color: transparent; }
.profile-hours label span svg { width: 10px; }
.profile-hours label input:checked + span { border-color: var(--red); background: var(--red); color: #fff; }
.profile-hours i { color: var(--muted); font-size: 8px; font-style: normal; text-align: center; }

.setup-actions .setup-back {
    height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d3d7;
    border-radius: 4px;
    background: #fff;
    color: #625b61;
    font-size: 8px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .email-verification-page { padding: 35px 14px; }
    .email-verification-card { padding: 28px 20px; }
    .email-verification-card h1 { font-size: 25px; }
    .independent-account-dashboard .setup-topbar nav a { display: none; }
    .independent-account-dashboard .setup-topbar nav { margin-left: auto; }
    .independent-account-dashboard .setup-topbar nav form,
    .independent-account-dashboard .setup-topbar nav form button { height: 60px; }
    .profile-incomplete-notice { align-items: flex-start; flex-direction: column; gap: 4px; }
    .independent-profile-tabs a { padding: 0 14px; }
    .reference-profile-form,
    .profile-step-panel { margin-left: 0; margin-right: 0; padding: 16px 13px; }
    .reference-section-band,
    .reference-subsection h2,
    .profile-step-panel > h2 { margin-left: -13px; margin-right: -13px; padding: 14px 13px; }
    .reference-profile-form > .reference-section-band:first-of-type { margin-top: -16px; }
    .reference-form-row,
    .reference-details-grid { grid-template-columns: 1fr; }
    .reference-form-row.compact-width { max-width: none; }
    .reference-photo-block { grid-template-columns: 1fr; }
    .reference-photo-preview { height: 360px; }
    .uploaded-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-gallery-step { padding-top: 13px; }
    .profile-step-panel .compact-photo-picker { min-height: 150px; }
    .photo-step-navigation a,
    .photo-step-navigation button { flex: 1; }
    .profile-hours > div { grid-template-columns: 1fr 1fr; }
    .profile-hours > div label { grid-column: 1 / -1; }
    .profile-hours i { display: none; }
    .setup-actions .setup-back { padding: 0 10px; }
}

@media (max-width: 460px) {
    .dash-top,
    .admin-top { flex-direction: column; }
    .dash-top > div:last-child { width: 100%; justify-content: space-between; }
    .admin-user { display: none; }
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
    transition: border-color .2s;
}

.contact-channel-item:focus-within {
    border-color: var(--fuchsia);
}

.contact-channel-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 18px;
    color: var(--fuchsia);
}

.contact-channel-item small {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.contact-channel-item input {
    width: 100%;
    border: 0;
    background: transparent;
    font: 600 13px/1.4 Manrope, sans-serif;
    color: var(--ink);
    outline: none;
    padding: 0;
}

.contact-channel-item input::placeholder {
    color: #c0b8be;
    font-weight: 400;
}

.reference-subsection select[multiple] {
    width: 100%;
    min-height: 120px;
    padding: 8px 10px;
    border: 1px solid #e1d8de;
    border-radius: 4px;
    font: 500 12px/1.4 Manrope, sans-serif;
    color: var(--ink);
    background: #fff;
}

@media (max-width: 720px) {
    .contact-channels-grid {
        grid-template-columns: 1fr;
    }
}

/* V17 Contact Section */
.contact-section-v17 {
    background: #f8f8f8;
    padding: 24px;
    border-radius: 8px;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #df1153;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-source-options {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-source-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #4e474d;
}

.contact-source-radio input[type="radio"] {
    display: none;
}

.contact-source-radio input[type="radio"] + span:first-of-type {
    width: 18px;
    height: 18px;
    border: 2px solid #bcb6bb;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    position: relative;
}

.contact-source-radio input[type="radio"]:checked + span:first-of-type {
    border-color: #df1153;
}

.contact-source-radio input[type="radio"]:checked + span:first-of-type::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #df1153;
    border-radius: 50%;
}

.contact-custom-fields {
    padding-left: 0;
    transition: opacity 0.3s, max-height 0.3s;
}

.contact-custom-fields.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-phone-row {
    margin-bottom: 20px;
}

.contact-phone-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.contact-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.contact-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    cursor: help;
}

.contact-phone-inputs {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.contact-country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 10px;
    min-width: 100px;
}

.contact-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.contact-country-code select {
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    outline: none;
    cursor: pointer;
    padding: 10px 0;
}

.contact-phone-label span { font-size: 10px; }
.contact-phone-number {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 10px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.contact-phone-number:focus {
    border-color: #df1153;
}

.contact-social-channels {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-social-check {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.contact-social-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    cursor: pointer;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.contact-social-icon svg {
    width: 20px;
    height: 20px;
}

.contact-social-viber { background: #7360f2; }
.contact-social-whatsapp { background: #25d366; }
.contact-social-wechat { background: #09b83e; }
.contact-social-telegram { background: #0088cc; }
.contact-social-line { background: #00c300; font-size: 8px; letter-spacing: 0.5px; }
.contact-social-snapchat { background: #fffc00; color: #000; }

.contact-add-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #df1153;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-add-phone-btn:hover {
    background: #b80e42;
}

@media (max-width: 720px) {
    .contact-phone-inputs {
        flex-direction: column;
    }
    .contact-social-channels {
        gap: 8px;
    }
}

/* Block Country Section V17 */
.block-country-section {
    background: #f8f8f8;
    padding: 24px;
    border-radius: 8px;
}

.block-country-title {
    font-size: 16px;
    font-weight: 700;
    color: #df1153;
    margin-bottom: 16px;
}

.block-country-title small {
    font-weight: 400;
    color: #888;
}

.block-country-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.block-country-wrap {
    position: relative;
}

.block-country-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    min-height: 48px;
    transition: border-color 0.2s;
}

.block-country-trigger:hover,
.block-country-wrap.open .block-country-trigger {
    border-color: #df1153;
}

.block-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.block-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #df1153;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.block-tag-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}

.block-tag-x:hover {
    background: rgba(255,255,255,0.6);
}

.block-country-arrow {
    font-size: 10px;
    color: #df1153;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.block-country-wrap.open .block-country-arrow {
    transform: rotate(180deg);
}

.block-country-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.block-country-wrap.open .block-country-panel {
    display: block;
}

.block-country-item {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.12s;
}

.block-country-item:hover {
    background: #df1153;
    color: #fff;
}

.block-country-item.selected {
    background: #df1153;
    color: #fff;
    font-weight: 600;
}

.block-country-help {
    margin-top: 12px;
    font-size: 10px;
    color: #666;
    line-height: 1.5;
}

/* Crop photo button */
.crop-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #df1153;
    border-radius: 8px;
    background: #fff;
    color: #df1153;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.crop-photo-btn:hover {
    background: #df1153;
    color: #fff;
}

.crop-photo-btn svg,
.crop-photo-btn .icon {
    width: 18px;
    height: 18px;
    color: #df1153;
}

.crop-photo-btn:hover svg,
.crop-photo-btn:hover .icon {
    color: #fff;
}

.crop-photo-btn span {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.crop-photo-btn:hover span {
    color: rgba(255,255,255,0.7);
}

/* Photo file info */
.photo-file-info {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* Video error */
.video-error {
    display: block;
    color: #df1153;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff0f1;
    border: 1px solid #df1153;
    border-radius: 4px;
}
.agency-top-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f4c542;
    color: #5b3b00;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

/* EGU Trust & Safety control room */
.egu-admin-control {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 212px minmax(0, 1fr);
    background: #f7f8fa;
    color: #18222c;
    font-family: "DM Sans", Arial, sans-serif;
}

.egu-admin-sidebar {
    min-height: 100vh;
    padding: 22px 15px 16px;
    display: flex;
    flex-direction: column;
    background: #111619;
    color: #fff;
}

.egu-admin-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 8px 22px;
}
.egu-admin-brand .logo { gap: 8px; }
.egu-admin-brand .logo-symbol { width: 43px; height: 43px; border: 0; border-radius: 0; }
.egu-admin-brand .logo-symbol i { color: #f72573; font: 900 24px/1 "Manrope", sans-serif; letter-spacing: -.12em; }
.egu-admin-brand .logo-symbol b { display: none; }
.egu-admin-brand .logo-type strong { color: #fff; font-size: 9px; letter-spacing: .03em; }
.egu-admin-brand .logo-type small { margin-top: 4px; color: #abb2b7; font-size: 6px; letter-spacing: .17em; }
.egu-admin-brand-mark { width: 19px; margin-top: 4px; color: #aab3b8; }
.egu-admin-kicker { margin: 0 11px 10px; color: #687379; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.egu-admin-nav { display: grid; gap: 4px; }
.egu-admin-nav a {
    min-height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 5px;
    color: #aeb6ba;
    font-size: 10px;
    font-weight: 600;
}
.egu-admin-nav a:hover,
.egu-admin-nav a.active { background: #34242e; color: #ff4d94; }
.egu-admin-nav a.active { box-shadow: inset 3px 0 #ff4d94; }
.egu-admin-nav a svg { width: 15px; color: currentColor; }
.egu-admin-nav a span { flex: 1; }
.egu-admin-nav a b { min-width: 19px; padding: 3px 5px; border-radius: 10px; background: #e20f55; color: #fff; font-size: 7px; text-align: center; }
.egu-admin-account {
    margin-top: auto;
    padding: 13px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #2e383b;
    border-radius: 8px;
}
.egu-admin-avatar { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #f6d5e4; color: #b80d51; font-size: 8px; font-weight: 900; }
.egu-admin-account strong,
.egu-admin-account small { display: block; }
.egu-admin-account strong { font-size: 9px; }
.egu-admin-account small { margin-top: 3px; color: #ff4d94; font-size: 7px; }
.egu-admin-system { margin: 13px 0; padding: 14px 10px; border: 1px solid #2e383b; border-radius: 8px; color: #aeb6ba; font-size: 8px; }
.egu-admin-system strong,
.egu-admin-system span,
.egu-admin-system small { display: block; }
.egu-admin-system strong { color: #fff; font-size: 9px; }
.egu-admin-system strong i,
.egu-admin-system span i,
.egu-admin-live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #45cf87; }
.egu-admin-system strong i { margin-left: 4px; }
.egu-admin-system span { margin-top: 10px; color: #d1d6d8; }
.egu-admin-system span i { width: 6px; height: 6px; margin-right: 5px; }
.egu-admin-system small { margin-top: 6px; color: #7c878b; font-size: 7px; }
.egu-admin-logout { margin: 0; border-top: 1px solid #2e383b; }
.egu-admin-logout button { width: 100%; height: 38px; padding: 0 10px; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #aeb6ba; font-size: 9px; }
.egu-admin-logout button:hover { color: #ff4d94; }
.egu-admin-logout svg { width: 14px; transform: rotate(180deg); }

.egu-admin-main { min-width: 0; padding: 18px 24px 30px; overflow: hidden; }
.egu-admin-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.egu-admin-eyebrow { margin: 0 0 5px; color: #ec168c; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.egu-admin-header h1 { margin: 0; color: #18222c; font: 700 24px/1.05 "Manrope", sans-serif; letter-spacing: -.04em; }
.egu-admin-header h1 span { display: block; margin-top: 4px; color: #ed146d; font-size: 13px; letter-spacing: .01em; }
.egu-admin-header-actions { display: flex; align-items: center; gap: 11px; }
.egu-admin-search { width: 278px; height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #dce1e4; border-radius: 7px; background: #fff; }
.egu-admin-search svg { width: 15px; color: #7f898d; }
.egu-admin-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #253039; font-size: 10px; }
.egu-admin-search input::placeholder { color: #8b959a; }
.egu-admin-icon-btn { width: 34px; height: 34px; position: relative; display: grid; place-items: center; border: 0; background: transparent; color: #677177; }
.egu-admin-icon-btn svg { width: 17px; }
.egu-admin-icon-btn b { position: absolute; top: -2px; right: -1px; min-width: 13px; padding: 2px 3px; border-radius: 7px; background: #ec168c; color: #fff; font-size: 6px; }
.egu-admin-date { padding-left: 12px; border-left: 1px solid #dfe3e5; color: #4f5a60; font-size: 9px; white-space: nowrap; }
.egu-admin-user-menu { display: flex; align-items: center; gap: 8px; padding-left: 10px; border-left: 1px solid #dfe3e5; }
.egu-admin-user-menu strong,
.egu-admin-user-menu small { display: block; }
.egu-admin-user-menu strong { font-size: 9px; }
.egu-admin-user-menu small { margin-top: 3px; color: #7e898e; font-size: 7px; }
.egu-admin-user-menu > svg { width: 11px; color: #788287; }

.egu-admin-kpis { margin-top: 18px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; }
.egu-admin-kpis article { min-height: 61px; padding: 10px 12px; position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; border: 1px solid #dde2e5; border-radius: 7px; background: #fff; }
.egu-admin-kpis article span { color: #4e5a60; font-size: 8px; }
.egu-admin-kpis article strong { grid-row: 2; font: 700 19px/1 "Manrope", sans-serif; }
.egu-admin-kpis article small { grid-column: 1/-1; margin-top: 4px; color: #7e898e; font-size: 7px; }
.egu-admin-kpis article em { color: #ed146d; font-style: normal; font-weight: 800; }
.egu-admin-kpis article.is-positive em { color: #2c955c; }
.egu-admin-kpis article svg { width: 12px; grid-column: 2; grid-row: 1/3; align-self: center; color: #7d898e; }
.egu-admin-kpis article.is-alert svg { color: #ed7a2a; }
.egu-admin-filter-btn { height: 36px; align-self: center; padding: 0 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #dce1e4; border-radius: 7px; background: #fff; color: #4f5a60; font-size: 8px; font-weight: 700; white-space: nowrap; }
.egu-admin-filter-btn svg { width: 14px; }
.egu-admin-filter-btn b { min-width: 15px; padding: 2px 4px; border-radius: 7px; background: #ec168c; color: #fff; font-size: 7px; }
.egu-admin-filter-popover { width: 220px; padding: 14px; position: absolute; z-index: 20; top: 70px; right: 0; display: grid; gap: 10px; border: 1px solid #dce1e4; border-radius: 8px; background: #fff; box-shadow: 0 16px 36px rgba(24, 34, 44, .15); }
.egu-admin-filter-popover[hidden], .egu-admin-lightbox[hidden] { display: none !important; }
.egu-admin-filter-popover label span { display: block; margin-bottom: 5px; color: #6e797e; font-size: 8px; font-weight: 800; }
.egu-admin-filter-popover select { width: 100%; height: 30px; padding: 0 7px; border: 1px solid #dce1e4; border-radius: 4px; background: #fff; color: #324047; font-size: 8px; }
.egu-admin-filter-popover button { height: 31px; border: 0; border-radius: 4px; background: #ec168c; color: #fff; font-size: 8px; font-weight: 800; }

.egu-admin-body-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 14px; align-items: start; }
.egu-admin-review-card,
.egu-admin-rail-card { border: 1px solid #dfe4e6; border-radius: 8px; background: #fff; }
.egu-admin-review-card { min-width: 0; overflow: hidden; }
.egu-admin-review-meta { padding: 12px 16px 0; display: flex; justify-content: space-between; color: #667278; font-size: 8px; }
.egu-admin-review-meta a { display: flex; align-items: center; gap: 6px; color: #4f5b60; font-weight: 700; }
.egu-admin-review-meta a svg { width: 12px; }
.egu-admin-review-meta button { padding: 0 5px; border: 0; background: transparent; color: #707b80; font-size: 8px; }
.egu-admin-review-header { min-height: 44px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f1; }
.egu-admin-reviewing { margin-right: 11px; color: #ec168c; font-size: 8px; font-weight: 800; }
.egu-admin-case { color: #6f7a7f; font-size: 8px; font-weight: 700; }
.egu-admin-assignment { display: flex; align-items: center; gap: 14px; color: #5d686e; font-size: 8px; }
.egu-admin-assignment span:first-child { padding: 6px 9px; border: 1px solid #dce1e4; border-radius: 4px; background: #fff; color: #425057; font-weight: 700; }
.egu-admin-assignment svg { width: 10px; }
.egu-admin-profile-summary { padding: 16px; display: grid; grid-template-columns: 92px minmax(180px, 1fr) auto; gap: 14px; align-items: center; }
.egu-admin-profile-summary > img { width: 92px; height: 106px; object-fit: cover; object-position: top; border-radius: 50%; }
.egu-admin-profile-heading h2 { margin: 0; display: flex; align-items: center; gap: 6px; color: #1d2730; font: 700 20px/1.1 "Manrope", sans-serif; }
.egu-admin-profile-heading h2 > svg { width: 15px; color: #ec168c; }
.egu-admin-profile-heading > p { margin: 5px 0 12px; color: #657177; font-size: 9px; }
.egu-admin-vip { padding: 4px 7px; border-radius: 4px; background: #fff0f7; color: #e21a76; font-size: 7px; font-weight: 900; letter-spacing: .07em; }
.egu-admin-profile-meta { display: flex; gap: 16px; color: #59666d; font-size: 8px; }
.egu-admin-profile-meta span { display: flex; align-items: center; gap: 4px; }
.egu-admin-profile-meta svg { width: 12px; color: #5a6970; }
.egu-admin-profile-metrics { display: flex; gap: 20px; align-self: end; }
.egu-admin-profile-metrics span { text-align: center; }
.egu-admin-profile-metrics strong,
.egu-admin-profile-metrics small { display: block; }
.egu-admin-profile-metrics strong { font: 700 15px/1 "Manrope", sans-serif; }
.egu-admin-profile-metrics small { margin-top: 5px; color: #7b878c; font-size: 7px; }
.egu-admin-identity-card { min-width: 184px; padding: 10px; display: grid; grid-template-columns: 24px 1fr; gap: 6px; border: 1px solid #dfe5e6; border-radius: 6px; }
.egu-admin-identity-card > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e9f8ef; color: #2a9b61; }
.egu-admin-identity-card > span svg { width: 14px; }
.egu-admin-identity-card strong,
.egu-admin-identity-card small { display: block; }
.egu-admin-identity-card strong { color: #334047; font-size: 8px; }
.egu-admin-identity-card small { margin-top: 3px; color: #748086; font-size: 7px; }
.egu-admin-identity-card a { grid-column: 1/-1; margin-top: 6px; padding-top: 7px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f1; color: #49565c; font-size: 7px; font-weight: 800; }
.egu-admin-identity-card a svg { width: 12px; }

.egu-admin-tabs { height: 43px; padding: 0 16px; display: flex; align-items: stretch; gap: 20px; border-top: 1px solid #edf0f1; border-bottom: 1px solid #edf0f1; }
.egu-admin-tabs button { padding: 0; position: relative; border: 0; background: transparent; color: #7a858a; font-size: 8px; font-weight: 800; }
.egu-admin-tabs button.active { color: #ec168c; }
.egu-admin-tabs button.active::after { content: ""; height: 2px; position: absolute; right: 0; bottom: -1px; left: 0; background: #ec168c; }
.egu-admin-tabs button b { margin-left: 4px; padding: 2px 4px; border-radius: 5px; background: #f1f3f4; color: #68747a; font-size: 7px; }
.egu-admin-section-title { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.egu-admin-section-title h3 { margin: 0; color: #25313a; font: 700 14px "Manrope", sans-serif; }
.egu-admin-section-title p { margin: 4px 0 0; color: #7a858a; font-size: 8px; }
.egu-admin-section-title button,
.egu-admin-section-title a { padding: 0; border: 0; background: transparent; color: #5c6870; font-size: 8px; font-weight: 800; text-decoration: none; }
.egu-admin-media-section { padding: 12px 16px 16px; }
.egu-admin-media-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.egu-admin-media-thumb { height: 78px; padding: 0; overflow: hidden; border: 1px solid #dfe4e6; border-radius: 5px; background: #eef1f2; }
.egu-admin-media-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .2s; }
.egu-admin-media-thumb:hover img { transform: scale(1.04); }
.egu-admin-hidden-panel { min-height: 150px; padding: 24px 16px; }
.egu-admin-hidden-panel h3 { margin: 0; font: 700 14px "Manrope", sans-serif; }
.egu-admin-hidden-panel p { color: #6f7a80; font-size: 9px; }

.egu-admin-lower-grid { padding: 0 16px 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.egu-admin-detail-card { padding: 12px; border: 1px solid #dfe5e6; border-radius: 6px; }
.egu-admin-status-list { margin: 5px 0 0; padding: 0; list-style: none; }
.egu-admin-status-list li { min-height: 35px; display: grid; grid-template-columns: 17px 1fr auto auto; gap: 8px; align-items: center; border-bottom: 1px solid #eef1f2; }
.egu-admin-status-list li:last-child { border-bottom: 0; }
.egu-admin-status-list li > svg { width: 14px; color: #39a96b; }
.egu-admin-status-list li:nth-child(4) > svg { color: #65757c; }
.egu-admin-status-list strong,
.egu-admin-status-list small { display: block; }
.egu-admin-status-list strong { color: #354149; font-size: 8px; }
.egu-admin-status-list small { margin-top: 2px; color: #829096; font-size: 7px; }
.egu-admin-status-list b { color: #3b9e64; font-size: 7px; }
.egu-admin-status-list time { color: #879298; font-size: 7px; }
.egu-admin-report-card .egu-admin-section-title { align-items: flex-start; }
.egu-admin-urgent-tag { padding: 4px 7px; border-radius: 4px; background: #fff0f3; color: #e13c68; font-size: 7px; font-weight: 800; }
.egu-admin-report-card dl { margin: 4px 0 10px; }
.egu-admin-report-card dl div { display: grid; grid-template-columns: 63px 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid #eef1f2; }
.egu-admin-report-card dt { color: #7f8a8f; font-size: 7px; font-weight: 800; }
.egu-admin-report-card dd { margin: 0; color: #3d4950; font-size: 8px; line-height: 1.4; }
.egu-admin-secondary-btn { height: 27px; padding: 0 11px; border: 1px solid #dce2e4; border-radius: 4px; background: #fff; color: #526068; font-size: 7px; font-weight: 800; }
.egu-admin-decision-form { padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; border-top: 1px solid #edf0f1; }
.egu-admin-decision-form textarea { grid-column: 1/-1; min-height: 39px; padding: 10px; resize: vertical; border: 1px solid #dfe5e6; border-radius: 5px; outline: 0; color: #314047; font-size: 8px; }
.egu-admin-decision-form textarea:focus { border-color: #ec168c; box-shadow: 0 0 0 3px #ec168c1c; }
.egu-admin-decision { min-height: 37px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dce2e4; border-radius: 5px; background: #fff; color: #405058; font-size: 8px; font-weight: 800; }
.egu-admin-decision svg { width: 13px; }
.egu-admin-decision.approve { border-color: #f22273; background: #f22273; color: #fff; }
.egu-admin-decision.changes { border-color: #f22273; color: #e71968; }
.egu-admin-decision.reject { border-color: #f22273; color: #e71968; }
.egu-admin-decision.more { min-width: 124px; }
.egu-admin-empty { padding: 30px; color: #6d797e; font-size: 9px; text-align: center; }

.egu-admin-right-rail { display: grid; gap: 10px; }
.egu-admin-rail-card { padding: 13px; }
.egu-admin-rail-card .egu-admin-section-title { min-height: 28px; }
.egu-admin-rail-card .egu-admin-section-title h3 { font-size: 13px; }
.egu-admin-count-badge { min-width: 22px; padding: 4px 6px; border-radius: 5px; background: #fff0f5; color: #e71968; font-size: 8px; font-weight: 900; text-align: center; }
.egu-admin-rail-list,
.egu-admin-check-list,
.egu-admin-audit-list { margin: 4px 0 0; padding: 0; list-style: none; }
.egu-admin-rail-list li { min-height: 49px; padding: 8px 4px; display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; border-bottom: 1px solid #eef1f2; }
.egu-admin-rail-list li.selected { margin: 0 -13px; padding-right: 17px; padding-left: 13px; border-left: 3px solid #ec168c; background: #fff0f5; }
.egu-admin-rail-list strong { color: #4b5960; font-size: 8px; }
.egu-admin-rail-list span { grid-column: 1; overflow: hidden; color: #56636a; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.egu-admin-rail-list time { grid-column: 2; grid-row: 1/3; color: #8b969a; font-size: 7px; white-space: nowrap; }
.egu-admin-rail-list .is-empty { display: block; color: #7b878c; font-size: 8px; }
.egu-admin-check-list li { min-height: 37px; display: grid; grid-template-columns: 15px 1fr auto; gap: 8px; align-items: center; border-bottom: 1px solid #eef1f2; }
.egu-admin-check-list li svg { width: 13px; color: #ec8a31; }
.egu-admin-check-list li:nth-child(2) svg { color: #ea4768; }
.egu-admin-check-list li:nth-child(3) svg { color: #3da86a; }
.egu-admin-check-list span { color: #5b686e; font-size: 8px; }
.egu-admin-check-list b { color: #47545b; font-size: 8px; }
.egu-admin-rail-link { margin-top: 11px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: #e71968; font-size: 8px; font-weight: 800; }
.egu-admin-rail-link svg { width: 12px; }
.egu-admin-audit-list li { padding: 7px 0; border-bottom: 1px solid #eef1f2; }
.egu-admin-audit-list strong,
.egu-admin-audit-list span,
.egu-admin-audit-list time { display: block; }
.egu-admin-audit-list strong { color: #445158; font-size: 8px; }
.egu-admin-audit-list span { margin-top: 3px; color: #718087; font-size: 7px; line-height: 1.35; }
.egu-admin-audit-list time { margin-top: 4px; color: #9aa4a8; font-size: 7px; }
.egu-admin-live-dot { margin-right: 3px; }
.egu-admin-toast { margin-bottom: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border-radius: 5px; font-size: 8px; font-weight: 700; }
.egu-admin-toast svg { width: 14px; }
.egu-admin-toast-success { background: #eaf8f0; color: #287d52; }
.egu-admin-toast-error { background: #fff0f3; color: #ac244b; }
.egu-admin-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(11, 15, 17, .84); }
.egu-admin-lightbox[hidden] { display: none; }
.egu-admin-lightbox img { max-width: min(80vw, 720px); max-height: 80vh; border-radius: 8px; object-fit: contain; }
.egu-admin-lightbox > button { position: absolute; top: 24px; right: 28px; border: 0; background: transparent; color: #fff; font-size: 30px; line-height: 1; }

@media (max-width: 1180px) {
    .egu-admin-header { align-items: flex-start; flex-direction: column; }
    .egu-admin-header-actions { width: 100%; }
    .egu-admin-search { flex: 1; }
    .egu-admin-body-grid { grid-template-columns: minmax(0, 1fr) 270px; }
    .egu-admin-profile-summary { grid-template-columns: 78px minmax(0, 1fr); }
    .egu-admin-profile-summary > img { width: 78px; height: 88px; }
    .egu-admin-profile-metrics { grid-column: 2; justify-content: flex-start; }
    .egu-admin-identity-card { grid-column: 1/-1; }
}
@media (max-width: 900px) {
    .egu-admin-control { grid-template-columns: 1fr; }
    .egu-admin-sidebar { min-height: auto; padding: 14px 16px; }
    .egu-admin-brand { padding-bottom: 10px; }
    .egu-admin-kicker, .egu-admin-account, .egu-admin-system, .egu-admin-logout { display: none; }
    .egu-admin-nav { display: flex; gap: 4px; overflow-x: auto; }
    .egu-admin-nav a { flex: 0 0 auto; padding: 0 12px; white-space: nowrap; }
    .egu-admin-body-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .egu-admin-main { padding: 16px 12px 24px; }
    .egu-admin-header-actions { flex-wrap: wrap; }
    .egu-admin-search { order: 5; flex-basis: 100%; }
    .egu-admin-date, .egu-admin-user-menu { display: none; }
    .egu-admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .egu-admin-filter-btn { grid-column: 1/-1; justify-content: center; }
    .egu-admin-filter-popover { top: auto; right: 0; bottom: -174px; }
    .egu-admin-review-header, .egu-admin-review-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
    .egu-admin-profile-summary { grid-template-columns: 62px 1fr; padding: 13px; }
    .egu-admin-profile-summary > img { width: 62px; height: 70px; }
    .egu-admin-profile-heading h2 { font-size: 16px; }
    .egu-admin-profile-meta { flex-direction: column; gap: 5px; }
    .egu-admin-profile-metrics { grid-column: 1/-1; justify-content: space-between; }
    .egu-admin-identity-card { grid-column: 1/-1; }
    .egu-admin-tabs { gap: 15px; overflow-x: auto; }
    .egu-admin-media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .egu-admin-media-thumb { height: 65px; }
    .egu-admin-lower-grid { grid-template-columns: 1fr; }
    .egu-admin-decision-form { grid-template-columns: 1fr 1fr; }
    .egu-admin-decision { padding: 0 8px; }
    .egu-admin-decision.approve { grid-column: 1/-1; }
    .egu-admin-decision.more { min-width: 0; }
}

/* Site-wide mobile layout corrections */
@media (max-width: 820px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    header.site-header { padding: 0 16px !important; gap: 10px; }
    header.site-header nav { display: none !important; position: absolute !important; top: 64px; left: 0; right: 0; height: auto; max-height: calc(100vh - 64px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px; background: #fff; border-bottom: 1px solid #e5e0e3; box-shadow: 0 10px 24px rgba(28, 20, 26, .12); }
    header.site-header nav.open { display: flex !important; }
    header.site-header nav a { height: 44px; flex: none; }
    header.site-header .header-actions { min-width: 0; margin-left: auto; }
    header.site-header .header-actions > * { max-width: 46vw; }
    header.site-header .menu { display: inline-flex !important; flex: 0 0 auto; }
    .city-inner, .page-wrap, .section { max-width: 100%; }
    img, video, iframe { max-width: 100%; }
}
@media (max-width: 460px) {
    header.site-header { height: 58px !important; }
    header.site-header nav { top: 58px; }
    header.site-header .header-actions { gap: 4px; }
    header.site-header .header-actions > #lang-switcher { display: none; }
    .page-hero h1 { overflow-wrap: anywhere; }
}

/* Prevent desktop navigation and ad rails from overflowing medium screens */
@media (max-width: 1500px) {
    header.site-header { padding-inline: 20px !important; }
    header.site-header nav { gap: 20px; }
    .home-content-shell { padding-inline: 24px !important; gap: 24px !important; }
    .home-content-shell > aside { flex-basis: 220px !important; }
    .home-content-shell > aside > div { width: 220px !important; }
}
@media (max-width: 1100px) {
    header.site-header nav { display: none !important; }
    header.site-header nav.open { display: flex !important; }
    header.site-header .menu { display: inline-flex !important; }
    header.site-header .header-actions .post { display: none !important; }
    .home-content-shell { padding-inline: 16px !important; }
    .home-content-shell > aside { display: none !important; }
}
