/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kbam5uvy0o] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kbam5uvy0o] {
    flex: 1;
}

.sidebar[b-kbam5uvy0o] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-kbam5uvy0o] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-kbam5uvy0o]  a, .top-row .btn-link[b-kbam5uvy0o] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-kbam5uvy0o] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-kbam5uvy0o] {
        display: none;
    }

    .top-row.auth[b-kbam5uvy0o] {
        justify-content: space-between;
    }

    .top-row a[b-kbam5uvy0o], .top-row .btn-link[b-kbam5uvy0o] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-kbam5uvy0o] {
        flex-direction: row;
    }

    .sidebar[b-kbam5uvy0o] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kbam5uvy0o] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-kbam5uvy0o], article[b-kbam5uvy0o] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/MainLayoutPreStudies.razor.rz.scp.css */
.page[b-ewn8o4w3zz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ewn8o4w3zz] {
    flex: 1;
}

.sidebar[b-ewn8o4w3zz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ewn8o4w3zz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ewn8o4w3zz]  a, .top-row .btn-link[b-ewn8o4w3zz] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-ewn8o4w3zz] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-ewn8o4w3zz] {
        display: none;
    }

    .top-row.auth[b-ewn8o4w3zz] {
        justify-content: space-between;
    }

    .top-row a[b-ewn8o4w3zz], .top-row .btn-link[b-ewn8o4w3zz] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ewn8o4w3zz] {
        flex-direction: row;
    }

    .sidebar[b-ewn8o4w3zz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ewn8o4w3zz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-ewn8o4w3zz], article[b-ewn8o4w3zz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/PreStudies/Sampling/SamplingImportErrorsDialog.razor.rz.scp.css */
.sampling-import-errors[b-rvtgczz6h7] {
    max-height: 55dvh;
    max-width: 100%;
    overflow: auto;
    margin-top: 16px;
}

.sampling-import-errors table[b-rvtgczz6h7] {
    border-collapse: collapse;
    width: 100%;
}

.sampling-import-errors th[b-rvtgczz6h7],
.sampling-import-errors td[b-rvtgczz6h7] {
    padding: 8px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--mud-palette-divider);
}
/* /Pages/PreStudies/Shared/PreStudyHeaderActions.razor.rz.scp.css */
.prestudy-header-actions[b-hcswvefwwk] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.prestudy-header-actions[b-hcswvefwwk]  .mud-button-root {
    min-height: 44px;
    min-width: 44px;
    padding-inline: 8px;
    text-transform: none;
}

.prestudy-header-actions[b-hcswvefwwk]  .mud-button-label {
    font-size: 0;
}

.prestudy-header-actions[b-hcswvefwwk]  .mud-button-icon-start {
    margin: 0;
}

.prestudy-focus-actions[b-hcswvefwwk]  .mud-button-root {
    color: #fff;
}

.prestudy-focus-actions[b-hcswvefwwk]  .mud-button-root:hover {
    background: rgb(255 255 255 / 12%);
}

.prestudy-focus-actions[b-hcswvefwwk]  .mud-button-root:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@container prestudy-header (min-width: 700px) {
    .prestudy-header-actions[b-hcswvefwwk]  .prestudy-primary-action .mud-button-label {
        font-size: inherit;
    }

    .prestudy-header-actions[b-hcswvefwwk]  .prestudy-primary-action .mud-button-icon-start {
        margin-right: 8px;
    }
}

@container prestudy-header (min-width: 850px) {
    .prestudy-header-actions[b-hcswvefwwk]  .mud-button-label {
        font-size: inherit;
    }

    .prestudy-header-actions[b-hcswvefwwk]  .mud-button-icon-start {
        margin-right: 8px;
    }
}

.prestudy-menu-toggle[b-hcswvefwwk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 32px;
    color: #17345b;
    font-weight: 500;
}

.prestudy-menu-action[b-hcswvefwwk] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    color: #17345b;
}

.prestudy-menu-study-name[b-hcswvefwwk] {
    max-width: 280px;
    padding: 8px 16px;
    color: #17345b;
    overflow-wrap: anywhere;
}

.prestudy-menu-action[b-hcswvefwwk]  .mud-icon-root {
    color: #536e90;
}

