/* ==========================================================================
   Yo!Place Core — Portal da Empresa v0.9.6
   Design: GetNinjas-inspired | Mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
body.yoplace-portal-page::before {
    content: none !important;
}

.yoplace-company-portal,
.yp-portal-access {
    visibility: visible;
}

html.yoplace-portal-document,
body.yoplace-portal-page,
body:has(.yoplace-company-portal),
.yoplace-company-portal,
.yoplace-card {
    --yp-color-primary:   #2563eb;
    --yp-color-primary-hover:#1d4ed8;
    --yp-color-accent:    #ffd21f;
    --yp-color-bg:        #f4f7fb;
    --yp-color-surface:   #ffffff;
    --yp-color-surface-muted:#f4f6fa;
    --yp-color-border:    #e4e7ec;
    --yp-color-text:      #0f172a;
    --yp-color-text-muted:#64748b;
    --yp-color-success:   #16a34a;
    --yp-color-warning:   #d97706;
    --yp-color-danger:    #dc2626;
    --yp-color-info:      #2563eb;
    --yp-color-focus-ring:#93c5fd;
    --yp-yellow:         #facc15; /* yellow-400 */
    --yp-yellow-dark:    #ca8a04; /* yellow-600 */
    --yp-yellow-bg:      #fef9c3; /* yellow-100 */
    --yp-blue:           #2563eb; /* blue-600 */
    --yp-blue-hover:     #1d4ed8; /* blue-700 */
    --yp-blue-bg:        #eff6ff; /* blue-50 */
    --yp-green:          #10b981; /* emerald-500 */
    --yp-green-dark:     #047857; /* emerald-700 */
    --yp-green-bg:       #ecfdf5; /* emerald-50 */
    --yp-red:            #ef4444; /* red-500 */
    --yp-red-bg:         #fef2f2; /* red-50 */
    --yp-orange:         #f97316; /* orange-500 */
    --yp-orange-bg:      #fff7ed; /* orange-50 */
    --yp-gray-0:         #ffffff;
    --yp-gray-50:        #f8fafc; /* slate-50 */
    --yp-gray-100:       #f1f5f9; /* slate-100 */
    --yp-gray-200:       #e2e8f0; /* slate-200 */
    --yp-gray-300:       #cbd5e1; /* slate-300 */
    --yp-gray-400:       #94a3b8; /* slate-400 */
    --yp-gray-500:       #64748b; /* slate-500 */
    --yp-gray-700:       #334155; /* slate-700 */
    --yp-gray-900:       #0f172a; /* slate-900 */
    --yp-sidebar-bg:     #0f172a; /* slate-900 */
    --yp-sidebar-border: #1e293b; /* slate-800 */
    --yp-sidebar-w:      280px;
    --yp-topbar-h:       72px;
    --yp-bottom-nav-h:   64px;
    --yp-radius-xs:      6px;
    --yp-radius-sm:      8px;
    --yp-radius-md:      12px;
    --yp-radius-lg:      16px;
    --yp-radius-xl:      20px;
    --yp-radius-pill:    999px;
    --yp-space-1:        4px;
    --yp-space-2:        8px;
    --yp-space-3:        12px;
    --yp-space-4:        16px;
    --yp-space-5:        20px;
    --yp-space-6:        24px;
    --yp-space-8:        32px;
    --yp-space-10:       40px;
    --yp-shadow-xs:      0 1px 2px rgba(0,0,0,0.02);
    --yp-shadow-sm:      0 1px 3px 0 rgba(0,0,0,0.05);
    --yp-shadow-md:      0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --yp-shadow-lg:      0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --yp-shadow-drawer:  0 -4px 6px -1px rgba(0,0,0,0.05);
    --yp-shadow-action:  0 -4px 6px -1px rgba(0,0,0,0.05);
    --yp-transition:     .2s cubic-bezier(.4,0,.2,1);
    --yp-transition-fast:.15s ease-in-out;
    --yp-font:           "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --yp-font-family:    var(--yp-font);
    --yp-font-size-2xs:  11px;
    --yp-font-size-xs:   12px;
    --yp-font-size-2sm:  13px;
    --yp-font-size-sm:   14px;
    --yp-font-size-base: 16px;
    --yp-font-size-lg:   18px;
    --yp-font-size-xl:   20px;
    --yp-font-size-2xl:  24px;
    --yp-z-modal:        2147483600;
    --yp-z-drawer:       2147483500;
    /* Premium accent tokens (Phase 2 refinement) */
    --yp-radius-card:    12px;
    --yp-discount:       #fc8849;
    --yp-discount-dark:  #e87032;
    --yp-referral:       #0066ff;
    --yp-cta-green:      #16a34a;
    --yp-cta-green-hover:#15803d;
}

/* --------------------------------------------------------------------------
   31. Cadastro e login de empresas parceiras
   -------------------------------------------------------------------------- */
body.yoplace-company-auth-page {
    margin: 0;
    background: #f5f8fc;
    overflow-x: clip;
}

body.yoplace-company-auth-page > .wp-site-blocks > header.wp-block-template-part,
body.yoplace-company-auth-page > .wp-site-blocks > footer.wp-block-template-part,
body.yoplace-company-auth-page .wp-block-post-title,
body.yoplace-company-auth-page #site-header,
body.yoplace-company-auth-page #site-footer,
body.yoplace-company-auth-page .page-header { display: none !important; }

body.yoplace-company-auth-page main#wp--skip-link--target {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}

body.yoplace-company-auth-page main#content.site-main,
body.yoplace-company-auth-page main#content.site-main > .page-content {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}

body.yoplace-company-auth-page main#wp--skip-link--target > * {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.yoplace-company-auth-page main#wp--skip-link--target > .wp-block-group,
body.yoplace-company-auth-page .entry-content.wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Block themes constrain direct post-content children with !important rules. */
body.yoplace-company-auth-page .entry-content.wp-block-post-content > .yoplace-company-auth {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}.yoplace-company-auth {
    --yp-auth-blue: #1570ef;
    --yp-auth-blue-hover: #175cd3;
    --yp-auth-navy: #0f172a;
    --yp-auth-copy: #475467;
    --yp-auth-muted: #64748b;
    --yp-auth-border: #e2e8f0;
    --yp-auth-input-border: #d0d5dd;
    --yp-auth-surface: #ffffff;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    background-image:
        radial-gradient(ellipse 90% 70% at 50% 45%, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.68) 55%, rgba(248, 250, 252, 0.85) 100%),
        url('../images/auth-bg-brasilia.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--yp-auth-navy);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding: 40px 16px 24px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.hello-elementor-default.yoplace-company-auth-page .yoplace-company-auth {
    width: 100%;
    margin-left: 0;
}

.yoplace-company-auth,
.yoplace-company-auth * { box-sizing: border-box; }

/* Centered brand mark above card (Stripe / Linear pattern) */
.yp-auth-header {
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.yp-auth-header-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto !important;
    padding: 0 !important;
}

.yp-auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 150ms ease;
}

.yp-auth-logo:hover {
    opacity: 0.85;
}

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

.yp-auth-header-link {
    display: none !important;
}

.yp-auth-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: auto;
}

.yp-auth-layout {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow:
        0 1px 3px 0 rgba(16, 24, 40, 0.04),
        0 6px 16px -2px rgba(16, 24, 40, 0.04),
        0 24px 40px -12px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    transition: max-width 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.yp-auth-layout:has(.yp-company-register-form) {
    max-width: 520px;
}

.yp-auth-aside {
    display: none !important;
}

.yp-auth-card {
    min-width: 0;
    padding: 32px 32px 36px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.yp-auth-card,
.yp-auth-aside,
.yp-auth-panel,
.yp-company-register-form,
.yp-company-register-form fieldset { max-width: 100%; }

/* Apple/Linear Segmented Control */
.yp-auth-tabs {
    display: grid;
    width: 100%;
    margin-bottom: 24px;
    padding: 3px;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #f1f5f9;
}

.yp-auth-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font: 500 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 140ms ease;
    user-select: none;
}

.yp-auth-tab:hover:not(.is-active) {
    color: #0f172a;
}

.yp-auth-tab.is-active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.yp-auth-tab:focus-visible { outline: 2px solid var(--yp-auth-blue); outline-offset: 1px; }
.yp-auth-panel { display: none; }
.yp-auth-panel.is-active { display: block; }

/* Microcopy & Typographic Hierarchy */
.yp-auth-card-heading {
    margin-bottom: 22px;
}

.yp-auth-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1570ef;
    margin-bottom: 6px;
}

.yp-auth-card-heading h1,
#yp-login-title,
#yp-auth-title,
.yp-auth-connected h1,
.yp-auth-empty h1 {
    max-width: 100%;
    margin: 0 0 6px;
    color: var(--yp-auth-navy);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.yp-auth-card-heading p,
.yp-auth-connected p,
.yp-auth-empty p {
    margin: 0;
    color: var(--yp-auth-copy);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
}

/* Linear-grade Stepper Progress */
.yp-register-progress {
    display: grid;
    margin: 0 0 20px;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    list-style: none;
}

.yp-register-progress li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yp-register-progress li span {
    display: block;
    width: 100%;
    height: 4px;
    border: none;
    border-radius: 9999px;
    background: #e2e8f0;
    color: transparent;
    font-size: 0;
    transition: background-color 200ms ease;
}

.yp-register-progress li small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #94a3b8;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 200ms ease;
}

.yp-register-progress li.is-active span,
.yp-register-progress li.is-complete span {
    background: #1570ef;
}

.yp-register-progress li.is-active small {
    color: #1570ef;
    font-weight: 600;
}

.yp-register-progress li.is-complete small {
    color: #475467;
}

.yp-register-progressbar {
    display: none !important;
}

/* Fieldsets & Labels */
.yp-company-register-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.yp-company-register-form fieldset[hidden] { display: none; }
.yp-company-register-form legend {
    margin: 0;
    padding: 0;
    color: var(--yp-auth-navy);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: block;
    width: 100%;
}

