/* /Components/Catalog/FavouriteStar.razor.rz.scp.css */
/* The favourite star (Product/Exercise Catalog.md): a square toggle. Off is an outline
   star in the muted colour; on is a filled star in the accent on the accent's soft
   background, so the two states read apart even at a glance on a phone. The glyphs
   come from a fallback face (Barlow has neither), so the button is a fixed 2 rem tall
   with the glyph's line box the same, and no fallback metric can push a row past the
   32 px of a row with a control (slice 11.9). */
button.star[b-a1lde4rrns] {
    height: 2rem;
    min-width: var(--btm-control);
    padding: 0 var(--btm-space-2);
    font-size: 1.4rem;
    line-height: 2rem;
    color: var(--btm-muted);
}

button.star[aria-pressed=true][b-a1lde4rrns] {
    color: var(--btm-accent);
    background: var(--btm-accent-soft);
    border-color: var(--btm-accent);
}

button.star[aria-pressed=true]:hover[b-a1lde4rrns] {
    background: var(--btm-accent-soft);
    border-color: var(--btm-accent-strong);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-nqip23oszo] {
    background: var(--btm-warning-bg);
    color: var(--btm-text);
    bottom: 0;
    box-shadow: var(--btm-shadow);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-nqip23oszo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/SiteNav.razor.rz.scp.css */
/* The nav bar (Product/Navigation.md, slice 11.1): the brand set apart, then plain links
   sized for touch, the current section marked by colour and a rule as well as weight.
   The bar shares main's measure and gutters. On a phone it is one row, the brand and a
   Menu button, and the links open under it as a sheet the width of the screen; from 601 px
   they are a wrapping row in the bar itself. */
.site-nav[b-quczpsi05l] {
    border-bottom: 1px solid var(--btm-border);
    margin-bottom: var(--btm-space-4);
}

nav[b-quczpsi05l] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 var(--btm-space-3);
    max-width: var(--btm-measure);
    margin: 0 auto;
    padding: var(--btm-space-1) var(--btm-gutter);
}

.menu[b-quczpsi05l] {
    min-height: var(--btm-touch);
    padding: 0 var(--btm-space-3);
    font: inherit;
    font-weight: 600;
    color: var(--btm-text);
    background: none;
    border: 1px solid var(--btm-border);
    border-radius: 0.375rem;
    cursor: pointer;
}

.menu:has(+ ul:popover-open)[b-quczpsi05l] {
    color: var(--btm-accent);
    border-color: var(--btm-accent);
}

/* The sheet: in the top layer, but placed against the page rather than the screen, so it
   sits just under the bar (the bar's one row plus its padding and rule). */
ul[b-quczpsi05l] {
    position: absolute;
    inset: calc(var(--btm-touch) + 2 * var(--btm-space-1) + 1px) 0 auto 0;
    width: auto;
    height: auto;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--btm-space-3);
    list-style: none;
    padding: var(--btm-space-2) calc(var(--btm-gutter) - var(--btm-space-2)) var(--btm-space-3);
    color: var(--btm-text);
    background: var(--btm-bg);
    border: 0;
    border-bottom: 1px solid var(--btm-border);
    box-shadow: var(--btm-shadow);
}

ul:not(:popover-open)[b-quczpsi05l] {
    display: none;
}

ul[b-quczpsi05l]::backdrop {
    background: rgb(0 0 0 / 0.25);
}

li[b-quczpsi05l] {
    margin: 0;
}

