@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Google+Sans:wght@400;500;700&family=Google+Sans+Flex:wght@400;500;600;700&display=swap");
@import "style.bundle-EYxwNBB.css";
@import "search-Ao83BWx.css";
@import "history-KfuCanv.css";

:root {
    /* Figma / Maquette App: shared type, semantic greys and approved statuses. */
    --localex-font-body: "Google Sans", sans-serif;
    --localex-font-heading: "Google Sans Flex", "Google Sans", sans-serif;
    --localex-font-action: "Courier Prime", "Courier New", monospace;
    --localex-ink-strong: #0A0808;
    --localex-ink: #171212;
    --localex-ink-secondary: #4F4747;
    --localex-ink-muted: #746868;
    --localex-placeholder: #978D8D;
    --localex-border: #BAB4B4;
    --localex-surface: #EDE8E8;
    --localex-success-text: #2E6B4A;
    --localex-brand-red: #CC1417;
    --localex-brand-red-active: #8D0A0C;
    --localex-choice-active-background: #DCEFE3;
    --localex-surface-muted: var(--localex-auth-background);
    --localex-sidebar-item-background: #2D2828;
    --localex-auth-background: #EDE8E8;
    --localex-auth-panel-background: #171212;
    --localex-auth-action-font-family: "Courier Prime", "Courier New", monospace; /* legacy test contract; same as --localex-font-action */
}

/* LOC-ALPHA-011: compact email modal (original Bootstrap width) and Figma edit button. */
.localex-app-shell .btn.localex-account-email-edit {
    display: inline-flex;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background-color: var(--localex-surface);
    color: var(--localex-ink-secondary);
    transition: background-color .18s ease;
}
.localex-app-shell .btn.localex-account-email-edit:hover {
    background-color: transparent;
}
.localex-app-shell .btn.localex-account-email-edit:focus-visible {
    background-color: var(--localex-surface);
    outline: 2px solid var(--localex-brand-red);
    outline-offset: 2px;
}
.localex-account-email-edit img { display: block; width: 17px; height: 17px; }

/* Let the existing Bootstrap modal-dialog restore its original maximum width. */
.localex-account-email-modal .modal-content { border-radius: 12px; }
.localex-account-email-modal .localex-account-modal-heading p { color: var(--localex-ink-muted); }

/* Equal-width buttons, at the 38px height and 14px typography shown in Figma. */
.localex-account-email-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.localex-app-shell .modal.localex-account-email-modal .localex-account-email-actions > .btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--localex-font-action);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.localex-app-shell .btn.localex-account-email-cancel {
    --bs-btn-color: var(--localex-ink-strong);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--localex-border);
    --bs-btn-hover-color: var(--localex-ink-strong);
    --bs-btn-hover-bg: var(--localex-surface);
    --bs-btn-hover-border-color: var(--localex-border);
    --bs-btn-active-color: var(--localex-ink-strong);
    --bs-btn-active-bg: var(--localex-surface);
    --bs-btn-active-border-color: var(--localex-border);
    border: 1px solid var(--localex-border);
}
.localex-app-shell .btn.localex-account-email-submit {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--localex-brand-red);
    --bs-btn-border-color: var(--localex-brand-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--localex-brand-red-active);
    --bs-btn-hover-border-color: var(--localex-brand-red-active);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--localex-brand-red-active);
    --bs-btn-active-border-color: var(--localex-brand-red-active);
}
@media (max-width: 575.98px) {
    .localex-account-email-actions { grid-template-columns: 1fr; }
}

/* Shared theme is scoped to both app and auth. Keep the Metronic vendor bundle intact. */
.localex-auth-theme,
.localex-app-shell {
    --localex-app-text: var(--localex-ink);
    --bs-font-sans-serif: var(--localex-font-body);
    --bs-font-monospace: var(--localex-font-action);
    --bs-body-font-family: var(--localex-font-body);
    --bs-body-color: var(--localex-ink);
    --bs-body-color-rgb: 23, 18, 18;
    --bs-secondary-color: var(--localex-ink-secondary);
    --bs-tertiary-color: var(--localex-ink-muted);
    --bs-text-muted: var(--localex-ink-muted);
    --bs-heading-color: var(--localex-ink-strong);
    --bs-gray: var(--localex-ink-muted);
    --bs-gray-dark: var(--localex-ink);
    --bs-gray-100: var(--localex-surface);
    --bs-gray-200: var(--localex-border);
    --bs-gray-300: var(--localex-border);
    --bs-gray-400: var(--localex-placeholder);
    --bs-gray-500: var(--localex-placeholder);
    --bs-gray-600: var(--localex-ink-muted);
    --bs-gray-700: var(--localex-ink-secondary);
    --bs-gray-800: var(--localex-ink);
    --bs-gray-900: var(--localex-ink-strong);
    --bs-text-gray-100: var(--localex-surface);
    --bs-text-gray-200: var(--localex-border);
    --bs-text-gray-300: var(--localex-border);
    --bs-text-gray-400: var(--localex-placeholder);
    --bs-text-gray-500: var(--localex-placeholder);
    --bs-text-gray-600: var(--localex-ink-muted);
    --bs-text-gray-700: var(--localex-ink-secondary);
    --bs-text-gray-800: var(--localex-ink);
    --bs-text-gray-900: var(--localex-ink-strong);
    --bs-border-color: var(--localex-border);
    --bs-light: var(--localex-surface);
    --bs-light-rgb: 237, 232, 232;
    --bs-primary: var(--localex-brand-red);
    --bs-primary-active: var(--localex-brand-red-active);
    --bs-primary-light: rgb(204 20 23 / 8%);
    --bs-primary-rgb: 204, 20, 23;
    --bs-text-primary: var(--localex-brand-red);
    --bs-link-color: var(--localex-brand-red);
    --bs-link-hover-color: var(--localex-brand-red-active);
    --bs-component-active-bg: var(--localex-brand-red);
    --bs-component-hover-color: var(--localex-brand-red);
    --bs-component-checked-bg: var(--localex-brand-red);
}

