/* JaMarca Front-end Premium — tokens, componentes e acabamento transversal. */
:root {
    --jm-color-brand: #22c55e;
    --jm-color-action: #15803d;
    --jm-color-action-hover: #166534;
    --jm-color-action-soft: #f0fdf4;
    --jm-color-positive-border: #86efac;
    --jm-color-text: #172033;
    --jm-color-text-secondary: #475569;
    --jm-color-text-muted: #64748b;
    --jm-color-border: #d7dee8;
    --jm-color-border-strong: #b8c3d1;
    --jm-color-surface: #ffffff;
    --jm-color-surface-soft: #f6f8fb;
    --jm-color-surface-muted: #eef2f6;
    --jm-color-danger: #dc2626;
    --jm-color-danger-hover: #b91c1c;
    --jm-color-danger-soft: #fef2f2;
    --jm-color-warning: #b45309;
    --jm-color-warning-soft: #fffbeb;
    --jm-color-info: #2563eb;
    --jm-color-info-soft: #eff6ff;
    --jm-color-recurrence: #6d28d9;
    --jm-color-recurrence-soft: #f5f3ff;
    --jm-color-recurrence-border: #c4b5fd;
    --jm-overlay: rgb(15 23 42 / 58%);
    --jm-shadow-panel: 0 18px 48px rgb(15 23 42 / 12%);
    --jm-shadow-control: 0 7px 18px rgb(15 23 42 / 8%);
    --jm-focus-ring: 0 0 0 3px rgb(34 197 94 / 24%);
    --jm-font-interface: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --jm-font-display: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --jm-text-xs: 12px;
    --jm-text-sm: 14px;
    --jm-text-md: 16px;
    --jm-text-lg: 20px;
    --jm-text-xl: 24px;
    --jm-text-2xl: 32px;
    --jm-radius-sm: 8px;
    --jm-radius-md: 12px;
    --jm-radius-lg: 16px;
    --jm-radius-xl: 24px;
    --jm-radius-pill: 999px;
    --jm-control-height: 48px;
    --jm-control-height-compact: 44px;
    --jm-duration-fast: 140ms;
    --jm-duration-medium: 200ms;

    /* Compatibilidade com os aliases históricos durante a migração. */
    --green: var(--jm-color-brand);
    --green-dark: var(--jm-color-action);
    --green-light: var(--jm-color-positive-border);
    --green-soft: var(--jm-color-action-soft);
    --graphite: var(--jm-color-text);
    --text: var(--jm-color-text);
    --muted: var(--jm-color-text-muted);
    --line: var(--jm-color-border);
    --line-strong: var(--jm-color-border-strong);
    --surface: var(--jm-color-surface);
    --bg: var(--jm-color-surface-soft);
    --danger: var(--jm-color-danger);
    --danger-soft: var(--jm-color-danger-soft);
    --shadow: var(--jm-shadow-panel);
    --jm-primary-500: var(--jm-color-brand);
    --jm-primary-600: var(--jm-color-action);
    --jm-primary-100: var(--jm-color-action-soft);
    --jm-primary-50: var(--jm-color-action-soft);
    --jm-graphite-900: var(--jm-color-text);
    --jm-graphite-700: var(--jm-color-text-secondary);
    --jm-graphite-500: var(--jm-color-text-muted);
    --jm-gray-300: var(--jm-color-border);
    --jm-gray-100: var(--jm-color-surface-muted);
    --jm-white: var(--jm-color-surface);
    --jm-warning: var(--jm-color-warning);
    --jm-error: var(--jm-color-danger);
    --jm-info: var(--jm-color-info);
    --jm-recurrence-50: var(--jm-color-recurrence-soft);
    --jm-recurrence-300: var(--jm-color-recurrence-border);
    --jm-recurrence-700: var(--jm-color-recurrence);
}

html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    color: var(--jm-color-text);
    font-family: var(--jm-font-interface);
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page, .institutional-site),
:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page, .institutional-site) * {
    box-sizing: border-box;
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page, .institutional-site) :where(img, svg, video, canvas) {
    max-width: 100%;
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page, .institutional-site) :where(button, input, select, textarea) {
    font: inherit;
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page, .institutional-site) :where(button, a, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--jm-color-action);
    outline-offset: 3px;
    box-shadow: var(--jm-focus-ring);
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page) :where(p, span, strong, small, label, a, button, input, select, textarea, dd, dt) {
    overflow-wrap: anywhere;
}

:where(.primary-button, .secondary-button, .danger-button, .seller-login-button, .public-confirm-button, .booking-main-cta, .booking-success-close) {
    min-height: var(--jm-control-height);
    border-radius: var(--jm-radius-md);
    padding: 0 20px;
    font-size: var(--jm-text-md);
    font-weight: 700;
    line-height: 1.2;
    transition: background-color var(--jm-duration-fast) ease, border-color var(--jm-duration-fast) ease, color var(--jm-duration-fast) ease, transform var(--jm-duration-fast) ease;
}

:where(.primary-button, .seller-login-button, .public-confirm-button, .booking-main-cta, .booking-success-close) {
    border: 1px solid var(--jm-color-action);
    background: var(--jm-color-action);
    color: var(--jm-color-surface);
}

:where(.primary-button, .seller-login-button, .public-confirm-button, .booking-main-cta, .booking-success-close):hover:not(:disabled) {
    border-color: var(--jm-color-action-hover);
    background: var(--jm-color-action-hover);
}

:where(.secondary-button) {
    border: 1px solid var(--jm-color-border-strong);
    background: var(--jm-color-surface);
    color: var(--jm-color-text);
}

:where(.danger-button) {
    border: 1px solid var(--jm-color-danger);
    background: var(--jm-color-danger);
    color: var(--jm-color-surface);
}

