/* /Layout/AppLoading.razor.rz.scp.css */
.app-loading[b-moqn1wh64q] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pt-bg-lowest);
}

.app-loading__spinner[b-moqn1wh64q] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--pt-brand) 20%, transparent);
    border-top-color: var(--pt-brand);
    animation: app-loading-spin-b-moqn1wh64q 0.8s linear infinite;
}

@keyframes app-loading-spin-b-moqn1wh64q {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .app-loading__spinner[b-moqn1wh64q] { animation-duration: 1.6s; }
}
/* /Pages/Admin.razor.rz.scp.css */
.admin[b-lqihec4xwh] {
    position: relative;
    min-height: 100vh;
    padding: 5vh 2rem 4rem;
    background: var(--pt-bg-lowest);
    color: var(--pt-text);
    background-image: radial-gradient(circle, var(--pt-dot-grid) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

.admin__hero[b-lqihec4xwh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto 2.5rem;
}

.admin__brand[b-lqihec4xwh] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin__back[b-lqihec4xwh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    color: var(--pt-text-muted);
    text-decoration: none;
    border: 1px solid var(--pt-border);
    border-radius: .6rem;
    transition: color .15s, border-color .15s;
}

.admin__back:hover[b-lqihec4xwh] {
    color: var(--pt-brand-strong);
    border-color: var(--pt-brand-strong);
}

.admin__kicker[b-lqihec4xwh] {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--pt-brand-strong);
}

.admin__title[b-lqihec4xwh] {
    margin: .1rem 0 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--pt-text);
}

.admin__save[b-lqihec4xwh] {
    padding: .7rem 1.4rem;
    font-size: .9rem;
    font-weight: 650;
    color: var(--pt-brand-ink);
    background: var(--pt-brand);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pt-brand) 60%, transparent);
}

.admin__save:hover:not(:disabled)[b-lqihec4xwh] {
    background: var(--pt-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--pt-brand) 70%, transparent);
}

.admin__save:active:not(:disabled)[b-lqihec4xwh] { transform: translateY(0); }

.admin__save:disabled[b-lqihec4xwh] {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.admin__save--sm[b-lqihec4xwh] {
    padding: .6rem 1.1rem;
    font-size: .85rem;
}

.admin__grid[b-lqihec4xwh] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.admin-card[b-lqihec4xwh] {
    background: var(--pt-bg-surface);
    border: 1px solid var(--pt-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.admin-card__head[b-lqihec4xwh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-card__name[b-lqihec4xwh] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--pt-text);
}

.admin-card__empty[b-lqihec4xwh] {
    margin: 0;
    color: var(--pt-text-muted);
    font-size: .9rem;
    font-style: italic;
}

.admin-card__hint[b-lqihec4xwh] {
    margin: 0 0 1rem;
    color: var(--pt-text-muted);
    font-size: .85rem;
    max-width: 42rem;
}

.admin-card__hint--warn[b-lqihec4xwh] {
    margin: .75rem 0 0;
    color: var(--pt-accent-gold);
}

.kiosk__controls[b-lqihec4xwh] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
}

.kiosk__result[b-lqihec4xwh] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .5rem .75rem;
    background: var(--pt-bg-lowest);
    border: 1px solid var(--pt-border);
    border-radius: .6rem;
}

.kiosk__url[b-lqihec4xwh] {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .8rem;
    color: var(--pt-brand-strong);
    word-break: break-all;
}

/* MudTable ships its own light paper surface. */
.admin-table[b-lqihec4xwh] {
    background: transparent !important;
    box-shadow: none !important;
}

.admin-table[b-lqihec4xwh]  .mud-table-root,
.admin-table[b-lqihec4xwh]  .mud-table-container,
.admin-table[b-lqihec4xwh]  .mud-table-toolbar,
.admin-table[b-lqihec4xwh]  tbody tr,
.admin-table[b-lqihec4xwh]  .mud-table-body { background: transparent !important; }

.admin-table[b-lqihec4xwh]  th {
    color: var(--pt-text-muted) !important;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--pt-border) !important;
}

.admin-table[b-lqihec4xwh]  td {
    color: var(--pt-text);
    border-bottom: 1px solid color-mix(in srgb, var(--pt-ink) 5%, transparent) !important;
}