[b-quczpsi05l] a {
    display: inline-flex;
    align-items: center;
    min-height: var(--btm-touch);
    padding: 0 var(--btm-space-2);
    color: var(--btm-text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

[b-quczpsi05l] a:hover {
    color: var(--btm-accent);
}

[b-quczpsi05l] .brand {
    font-weight: 700;
    font-size: var(--btm-text-lg);
    padding-left: 0;
}

[b-quczpsi05l] ul a {
    display: flex;
}

[b-quczpsi05l] ul a[aria-current=page] {
    color: var(--btm-accent);
    font-weight: 600;
    border-bottom-color: var(--btm-accent);
}

@media (min-width: 601px) {
    nav[b-quczpsi05l] {
        justify-content: flex-start;
    }

    .menu[b-quczpsi05l] {
        display: none;
    }

    ul[b-quczpsi05l],
    ul:not(:popover-open)[b-quczpsi05l] {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0 var(--btm-space-1);
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    [b-quczpsi05l] ul a {
        display: inline-flex;
    }
}

@media print {
    .site-nav[b-quczpsi05l] {
        display: none;
    }
}
/* /Components/Pages/ModelLab.razor.rz.scp.css */
/* The model lab (slice 20.9). The body is drawn larger than on the app's screens, and on a
   phone it stays at the top of the screen while the controls scroll under it, since a body
   scrolled off screen stops moving. Beside the controls where there is room. The camera is
   the scene script's; the box's size is heat-map.css's, from --body-view, except as below. */
.model-lab-body[b-kffg4o5krr] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--btm-bg);
}

.model-lab-body[b-kffg4o5krr]  .body-map {
    --body-view: 360px;
    margin: 0;
}

/* The lab's own body keeps the 2D views' height (slice 20.10): it is drawn large already,
   and with the taller box a 3D body gets elsewhere it would hold most of a phone's screen
   while it sticks, and be taller than a laptop's at the desk. "My numbers" has the app's
   box. */
.model-lab-body[b-kffg4o5krr]  .body-map-tall {
    padding-block: 0;
}

.lab-buttons[b-kffg4o5krr] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--btm-space-2);
}

.lab-slider[b-kffg4o5krr] {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) 3rem;
    align-items: center;
    gap: var(--btm-space-2);
    margin-bottom: var(--btm-space-1);
}

.lab-slider input[b-kffg4o5krr] {
    width: 100%;
}

.lab-slider output[b-kffg4o5krr] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (min-width: 60rem) {
    .model-lab[b-kffg4o5krr] {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: var(--btm-space-4);
        align-items: start;
    }
}

/* The source paths in "My numbers" break where they must on a phone. */
code[b-kffg4o5krr] {
    overflow-wrap: anywhere;
}
/* /Components/Pages/Sheet.razor.rz.scp.css */
/* The printable sheet (slice 9.1): plain, black on white, high contrast, one page per
   day. Write-in spaces are underlines; boxes have solid borders a cheap printer keeps.
   Its ink and paper are the --btm-ink and --btm-paper tokens, the same in both colour
   schemes, and the base's table look (slice 11.1) is undone below so the sheet prints
   as it did. */
/* US Letter, the author's paper (2026-09-27); the browser test renders the same size. */
@page {
    size: letter;
    margin: 10mm;
}

.sheet-page[b-d0apljy96m] {
    color: var(--btm-ink);
    background: var(--btm-paper);
    font: 10pt/1.3 Arial, Helvetica, sans-serif;
    max-width: 190mm;
    margin: 1.5rem auto;
    padding: 8mm;
    border: 1px solid var(--btm-border);
}

/* The base's box model, headings, small, strong, figcaption and table cells would move
   the paper's lines; the sheet keeps the browser's own, as it was laid out. */
.sheet-page[b-d0apljy96m]  * {
    box-sizing: content-box;
}

.sheet-page small[b-d0apljy96m] {
    font-size: smaller;
    color: inherit;
}

.sheet-page strong[b-d0apljy96m] {
    font-weight: bold;
}

.identifier figcaption[b-d0apljy96m] {
    font-size: inherit;
    color: inherit;
}

.sheet-header[b-d0apljy96m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 2px solid var(--btm-ink);
    padding-bottom: 0.4rem;
}

.sheet-title h2[b-d0apljy96m] {
    font-size: 14pt;
    font-weight: bold;
    line-height: inherit;
    margin: 0 0 0.3rem;
}

.sheet-title p[b-d0apljy96m] {
    margin: 0.3rem 0;
}

.write-in[b-d0apljy96m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
}

.identifier[b-d0apljy96m] {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 7pt;
}

.identifier[b-d0apljy96m]  svg {
    width: 22mm;
    height: 22mm;
}

.day-notes[b-d0apljy96m] {
    margin: 0.4rem 0;
    font-style: italic;
}

.sheet-rows[b-d0apljy96m] {
    width: 100%;
    border-collapse: collapse;
    margin: 0.4rem 0 0;
    font-family: inherit;
    font-size: inherit;
    font-variant-numeric: normal;
    white-space: normal;
}

.sheet-rows th[b-d0apljy96m] {
    position: static;
    background: none;
    padding: 1px;
    vertical-align: middle;
    text-align: left;
    font-size: 8pt;
    border-bottom: 1px solid var(--btm-ink);
}

