/* NailLab Base Design System (Vanilla CSS - No Node.js required) */

:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Color Palette */
    --color-bg: #fcf9f8;
    --color-surface: #ffffff;
    --color-text-main: #0f172a;
    --color-text-muted: #475569;
    --color-primary: #7b5059; /* Muted burgundy / Nail lab signature */
    --color-primary-hover: #633b44;
    --color-accent: #e2e8f0;
    --color-border: #cbd5e1;
    --color-focus: #2563eb;
    --color-danger: #dc2626;
    --color-success: #16a34a;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Accessibility: Visible Focus */
:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: var(--color-text-main);
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

#main-content:focus {
    outline: none;
}

/* Header & Navigation */
.header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem 1rem;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    gap: 0.5rem;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    grid-column: 2;
    justify-self: center;
}

.brand-logo {
    width: 145px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.site-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c1b1b;
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.site-header__icon-btn:hover {
    background-color: rgba(115, 81, 88, 0.08);
    color: #735158;
}

.site-header__menu-btn {
    grid-column: 1;
    justify-self: start;
}

.site-header__account {
    grid-column: 3;
    justify-self: end;
}

.site-header__nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
    color: var(--color-text-main);
    background-color: var(--color-bg);
}

.nav-link[aria-current="page"],
.mobile-nav-item[aria-current="page"] {
    color: var(--color-primary);
    background-color: rgba(115, 81, 88, 0.1);
    font-weight: 700;
}

.site-mobile-drawer {
    background: #fcf9f8;
}

.mobile-nav-item--button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

@media (min-width: 768px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .site-header__menu-btn,
    .site-header__account {
        display: none;
    }

    .brand {
        justify-self: auto;
    }

    .brand-logo {
        width: 180px;
    }

    .site-header__nav {
        display: block;
    }

    .site-mobile-drawer,
    #site-drawer-overlay {
        display: none !important;
    }
}

/* Main Container */
.main-content {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* Full-screen areas provide their own responsive navigation and spacing. */
.main-content.main-content-panel {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Base Cards & Notice */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.card-auth {
    max-width: 480px;
    margin: 0 auto;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: #fef3c7;
    color: #92400e;
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.badge-panel {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-extranet {
    background-color: #fce7f3;
    color: #9d174d;
}

.description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--color-text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    background-color: var(--color-surface);
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--color-focus);
}

.form-error {
    color: var(--color-danger);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.btn-whatsapp__icon {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    object-fit: contain;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.btn-contact__icon {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    object-fit: contain;
}

.btn-contact__icon--light {
    filter: brightness(0) invert(1);
}

.profile-contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

.profile-contact-details__row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    color: #504446;
    font-size: 0.95rem;
    line-height: 1.4;
}

.profile-contact-details__row img {
    flex-shrink: 0;
    object-fit: contain;
}

.profile-contact-details__row a {
    color: #7b5059;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    word-break: break-word;
}

.profile-contact-cta__desktop {
    display: none;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .profile-contact-cta__mobile {
        display: none !important;
    }

    .profile-contact-cta__desktop {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .profile-contact-cta__desktop {
        display: none !important;
    }
}

.profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.profile-social-link:hover,
.profile-social-link:focus-visible {
    transform: translateY(-1px);
    opacity: 0.9;
}

.profile-social-link:focus-visible {
    outline: 3px solid rgba(123, 80, 89, 0.35);
    outline-offset: 2px;
}

.profile-social-link img {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-text-main);
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background-color: #fef9c3;
    color: #a16207;
    border: 1px solid #fef08a;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.auth-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-align: center;
}

.footer {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Utility */
.notice-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f1f5f9;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
}

/* Professional registration (Stitch desktop + mobile) */
.auth-page {
    background: #fcf9f8;
    color: #1c1b1b;
}

.registration-page {
    min-height: 100vh;
}

.registration-shell {
    min-height: 100vh;
    background: #fcf9f8;
}

.registration-visual {
    display: none;
}

.registration-panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fcf9f8;
}

.registration-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 1rem;
    background: rgba(252, 249, 248, 0.96);
    border-bottom: 1px solid rgba(212, 194, 196, 0.35);
    backdrop-filter: blur(8px);
}

.registration-brand {
    color: #7b5059;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.registration-header p {
    margin: 0;
    color: #504446;
    font-size: 0.95rem;
}

.registration-header p:first-letter {
    text-transform: uppercase;
}

.registration-header a:not(.registration-brand),
.registration-login-mobile a,
.registration-consent a,
.registration-footer a {
    color: #7b5059;
    font-weight: 600;
    text-underline-offset: 0.2em;
}

.registration-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 1rem 3rem;
}

.registration-content {
    width: 100%;
    max-width: 400px;
}

.registration-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.registration-heading h2 {
    margin: 0 0 0.75rem;
    color: #1c1b1b;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.registration-heading p {
    margin: 0;
    color: #504446;
    font-size: 1rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(212, 194, 196, 0.24);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(49, 17, 26, 0.07);
}

.registration-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1c1b1b;
    font-size: 0.9rem;
    font-weight: 600;
}

.registration-field input,
.registration-password input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    color: #1c1b1b;
    background: #fcf9f8;
    border: 1px solid rgba(130, 115, 118, 0.5);
    border-radius: 8px;
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.registration-field input::placeholder {
    color: #766062;
}

.registration-field input:hover {
    border-color: #766062;
}

.registration-field input:focus {
    outline: none;
    background: #fff;
    border-color: #7b5059;
    box-shadow: 0 0 0 3px rgba(123, 80, 89, 0.15);
}

.registration-field input:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

.registration-field input[aria-invalid="true"] {
    border-color: #ba1a1a;
}

.registration-password {
    position: relative;
    display: block;
}

.registration-password input {
    padding-right: 3.25rem;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0.55rem;
    bottom: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-block: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
    color: #766062;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.password-toggle:hover {
    color: #7b5059;
    background: #f6f3f2;
}

.password-toggle svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    fill: currentColor;
}

.registration-help,
.registration-error {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
}

.registration-help {
    color: #6b5757;
}

.registration-error {
    color: #ba1a1a;
    font-weight: 500;
}

.registration-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #504446;
    font-size: 0.86rem;
    line-height: 1.45;
    cursor: pointer;
}