.prestudy-menu-switch[b-hcswvefwwk] {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: #9aa5b1;
    transition: background-color .15s ease;
}

.prestudy-menu-switch-thumb[b-hcswvefwwk] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
    transition: transform .15s ease;
}

.prestudy-menu-switch-on[b-hcswvefwwk] {
    background: var(--mud-palette-success, #2e7d32);
}

.prestudy-menu-switch-on .prestudy-menu-switch-thumb[b-hcswvefwwk] {
    transform: translateX(18px);
}

@media (prefers-reduced-motion: reduce) {
    .prestudy-menu-switch[b-hcswvefwwk], .prestudy-menu-switch-thumb[b-hcswvefwwk] { transition: none; }
}

@media (forced-colors: active) {
    .prestudy-menu-switch[b-hcswvefwwk] { border: 1px solid CanvasText; }
    .prestudy-menu-switch-thumb[b-hcswvefwwk] { background: CanvasText; }
}
/* /Pages/PreStudies/Shared/PreStudyHelpDialog.razor.rz.scp.css */
.prestudy-help-heading[b-a0ygxkn7d6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.prestudy-help-body[b-a0ygxkn7d6] {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.prestudy-help-body section + section[b-a0ygxkn7d6],
.prestudy-help-body h3:not(:first-child)[b-a0ygxkn7d6] {
    margin-top: 20px;
}

.prestudy-help-body p + p[b-a0ygxkn7d6] {
    margin-top: 12px;
}

.prestudy-help-body code[b-a0ygxkn7d6] {
    font-weight: bold;
    white-space: normal;
}
/* /Pages/PreStudies/Shared/PreStudyListLayout.razor.rz.scp.css */
.prestudy-list-mobile[b-i6uhul5zo8] {
    display: none;
}

@media (max-width: 599px) {
    .prestudy-list-desktop[b-i6uhul5zo8] {
        display: none;
    }

    .prestudy-list-mobile[b-i6uhul5zo8] {
        display: block;
    }

    .prestudy-list-heading[b-i6uhul5zo8],
    .prestudy-list-actions[b-i6uhul5zo8] {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .prestudy-list-heading[b-i6uhul5zo8] {
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .prestudy-list-title[b-i6uhul5zo8] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .prestudy-list-title span[b-i6uhul5zo8] {
        font-size: .875rem;
        color: var(--mud-palette-text-secondary);
    }

    .prestudy-list-details[b-i6uhul5zo8] {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 12px 0;
    }

    .prestudy-upload-status[b-i6uhul5zo8] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
    }

    .prestudy-uploaded[b-i6uhul5zo8] {
        color: #17632e;
        font-weight: 500;
    }

    .prestudy-list-interval[b-i6uhul5zo8] {
        flex-basis: 100%;
    }

    .prestudy-list-actions[b-i6uhul5zo8] {
        gap: 4px;
        margin-bottom: 8px;
    }

    .prestudy-list-remove[b-i6uhul5zo8] {
        display: flex;
        margin-left: auto;
    }

    .prestudy-list-actions[b-i6uhul5zo8]  .mud-icon-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .prestudy-list-mobile[b-i6uhul5zo8]  .prestudy-study-panel .mud-expand-panel-content {
        padding: 8px 12px 12px;
    }

    .prestudy-list-readings[b-i6uhul5zo8] {
        border-top: 1px solid var(--mud-palette-divider);
    }

    .prestudy-list-readings-toggle[b-i6uhul5zo8] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: 0 4px;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .prestudy-list-readings-toggle:focus-visible[b-i6uhul5zo8] {
        outline: 2px solid var(--mud-palette-primary);
        outline-offset: -2px;
    }

    .prestudy-list-readings-table[b-i6uhul5zo8] {
        max-width: 100%;
        overflow-x: auto;
    }

    .prestudy-list-readings-table[b-i6uhul5zo8]  .mud-table-cell {
        padding: 8px;
        white-space: nowrap;
    }

    .prestudy-list-readings-table[b-i6uhul5zo8]  td:last-child input {
        min-width: 14ch;
    }
}
/* /Pages/PreStudies/Shared/PreStudyNumPad.razor.rz.scp.css */
.prestudy-keypad-focus[b-yox214m908] {
    /* Reserve space for all four rows and their gaps, not just viewport width. */
    --prestudy-key-max: min(calc((100cqw - 24px) / 3 / var(--prestudy-key-aspect, 1)), calc((100cqh - 32px) / 4));
    --prestudy-key-size: max(48px, calc(48px + (var(--prestudy-key-max) - 48px) * var(--prestudy-key-scale)));
    width: calc(3 * var(--prestudy-key-size) * var(--prestudy-key-aspect, 1) + 24px);
    max-width: 100%;
    flex-shrink: 0;
}

.prestudy-keypad-focus[b-yox214m908]  .mud-table {
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.prestudy-keypad-focus[b-yox214m908]  table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
}

.prestudy-keypad-focus[b-yox214m908]  td {
    padding: 4px;
    border: 0;
}

.prestudy-keypad-focus[b-yox214m908]  button {
    height: var(--prestudy-key-size);
    min-width: 44px;
    min-height: 48px;
    padding: 2px;
    border-radius: 10px;
}

.prestudy-keypad-focus[b-yox214m908]  .mud-button-filled-default:not(:disabled) {
    background: #fff;
    color: var(--mud-palette-text-primary);
    border: 1px solid #d3dce8;
    box-shadow: 0 1px 2px rgb(16 32 56 / 10%), 0 2px 6px rgb(16 32 56 / 6%);
}

.prestudy-keypad-focus[b-yox214m908]  .mud-button-filled-default:not(:disabled):hover {
    background: #f4f7fb;
}

.prestudy-keypad-focus[b-yox214m908]  .mud-button-filled-default:not(:disabled):active {
    background: #e7edf5;
}

.prestudy-keypad-focus[b-yox214m908]  button:focus-visible {
    outline: 3px solid var(--prestudy-accent, #1f3a5f);
    outline-offset: 2px;
}

.prestudy-keypad-focus[b-yox214m908]  h1 {
    font-size: calc(var(--prestudy-key-size) * .55);
    line-height: 1;
}

.prestudy-keypad-focus .prestudy-key-content[b-yox214m908] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

/* Hidden below 60 px keys; the button keeps its accessible name. */
.prestudy-keypad-focus .prestudy-key-caption[b-yox214m908] {
    font-size: clamp(0px, calc((var(--prestudy-key-size) - 60px) * 100), min(16px, calc(var(--prestudy-key-size) * .15)));
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: none;
    white-space: nowrap;
}
/* /Pages/PreStudies/Shared/PreStudySteps.razor.rz.scp.css */
.prestudy-invalid-code[b-no85mdgijj] {
    color: var(--mud-palette-error);
    font-weight: 600;
}

.prestudy-invalid-summary[b-no85mdgijj] {
    color: var(--mud-palette-error);
    padding: 4px 8px;
    font-size: .875rem;
}

.prestudy-invalid-label[b-no85mdgijj] {
    display: block;
    font-size: .75rem;
    font-weight: 400;
}
/* /Pages/PreStudies/Shared/PreStudyToolbar.razor.rz.scp.css */
:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty] {
    --prestudy-accent: #1f3a5f;
    --prestudy-page: #e9eef5;
    --prestudy-tile: #eef3f9;
    --prestudy-line: #d3dce8;
    --prestudy-pad: 12px;
    --prestudy-max-width: 1180px;
    box-sizing: border-box;
    width: 100%;
    height: 100dvh;
    min-height: 350px;
    padding: var(--prestudy-pad);
    /* Full-width page tone; content centered within the desktop max width. */
    padding-inline: max(var(--prestudy-pad), calc((100% - var(--prestudy-max-width)) / 2));
    background: var(--prestudy-page);
    display: flex;
    flex-direction: column;
    gap: 12px;
    container: prestudy-header / inline-size;
}

.prestudy-normal[b-sujk3b0wty] {
    --prestudy-normal-height: calc(100dvh - var(--mud-appbar-height) - 24px);
    height: var(--prestudy-normal-height);
    min-height: 350px;
    padding: 12px;
}

.prestudy-normal.prestudy-registering[b-sujk3b0wty] {
    height: auto;
    min-height: max(350px, var(--prestudy-normal-height));
}

.prestudy-normal.prestudy-registering[b-sujk3b0wty]  .prestudy-registration-panel {
    min-height: min-content;
}

@media (max-width: 599px) {
    .prestudy-normal[b-sujk3b0wty] {
        --prestudy-normal-height: calc(100dvh - var(--mud-appbar-height) - 16px);
    }
}
.prestudy-normal[b-sujk3b0wty]  .prestudy-toolbar {
    color: var(--prestudy-accent);
    flex-wrap: nowrap;
    padding-inline: 8px;
}

.prestudy-normal-context[b-sujk3b0wty] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.prestudy-context-heading[b-sujk3b0wty] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.prestudy-context-type[b-sujk3b0wty],
.prestudy-context-name[b-sujk3b0wty] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prestudy-context-name[b-sujk3b0wty] {
    font-weight: 600;
}

@media (max-width: 767px) {
    .prestudy-normal[b-sujk3b0wty]  .prestudy-toolbar {
        gap: 0;
        padding-inline: 4px;
    }

    .prestudy-normal-context[b-sujk3b0wty] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        font-size: .75rem;
        overflow: hidden;
    }

    .prestudy-normal-context .prestudy-context-heading[b-sujk3b0wty],
    .prestudy-normal-context .prestudy-context-name[b-sujk3b0wty] {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty] {
        --prestudy-pad: 20px;
    }
}

@media (min-width: 1024px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty] {
        --prestudy-pad: 24px;
    }
}

/* Mouse-driven desktops do not need tablet-sized keys. */
@media (hover: hover) and (pointer: fine) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty] {
        --prestudy-max-width: 1080px;
    }
}

