/* A compact checkout workspace built with the Quima system palette. */
.pos {
    --pos-accent: #1d4ed8;
    --pos-accent-strong: #1e40af;
    --pos-tint: #eff4ff;
    --pos-accent-line: #c7d6fb;
    --brand: var(--pos-accent);
    --brand-strong: var(--pos-accent-strong);
    --brand-soft: var(--pos-tint);
    --brand-line: var(--pos-accent-line);
    --receipt-paper: #fff8df;
    --receipt-ink: #3c3526;
    --receipt-rule: #d9cfae;
    padding-bottom: 2rem;
    position: relative;
}
.pos[data-theme="emerald"] {
    --pos-accent: #047857;
    --pos-accent-strong: #065f46;
    --pos-tint: #ecfdf5;
    --pos-accent-line: #a7d9c5;
}
.pos[data-theme="violet"] {
    --pos-accent: #6d28d9;
    --pos-accent-strong: #5b21b6;
    --pos-tint: #f5f0ff;
    --pos-accent-line: #d9c7fb;
}
.pos[data-theme="amber"] {
    --pos-accent: #92400e;
    --pos-accent-strong: #78350f;
    --pos-tint: #fff7e9;
    --pos-accent-line: #efce9d;
}
.pos[data-theme="slate"] {
    --pos-accent: #334155;
    --pos-accent-strong: #1e293b;
    --pos-tint: #f1f5f9;
    --pos-accent-line: #cbd5e1;
}
.pos[data-theme="rose"] {
    --pos-accent: #be185d;
    --pos-accent-strong: #9d174d;
    --pos-tint: #fff1f5;
    --pos-accent-line: #f5bfd4;
}
.pos [hidden] {
    display: none !important;
}
.pos section,
.pos nav,
.pos div {
    min-width: 0;
}
.pos .panel {
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow:
        0 2px 5px rgb(15 23 42 / 0.025),
        0 10px 30px rgb(15 23 42 / 0.035);
}
.pos-workspace-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    padding: 1.15rem 1.25rem;
}
.pos-workspace-brand,
.pos-workspace-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.pos-brand-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-line);
    border-radius: 13px;
}
.pos-brand-icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pos-workspace-brand strong {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}
.pos-kicker {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.7rem;
    font-weight: 750;
    margin: 0 0 0.25rem;
    display: block;
}
.pos-local-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--ok);
    background: var(--ok-soft);
    padding: 0.35rem 0.65rem;
    border-radius: 30px;
}
.pos-local-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.pos-theme-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 650;
}
.pos .pos-theme-label select {
    width: auto;
    min-width: 110px;
    padding: 0.5rem 1.8rem 0.5rem 0.7rem;
}
.pos-tabs,
.pos-actions,
.pos-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}
.pos-tabs {
    margin: 0 0 1rem;
    padding: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 16px 16px;
}
.pos-tabs .btn {
    flex: 1 1 180px;
    border-color: transparent;
    color: var(--muted);
    box-shadow: none;
    background: transparent;
}
.pos-tabs [aria-current="page"] {
    background: var(--brand-soft);
    color: var(--brand);
    border-color: var(--brand-line);
    font-weight: 750;
}
.pos-system-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
    flex-wrap: wrap;
}
.pos-notice {
    flex: 1 1 400px;
    font-size: 0.8rem;
    color: var(--muted);
}
.pos-notice summary {
    cursor: pointer;
    min-height: 44px;
    display: list-item;
    align-content: center;
    padding: 0.5rem 0.2rem;
    font-weight: 500;
}
.pos-notice p {
    margin: 0;
    padding: 0.65rem;
    background: var(--brand-soft);
    border-radius: var(--radius-sm);
    color: var(--ink-2);
}
.pos [data-status] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}
.pos-busy {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 600;
}
.pos-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--brand-line);
    border-top-color: var(--brand);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pos-spin 0.8s linear infinite;
}
@keyframes pos-spin {
    to {
        transform: rotate(360deg);
    }
}
.pos-checkout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
}
.pos-section-heading {
    margin-bottom: 1.2rem;
}
.pos-section-heading h2 {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    margin-bottom: 0.4rem;
}
.pos-section-heading p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}
.pos-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.pos-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-2);
}
.pos input,
.pos select,
.pos textarea {
    font: inherit;
    font-size: 1rem;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--surface);
    color: var(--ink);
}
.pos input[type="search"] {
    background: var(--bg);
    border-color: var(--line);
    padding: 0.8rem 1rem;
    min-height: 52px;
}
.pos input[type="checkbox"] {
    width: 22px;
    min-height: 22px;
    height: 22px;
    flex-shrink: 0;
    accent-color: var(--brand);
}
.pos-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    font-size: 0.9rem;
}
.pos .btn {
    min-height: 44px;
    min-width: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
    border-radius: 9px;
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
    font-weight: 650;
}
.pos .btn:not(.btn-secondary) {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--surface);
    box-shadow: 0 2px 3px rgb(15 23 42 / 0.08);
}
.pos .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}
.pos .btn-secondary {
    background: var(--surface);
    color: var(--ink-2);
    border-color: var(--line);
}
.pos-tabs .btn-secondary {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}
.pos-tabs .btn[aria-current="page"] {
    background: var(--brand);
    color: var(--surface);
    border-color: var(--brand);
}
.pos [data-scan] {
    margin-top: 0.65rem;
}
.pos-muted {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
}
.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: 0.85rem;
    margin-top: 1.4rem;
}
.pos-product {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.45rem;
    min-height: 160px;
    padding: 1.15rem;
    font: inherit;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    overflow-wrap: anywhere;
    touch-action: manipulation;
}
.pos-product::before {
    content: "";
    width: 28px;
    height: 4px;
    border-radius: 3px;
    background: var(--brand);
    margin-bottom: 0.25rem;
}
.pos-product strong {
    font-size: 1rem;
    font-weight: 700;
}
.pos-product b {
    color: var(--brand);
    font-size: 1.35rem;
    letter-spacing: -0.025em;
    margin: 0.25rem 0;
}
.pos-product span {
    color: var(--muted);
    font-size: 0.8rem;
}
.pos .pos-cart {
    background: var(--receipt-paper);
    color: var(--receipt-ink);
    border-color: var(--receipt-rule);
    border-top: 4px solid var(--brand);
    box-shadow: 0 4px 18px rgb(60 53 38 / 0.06);
}
.pos-cart .pos-section-heading {
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--receipt-rule);
}
.pos-cart .pos-section-heading p {
    color: var(--receipt-ink);
}
.pos-cart-item {
    border-bottom: 1px dashed var(--receipt-rule);
    padding: 1rem 0;
}
.pos-cart-item:first-child {
    padding-top: 0;
}
.pos-cart-item p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0.3rem 0;
}
.pos-cart .pos-field {
    color: var(--receipt-ink);
}
.pos-cart [data-cart] > p {
    padding: 1.5rem 0.5rem;
    text-align: center;
    border: 1px dashed var(--receipt-rule);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--receipt-ink);
}
.pos-row {
    justify-content: space-between;
}
.pos-totals {
    margin: 1.25rem 0;
}
.pos-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.9rem;
}
.pos-totals dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}
.pos-totals .pos-grand {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-top: 0.6rem;
    border-top: 1px dashed var(--receipt-rule);
    padding-top: 1.1rem;
}
.pos [data-checkout] {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
}
.pos-inventory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1.25rem 0 1.5rem;
}
.pos-inventory-stats > div {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--bg);
    padding: 1rem;
    border-radius: 10px;
}
.pos-inventory-stats span {
    font-size: 0.8rem;
    color: var(--muted);
}
.pos-inventory-stats strong {
    font-size: 1.6rem;
    letter-spacing: -0.05em;
    color: var(--ink);
}
.pos-inventory-stats > div:last-child strong {
    color: var(--warn);
}
.pos-error {
    color: var(--err) !important;
}
.pos-scroll {
    max-width: 100%;
    overflow: auto;
    margin: 1.2rem 0;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.pos .data-table {
    min-width: 560px;
    width: 100%;
    margin: 0;
}
.pos .data-table th {
    background: var(--bg);
    font-size: 0.75rem;
    letter-spacing: 0.015em;
    padding: 0.8rem 1rem;
    color: var(--muted);
}
.pos .data-table td {
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
    vertical-align: middle;
}
.pos .data-table tbody tr:last-child td {
    border-bottom: 0;
}
.pos .data-table tbody tr:nth-child(even) {
    background: var(--bg);
}
.pos-code {
    font:
        0.85rem ui-monospace,
        Consolas,
        monospace;
    color: var(--muted);
}
.pos-status-badge {
    display: inline-flex;
    border-radius: 30px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 650;
    white-space: nowrap;
}
.pos-status-badge.is-active {
    background: var(--ok-soft);
    color: var(--ok);
}
.pos-status-badge.is-inactive {
    background: var(--bg);
    color: var(--muted);
}
.pos dialog {
    width: min(900px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--ink);
    overflow: auto;
    box-shadow: 0 24px 80px rgb(15 23 42 / 0.2);
}
.pos dialog::backdrop {
    background: rgb(15 23 42 / 0.55);
}
.pos dialog > button {
    margin-top: 1rem;
}
.pos dialog h2 {
    margin-bottom: 0.75rem;
}
.pos [data-modal-status]:empty {
    display: none;
}
.pos-file {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.pos label.btn {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
}
.pos label.btn:focus-within {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}
.pos-receipt-preview {
    position: relative;
    max-width: 350px;
    margin: 1.6rem auto 2.2rem;
    padding: 1.6rem 1.35rem;
    border: 1px solid var(--receipt-rule);
    border-bottom: 0;
    background:
        linear-gradient(
            100deg,
            rgb(255 255 255 / 0.35),
            transparent 25%,
            rgb(207 182 109 / 0.045)
        ),
        var(--receipt-paper);
    color: var(--receipt-ink);
    box-shadow: 0 8px 24px rgb(60 53 38 / 0.12);
    overflow-wrap: anywhere;
    font:
        0.85rem/1.65 ui-monospace,
        "Cascadia Mono",
        "Courier New",
        monospace;
}
.pos-receipt-preview::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    height: 10px;
    background:
        linear-gradient(135deg, var(--receipt-paper) 25%, transparent 25%) -8px
            0/16px 16px,
        linear-gradient(225deg, var(--receipt-paper) 25%, transparent 25%) -8px
            0/16px 16px;
}
.pos-receipt-preview header {
    text-align: center;
    border-bottom: 1px dashed var(--receipt-rule);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}
.pos-receipt-preview header h2 {
    text-transform: uppercase;
    font:
        700 1.05rem/1.4 ui-monospace,
        monospace;
    letter-spacing: 0.08em;
}
.pos-receipt-preview header > strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pos-receipt-preview header > b {
    display: inline-block;
    border: 1px solid var(--receipt-rule);
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
}
.pos-receipt-preview h3 {
    font-family: inherit;
    font-size: 1.15rem;
    border-block: 1px dashed var(--receipt-rule);
    padding: 0.7rem 0;
    margin: 0.8rem 0;
}
.pos-receipt-preview p {
    margin: 0.7rem 0;
}
.pos-receipt-line {
    border-bottom: 1px dashed var(--receipt-rule);
    padding: 0.7rem 0;
}
.pos-receipt-line b {
    display: block;
    text-align: right;
}
.pos :focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}
@media (hover: hover) {
    .pos-product:hover {
        border-color: var(--brand);
        background: var(--brand-soft);
        box-shadow: 0 5px 14px rgb(15 23 42 / 0.06);
    }
    .pos .btn:not(.btn-secondary):not(:disabled):hover {
        background: var(--brand-strong);
    }
    .pos .btn-secondary:hover {
        background: var(--brand-soft);
        border-color: var(--brand-line);
    }
    .pos-tabs .btn[aria-current="page"]:hover {
        background: var(--brand-strong);
    }
}
@media screen {
    body.pos-expanded-view {
        overflow: hidden;
    }
    body.pos-expanded-view .site-header {
        display: none;
    }
    .pos.pos-expanded,
    .pos:fullscreen {
        position: fixed;
        inset: 0;
        z-index: 1000;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        overflow: auto;
        background: var(--bg);
        padding: calc(1rem + env(safe-area-inset-top))
            calc(1.5rem + env(safe-area-inset-right))
            calc(1rem + env(safe-area-inset-bottom))
            calc(1.5rem + env(safe-area-inset-left));
        margin: 0;
        border: 0;
    }
    .pos-expanded .pos-checkout {
        grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
    }
    .pos-expanded .pos-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    }
}
@media (min-width: 1100px) {
    .pos-checkout > .panel:first-child {
        min-height: 620px;
    }
    .pos-expanded .pos-checkout > .panel:first-child {
        min-height: calc(100vh - 260px);
        min-height: calc(100dvh - 260px);
    }
}
@media (max-width: 900px) {
    .pos-checkout,
    .pos-expanded .pos-checkout {
        grid-template-columns: minmax(0, 1fr);
    }
    .pos-workspace-controls {
        width: 100%;
        justify-content: space-between;
    }
    .pos-local-badge {
        display: none;
    }
    .pos .panel {
        padding: 1.2rem;
    }
    .pos-inventory-stats > div {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .pos .panel {
        padding: 1rem;
    }
    .pos-tabs {
        gap: 0.25rem;
    }
    .pos-tabs .btn {
        flex: 1 1 100%;
        text-align: left;
        justify-content: flex-start;
    }
    .pos-workspace-head {
        padding: 1rem;
    }
    .pos-workspace-controls {
        gap: 0.5rem;
    }
    .pos-theme-label {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .pos .pos-theme-label select {
        min-width: 100px;
    }
    .pos-workspace-controls > .btn {
        align-self: end;
    }
    .pos-system-line {
        gap: 0;
    }
    .pos-notice {
        flex-basis: 100%;
    }
    .pos [data-status] {
        margin-bottom: 0.75rem;
    }
    .pos .pos-inventory-stats {
        gap: 0.4rem;
    }
    .pos-inventory-stats > div {
        padding: 0.65rem;
    }
    .pos-inventory-stats span {
        font-size: 0.75rem;
    }
    .pos-inventory-stats strong {
        font-size: 1.4rem;
    }
    .pos dialog {
        padding: 1rem;
    }
    .pos-payment {
        border-bottom: 1px solid var(--line);
        padding-bottom: 0.75rem;
    }
    .pos.pos-expanded {
        padding-left: calc(0.65rem + env(safe-area-inset-left));
        padding-right: calc(0.65rem + env(safe-area-inset-right));
    }
    .pos .pos-grand {
        font-size: 1.45rem;
    }
    .pos-receipt-preview {
        padding: 1.25rem 1rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pos-spinner {
        animation: none;
    }
}
@media print {
    @page {
        size: auto;
        margin: 3mm;
    }
    body.pos-printing .site-header,
    body.pos-printing .site-footer,
    body.pos-printing .page-head,
    body.pos-printing .guide,
    body.pos-printing .ad-slot,
    body.pos-printing .support-banner,
    body.pos-printing .cookie-banner {
        display: none !important;
    }
    body.pos-printing .pos > *:not([data-receipt]) {
        display: none !important;
    }
    body.pos-printing .site-main > .container:not(.pos) {
        display: none !important;
    }
    body.pos-printing .pos-receipt {
        display: block !important;
        width: 100%;
        max-width: 190mm;
        margin: 0 auto;
        color: #000;
        background: #fff;
        font:
            10pt/1.5 ui-monospace,
            "Courier New",
            monospace;
        overflow-wrap: anywhere;
    }
    body.pos-printing .pos-receipt[data-paper="58"] {
        max-width: 52mm;
    }
    body.pos-printing .pos-receipt[data-paper="80"] {
        max-width: 74mm;
    }
    .pos-receipt header {
        text-align: center;
    }
    .pos-receipt-line {
        break-inside: avoid;
        border-color: #999;
    }
}

/* Busy feedback does not move the cart or payment controls while typing. */
.pos-busy {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    max-width: calc(100% - 2rem);
    width: max-content;
    pointer-events: none;
    box-shadow: var(--shadow);
}
.pos-dialog-title-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}
@media screen and (min-width: 901px) {
    .pos.pos-expanded {
        display: flex;
        flex-direction: column;
    }
    .pos-expanded > [data-screen] {
        flex: 1;
        min-height: 0;
        overflow: auto;
        scrollbar-gutter: stable;
    }
    .pos-expanded > .pos-workspace-head,
    .pos-expanded > .pos-tabs,
    .pos-expanded > .pos-system-line {
        flex-shrink: 0;
    }
}

.pos-import-warning {
    padding: 1rem;
    border-left: 4px solid var(--warn);
    background: var(--warn-soft);
    color: var(--warn);
    border-radius: var(--radius-sm);
}

.pos-sale-note {
    margin: 1.25rem 0;
}
.pos-sale-note small {
    font-weight: 400;
    color: var(--muted);
}
.pos-receipt-note p {
    white-space: pre-wrap;
}
.pos-receipt-note {
    border-block: 1px dashed var(--receipt-rule);
    padding: 0.5rem 0;
}
.pos-financial-group {
    margin: 1.25rem 0;
}
.pos-financial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0;
}
.pos-financial-cards > div {
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pos-financial-cards span {
    font-size: 0.85rem;
    color: var(--muted);
}
.pos-financial-cards strong {
    font-size: 1.4rem;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}
.pos .pos-result-loss {
    background: var(--err-soft);
    color: var(--err);
    border-color: var(--err);
}
.pos .pos-result-profit {
    background: var(--ok-soft);
    color: var(--ok);
    border-color: var(--ok);
}

.pos .pos-is-loading::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 0.4rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: pos-spin 0.8s linear infinite;
    flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
    .pos .pos-is-loading::before {
        animation: none;
    }
}
