/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ablm1f2wlw] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-ablm1f2wlw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* the site header: the Arch Grille logo (back to archgrille.com) and the phone number */
.ag-header[b-ablm1f2wlw] {
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-body-bg, #fff);
}

.ag-header-inner[b-ablm1f2wlw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: .6rem 1rem;
}

.ag-contact[b-ablm1f2wlw] {
    font-size: .9rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ag-main[b-ablm1f2wlw] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-p3mgn0m8mp],
.components-reconnect-repeated-attempt-visible[b-p3mgn0m8mp],
.components-reconnect-failed-visible[b-p3mgn0m8mp],
.components-pause-visible[b-p3mgn0m8mp],
.components-resume-failed-visible[b-p3mgn0m8mp],
.components-rejoining-animation[b-p3mgn0m8mp] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-retrying[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-failed[b-p3mgn0m8mp],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-p3mgn0m8mp] {
    display: block;
}


#components-reconnect-modal[b-p3mgn0m8mp] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-p3mgn0m8mp 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-p3mgn0m8mp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-p3mgn0m8mp 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-p3mgn0m8mp]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-p3mgn0m8mp 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-p3mgn0m8mp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-p3mgn0m8mp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-p3mgn0m8mp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-p3mgn0m8mp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-p3mgn0m8mp] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-p3mgn0m8mp] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-p3mgn0m8mp] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-p3mgn0m8mp] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-p3mgn0m8mp] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-p3mgn0m8mp] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-p3mgn0m8mp 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-p3mgn0m8mp] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-p3mgn0m8mp {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/BarGrilleBuilder.razor.rz.scp.css */
/* Bar-only parts: the scale drawing, sections, screws, frame cards' material line. The shared look is in
   wwwroot/css/grille-builder.css. */

.bg-card-plain[b-2w6820yb3b] {
    justify-content: center;
    padding: 1rem 0;
    background: var(--ag-paper);
    border-style: dashed;
}

.bg-screws[b-2w6820yb3b] {
    font-size: .85rem;
    background: transparent;
}

.bg-split[b-2w6820yb3b] {
    display: flex;
    gap: 3px;
    margin-bottom: .5rem;
}

.bg-split span[b-2w6820yb3b] {
    min-width: 2.5rem;
    padding: .55rem .25rem;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    color: var(--ag-on-navy);
    background: var(--ag-navy);
    border-radius: 2px;
}

.bg-section-inputs[b-2w6820yb3b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .5rem;
}

.bg-addon[b-2w6820yb3b] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
}

.bg-addon .form-check[b-2w6820yb3b] {
    min-width: 12rem;
}

.bg-addon-qty[b-2w6820yb3b] {
    width: 5rem;
}

.bg-addon .form-control:not(.bg-addon-qty)[b-2w6820yb3b] {
    flex: 1 1 10rem;
}

/* ---- drawing ---- */
.bg-drawing[b-2w6820yb3b] {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
}