:where(button, input, select, textarea):disabled,
:where(button, input, select, textarea)[aria-disabled="true"] {
    cursor: not-allowed;
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-height: var(--jm-control-height);
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-md);
    background: var(--jm-color-surface);
    color: var(--jm-color-text);
    font-size: var(--jm-text-sm);
}

:where(.public-booking-experience, .seller-panel, .seller-login-shell, .seller-analytics-page) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: var(--jm-color-action);
}

:where(.form-message, .seller-login-alert, .seller-password-feedback, .seller-recurrence-global-feedback, .seller-recurrence-review-feedback, .seller-analytics-feedback) {
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-sm);
    line-height: 1.5;
}

/* Fechamento transversal neutro: vermelho permanece exclusivo de ações destrutivas. */
.public-booking-experience .public-modal-close,
.seller-agenda-experience .seller-agenda-dialog-close,
.seller-agenda-experience .seller-agenda-legend-close,
.seller-agenda-experience #seller-plan-dialog-close,
.public-booking-experience [data-working-hours-close] {
    position: relative;
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-md);
    padding: 0;
    background: var(--jm-color-surface-muted);
    color: var(--jm-color-text-secondary);
    box-shadow: none;
}

.public-booking-experience .public-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.public-booking-experience .public-modal-heading {
    padding-right: 52px;
}

.public-booking-experience .public-modal-close::before,
.seller-agenda-experience .seller-agenda-dialog-close::before,
.seller-agenda-experience .seller-agenda-legend-close::before,
.seller-agenda-experience #seller-plan-dialog-close::before,
.public-booking-experience [data-working-hours-close]::before {
    display: none;
}

.public-booking-experience .public-modal-close:hover:not(:disabled),
.seller-agenda-experience .seller-agenda-dialog-close:hover:not(:disabled),
.seller-agenda-experience .seller-agenda-legend-close:hover:not(:disabled),
.seller-agenda-experience #seller-plan-dialog-close:hover:not(:disabled),
.public-booking-experience [data-working-hours-close]:hover:not(:disabled) {
    border-color: var(--jm-color-border-strong);
    background: var(--jm-color-surface-soft);
    color: var(--jm-color-text);
}

.public-booking-experience .public-modal-close svg,
.seller-agenda-experience .seller-agenda-dialog-close svg,
.seller-agenda-experience .seller-agenda-legend-close svg,
.seller-agenda-experience #seller-plan-dialog-close svg,
.public-booking-experience [data-working-hours-close] svg {
    width: 18px;
    height: 18px;
}

/* Vitrine pública */
.public-booking-experience.public-storefront-v2 {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    background: var(--jm-color-surface-soft);
    color: var(--jm-color-text);
}

.public-booking-experience.public-storefront-v2 .booking-experience-header {
    background: transparent;
}

.public-booking-experience.public-storefront-v2 .booking-experience-grid {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: minmax(320px, .82fr) minmax(480px, 1.18fr);
    gap: 24px;
    align-items: start;
}

.public-booking-experience.public-storefront-v2 :where(.booking-seller-card, .booking-panel-card) {
    min-width: 0;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-xl);
    background: var(--jm-color-surface);
    box-shadow: var(--jm-shadow-control);
}

.public-booking-experience.public-storefront-v2 .booking-seller-card,
.public-booking-experience.public-storefront-v2 .booking-panel-card {
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-xl);
    background: var(--jm-color-surface);
    box-shadow: var(--jm-shadow-control);
}

.public-booking-experience.public-storefront-v2 .booking-panel-card {
    padding: 28px;
}

.public-booking-experience.public-storefront-v2 .booking-panel-head h2 {
    font-family: var(--jm-font-display);
    font-size: clamp(var(--jm-text-lg), 2.2vw, var(--jm-text-xl));
    line-height: 1.2;
}

.public-booking-experience.public-storefront-v2 :where(.booking-seller-category, .booking-seller-address, .booking-seller-bio, .booking-panel-head p, .booking-working-hours-today, .booking-next-offer small) {
    font-size: var(--jm-text-sm);
    line-height: 1.5;
}

.public-booking-experience.public-storefront-v2 .booking-seller-identity-copy h1 {
    font-family: var(--jm-font-display);
    font-size: clamp(var(--jm-xl, 24px), 3vw, var(--jm-text-2xl));
    line-height: 1.2;
}

.public-booking-experience.public-storefront-v2 :where(.booking-share, .booking-calendar-arrow, .booking-month-trigger, .booking-working-hours-action, .booking-month-arrow) {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--jm-radius-md);
}

.public-booking-experience.public-storefront-v2 .booking-service-trigger {
    min-height: 52px;
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-md);
}

.public-booking-experience.public-storefront-v2 .booking-service-option {
    min-height: 52px;
    font-size: var(--jm-text-sm);
}

.public-booking-experience.public-storefront-v2 .booking-month-trigger {
    color: var(--jm-color-text);
    font-size: var(--jm-text-sm);
    font-weight: 650;
}

.public-booking-experience.public-storefront-v2 .booking-week {
    gap: 8px;
}

.public-booking-experience.public-storefront-v2 .booking-day {
    min-width: 0;
    min-height: 72px;
    border-radius: var(--jm-radius-md);
}

.public-booking-experience.public-storefront-v2 .booking-day.selected {
    border-width: 2px;
    border-radius: var(--jm-radius-md);
}

.public-booking-experience.public-storefront-v2 .booking-day span,
.public-booking-experience.public-storefront-v2 .booking-day em,
.public-booking-experience .booking-month-weekdays span {
    font-size: var(--jm-text-xs);
}

.public-booking-experience.public-storefront-v2 .booking-day b {
    font-size: var(--jm-text-lg);
    font-weight: 750;
}