/* Metronic sets a literal Inter/Helvetica declaration on html/body after its variables.
   Override that selector once without changing icon fonts or the vendor stylesheet. */
body.localex-app-shell,
body.localex-auth-theme {
    font-family: var(--localex-font-body);
}
/* Shared subdued text without relying on vendor's utility precedence. */
.localex-text-muted { color: var(--localex-ink-muted); }
/* Bootstrap Toast, positioned like the central "Créer une veille" action. */
.localex-toast-container {
    z-index: 1090;
    bottom: 28px;
    width: max-content;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.localex-toast-container .localex-toast {
    width: max-content;
    max-width: min(520px, calc(100vw - 32px));
    min-width: 0;
    border: 0;
    border-radius: 8px;
    background: var(--localex-ink-strong);
    color: #fff;
    box-shadow: 0 8px 16px rgb(10 8 8 / 18%);
    font-family: var(--localex-font-body);
    font-size: 14px;
    line-height: 1.3;
    pointer-events: auto;
}
.localex-toast-container .localex-toast .toast-body { padding: 12px 14px; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
    .localex-toast-container .toast { transition: none; }
}

/* Figma title roles; existing size and weight utilities continue to control variants. */
.localex-app-shell :is(h1, h2, h3),
.localex-auth-theme :is(h1, h2, h3) {
    font-family: var(--localex-font-heading);
    line-height: 1.3;
    letter-spacing: .5px;
}
.localex-app-shell :is(.form-label, .form-control, .form-select, .form-check-label),
.localex-auth-theme :is(.form-label, .form-control, .form-select, .form-check-label) {
    font-family: var(--localex-font-body);
}
.localex-app-shell :is(.form-control, .form-select)::placeholder,
.localex-auth-theme :is(.form-control, .form-select)::placeholder {
    color: var(--localex-placeholder);
}
.localex-app-shell .localex-search-input::placeholder {
    font-family: var(--localex-font-action);
}
.localex-app-shell .text-muted,
.localex-auth-theme .text-muted {
    color: var(--localex-ink-muted);
}

/* Bootstrap compiles the checked color; this is a brand override, not layout. */
.localex-app-shell .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }

.localex-auth-action { font-family: var(--localex-auth-action-font-family); font-weight: bold; }

/* Every unauthenticated route shares the same Figma login/register/invitation shell. */
.localex-auth-theme .localex-auth-brand { background-color: var(--localex-auth-panel-background); }
/* Figma Login 2: the lower-left rays are in front of the dark panel,
   not hidden behind it by the application's full-page background. */
.localex-auth-theme .localex-auth-brand { position: relative; isolation: isolate; }
.localex-auth-theme .localex-auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../images/auth/lx-bg-pattern-GAfhFWY.svg") no-repeat left bottom / 1440px 900px;
}
.localex-auth-theme .localex-auth-brand > div { position: relative; z-index: 1; }
@media (min-width: 992px) {
    .localex-auth-theme .localex-auth-brand {
        flex: 0 0 calc(35% - 20px);
        width: calc(35% - 20px);
        max-width: calc(35% - 20px);
    }
    .localex-auth-theme .localex-auth-form-side {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}
.localex-auth-theme .localex-auth-brand-title {
    font-family: var(--localex-font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
}
.localex-auth-theme .localex-auth-brand-copy {
    font-family: var(--localex-font-heading);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}
.localex-auth-theme .localex-auth-card {
    border-color: var(--localex-border);
    border-radius: 12px;
    background-color: #fff;
    color: var(--localex-ink);
}
.localex-auth-theme .localex-auth-card h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--localex-ink-strong);
}
.localex-auth-theme .localex-auth-card :is(.text-gray-500, .text-gray-600, .text-gray-700) {
    color: var(--localex-ink-secondary);
}
.localex-auth-theme .localex-auth-card .form-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--localex-ink-muted);
}
.localex-auth-theme .localex-auth-card .form-control {
    background-color: #fff;
    border-color: var(--localex-border);
    border-radius: 4px;
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-body);
    font-size: 12px;
}
.localex-auth-theme .localex-auth-card .form-control::placeholder {
    color: var(--localex-placeholder);
}
.localex-auth-theme .localex-auth-card .localex-auth-action { font-size: 14px; }
.localex-auth-theme .localex-auth-card .form-check-label { color: var(--localex-ink-strong); font-size: 12px; }
@media (max-width: 991.98px) {
    .localex-auth-theme .localex-auth-form-panel { max-width: 550px; }
}

.localex-app-shell {
    --bs-app-sidebar-width: 248px;
    --bs-app-sidebar-width-actual: 248px;
    --bs-app-sidebar-gap-start: 20px;
    --bs-app-sidebar-gap-end: 0px;
    --bs-border-color: var(--localex-border);
    background: var(--localex-auth-background) url("../images/auth/lx-bg-pattern-GAfhFWY.svg") no-repeat top right / cover;
}

/* The 20px floating aside is the only layout exception to Demo 1.
   Metronic computes the wrapper offset from its own sidebar/gap variables.
   No fixed header attribute: no compensating wrapper padding or negative margin. */