.registration-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 0.05rem;
    accent-color: #7b5059;
    cursor: pointer;
}

.registration-submit {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    color: #fff;
    background: #7b5059;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(123, 80, 89, 0.18);
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.registration-submit:hover {
    color: #fff;
    background: #68434c;
    box-shadow: 0 10px 24px rgba(123, 80, 89, 0.26);
    transform: translateY(-1px);
}

.registration-submit:active {
    transform: translateY(0);
}

.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

.auth-remember-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #504446;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.auth-remember-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #7b5059;
    cursor: pointer;
}

.auth-forgot-link {
    color: #7b5059;
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 0.2em;
}

.auth-forgot-link:hover {
    color: #68434c;
    text-decoration: underline;
}

.registration-login-mobile {
    margin: 2rem 0 0;
    color: #504446;
    text-align: center;
}

.registration-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    color: #504446;
    background: #f6f3f2;
    border-top: 1px solid rgba(212, 194, 196, 0.25);
    font-size: 0.82rem;
    text-align: center;
}

.registration-footer p {
    margin: 0;
}

.registration-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.registration-footer a {
    color: #504446;
    font-weight: 500;
    text-decoration: none;
}

.registration-footer a:hover {
    color: #7b5059;
    text-decoration: underline;
}

.registration-closed > p {
    color: #504446;
}

.registration-closed .alert {
    margin: 0;
}

.registration-closed .alert p {
    margin: 0.5rem 0 0;
}