.admin-table[b-lqihec4xwh]  tbody tr:hover td,
.admin-table[b-lqihec4xwh]  tr:hover td { background: color-mix(in srgb, var(--pt-ink) 3%, transparent); }
/* /Pages/Dashboard.razor.rz.scp.css */
.dashboard-toolbar[b-91ytjfyi3u] { display: flex; justify-content: flex-end; padding: .25rem 1rem 0 1rem; }

.dashboard-grid[b-91ytjfyi3u] {
    --grid-cols: 8;
    --grid-row: 6rem;
    --grid-gap: .75rem;
    display: grid;
    grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
    grid-auto-rows: var(--grid-row);
    gap: var(--grid-gap);
    padding: 1rem;
    overflow-x: hidden;
}

/* One dot per track pitch (cell + gap), origin at the content box so they line up with cells. */
.dashboard-grid--edit[b-91ytjfyi3u] {
    background-image: radial-gradient(circle, color-mix(in srgb, var(--pt-ink) 22%, transparent) 2px, transparent 2px);
    background-size:
        calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols) + var(--grid-gap))
        calc(var(--grid-row) + var(--grid-gap));
    background-position: -2px -2px;
    background-origin: content-box;
    background-clip: content-box;
}

/* Kiosk keeps the fixed cell size and only pins the viewport. */
.dashboard-grid--kiosk[b-91ytjfyi3u] {
    height: 100vh;
    overflow: hidden;
}

.dashboard-ghost[b-91ytjfyi3u] {
    position: relative;
    z-index: 5; /* above the (dimmed) dragged widget, also when the target is smaller */
    border-radius: .75rem;
    pointer-events: none;
    border: 2px dashed;
    animation: ghost-pulse-b-91ytjfyi3u 1.2s ease-in-out infinite;
}

.dashboard-ghost--valid[b-91ytjfyi3u] {
    border-color: var(--pt-status-ok);
    background: var(--pt-status-ok-wash);
    box-shadow: inset 0 0 24px var(--pt-status-ok-glow);
}

.dashboard-ghost--invalid[b-91ytjfyi3u] {
    border-color: var(--pt-status-error);
    background: var(--pt-status-error-wash);
    box-shadow: inset 0 0 24px var(--pt-status-error-glow);
}

/* The wash pulses, not the whole ghost: fading the border took it under 3:1 on the light canvas. */
@keyframes ghost-pulse-b-91ytjfyi3u {
    50% { background-color: transparent; box-shadow: none; }
}

/* No @media here on purpose: --mobile is toggled from _isMobile, driven by the one breakpoint in
   js/mediaQuery.js, so CSS can't diverge from the behaviour gated on the same flag. */
.dashboard-grid--mobile[b-91ytjfyi3u] {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    /* Undoes the kiosk viewport pin — the stack must scroll. Wins over --kiosk by source order. */
    height: auto;
    overflow: visible;
}

/* Caps every tile's height so a tall widget can't fill the screen. !important because it beats
   WidgetHost's inline grid-column / grid-row. */