.public-booking-experience.public-storefront-v2 .booking-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-booking-experience.public-storefront-v2 .booking-periods button {
    min-height: 44px;
    border-radius: var(--jm-radius-pill);
    padding: 0 16px;
    font-size: var(--jm-text-sm);
    font-weight: 650;
}

.public-booking-experience.public-storefront-v2 .booking-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.public-booking-experience.public-storefront-v2 .booking-slot {
    min-width: 0;
    min-height: 60px;
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-md);
    font-weight: 750;
}

.public-booking-experience.public-storefront-v2 .booking-slot small {
    font-size: var(--jm-text-xs);
    font-weight: 600;
}

.public-booking-experience.public-storefront-v2 .booking-main-cta:disabled {
    border-color: var(--jm-color-border);
    background: var(--jm-color-surface-muted);
    color: var(--jm-color-text-muted);
    opacity: 1;
}

.public-booking-experience.public-storefront-v2 .booking-main-cta:disabled .booking-confirm-icon {
    display: none;
}

.public-booking-experience.public-storefront-v2 .booking-footer-cta {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.public-booking-experience .booking-month-popover,
.public-booking-experience .booking-working-hours-dialog,
.public-booking-experience .public-booking-dialog,
.public-booking-experience .public-success-card {
    border-radius: var(--jm-radius-xl);
    box-shadow: var(--jm-shadow-panel);
}

.public-booking-experience .public-booking-dialog {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.public-booking-experience .public-modal-heading h2 {
    font-family: var(--jm-font-display);
    font-size: var(--jm-text-xl);
}

.public-booking-experience :where(.booking-field-label, .booking-field-error, .booking-messaging-consent, .booking-locked-selection, .public-selected-slot, .form-message) {
    font-size: var(--jm-text-sm);
}

.public-booking-experience .booking-messaging-consent input {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.public-booking-experience .booking-success-card :where(p, span, strong) {
    font-size: var(--jm-text-sm);
    line-height: 1.5;
}

.public-booking-experience .booking-success-card h2 {
    font-family: var(--jm-font-display);
    font-size: var(--jm-text-xl);
}

.public-booking-experience .booking-success-details {
    display: grid;
    width: 100%;
    gap: 10px;
    margin: 18px 0;
    text-align: left;
}

.public-booking-experience .booking-success-details > div {
    min-width: 0;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-md);
    padding: 12px 14px;
    background: var(--jm-color-surface-soft);
}

.public-booking-experience .booking-success-details dt {
    color: var(--jm-color-text-muted);
    font-size: var(--jm-text-xs);
    font-weight: 600;
}

.public-booking-experience .booking-success-details dd {
    margin: 3px 0 0;
    color: var(--jm-color-text);
    font-size: var(--jm-text-sm);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Login e recuperação */
.seller-login-shell {
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--jm-color-surface-soft);
}

.seller-login-card {
    width: min(100%, 440px);
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-xl);
    box-shadow: var(--jm-shadow-panel);
}

.seller-login-card h1 {
    font-family: var(--jm-font-display);
    font-size: var(--jm-text-xl);
    line-height: 1.25;
}

.seller-login-form :where(label, input, button, p, small),
.seller-login-intro,
.seller-login-help {
    font-size: var(--jm-text-sm);
    line-height: 1.5;
}

.seller-login-password-toggle,
.seller-login-forgot,
.seller-login-back {
    min-height: 44px;
    font-size: var(--jm-text-sm);
}

/* Painel do seller e Agenda */
.seller-panel {
    min-width: 0;
    overflow-x: clip;
    color: var(--jm-color-text);
    font-family: var(--jm-font-interface);
}

.seller-agenda-experience :where(.seller-agenda-header, .seller-panel-body) {
    width: min(1180px, calc(100% - 40px));
}

.seller-agenda-experience :where(.seller-agenda-card, .seller-card, .seller-agenda-next) {
    min-width: 0;
    border-radius: var(--jm-radius-lg);
    border-color: var(--jm-color-border);
    box-shadow: var(--jm-shadow-control);
}

.seller-agenda-experience .seller-agenda-utility-actions .seller-agenda-icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--jm-radius-md);
}

.seller-agenda-experience .seller-notifications-count {
    min-width: 20px;
    min-height: 20px;
    font-size: var(--jm-text-xs);
}

.seller-agenda-experience .seller-agenda-appointment {
    min-width: 0;
    border-radius: var(--jm-radius-md);
}

.seller-agenda-experience .seller-agenda-appointment-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px 10px;
}

.seller-agenda-experience .seller-agenda-appointment-heading > strong {
    min-width: 0;
    font-size: var(--jm-text-sm);
    line-height: 1.35;
}

.seller-agenda-experience :where(.seller-agenda-status, .seller-appointment-action-origin, .seller-appointment-recurrence-origin, .seller-agenda-appointment-id, .seller-agenda-appointment-selection-label) {
    font-size: var(--jm-text-xs);
    line-height: 1.35;
}

.seller-agenda-experience :where(.seller-agenda-appointment-phone, .seller-agenda-appointment-selection-name) {
    font-size: var(--jm-text-sm);
    line-height: 1.4;
}

.seller-agenda-experience .seller-agenda-appointment-selection-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.seller-agenda-experience .seller-appointment-action-origin {
    border: 0;
    padding: 0;
    background: transparent;
}

.seller-agenda-experience :where(.seller-agenda-dialog, .seller-agenda-legend-popover, .seller-notifications-panel, .seller-plan-dialog) {
    border-radius: var(--jm-radius-xl);
    box-shadow: var(--jm-shadow-panel);
}

.seller-agenda-experience .seller-agenda-legend-list {
    grid-template-columns: minmax(150px, .85fr) minmax(0, 1.15fr);
    gap: 10px 16px;
}