@media (min-width: 768px) {
    .registration-shell {
        display: grid;
        grid-template-columns: minmax(360px, 45%) minmax(0, 55%);
    }

    .registration-visual {
        position: sticky;
        top: 0;
        min-height: 100vh;
        display: flex;
        align-items: flex-end;
        padding: 2.5rem;
        overflow: hidden;
        background: #e5e2e1;
    }

    .registration-visual-image,
    .registration-visual-shade {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .registration-visual-image {
        object-fit: cover;
    }

    .registration-visual-shade {
        background: linear-gradient(to top, rgba(252, 249, 248, 0.94), rgba(252, 249, 248, 0.26) 58%, rgba(28, 27, 27, 0.06));
    }

    .registration-benefits {
        position: relative;
        z-index: 1;
        width: min(100%, 430px);
        padding: 1.5rem;
        background: rgba(252, 249, 248, 0.9);
        border: 1px solid rgba(212, 194, 196, 0.4);
        border-radius: 12px;
        box-shadow: 0 16px 36px rgba(49, 17, 26, 0.12);
        backdrop-filter: blur(12px);
    }

    .registration-benefits h1 {
        margin: 0 0 0.75rem;
        color: #7b5059;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .registration-benefits > p {
        margin: 0 0 1.5rem;
        color: #504446;
        font-size: 1.05rem;
    }

    .registration-benefits ul {
        display: grid;
        gap: 0.75rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .registration-benefits li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: #1c1b1b;
        font-weight: 500;
    }

    .registration-benefits svg {
        width: 24px;
        height: 24px;
        flex: 0 0 auto;
        fill: #7b5059;
    }

    .registration-header {
        position: relative;
        min-height: 86px;
        padding: 1.5rem 2.5rem;
        border-bottom: 0;
        backdrop-filter: none;
    }

    .registration-main {
        padding: 2rem 2.5rem 3.5rem;
    }

    .registration-content {
        max-width: 480px;
    }

    .registration-heading {
        margin-bottom: 3rem;
        text-align: left;
    }

    .registration-heading h2 {
        font-size: clamp(2.1rem, 3vw, 2.75rem);
    }

    .registration-form {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .registration-login-mobile {
        display: none;
    }

    .registration-footer {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.5rem 2.5rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .registration-header p {
        font-size: 0;
    }

    .registration-header p a {
        font-size: 0.95rem;
    }

    .registration-form {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .registration-submit,
    .registration-field input,
    .password-toggle {
        transition: none;
    }
}

/* Public professional profile */
.main-content-public {
    max-width: 1160px;
}

.public-profile {
    display: grid;
    gap: 1.5rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: #64748b;
}

.breadcrumbs a,
.profile-social a {
    color: var(--color-primary);
    text-underline-offset: 0.2em;
}

.profile-hero,
.profile-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.profile-hero {
    display: grid;
    overflow: hidden;
}

.profile-hero__content {
    align-self: center;
    padding: clamp(1.5rem, 5vw, 3.5rem);
}

.profile-eyebrow {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.profile-hero h1 {
    font-size: clamp(2rem, 7vw, 3.75rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.profile-location,
.profile-mode {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.profile-location span {
    color: var(--color-primary);
    font-size: 0.7em;
    margin-right: 0.3rem;
}

.profile-mode {
    font-weight: 600;
    margin-top: 0.25rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.profile-actions .btn {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    white-space: normal;
}

.panel-share-url-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 0.5rem;
}

.panel-share-url-row .form-control {
    flex: 1 1 220px;
    min-width: 0;
}

.panel-share-url-row .btn {
    flex: 0 0 auto;
}

.panel-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.panel-share-actions .btn {
    flex: 1 1 140px;
}

.panel-share-social--facebook {
    background: #1877f2;
    color: #ffffff;
}

.panel-share-social--facebook:hover {
    background: #0f65d8;
    color: #ffffff;
}

.panel-share-social--instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
    color: #ffffff;
    border: none;
}

.panel-share-social--instagram:hover {
    filter: brightness(0.95);
    color: #ffffff;
}

.panel-share-social--whatsapp {
    background: #25d366;
    color: #ffffff;
}

.panel-share-social--whatsapp:hover {
    background: #1ebe57;
    color: #ffffff;
}

.profile-hero__image {
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
    min-height: 280px;
}

.profile-hero__image img,
.work-card__button img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-section {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.profile-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.profile-description {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-top: 1rem;
    max-width: 72ch;
    white-space: pre-line;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-list {
    border-top: 1px solid var(--color-border);
    list-style: none;
}

.service-item {
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.1rem 0;
}

.service-item h3,
.work-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
}

.service-item p,
.work-card figcaption p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.service-price {
    color: var(--color-text-main) !important;
    flex: none;
    font-size: 1rem !important;
    font-weight: 700;
    margin: 0 !important;
}

.empty-state {
    background: var(--color-bg);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    padding: 1.25rem;
}

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

.work-card {
    min-width: 0;
}

.work-card__button {
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
    border: 0;
    border-radius: var(--radius-md);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.work-card__button img {
    transition: transform 0.25s ease;
}

.work-card__button:hover img {
    transform: scale(1.025);
}

.work-card figcaption {
    padding: 0.75rem 0.15rem 0;
}

.profile-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin-top: 1rem;
}

.gallery-dialog {
    background: transparent;
    border: 0;
    height: 100%;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    padding: 1rem;
    width: 100%;
}

.gallery-dialog::backdrop {
    background: rgba(15, 23, 42, 0.82);
}

.confirm-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(28, 27, 27, 0.48);
    backdrop-filter: blur(2px);
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 70;
    width: min(92vw, 460px);
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 194, 196, 0.45);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(28, 27, 27, 0.18);
    transform: translate(-50%, -50%);
}

.confirm-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 9999px;
    background: #fee2e2;
    color: #b91c1c;
}

.confirm-modal__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #b91c1c;
}

.confirm-modal__text {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #504446;
}

.confirm-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confirm-modal__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.confirm-modal__danger-btn {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.confirm-modal__danger-btn:hover,
.confirm-modal__danger-btn:focus-visible {
    background: #991b1b !important;
    border-color: #991b1b !important;
}

body.confirm-modal-open {
    overflow: hidden;
}

.gallery-dialog__panel {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    margin: auto;
    max-height: calc(100vh - 2rem);
    max-width: 960px;
    overflow: hidden;
}

.gallery-dialog__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 1rem;
}

.gallery-dialog__header h2 {
    font-size: 1rem;
}

.gallery-dialog__close {
    align-items: center;
    background: var(--color-accent);
    border: 0;
    border-radius: 999px;
    color: var(--color-text-main);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.6rem;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    width: 2.5rem;
}

.gallery-dialog img {
    display: block;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
    width: 100%;
}

@media (min-width: 640px) {
    .work-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 820px) {
    .profile-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    }
}

@media (max-width: 639px) {
    .main-content {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .main-content.main-content-panel {
        margin: 0;
        padding: 0;
        max-width: none;
        width: 100%;
    }

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

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

/* Public directory */
.main-content-directory {
    max-width: 1240px;
}

.directory-page {
    display: grid;
    gap: 1.5rem;
}

.directory-header {
    max-width: 780px;
    padding: 1rem 0 0.5rem;
}

.directory-header h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 0.75rem;
}

.directory-header > p:last-child {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.home-search,
.directory-filters,
.active-filters,
.directory-empty {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.home-search {
    display: grid;
    gap: 0 1rem;
    margin-top: 1.5rem;
}

.home-search .btn {
    align-self: end;
    margin-bottom: 1.25rem;
}

.directory-filters__grid {
    display: grid;
    gap: 0 1rem;
}

.directory-filters__options,
.directory-filters__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.directory-filters__options {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.directory-filters__options input {
    height: 1.1rem;
    width: 1.1rem;
}

.directory-filters__actions {
    margin-top: 1.25rem;
}

.active-filters h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.active-filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.active-filters li {
    background: #f1f5f9;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text-main);
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
}

.directory-results-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
}

.directory-results-heading h2,
.directory-empty h2 {
    font-size: 1.4rem;
}

.directory-results-heading p,
.directory-empty p {
    color: var(--color-text-muted);
}

.directory-empty {
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}

.directory-empty p {
    margin: 0.5rem auto 1.25rem;
    max-width: 55ch;
}

.directory-growth-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
}

.directory-growth-note > div {
    max-width: 48rem;
}

.directory-growth-note h2 {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}

.directory-growth-note p:last-child {
    color: var(--color-text-muted);
}

.professional-grid {
    display: grid;
    gap: 1.25rem;
}

.professional-card {
    background: var(--color-surface);
    border: 1px solid rgba(212, 194, 196, 0.45);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(109, 89, 89, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.professional-card:hover {
    box-shadow: 0 8px 24px rgba(109, 89, 89, 0.1);
    transform: translateY(-2px);
}

.professional-card__media {
    aspect-ratio: 1 / 1;
    background: #f1ebe9;
    display: block;
    overflow: hidden;
}

.professional-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

.professional-card:hover .professional-card__media img {
    transform: scale(1.03);
}

.professional-card__placeholder {
    align-items: center;
    color: var(--color-primary);
    display: flex;
    font-size: 2rem;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    letter-spacing: -0.05em;
    width: 100%;
}

.professional-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.1rem 1.15rem;
}

.professional-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.professional-card h3 a {
    color: #1c1b1b;
    text-decoration: none;
}

.professional-card h3 a:hover {
    color: var(--color-primary);
}

.professional-card__location {
    align-items: center;
    color: #766062;
    display: flex;
    font-size: 0.875rem;
    gap: 0.3rem;
    line-height: 1.35;
    margin: 0;
}

.professional-card__icon {
    flex-shrink: 0;
    height: 0.95rem;
    width: 0.95rem;
}

.professional-card__mode {
    color: #766062;
    font-size: 0.875rem;
    margin: 0;
}

.professional-card__mode span {
    color: #504446;
}

.professional-card__availability {
    color: #504446;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.professional-card__services-wrap {
    margin-top: 0.25rem;
}

.professional-card__services {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.professional-card__services li {
    background: #eee8e7;
    border-radius: 999px;
    color: #504446;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    padding: 0.3rem 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.professional-card__more {
    color: #766062;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.35rem 0 0;
}

.professional-card__price {
    color: #1c1b1b;
    font-size: 1rem;
    font-weight: 700;
    margin: 0.4rem 0 0;
}

.professional-card__actions {
    margin-top: 0.75rem;
    padding-top: 0;
}

.professional-card__cta {
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 600;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 100%;
}

.professional-card__cta:hover {
    background: var(--color-primary);
    color: #fff;
}

.directory-pagination {
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.85rem 1rem;
}

.directory-pagination a {
    color: var(--color-primary);
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.directory-pagination [aria-disabled="true"] {
    color: #64748b;
}

@media (min-width: 640px) {
    .home-search {
        grid-template-columns: 1fr 1fr auto;
    }

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

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

@media (min-width: 960px) {
    .directory-filters__grid {
        grid-template-columns: 1.25fr 1.25fr 1fr 1fr;
    }

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

/* Inspiration gallery and public work */
.main-content-inspiration,
.main-content-work {
    max-width: 1240px;
}

.inspiration-page,
.public-work {
    display: grid;
    gap: 1.5rem;
}

.inspiration-header {
    max-width: 780px;
    padding: 1rem 0 0.5rem;
}

.inspiration-header h1,
.public-work__content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.inspiration-header > p:last-child {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.inspiration-empty {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(2rem, 7vw, 4rem);
    text-align: center;
}

.inspiration-empty p {
    color: var(--color-text-muted);
    margin: 0.5rem auto 1.25rem;
    max-width: 55ch;
}

.inspiration-grid {
    display: grid;
    gap: 1rem;
}

.inspiration-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    min-width: 0;
    overflow: hidden;
}

.inspiration-card__image {
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
    display: block;
    overflow: hidden;
}

.inspiration-card__image img,
.related-work-card img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

.inspiration-card:hover .inspiration-card__image img,
.related-work-card:hover img {
    transform: scale(1.025);
}

.inspiration-card__body {
    padding: 1rem;
}

.inspiration-card h2 {
    font-size: 1.05rem;
    line-height: 1.35;
}

.inspiration-card h2 a,
.inspiration-card__body p a,
.public-work__author a {
    color: var(--color-text-main);
    text-underline-offset: 0.2em;
}

.inspiration-card__body p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.inspiration-card__location {
    font-size: 0.82rem !important;
}

.public-work__layout {
    display: grid;
    gap: 1.5rem;
}

.public-work__media,
.public-work__content,
.related-works {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.public-work__media {
    align-self: start;
    overflow: hidden;
    padding: 0.75rem;
}

.public-work__image-button {
    background: var(--color-bg);
    border: 0;
    border-radius: var(--radius-md);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.public-work__image-button img {
    display: block;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    width: 100%;
}

.public-work__content {
    align-self: start;
    min-width: 0;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.public-work__description {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-top: 1.25rem;
    white-space: pre-line;
}

.public-work__author {
    border-top: 1px solid var(--color-border);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.public-work__author h2 {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-work__author p {
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

.public-work__author p:first-of-type a {
    font-size: 1.1rem;
    font-weight: 700;
}

.related-works {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.related-work-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-work-card {
    min-width: 0;
}

.related-work-card a {
    color: var(--color-text-main);
    display: block;
    text-decoration: none;
}

.related-work-card img {
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
}

.related-work-card h3 {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-top: 0.55rem;
}

.work-card__link {
    color: var(--color-primary);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.5rem;
    text-underline-offset: 0.2em;
}

@media (min-width: 560px) {
    .inspiration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 860px) {
    .inspiration-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .public-work__layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }
}

@media (min-width: 1120px) {
    .inspiration-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .related-work-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Home Page Styles */
.main-content-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.home-hero {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.home-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #1c1b1b;
    margin-bottom: 1rem;
}

.home-hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #504446;
    margin-bottom: 2.25rem;
    line-height: 1.5;
}

.home-search-container {
    background: #ffffff;
    border: 1px solid rgba(212, 194, 196, 0.4);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(109, 89, 89, 0.1);
    max-width: 860px;
    margin: 0 auto;
}

.home-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: left;
    min-width: 0;
}

.home-search-field:focus-within {
    border-color: #7b5059;
}

.home-search-field__icon {
    flex-shrink: 0;
    color: #766062;
}

/* Label text stays available to assistive tech while the mobile card shows only icon + placeholder. */
.home-search-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.home-search-field input,
.home-search-field select {
    border: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    color: #1c1b1b;
    background: transparent;
    outline: none;
}

.home-search-field select {
    cursor: pointer;
    appearance: none;
}

.home-search-field input::placeholder {
    color: #766062;
}

.home-search-btn {
    width: 100%;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
}

/* Desktop keeps the single-row pill layout with stacked labels per field. */
@media (min-width: 768px) {
    .home-search-container {
        border-radius: 9999px;
        padding: 0.5rem;
    }

    .home-search-form {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .home-search-field {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem;
        border: 0;
        border-radius: 0;
    }

    .home-search-field + .home-search-field {
        border-left: 1px solid rgba(212, 194, 196, 0.3);
    }

    .home-search-field__icon {
        display: none;
    }

    .home-search-field label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        font-size: 0.78rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #766062;
        margin-bottom: 0.2rem;
    }

    .home-search-btn {
        width: auto;
        border-radius: 9999px;
        white-space: nowrap;
    }
}

.home-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    background: #e7e2dc;
    color: #67645f;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.home-chip:hover {
    background: #7b5059;
    color: #ffffff;
}

/* Home Section Layouts */
.home-section {
    padding: 3rem 0;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.home-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1c1b1b;
    margin: 0;
}

.home-section-link {
    color: #7b5059;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.home-section-link:hover {
    text-decoration: underline;
}

/* Featured Grid */
.home-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .home-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .home-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home-featured-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(212, 194, 196, 0.35);
    border-radius: 12px;
    color: #504446;
}

.home-featured-empty p {
    margin: 0;
    max-width: 40rem;
    line-height: 1.5;
}

.growth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-growth-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    color: var(--color-text-main);
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
}

.home-growth-note--span-1 {
    grid-column: span 1;
}

.home-growth-note--span-2 {
    grid-column: span 2;
}

.home-growth-note--span-3 {
    grid-column: span 3;
}

@media (max-width: 1023px) {
    .home-growth-note--span-3 {
        grid-column: span 1;
    }
}

@media (max-width: 639px) {
    .home-growth-note--span-1,
    .home-growth-note--span-2,
    .home-growth-note--span-3 {
        grid-column: span 1;
    }
}

.home-growth-note a {
    color: var(--color-primary);
    font-weight: 700;
}

.home-growth-note a.btn-primary {
    color: #ffffff;
}

/* Landing Para profesionales */
.for-pros {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0.5rem 0 2rem;
}

.for-pros__hero {
    max-width: 44rem;
}

.for-pros__eyebrow {
    margin: 0 0 0.75rem;
    color: #7b5059;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.for-pros__hero h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: #1c1b1b;
}

.for-pros__lead {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #504446;
}

.for-pros__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.for-pros__notice {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.95rem;
    line-height: 1.45;
}

.for-pros__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .for-pros__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.for-pros__card {
    background: #ffffff;
    border: 1px solid rgba(212, 194, 196, 0.35);
    border-radius: 12px;
    padding: 1.25rem;
}

.for-pros__card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #1c1b1b;
}

.for-pros__card p {
    margin: 0;
    color: #504446;
    line-height: 1.5;
    font-size: 0.95rem;
}

.for-pros__steps h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    color: #1c1b1b;
}

.for-pros__steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.for-pros__steps li {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.15rem;
    background: #f6f3f2;
    border-radius: 12px;
}

.for-pros__steps strong {
    color: #1c1b1b;
}

.for-pros__steps span {
    color: #504446;
    font-size: 0.95rem;
    line-height: 1.45;
}

.home-pro-card {
    background: #f6f3f2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 194, 196, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-pro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(109, 89, 89, 0.12);
}

.home-pro-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.home-pro-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-pro-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1c1b1b;
    margin: 0 0 0.35rem;
}

.home-pro-card__location {
    font-size: 0.88rem;
    color: #504446;
    margin-bottom: 0.5rem;
}

.home-pro-card__meta {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.home-pro-card__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #504446;
}

.home-pro-card__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #766062;
}

.home-pro-card__price-row {
    color: #1c1b1b !important;
    font-weight: 600;
}

.home-pro-card__price-row .home-pro-card__icon {
    color: #7b5059;
}

.home-pro-card__action {
    margin-top: auto;
}

/* Services Grid */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .home-services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.home-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #f6f3f2;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
}

.home-service-card:hover {
    transform: translateY(-3px);
    background: #e7e2dc;
}

.home-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffd9df;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.88rem;
}

.home-service-icon svg {
    width: 28px;
    height: 28px;
    fill: #7b5059;
}

.home-service-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1b1b;
}

/* How It Works */
.home-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .home-how-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-how-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffd9df;
    color: #7b5059;
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.home-how-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1b1b;
    margin: 0 0 0.5rem;
}

.home-how-step p {
    font-size: 0.95rem;
    color: #504446;
    margin: 0;
}

/* Banner Pro */
.home-pro-banner {
    background: #e7e2dc;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .home-pro-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 3rem 3.5rem;
    }
}

.home-pro-banner__content h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #1c1b1b;
    margin: 0 0 0.75rem;
}

.home-pro-banner__content p {
    font-size: 1.05rem;
    color: #504446;
    margin: 0 0 1.5rem;
    max-width: 500px;
}

/* Inspiration Gallery */
.home-inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.home-inspiration-tile {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.home-inspiration-tile__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2.5rem 0.85rem 0.75rem;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.88));
    font-size: 0.88rem;
    font-weight: 700;
}

