@import '_content/Despacho.UI/Despacho.UI.2rixxxng4r.bundle.scp.css';

/* /Components/Layout/DespachoHeader.razor.rz.scp.css */
.despacho-header[b-rgwpulvrk1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding: var(--space-3) var(--space-6);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.despacho-header__brand[b-rgwpulvrk1] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.012em;
    transition: color var(--transition-fast);
}
.despacho-header__brand:hover[b-rgwpulvrk1],
.despacho-header__brand:focus-visible[b-rgwpulvrk1] {
    color: var(--accent);
    text-decoration: none;
}

.despacho-header__brand-mark[b-rgwpulvrk1] {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
}
.despacho-header__brand-mark[b-rgwpulvrk1]  svg {
    width: 100%;
    height: 100%;
}

.despacho-header__nav[b-rgwpulvrk1] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.despacho-header__user[b-rgwpulvrk1] {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* "My Despacho" pill — neutral surface, accent-coloured label */
.despacho-header__my-Despacho[b-rgwpulvrk1] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.despacho-header__my-Despacho:hover[b-rgwpulvrk1],
.despacho-header__my-Despacho:focus-visible[b-rgwpulvrk1] {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    color: var(--accent);
    text-decoration: none;
}

.despacho-header__my-Despacho-label[b-rgwpulvrk1] {
    font-family: var(--font-sans);
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
}
.despacho-header__my-Despacho-label[b-rgwpulvrk1]::after {
    content: ":";
    margin-left: 0.05rem;
}
.despacho-header__my-Despacho-email[b-rgwpulvrk1] {
    color: var(--text);
    font-size: var(--text-sm);
}

.despacho-header__signout[b-rgwpulvrk1] {
    color: var(--text-muted);
    font-size: var(--text-sm);
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}

/* SPEC-023 — Settings nudge dot. Tiny red disc next to the link label. */
.despacho-header__nudge-dot[b-rgwpulvrk1] {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.35rem;
    border-radius: 50%;
    background: var(--danger);
    vertical-align: middle;
}
.despacho-header__signout:hover[b-rgwpulvrk1],
.despacho-header__signout:focus-visible[b-rgwpulvrk1] {
    color: var(--text);
    background: var(--surface-hover);
    text-decoration: none;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Blazor's runtime-error toast. Shown by blazor.web.js only when an
   unhandled exception or SignalR disconnect occurs. Hidden otherwise. */
#blazor-error-ui[b-lyib8ni267] {
    background: var(--accent-danger);
    color: var(--surface-elevated);
    bottom: 0;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: var(--space-3) var(--space-6);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .reload[b-lyib8ni267] {
    color: var(--accent-gold);
    text-decoration: underline;
}

#blazor-error-ui .dismiss[b-lyib8ni267] {
    cursor: pointer;
    position: absolute;
    right: var(--space-3);
    top: var(--space-2);
}
/* /Components/Pages/DespachoPage.razor.rz.scp.css */
/* Despacho page chrome — modern layout. */

.Despacho-page__edit-toggle-row[b-csikaj3u82] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-2);
}

.Despacho-page__rename-row[b-csikaj3u82] {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-2) auto var(--space-3);
    max-width: 40rem;
}

.Despacho-page__rename[b-csikaj3u82] {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    padding: 0.375rem 0.625rem;
    font-size: var(--text-sm);
    cursor: pointer;
    font: inherit;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.Despacho-page__rename:hover[b-csikaj3u82],
.Despacho-page__rename:focus-visible[b-csikaj3u82] {
    color: var(--text);
    background: var(--surface-hover);
    border-color: var(--border-strong);
    outline: none;
}

/* Preset chips shown when renaming. */
.Despacho-page__rename-row--presets[b-csikaj3u82] {
    flex-wrap: wrap;
    justify-content: center;
}

.Despacho-page__rename-preset[b-csikaj3u82] {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.875rem;
    font: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.Despacho-page__rename-preset:hover:not(:disabled)[b-csikaj3u82],
.Despacho-page__rename-preset:focus-visible:not(:disabled)[b-csikaj3u82] {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
}
.Despacho-page__rename-preset:disabled[b-csikaj3u82] {
    cursor: default;
}
.Despacho-page__rename-preset--current[b-csikaj3u82] {
    background: var(--accent-soft);
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
    color: var(--accent);
}

.Despacho-page__title-input[b-csikaj3u82] {
    flex: 1;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-weight: 600;
    box-shadow: 0 0 0 3px var(--focus-ring-soft);
}
.Despacho-page__title-input:focus-visible[b-csikaj3u82] {
    outline: none;
}

.Despacho-page__add-bar[b-csikaj3u82] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-3);
}