.bg-d-core[b-2w6820yb3b] { fill: var(--ag-paper); }
.bg-d-bar[b-2w6820yb3b] { fill: var(--ag-d-bar); }
.bg-d-cross[b-2w6820yb3b] { fill: var(--ag-d-cross); }
.bg-d-frame[b-2w6820yb3b] { fill: none; stroke: var(--ag-ink); stroke-width: 1; }
.bg-d-frame.framed[b-2w6820yb3b] { stroke-width: 4; }
.bg-d-door[b-2w6820yb3b] { stroke: #1785cf; stroke-width: 1.5; stroke-dasharray: 4 2; }
.bg-d-door.solid[b-2w6820yb3b] { fill: rgba(23, 133, 207, .3) !important; }
.bg-d-hatch[b-2w6820yb3b] { stroke: #1785cf; stroke-width: 1.5; }
.bg-d-cut[b-2w6820yb3b] { stroke: #c0392b; stroke-width: 1.5; stroke-dasharray: 6 3; }
.bg-d-dim[b-2w6820yb3b] { stroke: var(--ag-muted); stroke-width: 1; }
.bg-d-arrow[b-2w6820yb3b] { fill: var(--ag-muted); }
.bg-d-text[b-2w6820yb3b] { font-size: 12px; fill: var(--ag-ink); font-weight: 600; }
.bg-d-label[b-2w6820yb3b] { font-size: 10px; fill: #1785cf; font-weight: 600; paint-order: stroke; stroke: var(--ag-surface); stroke-width: 3px; }

.bg-zoom-photo[b-2w6820yb3b] {
    top: 2.8rem;
    width: auto;
    padding: 0 .45rem;
    font-size: .75rem;
    font-weight: 600;
}

.bg-made[b-2w6820yb3b] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bg-d-open[b-2w6820yb3b] { fill: none; stroke: var(--ag-ink); stroke-width: 1; stroke-dasharray: 2 2; }
.bg-d-pin[b-2w6820yb3b] { stroke: #c0392b; stroke-width: 1.5; }

.bg-extras[b-2w6820yb3b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: .15rem 1rem;
}

/* short screens: one line of a frame's materials so a whole step fits */
@media (min-width: 992px) and (max-height: 950px) {
    .bg-made[b-2w6820yb3b] {
        -webkit-line-clamp: 1;
    }
}
/* /Components/Pages/GrilleQuote.razor.rz.scp.css */
.rfq[b-eobhojhjf4] {
    scroll-margin-top: 1rem;
}

.rfq-head[b-eobhojhjf4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .9rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--ag-navy);
}

.rfq-head h1[b-eobhojhjf4],
.rfq-done h2[b-eobhojhjf4] {
    color: var(--ag-ink);
    font-weight: var(--ag-display-weight);
    text-transform: var(--ag-display-transform);
    letter-spacing: var(--ag-display-tracking);
}

/* ---- option cards ---- */
.rfq-card[b-eobhojhjf4] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 0 .75rem;
    overflow: hidden;
    text-align: left;
    color: inherit;
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
    transition: border-color .15s;
}

.rfq-card:hover[b-eobhojhjf4] {
    border-color: var(--ag-accent);
}

.rfq-card:focus-visible[b-eobhojhjf4],
.rfq-cell:focus-visible[b-eobhojhjf4] {
    outline: 3px solid var(--ag-accent);
    outline-offset: 2px;
}

.rfq-card.selected[b-eobhojhjf4]::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid var(--ag-navy);
    border-radius: var(--ag-radius);
    pointer-events: none;
}

.rfq-card.selected[b-eobhojhjf4]::before {
    content: "✓";
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ag-on-navy);
    background: var(--ag-navy);
    border-radius: 50%;
}

.rfq-img[b-eobhojhjf4] {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--ag-paper);
    border-bottom: 1px solid var(--ag-line);
}

.rfq-img img[b-eobhojhjf4] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rfq-name[b-eobhojhjf4] {
    display: block;
    padding: .6rem .75rem 0;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ag-ink);
}

.rfq-card-lg .rfq-name[b-eobhojhjf4] {
    font-size: 1.15rem;
}

.rfq-tip[b-eobhojhjf4] {
    display: block;
    padding: .2rem .75rem 0;
    font-size: .85rem;
    line-height: 1.35;
    color: var(--ag-muted);
}

/* ---- back / next bar: stays reachable under long option grids ---- */
.rfq-nav[b-eobhojhjf4] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.5rem;
    padding: .9rem 0;
    background: var(--ag-surface);
    border-top: 1px solid var(--ag-line);
}

/* ---- title block (summary panel, quote items) ---- */
.rfq-block[b-eobhojhjf4] {
    display: flex;
    flex-direction: column;
    background: var(--ag-surface);
    border: 2px solid var(--ag-navy);
}

.rfq-block table[b-eobhojhjf4] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.rfq-block thead th[b-eobhojhjf4] {
    padding: .55rem .75rem;
    font-weight: 600;
    text-align: left;
    color: var(--ag-on-navy);
    background: var(--ag-navy);
}

.rfq-block thead th span[b-eobhojhjf4] {
    float: right;
    font-weight: 400;
    opacity: .8;
}

.rfq-block tbody th[b-eobhojhjf4] {
    width: 36%;
    padding: .45rem .75rem;
    font-weight: 500;
    vertical-align: top;
    color: var(--ag-muted);
    background: var(--ag-paper);
    border-top: 1px solid var(--ag-line);
    border-right: 1px solid var(--ag-line);
}

.rfq-block td[b-eobhojhjf4] {
    padding: 0;
    vertical-align: top;
    border-top: 1px solid var(--ag-line);
}