.home-inspiration-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.home-inspiration-tile:hover img {
    transform: scale(1.04);
}

/* Articles / Tips */
.home-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.home-article {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 194, 196, 0.3);
    display: flex;
    flex-direction: column;
}

.home-article__media {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-article__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.home-article__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5e2e1;
    color: #7b5059;
    font-size: 1.5rem;
    font-weight: 700;
}

.home-article__body {
    padding: 1.25rem;
}

.home-article__tag {
    color: #7b5059;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.35rem;
}

.home-article__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1b1b;
    margin: 0;
    line-height: 1.35;
}

.home-article__title a {
    color: inherit;
    text-decoration: none;
}

.home-article__title a:hover {
    color: #7b5059;
}

/* Mobile adaptations to match the reference design */
@media (max-width: 767px) {
    .home-hero {
        padding: 2rem 0 2.5rem;
        text-align: center;
    }

    .home-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        margin: 1.25rem -1rem 0;
        padding: 0 1rem 0.25rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .home-chips::-webkit-scrollbar {
        display: none;
    }

    .home-chip {
        flex: 0 0 auto;
    }

    .home-section {
        padding: 2rem 0;
    }

    .home-inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .home-inspiration-tile--wide {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .home-how-grid {
        gap: 1.25rem;
        text-align: left;
    }

    .home-how-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .home-how-num {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .home-how-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .home-articles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-article {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .home-article__media {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
    }

    .home-article__img,
    .home-article__placeholder {
        width: 80px;
        height: 80px;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .home-article__placeholder {
        font-size: 1rem;
    }

    .home-article__body {
        padding: 0;
    }

    .home-article__title {
        font-size: 1rem;
    }

    .main-content-home {
        padding-bottom: 1.5rem;
    }
}

/* Panel Dashboard Layout & Drawer Styles */
.panel-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    background: var(--color-bg);
}

.panel-sidebar {
    width: 270px;
    background: #f6f3f2;
    border-right: 1px solid rgba(212, 194, 196, 0.4);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
}

@media (max-width: 1023px) {
    .panel-sidebar {
        display: none;
    }
}

.panel-sidebar-brand,
.panel-drawer-brand,
.panel-mobile-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7b5059;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.panel-sidebar-brand {
    margin-bottom: 2rem;
}

.panel-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.panel-sidebar .panel-nav-list {
    flex: 1;
}

.panel-nav-item a,
.panel-nav-item span,
a.panel-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #615e59;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.panel-nav-item a svg,
.panel-nav-item span svg,
a.panel-nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.panel-nav-item a:hover,
a.panel-nav-item:hover {
    background: #e5e2e1;
    color: #7b5059;
}

.panel-nav-item.active a,
a.panel-nav-item.active {
    background: #eae7e7;
    color: #7b5059;
    font-weight: 700;
}

.panel-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.panel-nav-item.disabled span,
.panel-nav-item.disabled a {
    opacity: 0.6;
    cursor: not-allowed;
}

.panel-sidebar-user {
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 194, 196, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.panel-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.panel-user-name {
    display: block;
    font-size: 0.9rem;
    color: #1c1b1b;
}

.panel-user-status {
    display: block;
    font-size: 0.78rem;
    color: #67645f;
}

.panel-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7b5059;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #d4c2c4;
}

.panel-avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

.profile-avatar-img {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #d4c2c4;
    background: #f3ecec;
}

.panel-logout-icon {
    color: #ba1a1a;
    padding: 0.35rem;
}

.panel-logout-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.panel-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0.5rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #615e59;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.panel-icon-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.panel-icon-btn:hover {
    background: #e5e2e1;
}

.panel-icon-btn--primary {
    color: #7b5059;
}

.panel-icon-btn--primary:hover {
    background: #eae7e7;
}

/* Mobile Navigation Header & Drawer */
.panel-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    background: rgba(252, 249, 248, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7e2dc;
    position: sticky;
    top: 0;
    z-index: 30;
}

.panel-mobile-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .panel-mobile-header {
        display: none;
    }
}

.panel-mobile-drawer,
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: #f6f3f2;
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.08);
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0.75rem 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-100%);
}

