@charset "UTF-8";body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}:root{--color-accent-50: oklch(97% .03 145);--color-accent-100: oklch(94% .05 145);--color-accent-200: oklch(87% .1 145);--color-accent-300: oklch(80% .14 145);--color-accent-400: oklch(75% .16 145);--color-accent-500: oklch(73% .18 145);--color-accent-600: oklch(58% .16 145);--color-accent-700: oklch(48% .14 145);--color-accent-800: oklch(38% .11 145);--color-accent-900: oklch(30% .09 145);--color-danger-400: #f87171;--color-danger-500: #ef4444;--color-danger-600: #dc2626;--color-warning-400: #fbbf24;--color-warning-500: #f59e0b;--color-warning-50-alpha: rgba(245, 158, 11, .1);--color-gray-50: oklch(96% 0 0);--color-gray-100: oklch(93% 0 0);--color-gray-200: oklch(87% 0 0);--color-gray-300: oklch(80% 0 0);--color-gray-400: oklch(66% 0 0);--color-gray-500: oklch(51% 0 0);--color-gray-600: oklch(38% 0 0);--color-gray-700: oklch(29% 0 0);--color-gray-800: oklch(19% 0 0);--color-gray-900: oklch(12% 0 0);--color-gray-1000: oklch(8% 0 0);--color-gray-1050: oklch(5% 0 0);--color-white: #ffffff;--color-black: #000000;--color-transparent: transparent;--bg-color-page: #dddddd;--bg-color-header: #d3d3d3;--bg-color-card: var(--color-white);--bg-color-hover: var(--color-accent-300);--bg-color-section: var(--color-gray-50);--bg-color-subtle: var(--color-gray-200);--bg-color-input: var(--color-white);--bg-color-elevated: var(--color-white);--overlay-dark: rgba(0, 0, 0, .75);--overlay-light: rgba(0, 0, 0, .1);--overlay-medium: rgba(0, 0, 0, .05);--shadow-sm: rgba(0, 0, 0, .04);--shadow-md: rgba(0, 0, 0, .1);--color-accent-hover: var(--color-accent-600);--color-accent-bg-light: var(--color-accent-50);--color-accent-bg-medium: var(--color-accent-100);--color-accent-bg-dark: var(--color-accent-700);--border-color-default: var(--color-gray-200);--border-color-hover: var(--color-accent-500);--border-color-dashed: var(--color-gray-300);--border-color-subtle: var(--color-gray-300);--border-color-focus: var(--color-accent-500);--text-color-body: var(--color-black);--text-color-heading: var(--color-black);--text-color-subtle: var(--color-gray-700);--text-color-inverse: var(--color-white);--text-color-primary: var(--color-gray-900);--text-color-secondary: var(--color-gray-700);--text-color-muted: var(--color-gray-500);--text-color-on-accent: var(--color-white);--icon-color-default: var(--color-gray-600);--icon-color-muted: var(--color-gray-400);--icon-color-hover: var(--color-accent-500);--logo-filter: none;--logo-bg: transparent;--logo-shadow: none;--bg-color-dmt: var(--color-white)}.dark{--color-accent-50: oklch(97% .03 145);--color-accent-100: oklch(94% .05 145);--color-accent-200: oklch(87% .1 145);--color-accent-300: oklch(80% .14 145);--color-accent-400: oklch(75% .16 145);--color-accent-500: oklch(73% .18 145);--color-accent-600: oklch(58% .16 145);--color-accent-700: oklch(48% .14 145);--color-accent-800: oklch(38% .11 145);--color-accent-900: oklch(30% .09 145);--color-danger-400: #f87171;--color-danger-500: #ef4444;--color-danger-600: #dc2626;--color-warning-400: #fbbf24;--color-warning-500: #f59e0b;--color-warning-50-alpha: rgba(245, 158, 11, .1);--color-gray-50: oklch(96% 0 0);--color-gray-100: oklch(93% 0 0);--color-gray-200: oklch(87% 0 0);--color-gray-300: oklch(80% 0 0);--color-gray-400: oklch(66% 0 0);--color-gray-500: oklch(51% 0 0);--color-gray-600: oklch(38% 0 0);--color-gray-700: oklch(29% 0 0);--color-gray-800: oklch(19% 0 0);--color-gray-900: oklch(12% 0 0);--color-gray-1000: oklch(8% 0 0);--color-gray-1050: oklch(5% 0 0);--color-white: #ffffff;--color-black: #000000;--color-transparent: transparent;--bg-color-page: var(--color-black);--bg-color-header: #d3d3d3;--bg-color-card: var(--color-gray-1000);--bg-color-hover: var(--color-gray-800);--bg-color-section: var(--color-gray-1000);--bg-color-subtle: var(--color-gray-600);--bg-color-input: var(--color-gray-900);--bg-color-elevated: var(--color-gray-1000);--overlay-dark: rgba(0, 0, 0, .75);--overlay-light: rgba(0, 0, 0, .1);--overlay-medium: rgba(0, 0, 0, .05);--shadow-sm: rgba(0, 0, 0, .04);--shadow-md: rgba(0, 0, 0, .1);--color-accent-hover: var(--color-accent-600);--color-accent-bg-light: var(--color-accent-50);--color-accent-bg-medium: var(--color-accent-100);--color-accent-bg-dark: var(--color-accent-700);--border-color-default: var(--color-gray-700);--border-color-hover: var(--color-accent-500);--border-color-dashed: var(--color-gray-300);--border-color-subtle: var(--color-gray-600);--border-color-focus: var(--color-accent-500);--text-color-body: var(--color-white);--text-color-heading: var(--color-gray-100);--text-color-subtle: var(--color-gray-300);--text-color-inverse: var(--color-black);--text-color-primary: var(--color-white);--text-color-secondary: var(--color-gray-300);--text-color-muted: var(--color-gray-400);--text-color-on-accent: var(--color-white);--icon-color-default: var(--color-gray-400);--icon-color-muted: var(--color-gray-500);--icon-color-hover: var(--color-accent-500);--logo-filter: drop-shadow(1em 1em white) drop-shadow(1em -1em white) drop-shadow(-1em 1em white) drop-shadow(-1em -1em white);--logo-bg: rgba(255,255,255,.8);--logo-radius: 20%;--bg-color-dmt: var(--color-black) }*{box-sizing:border-box;margin:0;padding:0}.page-container{background-color:var(--bg-color-page);min-height:100vh}.page-header{background-color:var(--bg-color-header)}.header-content{max-width:1920px;margin:0 auto;padding:1.5rem}.header-layout{display:flex;align-items:center;justify-content:space-between}.header-actions{display:flex;gap:.75rem;align-items:center}.main-content{width:100%;height:100%;padding:0;margin:0}.content-grid{display:grid;grid-template-columns:1fr;align-items:start}.sidebar{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;appearance:textfield}.page-title{font-size:2em;color:var(--color-accent-700)}.section-title{color:var(--text-color-heading)}.accordion-section{background-color:var(--bg-color-card);border-radius:.75rem;border:1px solid var(--border-color-default);overflow:visible}.participants-section{border-radius:2em;padding:1.5em}.accordion-header{width:100%;border:none;background:var(--color-transparent);cursor:pointer}.add-participant-form{width:100%;margin:auto;text-align:center}.participant-list{margin-top:1em;display:flex;flex-wrap:wrap;gap:.5rem}.participant-badge{display:inline-flex;width:auto;align-items:center;border-radius:2em;padding:.5em}.participant-remove{font-weight:800;border-radius:2em;padding:.25em;background-color:var(--color-danger-600);border:none;margin-left:.5em;color:var(--text-color-on-accent)}.tip-compact-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.tip-mode-selector-compact{display:flex;gap:.25rem;background:var(--bg-color-subtle);padding:.25rem;border-radius:.375rem}.tip-mode-btn-compact{padding:.375rem .75rem;border:none;border-radius:.25rem;background:transparent;color:var(--text-color-secondary);font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s}.tip-mode-btn-compact:hover{background:var(--bg-color-subtle)}.tip-mode-btn-compact.active{background:var(--color-accent-500);color:var(--text-color-on-accent);font-weight:600}.tip-input-compact{flex:1;min-width:100px}.settings-input-compact{padding:.5rem .75rem;font-size:.875rem;border:1px solid var(--border-color-default);border-radius:.375rem;background:var(--bg-color-input);color:var(--text-color-subtle);width:100%}.settings-input-compact:focus{outline:none;border-color:var(--color-accent-500);box-shadow:0 0 0 3px var(--color-accent-100)}.settings-input-compact.with-prefix{padding-left:2rem}.tip-receipt-display-compact{padding:.5rem .75rem;background:transparent;border-radius:.375rem;font-weight:600;text-align:center;outline:solid 1px var(--color-gray-400);color:var(--text-color-subtle)}.tip-timing-btn-compact{padding:.5rem .875rem;border:1px solid var(--border-color-subtle);border-radius:.375rem;background:var(--bg-color-card);color:var(--text-color-secondary);font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .15s;white-space:nowrap}.tip-timing-btn-compact:hover{border-color:var(--color-accent-300);background:var(--color-accent-50)}.tip-timing-btn-compact.active{border-color:var(--color-accent-500);background:var(--color-accent-500);color:var(--text-color-on-accent);font-weight:600}.form-input{color:var(--text-color-body)}.file-input{display:none}.button-primary{padding:.5rem 1rem;background-color:var(--color-accent-500);color:var(--text-color-heading);border:none;border-radius:.375rem;cursor:pointer;font-weight:500}.button-primary:hover{background-color:var(--color-accent-hover)}.button-primary:disabled{background-color:var(--icon-color-muted);cursor:not-allowed}.button-secondary{padding:.5rem 1rem;background-color:var(--text-color-muted);color:var(--text-color-on-accent);border:none;border-radius:.375rem;cursor:pointer;font-weight:500}.button-secondary:hover{background-color:var(--icon-color-default)}.button-secondary:disabled{background-color:var(--icon-color-muted);cursor:not-allowed}.button-add{font-size:1rem;text-align:center;padding:1em;color:var(--text-color-on-accent);border-radius:100%;border:none;margin-left:1em;background-color:var(--color-accent-600);outline:none}.button-add-item,.button-upload{padding:.5rem;background-color:var(--bg-color-subtle);border:none;border-radius:.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.button-danger{padding:.5rem 1rem;background-color:var(--color-danger-500);color:var(--text-color-on-accent);border:none;border-radius:.375rem;cursor:pointer;font-weight:500}.button-danger:hover{background-color:var(--color-danger-600)}.button-cancel{padding:.5rem 1rem;background-color:var(--bg-color-subtle);color:var(--text-color-secondary);border:none;border-radius:.375rem;cursor:pointer;font-weight:500}.button-cancel:hover{background-color:var(--bg-color-subtle)}.button-cancel:disabled{background-color:var(--bg-color-section);color:var(--icon-color-muted);cursor:not-allowed}.items-action-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem}.items-action-row .button-add-item-top{flex:1}.items-action-row .sort-dropdown{flex-shrink:0}@keyframes itemCardEnter{0%{opacity:0;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}@keyframes itemCardEnterNew{0%{opacity:0;transform:translateY(-14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.item-card{position:relative;background:var(--bg-color-card);border:1px solid var(--border-color-default);border-radius:8px;margin-bottom:.75rem;transition:all .2s ease}.item-card.collapsed{border-color:var(--border-color-default)}.item-card.expanded{border-color:var(--color-accent-300);box-shadow:0 2px 8px var(--shadow-sm)}.item-card.list-animating{animation:itemCardEnter .65s cubic-bezier(.2,0,0,1) both;animation-delay:calc(var(--anim-index, 0) * 75ms)}.item-card.item-new{animation:itemCardEnterNew .35s cubic-bezier(.2,0,0,1) both}.drag-handle{display:flex;align-items:center;justify-content:center;width:1.5rem;min-width:1.5rem;height:100%;color:var(--icon-color-muted);font-size:1.125rem;cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0}.drag-handle:active{cursor:grabbing}.drag-handle:hover{color:var(--color-accent-500)}.item-collapsed-view{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;cursor:pointer;transition:background-color .2s;min-height:3rem}.item-collapsed-view:hover{background:var(--bg-color-hover)}.item-collapsed-view.highlight-unassigned{background:#eab3081a}.item-collapsed-view.highlight-unassigned:hover{background:#eab3082e}.item-collapsed-view.highlight-discount{background:#22c55e1a}.item-collapsed-view.highlight-discount:hover{background:#22c55e2e}@media(max-width:768px){.item-collapsed-view{flex-wrap:wrap;gap:.25rem .5rem;min-height:auto;padding:.5rem .75rem}.item-collapsed-view .item-name-collapsed{flex:1}.item-collapsed-view .item-friends-collapsed{flex:0 0 100%;order:10;overflow-x:auto;padding-bottom:.125rem}.item-collapsed-view .item-tax-pill{order:11}}.item-name-collapsed{font-weight:700;color:var(--text-color-heading);font-size:.9375rem;min-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;flex-grow:0}.item-friends-collapsed{display:flex;gap:.375rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;flex:1;align-items:center}.item-friends-collapsed::-webkit-scrollbar{display:none}.friend-pill-collapsed{padding:.25rem .625rem;border-radius:1rem;font-size:.75rem;background-color:var(--bg-color-subtle);color:var(--text-color-primary);font-weight:500;white-space:nowrap;flex-shrink:0}.item-price-collapsed{font-weight:700;color:var(--text-color-primary);font-size:.9375rem;min-width:4.5rem;text-align:right;flex-shrink:0;margin-left:auto}.item-price-collapsed.price-discount{color:#22c55e}.item-tax-pill{font-size:.6875rem;font-weight:600;padding:.125rem .375rem;border-radius:999px;flex-shrink:0;white-space:nowrap}.item-tax-pill.unassigned-pill{background:#eab30833;color:#92400e}.item-tax-pill.no-tax{background:#9ca3af33;color:var(--text-color-secondary)}.item-tax-pill.discount-pill{background:#22c55e33;color:#15803d}.expand-chevron{color:var(--color-accent-500);font-size:1rem;transition:all .3s ease;flex-shrink:0;margin-left:.5rem;opacity:.7}.expand-chevron:hover{opacity:1;transform:translateY(2px)}.collapse-button{background:transparent;border:none;border-radius:50%;padding:.25rem;color:var(--color-accent-500);cursor:pointer;transition:all .3s ease;font-size:1.125rem;margin-left:auto;opacity:.7;line-height:1;display:flex;align-items:center;justify-content:center}.collapse-button:hover{background:var(--bg-color-subtle);color:var(--text-color-primary)}.button-add-item-top{width:100%;padding:.625rem .75rem;min-height:2.5rem;background:var(--bg-color-section);border:2px dashed var(--border-color-dashed);border-radius:8px;color:var(--icon-color-default);font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:0}.button-add-item-top:hover{background:var(--color-accent-bg-light);border-color:var(--color-accent-500);color:var(--color-accent-700)}.button-add-item-top .add-item-icon{font-size:1.25rem;font-weight:700}.split-friends-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.split-friends-label{font-weight:500;color:var(--text-color-heading);font-size:.875rem}.split-action-buttons{display:flex;gap:.5rem;align-items:center}.split-all-button{padding:.25rem .75rem;background:var(--bg-color-subtle);border:1px solid var(--border-color-default);border-radius:4px;font-size:.75rem;font-weight:500;color:var(--text-color-secondary);cursor:pointer;transition:all .2s}.split-all-button:hover{background:var(--color-accent-100);border-color:var(--color-accent-500);color:var(--color-accent-700)}.split-evenly-button{padding:.25rem .75rem;background:var(--color-accent-500);border:1px solid var(--color-accent-600);border-radius:4px;font-size:.75rem;font-weight:500;color:var(--text-color-on-accent);cursor:pointer;transition:all .2s}.split-evenly-button:hover{background:var(--color-accent-600);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.split-evenly-button:active{transform:translateY(0)}.split-friends-list{display:flex;flex-wrap:wrap;gap:.5rem}.item-split-friends{padding:1rem;background:var(--bg-color-section)}.item-header{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-bottom:1px solid var(--border-color-default)}.item-header-info{flex:1;min-width:0}.item-name-display{font-weight:600;font-size:1rem;color:var(--text-color-body)}.item-total-header{font-weight:600;font-size:.9375rem;color:var(--text-color-body);white-space:nowrap;margin-left:auto;padding-right:.5rem}.price-discount{color:#22c55e!important}.price-discount .price-symbol{color:#22c55e}.item-price-header-group{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem}.price-original{text-decoration:line-through;color:var(--text-color-secondary)!important;font-weight:500;font-size:.8rem}.price-effective{color:#22c55e!important;font-weight:700}.item-discount-line{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.25rem 1rem .25rem 2.5rem;background:#22c55e0f;border-top:1px dashed rgba(34,197,94,.3);font-size:.8125rem}.item-discount-line .toggle-switch-small{font-size:.75rem;gap:.25rem}.item-discount-line .toggle-switch-small .toggle-label{color:#16a34a;font-size:.6875rem}.item-discount-line .toggle-switch-small .toggle-slider{width:28px;height:16px}.item-discount-line .toggle-switch-small .toggle-slider:before{width:12px;height:12px;top:2px;left:2px}.item-discount-line .toggle-switch-small input:checked+.toggle-slider:before{transform:translate(12px)}.item-discount-name{color:#16a34a;font-style:italic;font-weight:500}.item-discount-amount{color:#16a34a;font-weight:600}.item-fields{padding:.75rem 1rem;display:flex;flex-direction:row;gap:1rem;background:var(--bg-color-section);border-top:1px solid var(--border-color-default);align-items:flex-end}@media(max-width:768px){.item-fields{flex-wrap:wrap}}.item-field-row{display:flex;flex-direction:column;gap:.375rem}.item-field-row:nth-child(1){flex:5}.item-field-row:nth-child(2){flex:2}.item-field-row:nth-child(3){flex:3}.item-field-label{font-size:.75rem;font-weight:500;color:var(--text-color-subtle);text-transform:uppercase;letter-spacing:.025em}.item-field-input{flex:1;padding:.5rem .75rem;border:1px solid var(--border-color-default);border-radius:.375rem;font-size:.875rem;background:var(--bg-color-card);color:var(--text-color-body);transition:border-color .2s}.item-field-input:focus{outline:none;border-color:var(--color-accent-500);box-shadow:0 0 0 3px var(--color-accent-100)}.price-input-wrapper{flex:1;position:relative;display:flex;align-items:center}.price-symbol{position:absolute;left:.75rem;font-size:.875rem;color:var(--icon-color-default);pointer-events:none}.price-input{padding-left:1.75rem!important}.item-total-display{font-weight:600;color:var(--text-color-primary);font-size:.9375rem;align-self:center;white-space:nowrap}.item-delete-wrapper{position:absolute;bottom:.5rem;right:.5rem}.item-delete-button-corner{width:36px;height:36px;padding:0;background:var(--color-danger-500);color:var(--text-color-on-accent);border:none;border-radius:.375rem;font-size:1.25rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a}.item-delete-button-corner:hover{background:var(--color-danger-600)}.item-delete-button-corner:active{background:var(--color-danger-700)}.item-title{font-weight:500;color:var(--text-color-primary);margin-bottom:.25rem}.item-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.inline-edit-input{border:none;background:var(--color-transparent);padding:0;margin:0 .25rem;font:inherit;color:inherit}.inline-edit-input:focus{outline:1px solid var(--color-accent-500);background:var(--overlay-medium);padding:.125rem .25rem;border-radius:3px}.item-name-input{width:100%;font-weight:500}.item-quantity-input{width:3rem;text-align:center}.item-price-input{width:4rem;text-align:right}.item-price-info{font-size:.875rem;color:var(--icon-color-default);display:flex;align-items:center;gap:.25rem}.item-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.toggle-switch{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.toggle-label{font-size:.875rem;font-weight:500;color:var(--text-color-subtle)}.toggle-switch input[type=checkbox]{position:absolute;opacity:0;width:0;height:0}.toggle-slider{position:relative;display:inline-block;width:2.75rem;height:1.5rem;background-color:var(--color-gray-300);border-radius:1.5rem;transition:background-color .2s ease}.toggle-slider:before{content:"";position:absolute;width:1.125rem;height:1.125rem;left:.1875rem;top:.1875rem;background-color:var(--text-color-on-accent);border-radius:50%;transition:transform .2s ease}.toggle-switch input:checked+.toggle-slider{background-color:var(--color-accent-500)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(1.25rem)}.toggle-switch input:focus+.toggle-slider{box-shadow:0 0 0 2px var(--color-accent-200)}.item-split-participants{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.split-participant-wrapper{width:auto;flex:0 0 auto}@keyframes pillEnterAssigned{0%{transform:scale(.45);opacity:0;filter:saturate(0) brightness(1.35)}65%{transform:scale(1.07);opacity:1;filter:saturate(.6) brightness(1.08)}to{transform:scale(1);opacity:1;filter:saturate(1) brightness(1)}}@keyframes pillEnterUnassigned{0%{transform:scale(1.18);opacity:0;filter:saturate(2) brightness(1.4)}to{transform:scale(1);opacity:1;filter:saturate(1) brightness(1)}}.pill-enter-assigned{animation:pillEnterAssigned .38s cubic-bezier(.34,1.56,.64,1) both}.pill-enter-unassigned{animation:pillEnterUnassigned .28s ease-out both}@keyframes pillExitDown{0%{transform:translate(0) translateY(0) scale(1);opacity:1}14%{transform:translate(-4px) translateY(0) scale(1.08);opacity:1}28%{transform:translate(2px) translateY(0) scale(1.04);opacity:1}42%{transform:translate(0) translateY(2px) scale(1);opacity:.9}to{transform:translate(0) translateY(22px) scale(.78);opacity:0}}@keyframes xButtonPop{0%{transform:scale(1)}45%{transform:scale(1.7)}to{transform:scale(1.2)}}@keyframes jiggleLeft{0%{transform:translate(0)}22%{transform:translate(-3px)}50%{transform:translate(2px)}78%{transform:translate(-1px)}to{transform:translate(0)}}@keyframes jiggleRight{0%{transform:translate(0)}22%{transform:translate(3px)}50%{transform:translate(-2px)}78%{transform:translate(1px)}to{transform:translate(0)}}@keyframes particleFloat{0%{transform:translateY(0) scale(1);opacity:1}15%{transform:translateY(-5px) scale(1.1);opacity:1}to{transform:translateY(-28px) scale(.8);opacity:0}}.pill-exiting{animation:pillExitDown .36s ease-in both;pointer-events:none}.pill-exiting .split-friend-remove{animation:xButtonPop .2s ease-out both}.jiggle-left{animation:jiggleLeft .28s ease-in-out}.jiggle-right{animation:jiggleRight .28s ease-in-out}.share-particle{position:absolute;top:2px;pointer-events:none;font-size:.7rem;font-weight:800;line-height:1;white-space:nowrap;animation:particleFloat .65s ease-out both;z-index:20}.share-particle.particle-add{color:#22c55e;right:.45rem}.share-particle.particle-remove{color:#ef4444;left:.45rem}.split-friend-assigned{display:inline-flex;flex-direction:row;align-items:center;gap:.35rem;padding:.28rem .6rem;border-radius:999px;position:relative;overflow:visible;font-size:.875rem;font-weight:500;background-color:var(--color-accent-500);color:var(--text-color-on-accent);border:none;cursor:default;transition:all .2s ease}.split-friend-info{display:flex;flex-direction:column;align-items:center;gap:.05rem;min-width:0}.split-friend-meta{display:flex;align-items:center;gap:.25rem;opacity:.88}.split-friends-divider{flex-basis:100%;height:1px;background:var(--border-color-subtle);margin:.1rem 0}.split-friend-unassigned{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border-radius:1.25rem;font-size:1rem;font-weight:500;background-color:var(--bg-color-subtle);color:var(--text-color-primary);border:none;cursor:pointer;transition:all .2s ease;min-height:2.5rem}.split-friend-unassigned:hover{background-color:var(--color-accent-500);color:var(--text-color-on-accent);transform:translateY(-1px);box-shadow:0 2px 8px #00000026}@media(max-width:768px){.split-friend-unassigned{padding:.75rem 1.125rem;min-height:3rem;font-size:1.0625rem}}.split-friend-name{font-size:.875rem;font-weight:700;color:var(--text-color-on-accent);white-space:nowrap;line-height:1.2}.split-friend-shares{font-size:.72rem;font-weight:500;color:var(--text-color-on-accent);white-space:nowrap;cursor:text;border-bottom:1px dotted rgba(255,255,255,.4)}.split-friend-shares:hover{border-bottom-color:#ffffffd9}.split-friend-shares-input{width:3rem;background:#ffffff2e;border:none;border-bottom:1px solid rgba(255,255,255,.8);border-radius:2px;color:#fff;font-size:.72rem;font-weight:700;text-align:center;padding:0 .15rem;outline:none}.split-friend-shares-input:focus{background:#ffffff47;border-bottom-color:#fff}.split-friend-shares-input::-webkit-outer-spin-button,.split-friend-shares-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.split-friend-shares-input{-moz-appearance:textfield}.split-friend-percentage{font-size:.72rem;font-weight:400;color:var(--text-color-on-accent);white-space:nowrap}.split-friend-amount{font-size:.72rem;font-weight:600;color:var(--text-color-on-accent);white-space:nowrap}.split-friend-controls{display:flex;gap:.3rem;align-items:center;justify-content:center}.split-friend-add-btn,.split-friend-subtract-btn{display:flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;padding:0;border:none;background-color:#0003;color:#fffffff2;border-radius:50%;font-size:.9rem;font-weight:700;line-height:1;cursor:pointer;transition:all .15s ease;flex-shrink:0}.split-friend-add-btn:hover,.split-friend-subtract-btn:hover{background-color:#00000059;transform:scale(1.12)}.split-friend-add-btn:active,.split-friend-subtract-btn:active{transform:scale(.92)}.treat-card{background-color:var(--bg-color-elevated);border:1px solid var(--border-color-subtle);border-radius:.75rem;padding:1.25rem;margin-bottom:1rem;box-shadow:0 2px 8px #0000000d;transition:all .2s ease}.treat-card:hover{box-shadow:0 4px 12px #0000001a}@media(max-width:768px){.treat-card{padding:1rem}}.treat-being-treated-section,.treat-payers-section{margin-bottom:1rem}.treat-being-treated-section .split-friends-label,.treat-payers-section .split-friends-label{display:block;margin-bottom:.75rem;font-weight:600}.treat-being-treated-section .split-friend-assigned.treat-recipient{background-color:#22c55e!important;color:#fff!important;pointer-events:none;border:2px solid #16a34a!important;box-shadow:0 0 0 3px #22c55e33!important}.treat-being-treated-section .split-friend-assigned.treat-recipient .split-friend-name,.treat-being-treated-section .split-friend-assigned.treat-recipient span{color:#fff!important}.treat-being-treated-section .split-friend-assigned.treat-recipient .split-friend-percentage{font-weight:700;color:#fff!important}.treat-being-treated-section .split-friend-assigned.treat-recipient:hover{background-color:#22c55e!important;transform:none!important}.treat-someone-section .treating-controls{padding-bottom:1rem}.treat-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--border-color-subtle)}.treat-footer .button-cancel:hover{background-color:var(--color-danger-500);color:#fff;border-color:var(--color-danger-600)}@media(max-width:768px){.treat-footer{flex-direction:column;align-items:stretch}}.treat-preview{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background-color:var(--bg-color-subtle);border-radius:.5rem;flex:1}.treat-preview .split-friends-label{margin:0;font-size:.9375rem}.treat-preview .split-friend-percentage{font-size:1.125rem;font-weight:700;color:var(--color-accent-500)}@media(max-width:768px){.treat-preview{padding:1rem 1.25rem}}.friend-indicator{width:8px;height:8px;border-radius:50%;background-color:var(--color-accent-300);flex-shrink:0}.status-indicator{width:8px;height:8px;border-radius:50%;background-color:var(--border-color-default);flex-shrink:0}.split-friend-name{flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.split-friend-percentage-input{width:3rem;padding:.125rem .25rem;border:1px solid rgba(255,255,255,.2);border-radius:.25rem;background-color:#ffffff1a;color:var(--text-color-on-accent);font-size:.875rem;font-weight:500;text-align:right}.split-friend-percentage-input:focus{outline:none;border-color:#fff6;background-color:#ffffff26}.split-friend-percentage-input::-webkit-outer-spin-button,.split-friend-percentage-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.split-friend-percentage-input{-moz-appearance:textfield}.split-friend-percentage-symbol{font-size:.875rem;font-weight:500;margin-left:-.25rem}.split-friend-remove{display:flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;padding:0;border:none;background-color:var(--color-danger-500);color:#fff;border-radius:50%;font-size:.9rem;font-weight:700;line-height:1;cursor:pointer;transition:all .15s ease;flex-shrink:0}.split-friend-remove:hover{background-color:var(--color-danger-600);transform:scale(1.15);box-shadow:0 2px 6px #0000004d}.split-friend-remove:active{transform:scale(.95)}.split-friend-add{margin-left:auto;font-size:1.25rem;font-weight:700;color:var(--color-accent-500)}.split-participant-remove,.split-participant-add,.split-participant-percentage{margin-left:.5rem}.total-label,.total-amount{color:var(--text-color-body)}.bill-payer-badge,.owes-badge{margin-left:1rem}.scanner-section .upload-container{margin-top:1rem}.scanner-section .upload-area{background:var(--bg-color-section);border:2px dashed var(--border-color-dashed);border-radius:.75rem;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .2s ease}.scanner-section .upload-area:hover{background:var(--bg-color-hover);border-color:var(--color-accent-500)}.scanner-section .upload-area.active{background:var(--color-accent-bg-light);border-color:var(--color-accent-500);border-style:solid}.scanner-section .upload-area.uploading{cursor:wait;opacity:.7}.scanner-section .upload-icon{font-size:3rem;margin-bottom:1rem}.scanner-section .upload-text{font-size:1rem;font-weight:500;color:var(--text-color-body);margin:0 0 .5rem}.scanner-section .upload-subtext{font-size:.875rem;color:var(--color-accent-100);margin:0}.scanner-section .upload-loading{display:flex;flex-direction:column;align-items:center;gap:1rem}.scanner-section .upload-loading-text{font-size:1rem;font-weight:500;color:var(--text-color-primary);margin:0}.scanner-section .upload-loading-subtext{font-size:.875rem;color:var(--text-color-muted);margin:0}.scanner-section .file-input.hidden{display:none}.scanner-section .receipt-images-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1rem}.scanner-section .receipt-image-thumbnail{aspect-ratio:1;border-radius:.5rem;overflow:hidden;background:var(--bg-color-section);border:1px solid var(--border-color-default);cursor:pointer;transition:all .2s ease}.scanner-section .receipt-image-thumbnail:hover{border-color:var(--color-accent-500);transform:scale(1.05);box-shadow:0 4px 12px var(--shadow-md)}.scanner-section .receipt-image-thumbnail img{width:100%;height:100%;object-fit:cover}.friends-section .section-header{padding:1rem;margin-bottom:0;cursor:pointer;transition:background-color .2s;border-radius:.75rem .75rem 0 0}.friends-section .section-header:hover{background-color:var(--bg-color-hover)}.friends-section .section-header .collapsible-header-button{padding:0}.friends-section .section-header .collapsible-header-button:hover{opacity:1}.friends-section .section-header .collapsible-header-button .chevron{font-size:1rem;color:var(--color-accent-500);transition:all .2s ease;opacity:.8}.friends-section .section-header .collapsible-header-button .chevron.collapsed{transform:rotate(-90deg)}.friends-section .section-header .collapsible-header-button .chevron.expanded{transform:rotate(0)}.friends-section .section-header:hover .chevron{opacity:1;transform:scale(1.1)}.friends-section .section-header:hover .chevron.collapsed{transform:rotate(-90deg) scale(1.1)}.friends-section .friends-subsection{padding:1rem 1rem 0;margin-top:1.5rem;border-top:1px solid var(--border-color-default)}.friends-section .friends-subsection:first-of-type{margin-top:1rem;border-top:none;padding-top:0}.friends-section .subsection-title{font-size:.875rem;font-weight:600;color:var(--text-color-heading);margin:0 0 .75rem;text-transform:uppercase;letter-spacing:.05em}.friends-section .subsection-description{font-size:.875rem;color:var(--text-color-subtle);margin:0 0 1rem}.friends-section .add-friend-form{display:flex;gap:.5rem;margin-bottom:.75rem}.friends-section .add-friend-form .form-input{flex:1;padding:.5rem .75rem;border:1px solid var(--border-color-default);border-radius:.5rem;font-size:.875rem;background:var(--bg-color-section);color:var(--text-color-body);transition:all .2s ease}.friends-section .add-friend-form .form-input:focus{outline:none;border-color:var(--border-color-default);box-shadow:0 0 0 3px var(--color-accent-bg-light)}.friends-section .add-friend-form .form-input::placeholder{color:var(--icon-color-muted)}.friends-section .add-friend-form .button-add-friend{padding:.5rem 1rem;background:var(--color-accent-600);color:var(--text-color-on-accent);border:none;border-radius:.5rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.friends-section .add-friend-form .button-add-friend:hover{background:var(--color-accent-500);transform:translateY(-2px);box-shadow:0 4px 14px var(--color-accent-500)}.friends-section .add-friend-form .button-add-friend:active{transform:scale(.95) translateY(0);box-shadow:none}.friends-section .friend-list{display:flex;flex-wrap:wrap;gap:.5rem}.friends-section .friend-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:1rem;font-size:.875rem;font-weight:500;background-color:var(--bg-color-subtle);color:var(--text-color-primary);transition:all .2s ease}.friends-section .friend-pill:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.friends-section .friend-pill.active{background-color:var(--color-accent-500);color:var(--text-color-on-accent)}.friends-section .friend-pill.editing{transform:none;box-shadow:0 0 0 2px var(--color-accent-500, #f59e0b)}.friends-section .friend-pill .friend-name-label{cursor:text;border-radius:3px;padding:0 2px}.friends-section .friend-pill .friend-name-label:hover{text-decoration:underline dotted}.friends-section .friend-pill .friend-name-edit-input{border:none;background:transparent;font-size:inherit;font-weight:inherit;color:inherit;width:80px;min-width:40px;outline:none;padding:0}.friends-section .friend-pill .friend-remove-btn{background:#0000001a;border:none;color:var(--text-color-secondary);width:1.25rem;height:1.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;line-height:1;transition:all .2s ease;margin-left:.25rem}.friends-section .friend-pill .friend-remove-btn:hover{background:#0003}.friends-section .empty-state{color:var(--icon-color-muted);font-size:.875rem;font-style:italic;margin:0;padding:1rem;text-align:center}.friends-section .feature-coming-soon{color:var(--text-color-muted);font-size:.875rem;font-style:italic;margin:0;padding:.75rem;text-align:center;background:var(--bg-color-section);border-radius:.5rem;border:1px dashed var(--border-color-dashed)}.modal-backdrop{position:fixed;inset:0;background-color:var(--overlay-dark);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-container{background-color:var(--bg-color-card);border-radius:.5rem;max-width:90%;max-height:95vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px var(--shadow-md),0 10px 10px -5px var(--shadow-sm)}.crop-modal{max-width:800px;width:100%}@media(max-width:768px){.crop-modal{max-width:100%;width:100%;max-height:100dvh;height:100dvh;border-radius:0}}.image-preview-modal{max-width:1400px;width:95%}.image-preview-modal .modal-header{padding:.75rem 1rem;flex-shrink:0}.image-preview-modal .modal-title{font-size:1rem}.image-preview-modal .modal-body{padding:0;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0}.image-preview-modal .modal-footer{padding:.75rem 1rem;flex-shrink:0}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color-default);flex-shrink:0}.modal-title{font-size:1.25rem;font-weight:600;margin:0}.modal-close{background:none;border:none;font-size:2rem;line-height:1;cursor:pointer;color:var(--text-color-muted)}.modal-close:hover{color:var(--text-color-primary)}.modal-body{padding:1.5rem;overflow:auto;flex:1;min-height:0}.modal-body p{margin:0;color:var(--text-color-secondary);line-height:1.5}.crop-container{display:flex;flex-direction:column;gap:1rem}@media(max-width:768px){.crop-container{flex:1;min-height:0;gap:.5rem;align-items:center;overflow:hidden}}.crop-image{max-width:100%;max-height:60vh;height:auto;display:block}@media(max-width:768px){.crop-modal .modal-header,.crop-modal .modal-footer{padding:.75rem 1rem;flex-shrink:0}.crop-modal .modal-body{padding:.5rem .75rem;display:flex;flex-direction:column;flex:1;min-height:0}.crop-container{display:flex;flex-direction:column;align-items:center}.ReactCrop{max-width:100%;touch-action:none}.crop-image{max-height:calc(100dvh - 210px);width:auto;max-width:100%;height:auto;display:block}}.crop-hint{color:var(--text-color-muted);font-size:.875rem;text-align:center}.crop-options{display:flex;justify-content:center;margin-top:1rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:var(--text-color-secondary)}.checkbox-label input[type=checkbox]{cursor:pointer;width:1rem;height:1rem}.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:1.5rem;border-top:1px solid var(--border-color-default);flex-shrink:0}.modal-footer-buttons{display:flex;gap:.75rem;align-items:center}.receipt-images-section{margin-top:2rem;padding:1rem;background-color:var(--bg-color-section);border-radius:.75rem;border:1px solid var(--border-color-default)}.receipt-images-section .upload-container{margin-top:1rem}.receipt-images-section .upload-area{background:var(--bg-color-section);border:2px dashed var(--border-color-dashed);border-radius:.75rem;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .2s ease}.receipt-images-section .upload-area:hover{background:var(--bg-color-hover);border-color:var(--color-accent-300)}.receipt-images-section .upload-area.active{background:var(--color-accent-50);border-color:var(--color-accent-500);border-style:solid}.receipt-images-section .upload-area.uploading{cursor:wait;opacity:.7}.receipt-images-section .upload-icon{font-size:3rem;margin-bottom:1rem}.receipt-images-section .upload-text{font-size:1rem;font-weight:500;color:var(--text-color-heading);margin:0 0 .5rem}.receipt-images-section .upload-subtext{font-size:.875rem;color:var(--text-color-muted);margin:0}.receipt-images-section .upload-loading{display:flex;flex-direction:column;align-items:center;gap:1rem}.receipt-images-section .upload-loading-text{font-size:1rem;font-weight:500;color:var(--text-color-primary);margin:0}.receipt-images-section .upload-loading-subtext{font-size:.875rem;color:var(--text-color-muted);margin:0}.receipt-images-section .file-input.hidden{display:none}.receipt-images-group{margin-bottom:1.5rem}.receipt-images-group:last-child{margin-bottom:0}.receipt-images-merchant{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:var(--text-color-primary)}.receipt-images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.receipt-image-item{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:.5rem;border:2px solid var(--border-color-default);cursor:pointer;transition:transform .2s}.receipt-image-item:hover{transform:scale(1.05);border-color:var(--border-color-hover)}.receipt-image-thumbnail{width:100%;height:100%;object-fit:cover}.add-receipt-image-button{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background-color:var(--bg-color-card);border:2px dashed var(--border-color-dashed);border-radius:.5rem;cursor:pointer;color:var(--text-color-muted);font-weight:500;transition:all .2s}.add-receipt-image-button:hover{background-color:var(--bg-color-hover);border-color:var(--border-color-hover);color:var(--color-accent-500)}.hidden{display:none}.dark-mode-toggle-button{padding:.5rem;background-color:var(--bg-color-dmt);border:none;border-radius:.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s,opacity .2s}.dark-mode-toggle-button:hover{opacity:.75}.content-dark-mode-toggle{display:none}.bill-nav-footer{margin-top:auto;padding:.75rem 1rem;border-top:1px solid var(--border-color-default);display:flex;align-items:center;justify-content:flex-end}.bill-nav-sidebar.collapsed .bill-nav-footer{justify-content:center;padding:.75rem .5rem}.dark-mode-icon{color:var(--text-color-heading);width:1.5rem;height:1.5rem}.landing-page{min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg-color-page)}.landing-header{position:absolute;top:1rem;right:1rem;z-index:10}.landing-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 2rem 1rem;gap:3rem;background-color:var(--bg-color-page)}.landing-logo{text-align:center;color:var(--text-color-heading)}.logo-image{height:auto;margin-bottom:1rem;background:var(--logo-bg);border-radius:var(--logo-radius)}.landing-title{font-size:3rem;font-weight:700;margin:0 0 .5rem}.landing-subtitle{font-size:1.25rem;opacity:.8;margin:0}.landing-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:800px;width:100%}.landing-option{padding:3rem 2rem;border:2px var(--border-color-default) solid;border-radius:12px;cursor:pointer;transition:all .3s ease;text-align:center;background:transparent;position:relative;background-color:var(--bg-color-card)}.landing-option:hover{transform:translateY(-4px);box-shadow:0 .5em 1em var(--color-accent-bg-dark)}.landing-option.drag-active{border-style:dashed;background:var(--color-accent-bg-light)}.option-icon{font-size:4rem;margin-bottom:1rem}.option-title{font-size:1.5rem;font-weight:600;margin:0 0 .5rem;color:var(--text-color-heading)}.option-description{font-size:1rem;opacity:.7;margin:0;color:var(--text-color-body)}.option-hint{font-size:.875rem;opacity:.5;margin-top:.5rem;color:var(--text-color-subtle)}.section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.section-header-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.sort-dropdown{position:relative;display:inline-block}.sort-button{background:var(--bg-color-subtle);border:1px solid var(--border-color-default);border-radius:.5rem;padding:.625rem;color:var(--text-color-secondary);font-size:1.125rem;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;min-width:2.5rem;min-height:2.5rem;aspect-ratio:1}.sort-button:hover{background:var(--bg-color-subtle);border-color:var(--icon-color-muted)}.sort-menu{position:absolute;right:0;top:calc(100% + .25rem);background:var(--bg-color-card);border:1px solid var(--border-color-default);border-radius:.5rem;box-shadow:0 4px 12px var(--shadow-md);z-index:100;min-width:180px;padding:.25rem}.sort-option{display:block;width:100%;padding:.625rem .875rem;text-align:left;background:transparent;border:none;border-radius:.375rem;color:var(--text-color-secondary);font-size:.875rem;cursor:pointer;transition:all .15s}.sort-option:hover{background:var(--color-accent-50);color:var(--color-accent-700)}.sort-option.active{background:var(--color-accent-100);color:var(--color-accent-700);font-weight:600}.landing-disclaimer{max-width:600px;width:100%;text-align:center;padding:1.5rem;border:2px solid var(--color-warning-500);border-radius:.75rem;background-color:var(--color-warning-50-alpha)}.disclaimer-icon{font-size:2rem;margin-bottom:.5rem}.disclaimer-title{font-size:1.25rem;font-weight:600;margin:0 0 .75rem;color:var(--color-warning-500)}.disclaimer-text{font-size:.95rem;line-height:1.6;margin:0;opacity:.9}.landing-footer{padding:1rem;width:100%;text-align:center;margin-top:auto}.version-text{font-size:.875rem;opacity:.5;margin:0}.alpha-disclaimer{font-size:.875rem;color:var(--text-color-muted);margin:0}.app-layout{display:flex;height:100vh;overflow:hidden;position:relative}.bill-nav-sidebar{width:250px;background-color:var(--bg-color-section);border-right:1px solid var(--border-color-default);display:flex;flex-direction:column;overflow:visible;flex-shrink:0;position:relative;transition:width .3s ease,margin-left .3s ease}@media(max-width:768px){.bill-nav-sidebar{position:fixed;left:0;top:0;height:100vh;width:250px!important;z-index:300;box-shadow:2px 0 8px var(--overlay-light);transform:translate(-100%);transition:transform .3s ease}.bill-nav-sidebar.expanded{transform:translate(0)}.bill-nav-sidebar.peeking{transform:translate(calc(-100% + 44px));transition:transform .4s cubic-bezier(.2,0,0,1)}.bill-nav-sidebar .bill-nav-toggle{display:none}}.bill-nav-sidebar.collapsed{width:60px;overflow:visible}.bill-nav-sidebar.collapsed .bill-nav-branding{flex-direction:column;padding:0}.bill-nav-sidebar.collapsed .bill-nav-title{display:none}.bill-nav-sidebar.collapsed .bill-nav-logo{width:40px;height:40px}.bill-nav-sidebar:not(.collapsed) .bill-nav-list{overflow-y:auto}.bill-nav-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--border-color-default)}.bill-nav-header-actions{display:flex;align-items:center;gap:.5rem}.bill-nav-sidebar.collapsed .bill-nav-header{flex-direction:column;justify-content:center;padding:1rem .5rem;gap:.5rem}.bill-nav-sidebar.collapsed .bill-nav-branding{margin:0;justify-content:center}.bill-nav-sidebar.collapsed .bill-nav-header-actions{justify-content:center}.bill-nav-sidebar.collapsed .dark-mode-toggle-button{display:none}.bill-nav-branding{display:flex;align-items:center;gap:.75rem}.bill-nav-logo{width:32px;height:32px;border-radius:.375rem;background:var(--logo-bg);border-radius:var(--logo-radius)}.bill-nav-title{font-size:1.25rem;font-weight:700;margin:0;color:var(--text-color-heading)}.bill-nav-toggle{display:none}.bill-nav-edge-tab{position:absolute;right:-13px;top:50%;transform:translateY(-50%);width:13px;height:48px;background:var(--bg-color-section);border:1px solid var(--border-color-default);border-left:none;border-radius:0 6px 6px 0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-color-muted);font-size:.7rem;padding:0;opacity:0;transition:opacity .2s,color .2s,background-color .2s;z-index:10}.bill-nav-sidebar:hover .bill-nav-edge-tab{opacity:1}.bill-nav-sidebar.collapsed .bill-nav-edge-tab{opacity:1;right:-14px}.bill-nav-edge-tab:hover{background:var(--color-accent-bg-medium);color:var(--color-accent-500);border-color:var(--color-accent-500)}@media(max-width:768px){.bill-nav-edge-tab{display:none}}.bill-nav-new-bill{margin:1rem;width:calc(100% - 2rem);justify-content:center;display:flex;align-items:center;gap:.5rem}.bill-nav-list{flex:1;overflow-y:auto;padding:.5rem}.bill-nav-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;margin-bottom:.5rem;background-color:var(--bg-color-card);border:2px solid var(--border-color-default);border-radius:.5rem;cursor:pointer;transition:all .2s;color:var(--text-color-body)}.bill-nav-item:hover{border-color:var(--border-color-hover);background-color:var(--color-accent-bg-medium);color:var(--text-color-inverse)}.bill-nav-item.active{border-color:var(--border-color-hover);color:var(--text-color-body);background-color:var(--color-accent-hover)}.bill-nav-item-content{flex:1;min-width:0}.bill-nav-item-name{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bill-nav-item-count{display:block;font-size:.85rem;margin-top:.125rem}.bill-nav-item-delete{background-color:var(--color-danger-500);color:var(--text-color-on-accent);border:none;border-radius:.5rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.25rem;line-height:1;margin-left:.5rem;flex-shrink:0}.bill-nav-item-delete:hover{background-color:var(--color-danger-600)}.layout-switcher{padding:.5rem 1rem;border-top:1px solid var(--border-color-default);margin-top:auto}.layout-switcher-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.5rem .25rem;background:none;border:none;color:var(--text-color-secondary);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;transition:color .2s}.layout-switcher-toggle:hover{color:var(--text-color-primary)}.layout-switcher-chevron{font-size:.65rem;opacity:.6}.layout-options{display:none;flex-direction:column;gap:.5rem;padding-bottom:.5rem}.layout-options.open{display:flex}.layout-option{padding:.5rem .75rem;background-color:var(--bg-color-card);border:1px solid var(--border-color-default);border-radius:.375rem;color:var(--text-color-body);cursor:pointer;transition:all .2s;font-size:.875rem;text-align:left}.layout-option:hover{background-color:var(--bg-color-hover);border-color:var(--border-color-hover)}.layout-option.active{background-color:var(--color-accent-500);border-color:var(--color-accent-600);color:var(--text-color-inverse);font-weight:600}.mobile-header-bar{display:none}@media(max-width:768px){.mobile-header-bar{display:flex;align-items:center;justify-content:flex-start;position:fixed;top:0;left:0;right:0;height:120px;background-color:var(--bg-color-section);border-bottom:1px solid var(--border-color-default);padding:0 1.5rem;z-index:200;box-shadow:0 2px 8px var(--overlay-light);transition:height .3s cubic-bezier(.2,0,0,1)}.mobile-header-bar.scrolled{height:60px}}.mobile-menu-toggle,.mobile-header-branding{display:none}@media(max-width:768px){.mobile-header-branding{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.75rem;position:absolute;inset:0;pointer-events:none}.mobile-header-branding>*{pointer-events:auto}.mobile-header-branding:active{opacity:.7}.mobile-header-bar.scrolled .mobile-header-branding{justify-content:flex-start;padding-left:1.5rem}}.mobile-header-logo{flex-shrink:0;width:48px!important;height:48px!important;transition:width .3s cubic-bezier(.2,0,0,1),height .3s cubic-bezier(.2,0,0,1)}.mobile-header-bar.scrolled .mobile-header-logo{width:28px!important;height:28px!important}:root.dark .mobile-header-logo{background:#fff;border-radius:4px;padding:2px}.mobile-header-actions{display:none}@media(max-width:768px){.mobile-header-actions{display:flex;align-items:center;gap:.25rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}}.mobile-header-menu-icon{display:none}@media(max-width:768px){.mobile-header-menu-icon{display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:var(--text-color-secondary);width:32px;opacity:0;transform:translateY(10px);transition:opacity .25s ease,transform .25s cubic-bezier(.2,0,0,1)}.mobile-header-bar.scrolled .mobile-header-menu-icon{opacity:.6;transform:translateY(0)}}.mobile-header-title{font-weight:700;color:var(--text-color-primary);letter-spacing:.05em;font-size:1.5rem;transition:font-size .3s cubic-bezier(.2,0,0,1)}.mobile-header-bar.scrolled .mobile-header-title{font-size:1.2rem}.mobile-sidebar-backdrop{display:none}@media(max-width:768px){.mobile-sidebar-backdrop{display:block;position:fixed;inset:0;background-color:#00000080;z-index:150;animation:fadeIn .3s ease}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.bill-content-wrapper{flex:1;overflow-y:auto;overflow-x:hidden;background-color:var(--bg-color-page);min-width:0;position:relative;scrollbar-width:thin;scrollbar-color:transparent transparent}.bill-content-wrapper::-webkit-scrollbar{width:6px}.bill-content-wrapper::-webkit-scrollbar-track{background:transparent}.bill-content-wrapper::-webkit-scrollbar-thumb{background-color:transparent;border-radius:3px;transition:background-color .3s ease}.bill-content-wrapper.is-scrolling{scrollbar-color:rgba(128,128,128,.5) transparent}.bill-content-wrapper.is-scrolling::-webkit-scrollbar-thumb{background-color:#80808080}.bill-editing-grid{display:grid;gap:1rem;padding:1.5rem;max-width:1920px;width:100%;margin-left:auto;margin-right:auto;grid-template-columns:1fr 1fr 350px;align-items:start}@media(max-width:1280px){.bill-editing-grid{grid-template-columns:1fr 350px}}@media(max-width:768px){.bill-editing-grid{grid-template-columns:1fr;padding-top:calc(120px + 1.5rem);transition:padding-top .3s cubic-bezier(.2,0,0,1)}.header-scrolled .bill-editing-grid{padding-top:calc(60px + 1.5rem)}}.bill-left-column{display:flex;flex-direction:column;gap:1rem;grid-column:1;min-width:0}@media(max-width:768px){.bill-left-column{order:3}}.bill-middle-column{display:flex;flex-direction:column;gap:1rem;grid-column:2;min-width:0}@media(max-width:1280px){.bill-middle-column{grid-column:1;order:1}}@media(max-width:768px){.bill-middle-column{order:1}}.bill-right-column{display:flex;flex-direction:column;gap:1rem;grid-column:3}@media(max-width:1280px){.bill-right-column{grid-column:2;grid-row:1/3}}@media(max-width:768px){.bill-right-column{grid-row:auto;order:2}}.items-section .section-header{padding:1rem;margin-bottom:0;cursor:pointer;transition:background-color .2s;border-radius:.75rem .75rem 0 0}.items-section .section-header:hover{background-color:var(--bg-color-hover)}.items-section .section-header .collapsible-header-button{padding:0}.items-section .section-header .collapsible-header-button:hover{opacity:1}.items-section .section-header .collapsible-header-button .chevron{font-size:1rem;color:var(--color-accent-500);transition:all .2s ease;opacity:.8}.items-section .section-header .collapsible-header-button .chevron.collapsed{transform:rotate(-90deg)}.items-section .section-header .collapsible-header-button .chevron.expanded{transform:rotate(0)}.items-section .section-header:hover .chevron{opacity:1;transform:scale(1.1)}.items-section .section-header:hover .chevron.collapsed{transform:rotate(-90deg) scale(1.1)}.items-section .items-container{padding:0 1rem 1rem}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;gap:1rem}.empty-state-icon{font-size:4rem;opacity:.5;margin-bottom:.5rem}.empty-state-title{font-size:1.5rem;font-weight:600;color:var(--text-color-primary);margin:0}.empty-state-description{font-size:1rem;color:var(--text-color-secondary);margin:0;max-width:400px;line-height:1.5}.empty-state-button{margin-top:.5rem;font-size:1.125rem;padding:.875rem 1.75rem}.bill-editing-grid.layout-standard .bill-left-column{grid-column:2!important;grid-row:1!important}.bill-editing-grid.layout-standard .bill-middle-column{grid-column:1!important;grid-row:1!important}.bill-editing-grid.layout-standard .bill-right-column{grid-column:3!important;grid-row:1!important}@media(max-width:1280px){.bill-editing-grid.layout-standard .bill-left-column{grid-column:1;order:2}.bill-editing-grid.layout-standard .bill-middle-column{grid-column:1;order:1}.bill-editing-grid.layout-standard .bill-right-column{grid-column:2;grid-row:1/3}}@media(max-width:768px){.bill-editing-grid.layout-standard .bill-left-column{order:3}.bill-editing-grid.layout-standard .bill-middle-column{order:1}.bill-editing-grid.layout-standard .bill-right-column{grid-row:auto;order:2}}.bill-editing-grid.layout-standard-alt .bill-left-column{grid-column:2!important;grid-row:1!important}.bill-editing-grid.layout-standard-alt .bill-middle-column{grid-column:1!important;grid-row:1!important;display:grid;grid-template-columns:1fr;gap:1rem}.bill-editing-grid.layout-standard-alt .bill-middle-column>*:nth-child(1){order:2}.bill-editing-grid.layout-standard-alt .bill-middle-column>*:nth-child(2){order:1}.bill-editing-grid.layout-standard-alt .bill-right-column{grid-column:3!important;grid-row:1!important}@media(max-width:1280px){.bill-editing-grid.layout-standard-alt .bill-left-column{grid-column:1;order:2}.bill-editing-grid.layout-standard-alt .bill-middle-column{grid-column:1;order:1}.bill-editing-grid.layout-standard-alt .bill-right-column{grid-column:2;grid-row:1/3}}@media(max-width:768px){.bill-editing-grid.layout-standard-alt .bill-left-column{order:3}.bill-editing-grid.layout-standard-alt .bill-middle-column{order:1}.bill-editing-grid.layout-standard-alt .bill-right-column{grid-column:1;grid-row:auto;order:2}}.bill-editing-grid.layout-two-column{grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr}.bill-editing-grid.layout-two-column .bill-middle-column{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.bill-editing-grid.layout-two-column .bill-middle-column>*:nth-child(1){order:2}.bill-editing-grid.layout-two-column .bill-middle-column>*:nth-child(2){order:1}.bill-editing-grid.layout-two-column .bill-left-column{grid-column:1;grid-row:2}.bill-editing-grid.layout-two-column .bill-right-column{grid-column:2;grid-row:2}@media(max-width:1024px){.bill-editing-grid.layout-two-column{grid-template-columns:1fr;grid-template-rows:auto auto auto}.bill-editing-grid.layout-two-column .bill-middle-column{grid-column:1;grid-row:1;grid-template-columns:1fr}.bill-editing-grid.layout-two-column .bill-left-column{grid-column:1;grid-row:2}.bill-editing-grid.layout-two-column .bill-right-column{grid-column:1;grid-row:3}}.bill-editing-grid.layout-one-column{grid-template-columns:1fr!important;display:flex!important;flex-direction:column;gap:1rem;width:100%}.bill-editing-grid.layout-one-column .bill-left-column{order:4;width:100%}.bill-editing-grid.layout-one-column .bill-middle-column{display:contents;width:100%}.bill-editing-grid.layout-one-column .bill-middle-column>*:nth-child(1){order:2;width:100%}.bill-editing-grid.layout-one-column .bill-middle-column>*:nth-child(2){order:1;width:100%}.bill-editing-grid.layout-one-column .bill-right-column{order:3;width:100%}.bill-editing-grid.layout-header-compact{grid-template-columns:1fr!important;grid-template-rows:auto auto 1fr}.bill-editing-grid.layout-header-compact .bill-left-column{grid-column:1!important;grid-row:3!important}.bill-editing-grid.layout-header-compact .bill-middle-column{grid-column:1!important;grid-row:2!important;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.bill-editing-grid.layout-header-compact .bill-middle-column>*:nth-child(1){order:2}.bill-editing-grid.layout-header-compact .bill-middle-column>*:nth-child(2){order:1}.bill-editing-grid.layout-header-compact .bill-right-column{grid-column:1!important;grid-row:1!important}@media(max-width:1024px){.bill-editing-grid.layout-header-compact .bill-middle-column{grid-template-columns:1fr}}.bill-editing-grid.layout-header-expanded{grid-template-columns:1fr!important;grid-template-rows:auto auto 1fr}.bill-editing-grid.layout-header-expanded .bill-left-column{grid-column:1!important;grid-row:3!important}.bill-editing-grid.layout-header-expanded .bill-middle-column{grid-column:1!important;grid-row:2!important;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.bill-editing-grid.layout-header-expanded .bill-middle-column>*:nth-child(1){order:2}.bill-editing-grid.layout-header-expanded .bill-middle-column>*:nth-child(2){order:1}.bill-editing-grid.layout-header-expanded .bill-right-column{grid-column:1!important;grid-row:1!important}@media(max-width:1024px){.bill-editing-grid.layout-header-expanded .bill-middle-column{grid-template-columns:1fr}}.collapsible-header-button{width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;border:none;cursor:pointer;padding:0;text-align:left;color:inherit}.collapsible-header-button:hover{opacity:.8}.collapsible-header-button .chevron{font-size:.875rem;transition:transform .2s ease}.collapsible-header-button .chevron.collapsed{transform:rotate(-90deg)}.collapsible-header-button .chevron.expanded{transform:rotate(0)}.bill-editing-grid.layout-header-integrated{grid-template-columns:1fr!important;grid-template-rows:auto 1fr}.bill-editing-grid.layout-header-integrated .bill-right-column{display:none}.bill-editing-grid.layout-header-integrated .bill-middle-column{grid-column:1!important;grid-row:1!important;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.bill-editing-grid.layout-header-integrated .bill-middle-column>*:nth-child(1){order:2}.bill-editing-grid.layout-header-integrated .bill-middle-column>*:nth-child(2){order:1}.bill-editing-grid.layout-header-integrated .bill-left-column{grid-column:1!important;grid-row:2!important}@media(max-width:1024px){.bill-editing-grid.layout-header-integrated .bill-middle-column{grid-template-columns:1fr}}.integrated-friends{padding:0!important;border:none!important}.integrated-friends .section-header{display:none}.integrated-friends .friends-subsection{padding-left:1rem;padding-right:1rem;border:none!important;border-top:none!important;margin-top:1rem!important;padding-top:0!important}.integrated-friends .friends-subsection:first-of-type{margin-top:0!important}.integrated-friends .friends-subsection:last-of-type{padding-bottom:1rem}.collapsible-section{background-color:var(--bg-color-card);border-radius:.75rem;border:1px solid var(--border-color-default);overflow:visible}.collapsible-header{display:flex;justify-content:space-between;align-items:center;padding:.625rem 1rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s}.collapsible-header:hover{background-color:var(--bg-color-hover)}.collapsible-title{font-size:1.5rem;font-weight:700;color:var(--text-color-heading);display:flex;align-items:center}.collapsible-title .section-icon{font-size:1rem}.collapsible-title .section-subtitle{display:block;font-size:.75rem;font-weight:400;color:var(--text-color-body);margin-top:.25rem}.section-subtitle{display:block;font-size:.75rem;font-weight:400;color:var(--text-color-subtle);margin:.25rem}.collapsible-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;background-color:var(--bg-color-subtle);color:var(--text-color-secondary);border-radius:.75rem;font-size:.75rem;font-weight:500;margin-left:.5rem}.collapsible-chevron{color:var(--color-accent-500);transition:all .3s ease;font-size:1rem;opacity:.8;line-height:1}.collapsible-chevron.expanded{transform:rotate(180deg)}.collapsible-header:hover .collapsible-chevron{opacity:1;transform:scale(1.1)}.collapsible-header:hover .collapsible-chevron.expanded{transform:rotate(180deg) scale(1.1)}.collapsible-body{padding:1rem;overflow:hidden;max-height:4000px;opacity:1;transition:max-height .38s cubic-bezier(.4,0,.2,1),opacity .25s ease,padding-top .3s ease,padding-bottom .3s ease}.collapsible-body.collapsed{max-height:0;padding-top:0;padding-bottom:0;opacity:0;pointer-events:none}.section-divider{margin:.5rem 0;border:none;border-top:1px solid var(--border-color-default)}.totals-breakdown{display:flex;flex-direction:column;gap:.75rem}.total-row{display:flex;justify-content:space-between;align-items:center;font-size:1rem}.total-label{font-weight:500}.total-amount{font-weight:600}.total-final{font-size:1.25rem}.total-final .total-label,.total-final .total-amount{font-weight:700}.total-discount .total-label{color:#22c55e}.discount-amount{color:#22c55e!important;font-weight:600}.who-owes-what{margin-top:.5rem}.who-owes-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.person-view-toggle{display:flex;border-radius:6px;overflow:hidden;border:1px solid var(--border-color-default, #d1d5db)}.pvt-btn{padding:.25rem .6rem;font-size:.75rem;font-weight:500;border:none;background:var(--bg-color-card, #fff);color:var(--text-color-muted, #9ca3af);cursor:pointer;transition:background .15s,color .15s}.pvt-btn:not(:last-child){border-right:1px solid var(--border-color-default, #d1d5db)}.pvt-btn.active{background:var(--color-accent-500, #f59e0b);color:#fff;font-weight:600}.pvt-btn:hover:not(.active){background:var(--bg-color-subtle, #f3f4f6)}.person-cards-area{display:flex;flex-direction:row;align-items:flex-start;gap:.6rem;margin-top:.6rem}.person-cards-area.has-selection{align-items:stretch}@media(max-width:768px){.person-cards-area{flex-direction:column}.person-cards-area.has-selection{align-items:stretch}}.person-cards-grid{flex:1 1 0%;min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.5rem;transition:flex-grow .48s ease-out,flex-shrink .48s ease-out,flex-basis .48s ease-out}.has-selection .person-cards-grid{flex:0 0 33.33%;min-width:120px;overflow-y:auto;transition:flex-grow .28s cubic-bezier(.2,0,.2,1),flex-shrink .28s cubic-bezier(.2,0,.2,1),flex-basis .28s cubic-bezier(.2,0,.2,1)}@media(max-width:768px){.person-cards-grid{flex:1 1 auto;width:100%;grid-template-columns:repeat(2,1fr)}.has-selection .person-cards-grid{flex:1 1 auto;min-width:0;width:100%}}.person-card{position:relative;min-width:0;border:1px solid var(--border-color-default, #e5e7eb);border-radius:10px;overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s;background:var(--bg-color-card, #fff)}.person-card:hover{border-color:var(--color-accent-500, #f59e0b);box-shadow:0 2px 6px #00000012}.person-card.selected{border-color:var(--color-accent-500, #f59e0b);box-shadow:0 2px 8px #00000017}.has-selection .person-card{display:flex;flex-direction:column;justify-content:center}.has-selection .person-card .person-card-name{font-size:1rem}.person-card-copy-btn{position:absolute;top:.3rem;right:.3rem;width:22px;height:22px;border:none;background:transparent;cursor:pointer;color:var(--text-color-muted, #9ca3af);padding:0;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:.75rem;font-weight:700;line-height:1;z-index:1;transition:background .15s,color .15s}.person-card-copy-btn:hover{background:var(--bg-color-subtle, #f3f4f6);color:var(--text-color-primary)}.person-card-copy-btn.copied{color:var(--color-success, #22c55e)}.person-card-item-discount{color:var(--color-success, #22c55e)!important}.taxable-star{font-size:.62rem;color:var(--text-color-muted, #9ca3af);margin-left:2px;margin-right:4px;align-self:flex-start;line-height:1.6;flex-shrink:0}.person-card-header{display:flex;flex-direction:column;align-items:center;padding:.6rem .7rem .55rem;gap:.25rem}.person-card-name-row{display:flex;align-items:center;justify-content:center;gap:.35rem;min-width:0;width:100%}.person-color-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.person-card-name{font-weight:700;font-size:.85rem;color:var(--text-color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.person-card-name-row .paid-badge{background:var(--color-accent-500);color:var(--text-color-on-accent);padding:.1rem .35rem;border-radius:.25rem;font-size:.65rem;font-weight:700;letter-spacing:.04em;flex-shrink:0}.person-card-stats{display:flex;align-items:center;justify-content:center;gap:.3rem}.person-card-item-count{font-size:.72rem;color:var(--text-color-muted, #9ca3af);white-space:nowrap}.person-card-stat-dot{font-size:.65rem;color:var(--text-color-muted, #9ca3af)}.person-card-total-display{font-size:.8rem;font-weight:600;color:var(--text-color-primary);white-space:nowrap}.person-card-body{padding:0 .7rem .7rem;cursor:default}.person-card-items{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.4rem}.person-card-item-row{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem;font-size:.8rem}.person-card-item-name{color:var(--text-color-primary);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-card-item-price{font-weight:500;color:var(--text-color-primary);white-space:nowrap;flex-shrink:0}.person-card-divider{border:none;border-top:1px solid var(--border-color-subtle, #f3f4f6);margin:.45rem 0}.person-card-totals{display:flex;flex-direction:column;gap:.2rem}.person-card-total-row{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-color-secondary, #6b7280)}.person-card-grand-total{font-size:.85rem;font-weight:700;color:var(--text-color-primary)}@keyframes lineSwipeIn{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0% 0 0)}}@keyframes discountGlow{0%{background:transparent}40%{background:#22c55e24;box-shadow:0 0 6px #22c55e38;border-radius:3px}to{background:transparent;box-shadow:none}}.person-detail-drawer .line-item-row{animation:lineSwipeIn 75ms ease-out both;animation-delay:var(--row-delay, 0s)}.person-detail-drawer .discount-row{animation-name:lineSwipeIn,discountGlow;animation-duration:75ms,.25s;animation-delay:var(--row-delay, 0s),calc(var(--row-delay, 0s) + 75ms);animation-fill-mode:both,both;animation-timing-function:ease-out,ease-out}.person-card-empty{font-size:.78rem;color:var(--text-color-muted, #9ca3af);text-align:center;padding:.4rem 0;margin:0}@keyframes panelWipeIn{0%{clip-path:inset(0 100% 0 0 round 10px);opacity:.4}to{clip-path:inset(0 0% 0 0 round 10px);opacity:1}}.person-detail-drawer{flex:1 1 auto;min-width:0;border:1px solid var(--color-accent-500, #f59e0b);border-radius:10px;background:var(--bg-color-card, #fff);overflow:hidden;animation:panelWipeIn .32s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:.55rem .75rem .5rem;border-bottom:1px solid var(--border-color-default, #e5e7eb)}.drawer-header-left{display:flex;align-items:center;gap:.4rem}.drawer-color-dot{width:10px;height:10px}.drawer-name{font-weight:700;font-size:.95rem;color:var(--text-color-primary)}.drawer-header-actions{display:flex;align-items:center;gap:.2rem}.drawer-close-btn{width:22px;height:22px;border:none;background:transparent;cursor:pointer;color:var(--text-color-muted, #9ca3af);font-size:.8rem;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0;transition:background .15s,color .15s}.drawer-close-btn:hover{background:var(--bg-color-subtle, #f3f4f6);color:var(--text-color-primary)}.drawer-body{padding:.55rem .75rem .7rem}.subsection-title{font-size:1rem;font-weight:600;color:var(--text-color-heading);margin:0}.friend-totals-grid{display:flex;flex-wrap:wrap;gap:.5rem}.friend-total-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--color-accent-500);border-radius:1rem;font-size:.875rem;white-space:nowrap}.friend-total-pill .friend-name{font-weight:500;color:var(--text-color-on-accent)}.friend-total-pill .paid-badge{background:#ffffff40;color:var(--text-color-on-accent);padding:.125rem .375rem;border-radius:.25rem;font-size:.75rem;font-weight:600}.friend-total-pill .friend-amount{font-weight:600;color:var(--text-color-on-accent)}.friend-pill{display:inline-flex;align-items:center;padding:.375rem .75rem;background-color:var(--bg-color-subtle);color:var(--text-color-primary);border-radius:1rem;font-size:.875rem;font-weight:500}.friend-total-amount{font-size:1rem;font-weight:600;color:var(--text-color-primary)}.receipt-images-subsection{margin-top:.5rem}.upload-receipt-placeholder{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 1rem;text-align:center;background-color:var(--bg-color-subtle);border-radius:.5rem;border:2px dashed var(--border-color-default)}.upload-receipt-description{margin:0;color:var(--text-color-secondary);max-width:350px;line-height:1.5}.upload-receipt-button{cursor:pointer;font-size:1rem;padding:.75rem 1.5rem}.subsection-header-clickable{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:0;margin-bottom:.75rem;-webkit-user-select:none;user-select:none}.subsection-header-clickable:hover{opacity:.8}.subsection-header-clickable .subsection-title{margin:0}.subsection-header-clickable .chevron{font-size:.875rem;transition:transform .2s ease;color:var(--text-color-body)}.subsection-header-clickable .chevron.collapsed{transform:rotate(-90deg)}.subsection-header-clickable .chevron.expanded{transform:rotate(0)}.receipt-images-content{margin-top:.75rem}.receipt-images-merchant{font-size:.875rem;font-weight:600;color:var(--text-color-heading);margin:0 0 .5rem}.receipt-images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.5rem;margin-bottom:1rem}.receipt-image-item{position:relative;aspect-ratio:1;border-radius:.5rem;overflow:hidden;background:var(--bg-color-elevated);border:1px solid var(--border-color-default)}.receipt-image-item .receipt-image-thumbnail{width:100%;height:100%;object-fit:cover;cursor:pointer;transition:transform .2s ease}.receipt-image-item .receipt-image-thumbnail:hover{transform:scale(1.05)}.receipt-image-item .rotate-image-button{position:absolute;bottom:.25rem;right:.25rem;background:var(--bg-color-card);border:1px solid var(--border-color-default);border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;color:var(--text-color-body);transition:all .2s ease;opacity:.9}.receipt-image-item .rotate-image-button:hover{opacity:1;background:var(--color-accent-500);color:var(--text-color-inverse);transform:rotate(90deg)}.receipt-image-item .rotate-image-button:active{transform:rotate(90deg) scale(.9)}.add-receipt-image-button{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:2px dashed var(--border-color-default);border-radius:.5rem;background:var(--bg-color-elevated);color:var(--text-color-body);cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500}.add-receipt-image-button:hover{border-color:var(--color-accent-500);background:var(--color-accent-50);color:var(--color-accent-700)}.add-receipt-image-button .file-input{display:none}.export-section{margin-top:.5rem}.export-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.export-button{flex:1;min-width:fit-content;padding:.625rem 1rem;border:1px solid var(--border-color-default);border-radius:.5rem;background:var(--bg-color-card);color:var(--text-color-body);cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500;display:flex;align-items:center;justify-content:center;gap:.25rem}.export-button:hover{background:var(--color-accent-700);border-color:var(--color-accent-500);color:var(--text-color-heading)}.export-button:active{transform:scale(.98)}.export-feedback{padding:.5rem .75rem;margin-bottom:.75rem;background:var(--color-accent-50);color:var(--color-accent-700);border:1px solid var(--color-accent-200);border-radius:.5rem;text-align:center;font-size:.875rem;font-weight:500}.export-section-description{font-size:.8rem;color:var(--text-color-muted);margin:0 0 .5rem}.process-upload-row{margin-bottom:.75rem}.process-action-button{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:1px solid var(--border-color-default);border-radius:.5rem;background:var(--bg-color-card);color:var(--text-color-body);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.process-action-button:hover{background:var(--color-accent-700);border-color:var(--color-accent-500);color:var(--text-color-heading)}.process-import-row{margin-top:.25rem}.import-feedback{padding:.5rem .75rem;margin-bottom:.5rem;border-radius:.5rem;font-size:.875rem;font-weight:500}.import-feedback.import-feedback-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.import-feedback.import-feedback-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.import-feedback.import-feedback-warning{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.import-textarea{width:100%;padding:.625rem .75rem;border:1px solid var(--border-color-default);border-radius:.5rem;background:var(--bg-color-input);color:var(--text-color-body);font-size:.8125rem;font-family:monospace;resize:vertical;box-sizing:border-box;margin-bottom:.5rem}.import-textarea:focus{outline:none;border-color:var(--color-accent-500)}.import-button{width:100%;padding:.625rem 1rem}.import-button:disabled{opacity:.5;cursor:not-allowed}.import-content{margin-top:.5rem}.advanced-section{padding-top:.25rem}.advanced-section-header{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;padding:.375rem 0;cursor:pointer;-webkit-user-select:none;user-select:none;color:inherit}.advanced-section-header:hover{opacity:.8}.advanced-section-title{font-size:.8rem;font-weight:600;color:var(--text-color-muted, #888);letter-spacing:.03em;text-transform:uppercase}.advanced-chevron{font-size:.65rem;color:var(--text-color-muted, #888);transition:transform .2s}.advanced-chevron.expanded{transform:rotate(180deg)}.advanced-section-body{padding-top:.5rem;display:flex;flex-direction:column;gap:.75rem}.advanced-subheader{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-color-muted, #999);margin-bottom:.25rem}.advanced-pills-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:.25rem}.discount-mode-pill{display:inline-flex;align-items:center;gap:.2em;padding:.35rem .75rem;border:none;border-radius:100px;font-size:.8rem;cursor:pointer;transition:background .2s,color .2s;white-space:nowrap}@media(max-width:768px){.discount-mode-pill{font-size:.72rem;padding:.3rem .5rem}}.discount-mode-pill strong{font-weight:800}.discount-mode-pill.friendly{background-color:var(--color-accent-500, #f59e0b);color:var(--text-color-on-accent, #fff)}.discount-mode-pill.unfriendly{background-color:var(--bg-color-subtle, #e5e7eb);color:var(--text-color-secondary, #6b7280)}.discount-mode-pill:hover{opacity:.85}.timing-mode-pill{display:inline-flex;align-items:center;gap:.2em;padding:.35rem .75rem;border:none;border-radius:100px;font-size:.8rem;cursor:pointer;transition:background .2s,color .2s;white-space:nowrap}@media(max-width:768px){.timing-mode-pill{font-size:.72rem;padding:.3rem .5rem}}.timing-mode-pill strong{font-weight:800}.timing-mode-pill.friendly{background-color:var(--color-accent-500, #f59e0b);color:var(--text-color-on-accent, #fff)}.timing-mode-pill.unfriendly{background-color:var(--bg-color-subtle, #e5e7eb);color:var(--text-color-secondary, #6b7280)}.timing-mode-pill:hover{opacity:.85}.discount-type-toggle{display:inline-flex;border-radius:100px;overflow:hidden;border:1px solid var(--border-color, #374151);margin-left:auto;flex-shrink:0}.discount-type-toggle .discount-type-btn{padding:.2rem .55rem;font-size:.78rem;font-weight:700;border:none;background:var(--bg-color-subtle, #1f2937);color:var(--text-color-secondary, #9ca3af);cursor:pointer;transition:background .15s,color .15s}.discount-type-toggle .discount-type-btn.active{background:var(--color-green, #22c55e);color:#fff}.discount-computed-amount{font-size:.75rem;color:var(--color-green, #22c55e);white-space:nowrap;margin-left:.4rem}.discount-warning-banner{display:flex;align-items:flex-start;gap:.5rem;padding:.6rem .85rem;margin-bottom:.75rem;background:#eab3081f;border:1px solid rgba(234,179,8,.4);border-radius:8px;font-size:.82rem;color:var(--text-color-body)}.discount-warning-banner .discount-warning-icon{flex-shrink:0}.discount-warning-banner .discount-warning-text{flex:1;line-height:1.4}.discount-warning-banner .discount-warning-dismiss{flex-shrink:0;background:none;border:none;color:var(--text-color-secondary);cursor:pointer;font-size:.9rem;padding:0}.discount-warning-banner .discount-warning-dismiss:hover{color:var(--text-color-body)}.settings-field{margin-bottom:1.25rem}.settings-field:last-child{margin-bottom:0}.settings-label{display:block;font-size:.875rem;font-weight:600;color:var(--text-color-body);margin-bottom:.5rem}.settings-input{width:100%;padding:.625rem .875rem;border:1px solid var(--border-color-default);border-radius:.5rem;font-size:.875rem;background-color:transparent;color:var(--text-color-body);transition:border-color .2s}.settings-input:focus{outline:none;border-color:var(--color-accent-500);box-shadow:0 0 0 3px var(--color-accent-bg-light)}.settings-input::placeholder{color:var(--text-color-subtle)}.settings-select{width:100%;padding:.625rem .875rem;border:1px solid var(--border-color-default);border-radius:.5rem;font-size:.875rem;background-color:var(--bg-color-card);color:var(--text-color-body);cursor:pointer;transition:border-color .2s}.settings-select:focus{outline:none;border-color:var(--color-accent-500);box-shadow:0 0 0 3px var(--color-accent-bg-light)}.settings-display{padding:.625rem .875rem;background-color:var(--bg-color-section);border:1px solid var(--border-color-default);border-radius:.5rem;font-size:.875rem;font-weight:600;color:var(--text-color-primary)}.settings-hint{margin-top:.375rem;font-size:.75rem;color:var(--text-color-muted);font-style:italic}.settings-two-column{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}@media(max-width:768px){.settings-two-column{grid-template-columns:1fr}}.tax-tip-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:.5rem 1rem;margin-bottom:1.25rem}@media(max-width:900px){.tax-tip-grid{grid-template-columns:1fr;gap:1rem}}.tax-label-area{display:flex;flex-direction:column;justify-content:space-between;min-height:2rem}.tax-label-area .settings-label{align-self:flex-start}@media(max-width:900px){.tax-label-area{min-height:auto;justify-content:flex-start;order:1}}@media(max-width:900px){.tax-input-area{order:2;margin-bottom:1.5rem}}.tip-label-buttons-area{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.tip-label-buttons-area .settings-label{margin-bottom:0}@media(max-width:900px){.tip-label-buttons-area{order:3}}.tip-type-pill{display:flex;background:var(--bg-color-elevated);border-radius:999px;padding:.18rem}.tip-type-option{padding:.2rem .65rem;border:none;border-radius:999px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .18s ease;background:transparent;color:var(--text-color-secondary);display:inline-flex;align-items:center;gap:.05em}.tip-type-option.active{background:var(--color-accent-500);color:#fff;font-weight:700}.tip-type-option:not(.active):hover{color:var(--text-color-primary)}.tip-type-option .tip-sym-active{font-weight:700;opacity:1}.tip-type-option .tip-sym-dim{font-weight:400;opacity:.45}.tip-type-option .tip-sym-sep{opacity:.35;font-size:.75em;margin:0 .05em}@media(max-width:900px){.tip-input-area{order:4}}.tip-mode-controls{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;align-self:flex-end;justify-content:flex-end}@media(max-width:900px){.tip-mode-controls{align-self:flex-start;justify-content:flex-start;width:100%}}.tip-mode-selector-inline{display:flex;gap:.25rem;background:var(--bg-color-subtle);padding:.25rem;border-radius:.375rem}.tip-mode-btn-inline{padding:.375rem .75rem;border:none;border-radius:.25rem;background:transparent;color:var(--text-color-secondary);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.tip-mode-btn-inline:hover{background-color:#ffffff1a}.tip-mode-btn-inline.active{background-color:var(--color-accent-500);color:var(--text-color-on-accent)}.tip-timing-toggle{padding:.375rem .75rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.tip-timing-toggle.before-selected{background-color:var(--color-accent-500);color:var(--text-color-on-accent)}.tip-timing-toggle.after-selected{background-color:var(--bg-color-subtle);color:var(--text-color-secondary)}.tip-timing-toggle:hover{opacity:.9;transform:translateY(-1px)}.tip-timing-toggle .selected{font-weight:700}.tip-timing-toggle .faded{opacity:.5;font-weight:400}.tip-timing-toggle .separator{margin:0 .125rem}.tip-timing-toggle .tax-text{font-weight:500}.tip-receipt-display{width:100%;padding:.625rem .875rem;background-color:var(--bg-color-section);border:1px solid var(--border-color-default);border-radius:.5rem;font-size:.875rem;font-weight:600;color:var(--text-color-primary);text-align:center}.tip-subsection{margin-top:.5rem}.tip-mode-buttons{display:flex;gap:.5rem;margin-bottom:1rem}.tip-mode-button{flex:1;padding:.625rem 1rem;border:2px solid var(--border-color-default);border-radius:.5rem;background-color:var(--bg-color-card);color:var(--text-color-secondary);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.tip-mode-button:hover:not(:disabled){border-color:var(--color-accent-500);background-color:var(--color-accent-bg-light)}.tip-mode-button.active{border-color:var(--color-accent-500);background-color:var(--color-accent-500);color:var(--text-color-on-accent)}.tip-mode-button:disabled{opacity:.5;cursor:not-allowed}.tip-display{display:flex;align-items:baseline;gap:.5rem;padding:.75rem;background-color:var(--bg-color-section);border-radius:.5rem;margin-bottom:1rem}.tip-amount{font-size:1.25rem;font-weight:700;color:var(--text-color-primary)}.tip-percentage-hint{font-size:.875rem;color:var(--text-color-muted);margin-top:.25rem}.tip-calculated{margin-top:.5rem;font-size:.875rem;font-weight:600;color:var(--text-color-secondary)}.input-with-addon{display:flex;align-items:center;border:1px solid var(--border-color-default);border-radius:.5rem;overflow:hidden;background-color:var(--bg-color-card);transition:border-color .2s}.input-with-addon:focus-within{border-color:var(--color-accent-500);box-shadow:0 0 0 3px var(--color-accent-bg-light)}.input-with-addon input{flex:1;border:none;padding:.625rem .875rem;font-size:.875rem;background:transparent}.input-with-addon input:focus{outline:none;box-shadow:none}.input-addon{padding:0 .875rem;font-size:.875rem;font-weight:600;color:var(--text-color-muted);background-color:transparent;border-left:1px solid var(--border-color-default);border-right:1px solid var(--border-color-default);display:flex;align-items:center}.input-addon:first-child{border-left:none;border-right:1px solid var(--border-color-default)}.input-addon:last-child{border-left:1px solid var(--border-color-default);border-right:none}.tip-timing-toggle{display:flex;gap:.5rem}.timing-button{flex:1;padding:.625rem 1rem;border:2px solid var(--border-color-default);border-radius:.5rem;background-color:var(--bg-color-card);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.timing-button.active{border-color:var(--color-accent-500);background-color:var(--color-accent-500);color:var(--text-color-on-accent);font-weight:700}.timing-button.inactive{color:var(--icon-color-muted)}.timing-button.inactive:hover{border-color:var(--border-color-subtle);color:var(--icon-color-default)}.tip-timing-button{padding:.625rem 1rem;border:none;border-radius:.5rem;background-color:var(--color-accent-500);color:var(--text-color-on-accent);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.tip-timing-button:hover{background-color:var(--color-accent-hover)}.tip-timing-button:not(.active){background-color:var(--bg-color-subtle);color:var(--text-color-secondary)}.tip-timing-button:not(.active):hover{background-color:var(--color-gray-300)}.upload-overlay{background-color:var(--bg-color-card);border-radius:1rem;padding:3rem 4rem;text-align:center;box-shadow:0 20px 25px -5px var(--shadow-md),0 10px 10px -5px var(--shadow-sm)}.upload-overlay-spinner{width:60px;height:60px;margin:0 auto 1.5rem;border:4px solid var(--color-gray-100);border-top:4px solid var(--color-accent-500);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.upload-overlay-title{font-size:1.5rem;font-weight:600;margin:0 0 .5rem;color:var(--text-color-primary)}.upload-overlay-text{font-size:1rem;color:var(--text-color-muted);margin:0}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;inset:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;inset:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media(pointer:coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}