.localex-app-shell .localex-app-sidebar {
    --bs-menu-link-bg-color-hover: var(--localex-sidebar-item-background);
    --bs-menu-link-bg-color-active: var(--localex-sidebar-item-background);
    background: var(--localex-auth-panel-background);
}
/* Figma: 10% gutters in the space after the aside, with a 1280px content cap.
   The shared containers do not stack Metronic .app-container padding. */
.localex-app-shell .localex-container {
    width: 80%;
    max-width: 1280px;
    margin-inline: auto;
    min-width: 0;
}
.localex-app-sidebar-logo { position: relative; overflow: visible; }
/* The 32px collapse button has the sidebar surface in every interactive state. */
.localex-app-shell .localex-sidebar-collapse.btn {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--localex-auth-panel-background);
    --bs-btn-border-color: var(--localex-auth-panel-background);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--localex-auth-panel-background);
    --bs-btn-hover-border-color: var(--localex-auth-panel-background);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--localex-auth-panel-background);
    --bs-btn-active-border-color: var(--localex-auth-panel-background);
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.localex-sidebar-collapse-icon { transition: transform .3s ease; }
.localex-sidebar-collapse[aria-expanded="false"] svg { transform: rotate(180deg); }
.localex-app-sidebar .menu-link { font-family: var(--localex-font-action); font-size: 14px; line-height: 1; }
.localex-app-shell .localex-app-sidebar .menu .menu-item .menu-link:is(:hover, :focus-visible, .active) {
    background-color: var(--localex-sidebar-item-background);
    color: #fff;
}
.localex-app-sidebar .localex-app-support { min-height: 40px; }
/* Demo 1 hardcodes its active background: this scoped brand override has the
   same specificity. Hover continues to use the native menu variable above. */
.localex-app-shell .localex-app-sidebar .menu .menu-item .menu-link.active,
.localex-app-shell .localex-app-sidebar .menu .menu-item .menu-link:focus-visible {
    background-color: var(--bs-menu-link-bg-color-active);
}
/* The item spans the aside; only its link is inset. The marker therefore sits
   at the aside edge without a negative offset clipped by the native scroll. */
.localex-app-sidebar .menu-item:has(> .menu-link.active) { position: relative; }
.localex-app-sidebar .menu-item:has(> .menu-link.active)::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    border-radius: 2px;
    background: var(--bs-primary);
    pointer-events: none;
}

@media (min-width: 992px) {
    .localex-app-shell .localex-app-sidebar { top: 20px; bottom: 20px; left: 20px; }
    .localex-app-shell[data-kt-app-sidebar-minimize="on"] { --bs-app-sidebar-width: 72px; }
}
@media (max-width: 991.98px) {
    /* The mobile Metronic drawer remains independent of desktop shell geometry. */
    .localex-app-shell .localex-container { width: calc(100% - 32px); }
}

/* Content variants do not change the shell. */
.localex-content-centered { display: flex; align-items: center; flex-grow: 1; padding-block: 3rem; }
.localex-record { transition: border-color .2s ease; }
.localex-date strong, .localex-date span, .localex-date small { display: block; line-height: 1.4; }
.localex-date strong { font-size: 1.5rem; }
.localex-date time { width: 100%; }
/* Shared History/Watch card tokens and 80px markers (Figma 2621:1705 / 2634:1894). */
.localex-square-tile {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 8px;
}
.localex-square-tile--date {
    gap: 2px;
    padding: 8px;
    background: var(--localex-surface);
    color: var(--localex-ink-secondary);
    font-family: var(--localex-font-action);
}
.localex-square-tile--date strong { font-size: 20px; font-weight: 700; line-height: 1.075; color: var(--localex-sidebar-item-background); }
.localex-square-tile--date span { font-size: 10px; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.localex-square-tile--date small { font-size: 10px; line-height: 1.15; }
.localex-card-list { gap: 10px; }
.localex-app-shell .localex-history-title { font-family: var(--localex-font-action); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.localex-app-shell .localex-watch-card-title { font-family: var(--localex-font-heading); font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: .5px; }
.localex-app-shell .localex-watch-query { font-family: var(--localex-font-action); font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--localex-placeholder); }
.localex-app-shell .localex-search-recent-watches .localex-watch-query { color: var(--localex-ink-strong); }
.localex-card-tags { gap: 10px; }
.localex-app-shell .badge.localex-filter-tag {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--localex-surface);
    color: var(--localex-brand-red);
    font-family: var(--localex-font-heading);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
}
.localex-watch-status-group { width: 80px; gap: 6px; }
.localex-app-shell button.localex-square-tile--status {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--localex-ink-strong);
    border-radius: 8px;
    background-color: #FFF;
    color: var(--localex-ink-strong);
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}
.localex-app-shell button.localex-square-tile--status.is-inactive:hover { border-color: var(--localex-ink-strong); background-color: var(--localex-surface); }
.localex-app-shell button.localex-square-tile--status.is-active { border-color: transparent; background-color: var(--localex-choice-active-background); color: var(--localex-success-text); }
.localex-app-shell button.localex-square-tile--status.is-active:hover { background-color: #D0E6D8; }
.localex-app-shell button.localex-square-tile--status:focus-visible { outline: 2px solid var(--localex-brand-red); outline-offset: 3px; }
.localex-square-tile--status .localex-watch-status-icon img { display: block; }
.localex-watch-status-label { font-family: var(--localex-font-body); font-size: 10px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--localex-brand-red); }
.localex-watch-status-group:has(.is-active) .localex-watch-status-label { color: var(--localex-success-text); }