.yp-step-copy {
    max-width: 100%;
    margin: 3px 0 16px;
    color: var(--yp-auth-muted);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

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

.yp-auth-field,
.yp-code-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 6px;
    margin-bottom: 16px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.yp-auth-field b {
    color: #ef4444;
    font-weight: 500;
    font-size: 12px;
    margin-left: 2px;
}

.yp-login-form .yp-auth-field b {
    display: none;
}

.yp-auth-field input,
.yp-code-field input,
.yp-company-register-form input[type="text"],
.yp-company-register-form input[type="email"],
.yp-company-register-form input[type="tel"],
.yp-company-register-form input[type="password"] {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: var(--yp-auth-navy);
    font: 400 14px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    box-sizing: border-box;
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.yp-auth-field input::placeholder,
.yp-code-field input::placeholder,
.yp-company-register-form input::placeholder {
    color: #98a2b3;
    font-size: 13.5px;
    opacity: 1;
}

.yp-auth-field input:hover,
.yp-code-field input:hover,
.yp-company-register-form input:hover {
    border-color: #98a2b3;
}

.yp-auth-field input:focus,
.yp-code-field input:focus,
.yp-company-register-form input:focus {
    border-color: var(--yp-auth-blue) !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.12), 0 1px 2px rgba(16, 24, 40, 0.04) !important;
}

.yp-code-field {
    max-width: 260px;
    margin: 12px auto 0;
}

.yp-code-field input {
    height: 54px;
    min-height: 54px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.yp-auth-consent {
    display: flex;
    margin-top: 14px;
    align-items: flex-start;
    gap: 8px;
    color: #475467;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

.yp-auth-consent input,
.yp-login-tools input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--yp-auth-blue);
    cursor: pointer;
    border-radius: 4px;
}

.yp-auth-consent a,
.yp-login-tools a {
    color: var(--yp-auth-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 120ms ease;
}

.yp-auth-consent a:hover,
.yp-login-tools a:hover {
    color: var(--yp-auth-blue-hover);
    text-decoration: underline;
}

.yp-password-hint {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
}

.yp-registration-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

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

.yp-registration-address-heading > div { display: grid; gap: 2px; }
.yp-registration-address-heading strong { color: var(--yp-auth-navy); font-size: 14px; font-weight: 600; }
.yp-registration-address-heading span { color: #64748b; font-size: 12px; font-weight: 400; line-height: 1.4; }
.yp-registration-address-heading .yp-private-label {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid #cce9df;
    border-radius: 9999px;
    background: #f0fbf7;
    color: #08785c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.yp-registration-cep-row {
    display: grid;
    max-width: 420px;
    grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
    align-items: end;
    gap: 14px;
}

.yp-cep-context {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.yp-registration-radius {
    display: grid;
    max-width: 100%;
    margin-top: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(200px, .7fr);
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.yp-registration-radius > span { display: grid; gap: 2px; }
.yp-registration-radius strong { color: var(--yp-auth-navy); font-size: 13px; font-weight: 600; }
.yp-registration-radius small { color: #64748b; font-size: 11.5px; line-height: 1.4; }
.yp-registration-radius > div { display: grid; grid-template-columns: 1fr 54px; align-items: center; gap: 8px; }
.yp-registration-radius input { width: 100%; accent-color: var(--yp-auth-blue); cursor: pointer; }
.yp-registration-radius output { color: var(--yp-auth-blue); font-size: 12px; font-weight: 700; text-align: right; }

.yp-inline-status { min-height: 18px; margin-top: 10px; color: #64748b; font-size: 12px; font-weight: 500; }
.yp-inline-status.is-error { color: #d92d20; }
.yp-inline-status.is-success { color: #08785c; }

.yp-resend-row { display: flex; min-height: 24px; margin-top: 10px; align-items: center; gap: 12px; color: #64748b; font-size: 12px; }
.yp-link-button {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--yp-auth-blue);
    font: 600 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
    cursor: pointer;
}
.yp-link-button:hover { text-decoration: underline; }
.yp-link-button:disabled { color: #9aa7ba; cursor: default; }

/* Action Buttons (Linear / Stripe Tactile Finish) */
.yp-company-register-form .yoplace-step-actions {
    display: flex;
    margin-top: 24px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.yp-company-register-form .yoplace-step-actions:has(> button:only-child) button,
.yp-company-register-form .yoplace-step-actions button[data-send-email-code] {
    width: 100%;
}

.yp-company-register-form button:not(.yp-link-button),
.yp-login-submit,
.yp-auth-primary-link {
    display: inline-flex;
    height: 42px;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid #0d63dc;
    border-radius: 8px;
    background: linear-gradient(180deg, #1570ef 0%, #0d63dc 100%);
    color: #ffffff;
    font: 600 14px/1 Inter, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.01em;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    cursor: pointer;
    user-select: none;
    transition: all 140ms ease;
}

.yp-company-register-form button:not(.yp-link-button):hover,
.yp-login-submit:hover,
.yp-auth-primary-link:hover {
    background: linear-gradient(180deg, #175cd3 0%, #0b57c4 100%);
    border-color: #0b57c4;
    box-shadow: 0 4px 12px -2px rgba(21, 112, 239, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.yp-company-register-form button:not(.yp-link-button):active,
.yp-login-submit:active,
.yp-auth-primary-link:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.yp-company-register-form button:focus-visible,
.yp-login-submit:focus-visible,
.yp-auth-primary-link:focus-visible { outline: 3px solid rgba(21, 112, 239, 0.25); outline-offset: 2px; }
.yp-company-register-form button:disabled { opacity: .62; cursor: wait; transform: none; }

.yp-company-register-form .yoplace-secondary,
.yp-company-register-form button[data-yoplace-prev] {
    height: 42px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #344054 !important;
    background: #ffffff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
    cursor: pointer;
    transition: all 140ms ease;
}

.yp-company-register-form .yoplace-secondary:hover,
.yp-company-register-form button[data-yoplace-prev]:hover {
    background: #f8fafc !important;
    border-color: #98a2b3 !important;
    color: #0f172a !important;
}

/* Service & Region Selectable Cards */
.yp-auth-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.yp-auth-option-grid .yoplace-option {
    display: flex;
    min-height: 60px;
    padding: 10px 12px;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: var(--yp-auth-navy);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.yp-auth-option-grid .yoplace-option:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.yp-auth-option-grid .yoplace-option.is-selected,
.yp-auth-option-grid .yoplace-option:has(input:checked) {
    border-color: var(--yp-auth-blue);
    background: #eff8ff;
    box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.08);
}

.yp-auth-option-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.yp-option-check {
    display: flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    background: #ffffff;
    color: transparent;
    font-size: 12px;
    font-weight: 800;
    transition: all 140ms ease;
}

.yoplace-option.is-selected .yp-option-check,
.yoplace-option:has(input:checked) .yp-option-check {
    border-color: var(--yp-auth-blue);
    background: var(--yp-auth-blue);
    color: #ffffff;
}

.yp-option-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.yp-option-copy strong { color: var(--yp-auth-navy); font-size: 13px; font-weight: 600; line-height: 1.3; }
.yp-option-copy small { color: #64748b; font-size: 11.5px; font-weight: 400; line-height: 1.35; }

.yp-login-form { display: grid; gap: 14px; }
.yp-login-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #475467;
    font-size: 13px;
    font-weight: 400;
    margin-top: -2px;
}
.yp-login-tools label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.yp-login-submit { width: 100%; margin-top: 4px; }

.yp-login-switch {
    margin: 14px 0 0;
    text-align: center;
    color: #475467;
    font-size: 13px;
}

.yp-auth-connected,
.yp-auth-empty { display: grid; min-height: 360px; align-content: center; justify-items: start; }
.yp-auth-connected-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; background: #e7fbf4; color: #08785c; font-size: 20px; font-weight: 800; }
.yp-auth-primary-link { margin-top: 20px; }

.yp-auth-card > .yoplace-message {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
}

.yp-auth-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    min-height: 40px;
    margin: 20px auto 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 640px) {
    .yp-auth-header { margin-bottom: 20px; }
    .yp-auth-logo img { height: 32px; }
    .yp-auth-card { padding: 24px 18px 28px; }
    .yp-auth-layout { border-radius: 14px; }
    .yp-auth-card-heading h1,
    .yp-auth-connected h1,
    .yp-auth-empty h1 { font-size: 20px; line-height: 1.25; }
    .yp-auth-card-heading h1,
    .yp-auth-connected h1,
    .yp-auth-empty h1,
    .yp-company-register-form legend { overflow-wrap: anywhere; }
    .yp-register-progress li small { display: none; }
    .yp-field-grid,
    .yp-auth-option-grid { grid-template-columns: 1fr; }
    .yp-code-field { max-width: none; }
    .yp-company-register-form .yoplace-step-actions { flex-direction: column-reverse; }
    .yp-company-register-form .yoplace-step-actions button { width: 100%; }
    .yp-registration-address-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .yp-registration-cep-row { max-width: none; grid-template-columns: 1fr; gap: 8px; }
    .yp-registration-radius { grid-template-columns: 1fr; gap: 12px; }
    .yp-cep-context { min-height: 0; }
    .yp-login-tools { align-items: flex-start; flex-direction: column; gap: 8px; }
    .yp-auth-footer { padding: 12px 0; }
}

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

/* --------------------------------------------------------------------------
   2. Reset Scoped
   -------------------------------------------------------------------------- */
.yoplace-company-portal,
.yoplace-company-portal * {
    box-sizing: border-box;
    font-family: var(--yp-font);
    -webkit-font-smoothing: antialiased;
}

.yoplace-company-portal [hidden] {
    display: none !important;
}

.yoplace-company-portal a { text-decoration: none; }

.yoplace-company-portal ul,
.yoplace-company-portal ol { list-style: none; padding: 0; margin: 0; }

.yoplace-company-portal button,
.yoplace-company-portal input,
.yoplace-company-portal select,
.yoplace-company-portal textarea {
    font-family: var(--yp-font);
}

.yoplace-company-portal button {
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

body.yoplace-portal-page,
body:has(.yoplace-company-portal) {
    margin: 0 !important;
    overflow: hidden;
    background: var(--yp-gray-50);
}

html.yoplace-portal-document {
    overflow: hidden;
    background: var(--yp-gray-50);
}

body.yoplace-portal-page .wp-site-blocks > header,
body.yoplace-portal-page .wp-site-blocks > footer,
body.yoplace-portal-page header.wp-block-template-part,
body.yoplace-portal-page footer.wp-block-template-part,
body.yoplace-portal-page .wp-block-post-title,
body:has(.yoplace-company-portal) .wp-site-blocks > header,
body:has(.yoplace-company-portal) .wp-site-blocks > footer,
body:has(.yoplace-company-portal) header.wp-block-template-part,
body:has(.yoplace-company-portal) footer.wp-block-template-part,
body:has(.yoplace-company-portal) .wp-block-post-title {
    display: none !important;
}

body.yoplace-portal-page :where(
    .wp-site-blocks,
    main,
    .wp-block-group,
    .wp-block-post-content,
    .entry-content,
    .wp-block-group__inner-container
) {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.yoplace-portal-page main {
    min-height: 100dvh;
}

body.admin-bar.yoplace-portal-page .yoplace-company-portal,
body.admin-bar.yoplace-portal-page .yp-sidebar,
body.admin-bar.yoplace-portal-page .yp-lead-drawer {
    height: calc(100dvh - 32px);
}

body.admin-bar.yoplace-portal-page .yoplace-company-portal,
body.admin-bar.yoplace-portal-page .yp-sidebar,
body.admin-bar.yoplace-portal-page .yp-lead-drawer {
    top: 32px;
}

/* --------------------------------------------------------------------------
   3. Shell (Layout raiz)
   -------------------------------------------------------------------------- */
.yoplace-company-portal {
    /* Override estilos herdados do .yoplace-card do wizard */
    all: initial;
    display: flex;
    min-height: 100dvh;
    background: var(--yp-gray-50);
    color: var(--yp-gray-900);
    font-family: var(--yp-font);
    -webkit-font-smoothing: antialiased;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    margin: 0 !important;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   4. Sidebar (desktop)
   -------------------------------------------------------------------------- */
.yp-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: var(--yp-sidebar-w);
    height: 100dvh;
    background: var(--yp-sidebar-bg);
    border-right: 1px solid var(--yp-sidebar-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--yp-transition);
}

/* Marca / Empresa */
.yp-sidebar-brand {
    padding: 20px 16px 16px;
    background: rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

.yp-brand-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--yp-yellow);
    letter-spacing: -.4px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yp-brand-logo-dot {
    width: 8px; height: 8px;
    background: var(--yp-yellow);
    border-radius: 50%;
    display: block;
    box-shadow: none;
}

.yp-sidebar-company {
    display: flex;
    align-items: center;
    gap: 11px;
}

.yp-avatar {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #1570ef;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.yp-company-info { min-width: 0; }

.yp-company-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.yp-company-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--yp-green);
    margin-top: 2px;
}

.yp-company-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--yp-green);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

/* Sidebar primary action & section label */
.yp-sidebar-actions {
    padding: 16px 14px 10px;
}

.yp-sidebar-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #1570ef;
    border-radius: 12px;
    background: #1570ef;
    color: #ffffff;
    font-family: var(--yp-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(21, 112, 239, 0.28);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.yp-sidebar-primary-action:hover {
    background: #175cd3;
    border-color: #175cd3;
    box-shadow: 0 4px 12px rgba(21, 112, 239, 0.36);
    transform: translateY(-1px);
}

.yp-sidebar-primary-action:active {
    transform: translateY(0);
}

.yp-sidebar-primary-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yp-sidebar-section-label {
    padding: 8px 18px 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Nav links */
.yp-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.yp-sidebar-nav::-webkit-scrollbar { display: none; }

.yp-sidebar-nav li { padding: 0 8px; margin-bottom: 1px; }

.yp-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: var(--yp-radius-sm);
    background: transparent;
    color: var(--yp-gray-400);
    font-family: var(--yp-font);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background var(--yp-transition), color var(--yp-transition);
    position: relative;
}

.yp-nav-link:focus-visible,
.yp-bottom-nav-item:focus-visible,
.yp-coins-pill:focus-visible,
.yp-topbar-toggle:focus-visible,
.yp-lead-card:focus-visible,
.yp-btn:focus-visible,
.yp-account-menu-item:focus-visible,
.yp-filter-btn:focus-visible {
    outline: 3px solid rgba(26,86,219,.35);
    outline-offset: 2px;
}

.yp-nav-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.yp-nav-link.is-active {
    background: #1e293b;
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #1570ef;
}

.yp-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.yp-nav-badge {
    margin-left: auto;
    background: #334155;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: var(--yp-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.yp-nav-badge--beta {
    background: rgba(37, 99, 235, 0.22);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1px 6px;
    height: 18px;
}

/* Footer — saldo */
.yp-sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

.yp-balance-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.yp-balance-value {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.yp-balance-value .yp-icon {
    color: #60a5fa;
}

.yp-balance-unit {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 4px;
}

.yp-sidebar-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
}

.yp-sidebar-logout:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   5. Overlay (mobile sidebar backdrop)
   -------------------------------------------------------------------------- */
.yp-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.yp-sidebar-overlay.is-visible { display: block; }

/* --------------------------------------------------------------------------
   6. Área de Conteúdo
   -------------------------------------------------------------------------- */
.yp-portal-content-area {
    margin-left: var(--yp-sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100dvh;
}

/* --------------------------------------------------------------------------
   7. Topbar
   -------------------------------------------------------------------------- */
.yp-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--yp-topbar-h);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: var(--yp-gray-0);
    border-bottom: 1px solid var(--yp-gray-200);
    box-shadow: var(--yp-shadow-xs);
    flex-shrink: 0;
}

.yp-topbar-toggle {
    display: none;
    width: 34px; height: 34px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--yp-radius-xs);
    font-size: 20px;
    color: var(--yp-gray-700);
    flex-shrink: 0;
    transition: background var(--yp-transition);
    position: relative;
}

.yp-topbar-toggle:hover { background: var(--yp-gray-100); }

.yp-topbar-toggle-dot {
    position: absolute;
    top: 5px; right: 5px;
    width: 8px; height: 8px;
    background: var(--yp-green);
    border-radius: 50%;
    border: 2px solid var(--yp-gray-0);
}

.yp-topbar-title {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--yp-gray-900);
}

.yp-coins-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background var(--yp-transition-fast), border-color var(--yp-transition-fast), box-shadow var(--yp-transition-fast);
}

.yp-coins-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

.yp-coins-pill-icon,
.yp-coins-pill-arrow {
    display: inline-flex;
    align-items: center;
    color: #1570ef;
}

/* --------------------------------------------------------------------------
   8. Área de Aviso
   -------------------------------------------------------------------------- */
.yp-notice-area { padding: 12px 16px 0; }

.yoplace-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--yp-radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    margin-bottom: 0;
}

.yoplace-message.is-success {
    background: var(--yp-green-bg);
    border-color: #86EFAC;
    color: #14532D;
}

.yoplace-message.is-error {
    background: var(--yp-red-bg);
    border-color: #FCA5A5;
    color: #7F1D1D;
}

/* --------------------------------------------------------------------------
   Componentes base escopados
   -------------------------------------------------------------------------- */
.yoplace-company-portal :where(
    .yp-button,
    .yp-button-primary,
    .yp-button-secondary,
    .yp-button-danger,
    .yp-button-ghost
),
.yoplace-company-portal .yp-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: var(--yp-space-2);
    padding: 0 var(--yp-space-4);
    border: 1px solid transparent;
    border-radius: var(--yp-radius-sm);
    font-family: var(--yp-font-family);
    font-size: var(--yp-font-size-2sm);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        color var(--yp-transition-fast),
        box-shadow var(--yp-transition-fast),
        transform var(--yp-transition-fast);
}

.yoplace-company-portal :where(.yp-button, .yp-button-primary),
.yoplace-company-portal .yp-btn-primary {
    background: var(--yp-color-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37,99,235,.16);
}

.yoplace-company-portal :where(.yp-button, .yp-button-primary):hover,
.yoplace-company-portal .yp-btn-primary:hover {
    background: var(--yp-color-primary-hover);
    transform: translateY(-1px);
}

.yoplace-company-portal :where(.yp-button-secondary, .yp-btn-secondary) {
    border-color: var(--yp-color-border);
    background: var(--yp-color-surface);
    color: var(--yp-color-text);
    box-shadow: var(--yp-shadow-sm);
}

.yoplace-company-portal :where(.yp-button-secondary, .yp-btn-secondary):hover {
    border-color: var(--yp-gray-300);
    background: var(--yp-color-surface-muted);
}

.yoplace-company-portal :where(.yp-button-danger, .yp-btn-danger) {
    background: var(--yp-color-danger);
    color: #fff;
    box-shadow: 0 8px 18px rgba(220,38,38,.14);
}

.yoplace-company-portal :where(.yp-button-danger, .yp-btn-danger):hover {
    background: #b91c1c;
}

.yoplace-company-portal .yp-button-ghost {
    background: transparent;
    color: var(--yp-color-text-muted);
}

.yoplace-company-portal .yp-button-ghost:hover {
    background: var(--yp-color-surface-muted);
    color: var(--yp-color-text);
}

.yoplace-company-portal :where(
    .yp-button,
    .yp-button-primary,
    .yp-button-secondary,
    .yp-button-danger,
    .yp-button-ghost
):focus-visible,
.yoplace-company-portal .yp-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(147,197,253,.42);
}

.yoplace-company-portal :where(
    .yp-button,
    .yp-button-primary,
    .yp-button-secondary,
    .yp-button-danger,
    .yp-button-ghost
):disabled,
.yoplace-company-portal .yp-btn:disabled,
.yoplace-company-portal :where(
    .yp-button,
    .yp-button-primary,
    .yp-button-secondary,
    .yp-button-danger,
    .yp-button-ghost
)[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
    box-shadow: none;
}

.yoplace-company-portal .yp-card,
.yoplace-company-portal .yp-kpi-card,
.yoplace-company-portal .yp-section,
.yoplace-company-portal .yp-empty-state {
    background: var(--yp-color-surface);
    border: 1px solid var(--yp-color-border);
    border-radius: var(--yp-radius-md);
    box-shadow: var(--yp-shadow-sm);
}

.yoplace-company-portal .yp-card,
.yoplace-company-portal .yp-section {
    padding: var(--yp-space-5);
}

.yoplace-company-portal .yp-kpi-card {
    display: grid;
    gap: var(--yp-space-2);
    padding: var(--yp-space-5);
}

.yoplace-company-portal .yp-kpi-card span {
    color: var(--yp-color-text-muted);
    font-size: var(--yp-font-size-2xs);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.yoplace-company-portal .yp-kpi-card strong {
    color: var(--yp-color-text);
    font-size: var(--yp-font-size-2xl);
    font-weight: 850;
    letter-spacing: -.035em;
}

.yoplace-company-portal .yp-alert,
.yoplace-company-portal .yp-modal {
    border-radius: var(--yp-radius-md);
    border: 1px solid var(--yp-color-border);
    background: var(--yp-color-surface);
    box-shadow: var(--yp-shadow-md);
}

.yoplace-company-portal .yp-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--yp-space-3);
    padding: var(--yp-space-4);
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: var(--yp-font-size-2sm);
    font-weight: 650;
}

.yoplace-company-portal .yp-alert.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #14532d;
}

.yoplace-company-portal .yp-alert.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #713f12;
}

.yoplace-company-portal .yp-alert.is-danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
}

.yoplace-company-portal .yp-input,
.yoplace-company-portal .yp-select,
.yoplace-company-portal .yp-textarea,
.yoplace-company-portal .yp-filter-input,
.yoplace-company-portal .yp-filter-select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--yp-color-border);
    border-radius: var(--yp-radius-sm);
    background: var(--yp-color-surface);
    color: var(--yp-color-text);
    font: inherit;
    outline: 0;
    transition: border-color var(--yp-transition-fast), box-shadow var(--yp-transition-fast), background-color var(--yp-transition-fast);
}

.yoplace-company-portal .yp-textarea {
    min-height: 108px;
    resize: vertical;
}

.yoplace-company-portal :where(.yp-input, .yp-select, .yp-textarea, .yp-filter-input, .yp-filter-select)::placeholder {
    color: #a5b4c7;
}

.yoplace-company-portal .yp-input:focus,
.yoplace-company-portal .yp-select:focus,
.yoplace-company-portal .yp-textarea:focus,
.yoplace-company-portal .yp-filter-input:focus,
.yoplace-company-portal .yp-filter-select:focus {
    border-color: var(--yp-color-primary);
    box-shadow: 0 0 0 4px rgba(147,197,253,.35);
}

.yoplace-company-portal .yp-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid var(--yp-color-border);
    border-radius: var(--yp-radius-xs);
    accent-color: var(--yp-color-primary);
}

.yoplace-company-portal .yp-badge {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 9px;
    border: 1px solid var(--yp-color-border);
    border-radius: var(--yp-radius-pill);
    background: var(--yp-color-surface-muted);
    color: var(--yp-color-text-muted);
    font-size: var(--yp-font-size-xs);
    font-weight: 750;
    line-height: 1;
}

.yoplace-company-portal .yp-badge.is-primary {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--yp-color-primary-hover);
}