.seller-agenda-experience .seller-agenda-legend-status,
.seller-agenda-experience .seller-agenda-legend-new,
.seller-agenda-experience .seller-agenda-legend-list p {
    font-size: var(--jm-text-xs);
}

.seller-agenda-experience :where(.seller-appointment-action-confirm, .seller-appointment-action-cancel, .seller-appointment-action-cancel-series, .seller-appointment-decision-submit, .seller-appointment-decision-back) {
    min-height: var(--jm-control-height);
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-sm);
    font-weight: 700;
}

.seller-agenda-experience :where(.seller-appointment-action-confirm, .seller-appointment-decision-submit.confirm) {
    border-color: var(--jm-color-action);
    background: var(--jm-color-action);
    color: var(--jm-color-surface);
}

.seller-agenda-experience :where(.seller-appointment-action-cancel, .seller-appointment-action-cancel-series, .seller-appointment-decision-submit.cancel) {
    border-color: var(--jm-color-danger);
    background: var(--jm-color-danger);
    color: var(--jm-color-surface);
}

.seller-agenda-experience :where(.seller-appointment-action-cancel, .seller-appointment-action-cancel-series, .seller-appointment-decision-submit.cancel):hover:not(:disabled) {
    background: var(--jm-color-danger-hover);
}

.seller-agenda-experience #seller-view-dados .seller-settings-grid {
    gap: 20px;
}

.seller-agenda-experience #seller-view-dados .seller-card {
    padding: 24px;
}

.seller-agenda-experience #seller-view-dados :where(label, small, p, button, input, select, textarea) {
    font-size: var(--jm-text-sm);
}

.seller-agenda-experience .seller-save-bar {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.seller-agenda-experience #seller-settings-save {
    border-color: var(--jm-color-action);
    background: var(--jm-color-action);
    color: var(--jm-color-surface);
    box-shadow: none;
}

.seller-agenda-experience #seller-settings-save:hover:not(:disabled) {
    border-color: var(--jm-color-action-hover);
    background: var(--jm-color-action-hover);
}

.seller-agenda-experience #seller-settings-save .seller-action-save-icon {
    display: none;
}

.seller-agenda-experience .seller-appointment-decision-dialog .seller-agenda-dialog-body > .seller-agenda-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
}

.seller-agenda-experience .seller-appointment-decision-submit .button-text {
    text-align: center;
}

.seller-agenda-experience .seller-appointment-decision-submit:not(.loading) .button-loader {
    display: none;
}

/* Recorrência */
.seller-recurrence-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: var(--jm-radius-xl);
}

.seller-recurrence-header,
.seller-recurrence-steps,
.seller-recurrence-footer {
    flex: 0 0 auto;
}

.seller-recurrence-header p,
.seller-recurrence-steps,
.seller-recurrence-steps b,
.seller-recurrence-intro p,
.seller-recurrence-field,
.seller-recurrence-frequency legend,
.seller-recurrence-field small,
.seller-recurrence-custom small,
.seller-recurrence-review-summary dt,
.seller-recurrence-success dt,
.seller-recurrence-occurrence small,
.seller-recurrence-occurrence em,
.seller-recurrence-footer > span,
.seller-appointment-recurrence-origin {
    font-size: var(--jm-text-xs);
}

.seller-recurrence-header h2 {
    font-family: var(--jm-font-display);
    font-size: var(--jm-text-xl);
}

.seller-recurrence-intro h3 {
    font-size: var(--jm-text-lg);
}

.seller-recurrence-field :where(input, select),
.seller-recurrence-field .seller-recurrence-time-control select {
    min-height: var(--jm-control-height);
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-sm);
}

.seller-recurrence-time-control {
    border-radius: var(--jm-radius-md);
}

.seller-recurrence-number-control {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
}

.seller-recurrence-number-control button {
    display: grid;
    width: 44px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-md);
    background: var(--jm-color-surface-muted);
    color: var(--jm-color-text);
    font-size: var(--jm-text-lg);
    font-weight: 700;
}

.seller-recurrence-number-control input {
    width: 100%;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.seller-recurrence-frequency label span,
.seller-recurrence-occurrence button,
.seller-recurrence-footer button {
    min-height: 44px;
    font-size: var(--jm-text-sm);
}

.seller-recurrence-occurrence {
    border-radius: var(--jm-radius-md);
}

.seller-recurrence-review-summary dd,
.seller-recurrence-success dd,
.seller-recurrence-occurrence strong {
    font-size: var(--jm-text-sm);
}

/* Analytics */
.seller-analytics-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    background: var(--jm-color-surface-soft);
    color: var(--jm-color-text);
    font-family: var(--jm-font-interface);
}

.seller-analytics-content {
    width: min(1180px, calc(100% - 40px));
    min-width: 0;
}

.seller-analytics-heading h1,
.seller-analytics-card h2 {
    font-family: var(--jm-font-display);
}

.seller-analytics-heading h1 {
    font-size: var(--jm-text-2xl);
}

.seller-analytics-page :where(p, span, small, label, button, input, select, strong) {
    font-size: var(--jm-text-sm);
    line-height: 1.45;
}

.seller-analytics-fixed,
.seller-analytics-metrics {
    gap: 12px;
}

.seller-analytics-fixed article,
.seller-analytics-metrics article,
.seller-analytics-card {
    min-width: 0;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-lg);
    background: var(--jm-color-surface);
    box-shadow: var(--jm-shadow-control);
}

.seller-analytics-fixed article strong,
.seller-analytics-metrics article strong,
.seller-analytics-insights strong {
    font-variant-numeric: tabular-nums;
}

.seller-analytics-metrics article:first-child,
.seller-analytics-metrics article:last-child {
    grid-column: span 1;
}