/* One icon-button pattern; native forms, tooltips and focus states remain. */
.localex-app-shell .btn.localex-card-icon-btn {
    --bs-btn-color: var(--localex-ink-strong);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var(--localex-ink-strong);
    --bs-btn-hover-bg: var(--localex-surface);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--localex-ink-strong);
    --bs-btn-active-bg: var(--localex-surface);
    --bs-btn-active-border-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 4px;
}
.localex-app-shell .btn.localex-card-icon-btn--search {
    --bs-btn-hover-bg: #FCE6E6;
    --bs-btn-active-bg: #FCE6E6;
}
.localex-card-icon-btn img { display: block; width: 20px; height: 20px; }
.localex-card-danger-icon { position: relative; display: block; width: 20px; height: 20px; }
.localex-card-danger-icon img { position: absolute; inset: 0; }
.localex-card-danger-icon-hover { opacity: 0; }
.localex-card-icon-btn--delete:is(:hover, :focus-visible) .localex-card-danger-icon-default { opacity: 0; }
.localex-card-icon-btn--delete:is(:hover, :focus-visible) .localex-card-danger-icon-hover { opacity: 1; }
.localex-card-tooltip { --bs-tooltip-bg: var(--localex-surface); --bs-tooltip-color: var(--localex-ink-strong); --bs-tooltip-font-size: 12px; --bs-tooltip-padding-x: 10px; --bs-tooltip-padding-y: 4px; }
.localex-card-tooltip--search { --bs-tooltip-bg: #FCE6E6; --bs-tooltip-color: var(--localex-brand-red-active); }
.localex-card-tooltip--delete { --bs-tooltip-color: var(--localex-brand-red); }
.localex-card-tooltip .tooltip-inner { max-width: none; white-space: nowrap; border-radius: 4px; font-family: var(--localex-font-body); font-weight: 500; }
.localex-card-tooltip .tooltip-arrow { display: none; }

/* Figma History/Watch modals: one native Bootstrap contract for confirmation,
   creation and reactivation. Avoid per-screen modal overrides. */
.localex-app-shell .modal:is(.localex-confirm-modal, .localex-watch-create-modal, .localex-watch-action-modal--activation) .modal-dialog {
    width: calc(100% - 24px);
    max-width: 448px;
    margin-inline: auto;
}
.localex-app-shell .modal.localex-watch-action-modal--activation .modal-dialog { max-width: 360px; }
.localex-app-shell .modal:is(.localex-confirm-modal, .localex-watch-create-modal, .localex-watch-action-modal--activation) .modal-content {
    border: 0;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 8px 10px rgb(10 8 8 / 18%);
    overflow: hidden;
}
.localex-app-shell .modal:is(.localex-confirm-modal, .localex-watch-action-modal--activation) .modal-body { padding: 20px; }
.localex-dialog-heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.localex-app-shell .localex-dialog-title {
    margin: 0;
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .5px;
    overflow-wrap: anywhere;
}
.localex-dialog-description {
    margin: 0;
    color: var(--localex-ink-muted);
    font-family: var(--localex-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.localex-modal-buttons { display: flex; gap: 10px; width: 100%; }
.localex-app-shell .localex-modal-buttons > .btn {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    border-radius: 8px;
    font-family: var(--localex-font-action);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.localex-app-shell .btn.localex-modal-button--secondary {
    --bs-btn-color: var(--localex-ink-strong);
    --bs-btn-bg: #FFF;
    --bs-btn-border-color: var(--localex-ink-strong);
    --bs-btn-hover-color: var(--localex-ink-strong);
    --bs-btn-hover-bg: var(--localex-surface);
    --bs-btn-hover-border-color: var(--localex-ink-strong);
    --bs-btn-active-color: var(--localex-ink-strong);
    --bs-btn-active-bg: var(--localex-surface);
    --bs-btn-active-border-color: var(--localex-ink-strong);
    border: 1px solid var(--localex-ink-strong);
}
.localex-app-shell .modal.localex-watch-create-modal .modal-header.localex-watch-create-head {
    display: block;
    padding: 20px 20px 0;
    border: 0;
}
.localex-app-shell .localex-watch-create-head .localex-dialog-heading { margin-bottom: 0; }
.localex-watch-create-form { display: block; }
.localex-app-shell .localex-watch-create-body { padding: 16px 20px 0; }
.localex-watch-create-body > .text-danger:empty { display: none; }
.localex-watch-create-name { margin-bottom: 16px; }
.localex-app-shell .localex-watch-create-name .form-label {
    display: block;
    margin-bottom: 12px;
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-heading);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
}
.localex-app-shell .localex-watch-create-name .form-control {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--localex-border);
    border-radius: 4px;
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-body);
    font-size: 12px;
}
.localex-watch-notification-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.localex-watch-notification-fieldset .localex-watch-notification-title {
    float: none;
    width: auto;
    margin: 0 0 12px;
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-heading);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.localex-watch-notification-description {
    margin: 0 0 12px;
    color: var(--localex-ink-muted);
    font-family: var(--localex-font-body);
    font-size: 14px;
    line-height: 1.6;
}
.localex-watch-frequency-options { display: flex; flex-direction: column; gap: 10px; }
.localex-watch-frequency-choice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--localex-border);
    border-radius: 8px;
    background: var(--localex-surface);
    color: var(--localex-ink-strong);
    font-family: var(--localex-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}