.yoplace-company-portal .yp-badge.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.yoplace-company-portal .yp-badge.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.yoplace-company-portal .yp-badge.is-danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.yoplace-company-portal .yp-drawer {
    border-radius: var(--yp-radius-lg);
    border: 1px solid var(--yp-color-border);
    background: var(--yp-color-surface);
    box-shadow: var(--yp-shadow-drawer);
}

.yoplace-company-portal .yp-loading {
    min-height: 96px;
    display: grid;
    place-items: center;
    color: var(--yp-gray-500);
    font-size: 14px;
    font-weight: 700;
}

.yoplace-company-portal .yp-tabs {
    display: flex;
    align-items: center;
    gap: var(--yp-space-2);
    border-bottom: 1px solid var(--yp-color-border);
}

.yoplace-company-portal .yp-tabs [role="tab"],
.yoplace-company-portal .yp-tab {
    position: relative;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: var(--yp-color-text-muted);
    font-size: var(--yp-font-size-2sm);
    font-weight: 750;
}

.yoplace-company-portal .yp-tabs [aria-selected="true"],
.yoplace-company-portal .yp-tab.is-active {
    color: var(--yp-color-primary);
}

.yoplace-company-portal .yp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--yp-color-border);
    border-radius: var(--yp-radius-md);
    background: var(--yp-color-surface);
}

.yoplace-company-portal .yp-table th,
.yoplace-company-portal .yp-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--yp-color-border);
    color: var(--yp-color-text);
    font-size: var(--yp-font-size-2sm);
    text-align: left;
}

.yoplace-company-portal .yp-table th {
    background: var(--yp-color-surface-muted);
    color: var(--yp-color-text-muted);
    font-size: var(--yp-font-size-2xs);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.yoplace-company-portal .yp-empty-state {
    display: grid;
    min-height: 180px;
    place-items: center;
    gap: var(--yp-space-2);
    padding: var(--yp-space-6);
    border-style: dashed;
    color: var(--yp-color-text-muted);
    text-align: center;
}

.yoplace-company-portal .yp-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: var(--yp-radius-sm);
    background: #e8eef6;
}

.yoplace-company-portal .yp-skeleton::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    content: "";
    transform: translateX(-100%);
    animation: yp-skeleton 1.4s ease-in-out infinite;
}

.yoplace-company-portal .yp-action-bar,
.yoplace-company-portal .yp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--yp-space-3);
}

.yoplace-company-portal .yp-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--yp-space-4);
    margin: 0 0 var(--yp-space-5);
}

.yoplace-company-portal .yp-page-header h1,
.yoplace-company-portal .yp-page-header h2 {
    margin: 0;
    color: var(--yp-color-text);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 850;
    letter-spacing: -.035em;
}

.yoplace-company-portal .yp-page-header p {
    margin: 6px 0 0;
    color: var(--yp-color-text-muted);
    font-size: var(--yp-font-size-2sm);
}

.yoplace-company-portal .yp-form-group {
    display: grid;
    gap: var(--yp-space-2);
}

.yoplace-company-portal .yp-form-group > label,
.yoplace-company-portal .yp-form-label {
    color: var(--yp-color-text);
    font-size: var(--yp-font-size-2xs);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@keyframes yp-skeleton {
    to { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   9. Tab Content
   -------------------------------------------------------------------------- */
.yp-tab-content {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .32) transparent;
}

.yp-tab-section {
    display: none;
    min-height: 100%;
    overflow: visible;
    padding: 16px;
    padding-bottom: calc(var(--yp-bottom-nav-h) + 16px);
    animation: yp-fadeIn .2s ease;
    max-width: 760px;
    margin: 0 auto;
}

.yp-tab-section:has(.ypx-detail-shell) {
    height: 100%;
    overflow: hidden;
}

.yp-tab-section.is-active { display: block; }

@keyframes yp-fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section title */
.yp-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--yp-gray-900);
    margin: 0 0 14px;
}

/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------
   10. Tab: Oportunidades — Banner info & Banners & Controls
   -------------------------------------------------------------------------- */
.yp-info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--yp-blue-bg);
    border: 1px solid #BFDBFE;
    border-radius: var(--yp-radius-md);
    padding: 13px 14px;
    font-size: 13px;
    color: #1D4ED8;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17,103,216,.06);
}

.yp-info-banner-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.yp-info-banner-close {
    margin-left: auto;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.65);
    border: none;
    color: var(--yp-gray-400);
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    padding: 0;
    border-radius: var(--yp-radius-pill);
}

/* Alert banner */
.yp-alert-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: var(--yp-radius-md);
    margin-bottom: 24px;
    box-shadow: var(--yp-shadow-sm);
    position: relative;
    overflow: hidden;
}

.yp-alert-banner.warning {
    background-color: var(--yp-orange-bg);
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.yp-alert-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 96px;
    height: 96px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(20%, -20%);
}

.yp-alert-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yp-alert-icon {
    width: 24px;
    height: 24px;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yp-alert-icon svg {
    width: 100%;
    height: 100%;
}

.yp-alert-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yp-alert-content strong {
    font-size: 14.5px;
    font-weight: 700;
}

.yp-alert-content span {
    font-size: 13px;
    color: #c2410c;
    font-weight: 500;
}

.yp-alert-btn {
    background: #ea580c;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--yp-radius-sm);
    font-size: 13px;
    border: none;
    cursor: pointer;
    box-shadow: var(--yp-shadow-sm);
    transition: background var(--yp-transition), transform var(--yp-transition);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.yp-alert-btn:hover {
    background: #c2410c;
}

.yp-alert-btn:active {
    transform: scale(0.97);
}

/* Content subtabs */
.yp-content-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1.5px solid var(--yp-gray-200);
    margin-bottom: 24px;
}

.yp-content-tab {
    background: none;
    border: none;
    padding: 0 4px 12px 4px;
    margin-bottom: -1.5px;
    font-size: 15px;
    font-weight: 700;
    color: var(--yp-gray-400);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color var(--yp-transition), border-color var(--yp-transition);
}

.yp-content-tab:hover {
    color: var(--yp-gray-700);
}

.yp-content-tab.active {
    color: var(--yp-blue);
    border-bottom-color: var(--yp-blue);
}

/* Promo banners row */
.yp-banners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.yp-promo-banner {
    border-radius: var(--yp-radius-md);
    padding: 20px;
    color: #ffffff;
    box-shadow: var(--yp-shadow-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}

.yp-promo-banner.banner-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.yp-promo-banner.banner-blue::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    transform: translateX(30%);
}

.yp-promo-banner.banner-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.yp-promo-banner.banner-dark::before {
    content: '';
    position: absolute;
    right: 16px;
    top: 16px;
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.yp-promo-banner h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.yp-promo-banner p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.45;
}

.yp-banner-link,
.yp-banner-link-btn {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color var(--yp-transition);
}

.yp-promo-banner.banner-blue .yp-banner-link {
    color: var(--yp-yellow);
}

.yp-promo-banner.banner-blue .yp-banner-link:hover {
    color: #fef08a;
}

.yp-promo-banner.banner-dark .yp-banner-link-btn {
    color: #34d399;
}

.yp-promo-banner.banner-dark .yp-banner-link-btn:hover {
    color: #6ee7b7;
}

.yp-banner-link svg,
.yp-banner-link-btn svg {
    width: 14px;
    height: 14px;
}

/* Help banner */
.yp-help-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: rgba(239, 246, 255, 0.5);
    border: 1px solid #dbeafe;
    padding: 16px;
    border-radius: var(--yp-radius-md);
    margin-bottom: 24px;
    box-shadow: var(--yp-shadow-xs);
}

.yp-help-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yp-blue);
    flex-shrink: 0;
}

.yp-help-icon svg {
    width: 16px;
    height: 16px;
}

.yp-help-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yp-help-content strong {
    font-size: 14px;
    color: var(--yp-gray-900);
    font-weight: 700;
}

.yp-help-content p {
    margin: 0;
    font-size: 13px;
    color: var(--yp-gray-500);
    font-weight: 500;
    line-height: 1.5;
}

.yp-help-content strong.highlight-blue {
    color: #1d4ed8;
}

/* Location and filter bar */
.yp-filter-bar-ref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.yp-location-cep {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--yp-gray-200);
    padding: 10px 16px;
    border-radius: var(--yp-radius-md);
    font-size: 14px;
    color: var(--yp-gray-500);
    box-shadow: var(--yp-shadow-sm);
    font-weight: 500;
}

.yp-location-cep-icon {
    width: 16px;
    height: 16px;
    color: var(--yp-gray-400);
    flex-shrink: 0;
}

.yp-location-cep strong {
    color: var(--yp-gray-900);
    font-weight: 700;
}

.yp-cep-edit-btn {
    background: none;
    border: none;
    color: var(--yp-blue);
    font-weight: 700;
    font-size: 13px;
    margin-left: 12px;
    padding: 0;
    cursor: pointer;
    transition: color var(--yp-transition);
}

.yp-cep-edit-btn:hover {
    color: var(--yp-blue-hover);
}

.yp-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yp-filter-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    font-size: 13px;
    font-weight: 700;
    color: var(--yp-gray-700);
    cursor: pointer;
    box-shadow: var(--yp-shadow-sm);
    transition: background var(--yp-transition), border-color var(--yp-transition);
}

.yp-filter-action-btn:hover {
    background-color: var(--yp-gray-50);
}

.yp-filter-action-btn svg {
    width: 16px;
    height: 16px;
    color: var(--yp-gray-400);
}

/* Filter bar */
.yp-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.yp-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    background: var(--yp-gray-0);
    font-size: 13px;
    font-weight: 600;
    color: var(--yp-gray-700);
    cursor: pointer;
    box-shadow: var(--yp-shadow-xs);
    transition: border-color var(--yp-transition), background var(--yp-transition), color var(--yp-transition), box-shadow var(--yp-transition);
}

.yp-filter-btn:hover {
    border-color: #BFDBFE;
    background: var(--yp-blue-bg);
    color: var(--yp-blue);
    box-shadow: var(--yp-shadow-sm);
}

/* --------------------------------------------------------------------------
   11. Lead Card (GetNinjas style)
   -------------------------------------------------------------------------- */
.yp-leads-list { display: flex; flex-direction: column; gap: 16px; }

.yp-lead-card {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-card);
    overflow: hidden;
    box-shadow: var(--yp-shadow-sm);
    cursor: pointer;
    transition: border-color var(--yp-transition), box-shadow var(--yp-transition);
    display: flex;
    flex-direction: column;
}

.yp-lead-card:hover {
    border-color: var(--yp-gray-300);
    box-shadow: var(--yp-shadow-md);
}

.yp-lead-card-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

/* Badge row */
.yp-lead-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 26px;
}

.yp-lead-matched-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yp-gray-50);
    border: 1px solid var(--yp-gray-200);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--yp-gray-500);
}

.yp-lead-matched-time svg {
    width: 12px;
    height: 12px;
    color: var(--yp-gray-400);
}

/* Badges estilo protótipo */
.yp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.yp-badge svg {
    width: 12px;
    height: 12px;
}

.yp-badge-new {
    background: #ecfdf5; /* emerald-50 */
    border-color: #a7f3d0; /* emerald-200 */
    color: #047857; /* emerald-700 */
}

.yp-badge-urgent {
    background: #fef2f2; /* red-50 */
    border-color: #fca5a5; /* red-200 */
    color: #b91c1c; /* red-700 */
}

.yp-badge-expiring {
    background: #fff7ed; /* orange-50 */
    border-color: #fed7aa; /* orange-200 */
    color: #c2410c; /* orange-700 */
}

.yp-badge-exclusive {
    background: #eff6ff; /* blue-50 */
    border-color: #bfdbfe; /* blue-200 */
    color: #1d4ed8; /* blue-700 */
}

.yp-lead-card-category {
    font-size: 17px;
    font-weight: 700;
    color: var(--yp-gray-900);
    margin: 0 0 16px;
    line-height: 1.35;
    text-align: left;
}

/* Caixa interna cinza de metadados */
.yp-lead-card-box {
    background: rgba(248, 250, 252, 0.5); /* bg-gray-50/50 */
    border: 1px solid var(--yp-gray-100);
    border-radius: var(--yp-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yp-lead-box-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--yp-gray-700);
}

.yp-lead-box-row svg {
    width: 16px;
    height: 16px;
    color: var(--yp-gray-400);
    flex-shrink: 0;
}

.yp-box-arrow {
    color: var(--yp-gray-300) !important;
    margin: 0 4px;
}

.yp-lead-box-text {
    line-height: 1.4;
    text-align: left;
}

.yp-lead-box-divider {
    height: 1px;
    background: var(--yp-gray-200);
    margin: 4px 0;
    opacity: 0.7;
}

.yp-lead-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.yp-lead-cost-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #854d0e; /* yellow-800 */
}

.yp-lead-cost-info svg {
    width: 16px;
    height: 16px;
    color: #d97706; /* yellow-600 */
}

.yp-lead-countdown-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--yp-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.yp-lead-countdown-info svg {
    width: 14px;
    height: 14px;
    color: var(--yp-gray-400);
}

/* CTA button wrap */
.yp-lead-cta-wrap {
    margin-top: auto;
}

.yp-lead-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--yp-radius-sm);
    border: none;
    cursor: pointer;
    transition: background var(--yp-transition), box-shadow var(--yp-transition);
}

.yp-cta-green {
    background: #16a34a; /* emerald-600 */
    color: #fff;
}

.yp-cta-green:hover {
    background: #15803d; /* emerald-700 */
}

.yp-cta-blue {
    background: var(--yp-blue);
    color: #fff;
}

.yp-cta-blue:hover {
    background: var(--yp-blue-hover);
}

.yp-cta-default {
    background: #fef2f2; /* red-50 */
    border: 1px solid #fca5a5; /* red-200 */
    color: #b91c1c; /* red-700 */
}

.yp-cta-default:hover {
    background: #fee2e2; /* red-100 */
}

/* Card staggered entry animation (Phase 2 refinement) */
@keyframes yp-card-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.yp-lead-card.yp-card-enter {
    animation: yp-card-in .35s cubic-bezier(.16,1,.3,1) both;
    animation-delay: var(--yp-card-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
    .yp-lead-card.yp-card-enter {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   12. Lead Detail Drawer (slide-up sheet)
   -------------------------------------------------------------------------- */
.yp-lead-drawer {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vh, 56px) 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s ease;
}

.yp-lead-drawer.is-open {
    pointer-events: auto;
    opacity: 1;
}

.yp-lead-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}

.yp-lead-drawer-sheet {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 48px));
    max-width: 720px;
    max-height: min(780px, calc(100dvh - 88px));
    margin: 0;
    background: var(--yp-gray-0);
    border-radius: 28px;
    box-shadow: var(--yp-shadow-drawer);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(16px) scale(.98);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.yp-lead-drawer.is-open .yp-lead-drawer-sheet {
    transform: translateY(0) scale(1);
}