.dashboard-grid--mobile[b-91ytjfyi3u]  .widget-host {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    height: clamp(11rem, 40vh, 20rem);
}
/* /Pages/Home.razor.rz.scp.css */
.home[b-38d1tvw0uo] {
    position: relative;
    min-height: 100vh;
    padding: 10vh 2rem 4rem;
    background-image: radial-gradient(circle, var(--pt-dot-grid) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

.home__actions[b-38d1tvw0uo] {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: flex;
    gap: .5rem;
}

/* Shared by a link and a button, so the button resets keep the two identical. */
.home__action[b-38d1tvw0uo] {
    color: var(--pt-text-muted);
    font-family: inherit;
    font-size: .9rem;
    text-decoration: none;
    padding: .35rem .7rem;
    border: 1px solid var(--pt-border);
    border-radius: .5rem;
    background: none;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.home__action:hover[b-38d1tvw0uo] {
    color: var(--pt-brand-strong);
    border-color: var(--pt-brand-strong);
}

/* One bordered pill like the actions beside it, with the chosen segment lit. */
.theme-toggle[b-38d1tvw0uo] {
    display: flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--pt-border);
    border-radius: .5rem;
}

/* A .home__action without its own border, since the pill draws one. */
.theme-toggle__option[b-38d1tvw0uo] {
    padding: calc(.35rem - 2px) .6rem;
    border: none;
    border-radius: .35rem;
}

/* A solid fill, so the chosen segment differs by lightness and not by hue alone (WCAG 1.4.11). */
.theme-toggle__option[aria-pressed="true"][b-38d1tvw0uo],
.theme-toggle__option[aria-pressed="true"]:hover[b-38d1tvw0uo] {
    color: var(--pt-bg-surface);
    background: var(--pt-brand-strong);
}

.home__hero[b-38d1tvw0uo] { text-align: center; margin-bottom: 4rem; }

.home__mark[b-38d1tvw0uo] {
    color: var(--pt-brand-strong);
    font-size: 1.5rem;
    line-height: 1;
    text-shadow: 0 0 24px var(--pt-brand-strong);
    animation: home-pulse-b-38d1tvw0uo 2.4s ease-in-out infinite;
}

@keyframes home-pulse-b-38d1tvw0uo {
    50% { opacity: .45; }
}

.home__title[b-38d1tvw0uo] {
    margin: .75rem 0 .25rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.home__cards[b-38d1tvw0uo] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 20rem));
    justify-content: center;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.home-card[b-38d1tvw0uo] {
    background: var(--pt-bg-surface);
    border: 1px solid var(--pt-border);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.home-card:hover[b-38d1tvw0uo] {
    border-color: var(--pt-brand-glow);
    box-shadow: 0 0 0 1px var(--pt-brand-wash), 0 8px 32px #00000080;
    transform: translateY(-2px);
}

.home-card__name[b-38d1tvw0uo] { font-size: 1.35rem; font-weight: 700; }

.home-card__meta[b-38d1tvw0uo] {
    color: var(--pt-brand-strong);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
}

.home-card__widgets[b-38d1tvw0uo] {
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    color: var(--pt-text-muted);
    font-size: .85rem;
}

.home-card__widgets li[b-38d1tvw0uo] { padding: .15rem 0; }

.home-card__widgets li[b-38d1tvw0uo]::before { content: "· "; color: var(--pt-brand-strong); }

.home-card__actions[b-38d1tvw0uo] { display: flex; gap: .5rem; }

.home-card__btn[b-38d1tvw0uo] {
    flex: 1;
    text-align: center;
    padding: .5rem 0;
    border-radius: .5rem;
    border: 1px solid var(--pt-border);
    color: var(--pt-text);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.home-card__btn:hover[b-38d1tvw0uo] { border-color: var(--pt-brand-strong); }

.home-card__btn--primary[b-38d1tvw0uo] {
    background: var(--pt-brand);
    border-color: var(--pt-brand);
    color: var(--pt-brand-ink);
}

.home-card__btn--primary:hover[b-38d1tvw0uo] { background: var(--pt-brand-hover); }
/* /Pages/Login.razor.rz.scp.css */
.login-shell[b-6puwnsgob0] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--pt-bg-lowest);
    color: var(--pt-text);
    overflow: hidden;
}

.login-bg[b-6puwnsgob0] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60rem 60rem at 78% -10%, color-mix(in srgb, var(--pt-brand) 16%, transparent), transparent 60%),
        radial-gradient(48rem 48rem at 12% 112%, color-mix(in srgb, var(--pt-brand) 10%, transparent), transparent 55%),
        radial-gradient(color-mix(in srgb, var(--pt-ink) 5%, transparent) 1px, transparent 1px);
    background-size: auto, auto, 26px 26px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 55%, transparent 100%);
    mask-image: radial-gradient(120% 100% at 50% 40%, #000 55%, transparent 100%);
}

.login-card[b-6puwnsgob0] {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 2.75rem 2.5rem 2rem;
    border-radius: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--pt-bg-surface) 85%, transparent), color-mix(in srgb, var(--pt-bg-lowest) 92%, transparent));
    border: 1px solid color-mix(in srgb, var(--pt-brand) 14%, transparent);
    box-shadow:
        0 1px 0 color-mix(in srgb, var(--pt-ink) 4%, transparent) inset,
        0 30px 60px -20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    animation: card-in-b-6puwnsgob0 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-card[b-6puwnsgob0]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--pt-brand-strong), transparent);
    opacity: 0.8;
}

.brand[b-6puwnsgob0] {
    margin-bottom: 2rem;
}

.brand-kicker[b-6puwnsgob0] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--pt-brand-strong);
    animation: rise-b-6puwnsgob0 0.5s ease both 0.08s;
}