.localex-watch-frequency-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    clip-path: inset(50%);
}
.localex-watch-frequency-choice:hover { background: var(--localex-choice-active-background); }
.localex-watch-frequency-choice:has(input:checked) {
    border-color: var(--localex-success-text);
    background: var(--localex-success-text);
    color: #FFF;
}
.localex-watch-frequency-choice:has(input:checked):hover { background: #26593F; }
.localex-watch-frequency-choice:has(input:focus-visible) {
    outline: 2px solid var(--localex-ink-strong);
    outline-offset: 2px;
}
.localex-app-shell .localex-watch-create-footer {
    padding: 16px 20px 20px;
    border: 0;
    background: #FFF;
}
.localex-app-shell .localex-watch-action-modal--activation .localex-watch-activation-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.localex-app-shell .localex-watch-action-modal--activation .btn.localex-watch-frequency-button {
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bs-btn-bg);
    border: 1px solid var(--bs-btn-border-color);
    color: var(--bs-btn-color);
    font-family: var(--localex-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}
.localex-app-shell .localex-watch-action-modal--activation .btn.localex-watch-frequency-button:hover,
.localex-app-shell .localex-watch-action-modal--activation .btn.localex-watch-frequency-button:focus-visible {
    background: var(--localex-choice-active-background);
}
@media (prefers-reduced-motion: reduce) {
    .localex-watch-frequency-choice,
    .localex-app-shell button.localex-square-tile--status { transition: none; }
}

/* Shared drawer visual chrome; widget semantics stay with LOC-ALPHA-006. */
.localex-app-shell .localex-drawer .card-header { min-height: 63px; padding-inline: 20px; border-bottom: 1px solid var(--localex-border); }
.localex-app-shell .localex-drawer .card-header h3 { font-family: var(--localex-font-heading); font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: .5px; }
.localex-app-shell .localex-drawer .card-toolbar .btn { width: 30px; height: 30px; padding: 0; border-radius: 4px; }
.localex-app-shell .localex-drawer .card-toolbar .btn svg { width: 16px; height: 16px; }
.localex-app-shell .localex-drawer .form-label,
.localex-app-shell .localex-drawer .localex-search-filter-label {
    font-family: var(--localex-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.3;
    color: var(--localex-ink-strong);
    margin-bottom: 12px;
}
.localex-app-shell .localex-drawer .localex-search-filter-date-grid .form-label {
    font-family: var(--localex-font-body);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.localex-app-shell .localex-drawer .form-control {
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid var(--localex-border);
    border-radius: 4px;
    font-family: var(--localex-font-body);
    font-size: 12px;
    color: var(--localex-ink-strong);
}
.localex-app-shell .localex-drawer .localex-search-filter-section > summary.btn {
    min-height: 38px;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--localex-font-body);
    font-size: 14px;
    font-weight: 500;
}
.localex-app-shell .localex-drawer .localex-search-filter-drawer-body { padding: 20px; }
.localex-app-shell .localex-drawer .localex-search-filter-drawer-footer { padding: 16px 20px; }
.localex-app-shell .localex-drawer .localex-search-filter-drawer-count {
    margin-bottom: 12px;
    text-align: center;
    font-family: var(--localex-font-body);
    font-size: 12px;
    line-height: 1.6;
}
.localex-app-shell .localex-drawer footer .btn.btn-light {
    --bs-light: var(--bs-body-bg);
    --bs-light-active: var(--localex-surface);
    --bs-btn-bg: var(--bs-body-bg);
    --bs-btn-border-color: var(--localex-border);
    --bs-btn-hover-bg: var(--localex-surface);
    --bs-btn-hover-border-color: var(--localex-border);
    font-family: var(--localex-font-action);
    font-weight: 700;
}
.localex-app-shell .localex-drawer .localex-watch-editor-body { padding: 20px; }
.localex-watch-field-group { margin-bottom: 20px; }
.localex-watch-edit-divider { margin: 20px 0; border: 0; border-top: 1px solid var(--localex-surface); opacity: 1; }
.localex-app-shell .localex-drawer .localex-watch-editor-footer { padding: 16px 20px; }
.localex-app-shell .localex-drawer footer .btn { min-height: 38px; border-radius: 8px; font-size: 14px; }
.localex-app-shell .localex-drawer footer .btn.btn-primary { font-family: var(--localex-font-action); font-weight: 700; }

/* On tall viewports, recent watches anchor beneath the centered search form. */
.localex-search-layout-home > .localex-search { margin-block: auto; }
.localex-search-layout-home > .localex-search-recent-watches { margin-top: 0; }
/* Figma: secondary buttons use Google Sans Medium; primary actions Courier Prime Bold. */
.localex-app-shell .btn,
.localex-auth-theme .btn {
    --bs-btn-font-family: var(--localex-font-body);
    --bs-btn-font-weight: 500;
}
.localex-app-shell .btn:is(.btn-primary, .localex-brand-button),
.localex-auth-theme .btn:is(.btn-primary, .localex-brand-button) {
    --bs-btn-font-family: var(--localex-font-action);
    --bs-btn-font-weight: 700;
}
/* Shared neutral choice: do not inherit Metronic's primary/red interaction state. */
.btn.localex-choice-button {
    --bs-btn-color: #171212;
    --bs-btn-bg: var(--localex-surface-muted);
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-color: var(--bs-btn-color);
    --bs-btn-hover-bg: var(--localex-choice-active-background);
    --bs-btn-hover-border-color: var(--bs-border-color);
    --bs-btn-focus-shadow-rgb: 220, 239, 227;
    --bs-btn-active-color: var(--bs-btn-color);
    --bs-btn-active-bg: var(--localex-choice-active-background);
    --bs-btn-active-border-color: var(--bs-border-color);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--bs-btn-color);
    --bs-btn-disabled-bg: var(--localex-surface-muted);
    --bs-btn-disabled-border-color: var(--bs-border-color);
}
.localex-search-input { font-family: var(--localex-font-action); }
/* Shared document palette, not a new badge/card implementation. */
.localex-document {
    --bs-body-color: var(--localex-ink);
    --bs-gray-900: var(--localex-ink-strong);
    --bs-gray-700: var(--localex-ink-secondary);
    --bs-gray-600: var(--localex-ink-muted);
    --bs-heading-color: var(--bs-gray-900);
    --bs-text-gray-900: var(--bs-gray-900);
    --bs-text-gray-700: var(--bs-gray-700);
    --bs-text-gray-600: var(--bs-gray-600);
    color: var(--bs-body-color);
}
.localex-document-surface {
    --bs-light: var(--localex-surface-muted);
    --bs-light-rgb: 237, 232, 232;
    --bs-light-inverse: var(--localex-sidebar-item-background);
}
.localex-drawer { border-radius: var(--bs-border-radius-lg); }
/* Native translateX(100%) omits the 20px floating inset when closed. */
.localex-drawer.drawer-end:not(.drawer-on) { transform: translateX(calc(100% + 20px)); }
/* Essential focus affordance for keyboard users; no hover-only controls. */
.localex-app-shell :is(a, button, summary):focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 3px; }
/* Metronic resets button outlines and shadows. Match its shadow-reset selector
   once, in the shared focus contract, without changing resting/hover colors. */