.Despacho-page__endorsed-toggle[b-csikaj3u82] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto var(--space-3);
    padding: 0.25rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text);
    font-size: var(--text-sm);
    cursor: pointer;
    user-select: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.Despacho-page__endorsed-toggle:hover[b-csikaj3u82] {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

.Despacho-page__settings-link[b-csikaj3u82] {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-5);
}
.Despacho-page__settings-link a[b-csikaj3u82] {
    color: var(--accent);
    text-decoration: none;
}
.Despacho-page__settings-link a:hover[b-csikaj3u82] {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.Despacho-page__retreat-pill[b-csikaj3u82] {
    display: inline-block;
    padding: 0.125rem 0.625rem;
    border-radius: var(--radius-pill);
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* ----- Settings strip ----- */

.Despacho-page__settings[b-csikaj3u82] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.Despacho-page__settings[b-csikaj3u82]  .-btn {
    width: 100%;
}

.Despacho-page__listing-toggle[b-csikaj3u82] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-size: var(--text-sm);
}

.Despacho-page__working[b-csikaj3u82] {
    margin: 0 0 var(--space-5);
    color: var(--text-muted);
    font-size: var(--text-base);
    font-style: normal;
    text-align: center;
}

.Despacho-page__toast[b-csikaj3u82] {
    position: fixed;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.625rem 1rem;
    background: var(--surface-raised);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: var(--text-sm);
    z-index: 100;
}

/* SPEC-022 — spotlight status-bar animation picker (edit mode). */
.Despacho-page__pulse-picker[b-csikaj3u82] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: var(--space-3);
}
.Despacho-page__pulse-picker-label[b-csikaj3u82] {
    margin-right: 0.25rem;
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.Despacho-page__pulse-select[b-csikaj3u82] {
    padding: 0.25rem 0.625rem;
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.Despacho-page__pulse-select:hover[b-csikaj3u82] { border-color: var(--border-strong); }
.Despacho-page__pulse-select:focus-visible[b-csikaj3u82] { outline: 2px solid var(--focus-ring); outline-offset: 1px; }

/* SPEC-022 — Today Board.
 *
 * Top row: plan rail | spotlight | done rail. Waiting list spans the full board width
 * below it. The board breaks out to a (capped) full-bleed width so the full-width
 * waiting list gets real room; this uses relative offset + negative margins, NOT
 * transform, so the page's position:fixed toast keeps centering on the viewport.
 *
 * --spotlight-h reserves a fixed height for the spotlight (so toggling peek never
 * shifts the list) and caps the scrollable plan/done rails to that same height. */
.Despacho-page__today-board[b-csikaj3u82] {
    --spotlight-h: 17rem;

    /* Full-bleed within main, then center on wide screens by growing the
     * horizontal padding so the inner content stays capped at ~1760px and
     * sits in the viewport's middle. Keeping this on padding (no transform)
     * preserves correct positioning for fixed-position toasts/dialogs. */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding-inline: max(clamp(1rem, 4vw, 3.5rem), calc((100vw - 1760px) / 2));
}

/* Top row: plan | spotlight | done — equal height, rails scroll. */
.Despacho-page__board-top[b-csikaj3u82] {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr) 15rem;
    gap: var(--space-5);
    align-items: stretch;
    margin-bottom: var(--space-8);
}

.Despacho-page__spotlight[b-csikaj3u82] {
    min-width: 0;
}

/* Plan + Done rails: same height as the spotlight, scroll internally (header/+ stay put).
 * The rails are child components, so reach their root with ::deep and cap to --spotlight-h;
 * the inner lists carry overflow (see their own .razor.css). */
.Despacho-page__board-top[b-csikaj3u82]  .plan-column,
.Despacho-page__board-top[b-csikaj3u82]  .done-column {
    max-height: var(--spotlight-h);
    overflow: hidden;
}

/* Collapse to a single column on narrow screens: spotlight first, then plan, then done,
 * then the full-width list. Rails drop their height cap when stacked.
 * Breakpoint is set so the spotlight never narrows below a comfortable width when
 * the side rails are wider — kick to stacked while there is still room to breathe. */
@media (max-width: 1100px) {
    .Despacho-page__today-board[b-csikaj3u82] {
        width: auto;
        max-width: none;
        left: 0;
        margin-left: 0;
        margin-right: 0;
        padding-inline: 0;
    }
    .Despacho-page__board-top[b-csikaj3u82] {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    .Despacho-page__spotlight[b-csikaj3u82] { order: -1; }
    .Despacho-page__board-top[b-csikaj3u82]  .plan-column,
    .Despacho-page__board-top[b-csikaj3u82]  .done-column {
        max-height: none;
        overflow-y: visible;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.landing[b-7717ofvg94] {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    padding: 4rem 1.5rem;
    background:
        radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%),
        var(--surface-page);
}

.landing__inner[b-7717ofvg94] {
    max-width: 32rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.landing__logo[b-7717ofvg94] {
    width: 6.5rem;
    height: 6.5rem;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--text-primary) 18%, transparent));
}

    .landing__logo :deep(svg)[b-7717ofvg94] {
        width: 100%;
        height: 100%;
    }

.landing__title[b-7717ofvg94] {
    font-family: "EB Garamond", "Cinzel", Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 1.05;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.landing__tagline[b-7717ofvg94] {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 28rem;
}

.landing__cta[b-7717ofvg94] {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px color-mix(in srgb, var(--accent) 24%, transparent);
    transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

    .landing__cta:hover[b-7717ofvg94],
    .landing__cta:focus-visible[b-7717ofvg94] {
        background: var(--accent-hover);
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 20px color-mix(in srgb, var(--accent) 32%, transparent);
    }

    .landing__cta:active[b-7717ofvg94] {
        transform: translateY(0);
    }

.landing__fineprint[b-7717ofvg94] {
    margin: 1rem 0 0;
    color: var(--text-subtle);
    font-size: 0.875rem;
    max-width: 26rem;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-md2vixmb6r] { width: 100%; }

.settings-page__title[b-md2vixmb6r] {
    margin: 0 0 var(--space-1) 0;
    font-size: var(--type-1);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.settings-page__subtitle[b-md2vixmb6r] {
    color: var(--text-muted);
    margin: 0 0 var(--space-5) 0;
    font-size: var(--text-sm);
}

.settings-page__section[b-md2vixmb6r] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-xs);
    /* SPEC-023 — leave room for the page header when scrolled into by an anchor. */
    scroll-margin-top: var(--space-5);
}

/* SPEC-023 — brief highlight when the URL hash targets this section. */
.settings-page__section:target[b-md2vixmb6r] {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
    animation: settings-target-pulse-b-md2vixmb6r 1.6s ease-out 1;
}
@keyframes settings-target-pulse-b-md2vixmb6r {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
    100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
}

.settings-page__section header h2[b-md2vixmb6r] {
    margin: 0 0 var(--space-1) 0;
    font-size: var(--text-lg);
    font-weight: 600;
}

.settings-page__section header p[b-md2vixmb6r] {
    color: var(--text-muted);
    margin: 0 0 var(--space-4) 0;
    font-size: var(--text-sm);
}

.settings-page__loading[b-md2vixmb6r] {
    color: var(--text-muted);
}

.settings-page__section--danger[b-md2vixmb6r] {
    border-color: color-mix(in srgb, var(--danger) 35%, transparent);
    background: var(--danger-soft);
}

.settings-page__hint[b-md2vixmb6r] {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-3);
}

.settings-page__despacho-actions[b-md2vixmb6r] {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    flex-wrap: wrap;
}

.settings-page__listing-toggle[b-md2vixmb6r] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.settings-page__friends[b-md2vixmb6r] {
    list-style: none;
    padding: 0;
    margin: var(--space-3) 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.settings-page__friend[b-md2vixmb6r] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.5rem 0.75rem;
    background: var(--surface-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.settings-page__friend-rank[b-md2vixmb6r] {
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-sm);
    min-width: 2rem;
}

.settings-page__friend-name[b-md2vixmb6r] {
    flex: 1 1 auto;
}

.settings-page__friend-actions[b-md2vixmb6r] {
    display: flex;
    gap: var(--space-2);
}
/* /Components/Shared/ImportantPeopleDialog.razor.rz.scp.css */
.important-people-dialog__backdrop[b-3cth8it0a6] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 199;
}

.important-people-dialog[b-3cth8it0a6] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 2rem));
    max-height: 80vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    color: var(--text);
}