.brand-title[b-6puwnsgob0] {
    margin: 0.4rem 0 0;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pt-text);
    animation: rise-b-6puwnsgob0 0.5s ease both 0.14s;
}

.brand-title .accent[b-6puwnsgob0] {
    color: var(--pt-brand-strong);
}

.form[b-6puwnsgob0] {
    display: flex;
    flex-direction: column;
    animation: rise-b-6puwnsgob0 0.5s ease both 0.26s;
}

.field-label[b-6puwnsgob0] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pt-text-muted);
    margin-bottom: 0.55rem;
}

.field[b-6puwnsgob0] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--pt-text);
    background: var(--pt-bg-lowest);
    /* The field's fill matches the card, so this border is the only edge: 3:1 at least. */
    border: 1px solid var(--pt-text-muted);
    border-radius: 10px;
    transition: border-color 0.18s ease;
}

.field:hover[b-6puwnsgob0] {
    border-color: var(--pt-text);
}

.btn[b-6puwnsgob0] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--pt-brand-ink);
    background: var(--pt-brand);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pt-brand) 60%, transparent);
}

.btn:hover:not(:disabled)[b-6puwnsgob0] {
    background: var(--pt-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--pt-brand) 70%, transparent);
}

.btn:active:not(:disabled)[b-6puwnsgob0] {
    transform: translateY(0);
}

.btn:disabled[b-6puwnsgob0] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ms-logo[b-6puwnsgob0] {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.status[b-6puwnsgob0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0 0.25rem;
    color: var(--pt-text-muted);
    font-size: 0.95rem;
    animation: rise-b-6puwnsgob0 0.4s ease both;
}

.spinner[b-6puwnsgob0] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--pt-brand) 25%, transparent);
    border-top-color: var(--pt-brand-strong);
    animation: spin-b-6puwnsgob0 0.8s linear infinite;
}

.error[b-6puwnsgob0] {
    margin: 1rem 0 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
    color: var(--sev-error-soft);
    background: color-mix(in srgb, var(--pt-status-error) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--pt-status-error) 28%, transparent);
    border-radius: 9px;
}