.localex-app-shell .btn:not(.btn-shadow):not(.shadow):not(.shadow-sm):not(.shadow-lg):not(.shadow-xs):focus-visible {
    box-shadow: 0 0 0 3px var(--bs-body-bg), 0 0 0 5px var(--bs-primary);
}
@media (prefers-reduced-motion: reduce) {
    .localex-record,
    .localex-sidebar-collapse-icon,
    .localex-app-shell .app-sidebar,
    .localex-app-shell .app-wrapper { transition: none; }
}

/* Metronic-inspired LocaLex error pages. */
.localex-error-page {
    min-height: 100vh;
    background-color: var(--localex-auth-background);
    background-image: url("../images/auth/lx-bg-pattern-GAfhFWY.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    color: #171212;
}

.localex-error-shell {
    width: min(100% - 32px, 920px);
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.localex-error-card {
    width: 100%;
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid rgb(23 18 18 / 12%);
    border-radius: 18px;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 18px 60px rgb(23 18 18 / 12%);
    text-align: center;
}

.localex-error-logo {
    width: 110px;
    height: auto;
    margin-bottom: 32px;
}

.localex-error-code {
    margin: 0;
    color: var(--localex-brand-red);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.06em;
}

.localex-error-title {
    margin: 24px 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
}

.localex-error-text {
    max-width: 610px;
    margin: 0 auto 28px;
    color: #746868;
    font-size: 1rem;
    line-height: 1.65;
}

.localex-error-action {
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--localex-brand-red);
    color: #fff;
    font-family: var(--localex-auth-action-font-family);
    font-weight: 700;
    text-decoration: none;
}

.localex-error-action:hover,
.localex-error-action:focus-visible {
    background: var(--localex-brand-red-active);
    color: #fff;
}

/* Shared LocaLex brand action and the minimal Support visual adjustments. */
.btn.localex-brand-button {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--localex-brand-red);
    --bs-btn-border-color: var(--localex-brand-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--localex-brand-red-active);
    --bs-btn-hover-border-color: var(--localex-brand-red-active);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--localex-brand-red-active);
    --bs-btn-active-border-color: var(--localex-brand-red-active);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--localex-brand-red);
    --bs-btn-disabled-border-color: var(--localex-brand-red);
    border-radius: 7px;
    font-family: var(--localex-auth-action-font-family);
    font-weight: 700;
    letter-spacing: .02em;
}

/* Account: Figma panel geometry using shared design tokens. */
.localex-account-page .localex-account-card { padding: 20px; border-color: var(--localex-border); border-radius: 12px; background: #fff; }
.localex-account-page .localex-account-card + .localex-account-card { margin-top: 10px; }
.localex-account-page .localex-account-card-title { font-size: 16px; font-weight: 500; }
.localex-account-page .localex-account-facts > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--localex-surface);
    font-size: 14px;
    line-height: 1.3;
}
.localex-account-page .localex-account-facts > div:first-child { padding-top: 0; }
.localex-account-page .localex-account-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.localex-account-page .localex-account-facts dt { font-weight: 400; color: var(--localex-ink-muted); }
.localex-account-page .localex-account-facts dd {
    min-width: 0;
    margin: 0;
    color: var(--localex-ink-strong);
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}
.localex-account-page .localex-account-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--localex-ink-muted);
    font-size: 12px;
    font-weight: 700;
}
.localex-account-page .localex-account-status-active { color: var(--localex-success-text); }
.localex-account-page .localex-account-status-dot {
    width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor;
}
.localex-account-page .localex-account-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    align-items: end;
    gap: 4px;
}
.localex-account-page .localex-account-actions form { display: flex; flex-direction: column; min-width: 0; }
.localex-account-page .localex-account-actions .btn { display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 8px; }
.localex-account-page .btn.localex-account-action {
    --bs-btn-color: var(--localex-ink-strong);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--localex-border);
    --bs-btn-hover-color: var(--localex-ink-strong);
    --bs-btn-hover-bg: var(--localex-surface);
    --bs-btn-hover-border-color: var(--localex-border);
    --bs-btn-active-color: var(--localex-ink-strong);
    --bs-btn-active-bg: var(--localex-surface);
    --bs-btn-active-border-color: var(--localex-border);
    min-height: 38px;
    border-radius: 8px;
    background-color: #fff;
    border-color: var(--localex-border);
    color: var(--localex-ink-strong);
    font-size: 14px;
    transition: background-color .15s ease, border-color .15s ease;
}
.localex-account-page .btn.localex-account-action:hover,
.localex-account-page .btn.localex-account-action:focus-visible {
    background-color: var(--localex-surface);
    border-color: var(--localex-border);
    color: var(--localex-ink-strong);
}
.localex-account-page .btn.localex-account-password-trigger {
    width: auto;
    align-self: flex-start;
    padding-inline: 24px;
    font-family: var(--localex-font-action);
    font-weight: 700;
}
.localex-account-page .localex-account-external-icon { display: block; flex: 0 0 16px; }
.localex-account-page .localex-account-invoice-list { display: flex; flex-direction: column; }
.localex-account-page .localex-account-invoice-row {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 53px; padding: 10px 0; gap: 16px;
    border-bottom: 1px solid var(--localex-surface);
}
.localex-account-page .localex-account-invoice-row:last-child { border-bottom: 0; }
.localex-account-page .localex-account-invoice-details {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px;
}
.localex-account-page .localex-account-invoice-date { color: var(--localex-ink-strong); font-weight: 500; }
.localex-account-page .localex-account-invoice-download {
    display: inline-flex; flex: 0 0 33px; width: 33px; height: 33px;
    align-items: center; justify-content: center; border-radius: 4px;
    color: var(--localex-ink-secondary);
}
.localex-account-page .localex-account-invoice-download:hover,
.localex-account-page .localex-account-invoice-download:focus-visible {
    background-color: var(--localex-surface);
    color: var(--localex-ink-strong);
}

