@layer balow.primitives {
[data-surface=inverse]{background:var(--surface-page);color:var(--text-primary)}.skip-link{top:var(--space-2);left:var(--space-2);z-index:var(--z-skip-link);min-height:var(--target-primary);padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);background:var(--surface-inverse);color:var(--text-on-inverse);font-size:var(--text-sm);font-weight:var(--weight-semibold);transition:transform var(--duration-fast) var(--ease-out);align-items:center;text-decoration:none;display:inline-flex;position:fixed;transform:translateY(-200%)}.skip-link:focus,.skip-link:focus-visible{transform:translateY(0)}@media not (prefers-reduced-motion:reduce){body:not(.theme-booting){transition:background-color var(--duration-base) var(--ease-in-out), color var(--duration-base) var(--ease-in-out)}}.theme-booting,.theme-booting *{transition:none!important}.tabular{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1, "lnum" 1}.balow-screen{background:var(--surface-page);min-height:100dvh;color:var(--text-primary)}.split-methods label:focus-within,.check-grid label:focus-within,.split-person:focus-within{outline:3px solid var(--focus-ring-legacy);outline-offset:2px}body:has(.balow-screen){background:var(--surface-page);color:var(--text-primary)}.app-frame:not(:has(.balow-screen)){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.app-frame:has(.balow-screen){background:var(--surface-page)}.app-frame:has(.balow-screen) .app-sidebar{border-right-color:var(--border-subtle);background:var(--surface-raised)}.app-frame:has(.balow-screen) .brand{--brand-accent:var(--accent-default);color:var(--text-primary)}.app-frame:has(.balow-screen) .desktop-navigation a{color:var(--text-secondary)}.app-frame:has(.balow-screen) .desktop-navigation a:hover{color:var(--text-primary)}.app-frame:has(.balow-screen) .desktop-navigation a.active{background:var(--surface-selected);color:var(--text-primary)}.app-frame:has(.balow-screen) .invite-card{border-color:var(--border-subtle);background:var(--surface-accent-subtle);box-shadow:var(--elevation-0)}.app-frame:has(.balow-screen) .invite-card>svg{color:var(--accent-default)}.app-frame:has(.balow-screen) .invite-card strong{color:var(--text-primary)}.app-frame:has(.balow-screen) .invite-card p{color:var(--text-secondary)}.app-frame:has(.balow-screen) .invite-card a{background:var(--accent-default);color:var(--text-on-accent)}.app-frame:has(.balow-screen) .sidebar-utilities a{color:var(--text-secondary)}.app-frame:has(.balow-screen) .app-user{border-top-color:var(--border-subtle)}.app-frame:has(.balow-screen) .app-user strong{color:var(--text-primary)}.app-frame:has(.balow-screen) .app-user small{color:var(--text-tertiary)}.app-frame:has(.balow-screen) .logout-button{color:var(--text-tertiary)}.app-frame:has(.balow-screen) .mobile-app-header{border-bottom-color:var(--border-subtle);background:var(--surface-page)}.app-frame:has(.balow-screen) .mobile-header-action{color:var(--text-primary)}.app-frame:has(.balow-screen) .mobile-header-action>span{border-color:var(--surface-page);background:var(--status-negative);color:var(--surface-page)}.app-frame:has(.balow-screen) .mobile-navigation{border-color:var(--border-subtle);background:var(--surface-raised);box-shadow:var(--elevation-2)}.app-frame:has(.balow-screen) .mobile-navigation>a:not(.mobile-add){color:var(--text-secondary)}.app-frame:has(.balow-screen) .mobile-navigation>a.active{color:var(--text-primary)}.app-frame:has(.balow-screen) .mobile-add{background:var(--accent-default);color:var(--text-on-accent)}.app-frame:has(.balow-screen) .app-user>span{background:var(--accent-default);color:var(--text-on-accent)}.app-frame:has(.balow-screen) .mobile-avatar{background:var(--accent-default);color:var(--text-on-accent)}
}