/* Drawer handle */
.yp-drawer-handle {
    width: 36px; height: 4px;
    background: var(--yp-gray-200);
    border-radius: 2px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

/* Drawer header */
.yp-lead-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--yp-gray-100);
    flex-shrink: 0;
}

.yp-drawer-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--yp-blue);
    padding: 0;
}

.yp-drawer-coins {
    font-size: 13px;
    font-weight: 700;
    color: var(--yp-gray-700);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.yp-drawer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.yp-drawer-nav-btn {
    border: 1px solid var(--yp-gray-200);
    background: var(--yp-gray-0);
    color: var(--yp-blue);
    border-radius: var(--yp-radius-pill);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 11px;
    cursor: pointer;
    transition: background var(--yp-transition), border-color var(--yp-transition), color var(--yp-transition);
}

.yp-drawer-nav-btn:hover:not(:disabled) {
    background: var(--yp-blue-bg);
    border-color: #bfdbfe;
}

.yp-drawer-nav-btn:disabled {
    color: var(--yp-gray-400);
    cursor: not-allowed;
    opacity: .65;
}

/* Drawer content */
.yp-lead-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.yp-drawer-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.yp-drawer-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--yp-gray-700);
}

.yp-drawer-chip-icon { font-size: 14px; }

.yp-drawer-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--yp-gray-900);
    margin: 0 0 18px;
    line-height: 1.3;
}

.yp-drawer-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.yp-drawer-summary-item {
    background: linear-gradient(180deg, #fff 0%, var(--yp-gray-50) 100%);
    border: 1px solid var(--yp-gray-200);
    border-radius: 16px;
    padding: 13px;
    min-width: 0;
}

.yp-drawer-summary-label {
    display: block;
    margin-bottom: 5px;
    color: var(--yp-gray-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.yp-drawer-summary-item strong {
    display: block;
    color: var(--yp-gray-900);
    font-size: 13px;
    line-height: 1.35;
}

.yp-drawer-section {
    border: 1px solid var(--yp-gray-200);
    border-radius: 18px;
    background: var(--yp-gray-0);
    margin-bottom: 14px;
    overflow: hidden;
}

.yp-drawer-section h4 {
    margin: 0;
    padding: 12px 14px;
    background: var(--yp-gray-50);
    border-bottom: 1px solid var(--yp-gray-100);
    color: var(--yp-gray-900);
    font-size: 14px;
    font-weight: 800;
}

.yp-drawer-detail-row {
    display: grid;
    grid-template-columns: minmax(128px, 190px) minmax(0, 1fr);
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--yp-gray-100);
    font-size: 14px;
    color: var(--yp-gray-700);
}

.yp-drawer-detail-row:last-child { border-bottom: none; }

.yp-drawer-detail-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.yp-drawer-detail-label { font-weight: 700; color: var(--yp-gray-400); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.yp-drawer-detail-value { font-weight: 600; color: var(--yp-gray-900); overflow-wrap: anywhere; }

.yp-client-privacy-section {
    border-color: #FACC15;
    background: #FFFBEB;
}

.yp-client-privacy-text {
    margin: 0;
    padding: 12px 14px;
    color: #92400E;
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid #FDE68A;
}

.yp-drawer-social-proof {
    background: var(--yp-green-bg);
    border: 1px solid #bbf7d0;
    color: var(--yp-green-dark);
    border-radius: var(--yp-radius-sm);
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.yp-drawer-notice {
    background: var(--yp-yellow-bg);
    border: 1px solid var(--yp-yellow-dark);
    border-radius: 14px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 500;
    color: var(--yp-gray-700);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Drawer footer */
.yp-lead-drawer-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--yp-gray-100);
    flex-shrink: 0;
    background: var(--yp-gray-0);
}

.yp-drawer-footer-actions {
    display: grid;
    grid-template-columns: minmax(140px, .75fr) minmax(180px, 1.25fr);
    gap: 10px;
}

.yp-drawer-confirm-box {
    background: var(--yp-yellow-bg);
    border: 1.5px solid var(--yp-yellow-dark);
    border-radius: var(--yp-radius-sm);
    padding: 12px;
    margin-bottom: 10px;
    display: none;
}

.yp-drawer-confirm-box.is-visible { display: block; }

.yp-drawer-confirm-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--yp-gray-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yp-drawer-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Drawer unlock button — green CTA to match protótipo (Phase 2) */
#yp-drawer-unlock-btn {
    background: var(--yp-cta-green);
    color: #fff;
}

#yp-drawer-unlock-btn:hover {
    background: var(--yp-cta-green-hover);
}

/* Redesigned Drawer Layout Components */
.yp-drawer-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .yp-drawer-highlights-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.yp-drawer-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    border-radius: var(--yp-radius-md);
    border: 1px solid transparent;
    text-align: center;
}

.yp-drawer-highlight-item.highlight-blue {
    background: var(--yp-blue-bg);
    border-color: #dbeafe;
    color: var(--yp-blue);
}

.yp-drawer-highlight-item.highlight-red {
    background: var(--yp-red-bg);
    border-color: #fee2e2;
    color: var(--yp-red);
}

.yp-drawer-highlight-item.highlight-green {
    background: var(--yp-green-bg);
    border-color: #d1fae5;
    color: var(--yp-green-dark);
}

.yp-highlight-icon {
    width: 20px;
    height: 20px;
}

.yp-highlight-text {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.yp-drawer-category-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--yp-gray-900);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.yp-drawer-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--yp-gray-50);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--yp-gray-500);
    margin-bottom: 24px;
}

.yp-time-icon {
    width: 14px;
    height: 14px;
}

.yp-drawer-client-card {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: var(--yp-shadow-sm);
}

.yp-client-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.yp-client-card-title h3 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--yp-gray-900) !important;
}

.yp-client-icon {
    width: 16px;
    height: 16px;
    color: var(--yp-gray-400);
}

.yp-client-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--yp-gray-100);
    text-align: center;
}

.yp-client-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.yp-client-kpi-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.yp-client-kpi-badge.badge-yellow {
    background: var(--yp-yellow-bg);
    border-color: #fef08a;
    color: var(--yp-yellow-dark);
}

.yp-client-kpi-badge.badge-blue {
    background: var(--yp-blue-bg);
    border-color: #bfdbfe;
    color: var(--yp-blue);
}

.yp-client-kpi-badge.badge-green {
    background: var(--yp-green-bg);
    border-color: #a7f3d0;
    color: var(--yp-green-dark);
}

.yp-client-kpi-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--yp-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yp-client-kpi-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--yp-gray-900);
}

.yp-client-location {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yp-client-location-icon {
    width: 20px;
    height: 20px;
    color: var(--yp-gray-400);
    flex-shrink: 0;
}

.yp-client-location-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--yp-gray-900);
}

.yp-client-location-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--yp-gray-500);
}

.yp-drawer-section {
    margin-bottom: 28px;
}

.yp-drawer-section-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--yp-gray-900) !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--yp-gray-100) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.yp-privacy-banner {
    background: var(--yp-yellow-bg);
    border-left: 4px solid var(--yp-yellow);
    border-radius: var(--yp-radius-xs);
    padding: 10px 14px;
    margin-bottom: 16px;
}

.yp-client-privacy-text {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--yp-yellow-dark) !important;
    line-height: 1.4 !important;
}

.yp-privacy-masked-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.yp-privacy-field {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--yp-gray-500);
}

.yp-privacy-field svg {
    color: var(--yp-gray-400);
    flex-shrink: 0;
}

.yp-drawer-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--yp-green-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--yp-radius-md);
    padding: 14px 16px;
    margin-top: 12px;
    color: var(--yp-green-dark);
    font-size: 13px;
    font-weight: 600;
}

.yp-social-proof-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Lock indicator + slots badge (Phase 2 refinement — protótipo) */
.yp-drawer-lock-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.yp-drawer-lock-wrap {
    position: relative;
    flex-shrink: 0;
}

.yp-drawer-lock-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--yp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yp-gray-0);
}

.yp-drawer-lock-circle svg {
    width: 18px;
    height: 18px;
    color: var(--yp-gray-900);
}

.yp-drawer-slots-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--yp-green);
    color: #fff;
    border-radius: 50%;
    border: 2px solid var(--yp-gray-0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.yp-drawer-lock-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--yp-green-dark);
    line-height: 1.4;
}

/* Discount banner (Phase 2 refinement — protótipo) */
.yp-drawer-discount-banner {
    position: relative;
    background: var(--yp-discount);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--yp-radius-sm);
    margin-top: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.yp-drawer-discount-banner span {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.yp-drawer-discount-deco {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
    transform: translateX(8px);
}

.yp-drawer-discount-deco span {
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 2px;
}

.yp-insufficient-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.yp-insufficient-modal.is-visible { display: flex; }

.yp-insufficient-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.58);
    backdrop-filter: blur(4px);
}

.yp-insufficient-card {
    position: relative;
    width: min(420px, 100%);
    background: var(--yp-gray-0);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 24px;
    box-shadow: var(--yp-shadow-lg);
    padding: 24px;
    text-align: center;
}

.yp-insufficient-icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yp-yellow-bg);
    color: var(--yp-yellow-dark);
    margin-bottom: 14px;
    font-size: 24px;
}

.yp-insufficient-card h3 {
    margin: 0 0 8px;
    color: var(--yp-gray-900);
    font-size: 20px;
    font-weight: 800;
}

.yp-insufficient-card p {
    margin: 0 0 18px;
    color: var(--yp-gray-500);
    font-size: 14px;
    line-height: 1.45;
}

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

/* --------------------------------------------------------------------------
   13. Botões
   -------------------------------------------------------------------------- */
.yp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: var(--yp-radius-sm);
    font-family: var(--yp-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background var(--yp-transition), transform var(--yp-transition), box-shadow var(--yp-transition);
}

.yp-btn:active { transform: scale(.98); }

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

.yp-btn-primary:hover {
    background: var(--yp-blue-hover);
    box-shadow: 0 4px 14px rgba(26,86,219,.4);
}

.yp-btn-outline {
    background: var(--yp-gray-0);
    color: var(--yp-gray-700);
    border-color: var(--yp-gray-200);
}

.yp-btn-outline:hover { background: var(--yp-gray-50); border-color: var(--yp-gray-400); }

.yp-btn-secondary {
    background: var(--yp-gray-0);
    color: var(--yp-gray-700);
    border-color: var(--yp-gray-200);
}

.yp-btn-secondary:hover {
    background: var(--yp-gray-50);
    border-color: var(--yp-gray-300);
}

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

.yp-btn-danger:hover {
    background: #B91C1C;
    box-shadow: 0 4px 14px rgba(220,38,38,.28);
}

.yp-btn-green {
    background: var(--yp-green-dark);
    color: #fff;
    border-color: var(--yp-green-dark);
}

.yp-btn-green:hover {
    background: #166534;
    box-shadow: 0 4px 14px rgba(21,128,61,.4);
}

.yp-btn-sm {
    min-height: 38px;
    font-size: 13px;
    padding: 7px 14px;
}

/* --------------------------------------------------------------------------
   14. Tab: Leads Desbloqueados (Meus Pedidos)
   -------------------------------------------------------------------------- */
.yp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.yp-kpi-card {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.yp-kpi-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--yp-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.yp-kpi-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--yp-gray-900);
}

.yp-filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.yp-filter-input, .yp-filter-select {
    padding: 8px 12px;
    border: 1px solid var(--yp-gray-300);
    border-radius: 4px;
    font-size: 13px;
    color: var(--yp-gray-900);
    background: var(--yp-gray-0);
    font-family: var(--yp-font);
}

.yp-filter-input { flex: 1; min-width: 200px; }
.yp-filter-select { min-width: 140px; }

.yp-filter-input:focus, .yp-filter-select:focus {
    outline: none;
    border-color: var(--yp-gray-900);
}

.yp-unlocked-list { display: flex; flex-direction: column; gap: 8px; }

.yp-list-card {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--yp-transition);
}

.yp-list-card:hover { border-color: var(--yp-gray-300); }

.yp-list-card-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
}

.yp-list-col { display: flex; flex-direction: column; gap: 3px; }
.yp-list-col.flex-1 { flex: 1; min-width: 160px; }

.yp-list-label {
    font-size: 11px;
    color: var(--yp-gray-500);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.yp-list-value { font-size: 13px; font-weight: 600; color: var(--yp-gray-900); }
.yp-list-value.customer-name { font-size: 14px; font-weight: 700; color: var(--yp-blue); }

.yp-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.yp-status-unlocked { background: var(--yp-green-bg); color: var(--yp-green-dark); border: 1px solid #bbf7d0; }
.yp-status-refund-pending { background: var(--yp-yellow-bg); color: var(--yp-yellow-dark); border: 1px solid #fef08a; }
.yp-status-refund-approved { background: var(--yp-gray-100); color: var(--yp-gray-700); border: 1px solid var(--yp-gray-300); }

.yp-list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.yp-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yp-green-dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--yp-transition);
}

.yp-btn-whatsapp:hover { background: #166534; }

.yp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yp-gray-0);
    color: var(--yp-gray-700);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--yp-gray-300);
    cursor: pointer;
    transition: background var(--yp-transition);
}

.yp-btn-secondary:hover { background: var(--yp-gray-50); }

.yp-icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.yp-access-icon {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yp-empty-svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yp-hero-icon,
.yp-info-card-icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reembolso colapsável novo */
.yp-refund-box {
    padding: 16px;
    border-top: 1px solid var(--yp-gray-100);
    background: var(--yp-gray-50);
    display: none;
}

.yp-refund-box.is-open { display: block; }

.yoplace-refund-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.yoplace-refund-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--yp-gray-700);
    flex: 1;
    min-width: 200px;
}

/* --------------------------------------------------------------------------
   15. Tab: Créditos
   -------------------------------------------------------------------------- */
.yp-credits-hero {
    background: linear-gradient(135deg, var(--yp-gray-900) 0%, #1e293b 100%);
    border-radius: var(--yp-radius-md);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--yp-shadow-md);
}

.yp-credits-hero-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--yp-gray-400);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.yp-credits-hero-value {
    font-size: 44px;
    font-weight: 800;
    color: var(--yp-yellow);
    line-height: 1;
}

.yp-credits-hero-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--yp-gray-400);
    margin-left: 5px;
}

.yp-credits-hero-icon { font-size: 52px; opacity: .18; }

/* Info card de créditos */
.yp-credits-info-card {
    background: var(--yp-blue-bg);
    border: 1px solid #C3DDFD;
    border-radius: var(--yp-radius-sm);
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.yp-credits-info-icon { font-size: 24px; flex-shrink: 0; }

.yp-credits-info-title { font-size: 13px; font-weight: 700; color: #1E3A8A; margin: 0 0 3px; }
.yp-credits-info-text  { font-size: 12px; font-weight: 400; color: #1E429F; margin: 0; }

.yp-credit-packages {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.yp-credit-packages-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--yp-gray-900);
}

.yp-credit-packages-head small {
    color: var(--yp-gray-400);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.yp-credit-package-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    box-shadow: var(--yp-shadow-sm);
}

.yp-credit-package-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--yp-gray-500);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.yp-credit-package-body strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--yp-gray-900);
    font-size: 24px;
    line-height: 1.1;
}

.yp-credit-package-body p {
    margin: 8px 0 0;
    color: var(--yp-gray-500);
    font-size: 13px;
    line-height: 1.45;
}

.yp-credit-package-cta {
    width: auto;
    min-width: 116px;
    text-decoration: none;
}

/* Tabela de transações */
.yp-section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--yp-gray-900);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yp-tx-list { display: flex; flex-direction: column; gap: 0; }

.yp-tx-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-100);
    border-bottom: none;
    transition: background var(--yp-transition);
}