/* Cabinet management consumes Account panels and tokens; only its list/button geometry is unique. */
.localex-cabinet-page .localex-cabinet-add-user { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding-inline: 24px; }
.localex-cabinet-page .localex-cabinet-member-card {
    min-height: 83px;
    border: 1px solid var(--localex-border);
    border-radius: 12px;
    padding: 18px 20px;
}
.localex-cabinet-page .localex-cabinet-member-card .min-w-0 { min-width: 0; }
.localex-cabinet-page .localex-cabinet-member-status { font-size: 12px; color: var(--localex-ink-muted); }
.localex-cabinet-page .localex-cabinet-member-status > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.localex-cabinet-page .localex-cabinet-member-status .localex-account-status-active { color: var(--localex-success-text); }
.localex-cabinet-page .localex-cabinet-member-status .localex-account-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
}
.localex-cabinet-page .localex-cabinet-pending-title {
    margin: 0 0 12px;
    font-family: var(--localex-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--localex-ink-strong);
}
.localex-cabinet-page .localex-cabinet-invitation-hint,
.localex-cabinet-page .localex-cabinet-seat-note {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--localex-ink-muted);
}
.localex-cabinet-page .localex-cabinet-invitation-card {
    min-height: 76px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--localex-border);
    border-radius: 12px;
}
.localex-cabinet-page .localex-cabinet-invitation-meta {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--localex-ink-muted);
    line-height: 1.5;
}
.localex-cabinet-page .localex-cabinet-delivery-warning { color: #8a6514; }
.localex-cabinet-page .localex-cabinet-invitation-feedback {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--localex-ink-muted);
    padding-top: 10px;
}
.localex-cabinet-page :is(.localex-cabinet-invitation-actions, .localex-cabinet-member-actions) form { margin: 0; }
.localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--localex-border);
    border-radius: 6px;
    background-color: #fff;
    color: var(--localex-ink-strong);
    opacity: 1;
    transition: background-color .18s ease, color .18s ease;
}
.localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action svg,
.localex-app-shell .btn.localex-person-action svg {
    display: block;
    visibility: visible;
    width: 18px;
    height: 18px;
    flex: none;
    opacity: 1;
    stroke: currentColor;
}
.localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action:is(:hover, :focus-visible) {
    background-color: var(--localex-surface);
    color: var(--localex-ink-strong);
}
.localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action--destructive:is(:hover, :focus-visible) {
    color: var(--localex-brand-red);
}
.localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action:disabled {
    opacity: .48;
    cursor: not-allowed;
}
.localex-app-shell .btn.localex-person-action {
    border: 1px solid var(--localex-border);
    background: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .localex-app-shell .localex-cabinet-page .btn.localex-cabinet-icon-action { transition: none; }
}