.panel-mobile-drawer.open,
.mobile-drawer.open {
    transform: translateX(0);
}

.panel-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(212, 194, 196, 0.3);
}

.panel-drawer-nav {
    padding: 1rem 0.25rem;
}

.panel-drawer-divider {
    margin: 0.5rem 0.75rem;
    border-top: 1px solid rgba(212, 194, 196, 0.3);
}

.panel-drawer-footer {
    margin-top: auto;
    padding: 1rem 0.25rem 0;
    border-top: 1px solid rgba(212, 194, 196, 0.3);
}

.panel-drawer-logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #615e59;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.panel-drawer-logout svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.panel-drawer-logout:hover {
    background: #e5e2e1;
}

.panel-drawer-overlay,
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(49, 48, 48, 0.4);
    backdrop-filter: blur(4px);
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-drawer-overlay.open,
.mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 194, 196, 0.4);
}

.mobile-drawer-body,
.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
}

.mobile-drawer-body {
    flex: 1;
    padding-top: 1rem;
}

.mobile-drawer-nav {
    gap: 0.35rem;
}

.mobile-nav-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #504446;
    font-weight: 500;
    text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: #eae7e7;
    color: #7b5059;
}

/* Main Panel Area */
.panel-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 2rem 1.5rem 3rem;
}