.seller-analytics-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(138px, .7fr)) repeat(2, minmax(150px, .8fr)) auto;
    gap: 12px;
    align-items: end;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-lg);
    padding: 16px;
    background: var(--jm-color-surface);
}

.seller-analytics-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.seller-analytics-page[data-custom-period="false"] .seller-analytics-date-field {
    display: none;
}

.seller-analytics-page[data-custom-period="true"] .seller-analytics-date-field {
    display: grid;
}

.seller-analytics-presets button,
.seller-analytics-back,
.seller-analytics-feedback button {
    min-height: 44px;
    border-radius: var(--jm-radius-md);
    font-size: var(--jm-text-sm);
}

.seller-analytics-presets button.active {
    border-color: var(--jm-color-action);
    background: var(--jm-color-action-soft);
    color: var(--jm-color-action-hover);
}

.seller-analytics-feedback {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--jm-color-border);
    padding: 12px 16px;
    background: var(--jm-color-surface);
}

.seller-analytics-feedback.success {
    border-color: var(--jm-color-positive-border);
    background: var(--jm-color-action-soft);
    color: var(--jm-color-action-hover);
}

.seller-analytics-feedback.error {
    border-color: var(--jm-color-danger);
    background: var(--jm-color-danger-soft);
    color: var(--jm-color-danger-hover);
}

.seller-analytics-feedback button {
    margin-inline-start: auto;
    border: 1px solid currentColor;
    padding: 0 14px;
    background: transparent;
    color: inherit;
}

.seller-analytics-dashboard {
    align-items: stretch;
}

.seller-analytics-chart {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.seller-analytics-bar-wrap i {
    height: var(--bar-size, 8%);
    background: var(--jm-color-info);
}

.seller-analytics-table .row > *,
.seller-analytics-table .head > * {
    min-width: 0;
}

.seller-analytics-page.is-initial-loading :where(.seller-analytics-fixed article, .seller-analytics-metrics article, .seller-analytics-card) {
    position: relative;
    overflow: hidden;
}

.seller-analytics-page.is-initial-loading :where(.seller-analytics-fixed article, .seller-analytics-metrics article, .seller-analytics-card)::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, var(--jm-color-surface-muted) 50%, transparent 80%);
    content: "";
    animation: jm-premium-skeleton 1.2s ease-in-out infinite;
}

/* Institucional */
.institutional-site {
    color: var(--jm-color-text);
    font-family: var(--jm-font-interface);
}

.institutional-site :where(p, li, summary, a, button, strong, span) {
    font-size: max(var(--jm-text-xs), 1em);
}

.institutional-site :where(h1, h2, h3) {
    font-family: var(--jm-font-display);
}

.institutional-site .institutional-logo,
.institutional-site .institutional-header nav a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
}

.institutional-site .institutional-button {
    min-height: 48px;
    border-radius: var(--jm-radius-md);
    background: var(--jm-color-action);
    color: var(--jm-color-surface);
    font-size: var(--jm-text-md);
}

.institutional-site .institutional-button:hover {
    background: var(--jm-color-action-hover);
}

.institutional-site .contact-grid-informative {
    display: block;
    max-width: 760px;
}

.institutional-site .definition-grid-single {
    display: block;
    max-width: 820px;
}

.institutional-site .contact-grid-informative > div {
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-xl);
    padding: clamp(24px, 5vw, 48px);
    background: var(--jm-color-surface);
    box-shadow: var(--jm-shadow-control);
}