@media (max-height: 480px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty] {
        --prestudy-pad: 12px;
        gap: 8px;
    }
}

.prestudy-focus-header[b-sujk3b0wty] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 56px;
    padding: 4px 8px 4px 16px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    color: #fff;
    background: var(--prestudy-accent) url('/sidhuvud.png') center / cover no-repeat;
}

/* Flat dark overlay keeps white text readable on the light and red image areas. */
.prestudy-focus-header[b-sujk3b0wty]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(16 32 56 / 45%);
    pointer-events: none;
}

.prestudy-focus-header > *[b-sujk3b0wty] {
    position: relative;
}

.prestudy-focus-header[b-sujk3b0wty]  time {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.prestudy-focus-context[b-sujk3b0wty] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.prestudy-focus-context .prestudy-context-type[b-sujk3b0wty] {
    font-size: .8125rem;
    opacity: .85;
}

.prestudy-focus-header[b-sujk3b0wty]  .mud-menu {
    flex-shrink: 0;
}

@media (max-width: 599px) {
    .prestudy-focus-context[b-sujk3b0wty] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        overflow: hidden;
    }

    .prestudy-focus-context .prestudy-context-heading[b-sujk3b0wty],
    .prestudy-focus-context .prestudy-context-name[b-sujk3b0wty] {
        max-width: 100%;
    }

    .prestudy-focus-header[b-sujk3b0wty]  time {
        font-size: 1.25rem;
    }

    .prestudy-focus-context .prestudy-context-type[b-sujk3b0wty],
    .prestudy-focus-context .prestudy-context-name[b-sujk3b0wty] {
        font-size: .75rem;
    }

}