.panel-main:has(.panel-content) {
    padding: 0;
}

.panel-content {
    flex: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem 0.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.panel-mobile-header .brand-logo,
.panel-drawer-brand .brand-logo,
.panel-sidebar-brand .brand-logo {
    width: 110px;
}

@media (max-width: 1023px) {
    .panel-layout,
    .panel-main,
    .panel-content,
    .main-content.main-content-panel {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .panel-main {
        padding: 0 0 2.5rem;
        box-sizing: border-box;
    }

    /* Páginas del panel sin .panel-content (servicios, trabajos, compartir…) */
    .panel-main > :not(.panel-mobile-header):not(.panel-footer):not(.panel-content) {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        max-width: none;
        box-sizing: border-box;
    }

    .panel-mobile-header {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .panel-content {
        max-width: 1280px;
        margin: 0 auto;
        padding: 2rem 1.5rem 3rem;
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .panel-main {
        margin-left: 270px;
        padding: 2.5rem 2.5rem 3rem;
    }

    .panel-main:has(.panel-content) {
        padding: 0;
    }

    .panel-content {
        padding: 2.5rem 2.5rem 3rem;
    }

    .panel-sidebar-brand .brand-logo {
        width: 130px;
    }
}

.panel-header-greeting h1 {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: #1c1b1b;
    margin: 0 0 0.25rem;
}

.panel-header-greeting p {
    font-size: 1rem;
    color: #615e59;
    margin: 0;
}

.panel-public-status {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    padding: 0.9rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(150, 104, 113, 0.24);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7f8 0%, #f7e9ec 100%);
    box-shadow: 0 6px 18px rgba(123, 80, 89, 0.08);
}

.panel-public-status-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffd9df;
    color: #7b5059;
}

.panel-public-status-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.panel-public-status-copy {
    min-width: 0;
}

.panel-public-status-copy strong,
.panel-public-status-copy > span {
    display: block;
}

.panel-public-status-copy strong {
    color: #4f2d35;
    font-size: 0.92rem;
    line-height: 1.35;
}

.panel-public-status-copy > span {
    margin-top: 0.15rem;
    color: #6f5b60;
    font-size: 0.8rem;
    line-height: 1.4;
}

.panel-public-status-action {
    grid-column: 2;
    width: fit-content;
    color: #7b5059;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.panel-public-status-action:hover {
    color: #633b44;
    text-decoration: underline;
}

.panel-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
    margin-top: 0.25rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(150, 104, 113, 0.2);
    border-radius: 10px;
    background: #fff7f8;
    color: #633b44;
}

.panel-preview-status-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffd9df;
    color: #7b5059;
}

.panel-preview-status-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.panel-preview-status strong,
.panel-preview-status small {
    display: block;
}

.panel-preview-status strong {
    font-size: 0.82rem;
    line-height: 1.3;
}

.panel-preview-status small {
    margin-top: 0.1rem;
    color: #7a666b;
    font-size: 0.72rem;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .panel-public-status {
        max-width: 430px;
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .panel-public-status-action {
        grid-column: auto;
        white-space: nowrap;
    }
}

/* Progress / Status Card */
.panel-progress-card {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(212, 194, 196, 0.2);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.08);
}

.panel-progress-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.panel-progress-card__head h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #1c1b1b;
    margin: 0 0 0.15rem;
}

.panel-progress-card__head p,
.panel-progress-card__copy {
    margin: 0;
    color: #615e59;
    font-size: 1rem;
}

.panel-progress-card__copy {
    color: #1c1b1b;
    margin-bottom: 1rem;
}

.panel-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e2e1;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0 0 1.5rem;
}

.panel-progress-bar-fill {
    height: 100%;
    background: #7b5059;
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.panel-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.panel-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #1c1b1b;
}

.panel-checklist-item.done {
    color: #1c1b1b;
}

.panel-checklist-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    fill: #766062;
}

.panel-checklist-item.done svg {
    fill: #7b5059;
}

.panel-progress-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    letter-spacing: 0.05em;
    text-transform: none;
}