.important-people-dialog__header[b-3cth8it0a6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.important-people-dialog__header h2[b-3cth8it0a6] {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.important-people-dialog__close[b-3cth8it0a6] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}
.important-people-dialog__close:hover[b-3cth8it0a6],
.important-people-dialog__close:focus-visible[b-3cth8it0a6] {
    color: var(--text);
    background: var(--surface-hover);
    outline: none;
}

.important-people-dialog__search[b-3cth8it0a6] {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font: inherit;
}

.important-people-dialog__search:focus-visible[b-3cth8it0a6] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--focus-ring-soft);
}

.important-people-dialog__loading[b-3cth8it0a6],
.important-people-dialog__empty[b-3cth8it0a6] {
    color: var(--text-muted);
    margin: 0;
    font-size: var(--text-sm);
}

.important-people-dialog__error[b-3cth8it0a6] {
    color: var(--danger);
    margin: 0;
    background: var(--danger-soft);
    border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.important-people-dialog__candidates[b-3cth8it0a6] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: 24rem;
    overflow-y: auto;
}

.important-people-dialog__candidate[b-3cth8it0a6] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.important-people-dialog__candidate-name[b-3cth8it0a6] {
    flex: 1 1 auto;
    font-weight: 500;
    font-size: var(--text-sm);
}

.important-people-dialog__candidate-email[b-3cth8it0a6] {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.important-people-dialog__actions[b-3cth8it0a6] {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-2);
}