/* Shared Account dialogue for password change and Solo to Cabinet name collection. */
.localex-account-dialog .modal-dialog { max-width: 448px; }
.localex-account-dialog .modal-content {
    border: 0; border-radius: 12px; box-shadow: 0 8px 10px rgb(10 8 8 / 18%);
}
.localex-account-dialog .modal-body { padding: 20px; }
.localex-account-dialog .localex-account-modal-heading { margin-bottom: 16px; }
.localex-account-dialog .localex-account-modal-heading h2 {
    margin-bottom: 6px; font-size: 16px; font-weight: 500;
}
.localex-account-dialog .localex-account-modal-heading p {
    margin: 0; color: var(--localex-ink-muted); font-size: 14px; line-height: 1.6;
}
.localex-account-dialog .localex-account-field { margin-bottom: 16px; }
.localex-account-dialog .localex-account-field .form-label {
    display: block; margin-bottom: 10px; color: var(--localex-ink-strong);
    font-family: var(--localex-font-heading); font-size: 12px;
    font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.localex-account-dialog .localex-account-field .form-control {
    min-height: 38px; border-color: var(--localex-border); border-radius: 4px; font-size: 12px;
}
.localex-account-dialog .localex-account-modal-actions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px; margin-top: 16px;
}
.localex-account-dialog .localex-account-modal-actions .btn {
    width: 100%; min-height: 38px; border-radius: 8px;
    font-family: var(--localex-font-action); font-size: 14px; font-weight: 700;
}
.localex-account-dialog .localex-account-modal-cancel {
    --bs-btn-bg: #fff; --bs-btn-border-color: var(--localex-border);
    --bs-btn-hover-bg: var(--localex-surface);
}
@media (max-width: 767.98px) {
    .localex-account-page .localex-account-actions { grid-template-columns: minmax(0, 1fr); }
    .localex-account-page .localex-account-facts dd { text-align: left; }
    .localex-account-dialog .modal-dialog { margin-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .localex-account-page .btn.localex-account-action { transition: none; }
}

.localex-accordion {
    --bs-accordion-color: var(--localex-app-text);
    --bs-accordion-bg: #fff;
    --bs-accordion-border-color: var(--localex-border);
    --bs-accordion-btn-color: var(--localex-app-text);
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-color: var(--localex-app-text);
    --bs-accordion-active-bg: #fff;
    --bs-accordion-btn-focus-box-shadow: none;
}

.localex-accordion .accordion-button,
.localex-accordion .accordion-button:not(.collapsed) {
    box-shadow: none;
}

.localex-accordion .accordion-button::after {
    filter: grayscale(1) brightness(0);
}

/* LOC-ALPHA-014: shared Admin/Cabinet panels and calendar presentation. */
/* Shared panels and person rows: Cabinet and Admin use the same geometry. */
.localex-panel-stack { display: flex; flex-direction: column; gap: 10px; }
.localex-panel { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--localex-border); border-radius: 12px; }
.localex-app-shell .localex-panel-title { margin: 0 0 4px; font-family: var(--localex-font-heading); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: .5px; color: var(--localex-ink-strong); }
.localex-panel-description { margin: 0; color: var(--localex-ink-muted); font-family: var(--localex-font-body); font-size: 14px; line-height: 1.6; }
.localex-person-list { display: flex; flex-direction: column; gap: 12px; }
.localex-person-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--localex-border); border-radius: 12px; background: #fff; }
.localex-person-main { flex: 1; min-width: 0; }
.localex-app-shell .localex-person-email { margin: 0 0 8px; font-family: var(--localex-font-body); font-size: 14px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.localex-person-status { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--localex-ink-muted); font-size: 12px; font-weight: 700; line-height: 1.6; }
.localex-person-status-active { color: var(--localex-success-text); }
.localex-person-status-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.localex-person-meta { display: flex; align-items: center; gap: 16px; color: var(--localex-ink-muted); font-size: 12px; }
.localex-app-shell .btn.localex-person-action { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 33px; width: 33px; height: 33px; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--localex-ink-secondary); }
.localex-app-shell .btn.localex-person-action:hover, .localex-app-shell .btn.localex-person-action:focus-visible { background: var(--localex-surface); color: var(--localex-ink-strong); }
.localex-app-shell .btn.localex-person-action {
    border: 1px solid var(--localex-border);
    background-color: #fff;
    color: var(--localex-ink-strong);
}
.localex-app-shell .btn.localex-person-action svg {
    display: block;
    visibility: visible;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    opacity: 1;
}
.localex-inline-form { display: flex; align-items: flex-start; gap: 4px; flex-wrap: wrap; }
.localex-inline-form-main { flex: 1 1 240px; min-width: 0; }
.localex-inline-form-submit { align-self: flex-end; padding-bottom: 1rem; }
.localex-panel .form-label { font-family: var(--localex-font-body); font-size: 14px; font-weight: 500; color: var(--localex-ink-strong); }
.localex-panel :is(.form-control, .form-select) { min-height: 39px; padding: 10px 12px; background-color: #fff; border-color: var(--localex-border); border-radius: 4px; color: var(--localex-ink-strong); font-size: 12px; }
.localex-panel .form-control::placeholder { color: var(--localex-placeholder); opacity: 1; }
.localex-panel .btn-primary { padding: 12px 24px; font-family: var(--localex-font-action); font-size: 14px; line-height: 1; border-radius: 8px; }
.localex-date-modal .modal-dialog { max-width: 332px; }
.localex-date-modal .modal-content { border: 0; border-radius: 12px; box-shadow: 0 8px 20px rgb(10 8 8 / 18%); }
.localex-date-modal .modal-body { padding: 20px; }
.localex-date-fallback { max-width: 372px; margin-inline: auto; }
.localex-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--localex-ink-strong); font-size: 14px; font-weight: 700; }
.localex-calendar-nav { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--localex-surface); border-radius: 4px; color: var(--localex-ink-secondary); background: #fff; font-size: 22px; line-height: 1; }
.localex-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.localex-calendar-weekdays { margin-bottom: 2px; }
.localex-calendar-grid :is(button, span) { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-width: 0; padding: 0; border: 1px solid var(--localex-border); border-radius: 4px; background: #fff; font-family: var(--localex-font-action); font-size: 12px; line-height: 1; color: var(--localex-ink-strong); }
.localex-calendar-weekdays span { color: var(--localex-ink-muted); font-size: 14px; font-weight: 700; }
.localex-calendar-grid .is-outside { color: var(--localex-placeholder); }
.localex-calendar-grid .is-selected { border-color: var(--localex-brand-red); background: var(--localex-brand-red); color: #fff; }
.localex-calendar-day:focus-visible { outline: 2px solid var(--localex-ink-strong); outline-offset: 1px; }
.localex-calendar-day:disabled { opacity: .4; }
@media (max-width: 767.98px) { .localex-person-card { align-items: flex-start; flex-wrap: wrap; } .localex-person-meta { justify-content: space-between; width: 100%; } }