.yp-tx-item:first-child { border-radius: var(--yp-radius-sm) var(--yp-radius-sm) 0 0; }
.yp-tx-item:last-child  { border-radius: 0 0 var(--yp-radius-sm) var(--yp-radius-sm); border-bottom: 1px solid var(--yp-gray-100); }
.yp-tx-item:only-child  { border-radius: var(--yp-radius-sm); border-bottom: 1px solid var(--yp-gray-100); }
.yp-tx-item:hover { background: var(--yp-gray-50); }

.yp-tx-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.yp-tx-icon.credit  { background: var(--yp-green-bg); }
.yp-tx-icon.debit   { background: var(--yp-red-bg); }
.yp-tx-icon.refund  { background: var(--yp-orange-bg); }

.yp-tx-info { flex: 1; min-width: 0; }
.yp-tx-type { font-size: 13px; font-weight: 600; color: var(--yp-gray-900); }
.yp-tx-date { font-size: 11px; color: var(--yp-gray-400); margin-top: 1px; }

.yp-tx-delta {
    font-size: 15px;
    font-weight: 800;
    text-align: right;
    flex-shrink: 0;
}

.yp-tx-delta.positive { color: var(--yp-green); }
.yp-tx-delta.negative { color: var(--yp-red); }

.yp-tx-balance { font-size: 11px; color: var(--yp-gray-400); text-align: right; margin-top: 1px; }

/* --------------------------------------------------------------------------
   16. Tab: Minha Conta
   -------------------------------------------------------------------------- */
.yp-account-hero {
    background: linear-gradient(135deg, var(--yp-yellow) 0%, #FFE55C 100%);
    border-radius: var(--yp-radius-md);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.yp-account-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--yp-gray-900);
    flex-shrink: 0;
}

.yp-account-name { font-size: 17px; font-weight: 800; color: var(--yp-gray-900); margin: 0 0 4px; }
.yp-account-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,.1);
    border-radius: var(--yp-radius-pill);
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--yp-gray-900);
}

/* Menu de conta */
.yp-account-menu {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    overflow: hidden;
    margin-bottom: 14px;
}

.yp-account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--yp-gray-100);
    cursor: pointer;
    transition: background var(--yp-transition);
    background: var(--yp-gray-0);
    border-left: none; border-right: none; border-top: none;
    width: 100%;
    font-family: var(--yp-font);
    text-align: left;
}

.yp-account-menu-item:last-child { border-bottom: none; }
.yp-account-menu-item:hover { background: var(--yp-gray-50); }
.yp-account-menu-item.is-selected { background: var(--yp-yellow-bg); }

.yp-account-menu-icon { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.yp-account-menu-label { flex: 1; font-size: 14px; font-weight: 600; color: var(--yp-gray-900); }
.yp-account-menu-chevron { color: var(--yp-gray-300); font-size: 14px; }

/* Seções de conta (colapsáveis) */
.yp-account-section {
    background: var(--yp-gray-0);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-md);
    overflow: hidden;
    margin-bottom: 12px;
    display: none;
}

.yp-account-section.is-open { display: block; }

.yp-account-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--yp-gray-900);
    border-bottom: 1px solid var(--yp-gray-100);
    background: var(--yp-gray-50);
}

.yp-account-section-body { padding: 14px 16px; }

/* DL de dados */
.yp-data-list { display: grid; gap: 12px; }

.yp-data-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    align-items: start;
}

.yp-data-label { font-size: 12px; font-weight: 700; color: var(--yp-gray-400); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.yp-data-value { font-size: 14px; font-weight: 500; color: var(--yp-gray-900); }

/* Tags (serviços e regiões) */
.yp-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.yp-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--yp-yellow-bg);
    border: 1px solid var(--yp-yellow-dark);
    border-radius: var(--yp-radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--yp-gray-900);
}

.yp-tag small { color: var(--yp-gray-500); font-weight: 400; }

/* Reembolsos na conta */
.yp-refunds-list { display: flex; flex-direction: column; gap: 10px; }

.yp-refund-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: var(--yp-gray-50);
    border-radius: var(--yp-radius-sm);
    border: 1px solid var(--yp-gray-100);
    flex-wrap: wrap;
}

.yp-refund-name { font-size: 14px; font-weight: 600; color: var(--yp-gray-900); flex: 1; }
.yp-refund-date { font-size: 11px; color: var(--yp-gray-400); }

/* --------------------------------------------------------------------------
   17. Bottom Nav (mobile)
   -------------------------------------------------------------------------- */
.yp-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    height: calc(var(--yp-bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--yp-gray-0);
    border-top: 1px solid var(--yp-gray-200);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.yp-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--yp-font);
    transition: color var(--yp-transition);
    color: var(--yp-gray-400);
    position: relative;
}

.yp-bottom-nav-item.is-active { color: var(--yp-blue); }

.yp-bottom-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 1;
}
.yp-bottom-nav-label { font-size: 9.5px; font-weight: 600; letter-spacing: .01em; }

.yp-bottom-nav-badge {
    position: absolute;
    top: 3px; right: 18%;
    background: var(--yp-yellow);
    color: var(--yp-gray-900);
    font-size: 9px;
    font-weight: 800;
    min-width: 16px; height: 16px;
    border-radius: var(--yp-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--yp-gray-0);
}

/* --------------------------------------------------------------------------
   18. Estado Vazio
   -------------------------------------------------------------------------- */
.yp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    color: var(--yp-gray-400);
    gap: 10px;
}

.yp-empty-icon {
    color: var(--yp-gray-300);
    font-size: 52px;
    opacity: .85;
}
.yp-empty-title { font-size: 16px; font-weight: 700; color: var(--yp-gray-700); margin: 0; }
.yp-empty-text  { font-size: 14px; color: var(--yp-gray-400); max-width: 260px; margin: 0; }

/* --------------------------------------------------------------------------
   19. Telas de Acesso (Guest / Pending / Error)
   -------------------------------------------------------------------------- */