/* Bento Cards Grid */
.panel-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* 2 columnas solo en tablet/desktop del panel; en móvil se apilan a ancho completo */
@media (min-width: 900px) {
    .panel-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-bento-card--works {
        grid-column: 1 / -1;
    }
}

.panel-bento-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border-radius: 12px;
    border: 1px solid rgba(212, 194, 196, 0.3);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: box-shadow 0.2s;
}

.panel-bento-card:hover {
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.08);
}

.panel-bento-card--info {
    background: rgba(231, 226, 220, 0.3);
}

.panel-bento-card--services {
    background: rgba(150, 104, 113, 0.1);
    border-color: rgba(123, 80, 89, 0.2);
}

.panel-bento-card--works {
    background: rgba(133, 111, 111, 0.1);
    border-color: rgba(107, 87, 87, 0.2);
}

.panel-bento-card--works::before {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(123, 80, 89, 0.05);
    filter: blur(24px);
    pointer-events: none;
}

.panel-bento-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.panel-bento-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #7b5059;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.panel-bento-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.panel-bento-icon--tertiary {
    color: #6b5757;
}

.panel-bento-card__body {
    position: relative;
    z-index: 1;
}

.panel-bento-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1c1b1b;
    margin: 0 0 0.35rem;
}

.panel-bento-card p {
    font-size: 0.875rem;
    color: #615e59;
    margin: 0;
    flex: 1;
    line-height: 1.45;
}

.panel-bento-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.panel-bento-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.panel-bento-badge--primary {
    background: #7b5059;
    color: #ffffff;
}

.panel-bento-badge--muted {
    background: #e5e2e1;
    color: #504446;
}

.panel-bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    min-height: 40px;
    padding: 0.25rem 0.35rem;
    border-radius: 9999px;
    color: #7b5059;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
}

.panel-bento-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.panel-bento-link:hover {
    background: rgba(123, 80, 89, 0.1);
}

.panel-bento-link--tertiary {
    color: #6b5757;
}

.panel-bento-link--tertiary:hover {
    background: rgba(107, 87, 87, 0.1);
}

.badge-upcoming {
    background: #e7e2dc;
    color: #67645f;
}

/* Profile preview */
.panel-preview-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1c1b1b;
    margin: 0 0 1rem;
}

.panel-preview-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(212, 194, 196, 0.2);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.08);
}

.panel-preview-thumb {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e2e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.panel-preview-thumb-fallback {
    color: #7b5059;
    font-size: 1.5rem;
    font-weight: 700;
}

.panel-preview-body {
    min-width: 0;
    flex: 1;
}

.panel-preview-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1c1b1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-preview-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0 0.75rem;
    color: #615e59;
    font-size: 0.875rem;
    min-width: 0;
}

.panel-preview-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: currentColor;
}

.panel-preview-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-width: 100%;
    min-width: 0;
}

.panel-preview-chips span {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    background: #e5e2e1;
    color: #504446;
    font-size: 0.6875rem;
    line-height: 1.35;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-preview-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid #7b5059;
    border-radius: 8px;
    color: #7b5059;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.2s;
}

.panel-preview-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.panel-preview-cta:hover {
    background: rgba(123, 80, 89, 0.05);
}

/* Tip card */
.panel-tip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 194, 196, 0.2);
    background: linear-gradient(135deg, #eae7e7 0%, #f6f3f2 100%);
}

@media (min-width: 640px) {
    .panel-tip-card {
        flex-direction: row;
        text-align: left;
    }
}

.panel-tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(123, 80, 89, 0.1);
    color: #7b5059;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panel-tip-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.panel-tip-copy {
    flex: 1;
}

.panel-tip-copy h3 {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1c1b1b;
}

.panel-tip-copy p {
    margin: 0;
    font-size: 0.875rem;
    color: #615e59;
}

.panel-tip-link {
    color: #7b5059;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem;
    flex-shrink: 0;
}

.panel-tip-link:hover {
    text-decoration: underline;
}

.panel-footer {
    margin-top: auto;
    border-top: 1px solid rgba(212, 194, 196, 0.3);
    padding: 1.5rem 1rem;
    background: #fcf9f8;
    text-align: center;
}

.panel-footer p {
    margin: 0 0 1rem;
    color: #615e59;
    font-size: 0.875rem;
}

.panel-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

.panel-footer-links a {
    color: #615e59;
    font-size: 0.875rem;
    text-decoration: none;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem;
}

.panel-footer-links a:hover {
    color: #7b5059;
}

.panel-footer-links span {
    color: #d4c2c4;
}

/* Directory Professionals Page Styles */
.directory-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .directory-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2.5rem;
    }
}

.directory-sidebar {
    background: #e7e2dc;
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 5rem;
}

@media (max-width: 1023px) {
    .directory-sidebar {
        display: none;
    }
}

/* Directory Bottom Sheet Filter Modal for Mobile */
.filter-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(49, 17, 26, 0.5);
    backdrop-filter: blur(2px);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filter-modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.filter-modal-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    background: #fcf9f8;
    border-radius: 20px 20px 0 0;
    z-index: 55;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 24px rgba(109, 89, 89, 0.2);
}

.filter-modal-sheet.open {
    transform: translateY(0);
}

.filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(212, 194, 196, 0.4);
}

.filter-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(212, 194, 196, 0.4);
    display: flex;
    gap: 1rem;
    background: #fcf9f8;
}

.filter-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: #e5e2e1;
    color: #504446;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-pill a {
    color: #504446;
    text-decoration: none;
    font-weight: 700;
    margin-left: 0.2rem;
}

.filter-pill a:hover {
    color: #7b5059;
}

.directory-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1c1b1b;
    margin: 0 0 0.5rem;
}

/* Public Professional Profile Styles */
.public-profile-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .public-profile-container {
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: 2.5rem;
    }

    .mobile-only-header {
        display: none !important;
    }
}

.public-profile-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(212, 194, 196, 0.4);
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.05);
    height: fit-content;
    position: sticky;
    top: 5rem;
}

@media (max-width: 1023px) {
    .public-profile-sidebar {
        display: none;
    }
}

.read-more {
    margin: 0 0 0.35rem;
}

.read-more__text {
    margin: 0;
    font-size: 0.9rem;
    color: #504446;
    line-height: 1.5;
    white-space: pre-line;
}