.rfq-cell[b-eobhojhjf4] {
    display: block;
    width: 100%;
    padding: .45rem .75rem;
    text-align: left;
    white-space: pre-line;
    color: inherit;
    background: none;
    border: 0;
}

.rfq-block-actions[b-eobhojhjf4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding: .6rem .75rem;
    border-top: 1px solid var(--ag-line);
}

/* − qty + on a quote line */
.rfq-qty[b-eobhojhjf4] {
    width: 7.25rem;
    flex-wrap: nowrap;
}

.rfq-list .rfq-qty[b-eobhojhjf4] {
    margin-left: auto;
}

.rfq-qty input[b-eobhojhjf4] {
    min-width: 0;
    padding-left: .25rem;
    padding-right: .25rem;
    -moz-appearance: textfield;
}

.rfq-qty input[b-eobhojhjf4]::-webkit-outer-spin-button,
.rfq-qty input[b-eobhojhjf4]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rfq-empty[b-eobhojhjf4],
.rfq-done[b-eobhojhjf4] {
    max-width: 40rem;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .rfq-card[b-eobhojhjf4] {
        transition: none;
    }
}

/* landing tiles stay a sensible size on very wide screens */
.rfq-start[b-eobhojhjf4] {
    max-width: 1100px;
}


/* grille types not available yet */
.rfq-soon[b-eobhojhjf4] {
    position: relative;
    cursor: not-allowed;
    opacity: .55;
    filter: grayscale(.6);
}

.rfq-soon:hover[b-eobhojhjf4] {
    border-color: var(--ag-line);
}

.rfq-soon-badge[b-eobhojhjf4] {
    position: absolute;
    top: .6rem;
    right: .6rem;
    padding: .2rem .55rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--ag-on-navy);
    background: var(--ag-navy);
    border-radius: 999px;
}

/* ---- project and contact form: a readable width, compact groups ---- */
.rfq-project[b-eobhojhjf4] {
    max-width: 1500px;
}

.rfq-project fieldset[b-eobhojhjf4] {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--ag-line);
}

.rfq-project legend[b-eobhojhjf4] {
    float: none;
    width: auto;
    margin-bottom: .35rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ag-ink);
    text-transform: var(--ag-label-transform);
    letter-spacing: var(--ag-label-tracking);
}

.rfq-project .form-label[b-eobhojhjf4] {
    margin-bottom: .2rem;
    font-size: .875rem;
}

.rfq-req[b-eobhojhjf4] {
    font-weight: 600;
    color: #dc3545;
}

.rfq-bad[b-eobhojhjf4] {
    border-radius: var(--ag-radius);
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* ---- drop one of our drawings ---- */
.rfq-drop[b-eobhojhjf4] {
    margin-bottom: 1rem;
    padding: .9rem 1.1rem;
    background: var(--ag-paper);
    border: 2px dashed var(--ag-line);
    border-radius: var(--ag-radius-lg);
    transition: border-color .15s, background .15s;
}

.rfq-drop.over[b-eobhojhjf4] {
    background: var(--ag-tint);
    border-color: var(--ag-accent);
}

.rfq-drop-label[b-eobhojhjf4] {
    display: block;
    cursor: pointer;
}

.rfq-link[b-eobhojhjf4] {
    color: var(--ag-accent);
    text-decoration: underline;
}

/* ---- Your quote as a list ---- */
.rfq-list[b-eobhojhjf4] {
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius-lg);
}

.rfq-list th[b-eobhojhjf4] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ag-muted);
    white-space: nowrap;
    text-transform: var(--ag-label-transform);
    letter-spacing: var(--ag-label-tracking);
}

.rfq-list td[b-eobhojhjf4] {
    font-size: .9rem;
}

.rfq-list tbody tr:hover[b-eobhojhjf4] {
    background: var(--ag-tint);
}

/* the grille's picture (pattern, frame or stock item) */
.rfq-thumb-cell[b-eobhojhjf4] {
    width: 3.75rem;
}

.rfq-thumb[b-eobhojhjf4] {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: cover;
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
    background: #fff;
}

/* ---- the two parts: what a quote needs, and what helps ---- */
.rfq-need[b-eobhojhjf4],
.rfq-nice[b-eobhojhjf4] {
    margin-top: 1rem;
    padding: .9rem 1.1rem 1rem;
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius-lg);
}