@media (max-height: 480px) {
    .prestudy-focus-header[b-sujk3b0wty] {
        min-height: 48px;
        padding-block: 2px;
    }
}

[b-sujk3b0wty] .prestudy-toolbar {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 4px;
    padding-block: 4px;
}

/* Focus-only labels stay hidden in the normal registration layout. */
[b-sujk3b0wty] .prestudy-gtt-countdown-label {
    display: none;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  button {
    min-height: 44px;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .mud-grid {
    margin: 0;
    width: 100%;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .mud-grid-item {
    padding: 2px 4px;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-panel {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(248px, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgb(16 32 56 / 10%), 0 4px 12px rgb(16 32 56 / 6%);
}

@media (min-width: 768px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-panel {
        padding: 16px;
        gap: 16px;
    }
}

/* Info card: one column of full-width rows (Total, Latest, Reading code) sharing edges. */
:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status {
    width: min(100%, 32rem);
    justify-self: center;
    align-self: start;
    min-width: 0;
    box-sizing: border-box;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--prestudy-line);
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status > * {
    min-width: 0;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status .mud-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    width: 100%;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status .mud-grid-item {
    max-width: none;
    flex-basis: auto;
    padding: 0;
    min-width: 0;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-status-field {
    position: relative;
    flex: 1;
    min-width: 0;
    margin-top: 6px;
    padding: 8px 12px 4px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius, 4px);
    user-select: none;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-status-label {
    position: absolute;
    top: -.5rem;
    left: 8px;
    padding: 0 4px;
    background: var(--mud-palette-surface);
    color: var(--prestudy-accent);
    font-size: .75rem;
    line-height: 1rem;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-status-value {
    display: block;
    min-height: 1.75rem;
    color: var(--mud-palette-text-primary);
    font-family: ui-monospace, "Roboto Mono", Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-total-field .prestudy-status-value {
    font-size: 1.25rem;
}

/* Latest never wraps: 13 monospace digits shrink to fit the card before an ellipsis is used. */
:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-latest-field .prestudy-status-value {
    font-size: clamp(.8125rem, calc((100cqi - 56px) / 8), 1.25rem);
    letter-spacing: .02em;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .pre-study-input {
    max-width: none;
    margin: 0;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .pre-study-input .mud-input-slot {
    font-size: 2rem !important;
    font-family: ui-monospace, "Roboto Mono", Consolas, monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .pre-study-input .mud-input-outlined.mud-focused .mud-input-outlined-border {
    border-color: var(--prestudy-accent);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .pre-study-input .mud-input-label.mud-input-label-outlined {
    color: var(--prestudy-accent);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-random-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--prestudy-accent);
    color: var(--prestudy-accent);
    background: var(--prestudy-tile);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "countdown pause"
        "interval interval";
    align-items: center;
    gap: 4px 8px;
}

/* Outlined like the read-only fields: label in the frame, value below. */
:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-countdown {
    grid-area: countdown;
    position: relative;
    margin-top: 6px;
    padding: 8px 12px 4px;
    border-radius: var(--mud-default-borderradius, 4px);
    border: 1px solid var(--mud-palette-lines-inputs);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-countdown-label {
    position: absolute;
    top: -.5rem;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 0 4px;
    display: block;
    background: var(--mud-palette-surface);
    color: var(--prestudy-accent);
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-countdown .mud-typography {
    text-align: start;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
    font-family: ui-monospace, "Roboto Mono", Consolas, monospace;
    font-variant-numeric: tabular-nums;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-pause {
    grid-area: pause;
    align-self: stretch;
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-pause.mud-button-filled-error:not(:disabled) {
    background: var(--prestudy-accent);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-gtt-interval {
    grid-area: interval;
    font-size: .8125rem;
    color: var(--mud-palette-text-secondary);
}

:is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-keypad {
    container-type: size;
    min-width: 168px;
    min-height: 248px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.keypad-horizontal-left[b-sujk3b0wty]  .prestudy-registration-keypad { align-items: flex-start; }
.keypad-horizontal-right[b-sujk3b0wty]  .prestudy-registration-keypad { align-items: flex-end; }
.keypad-vertical-center[b-sujk3b0wty]  .prestudy-registration-keypad { justify-content: center; }
.keypad-vertical-bottom[b-sujk3b0wty]  .prestudy-registration-keypad { justify-content: flex-end; }

/* Child view wrapper: fills the remaining height so the registration panel or readings card never overflows. */
.prestudy-content[b-sujk3b0wty],
.prestudy-content-body[b-sujk3b0wty] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.prestudy-readings-panel[b-sujk3b0wty] {
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    box-shadow: 0 1px 3px rgb(16 32 56 / 10%), 0 4px 12px rgb(16 32 56 / 6%);
}

.prestudy-readings-header[b-sujk3b0wty] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--prestudy-accent);
    font-size: 1.125rem;
}

/* Only the readings list scrolls; its header stays visible. */
.prestudy-content-body.prestudy-readings-body[b-sujk3b0wty] {
    display: block;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.prestudy-layout-shield[b-sujk3b0wty] {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgb(16 32 56 / 28%);
    padding: 8px;
    overflow: auto;
}

/* Slightly translucent so the previewed layout shows through; text stays dark on a near-white surface. */
.prestudy-layout-settings[b-sujk3b0wty] {
    width: min(100%, 30rem);
    margin-left: auto;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgb(16 32 56 / 12%);
    background: rgb(255 255 255 / 95%);
    color: #1b2533;
    box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .prestudy-layout-settings[b-sujk3b0wty] {
        background: rgb(255 255 255 / 78%);
        -webkit-backdrop-filter: blur(4px) saturate(1.2);
        backdrop-filter: blur(4px) saturate(1.2);
    }
}

@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
    .prestudy-layout-settings[b-sujk3b0wty] {
        background: var(--mud-palette-surface);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.prestudy-layout-settings small[b-sujk3b0wty] {
    color: #3b4757;
}

.prestudy-layout-actions[b-sujk3b0wty] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.prestudy-layout-actions[b-sujk3b0wty]  .prestudy-layout-close {
    background: var(--prestudy-accent);
    color: #fff;
}

.prestudy-layout-heading[b-sujk3b0wty], .prestudy-layout-placement[b-sujk3b0wty] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.prestudy-layout-placement > label[b-sujk3b0wty] { flex: 1; min-width: 0; }
.prestudy-layout-settings select[b-sujk3b0wty] {
    display: block;
    width: 100%;
    min-height: 44px;
    color: inherit;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
}
.prestudy-layout-settings input[b-sujk3b0wty] { width: 100%; min-height: 44px; }
.prestudy-layout-settings[b-sujk3b0wty]  .mud-focus-trap-child-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (orientation: landscape) and (min-width: 640px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-keypad {
        --prestudy-key-aspect: 1.35;
    }

    /* Side panel: fixed-width info card filling the workspace height, mirrored by keypad side. */
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-panel {
        grid-template-columns: clamp(240px, 32%, 360px) minmax(168px, 1fr);
        grid-template-rows: minmax(248px, 1fr);
    }

    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status {
        width: 100%;
        height: 100%;
        align-self: stretch;
        overflow-y: auto;
    }

    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-keypad {
        width: 100%;
    }

    .keypad-horizontal-left[b-sujk3b0wty]  .prestudy-registration-panel {
        grid-template-columns: minmax(168px, 1fr) clamp(240px, 32%, 360px);
    }

    .keypad-horizontal-left[b-sujk3b0wty]  .prestudy-registration-status {
        grid-column: 2;
        grid-row: 1;
    }

    .keypad-horizontal-left[b-sujk3b0wty]  .prestudy-registration-keypad {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (orientation: landscape) and (min-width: 640px) and (max-height: 480px) {
    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-panel {
        padding: 8px;
        gap: 8px;
    }

    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .prestudy-registration-status {
        padding: 8px;
        gap: 6px;
    }

    :is(.prestudy-focus, .prestudy-normal)[b-sujk3b0wty]  .pre-study-input .mud-input-slot {
        font-size: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.site-header-logo[b-m4qhs8kttc] {
    flex: 0 0 auto;
}

.site-header-logo[b-m4qhs8kttc]  img {
    display: block;
    width: 193px;
    height: auto;
}

.site-header-connection[b-m4qhs8kttc],
.site-header-account[b-m4qhs8kttc] {
    min-width: 0;
}

.site-header-connection[b-m4qhs8kttc] {
    overflow: hidden;
}

.site-header-connection[b-m4qhs8kttc]  .mud-typography {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 599px) {
    .site-header-logo[b-m4qhs8kttc]  img {
        width: clamp(72px, 26vw, 128px);
        max-height: 48px;
        object-fit: contain;
    }

    .site-header-connection[b-m4qhs8kttc]  .mud-typography {
        font-size: .875rem;
    }

    .site-header-account[b-m4qhs8kttc] {
        flex: 0 1 auto;
        min-width: 160px;
    }

    .site-header-account[b-m4qhs8kttc]  .mud-stack {
        min-width: 0;
        flex-wrap: nowrap;
    }

    .site-header-account[b-m4qhs8kttc]  label {
        min-width: 0;
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header-account[b-m4qhs8kttc]  .mud-icon-button {
        flex-shrink: 0;
    }
}