@keyframes card-in-b-6puwnsgob0 {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rise-b-6puwnsgob0 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-b-6puwnsgob0 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .login-card[b-6puwnsgob0], .brand-kicker[b-6puwnsgob0], .brand-title[b-6puwnsgob0], .form[b-6puwnsgob0], .status[b-6puwnsgob0] { animation: none; }
    .spinner[b-6puwnsgob0] { animation-duration: 1.4s; }
}
/* /Pages/NotFound.razor.rz.scp.css */
.notfound[b-byyc2nk4d6] {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    padding: 2rem;
    background-image: radial-gradient(circle, var(--pt-dot-grid) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

.notfound__code[b-byyc2nk4d6] {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--pt-brand-strong);
    text-shadow: 0 0 48px var(--pt-brand-wash);
}

.notfound__title[b-byyc2nk4d6] {
    margin: .5rem 0 .25rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.notfound__hint[b-byyc2nk4d6] {
    color: var(--pt-text-muted);
    font-size: .9rem;
    margin-bottom: 2rem;
}

.notfound__links[b-byyc2nk4d6] { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }

.notfound__link[b-byyc2nk4d6] {
    padding: .5rem 1.25rem;
    border-radius: .5rem;
    border: 1px solid var(--pt-border);
    color: var(--pt-text);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.notfound__link:hover[b-byyc2nk4d6] { border-color: var(--pt-brand); }

.notfound__link--primary[b-byyc2nk4d6] {
    background: var(--pt-brand);
    border-color: var(--pt-brand);
    color: var(--pt-brand-ink);
}

.notfound__link--primary:hover[b-byyc2nk4d6] { background: var(--pt-brand-hover); }
/* /Widgets/BounceRatesWidget.razor.rz.scp.css */
/* Layout only: type, rows and clipping come from app.css. A narrow tile shows just the rate,
   centred, because a domain list needs the width. */

.br[b-m50ryqi364] {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 0;
}

.br-hero[b-m50ryqi364] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2em;
    flex-shrink: 0;
}

.br-list[b-m50ryqi364],
.br-bounced[b-m50ryqi364] {
    display: none;
}

@container widget (min-width: 340px) {
    .br[b-m50ryqi364] {
        justify-content: flex-start;
        align-items: stretch;
        text-align: left;
    }

    .br-hero[b-m50ryqi364] {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: .6em;
        margin-block: .2em .4em;
    }

    .br-list[b-m50ryqi364] {
        display: block;
    }
}

@container widget (min-width: 440px) {
    .br-bounced[b-m50ryqi364] {
        display: block;
    }
}
/* /Widgets/DataServersWidget.razor.rz.scp.css */
/* ::deep: the class lands on the MudSwitch child, outside this component's scope. */
.row[b-c894fcy8g3]  .ds-switch { flex: 0 0 auto; margin: 0 0 0 .35em; }

/* Narrow tile: drop the detail column, keep glyph + host + status word legible. */
@container widget (max-width: 300px) {
    .ds-detail[b-c894fcy8g3] { display: none; }
}
/* /Widgets/SolvedTodayWidget.razor.rz.scp.css */
.st-stats[b-gkzjk5q986] { display: none; gap: 1.25em; margin-top: .6em; }

/* A wide tile swaps the one-line average for two labelled stats. */
@container widget (min-width: 300px) {
    .st-sub[b-gkzjk5q986] { display: none; }
    .st-stats[b-gkzjk5q986] { display: flex; }
}
/* /Widgets/WidgetHost.razor.rz.scp.css */
.widget-host[b-g1evqyq9vp] {
    position: relative;
    background: var(--pt-bg-surface);
    border: 1px solid color-mix(in srgb, var(--pt-ink) 6%, transparent);
    border-radius: .75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.widget-host__body[b-g1evqyq9vp] {
    flex: 1;
    padding: .75rem;
    min-height: 0;
    overflow: hidden;
    /* Query container: body size comes from the grid cell, never from content, so it is safe. */
    display: flex;
    flex-direction: column;
    container-type: inline-size;
    container-name: widget;
}

/* Styled away rather than unrendered, so the widget keeps polling and comes back without a reload. */
.widget-host--hidden[b-g1evqyq9vp] { display: none; }

.widget-host--editable[b-g1evqyq9vp] { border-color: var(--pt-border); }

.widget-host--editable:hover[b-g1evqyq9vp] {
    border-color: var(--pt-brand-glow);
    box-shadow: 0 0 0 1px var(--pt-brand-wash), 0 4px 16px #00000066;
}

/* Covers the whole card so anywhere grabs, and shields the widget's UI from clicks. */
.widget-host__grip[b-g1evqyq9vp] {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.widget-host--editable .widget-host__grip[b-g1evqyq9vp] { display: block; }

.widget-host__grip:active[b-g1evqyq9vp] { cursor: grabbing; }

.widget-host__badge[b-g1evqyq9vp] {
    position: absolute;
    top: .5rem;
    left: .5rem;
    padding: .15rem .5rem;
    border-radius: .35rem;
    background: color-mix(in srgb, var(--pt-bg-lowest) 80%, transparent);
    border: 1px solid var(--pt-border);
    color: var(--pt-text-muted);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    pointer-events: none;
}

/* Dimmed while dragging so the ghost stays readable under it. */
.widget-host--dragging[b-g1evqyq9vp] {
    opacity: .35;
    border-style: dashed;
}

.widget-host__resize[b-g1evqyq9vp] {
    display: none;
    position: absolute;
    z-index: 6; /* above the drag overlay so the corner resizes instead of moving */
    right: 2px;
    bottom: 2px;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    touch-action: none;
    background:
        linear-gradient(135deg,
            transparent 0 8px, var(--pt-text-muted) 8px 9.5px,
            transparent 9.5px 12px, var(--pt-text-muted) 12px 13.5px,
            transparent 13.5px);
    border-bottom-right-radius: .6rem;
}

.widget-host__resize:hover[b-g1evqyq9vp] { filter: brightness(1.6); }

.widget-host--editable .widget-host__resize[b-g1evqyq9vp] { display: block; }
/* /Widgets/ZendeskQueuesWidget.razor.rz.scp.css */
/* ::deep: the icon renders inside the MudIcon child. Scoped rather than a utility, because
   MudBlazor's own icon size would otherwise win whenever index.html's layer fix is stale. */
.stat-card[b-duhs3r2opg]  .qh-icon {
    flex: 0 0 auto;
    font-size: calc(var(--fs-metric) * .7);
    color: var(--pt-text-muted);
}