@layer balow.primitives {
:is(.balow-screen,.app-frame:has(.balow-screen)){--midnight:var(--text-primary);--midnight-deep:var(--text-primary);--ink:var(--text-primary);--muted:var(--text-secondary);--line:var(--border-subtle);--ocean:var(--accent-default);--ocean-bright:var(--accent-hover);--pearl:var(--surface-page);--pearl-soft:var(--surface-raised);--paper:var(--surface-raised);--paper-solid:var(--surface-raised);--soft-blue:var(--surface-accent-subtle);--soft-green:var(--money-positive-surface);--soft-coral:var(--money-negative-surface);--soft-yellow:var(--status-attention-surface);--positive:var(--money-positive);--negative:var(--money-negative);--navy:var(--text-primary);--green:var(--money-positive);--teal:var(--accent-default);--sand:var(--surface-sunken);--focus-ring-legacy:var(--border-focus)}.balow-screen .panel,.balow-screen .processing-history article,.balow-screen .payment-handoff,.balow-screen .invite-share-button,.balow-screen .pending-invitations article>div form button,.balow-screen .allocation-item-list>article{background:var(--surface-raised)}.balow-screen .money-input,.balow-screen .receipt-item-edit input,.balow-screen .receipt-item-form input,.balow-screen .receipt-item-form select,.balow-screen .personal-receipt-details textarea,.balow-screen .comment-thread textarea,.balow-screen .stack-form input,.balow-screen .stack-form select,.balow-screen .stack-form textarea,.balow-screen .expense-form input,.balow-screen .expense-form select,.balow-screen .quick-form input,.balow-screen .invite-form input,.balow-screen .replace-items-toggle{border-color:var(--border-default);background:var(--surface-sunken);color:var(--text-primary)}.balow-screen .stack-form input:disabled,.balow-screen .expense-form input:disabled{background:var(--surface-sunken);color:var(--text-tertiary)}.balow-screen .comment-empty,.balow-screen .choose-receipt-button{border-color:var(--border-subtle);background:var(--surface-sunken)}.balow-screen .stack-form label>span,.balow-screen .expense-form label>span,.balow-screen .quick-form label,.balow-screen .invite-form>label,.balow-screen .expense-form legend,.balow-screen .receipt-item-form label>span,.balow-screen .flexible-expense-form label>span,.balow-screen .split-builder>legend,.balow-screen .receipt-upload label>span,.balow-screen .receipt-item-list article>span,.balow-screen .choose-receipt-button small,.balow-screen .scan-receipt-button small{color:var(--text-secondary)}.balow-screen .split-member-list article.selected,.balow-screen .payer-member-list article.selected{border-color:var(--border-focus);background:var(--surface-selected)}.balow-screen .allocation-member-grid>div.selected{border-color:var(--money-positive);background:var(--money-positive-surface)}.balow-screen .allocation-item-list>article.needs-allocation{border-color:var(--status-attention-border);background:var(--status-attention-surface)}.balow-screen .allocation-item-list>article.needs-allocation>header>svg{color:var(--status-attention)}.balow-screen .allocation-summary{border:1px solid var(--lightningcss-light,transparent)var(--lightningcss-dark,var(--accent-default));background:var(--lightningcss-light,var(--surface-inverse))var(--lightningcss-dark,var(--surface-raised));color:var(--lightningcss-light,var(--text-on-inverse))var(--lightningcss-dark,var(--text-primary))}.balow-screen .allocation-summary .overline,.balow-screen .allocation-summary small{color:var(--lightningcss-light,var(--text-on-inverse))var(--lightningcss-dark,var(--text-secondary))}.balow-screen .allocation-summary>article{border-top-color:var(--lightningcss-light,#ffffff2e)var(--lightningcss-dark,var(--border-subtle))}.balow-screen .allocation-warning{color:var(--status-attention)}.balow-screen .allocation-summary .allocation-warning{color:var(--lightningcss-light,var(--text-on-inverse))var(--lightningcss-dark,var(--status-attention))}.balow-screen .delete-item-button,.balow-screen .delete-receipt-workspace{border-color:var(--status-negative-border);color:var(--status-negative);background:0 0}.balow-screen .delete-item-button:hover,.balow-screen .delete-receipt-workspace:hover{background:var(--status-negative-surface)}.balow-screen .upload-error{color:var(--status-negative)}.balow-screen .payment-handoff li{color:var(--status-attention)}.balow-screen .live-presence{background:var(--money-positive-surface);color:var(--money-positive)}.balow-screen .receipt-upload input[type=file]{border-color:var(--border-default);background:var(--surface-sunken);color:var(--text-secondary)}.balow-screen .button,.balow-screen .scan-receipt-button{background:var(--accent-default);color:var(--text-on-accent);box-shadow:var(--elevation-1);border-color:#0000}.balow-screen .button:hover,.balow-screen .scan-receipt-button:hover{background:var(--accent-hover);box-shadow:var(--elevation-1)}.balow-screen .scan-receipt-button>span{background:#ffffff29}.balow-screen .scan-receipt-button small,.balow-screen .scan-receipt-button>svg{color:var(--text-on-accent)}.balow-screen .secondary-button{border-color:var(--border-default);background:var(--surface-raised);color:var(--text-primary)}.balow-screen .payment-handoff a,.balow-screen .icon-button,.balow-screen .invite-card a{color:var(--text-on-accent)}.balow-screen .member-avatar,.balow-screen .heading-avatar{background:var(--accent-default);color:var(--text-on-accent)}.balow-screen ::placeholder{color:var(--text-tertiary);opacity:1}
}

@layer balow.reset,balow.tokens,balow.base,balow.legacy,balow.primitives,balow.components,balow.utilities;