.sheet-rows td[b-d0apljy96m] {
    border-bottom: 1px solid var(--btm-ink);
    padding: 0.35rem 0.3rem;
    vertical-align: top;
}

.sheet-rows tbody tr:nth-child(even)[b-d0apljy96m] {
    background: none;
}

.sheet-rows tr[b-d0apljy96m] {
    break-inside: avoid;
}

td.exercise[b-d0apljy96m] {
    width: 42%;
}

.last-time[b-d0apljy96m], .alternatives[b-d0apljy96m], .note[b-d0apljy96m] {
    font-size: 8pt;
}

.choice[b-d0apljy96m] {
    margin-left: 0.5rem;
    white-space: nowrap;
}

.tick[b-d0apljy96m] {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    border: 1px solid var(--btm-ink);
    margin-right: 0.2em;
    vertical-align: -0.1em;
}

.boxes[b-d0apljy96m] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.box[b-d0apljy96m] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem;
    border: 1.5px solid var(--btm-ink);
    padding: 0.25rem 0.35rem 0.35rem;
    font-size: 9pt;
}

.box-label[b-d0apljy96m] {
    font-weight: bold;
}

.line[b-d0apljy96m] {
    display: inline-block;
    width: 5.5em;
    border-bottom: 1px solid var(--btm-ink);
    height: 1.1em;
}

.line.short[b-d0apljy96m] {
    width: 4em;
}

.line.tiny[b-d0apljy96m] {
    width: 2.5em;
}

.line.wide[b-d0apljy96m] {
    width: 12em;
    margin-left: 0.3rem;
}

@media print {
    .screen-only[b-d0apljy96m] {
        display: none;
    }

    .sheet-page[b-d0apljy96m] {
        max-width: none;
        margin: 0;
        padding: 0;
        border: none;
        break-after: page;
    }

    .sheet-page:last-of-type[b-d0apljy96m] {
        break-after: auto;
    }
}
/* /Components/Pages/SheetEntry.razor.rz.scp.css */
/* The sheet entry form (slice 9.2): the printed sheet's layout on screen, with inputs
   where the sheet has write-in lines. It keeps the sheet's own table rules, not the
   base's dense ones (slice 11.1). */
.sheet-page[b-s212spbjin] {
    max-width: 60rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--btm-border);
    border-radius: var(--btm-radius);
}

.sheet-header[b-s212spbjin] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 2px solid currentColor;
    padding-bottom: 0.4rem;
}

.sheet-title h2[b-s212spbjin] {
    font-size: 1.3rem;
    margin: 0 0 0.3rem;
}

.write-in[b-s212spbjin] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.identifier[b-s212spbjin] {
    font-size: 0.8rem;
}

.sheet-rows[b-s212spbjin] {
    width: 100%;
    border-collapse: collapse;
    margin: 0.4rem 0 0;
    font-family: inherit;
    font-size: inherit;
    white-space: normal;
}

.sheet-rows th[b-s212spbjin] {
    position: static;
    background: none;
    text-align: left;
    border-bottom: 1px solid currentColor;
}

.sheet-rows tbody tr:nth-child(even)[b-s212spbjin] {
    background: none;
}

.sheet-rows td[b-s212spbjin] {
    border-bottom: 1px solid currentColor;
    padding: 0.5rem 0.3rem;
    vertical-align: top;
}

td.exercise[b-s212spbjin] {
    width: 35%;
}

td.exercise label[b-s212spbjin] {
    display: block;
    margin-top: 0.3rem;
}

.alternatives[b-s212spbjin] {
    border: none;
    padding: 0;
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
}

.alternatives legend[b-s212spbjin] {
    float: left;
    margin-right: 0.3rem;
    font-size: inherit;
}

.choice[b-s212spbjin] {
    margin-right: 0.6rem;
    white-space: nowrap;
}

.boxes[b-s212spbjin] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.box[b-s212spbjin] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    border: 1.5px solid currentColor;
    padding: 0.3rem 0.4rem;
}

.box-label[b-s212spbjin] {
    font-weight: bold;
}

.box input[b-s212spbjin] {
    width: 5em;
}

input.short[b-s212spbjin] {
    width: 5em;
}

.box input.tiny[b-s212spbjin] {
    width: 3.5em;
}

select[b-s212spbjin] {
    max-width: 100%;
}