.read-more__text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--read-more-lines, 3);
    overflow: hidden;
    white-space: normal;
}

.read-more__toggle {
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.read-more__toggle:hover,
.read-more__toggle:focus-visible {
    color: var(--color-primary-hover);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .bento-gallery {
        grid-template-columns: repeat(4, 1fr);
        height: 380px;
    }
    .bento-gallery__primary {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.bento-gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #e5e2e1;
}

@media (min-width: 640px) {
    .bento-gallery__item {
        aspect-ratio: auto;
        height: 100%;
    }
}

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

/* Panel Services Management Styles */
.service-item-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(212, 194, 196, 0.4);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(109, 89, 89, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 768px) {
    .service-item-card {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
    }
}

.service-item-card.dragging {
    opacity: 0.5;
    border-style: dashed;
    border-color: #7b5059;
}

.drag-handle-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.drag-handle {
    cursor: grab;
    color: #766062;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.reorder-btn {
    background: #f6f3f2;
    border: 1px solid rgba(212, 194, 196, 0.4);
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    color: #504446;
    font-size: 0.8rem;
    cursor: pointer;
}

.reorder-btn:hover {
    background: #e7e2dc;
    color: #1c1b1b;
}

.service-actions-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .service-actions-grid {
        margin-top: 0;
        margin-left: auto;
        justify-content: flex-end;
    }
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffd9df;
    color: #7b5059;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Extranet shell (admin)                                                     */
/* -------------------------------------------------------------------------- */

.extranet-body {
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.extranet-body.extranet-nav-open {
    overflow: hidden;
}

.extranet-header {
    background: var(--color-surface);
    border-bottom: 1px solid rgba(212, 194, 196, 0.55);
    color: var(--color-text-main);
    position: sticky;
    top: 0;
    z-index: 40;
}

.extranet-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    min-height: 3.5rem;
}

.extranet-header__left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.extranet-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(123, 80, 89, 0.22);
    border-radius: 8px;
    background: transparent;
    color: #1c1b1b;
    cursor: pointer;
    flex-shrink: 0;
}

.extranet-menu-toggle:hover {
    background: rgba(115, 81, 88, 0.08);
    color: #735158;
}

.extranet-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    text-decoration: none;
    color: var(--color-text-main);
}

.extranet-brand__logo {
    width: 110px;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.extranet-brand__badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #fce7f3;
    color: #9d174d;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
}

.extranet-header__actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.extranet-header__user {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-muted);
    max-width: 10rem;
    min-width: 0;
}

.extranet-header__user strong {
    color: var(--color-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.extranet-header__link {
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}

.extranet-header__link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.extranet-header__logout {
    color: #ba1a1a;
    background: none;
    border: none;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    font-weight: 500;
}

.extranet-header__logout:hover {
    text-decoration: underline;
}

.extranet-shell {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 0;
    position: relative;
}

.extranet-overlay {
    display: none;
}

.extranet-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid var(--color-border);
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extranet-sidebar__mobile-top,
.extranet-sidebar__mobile-actions {
    display: none;
}

.extranet-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.extranet-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.extranet-nav-link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.extranet-nav-link:hover {
    background: #f1f5f9;
}

.extranet-nav-link.is-active {
    background: #ffd9df;
    color: #7b5059;
    font-weight: 600;
}

.extranet-main {
    flex: 1;
    min-width: 0;
    padding: 1.25rem 1rem 2rem;
}

.extranet-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.extranet-metric-card {
    padding: 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: none;
}

.extranet-metric-card h2 {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin: 0;
}

.extranet-metric-card p {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.35rem 0;
}

.extranet-queues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
}

.extranet-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #0f172a;
    border-radius: 8px;
    cursor: pointer;
}

.extranet-icon-btn:hover {
    background: #e2e8f0;
}

.extranet-sidebar__logout {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

@media (max-width: 899px) {
    .extranet-menu-toggle {
        display: inline-flex;
    }

    .extranet-header__actions {
        display: none;
    }

    .extranet-brand__logo {
        width: 96px;
    }

    .extranet-shell {
        display: block;
        max-width: none;
    }

    .extranet-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 45;
    }

    .extranet-overlay[hidden] {
        display: none !important;
    }

    .extranet-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(20rem, 88vw);
        z-index: 50;
        padding: 1rem;
        border-right: 1px solid var(--color-border);
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.18);
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        overflow-y: auto;
    }

    .extranet-sidebar.is-open {
        transform: translateX(0);
    }

    .extranet-sidebar__mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--color-border);
    }

    .extranet-sidebar__user-mobile {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        font-size: 0.9rem;
        color: var(--color-text-muted);
        min-width: 0;
    }

    .extranet-sidebar__user-mobile strong {
        color: var(--color-text-main);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .extranet-sidebar__mobile-actions {
        display: grid;
        gap: 0.5rem;
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
    }

    .extranet-main {
        width: 100%;
        padding: 0;
    }

    .extranet-main > .alert {
        margin: 0.75rem 0.75rem 0;
    }

    .extranet-main > .card {
        padding: 1.1rem 0.9rem 1.35rem;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .extranet-main .title {
        font-size: 1.35rem;
        line-height: 1.25;
        word-break: break-word;
    }

    .extranet-header {
        width: 100%;
    }

    .extranet-header__inner {
        max-width: none;
    }

    .extranet-metrics {
        gap: 0.75rem;
        margin-bottom: 1.15rem;
    }

    .extranet-metric-card {
        padding: 0.95rem;
    }
}

@media (max-width: 480px) {
    .extranet-brand__badge {
        display: none;
    }

    .extranet-header__inner {
        padding: 0.55rem 0.75rem;
    }

    .extranet-main > .card {
        padding: 1rem 0.85rem 1.25rem;
    }

    .extranet-main .description {
        font-size: 0.95rem;
    }

    .extranet-metric-card p {
        font-size: 1.75rem;
    }

    .extranet-main .form-control {
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
}

.extranet-main > .card {
    max-width: 100%;
    box-sizing: border-box;
}

.extranet-main .card img {
    max-width: 100%;
    height: auto;
}

.extranet-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.extranet-body {
    overflow-x: hidden;
}
