:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#362944;background:#f5f2f8;font-synthesis:none;--accent:#3d2853;--muted:#7d7585;--line:#e1dbe7}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;min-height:44px;padding:10px 16px;background:#fff;border:1px solid var(--line);border-radius:9px;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:550;transition:background .15s,border-color .15s}button:hover{background:#efe9f5;border-color:#c4b5d4}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9470b8;outline-offset:3px}input{width:100%;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:inherit;background:#fff;font-size:14px}input::placeholder{color:#948b9d}input:focus{outline:2px solid #9775b9;outline-offset:0}a{color:inherit}h1,h2,p{margin:0}h1{font-size:25px;font-weight:550;letter-spacing:-.6px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin-bottom:22px}.shell{max-width:1200px;margin:auto;padding:0 40px}header{height:88px;display:flex;align-items:center;border-bottom:1px solid var(--line)}header a{font-size:25px;font-weight:650;letter-spacing:-.8px;text-decoration:none}main{padding:30px 0 50px}section{padding:25px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:20px}.landing{max-width:560px;margin:30px auto}.landing section{padding:30px}.landing h1,.landing h2{margin-bottom:23px}.button{display:inline-block;border:1px solid var(--line);border-radius:9px;padding:13px 18px;text-decoration:none;font-size:14px}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#4d3566;border-color:#4d3566}.secondary{background:#eee8f4;color:#544069;border-color:#ded3e8}.error{background:#fff1ec;color:#904e38;padding:15px 18px;margin-top:20px;border:1px solid #eccdbf;border-radius:10px;font-size:13px;overflow-wrap:anywhere}.error-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.save-status{font-size:11px;color:#7d6e8c;white-space:nowrap}.share{display:flex;align-items:end;gap:12px;margin-bottom:26px;padding:18px 22px;border:1px solid #ddd2e8;border-radius:12px;background:#ece3f4}.share label{flex:1;min-width:0;font-size:11px;font-weight:500;color:#7c6d8b}.share input{margin-top:7px;font-size:12px;background:#faf8fc;border-color:#dfd6e8;padding:12px}.share button{background:var(--accent);color:#fff;border-color:var(--accent);white-space:nowrap}.receipt-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:25px;align-items:start}.content,aside{min-width:0}aside{position:sticky;top:22px}aside img{width:100%;max-height:520px;object-fit:contain;display:block;background:#f2eff5;border-radius:8px}details{margin-top:17px;font-size:11px;color:#7e6d8e}summary{cursor:pointer;padding:5px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font-size:11px;background:#f5f2f9;padding:12px;border-radius:6px}.people{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:21px}.person{display:inline-flex;align-items:center;background:#f9f7fb;border:1px solid var(--line);border-radius:30px;padding-right:2px;max-width:100%}.person:has(.selected){background:#eadff5;border-color:#a686c6}.person-chip{padding:5px 7px 5px 5px;border:0;background:transparent;border-radius:30px;font-size:13px;font-weight:500;min-width:0;overflow-wrap:anywhere}.person-chip:hover{background:transparent;border-color:transparent}.person-chip.selected{color:#4a3263}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:30px;height:30px;font-size:11px;font-weight:600;color:#604b75;background:#e2d8ed;flex-shrink:0}.tone-1{background:#eee5d7;color:#876b49}.tone-2{background:#e5eaf0;color:#6c7d93}.tone-3{background:#f1e6df;color:#936f62}.remove-person{width:38px;min-height:44px;flex-shrink:0;padding:0;border:0;border-radius:50%;background:transparent;color:#8a7c99}.remove-person:hover{background:transparent;color:#a26749}.add-person{display:flex;gap:10px}.add-person input{flex:1;background:#fbf9fd}.hint{font-size:11px;color:#8a7d98;margin-bottom:15px}.item-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid #ece7f0;min-height:76px}.claim{display:flex;align-items:center;gap:13px;flex:1;min-width:0;text-align:left;padding:17px 0;border:0;border-radius:6px;background:transparent;font-weight:400}.claim:hover{border-color:transparent;background:#f7f4fa}.claim:disabled{color:inherit;opacity:1}.check{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border:1px solid #d5c8e2;color:#a89ab7;border-radius:7px}.claim[aria-pressed=true] .check{background:#ceadef;border-color:#bd99e2;color:#5e417b}.item-text{flex:1;min-width:0;overflow-wrap:anywhere}.item-text strong{font-size:13px;font-weight:550;line-height:1.5}.item-text small{display:block;font-size:10px;color:#8b789d;margin-top:5px;line-height:1.5}.line-total{font-size:13px;font-weight:550;white-space:nowrap}.icon-button{width:40px;min-height:44px;flex-shrink:0;padding:0;border:0;color:#998ba8;background:transparent;border-radius:8px}.icon-button:hover{background:#eee7f5;border-color:transparent;color:#5f437c}.add{display:flex;width:100%;margin-top:18px;font-size:12px;background:#f5f1f9;color:#735b8b;border:1px dashed #d6cae3;min-height:45px}.add:hover{background:#eae2f3}.edit-line{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:12px;background:#f5f1fa;border:1px solid #dbcde8;padding:15px;border-radius:10px;margin:10px 0}.edit-line label>span{display:block;font-size:10px;font-weight:500;color:#7b698d;margin-bottom:7px}.amount{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding-left:12px;background:#fff;font-size:13px;color:#9282a1}.amount input{border:0;text-align:right;padding:12px 10px;font-size:14px;border-radius:8px}.amount:focus-within{outline:2px solid #9775b9}.amount input:focus{outline:0}.line-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}.line-actions button{font-size:11px;padding:6px 8px;min-height:38px;border:0;background:transparent}.text-button{color:#6d5585}.delete-line{color:#9c7f68}.line-actions button:hover{background:#ebe3f3}.basic-charges{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:13px}.basic-charges label{font-size:11px;font-weight:500;color:#7e6e8e}.basic-charges .amount{margin-top:8px}.charge-display{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:18px 0}.total-row,.bill>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}.total-row{border-bottom:1px solid #ece7f0;font-size:13px}.total-row strong{font-weight:550}.total-person{display:inline-flex;align-items:center;gap:11px;min-width:0;overflow-wrap:anywhere}.total-row:has(>span:first-child:not(.total-person)){color:#969775}.bill{border-top:1px dashed #dad2e3;margin-top:20px;padding-top:13px;font-size:11px;color:#857893}.bill>div{padding:8px 0}.bill .grand{border-top:1px solid #e6dfec;font-size:18px;margin-top:14px;padding-top:20px;color:#463754}.grand strong{font-weight:550}.warning{font-size:11px;color:#997c4d;background:#fbf5e8;border:1px solid #f0e2c2;padding:12px;border-radius:8px;margin-top:15px;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1000px){.shell{padding:0 28px}.receipt-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}section{padding:21px}}@media(max-width:760px){.shell{padding:0 20px}header{height:76px}header a{font-size:24px}main{padding-top:22px}.landing{margin:10px auto}.landing section{padding:24px}.receipt-grid{grid-template-columns:1fr;gap:0}section{padding:21px 18px;margin-bottom:17px;border-radius:13px}.share{padding:16px;flex-wrap:wrap;gap:11px}.share label{flex-basis:100%}.share button{width:100%}.add-person input{min-width:0}.add-person button{padding:12px;font-size:12px;white-space:nowrap}.add-person button svg{width:14px}.person-chip{font-size:12px}.edit-line{grid-template-columns:minmax(0,1fr) 94px;gap:9px;padding:12px}.edit-line input{padding:12px 10px}.line-actions button{font-size:11px}.claim{gap:10px}.item-text strong,.line-total{font-size:12px}.item-text small{font-size:10px}.item-row{gap:3px}.icon-button{width:34px}.total-row{font-size:12px}.basic-charges{gap:12px}input,.amount input,.edit-line input{font-size:16px}aside{position:static}aside img{max-height:600px}.share input{font-size:12px}}@media(prefers-reduced-motion:reduce){button{transition:none}}.share-compact{background:transparent;border:0;padding:0;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.share-compact button{min-height:43px}.copy-fallback{flex-basis:100%;max-width:650px;font-size:11px}.copy-fallback input{background:#fff}.split-note{margin-top:-9px;margin-bottom:17px;line-height:1.6}.line-actions{flex-wrap:wrap}.editor-save{display:flex;gap:8px;align-items:center;margin-left:auto}.editor-save button{border:1px solid #dcd1e6;background:#fff;min-height:40px;padding:9px 13px}.editor-save button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.person-total{border-bottom:1px solid #ece7f0}.total-toggle{display:flex;width:100%;text-align:left;border:0;border-radius:6px;min-height:58px;background:transparent;padding:14px 0;gap:12px}.total-toggle strong{margin-left:auto;white-space:nowrap}.total-toggle svg{color:#8d7b9f;flex-shrink:0;transition:transform .15s}.total-toggle svg.expanded{transform:rotate(180deg)}.breakdown{background:#f6f2fa;border-radius:8px;padding:12px 14px;margin-bottom:13px;font-size:11px;color:#7a698c}.breakdown>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;line-height:1.5}.breakdown>div>span:first-child{overflow-wrap:anywhere;min-width:0}.breakdown>div>span:last-child{white-space:nowrap}.breakdown>p{padding:7px 0}.breakdown .allocated{border-top:1px solid #e1d9e9;margin-top:7px;padding-top:12px}.breakdown .breakdown-total{border-top:1px solid #ded4e8;margin-top:7px;padding-top:12px;color:#49365c}@media(max-width:760px){.share-compact button{width:auto}.editor-save{flex-basis:100%;justify-content:flex-end}.line-actions>.text-button{padding-left:0;max-width:75%;text-align:left;line-height:1.5}.breakdown{font-size:12px}.total-toggle{gap:9px}.total-person{gap:8px}}.landing h1{margin-bottom:10px}.landing .retention-note{margin-bottom:23px;line-height:1.6}.receipt-share-heading{margin-bottom:16px;line-height:1.4}.upload-actions{display:flex;align-items:center;gap:10px}.camera-button{width:46px;min-height:44px;padding:10px;flex-shrink:0}.claiming-note{line-height:1.6}.claiming-note strong{color:var(--accent);font-weight:600}.charge-amount-error{font-size:12px;color:#904e38;line-height:1.5;margin:0 0 14px}.amount:has(input[aria-invalid=true]){border-color:#b46950}.charge-amount-error{min-height:18px}.line-amount-error{grid-column:1/-1;font-size:12px;color:#904e38;line-height:1.5}.charge-add-actions{display:flex;flex-wrap:wrap;gap:10px}.charge-add-actions .add{flex:1;min-width:110px}.edit-line input[readonly]{background:#f6f2fa;border-color:transparent;outline:none}.page-view{min-width:0;max-width:900px;margin:0 auto}.page-view>section{min-width:0;overflow:hidden}.page-heading{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin:0 0 22px;min-width:0}.page-title-line{display:flex;align-items:center;gap:7px;min-width:0}.page-title-line h1{overflow-wrap:anywhere}.page-heading .page-title-edit{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-width:0;margin:0}.page-heading .page-title-edit input{min-width:0;max-width:520px}.page-heading .page-title-edit button{min-height:40px;padding:8px 12px}.page-view .person-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px}.page-view .add-person{max-width:none}.page-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:end;min-width:0}.page-form>label{display:block;min-width:0;font-size:11px;font-weight:550;color:#786888}.page-form>label>input,.page-form>label>select{display:block;margin-top:7px;min-height:46px}.page-form select,.group-receipt-controls select{width:100%;min-width:0;min-height:46px;padding:10px 36px 10px 12px;border:1px solid var(--line);border-radius:8px;background-color:#fff;color:inherit;font:inherit;font-size:14px}.page-form select:focus,.group-receipt-controls select:focus{outline:2px solid #9775b9;outline-offset:0}.page-form .amount{margin-top:7px;min-height:46px}.page-form .amount input{min-height:42px}.page-form .field-wide{grid-column:1/-1;min-width:0}.page-form .field-label{display:block;font-size:11px;font-weight:550;color:#786888;margin-bottom:9px}.member-checks{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.member-checks label{display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:#faf8fc;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.member-checks input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;min-width:20px;margin:0;padding:0;border:1px solid #cbbcd8;border-radius:5px;background:#fff;display:grid;place-items:center;cursor:pointer}.member-checks input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}.member-checks input[type=checkbox]:checked:after{content:"";width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}.member-checks input[type=checkbox]:focus-visible{outline:3px solid #9470b8;outline-offset:2px}.page-form .warning{margin:0}.page-form>.primary{min-height:46px}.page-form .form-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}.page-form .form-buttons button{min-height:44px;padding:10px 16px;font-size:13px}.history{display:grid;gap:0;min-width:0}.history .item-row{min-height:76px;gap:6px}.history .item-text{padding:12px 0}.history-times{display:block;color:#8b789d;font-size:10px;margin-top:4px;line-height:1.5}.history .receipt-pending{display:inline-block;vertical-align:baseline;margin:0 0 0 7px;padding:2px 7px;border-radius:6px;background:#fbf5e8;color:#997c4d;font-size:10px;font-weight:550;line-height:1.5}.receipt-pending{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;line-height:1.6;color:#8a7d98;margin-top:10px}.receipt-pending>span{padding:3px 8px;border-radius:6px;background:#fbf5e8;color:#997c4d;font-size:10px;font-weight:550}.receipt-state{font-size:11px;color:#8a7d98;line-height:1.6;margin-top:10px}.history-receipt-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.history-edit-form{width:100%;grid-column:1/-1;margin:10px 0}.history-toggle{justify-self:start;margin-top:14px;min-height:38px;padding:8px 12px;background:transparent;border:0;color:#735b8b;font-size:12px}.history-toggle:hover{background:#f5f1f9}.balance-list{display:grid;gap:0}.balance-row{display:flex;align-items:center;gap:11px;min-width:0;padding:14px 0;border:0;border-bottom:1px solid #ece7f0;border-radius:0;background:transparent}.balance-row:last-child{border-bottom:0}.balance-row>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:550}.balance-row>strong{white-space:nowrap;font-size:13px;font-weight:550}.balance-row .positive{color:#39745c}.balance-row .negative{color:#9b554b}.settlement-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eee8f2;min-width:0}.settlement-row:last-child{border-bottom:0}.settlement-row>span{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.settlement-row>strong{white-space:nowrap;font-size:13px}.settlements .warning{margin:0 0 12px}.group-receipt-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.group-receipt-controls .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;background:#f8f5fa;border:1px solid var(--line);border-radius:9px;text-decoration:none;font-size:13px}.group-receipt-controls label{display:block;flex:1;min-width:min(220px,100%);font-size:11px;font-weight:550;color:#786888}.group-receipt-controls select{display:block;margin-top:7px}.page-view .error{overflow-wrap:anywhere}.page-actions-section .page-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.page-actions-section .page-action-buttons .add{margin:0;min-width:0;white-space:normal;line-height:1.4}.page-action-form{border-top:1px solid #ece7f0;margin-top:20px;padding-top:20px}.page-action-form>h2{margin:0 0 16px;font-size:15px}.page-action-form .upload-actions{flex-wrap:wrap}.page-summary h3{font-size:14px;font-weight:600;margin:24px 0 8px;padding-top:18px;border-top:1px solid #ece7f0}.page-summary .pending-guidance{font-size:11px;color:#8a7d98;line-height:1.5;margin:0 0 10px}.page-summary>.hint{margin:8px 0 0}.page-view .page-heading{margin-bottom:12px}@media(max-width:760px){.page-heading .page-title-edit{width:100%;grid-template-columns:minmax(0,1fr) auto auto}.page-heading .page-title-edit input{flex:1;width:100%}.page-form{grid-template-columns:minmax(0,1fr);gap:14px}.page-form .field-wide{grid-column:1}.history-edit-form{grid-template-columns:minmax(0,1fr)}.settlement-row{grid-template-columns:minmax(0,1fr) auto;gap:9px 12px}.settlement-row button{grid-column:2;grid-row:1 / span 2}.settlement-row>strong{grid-column:1;grid-row:2}.group-receipt-controls{align-items:stretch}.group-receipt-controls .button,.group-receipt-controls label{width:100%;min-width:0}}@media(max-width:420px){.page-actions-section .page-action-buttons{grid-template-columns:minmax(0,1fr)}.member-checks{gap:6px}.member-checks label{padding:6px 9px;font-size:11px}}.nested-receipt-heading{margin:8px 0 16px}.nested-title-line{display:flex;align-items:center;gap:5px;min-width:0}.nested-title-line h1{min-width:0;overflow-wrap:anywhere}.nested-title-form{display:flex;align-items:center;gap:7px;width:100%;max-width:620px}.nested-title-form input{flex:1;min-width:0}.nested-title-form button{min-height:42px;padding:8px 12px}.group-receipt-controls{align-items:center;gap:12px;margin:0 0 20px}.group-receipt-controls .button{min-height:36px;padding:4px 0;border:0;background:transparent;color:#705b85;font-size:12px}.group-receipt-controls .button:hover{background:transparent;border-color:transparent;text-decoration:underline}.group-receipt-controls label{display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;font-size:12px;font-weight:550;color:#786888}.group-receipt-controls label select{width:auto;min-width:150px;min-height:38px;margin:0;padding:7px 34px 7px 10px;font-size:13px}.page-receipt-upload{display:flex;align-items:stretch;gap:6px;min-width:0}.page-receipt-upload .add{flex:1;margin:0}.page-receipt-upload .camera-button{width:44px;padding:8px;flex:0 0 44px}.split-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.split-heading .field-label{margin:0!important}.split-heading .text-button{min-height:34px;padding:5px 2px;border:0;background:transparent;color:#705b85;font-size:11px}.split-heading .text-button:hover{background:transparent;text-decoration:underline}.page-summary h3{font-size:17px;font-weight:600;margin:24px 0 8px;padding-top:18px;border-top:1px solid #ece7f0}@media(max-width:760px){.group-receipt-controls{align-items:center}.group-receipt-controls .button,.group-receipt-controls label{width:auto;min-width:0}.nested-title-form{flex-wrap:wrap}.nested-title-form input{flex-basis:100%}}.upload-control-group{display:flex;align-items:stretch;gap:0;min-width:0;border:1px solid #cbbbd9;border-radius:10px;overflow:hidden;background:#f5f1f9}.upload-control-group>button{border:0;border-radius:0;box-shadow:none}.upload-control-group>button+button{border-left:1px solid #cbbbd9}.upload-control-group>button:hover{border-color:transparent}.upload-control-group>button:focus-visible{position:relative;z-index:1;outline-offset:-3px}.upload-actions.upload-control-group{width:max-content;max-width:100%}.upload-actions.upload-control-group .primary{min-height:46px;padding:11px 17px}.upload-actions.upload-control-group .camera-button{width:48px;min-height:46px;padding:10px;color:#604b75;background:#f5f1f9}.page-receipt-upload.upload-control-group .add{min-width:0;min-height:46px;margin:0;padding:10px 12px;border:0;border-radius:0;background:#f5f1f9;color:#604b75}.page-receipt-upload.upload-control-group .camera-button{width:46px;flex:0 0 46px;min-height:46px;padding:8px;border-radius:0;background:#f5f1f9;color:#604b75}.upload-control-group>button:hover{background:#eae2f3}.page-form select,.group-receipt-controls select{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%237b698d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;font-family:inherit}.group-receipt-controls label{gap:9px}.group-receipt-controls label select{width:auto;field-sizing:content;min-width:85px;max-width:min(360px,calc(100vw - 155px));padding-right:34px;background-position:right 10px center}.member-checks input[type=checkbox]:indeterminate{background:#eee7f5;border-color:#a88dbc}.member-checks input[type=checkbox]:indeterminate:after{content:"";width:9px;height:2px;border:0;border-radius:2px;background:#5e417b;transform:none}.member-checks .select-all-member{color:#604b75;background:#f5f1f9}.deleted-badge{display:inline-block;vertical-align:middle;margin-left:5px;padding:2px 7px;border-radius:6px;background:#eee8f4;color:#796987;font-size:10px;font-weight:550;line-height:1.5}.history-deleted .item-text,.history-deleted .line-total{color:#82788a}.history-deleted .history-times{color:#968c9d}.restore-button{color:#725a89}.restore-button:hover{color:#50366a}.page-actions-section .page-action-buttons>.add{border-style:solid;border-color:#cbbbd9}.settlement-row button{background:var(--accent);border-color:var(--accent);color:#fff}.settlement-row button:hover{background:#4d3566;border-color:#4d3566}.history-only>section:not(.history-section){display:none}.history-page-heading{display:flex;align-items:center;gap:18px;margin:0 0 22px}.history-page-heading .button{padding:9px 12px;background:#f8f5fa;color:#705b85;font-size:12px}.history-filters{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:14px 20px;margin:0 0 16px}.history-search{display:block;font-size:11px;font-weight:550;color:#786888}.history-search input{display:block;margin-top:7px;min-height:44px}.history-deleted-filter{display:flex;align-items:center;gap:9px;min-height:44px;font-size:12px;color:#604b75}.history-deleted-filter input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.history-member-filter{grid-column:1/-1;border:0;border-top:1px solid #ece7f0;margin:2px 0 0;padding:14px 0 0;min-width:0}.history-member-filter legend{padding:0 8px 0 0;font-size:11px;font-weight:550;color:#786888}.history-member-filter small{display:block;margin-top:8px;font-size:10px;color:#8b789d}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 0;margin-top:12px;border-top:1px solid #ece7f0;color:#7d7585;font-size:11px}.history-pagination>div{display:flex;gap:8px}.history-pagination button{min-height:38px;padding:8px 12px}.sample-link{display:flex;width:max-content;max-width:100%;min-height:40px;margin-top:14px;padding:8px 12px;border-color:#d6cae3;background:#f5f1f9;color:#604b75;font-size:12px}.sample-link:hover{background:#eae2f3}.sample-banner{margin:0 0 18px;padding:11px 14px;border:1px solid #d6cae3;border-radius:9px;background:#f5f1f9;color:#604b75;font-size:12px;line-height:1.5}.settlement-row .suggested-record{background:#f5f1f9;border:1px solid #d6cae3;color:#735b8b}.settlement-row .suggested-record:hover{background:#eae2f3;border-color:#c4b5d4}.page-return-button{display:inline-flex;align-items:center;justify-content:flex-start;max-width:100%;min-width:0;min-height:36px;padding:5px 0;border:0;border-radius:0;background:transparent;color:#705b85;text-decoration:underline;font-size:12px;font-weight:400;line-height:1.4;text-align:left;white-space:normal;overflow-wrap:anywhere}.page-return-button:hover{background:transparent;border-color:transparent;color:#604b75}.history-page-heading{min-width:0;flex-wrap:wrap}.history-page-heading h1{min-width:0;overflow-wrap:anywhere}.nested-return-row{margin:0 0 14px;min-width:0}@media(max-width:760px){.history-page-heading{align-items:flex-start;flex-direction:column;gap:13px}.history-filters{grid-template-columns:minmax(0,1fr)}.history-member-filter{grid-column:1}}@media(max-width:760px){.group-receipt-controls label{justify-content:flex-start;flex:0 1 auto;min-width:0}.group-receipt-controls label select{min-width:0;max-width:calc(100vw - 165px);font-size:16px;padding:7px 32px 7px 10px}.page-receipt-upload.upload-control-group{width:100%}.upload-actions.upload-control-group{max-width:100%}}.landing>.home-mode-card>h1,.landing>.home-mode-card>h2{font-size:25px;font-weight:550;letter-spacing:-.6px;margin-bottom:10px}.landing>.home-mode-card>.hint{line-height:1.6;margin-bottom:23px}.home-receipt-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.home-receipt-actions>.primary{flex:1 1 145px;min-width:135px;min-height:44px}.home-receipt-actions>.camera-button{flex:0 0 46px;width:46px;min-height:44px;padding:9px;background:#fff;border:1px solid var(--line);color:#604b75}.home-receipt-actions>.sample-link{flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:9px 12px;font-size:13px}.home-page-card .create-page{display:flex;flex-direction:column;gap:12px;min-width:0}.home-page-actions{display:flex;flex-wrap:wrap;gap:10px;min-width:0}.home-page-actions>.primary,.home-page-actions>.sample-link{flex:1 1 140px;min-width:0;min-height:44px;margin:0;padding:9px 12px;font-size:13px}@media(max-width:760px){.home-receipt-actions>.sample-link{flex:0 0 100%;width:100%}}.capacity-notice{margin:12px 0 0;padding:10px 14px;border:1px solid #eadbb8;border-radius:9px;background:#fff9eb;color:#765a2f;font-size:12px;line-height:1.5}.capacity-blocked{border-color:#eccdbf;background:#fff1ec;color:#904e38}.photo-retention-hint{margin:0 0 14px;color:#8a7d98;font-size:11px;line-height:1.5}.page-actions-section .photo-retention-hint{margin:10px 0 0}.photo-expired{color:#7d7585;font-size:12px;line-height:1.6}.sample-photo-disabled{opacity:.55;cursor:default}.upload-queue{margin:1rem 0;padding:1rem;border:1px solid var(--border,#ddd);border-radius:12px;background:var(--surface,#fff)}.upload-job{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;padding:.5rem 0}.upload-job>span{flex:1;min-width:180px}.receipt-progress{max-width:680px;margin:1.5rem auto}.receipt-progress-card{margin-top:24px;padding:28px;border:1px solid #e4dce9;border-radius:16px;background:linear-gradient(145deg,#fff,#faf7fc);box-shadow:0 8px 28px #39234e08}.receipt-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.receipt-processing-status{margin:0;font-size:17px;font-weight:600;color:#39234e}.receipt-progress-count{font-size:12px;color:#806e8e;font-variant-numeric:tabular-nums;white-space:nowrap}.receipt-queue-position{display:inline-block;margin:12px 0 0;padding:5px 10px;border-radius:20px;background:#eee6f5;color:#604b75;font-size:12px}.receipt-progress-track{height:8px;margin:24px 0 20px;overflow:hidden;border-radius:8px;background:#eae2f0}.receipt-progress-fill{position:relative;height:100%;border-radius:inherit;background:linear-gradient(90deg,#725089,#a784bf);overflow:hidden}.receipt-progress-fill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,#ffffff50,transparent);transform:translate(-100%);animation:receipt-progress-shine 2.4s ease-in-out infinite}.receipt-progress-stages{display:flex;justify-content:space-between;gap:8px;margin:0;padding:0;list-style:none}.receipt-progress-stages li{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;color:#95849f;font-size:12px}.receipt-stage-dot{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #dfd4e6;border-radius:50%;font-size:11px;background:#fff}.receipt-progress-stages .done{color:#725089}.receipt-progress-stages .done .receipt-stage-dot{background:#eee6f5;border-color:#eee6f5}.receipt-progress-stages .current{color:#39234e;font-weight:600}.receipt-progress-stages .current .receipt-stage-dot{background:#725089;border-color:#725089;color:#fff;box-shadow:0 0 0 4px #eee6f5}@keyframes receipt-progress-shine{to{transform:translate(100%)}}@media(max-width:480px){.receipt-progress-card{padding:22px 18px}.receipt-processing-status{font-size:15px}.receipt-progress-stages li{font-size:11px}}@media(prefers-reduced-motion:reduce){.receipt-progress-fill{transition:none}.receipt-progress-fill:after{animation:none;display:none}}