.yp-portal-access {
    --yp-access-blue: #176bff;
    --yp-access-blue-dark: #0d55dc;
    --yp-access-navy: #0f172a;
    --yp-access-copy: #53627a;
    --yp-access-line: #dce5f1;
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
    overflow: auto;
    background:
        radial-gradient(circle at 8% 10%, rgba(23, 107, 255, .1), transparent 31rem),
        radial-gradient(circle at 92% 82%, rgba(37, 99, 235, .07), transparent 28rem),
        linear-gradient(135deg, #f9fbff 0%, #f5f8fc 48%, #eef4ff 100%);
    color: var(--yp-access-navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.yp-portal-access,
.yp-portal-access * { box-sizing: border-box; }

.yp-portal-access .yp-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yp-access-header,
.yp-access-footer,
.yp-access-main {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.yp-portal-access .yp-access-main { margin-inline: auto !important; }

.yp-access-header {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(210, 222, 238, .82);
}

.yp-access-header > a:first-child { display: inline-flex; align-items: center; }
.yp-access-header img { display: block; width: auto; height: 42px; object-fit: contain; }
.yp-access-back {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--yp-access-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
    color: #34445c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 180ms ease-out, color 180ms ease-out, background 180ms ease-out;
}
.yp-access-back .yp-icon { width: 17px; height: 17px; }
.yp-access-back:hover { border-color: #a7c5ff; background: #fff; color: var(--yp-access-blue); }

.yp-access-main {
    display: grid;
    padding-block: clamp(42px, 8vh, 86px);
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    align-items: center;
    gap: clamp(48px, 7vw, 90px);
}

.yp-access-copy { max-width: 560px; }
.yp-access-eyebrow {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid #bed5ff;
    border-radius: 999px;
    background: #f1f6ff;
    color: #145bd4;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.yp-access-copy h1 {
    max-width: 560px;
    margin: 20px 0 18px;
    color: var(--yp-access-navy);
    font-size: clamp(38px, 4.6vw, 55px);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.yp-access-copy > p {
    max-width: 540px;
    margin: 0;
    color: var(--yp-access-copy);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.yp-access-benefits {
    display: grid;
    margin: 30px 0 0;
    padding: 0;
    gap: 13px;
    list-style: none;
}
.yp-access-benefits li { display: flex; align-items: center; gap: 10px; color: #34445c; font-size: 13.5px; font-weight: 650; }
.yp-access-benefits .yp-icon { width: 18px; height: 18px; flex: 0 0 18px; color: #0aa77d; }

.yp-access-panel {
    position: relative;
    padding: clamp(28px, 4vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(205, 219, 236, .95);
    border-top: 3px solid var(--yp-access-blue);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(15, 38, 75, .12);
}
.yp-portal-access.is-status .yp-access-panel {
    padding: clamp(28px, 3.2vw, 34px);
    border: 1px solid #dce5f1;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 38, 75, .08);
}
.yp-portal-access.is-error .yp-access-main {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    gap: 0;
}
.yp-portal-access.is-error .yp-access-copy { display: none; }
.yp-portal-access.is-error .yp-access-panel {
    width: 100%;
    padding: clamp(28px, 4vw, 38px);
    border: 1px solid #dce5f1;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(15, 38, 75, .09);
}
.yp-portal-access.is-error .yp-access-panel::after { display: none; }
.yp-access-panel::after {
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(23, 107, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(23, 107, 255, .025);
    content: '';
    pointer-events: none;
}
.yp-access-panel > * { position: relative; z-index: 1; }
.yp-portal-access.is-status .yp-access-panel::after { display: none; }
.yp-access-panel-top {
    display: flex;
    margin-bottom: 22px;
    align-items: center;
    gap: 14px;
}
.yp-access-panel-top > div:last-child { display: grid; justify-items: start; gap: 6px; }
.yp-access-panel-top small {
    color: #8290a4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
}
.yp-access-panel-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 16px;
}
.yp-access-panel-icon .yp-icon { width: 25px; height: 25px; stroke-width: 2; }
.yp-access-panel-icon.is-blue { background: #eaf2ff; color: #176bff; }
.yp-access-panel-icon.is-warning { background: #fff7d6; color: #b77900; }
.yp-access-panel-icon.is-danger { background: #fff0f1; color: #c93643; }
.yp-access-panel-icon.is-neutral { background: #f1f5f9; color: #64748b; }
.yp-access-status {
    display: inline-flex;
    min-height: 26px;
    padding: 5px 9px;
    align-items: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.yp-access-status.is-blue { border: 1px solid #bfdbfe; background: #eff6ff; color: #1d5fd1; }
.yp-access-status.is-warning { border: 1px solid #f6dc86; background: #fff9e5; color: #986500; }
.yp-access-status.is-danger { border: 1px solid #fecdd3; background: #fff1f2; color: #be123c; }
.yp-access-status.is-neutral { border: 1px solid #dce3eb; background: #f8fafc; color: #526174; }
.yp-portal-access.is-status .yp-access-panel-top {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7edf5;
}
.yp-portal-access.is-status .yp-access-panel-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 10px;
}
.yp-portal-access.is-status .yp-access-panel-icon .yp-icon { width: 21px; height: 21px; }
.yp-portal-access.is-status .yp-access-status {
    min-height: auto;
    padding: 0;
    gap: 7px;
    border: 0;
    background: transparent;
    font-size: 10.5px;
    letter-spacing: .055em;
}
.yp-portal-access.is-status .yp-access-status::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}
.yp-portal-access.is-error .yp-access-panel-top {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7edf5;
}
.yp-portal-access.is-error .yp-access-panel-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 10px;
}
.yp-portal-access.is-error .yp-access-panel-icon .yp-icon { width: 20px; height: 20px; }
.yp-portal-access.is-error .yp-access-status {
    min-height: auto;
    padding: 0;
    gap: 7px;
    border: 0;
    background: transparent;
    font-size: 10.5px;
    letter-spacing: .055em;
}
.yp-portal-access.is-error .yp-access-status::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    content: '';
}
.yp-access-panel h2 {
    margin: 0 0 9px;
    color: var(--yp-access-navy);
    font-size: 25px;
    font-weight: 760;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.yp-access-panel > p { margin: 0; color: #65738a; font-size: 14px; font-weight: 500; line-height: 1.65; }
.yp-access-error-note {
    display: flex;
    margin-top: 22px;
    padding: 14px 15px;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    background: #f8fafc;
    color: #5f6f84;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}
.yp-access-error-note .yp-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #64748b;
}

.yp-access-timeline {
    display: grid;
    margin: 26px 0 0;
    padding: 0;
    gap: 0;
    list-style: none;
}
.yp-access-timeline li {
    position: relative;
    display: grid;
    min-height: 64px;
    padding-bottom: 16px;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}
.yp-access-timeline li:not(:last-child)::after {
    position: absolute;
    top: 32px;
    bottom: 0;
    left: 16px;
    width: 1px;
    background: #dce5f1;
    content: '';
}
.yp-access-timeline li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dce5f1;
    border-radius: 50%;
    background: #f8fafc;
    color: #8795a9;
    font-size: 11px;
    font-weight: 800;
}
.yp-access-timeline li > span .yp-icon { width: 16px; height: 16px; }
.yp-access-timeline li.is-complete > span { border-color: #a8e8d5; background: #edfbf7; color: #078461; }
.yp-access-timeline li.is-active > span { border-color: #f1d16d; background: #fff8dc; color: #a36b00; }
.yp-access-timeline li div { display: grid; padding-top: 1px; gap: 2px; }
.yp-access-timeline strong { color: #26364d; font-size: 13px; font-weight: 750; }
.yp-access-timeline small { color: #7b889b; font-size: 11.5px; font-weight: 500; line-height: 1.4; }

.yp-access-actions { display: grid; margin-top: 26px; gap: 10px; }
.yp-access-primary,
.yp-access-secondary {
    display: inline-flex;
    min-height: 48px;
    padding: 11px 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform 170ms ease-out, box-shadow 170ms ease-out, border-color 170ms ease-out, background 170ms ease-out;
}
.yp-access-primary { border: 1px solid var(--yp-access-blue); background: var(--yp-access-blue); color: #fff; box-shadow: 0 11px 24px rgba(23, 107, 255, .22); }
.yp-access-primary:hover { border-color: var(--yp-access-blue-dark); background: var(--yp-access-blue-dark); color: #fff; transform: translateY(-1px); }
.yp-access-primary .yp-icon { width: 17px; height: 17px; }
.yp-access-secondary { border: 1px solid #d8e2ef; background: #fff; color: #3e4d64; }
.yp-access-secondary:hover { border-color: #acc8fb; background: #f8fbff; color: #155ccd; }
.yp-portal-access.is-status .yp-access-actions { margin-top: 24px; gap: 6px; }
.yp-portal-access.is-status .yp-access-primary {
    min-height: 46px;
    border-radius: 9px;
    box-shadow: 0 7px 16px rgba(23, 107, 255, .16);
}
.yp-portal-access.is-status .yp-access-secondary {
    min-height: 40px;
    width: auto;
    padding-inline: 14px;
    justify-self: center;
    border-color: transparent;
    background: transparent;
    color: #64748b;
    font-size: 12.5px;
}
.yp-portal-access.is-status .yp-access-secondary:hover {
    border-color: transparent;
    background: #f6f8fb;
    color: #334155;
}
.yp-portal-access.is-error .yp-access-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}
.yp-portal-access.is-error .yp-access-primary {
    min-height: 46px;
    border-radius: 9px;
    box-shadow: 0 7px 16px rgba(23, 107, 255, .16);
}
.yp-portal-access.is-error .yp-access-secondary {
    min-height: 42px;
    padding-inline: 14px;
    border-color: transparent;
    background: transparent;
    color: #64748b;
}
.yp-portal-access.is-error .yp-access-secondary:hover {
    border-color: transparent;
    background: #f6f8fb;
    color: #334155;
}
.yp-access-primary:focus-visible,
.yp-access-secondary:focus-visible,
.yp-access-back:focus-visible { outline: 3px solid rgba(23, 107, 255, .24); outline-offset: 2px; }

.yp-access-security {
    display: flex;
    margin-top: 20px;
    padding-top: 18px;
    align-items: flex-start;
    gap: 9px;
    border-top: 1px solid #e5ecf4;
    color: #77859a;
    font-size: 11.5px;
    font-weight: 550;
    line-height: 1.45;
}
.yp-access-security .yp-icon { width: 17px; height: 17px; flex: 0 0 17px; color: #0aa77d; }
.yp-portal-access.is-status .yp-access-security {
    margin-top: 12px;
    padding-top: 16px;
    color: #718096;
}
.yp-access-footer {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(210, 222, 238, .82);
    color: #7d899a;
    font-size: 11.5px;
    font-weight: 550;
}
.yp-access-footer span:last-child { display: inline-flex; align-items: center; gap: 7px; }
.yp-access-footer .yp-icon { width: 16px; height: 16px; color: #0aa77d; }

body.admin-bar .yp-portal-access { top: 32px !important; height: calc(100dvh - 32px) !important; }

@media (max-width: 820px) {
    .yp-access-main { grid-template-columns: 1fr; align-items: start; gap: 34px; }
    .yp-access-copy { max-width: 650px; }
    .yp-access-copy h1 { max-width: 650px; font-size: clamp(34px, 7vw, 48px); }
    .yp-access-panel { width: 100%; max-width: 580px; }
}

@media (max-width: 640px) {
    .yp-access-header,
    .yp-access-footer,
    .yp-access-main { width: calc(100% - 28px); }
    .yp-access-header { min-height: 68px; }
    .yp-access-header img { height: 34px; }
    .yp-access-back { min-height: 40px; padding: 0 11px; font-size: 11.5px; }
    .yp-access-main { padding-block: 30px 36px; gap: 26px; }
    .yp-access-copy h1 { margin: 16px 0 13px; font-size: 34px; line-height: 1.07; }
    .yp-access-copy > p { font-size: 14px; line-height: 1.6; }
    .yp-access-benefits { margin-top: 22px; gap: 10px; }
    .yp-access-panel { padding: 24px 20px; border-radius: 18px; }
    .yp-portal-access.is-status .yp-access-panel { padding: 22px 20px; border-radius: 14px; }
    .yp-portal-access.is-error .yp-access-panel { padding: 22px 20px; border-radius: 14px; }
    .yp-access-panel-top { margin-bottom: 19px; }
    .yp-access-panel-icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
    .yp-access-panel-icon .yp-icon { width: 22px; height: 22px; }
    .yp-access-panel h2 { font-size: 22px; }
    .yp-access-primary,
    .yp-access-secondary { min-height: 48px; width: 100%; }
    .yp-portal-access.is-error .yp-access-actions { grid-template-columns: 1fr; gap: 6px; }
    .yp-access-footer { min-height: 84px; padding-block: 16px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (max-width: 782px) {
    body.admin-bar .yp-portal-access { top: 46px !important; height: calc(100dvh - 46px) !important; }
}

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

/* --------------------------------------------------------------------------
   20. Wizard de cadastro (preservado para formulário público)
   -------------------------------------------------------------------------- */
.yoplace-card {
    box-sizing: border-box;
    max-width: 860px;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 40px);
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-lg);
    background: var(--yp-gray-0);
    box-shadow: var(--yp-shadow-lg);
    color: var(--yp-gray-900);
    font-family: var(--yp-font);
}

.yoplace-card * { box-sizing: border-box; }

.yoplace-card h2 { margin: 0 0 8px; font-size: clamp(24px, 5vw, 36px); font-weight: 800; }

.yoplace-card input[type="text"],
.yoplace-card input[type="email"],
.yoplace-card input[type="tel"],
.yoplace-card input[type="date"],
.yoplace-card input[type="password"],
.yoplace-card select,
.yoplace-card textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1.5px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-sm);
    background: var(--yp-gray-0);
    font: inherit;
    font-size: 15px;
    transition: border-color var(--yp-transition);
}

.yoplace-card input:focus,
.yoplace-card select:focus,
.yoplace-card textarea:focus { outline: none; border-color: var(--yp-blue); }

.yoplace-card p > label { display: grid; gap: 7px; font-weight: 600; }

.yoplace-card button,
.yoplace-card .yoplace-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1.5px solid var(--yp-blue);
    border-radius: var(--yp-radius-sm);
    background: var(--yp-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.yoplace-card .yoplace-secondary {
    border-color: var(--yp-gray-200);
    background: var(--yp-gray-0);
    color: var(--yp-gray-900);
}

.yoplace-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    margin: 0 0 28px;
}

.yoplace-progress span {
    padding: 8px 10px;
    border-radius: var(--yp-radius-pill);
    background: var(--yp-gray-100);
    color: var(--yp-gray-500);
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.yoplace-step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.yoplace-check-grid,
.yoplace-option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.yoplace-check,
.yoplace-option {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--yp-gray-200);
    border-radius: var(--yp-radius-sm);
}

.yoplace-consent small { display: block; margin-top: 8px; color: var(--yp-gray-400); }

.yoplace-honeypot { position: absolute!important; left: -9999px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

.yoplace-wizard.yoplace-js fieldset[hidden] { display: none; }

/* Confirm box legado */
.yoplace-confirm-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--yp-yellow-dark);
    border-radius: var(--yp-radius-sm);
    background: var(--yp-yellow-bg);
}

.yoplace-confirm-box p { flex: 1 0 100%; margin: 0; font-weight: 700; }

/* --------------------------------------------------------------------------
   21. Responsividade
   -------------------------------------------------------------------------- */

/* --- Tablet / Mobile: sidebar offcanvas + bottom nav --- */
@media (max-width: 860px) {
    .yoplace-company-portal {
        --yp-topbar-h: 76px;
    }

    .yp-sidebar {
        width: min(84vw, 360px);
        transform: translateX(-100%);
        box-shadow: none;
        background: var(--yp-gray-0);
    }

    .yp-sidebar.is-open {
        transform: translateX(0);
        box-shadow: var(--yp-shadow-lg);
    }

    .yp-sidebar-brand {
        padding: calc(24px + env(safe-area-inset-top)) 22px 24px;
        background: #0f172a;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .yp-brand-logo {
        color: #fff;
        margin-bottom: 18px;
    }

    .yp-brand-logo-dot {
        background: var(--yp-yellow);
    }

    .yp-avatar {
        width: 52px;
        height: 52px;
        background: rgba(0,0,0,.12);
        font-size: 21px;
    }

    .yp-company-name {
        color: #fff;
        font-size: 15px;
        max-width: 230px;
    }

    .yp-company-badge {
        color: var(--yp-green-dark);
    }

    .yp-sidebar-nav {
        padding: 18px 14px;
        background: var(--yp-gray-0);
    }

    .yp-sidebar-nav li {
        padding: 0;
        margin-bottom: 8px;
    }

    .yp-nav-link {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        color: var(--yp-gray-900);
        background: var(--yp-gray-0);
        border: 1px solid var(--yp-gray-100);
        border-radius: 16px;
        font-size: 16px;
        font-weight: 700;
        box-shadow: none;
    }

    .yp-nav-link::after {
        content: '';
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        margin-left: auto;
        color: var(--yp-gray-300);
    }

    .yp-nav-link:hover {
        background: var(--yp-gray-50);
        color: var(--yp-gray-900);
    }

    .yp-nav-link.is-active {
        background: var(--yp-yellow-bg);
        color: var(--yp-gray-900);
        border-color: var(--yp-yellow);
    }

    .yp-nav-link.is-active::before {
        display: none;
    }

    .yp-nav-badge {
        margin-left: 0;
    }

    .yp-sidebar-footer {
        padding: 16px 22px calc(18px + env(safe-area-inset-bottom));
        background: var(--yp-gray-50);
        border-top: 1px solid var(--yp-gray-200);
    }

    .yp-balance-label {
        color: var(--yp-gray-500);
    }

    .yp-balance-unit {
        color: var(--yp-gray-500);
    }

    .yp-sidebar-logout {
        color: var(--yp-gray-700);
    }

    .yp-portal-content-area { margin-left: 0; }

    .yp-topbar {
        height: calc(var(--yp-topbar-h) + env(safe-area-inset-top));
        padding: calc(10px + env(safe-area-inset-top)) 26px 10px;
        border-bottom: 0;
        box-shadow: 0 2px 12px rgba(17,24,39,.08);
    }

    .yp-topbar-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        font-size: 28px;
        color: var(--yp-gray-900);
    }

    .yp-topbar-toggle-dot {
        top: 3px;
        right: 4px;
        width: 13px;
        height: 13px;
        border-width: 0;
    }

    .yp-topbar-title {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .yp-coins-pill {
        min-height: 50px;
        padding: 10px 18px;
        gap: 10px;
        border-color: #ead25a;
        border-width: 1px;
        background: #fff39a;
        font-size: 18px;
        box-shadow: var(--yp-shadow-sm);
    }

    .yp-bottom-nav { display: grid; }

    .yp-tab-section {
        max-width: none;
        padding: 16px 26px calc(var(--yp-bottom-nav-h) + 24px + env(safe-area-inset-bottom));
    }

    .yp-info-banner {
        margin-bottom: 12px;
        border-radius: 16px;
    }

    .yp-filter-bar {
        display: flex;
        gap: 8px;
        margin-bottom: 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .yp-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .yp-filter-btn {
        flex: 0 0 auto;
    }

    .yp-section-title {
        display: none;
    }

    .yp-leads-list,
    .yp-unlocked-list {
        gap: 14px;
    }

    .yp-list-card-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .yp-list-actions {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
        flex-direction: column;
    }

    .yp-btn-whatsapp, .yp-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .yp-lead-card,
    .yp-list-card,
    .yp-account-menu,
    .yp-account-section,
    .yp-credit-package-card {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(17,24,39,.12);
    }

    .yp-lead-card-head {
        padding: 16px 20px 0;
    }

    .yp-lead-card-body {
        padding: 14px 20px 16px;
    }

    .yp-lead-badges {
        min-height: 30px;
    }

    .yp-lead-card-category {
        font-size: 22px;
        font-weight: 760;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .yp-lead-card-meta {
        gap: 12px;
    }

    .yp-lead-meta-row {
        font-size: 20px;
        color: #2d2d2d;
        gap: 14px;
    }

    .yp-lead-meta-icon {
        color: #a8a8a8;
        font-size: 11px;
        min-width: 48px;
        width: auto;
        text-align: left;
    }

    .yp-lead-cost-row {
        font-size: 18px;
    }

    .yp-lead-countdown {
        color: var(--yp-gray-500);
        font-size: 17px;
    }

    .yp-lead-cta-bar {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 17px;
    }

    .yp-badge {
        padding: 7px 12px;
        font-size: 18px;
        font-weight: 500;
        border-width: 0;
        border-radius: 6px;
    }

    .yp-bottom-nav {
        height: calc(var(--yp-bottom-nav-h) + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .yp-lead-drawer {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .yp-lead-drawer-sheet {
        width: 100%;
        max-width: 760px;
        max-height: 92dvh;
        border-radius: var(--yp-radius-lg) var(--yp-radius-lg) 0 0;
        transform: translateY(100%);
    }

    .yp-lead-drawer.is-open .yp-lead-drawer-sheet {
        transform: translateY(0);
    }
}

@media (max-width: 540px) {
    .yp-lead-drawer {
        align-items: stretch;
    }

    .yp-lead-drawer-sheet {
        max-height: none;
        height: 100dvh;
        border-radius: 0;
    }

    .yp-drawer-handle {
        display: none;
    }

    .yp-lead-drawer-header {
        min-height: calc(72px + env(safe-area-inset-top));
        padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .yp-drawer-back {
        color: var(--yp-gray-900);
        font-size: 15px;
        font-weight: 700;
    }

    .yp-drawer-nav {
        order: 3;
        flex: 0 0 100%;
        justify-content: space-between;
    }

    .yp-drawer-nav-btn {
        flex: 1;
        font-size: 13px;
        padding: 9px 10px;
    }

    .yp-drawer-coins {
        padding: 7px 11px;
        border: 1px solid #1f2937;
        border-radius: var(--yp-radius-pill);
        font-size: 13px;
    }

    .yp-lead-drawer-content {
        padding: 18px 16px;
    }

    .yp-drawer-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .yp-drawer-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .yp-drawer-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 13px 14px;
        font-size: 15px;
    }

    .yp-drawer-detail-icon {
        display: none;
    }

    .yp-drawer-detail-label {
        font-size: 11px;
    }

    .yp-drawer-detail-value {
        font-size: 15px;
    }

    .yp-lead-drawer-footer {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 12px rgba(17,24,39,.12);
    }

    .yp-insufficient-modal {
        padding: 16px;
    }

    .yp-insufficient-card {
        width: min(100%, 380px);
    }

    .yp-drawer-footer-actions {
        grid-template-columns: 1fr;
    }

    .yp-btn {
        min-height: 50px;
        border-radius: 10px;
        font-size: 15px;
    }

    .yp-credit-package-card {
        grid-template-columns: 1fr;
    }

    .yp-credit-package-cta {
        width: 100%;
    }

    .yp-data-item { grid-template-columns: 1fr; gap: 2px; }

    .yoplace-check-grid,
    .yoplace-option-grid { grid-template-columns: 1fr; }

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

    .yp-credits-hero { flex-direction: column; text-align: center; }
    .yp-credits-hero-icon { display: none; }
}

/* --------------------------------------------------------------------------
   22. Fase 2 — Portal Shell refinado
   -------------------------------------------------------------------------- */
.yoplace-company-portal {
    --yp-sidebar-w: 264px;
    --yp-topbar-h: 64px;
    --yp-bottom-nav-h: 72px;
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, .08), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
}

.yoplace-company-portal .yp-sidebar {
    background: #0f172a;
    border-right: 1px solid rgba(148, 163, 184, .12);
    box-shadow: 8px 0 24px rgba(15, 23, 42, .12);
}

.yoplace-company-portal .yp-sidebar::after {
    content: '';
    position: absolute;
    inset: auto 18px 94px 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    pointer-events: none;
}

.yoplace-company-portal .yp-sidebar-close {
    display: none;
}

.yoplace-company-portal .yp-sidebar-brand {
    position: relative;
    padding: 20px 16px 18px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.yoplace-company-portal .yp-brand-logo {
    display: flex;
    min-height: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 16px;
    color: #ffd21f;
    font-size: 17px;
    letter-spacing: -.03em;
}

.yoplace-company-portal .yp-brand-logo::after {
    content: 'Portal parceiro';
    margin-left: 2px;
    color: rgba(226, 232, 240, .54);
    font-size: 9px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.yoplace-company-portal .yp-brand-logo-img {
    display: block;
    width: 116px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.yoplace-company-portal .yp-brand-logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.yoplace-company-portal .yp-brand-logo-dot {
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-company {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.yoplace-company-portal .yp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.yoplace-company-portal .yp-company-name {
    font-size: 12.5px;
    letter-spacing: -.01em;
}

.yoplace-company-portal .yp-company-badge {
    color: #34d399;
}

.yoplace-company-portal .yp-sidebar-nav {
    padding: 14px 10px;
}

.yoplace-company-portal .yp-sidebar-nav li {
    padding: 0;
    margin-bottom: 5px;
}

.yoplace-company-portal .yp-nav-link {
    min-height: 44px;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #a8b3c7;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.01em;
    transition:
        background-color var(--yp-transition-fast),
        color var(--yp-transition-fast),
        transform var(--yp-transition-fast),
        box-shadow var(--yp-transition-fast);
}

.yoplace-company-portal .yp-nav-link:hover {
    background: rgba(148, 163, 184, .08);
    color: #e5edf9;
    transform: translateX(1px);
}

.yoplace-company-portal .yp-nav-link.is-active {
    border-color: transparent;
    background: rgba(255, 255, 255, .055);
    color: #f8fafc;
    box-shadow: none;
}

.yoplace-company-portal .yp-nav-link.is-active::before {
    content: '';
    position: absolute;
    left: -10px;
    width: 3px;
    height: 22px;
    border-radius: 999px;
    background: #ffd21f;
    box-shadow: none;
}

.yoplace-company-portal .yp-nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(148, 163, 184, .1);
    color: #94a3b8;
}

.yoplace-company-portal .yp-nav-link.is-active .yp-nav-icon {
    background: rgba(250, 204, 21, .15);
    color: #ffd21f;
}

.yoplace-company-portal .yp-sidebar .yp-nav-link:focus-visible {
    outline: 2px solid rgba(255, 210, 31, .34);
    outline-offset: 2px;
}

.yoplace-company-portal .yp-nav-icon .yp-icon,
.yoplace-company-portal .yp-bottom-nav-icon .yp-icon {
    width: 17px;
    height: 17px;
}

.yoplace-company-portal .yp-nav-badge {
    min-width: 20px;
    height: 20px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-footer {
    margin: 0 14px 14px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: #111827;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.yoplace-company-portal .yp-sidebar-footer::before {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #ffd21f;
}

.yoplace-company-portal .yp-balance-label {
    color: rgba(226, 232, 240, .72);
    font-size: 9.5px;
}

.yoplace-company-portal .yp-balance-value {
    color: #ffd21f;
    font-size: 28px;
    letter-spacing: -.045em;
}

.yoplace-company-portal .yp-balance-unit {
    color: rgba(226, 232, 240, .68);
    font-size: 11px;
    letter-spacing: 0;
}

.yoplace-company-portal .yp-sidebar-logout {
    margin-top: 13px;
    color: rgba(226, 232, 240, .74);
    transition: color var(--yp-transition-fast), transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-sidebar-logout:hover {
    color: #fff;
    transform: translateX(1px);
}

.yoplace-company-portal .yp-portal-content-area {
    background:
        radial-gradient(circle at 88% 4%, rgba(255, 210, 31, .1), transparent 24%),
        radial-gradient(circle at 32% 0%, rgba(37, 99, 235, .08), transparent 28%),
        #f5f7fb;
}

.yoplace-company-portal .yp-topbar {
    height: var(--yp-topbar-h);
    padding: 0 24px;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(226, 232, 240, .86);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.yoplace-company-portal .yp-topbar-title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.yoplace-company-portal .yp-topbar-notifications {
    border: 1px solid transparent;
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        color var(--yp-transition-fast);
}

.yoplace-company-portal .yp-topbar-notifications:disabled {
    opacity: 1;
}

.yoplace-company-portal .yp-coins-pill {
    min-height: 38px;
    padding: 7px 13px;
    border-color: rgba(234, 179, 8, .32);
    border-radius: 999px;
    background: #fffdf1;
    color: #713f12;
    box-shadow: 0 8px 18px rgba(148, 117, 0, .08);
}

.yoplace-company-portal .yp-coins-pill:hover {
    background: #fff8c7;
    border-color: rgba(202, 138, 4, .42);
}

.yoplace-company-portal .yp-coins-pill-icon {
    color: #ca8a04;
}

.yoplace-company-portal .yp-tab-content {
    background: transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .32) transparent;
}

.yoplace-company-portal .yp-tab-section {
    scrollbar-gutter: auto;
}

.yoplace-company-portal .yp-tab-content::-webkit-scrollbar {
    width: 8px;
}

.yoplace-company-portal .yp-tab-content::-webkit-scrollbar-track {
    background: transparent;
}

.yoplace-company-portal .yp-tab-content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(100, 116, 139, .32);
    background-clip: content-box;
}

.yoplace-company-portal .yp-tab-content::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, .46);
    background-clip: content-box;
}

.yoplace-company-portal .yp-bottom-nav {
    height: calc(var(--yp-bottom-nav-h) + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(226, 232, 240, .88);
    box-shadow: 0 -16px 38px rgba(15, 23, 42, .1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.yoplace-company-portal .yp-bottom-nav-item {
    min-height: 54px;
    border-radius: 18px;
    color: #64748b;
    transition:
        background-color var(--yp-transition-fast),
        color var(--yp-transition-fast),
        transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-bottom-nav-item:hover {
    color: #1d4ed8;
}

.yoplace-company-portal .yp-bottom-nav-item.is-active {
    background: #eff6ff;
    color: #2563eb;
}

.yoplace-company-portal .yp-bottom-nav-item.is-active .yp-bottom-nav-icon {
    transform: translateY(-1px);
}

.yoplace-company-portal .yp-bottom-nav-label {
    font-size: 10px;
    font-weight: 750;
}

.yoplace-company-portal .yp-bottom-nav-badge {
    top: 4px;
    right: 16%;
    min-width: 18px;
    height: 18px;
    border-color: #fff;
}

@media (max-width: 860px) {
    .yoplace-company-portal {
        --yp-sidebar-w: min(86vw, 340px);
        --yp-topbar-h: 64px;
        --yp-bottom-nav-h: 76px;
    }

    .yoplace-company-portal .yp-sidebar {
        width: var(--yp-sidebar-w);
        border-right: 0;
        border-radius: 0 26px 26px 0;
        background: #fff;
        box-shadow: none;
    }

    .yoplace-company-portal .yp-sidebar.is-open {
        box-shadow: 28px 0 70px rgba(15, 23, 42, .22);
    }

    .yoplace-company-portal .yp-sidebar-close {
        position: absolute;
        top: calc(14px + env(safe-area-inset-top));
        right: 14px;
        z-index: 2;
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 14px;
        background: rgba(255, 255, 255, .82);
        color: #0f172a;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
    }

    .yoplace-company-portal .yp-sidebar-brand {
        padding: calc(20px + env(safe-area-inset-top)) 20px 20px;
        background: #0f172a;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .yoplace-company-portal .yp-brand-logo::after {
        color: rgba(226, 232, 240, .58);
    }

    .yoplace-company-portal .yp-sidebar-company {
        background: rgba(255, 255, 255, .055);
        border-color: rgba(255, 255, 255, .1);
        box-shadow: none;
    }

    .yoplace-company-portal .yp-avatar {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        background: #111827;
        color: #ffd21f;
    }

    .yoplace-company-portal .yp-company-name {
        color: #fff;
        font-size: 14px;
    }

    .yoplace-company-portal .yp-sidebar-nav {
        padding: 16px 14px;
    }

    .yoplace-company-portal .yp-nav-link {
        min-height: 52px;
        padding: 12px 14px;
        border: 1px solid #eef2f7;
        background: #fff;
        color: #0f172a;
        font-size: 15px;
        box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    }

    .yoplace-company-portal .yp-nav-link:hover {
        background: #f8fafc;
        color: #0f172a;
        transform: none;
    }

    .yoplace-company-portal .yp-nav-link.is-active {
        background: #f8fafc;
        color: #111827;
        box-shadow: none;
    }

    .yoplace-company-portal .yp-nav-link.is-active::before {
        display: none;
    }

    .yoplace-company-portal .yp-nav-link.is-active .yp-nav-icon {
        background: #fef3c7;
        color: #a16207;
    }

    .yoplace-company-portal .yp-nav-link::after {
        color: #cbd5e1;
    }

    .yoplace-company-portal .yp-sidebar-footer {
        margin: auto 14px 14px;
        background: #111827;
        border-color: rgba(255, 255, 255, .1);
    }

    .yoplace-company-portal .yp-balance-label,
    .yoplace-company-portal .yp-balance-unit {
        color: rgba(226, 232, 240, .68);
    }

    .yoplace-company-portal .yp-sidebar-logout {
        color: rgba(226, 232, 240, .72);
    }

    .yoplace-company-portal .yp-topbar {
        height: calc(var(--yp-topbar-h) + env(safe-area-inset-top));
        padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
        gap: 8px;
    }

    .yoplace-company-portal .yp-topbar-toggle {
        width: 42px;
        height: 42px;
        border: 1px solid #e2e8f0;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    }

    .yoplace-company-portal .yp-topbar-title {
        font-size: 21px;
    }

    .yoplace-company-portal .yp-topbar-notifications {
        display: none;
    }

    .yoplace-company-portal .yp-coins-pill {
        min-height: 42px;
        padding: 8px 12px;
        gap: 6px;
        font-size: 13px;
    }

    .yoplace-company-portal .yp-tab-section {
        padding: 18px 16px calc(var(--yp-bottom-nav-h) + 22px + env(safe-area-inset-bottom));
    }

    .yoplace-company-portal .yp-bottom-nav {
        padding-right: max(8px, env(safe-area-inset-right));
        padding-left: max(8px, env(safe-area-inset-left));
    }

    .yoplace-company-portal .yp-bottom-nav-item {
        min-width: 0;
        min-height: 56px;
        padding: 6px 2px;
    }
}

@media (max-width: 430px) {
    .yoplace-company-portal .yp-topbar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .yoplace-company-portal .yp-topbar-title {
        font-size: 18px;
    }

    .yoplace-company-portal .yp-coins-pill {
        padding: 7px 10px;
    }

    .yoplace-company-portal .yp-coins-pill span:nth-child(3) {
        display: none;
    }

    .yoplace-company-portal .yp-bottom-nav-label {
        font-size: 9.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yoplace-company-portal .yp-nav-link,
    .yoplace-company-portal .yp-bottom-nav-item,
    .yoplace-company-portal .yp-sidebar-logout {
        transition: none;
        transform: none !important;
    }
}

/* Ajuste fino: remover contorno pesado do item ativo da sidebar. */
.yoplace-company-portal .yp-sidebar .yp-nav-link,
.yoplace-company-portal .yp-sidebar .yp-nav-link.is-active {
    border-color: transparent !important;
    outline: 0;
}

.yoplace-company-portal .yp-sidebar .yp-nav-link.is-active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.yoplace-company-portal .yp-sidebar .yp-nav-link:focus-visible {
    outline: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 210, 31, .22),
        0 0 0 3px rgba(255, 210, 31, .08);
}

/* --------------------------------------------------------------------------
   23. Refinamento Metronic — Sidebar e menu do usuário
   -------------------------------------------------------------------------- */
.yoplace-company-portal {
    --yp-metronic-sidebar: #0b1020;
    --yp-metronic-sidebar-soft: #111827;
    --yp-metronic-sidebar-card: rgba(255, 255, 255, .055);
    --yp-metronic-sidebar-border: rgba(148, 163, 184, .16);
    --yp-metronic-sidebar-muted: #8b98ad;
    --yp-metronic-ink: #111827;
    --yp-metronic-muted: #64748b;
}

.yoplace-company-portal .yp-sidebar {
    background:
        radial-gradient(circle at 22% 0%, rgba(255, 210, 31, .13), transparent 26%),
        linear-gradient(180deg, #0d1425 0%, var(--yp-metronic-sidebar) 48%, #080d18 100%);
    border-right-color: rgba(148, 163, 184, .18);
}

.yoplace-company-portal .yp-sidebar-brand {
    padding: 20px 16px 16px;
    background: transparent;
}

.yoplace-company-portal .yp-brand-logo {
    width: fit-content;
    min-height: 42px;
    margin: 0 0 16px;
    padding: 0;
    gap: 7px;
}

.yoplace-company-portal .yp-brand-logo-frame {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.yoplace-company-portal .yp-brand-logo-img {
    width: 124px;
    max-width: 124px;
    max-height: 36px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .16));
}

.yoplace-company-portal .yp-brand-logo::after {
    margin-left: 1px;
    color: rgba(226, 232, 240, .56);
    font-size: 9px;
    letter-spacing: .16em;
}

.yoplace-company-portal .yp-sidebar-company {
    min-height: 58px;
    padding: 9px;
    border-color: rgba(255, 255, 255, .11);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .074), rgba(255, 255, 255, .045));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 14px 30px rgba(0, 0, 0, .16);
}

.yoplace-company-portal .yp-sidebar-company .yp-avatar,
.yoplace-company-portal .yp-user-trigger-avatar,
.yoplace-company-portal .yp-user-dropdown-avatar {
    background: linear-gradient(135deg, #ffd21f 0%, #facc15 100%);
    color: #111827;
}

.yoplace-company-portal .yp-sidebar-actions {
    padding: 14px 14px 6px;
}

.yoplace-company-portal .yp-sidebar-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    background: rgba(255, 255, 255, .095);
    color: #f8fafc;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        transform var(--yp-transition-fast),
        color var(--yp-transition-fast);
}

.yoplace-company-portal .yp-sidebar-primary-action:hover {
    border-color: rgba(255, 210, 31, .32);
    background: rgba(255, 210, 31, .14);
    color: #fff;
    transform: translateY(-1px);
}

.yoplace-company-portal .yp-sidebar-primary-action .yp-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

.yoplace-company-portal .yp-sidebar-section-label {
    padding: 14px 22px 6px;
    color: rgba(226, 232, 240, .42);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    line-height: 1;
    text-transform: uppercase;
}

.yoplace-company-portal .yp-sidebar-nav {
    padding-top: 4px;
}

.yoplace-company-portal .yp-nav-link {
    min-height: 43px;
    border-radius: 13px;
}

.yoplace-company-portal .yp-nav-link.is-active {
    background: rgba(255, 255, 255, .085);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045);
}

.yoplace-company-portal .yp-topbar {
    gap: 14px;
}

.yoplace-company-portal .yp-topbar-title {
    flex: 1 1 auto;
    min-width: 0;
}

.yoplace-company-portal .yp-topbar-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
}

.yoplace-company-portal .yp-user-menu {
    position: relative;
    flex: 0 0 auto;
}

.yoplace-company-portal .yp-user-trigger {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 10px;
    padding: 5px 12px 5px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        box-shadow var(--yp-transition-fast),
        transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-user-trigger:hover,
.yoplace-company-portal .yp-user-menu.is-open .yp-user-trigger {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.yoplace-company-portal .yp-user-trigger-avatar,
.yoplace-company-portal .yp-user-dropdown-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #1570ef;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.yoplace-company-portal .yp-user-trigger-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.08;
}

.yoplace-company-portal .yp-user-trigger-name {
    max-width: 150px;
    overflow: hidden;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 850;
    letter-spacing: -.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yoplace-company-portal .yp-user-trigger-status {
    margin-top: 3px;
    color: #059669;
    font-size: 10.5px;
    font-weight: 750;
}

.yoplace-company-portal .yp-user-trigger-chevron {
    display: inline-flex;
    color: #94a3b8;
    transition: transform var(--yp-transition-fast), color var(--yp-transition-fast);
}

.yoplace-company-portal .yp-user-trigger-chevron .yp-icon {
    width: 15px;
    height: 15px;
}

.yoplace-company-portal .yp-user-menu.is-open .yp-user-trigger-chevron {
    color: #2563eb;
    transform: rotate(180deg);
}

.yoplace-company-portal .yp-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 260;
    width: 318px;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, .98);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.yoplace-company-portal .yp-user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px 13px;
    border-bottom: 1px solid #eef2f7;
}

.yoplace-company-portal .yp-user-dropdown-avatar {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.yoplace-company-portal .yp-user-dropdown-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.yoplace-company-portal .yp-user-dropdown-copy strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yoplace-company-portal .yp-user-dropdown-copy span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.yoplace-company-portal .yp-user-dropdown-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #047857;
    font-size: 10px;
    font-weight: 850;
}

.yoplace-company-portal .yp-user-menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    gap: 10px;
    padding: 9px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    text-align: left;
    transition: background-color var(--yp-transition-fast), color var(--yp-transition-fast), transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-user-menu-link:hover {
    background: #f8fafc;
    color: #1d4ed8;
    transform: translateX(1px);
}

.yoplace-company-portal .yp-user-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
}

.yoplace-company-portal .yp-user-menu-icon .yp-icon {
    width: 16px;
    height: 16px;
}

.yoplace-company-portal .yp-user-menu-link:hover .yp-user-menu-icon {
    background: #eff6ff;
    color: #2563eb;
}

.yoplace-company-portal .yp-user-menu-chevron {
    display: inline-flex;
    margin-left: auto;
    color: #cbd5e1;
}

.yoplace-company-portal .yp-user-menu-chevron .yp-icon {
    width: 15px;
    height: 15px;
}

.yoplace-company-portal .yp-user-menu-separator {
    height: 1px;
    margin: 7px 2px;
    background: #eef2f7;
}

.yoplace-company-portal .yp-user-menu-logout {
    color: #991b1b;
}

.yoplace-company-portal .yp-user-menu-logout .yp-user-menu-icon {
    background: #fef2f2;
    color: #ef4444;
}

.yoplace-company-portal .yp-user-trigger:focus-visible,
.yoplace-company-portal .yp-user-menu-link:focus-visible,
.yoplace-company-portal .yp-sidebar-primary-action:focus-visible {
    outline: 0;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .16),
        0 0 0 1px rgba(37, 99, 235, .38);
}

@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar-actions {
        padding: 16px 14px 6px;
        background: #fff;
    }

    .yoplace-company-portal .yp-sidebar-primary-action {
        border-color: #0f172a;
        background: #0f172a;
        color: #fff;
    }

    .yoplace-company-portal .yp-sidebar-section-label {
        padding: 14px 24px 7px;
        color: #94a3b8;
    }

    .yoplace-company-portal .yp-topbar-actions {
        gap: 8px;
    }

    .yoplace-company-portal .yp-user-trigger {
        min-height: 42px;
        padding: 5px;
        border-radius: 15px;
    }

    .yoplace-company-portal .yp-user-trigger-copy,
    .yoplace-company-portal .yp-user-trigger-chevron {
        display: none;
    }

    .yoplace-company-portal .yp-user-dropdown {
        right: 0;
        width: min(318px, calc(100vw - 24px));
    }
}

@media (max-width: 430px) {
    .yoplace-company-portal .yp-topbar-actions {
        gap: 6px;
    }

    .yoplace-company-portal .yp-user-trigger-avatar {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .yoplace-company-portal .yp-user-dropdown {
        right: -2px;
    }
}
/* --------------------------------------------------------------------------
   24. Logo da empresa sincronizada no shell do portal
   -------------------------------------------------------------------------- */
.yoplace-company-portal .yp-company-avatar-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.yoplace-company-portal .yp-company-avatar-shell img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.yoplace-company-portal .yp-company-avatar-shell.has-image {
    padding: 0;
    background: #fff;
    color: transparent;
}

.yoplace-company-portal .yp-company-avatar-shell.has-image .yp-company-avatar-letter {
    display: none;
}

.yoplace-company-portal .yp-sidebar-company .yp-company-avatar-shell.has-image {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .96);
}

.yoplace-company-portal .yp-user-trigger-avatar.has-image,
.yoplace-company-portal .yp-user-dropdown-avatar.has-image {
    border: 1px solid rgba(226, 232, 240, .9);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .04);
}
/* --------------------------------------------------------------------------
   25. Logo centralizada no topo da sidebar
   -------------------------------------------------------------------------- */
.yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo {
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo::after {
    margin-left: 0;
    text-align: center;
}
/* --------------------------------------------------------------------------
   26. Sidebar footer refinado e subtítulo da marca removido
   -------------------------------------------------------------------------- */
.yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo::after {
    content: none;
    display: none;
}

.yoplace-company-portal .yp-sidebar-footer {
    margin: auto 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-footer::before {
    display: none;
}

.yoplace-company-portal .yp-sidebar-balance-card {
    margin: 0 14px 14px;
    padding: 15px 16px 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    background: #101827;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .055),
        0 14px 28px rgba(0, 0, 0, .12);
}

.yoplace-company-portal .yp-sidebar-balance-card::before {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    margin: 0 0 12px;
    border-radius: 999px;
    background: #ffd21f;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-label {
    margin-bottom: 6px;
    color: rgba(203, 213, 225, .72);
    font-size: 9.5px;
    font-weight: 850;
    letter-spacing: .08em;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd21f;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -.04em;
    line-height: 1;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value .yp-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.25;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-unit {
    margin-left: 0;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
}

.yoplace-company-portal .yp-sidebar-logout {
    display: flex;
    align-items: center;
    min-height: 62px;
    margin: 0;
    padding: 0 24px;
    border-top: 1px solid rgba(148, 163, 184, .14);
    color: rgba(226, 232, 240, .88);
    font-size: 12.5px;
    font-weight: 850;
}

.yoplace-company-portal .yp-sidebar-logout .yp-icon {
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

.yoplace-company-portal .yp-sidebar-logout:hover {
    background: rgba(255, 255, 255, .04);
    color: #fff;
    transform: none;
}

@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar-footer {
        margin: auto 0 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
}
.yoplace-company-portal .yp-sidebar::after {
    display: none;
}
/* --------------------------------------------------------------------------
   27. Sidebar: account row e wallet summary premium
   -------------------------------------------------------------------------- */
.yoplace-company-portal .yp-sidebar-brand {
    padding: 22px 14px 12px;
}

.yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo {
    margin-bottom: 18px;
}

.yoplace-company-portal .yp-sidebar-company {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-sidebar-company:hover,
.yoplace-company-portal .yp-sidebar-company:focus-visible {
    border-color: rgba(148, 163, 184, .16);
    background: rgba(255, 255, 255, .055);
    transform: translateY(-1px);
}

.yoplace-company-portal .yp-sidebar-company:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 210, 31, .1);
}

.yoplace-company-portal .yp-sidebar-company .yp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-company .yp-avatar.has-image {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .92);
}

.yoplace-company-portal .yp-company-info {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.yoplace-company-portal .yp-company-name {
    color: #f8fafc;
    font-size: 12.5px;
    font-weight: 820;
    letter-spacing: -.015em;
    line-height: 1.15;
}

.yoplace-company-portal .yp-company-badge {
    margin-top: 0;
    color: #2dd4bf;
    font-size: 10.5px;
    font-weight: 760;
    line-height: 1;
}

.yoplace-company-portal .yp-company-badge::before {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.yoplace-company-portal .yp-company-card-chevron {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    color: rgba(148, 163, 184, .58);
    opacity: 0;
    transform: translateX(-2px);
    transition:
        opacity var(--yp-transition-fast),
        transform var(--yp-transition-fast),
        color var(--yp-transition-fast);
}

.yoplace-company-portal .yp-company-card-chevron .yp-icon {
    width: 15px;
    height: 15px;
}

.yoplace-company-portal .yp-sidebar-company:hover .yp-company-card-chevron,
.yoplace-company-portal .yp-sidebar-company:focus-visible .yp-company-card-chevron {
    color: rgba(226, 232, 240, .88);
    opacity: 1;
    transform: translateX(0);
}

.yoplace-company-portal .yp-sidebar-actions {
    padding: 10px 14px 8px;
}

.yoplace-company-portal .yp-sidebar-primary-action {
    min-height: 38px;
    border-color: rgba(255, 210, 31, .22);
    background: rgba(255, 210, 31, .08);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.yoplace-company-portal .yp-sidebar-section-label {
    padding-top: 12px;
}

.yoplace-company-portal .yp-sidebar-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.yoplace-company-portal .yp-sidebar-balance-card {
    display: block;
    width: calc(100% - 28px);
    margin: 0 14px 12px;
    padding: 13px 14px 14px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, .94), rgba(15, 23, 42, .86));
    color: inherit;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    transition:
        background-color var(--yp-transition-fast),
        border-color var(--yp-transition-fast),
        transform var(--yp-transition-fast);
}

.yoplace-company-portal .yp-sidebar-balance-card:hover,
.yoplace-company-portal .yp-sidebar-balance-card:focus-visible {
    border-color: rgba(255, 210, 31, .28);
    background:
        linear-gradient(180deg, rgba(20, 29, 48, .98), rgba(15, 23, 42, .9));
    transform: translateY(-1px);
}

.yoplace-company-portal .yp-sidebar-balance-card:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 210, 31, .1);
}

.yoplace-company-portal .yp-sidebar-balance-card::before {
    width: 36px;
    height: 3px;
    margin-bottom: 10px;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(203, 213, 225, .72);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .09em;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd21f;
    font-size: 23px;
    font-weight: 930;
    letter-spacing: -.035em;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value .yp-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.3;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-unit {
    color: #e5e7eb;
    font-size: 11px;
    font-weight: 820;
}

.yoplace-company-portal .yp-sidebar-logout {
    min-height: 48px;
    padding: 0 20px;
    color: rgba(203, 213, 225, .78);
    font-size: 12px;
    font-weight: 760;
}

.yoplace-company-portal .yp-sidebar-logout:hover {
    background: rgba(255, 255, 255, .035);
    color: #f8fafc;
}

@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar-company {
        background: rgba(255, 255, 255, .055);
        border-color: rgba(255, 255, 255, .1);
    }

    .yoplace-company-portal .yp-company-card-chevron {
        opacity: 1;
    }
}
/* --------------------------------------------------------------------------
   28. Sidebar alinhada ao Metronic Demo 10
   -------------------------------------------------------------------------- */
@media (min-width: 861px) {
    .yoplace-company-portal { --yp-sidebar-w: 270px; }
}

.yoplace-company-portal .yp-sidebar {
    background: #0b0b0e;
    border-right-color: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-brand {
    padding: 0 14px;
    border-bottom: 0;
    background: transparent;
}

.yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo {
    width: 100%;
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.yoplace-company-portal .yp-brand-logo::after { display: none; }

.yoplace-company-portal .yp-brand-logo-frame {
    width: auto;
    min-height: 0;
}

.yoplace-company-portal .yp-brand-logo-img {
    width: 122px;
    max-height: 38px;
    filter: none;
}

.yoplace-company-portal .yp-sidebar-company {
    min-height: 44px;
    gap: 10px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-company:hover,
.yoplace-company-portal .yp-sidebar-company:focus-visible {
    border-color: transparent;
    background: rgba(255, 255, 255, .075);
    transform: none;
}

.yoplace-company-portal .yp-sidebar-company .yp-avatar {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    box-shadow: none;
}

.yoplace-company-portal .yp-company-info { gap: 2px; }

.yoplace-company-portal .yp-company-name {
    font-size: 13px;
    font-weight: 700;
}

.yoplace-company-portal .yp-company-badge {
    font-size: 10px;
    font-weight: 650;
}

.yoplace-company-portal .yp-company-card-chevron {
    color: rgba(226, 232, 240, .6);
    opacity: 1;
    transform: none;
}

.yoplace-company-portal .yp-sidebar-actions { padding: 10px 14px 0; }

.yoplace-company-portal .yp-sidebar-primary-action {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    color: #f4f4f5;
    font-size: 13px;
    font-weight: 650;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-primary-action:hover,
.yoplace-company-portal .yp-sidebar-primary-action:focus-visible {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .15);
    color: #fff;
    transform: none;
}

.yoplace-company-portal .yp-sidebar-section-label {
    margin: 0;
    padding: 20px 20px 12px;
    color: rgba(161, 161, 170, .78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.yoplace-company-portal .yp-sidebar-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 0 14px 12px;
}

.yoplace-company-portal .yp-sidebar-nav li {
    padding: 0;
    margin: 0;
}

.yoplace-company-portal .yp-nav-link {
    min-height: 40px;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
}

.yoplace-company-portal .yp-nav-link:hover {
    background: rgba(255, 255, 255, .065);
    color: #f4f4f5;
    transform: none;
}

.yoplace-company-portal .yp-nav-link.is-active {
    border-color: transparent;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: none;
}

.yoplace-company-portal .yp-nav-link.is-active::before { display: none; }

.yoplace-company-portal .yp-nav-icon,
.yoplace-company-portal .yp-nav-link.is-active .yp-nav-icon {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: transparent;
    color: currentColor;
}

.yoplace-company-portal .yp-nav-icon .yp-icon {
    width: 18px;
    height: 18px;
}

.yoplace-company-portal .yp-nav-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 0;
    background: #facc15;
    color: #18181b;
    font-size: 9px;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 12px 14px 14px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-footer::before,
.yoplace-company-portal .yp-sidebar-balance-card::before { display: none; }

.yoplace-company-portal .yp-sidebar-balance-card {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 38px;
    flex: 1 1 auto;
    align-items: center;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}

.yoplace-company-portal .yp-sidebar-balance-card:hover,
.yoplace-company-portal .yp-sidebar-balance-card:focus-visible {
    border-color: transparent;
    background: rgba(255, 255, 255, .075);
    transform: none;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-label { display: none; }

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value {
    gap: 7px;
    color: #f4f4f5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-value .yp-icon {
    width: 18px;
    height: 18px;
    color: #facc15;
    stroke-width: 2;
}

.yoplace-company-portal .yp-sidebar-balance-card .yp-balance-unit {
    color: #71717a;
    font-size: 10px;
    font-weight: 600;
}

.yoplace-company-portal .yp-sidebar-logout {
    display: inline-flex;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #71717a;
    font-size: 0;
}

.yoplace-company-portal .yp-sidebar-logout .yp-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.yoplace-company-portal .yp-sidebar-logout:hover,
.yoplace-company-portal .yp-sidebar-logout:focus-visible {
    background: rgba(255, 255, 255, .075);
    color: #f4f4f5;
}

@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar-brand { padding-inline: 14px; }
    .yoplace-company-portal .yp-sidebar-company {
        border-color: transparent;
        background: transparent;
    }
}

/* 28.1 Drawer movel coerente com a sidebar desktop */
@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar {
        border-radius: 0 16px 16px 0;
        background: #0b0b0e;
    }

    .yoplace-company-portal .yp-sidebar-brand {
        padding: env(safe-area-inset-top) 14px 8px;
        border-bottom: 0;
        background: #0b0b0e;
    }

    .yoplace-company-portal .yp-sidebar-brand > .yp-brand-logo {
        min-height: 64px;
    }

    .yoplace-company-portal .yp-sidebar-company,
    .yoplace-company-portal .yp-sidebar-company:hover {
        min-height: 44px;
        border-color: transparent;
        background: transparent;
    }

    .yoplace-company-portal .yp-sidebar-company .yp-avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }

    .yoplace-company-portal .yp-company-name { font-size: 13px; }

    .yoplace-company-portal .yp-sidebar-actions {
        padding: 10px 14px 0;
        background: #0b0b0e;
    }

    .yoplace-company-portal .yp-sidebar-primary-action {
        border-color: rgba(255, 255, 255, .08);
        background: rgba(255, 255, 255, .1);
        color: #f4f4f5;
    }

    .yoplace-company-portal .yp-sidebar-section-label {
        padding: 20px 20px 12px;
        background: #0b0b0e;
        color: rgba(161, 161, 170, .78);
    }

    .yoplace-company-portal .yp-sidebar-nav {
        gap: 6px;
        padding: 0 14px 12px;
        background: #0b0b0e;
    }

    .yoplace-company-portal .yp-nav-link {
        min-height: 40px;
        padding: 8px 10px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #a1a1aa;
        font-size: 13px;
        box-shadow: none;
    }

    .yoplace-company-portal .yp-nav-link:hover {
        background: rgba(255, 255, 255, .065);
        color: #f4f4f5;
    }

    .yoplace-company-portal .yp-nav-link.is-active {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .yoplace-company-portal .yp-nav-link.is-active .yp-nav-icon {
        background: transparent;
        color: currentColor;
    }

    .yoplace-company-portal .yp-nav-link::after { display: none; }

    .yoplace-company-portal .yp-sidebar-footer {
        margin: 0;
        padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
        border-color: rgba(255, 255, 255, .06);
        border-radius: 0;
        background: #0b0b0e;
    }
}

/* 28.2 Fundo azul-marinho com degradê sutil */
.yoplace-company-portal .yp-sidebar {
    background: linear-gradient(180deg, #0b1b34 0%, #09172d 48%, #071225 100%);
    border-right-color: rgba(96, 165, 250, .12);
}

@media (max-width: 860px) {
    .yoplace-company-portal .yp-sidebar-brand,
    .yoplace-company-portal .yp-sidebar-actions,
    .yoplace-company-portal .yp-sidebar-section-label,
    .yoplace-company-portal .yp-sidebar-nav,
    .yoplace-company-portal .yp-sidebar-footer {
        background: transparent;
    }
}