.rfq-need[b-eobhojhjf4] {
    border-left: 4px solid var(--ag-accent);
}

.rfq-need h3[b-eobhojhjf4],
.rfq-nice h3[b-eobhojhjf4] {
    color: var(--ag-ink);
    font-weight: var(--ag-heading-weight);
}

.rfq-nice[b-eobhojhjf4] {
    background: var(--ag-paper);
}

.rfq-nice fieldset:first-of-type[b-eobhojhjf4] {
    margin-top: .25rem;
}

/* needed and helpful side by side on wide screens */
.rfq-form-cols[b-eobhojhjf4] {
    display: grid;
    gap: 1rem;
}

.rfq-form-cols .rfq-need[b-eobhojhjf4],
.rfq-form-cols .rfq-nice[b-eobhojhjf4] {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .rfq-form-cols[b-eobhojhjf4] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        align-items: start;
    }
}

/* Back / Send: a bar that stays at the bottom of the window while the form scrolls */
.rfq-actions-bar[b-eobhojhjf4] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: .75rem 1rem;
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius-lg);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
}

.rfq-actions-msg[b-eobhojhjf4] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .9rem;
}

.rfq-actions-bar .btn-success[b-eobhojhjf4] {
    padding-inline: 1.75rem;
}
/* /Components/Pages/PerfGrilleBuilder.razor.rz.scp.css */
/* Perforated-only parts: the 2D scale drawing.
   The shared look is in wwwroot/css/grille-builder.css. */