@keyframes jm-premium-skeleton {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (max-width: 1120px) {
    .public-booking-experience.public-storefront-v2 .booking-experience-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-booking-experience.public-storefront-v2 :where(.booking-seller-card, .booking-panel-card) {
        width: min(100%, 760px);
        justify-self: center;
    }

    .seller-analytics-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-analytics-presets {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .public-booking-experience.public-storefront-v2 .booking-experience-grid,
    .seller-agenda-experience :where(.seller-agenda-header, .seller-panel-body),
    .seller-analytics-content {
        width: min(100%, calc(100% - 24px));
    }

    .public-booking-experience.public-storefront-v2 .booking-panel-card {
        padding: 20px;
    }

    .public-booking-experience.public-storefront-v2 .booking-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .public-booking-experience .public-booking-dialog,
    .public-booking-experience .public-success-card,
    .seller-recurrence-dialog {
        width: calc(100% - 16px);
        max-width: none;
        max-height: calc(100vh - 16px);
        max-height: calc(var(--jm-visual-viewport-height, 100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: max(8px, env(safe-area-inset-top)) auto max(8px, env(safe-area-inset-bottom));
        border-radius: var(--jm-radius-xl);
    }

    .seller-agenda-experience .seller-agenda-appointment-heading {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-agenda-experience .seller-agenda-appointment-heading > .seller-agenda-status {
        justify-self: start;
    }

    .seller-agenda-experience #seller-view-dados .seller-settings-grid,
    .seller-agenda-experience #seller-view-dados .seller-public-links-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-recurrence-frequency > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-recurrence-occurrence {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .seller-recurrence-occurrence > :where(em, button) {
        grid-column: 2;
        width: 100%;
    }

    .seller-recurrence-footer {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .seller-analytics-fixed,
    .seller-analytics-metrics,
    .seller-analytics-dashboard,
    .seller-analytics-filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-analytics-presets {
        grid-column: auto;
    }

    .seller-analytics-filters > :where(label, button) {
        width: 100%;
    }

    .seller-analytics-table .head {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .seller-analytics-table .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        border: 1px solid var(--jm-color-border);
        border-radius: var(--jm-radius-md);
        padding: 16px;
        background: var(--jm-color-surface);
    }

    .seller-analytics-table .row > * {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    .seller-analytics-page .seller-analytics-table .row > *:nth-child(4),
    .seller-analytics-page .seller-analytics-table .row > *:nth-child(5) {
        display: grid;
    }

    .seller-analytics-table .row > *::before {
        color: var(--jm-color-text-muted);
        content: attr(data-label);
        font-size: var(--jm-text-xs);
        font-weight: 600;
    }

    .seller-analytics-table .row > strong {
        grid-column: 1 / -1;
        font-size: var(--jm-text-md);
    }

    body.institutional-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 420px) {
    .public-booking-experience.public-storefront-v2 .booking-working-hours-action {
        display: grid;
        width: min(100%, 156px);
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 2px 5px;
    }

    .public-booking-experience.public-storefront-v2 .booking-open-state {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .public-booking-experience.public-storefront-v2 .booking-working-hours-today {
        min-width: 0;
        white-space: normal;
    }

    .public-booking-experience.public-storefront-v2 .booking-seller-channels {
        width: calc(100% + 36px);
        margin-inline: -18px;
    }

    .public-booking-experience.public-storefront-v2 .booking-channel-grid {
        gap: 0;
    }

    .public-booking-experience.public-storefront-v2 .booking-channel-copy strong {
        font-family: var(--jm-font-interface);
        font-weight: 600;
        letter-spacing: -.035em;
    }

    .public-booking-experience.public-storefront-v2 .booking-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-booking-experience.public-storefront-v2 .booking-periods button {
        flex: 1 1 calc(50% - 8px);
        padding-inline: 10px;
    }

    .seller-agenda-experience .seller-agenda-legend-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-analytics-table .row {
        grid-template-columns: minmax(0, 1fr);
    }

    .seller-analytics-feedback {
        align-items: stretch;
        flex-direction: column;
    }

    .seller-analytics-feedback button {
        width: 100%;
        margin-inline-start: 0;
        white-space: nowrap;
    }

    .seller-analytics-table .row > strong {
        grid-column: auto;
    }
}

@media (max-width: 340px) {
    .public-booking-experience.public-storefront-v2 .booking-experience-grid,
    .seller-agenda-experience :where(.seller-agenda-header, .seller-panel-body),
    .seller-analytics-content {
        width: min(100%, calc(100% - 16px));
    }

    .public-booking-experience.public-storefront-v2 .booking-panel-card,
    .seller-agenda-experience #seller-view-dados .seller-card {
        padding: 16px;
    }

    .public-booking-experience.public-storefront-v2 .booking-week {
        gap: 4px;
    }

    .public-booking-experience.public-storefront-v2 .booking-day {
        min-height: 64px;
    }
}

/* Release 2.32.1 — identidade do Seller e horários públicos alinhados ao componente compacto. */
.seller-agenda-experience .seller-agenda-seller-copy {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 6px;
}

.seller-agenda-experience .seller-agenda-category {
    display: block;
    min-width: 0;
    color: var(--jm-color-text-secondary);
    font-size: var(--jm-text-sm);
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.seller-agenda-experience .seller-agenda-category[hidden] {
    display: none;
}

.seller-agenda-experience .seller-agenda-working-hours {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    margin-top: 0;
    color: var(--jm-color-text-secondary);
    font-size: 13px;
    line-height: 1.35;
}

.seller-agenda-experience .seller-agenda-open-state {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: var(--jm-radius-pill);
    padding: 3px 9px;
    background: var(--jm-color-surface-soft);
    color: var(--jm-color-text-secondary);
    font-size: var(--jm-text-xs);
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.seller-agenda-experience .seller-agenda-working-hours.is-open-now .seller-agenda-open-state {
    background: var(--jm-color-action-soft);
    color: var(--jm-color-action);
}

.seller-agenda-experience .seller-agenda-working-hours-today {
    min-width: 0;
    color: var(--jm-color-text-secondary);
    font-size: 13px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.seller-agenda-experience .seller-agenda-working-hours-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 0;
    background: transparent;
    color: var(--jm-color-text-secondary);
}

.seller-agenda-experience .seller-agenda-working-hours-icon svg {
    width: 18px;
    height: 18px;
}

.seller-agenda-experience .seller-agenda-page-heading {
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
}

.seller-agenda-experience .seller-agenda-page-heading > .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
}

.public-booking-experience .booking-working-hours-dialog .booking-dialog-close {
    position: relative;
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--jm-color-border);
    border-radius: var(--jm-radius-md);
    padding: 0;
    background: var(--jm-color-surface-muted);
    color: var(--jm-color-text-secondary);
    box-shadow: none;
}

.public-booking-experience .booking-working-hours-dialog .booking-dialog-close:hover:not(:disabled) {
    border-color: var(--jm-color-border-strong);
    background: var(--jm-color-surface-soft);
    color: var(--jm-color-text);
}

.public-booking-experience .booking-working-hours-dialog .booking-dialog-close svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 720px) {
    .public-booking-experience .booking-working-hours-dialog {
        position: fixed;
        top: var(--jm-working-hours-top, 12px);
        left: var(--jm-working-hours-left, 12px);
        width: min(340px, calc(100vw - 24px));
    }
}

@media (max-width: 340px) {
    .seller-agenda-experience .seller-agenda-working-hours {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 24px;
    }

    .seller-agenda-experience .seller-agenda-working-hours-today {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    /* Mantém o retorno de compartilhamento perceptível sem reintroduzir deslocamentos. */
    .public-booking-experience .public-copy-toast.show {
        animation-duration: 2.4s !important;
    }
}

/* Release 2.34.0 — cabeçalho Parceiro/Parceiro Plus em alta fidelidade. */
.seller-agenda-experience .seller-agenda-header {
    display: grid;
    width: min(100%, 1220px);
    min-height: 202px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 12px 24px;
    margin-bottom: 10px;
    padding: 0 26px;
}

.seller-agenda-experience .seller-agenda-identity-main {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
}

.seller-agenda-experience .seller-agenda-seller-identity {
    min-width: 0;
    align-items: flex-start;
    gap: 16px;
}

.seller-agenda-experience .seller-agenda-logo {
    width: 160px;
    height: 160px;
    flex-basis: 160px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(31, 41, 55, .12);
}

.seller-agenda-experience .seller-agenda-seller-copy {
    align-content: start;
    gap: 0;
    padding-top: 2px;
}

.seller-agenda-experience .seller-agenda-seller-copy > strong {
    max-width: min(52vw, 660px);
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.seller-agenda-experience .seller-agenda-category {
    width: max-content;
    max-width: 100%;
    margin-top: 18px;
    color: var(--jm-color-text-secondary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.seller-agenda-experience .seller-agenda-working-hours {
    width: fit-content;
    min-height: 44px;
    margin-top: 10px;
    border: 1px solid rgba(148, 163, 184, .48);
    border-radius: 10px;
    padding: 0 10px;
    gap: 8px;
    background: var(--jm-color-surface);
    box-shadow: 0 3px 10px rgba(31, 41, 55, .025);
    color: var(--jm-color-text-secondary);
    cursor: pointer;
}

.seller-agenda-experience .seller-agenda-working-hours:hover,
.seller-agenda-experience .seller-agenda-working-hours:focus-visible {
    border-color: var(--jm-color-action);
    background: var(--jm-color-action-soft);
}

.seller-agenda-experience .seller-agenda-open-state {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
}

.seller-agenda-experience .seller-agenda-working-hours.is-open-now .seller-agenda-open-state {
    background: transparent;
    color: var(--jm-color-action);
}

.seller-agenda-experience .seller-agenda-working-hours-today {
    font-size: 12px;
}

.seller-agenda-experience .seller-agenda-working-hours-today:empty {
    display: none;
}

.seller-agenda-experience .seller-agenda-working-hours-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.seller-agenda-experience .seller-agenda-working-hours-icon svg {
    width: 18px;
    height: 18px;
}

.seller-agenda-experience .seller-agenda-header-actions {
    grid-column: 2;
    grid-row: 1;
}

.seller-agenda-experience .seller-agenda-clock-brand {
    display: grid;
    width: 310px;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: end;
    align-items: start;
    gap: 4px 10px;
}

.seller-agenda-experience .seller-agenda-jamarca {
    grid-column: 1 / -1;
    justify-self: end;
}

.seller-agenda-experience .seller-agenda-jamarca img {
    width: 160px;
}

.seller-agenda-experience .seller-agenda-clock {
    display: grid;
    width: auto;
    min-width: 0;
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 8px;
    text-align: right;
}

.seller-agenda-experience .seller-agenda-clock > div {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 18px;
}

.seller-agenda-experience .seller-agenda-clock strong,
.seller-agenda-experience .seller-agenda-clock time {
    color: var(--jm-color-text);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 1.75vw, 22px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.seller-agenda-experience .seller-agenda-clock time {
    color: var(--jm-color-text-secondary);
}

.seller-agenda-experience .seller-plan-plus-seal {
    display: block;
    width: 56px;
    height: 20px;
    grid-column: 1 / -1;
    justify-self: end;
}

.seller-agenda-experience .seller-plan-plus-seal[hidden],
.seller-agenda-experience .seller-plan-badge[hidden] {
    display: none;
}

.seller-agenda-experience .seller-plan-badge.partner {
    min-height: 20px;
    grid-column: 1 / -1;
    justify-self: end;
    border-radius: 999px;
    padding: 0 9px;
    background: var(--jm-color-info);
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions {
    display: flex;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions .seller-agenda-icon-button {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 14px;
    color: var(--jm-color-text);
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions .seller-agenda-icon-button svg {
    width: 27px;
    height: 27px;
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions :is(.seller-analytics-access.enabled, .seller-recurrence-access.enabled) {
    color: var(--jm-color-recurrence);
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions :is(.seller-analytics-access.enabled, .seller-recurrence-access.enabled):hover {
    background: var(--jm-color-recurrence-soft);
}

.seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions [aria-disabled="true"] {
    color: var(--jm-color-text-muted);
    opacity: .42;
    cursor: not-allowed;
}

.seller-agenda-experience .seller-tool-label {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 50%;
    border-radius: 8px;
    padding: 6px 8px;
    background: var(--jm-color-text);
    color: var(--jm-color-surface);
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -3px);
    transition: opacity .16s ease, transform .16s ease;
    white-space: nowrap;
}

.seller-agenda-experience .seller-agenda-icon-button:hover > .seller-tool-label,
.seller-agenda-experience .seller-agenda-icon-button:focus-visible > .seller-tool-label {
    opacity: 1;
    transform: translate(-50%, 0);
}

.seller-agenda-experience .seller-agenda-page-heading {
    display: none;
}

.seller-agenda-experience .seller-agenda-next {
    min-height: 194px;
    margin-top: 10px;
    padding: 22px;
}

.seller-agenda-experience .seller-agenda-next.is-empty .seller-agenda-next-head h2 {
    font-size: 0;
}

.seller-agenda-experience .seller-agenda-next.is-empty .seller-agenda-next-head h2::after {
    content: "Agenda livre";
    font-size: 20px;
}

.seller-agenda-experience .seller-agenda-next .seller-agenda-empty.compact {
    width: min(352px, 100%);
    min-height: 90px;
    margin-top: 22px;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: #eef2f6;
}

.seller-hours-dialog {
    width: min(440px, 100%);
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
}

.seller-hours-dialog::backdrop {
    background: rgba(17, 24, 39, .48);
    backdrop-filter: blur(3px);
}

.seller-hours-dialog-body {
    min-height: 100%;
    padding: 24px;
    background: var(--jm-color-surface);
    box-shadow: -20px 0 60px rgba(31, 41, 55, .22);
}

.seller-hours-dialog-body > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.seller-hours-dialog-body h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

.seller-hours-dialog-body [data-close-seller-hours] {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid var(--jm-color-danger-soft);
    border-radius: 12px;
    padding: 0;
    background: var(--jm-color-danger-soft);
    color: var(--jm-color-danger);
}

.seller-hours-dialog-body [data-close-seller-hours] svg {
    width: 20px;
    height: 20px;
}

.seller-hours-current {
    margin: 24px 0 0;
    border-radius: 14px;
    padding: 14px;
    background: var(--jm-color-surface-muted);
    color: var(--jm-color-text-secondary);
    font-size: 13px;
}

.seller-hours-current > span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--jm-color-danger);
}

.seller-hours-week {
    margin: 18px 0 0;
}

.seller-hours-week > div {
    display: flex;
    min-height: 47px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--jm-color-border);
    font-size: 13px;
}

.seller-hours-week dt {
    color: var(--jm-color-text-muted);
}

.seller-hours-week dd {
    margin: 0;
    font-weight: 800;
}

.seller-hours-week .today,
.seller-hours-week .today dt {
    color: var(--jm-color-danger);
    font-weight: 800;
}

@media (max-width: 860px) {
    .seller-agenda-experience .seller-agenda-header {
        min-height: 330px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        padding: 0 16px;
    }

    .seller-agenda-experience .seller-agenda-identity-main {
        grid-row: 1;
    }

    .seller-agenda-experience .seller-agenda-logo {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
        border-radius: 20px;
    }

    .seller-agenda-experience .seller-agenda-seller-copy > strong {
        max-width: calc(100vw - 330px);
        font-size: 27px;
    }

    .seller-agenda-experience .seller-agenda-header-actions {
        grid-row: 1;
    }

    .seller-agenda-experience .seller-agenda-clock-brand {
        width: 260px;
    }

    .seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .seller-panel.seller-agenda-experience {
        padding-inline: max(12px, env(safe-area-inset-left));
    }

    .seller-agenda-experience .seller-agenda-header {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 10px;
        padding: 0;
    }

    .seller-agenda-experience .seller-agenda-header-actions {
        position: absolute;
        top: 0;
        right: 0;
        width: 110px;
        grid-column: auto;
        grid-row: auto;
    }

    .seller-agenda-experience .seller-agenda-clock-brand {
        width: 110px;
    }

    .seller-agenda-experience .seller-agenda-jamarca img {
        width: 104px;
    }

    .seller-agenda-experience .seller-plan-plus-seal {
        width: 43px;
        height: auto;
    }

    .seller-agenda-experience .seller-agenda-identity-main {
        grid-column: 1;
        grid-row: 1;
        padding-top: 72px;
    }

    .seller-agenda-experience .seller-agenda-seller-identity {
        align-items: center;
        gap: 10px;
    }

    .seller-agenda-experience .seller-agenda-logo {
        width: 94px;
        height: 94px;
        flex-basis: 94px;
        border-radius: 18px;
    }

    .seller-agenda-experience .seller-agenda-seller-copy > strong {
        max-width: calc(100vw - 142px);
        font-size: 23px;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .seller-agenda-experience .seller-agenda-category {
        margin-top: 9px;
        font-size: 12px;
    }

    .seller-agenda-experience .seller-agenda-working-hours {
        display: inline-flex;
        width: fit-content;
        max-width: 100%;
        grid-template-columns: none;
        margin-top: 8px;
    }

    .seller-agenda-experience .seller-agenda-working-hours-today {
        grid-column: auto;
        grid-row: auto;
    }

    .seller-agenda-experience .seller-agenda-clock {
        position: absolute;
        top: 182px;
        right: 0;
        width: calc(100vw - 24px);
        margin-top: 0;
    }

    .seller-agenda-experience .seller-agenda-clock > span {
        text-align: left;
    }

    .seller-agenda-experience .seller-agenda-clock > div {
        justify-content: flex-start;
        gap: 10px;
    }

    .seller-agenda-experience .seller-agenda-clock strong,
    .seller-agenda-experience .seller-agenda-clock time {
        font-size: 15px;
    }

    .seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions {
        width: 100%;
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
        margin-top: 56px;
        gap: 0;
        border-block: 1px solid var(--jm-color-border);
        padding: 6px 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions::-webkit-scrollbar {
        display: none;
    }

    .seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions .seller-agenda-icon-button {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .seller-agenda-experience .seller-agenda-header > .seller-agenda-utility-actions .seller-agenda-icon-button svg {
        width: 24px;
        height: 24px;
    }

    .seller-agenda-experience .seller-tool-label {
        display: none;
    }

    .seller-agenda-experience :is(.seller-analytics-tooltip, .seller-recurrence-tooltip) {
        display: none;
    }

    .seller-agenda-experience .seller-agenda-next {
        min-height: 180px;
        margin-top: 14px;
        padding: 18px;
    }

    .seller-hours-dialog {
        width: 100%;
    }

    .seller-hours-dialog-body {
        padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 340px) {
    .seller-agenda-experience .seller-agenda-logo {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
    }

    .seller-agenda-experience .seller-agenda-seller-copy > strong {
        max-width: calc(100vw - 130px);
        font-size: 20px;
    }

    .seller-agenda-experience .seller-agenda-working-hours-today {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .seller-hours-dialog[open] .seller-hours-dialog-body {
        animation: seller-hours-in .22s cubic-bezier(.2, .8, .2, 1);
    }

    @keyframes seller-hours-in {
        from { opacity: 0; transform: translateX(24px); }
    }
}