/* the drawing is written as markup (PlanSvg), so its elements carry no scope attribute: reach them from the wrapper */
.pg-plan[b-tt8ecph6n9]  .pg-plan-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-plate {
    fill: #c9cdd2;
    stroke: #3d4650;
    stroke-width: .02;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-holes {
    fill: var(--bs-body-bg, #fff);
    stroke: #3d4650;
    stroke-width: .01;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-frame {
    fill: none;
    stroke: #6c757d;
    stroke-width: .03;
    stroke-dasharray: .2 .12;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-screw {
    fill: #3d4650;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-dim line {
    stroke: #6c757d;
    stroke-width: .015;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-dim text {
    fill: var(--ag-ink);
    font-weight: 600;
}


/* the pattern doesn't fit: the requested borders (shaded, inner edges dashed), and one repeat laid over the plain plate */
.pg-plan[b-tt8ecph6n9]  .pg-plan-border {
    fill: rgba(29, 95, 153, .16);
    stroke: none;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-field {
    fill: none;
    stroke: #1d5f99;
    stroke-width: .03;
    stroke-dasharray: .2 .12;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-ghost {
    fill: rgba(192, 57, 43, .28);
    stroke: #c0392b;
    stroke-width: .015;
}

.pg-plan[b-tt8ecph6n9]  .pg-plan-repeat {
    fill: none;
    stroke: #c0392b;
    stroke-width: .02;
}

/* the thickness dial (Material step): stops on a track, thinnest to thickest; above each detent the plate's edge (log
   scale, PerfGrilleBuilder.ThicknessEdge), under it the gauge, fraction and decimal, each on its own row (an empty row
   keeps its height, so the rows line up); the track fills up to the picked stop */
.pg-thick[b-tt8ecph6n9] {
    --edge-h: 3rem;
    container: pg-thick / inline-size;
    --dot: 18px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--stops), minmax(0, 1fr));
    max-width: 44rem;
    touch-action: pan-y;            /* a sideways drag moves along the dial; up and down still scroll */
    user-select: none;
}

.pg-thick.dragging[b-tt8ecph6n9],
.pg-thick.dragging .pg-thick-stop[b-tt8ecph6n9] {
    cursor: grabbing;
}

.pg-thick.dragging .pg-thick-stop:hover .pg-thick-edge > span[b-tt8ecph6n9] {
    background: color-mix(in srgb, var(--ag-muted) 45%, transparent);
}

.pg-thick.dragging .pg-thick-stop.selected .pg-thick-edge > span[b-tt8ecph6n9] {
    background: var(--ag-navy);
}

.pg-thick[b-tt8ecph6n9]::before,
.pg-thick[b-tt8ecph6n9]::after {
    content: "";
    position: absolute;
    top: calc(.3rem + var(--edge-h) + .35rem + var(--dot) / 2 - 1px);
    left: calc(100% / var(--stops) / 2);
    height: 2px;
    background: var(--ag-line);
}

.pg-thick[b-tt8ecph6n9]::before {
    right: calc(100% / var(--stops) / 2);
}

.pg-thick[b-tt8ecph6n9]::after {
    width: calc(var(--at, 0) * 100% / var(--stops));
    background: var(--ag-navy);
}

.pg-thick-stop[b-tt8ecph6n9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: .3rem .1rem .45rem;
    color: var(--ag-text);
    background: none;
    border: 0;
    border-radius: var(--ag-radius);
    cursor: pointer;
}

.pg-thick-stop:focus-visible[b-tt8ecph6n9] {
    outline: 3px solid var(--ag-accent);
    outline-offset: 0;
}

.pg-thick-edge[b-tt8ecph6n9] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 70%;
    height: var(--edge-h);
}

.pg-thick-edge > span[b-tt8ecph6n9] {
    width: 100%;
    min-height: 2px;
    background: color-mix(in srgb, var(--ag-muted) 45%, transparent);
    border-radius: 1px;
}

.pg-thick-dot[b-tt8ecph6n9] {
    position: relative;
    z-index: 1;
    width: var(--dot);
    height: var(--dot);
    margin: .35rem 0 .3rem;
}

.pg-thick-dot[b-tt8ecph6n9]::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--ag-surface);
    border: 2px solid var(--ag-line);
    border-radius: 50%;
}

.pg-thick-ga[b-tt8ecph6n9],
.pg-thick-frac[b-tt8ecph6n9],
.pg-thick-dec[b-tt8ecph6n9] {
    min-height: 1.2em;
    line-height: 1.2;
    white-space: nowrap;
}

.pg-thick-ga[b-tt8ecph6n9],
.pg-thick-frac[b-tt8ecph6n9] {
    font-size: .8rem;
    font-weight: 500;
}

.pg-thick-dec[b-tt8ecph6n9] {
    color: var(--ag-muted);
    font-size: .7rem;
}

.pg-thick-stop:hover .pg-thick-edge > span[b-tt8ecph6n9] {
    background: var(--ag-accent);
}

.pg-thick-stop:hover .pg-thick-dot[b-tt8ecph6n9]::after {
    border-color: var(--ag-accent);
}

.pg-thick-stop.selected .pg-thick-edge > span[b-tt8ecph6n9] {
    background: var(--ag-navy);
}

.pg-thick-stop.selected .pg-thick-dot[b-tt8ecph6n9]::after {
    inset: 0;
    background: var(--ag-navy);
    border: 4px solid var(--ag-surface);
    box-shadow: 0 0 0 2px var(--ag-navy);
}

.pg-thick-stop.selected .pg-thick-ga[b-tt8ecph6n9],
.pg-thick-stop.selected .pg-thick-frac[b-tt8ecph6n9] {
    color: var(--ag-ink);
    font-weight: 700;
}

.pg-thick.bad .pg-thick-dot[b-tt8ecph6n9]::after {
    border-color: var(--ag-danger);
}

/* the labels shrink with the dial's own width (the step panel, not the window): 11 stops at about 25 px each still fit */
@container pg-thick (max-width: 40rem) {
    .pg-thick-ga[b-tt8ecph6n9],
    .pg-thick-frac[b-tt8ecph6n9] {
        font-size: .7rem;
    }

    .pg-thick-dec[b-tt8ecph6n9] {
        font-size: .62rem;
    }
}

@container pg-thick (max-width: 28rem) {
    .pg-thick-stop[b-tt8ecph6n9] {
        padding-inline: 0;
    }

    .pg-thick-ga[b-tt8ecph6n9],
    .pg-thick-frac[b-tt8ecph6n9] {
        font-size: .6rem;
        letter-spacing: -.02em;
    }

    .pg-thick-dec[b-tt8ecph6n9] {
        font-size: .54rem;
        letter-spacing: -.02em;
    }
}

/* a 610 / 611 frame's section on its card (FrameSection): drawn, so it fills the picture area like the drawings do */
.pg-frame-section[b-tt8ecph6n9] {
    display: block;
    width: 100%;
    height: 100%;
    padding: .4rem;
    box-sizing: border-box;
}
