:root{font-family:'DM Sans',system-ui,sans-serif;color:#203d35;background:#f7f8f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;font-weight:600;transition:.15s}button:hover{filter:brightness(.94);transform:translateY(-1px)}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b48b39;outline-offset:3px}header{height:84px;border-bottom:1px solid #e1e7de;display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100vw - 1250px)/2))}.brand{text-decoration:none;color:#173e34;font-size:30px;display:flex;gap:10px;align-items:center;font-weight:800;letter-spacing:-1.5px}.dot{color:#a7be6c}.saved{font-size:12px;color:#6a7c71}.saved:before{content:'●';color:#76966d;margin-right:7px}main{max-width:1250px;margin:auto;padding:47px 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#78906d}h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(29px,4vw,43px);letter-spacing:-1.8px;font-weight:600;margin:10px 0}p{color:#7b857d;font-size:14px;line-height:1.6;margin:7px 0}.outline{border:1px solid #d9e1d4;background:transparent;color:#284638}.primary{background:#234c3e;color:white}.summary{display:grid;grid-template-columns:1fr 1fr 1.2fr 1fr;margin:36px 0 43px;background:#edf0e7;border:1px solid #e0e5d7;border-radius:16px;padding:29px 32px;gap:24px}.summary>div{border-right:1px solid #d9dfcf}.summary>div:last-child{border:0}.summary span{font-size:12px;color:#697761}.summary strong{display:block;font-family:Manrope,system-ui;font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:8px}.summary .remaining strong{color:#315d37}.summary-note{font-size:16px;line-height:1.5;display:flex;align-items:center;justify-content:space-between;color:#617751}.summary-note span{font-size:42px;color:#94a77d}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{margin:0;font-size:16px}.toolbar p{font-size:12px;margin-bottom:0}.actions{display:flex;gap:9px}.checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px}.check{border:1px solid #dce4d7;background:white;border-radius:15px;overflow:hidden;min-width:0}.check-top{padding:24px 24px 18px;background:#f0f4eb;border-bottom:1px solid #e3e9dc}.check:nth-child(3n + 2) .check-top{background:#f1f0e9}.check:nth-child(3n) .check-top{background:#eaf1ef}.check-heading{display:flex;justify-content:space-between;align-items:center}.check-heading small{color:#788371;display:block;margin-top:5px}.icon{padding:5px 9px;background:transparent;color:#7c8876;font-size:19px}.check-income{font:600 30px Manrope,system-ui;letter-spacing:-1px;margin-top:15px}.check-income small{font:12px 'DM Sans',system-ui;color:#7c8876;margin-left:8px;letter-spacing:0}.check-bills{padding:16px;min-height:155px;transition:.15s}.drop-over{outline:2px dashed #54794a;outline-offset:-6px;background:#edf4e6!important}.bill{border:1px solid #e3e7df;border-radius:10px;background:white;padding:15px;margin-bottom:10px;box-shadow:0 2px 3px #233a2803}.bill[draggable=true]{cursor:grab}.bill-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.bill-name{font-size:14px;font-weight:600;overflow-wrap:anywhere}.bill-name:before{content:'⠿';color:#a8b09f;margin-right:8px}.bill-amount{font-size:14px;font-weight:700;white-space:nowrap}.bill-date{font-size:11px;color:#87917f;margin:5px 0 10px 18px}.bill-bottom{display:flex;align-items:center;gap:5px}.bill select{width:100%;min-width:0;font-size:11px;padding:7px;background:#f8f9f5;border:1px solid #e8ece2;border-radius:6px;color:#5f7058}.mini{padding:6px 7px;background:#f5f7f1;color:#6c7b61;font-size:11px;white-space:nowrap}.mini.active{background:#dce7d0;color:#264a31}.check-total{padding:16px 24px 21px;border-top:1px solid #edf0e7}.total-row{display:flex;justify-content:space-between;font-size:12px;color:#7a8772;margin-bottom:10px}.left-row{font-size:16px;font-weight:600;color:#345e3c}.bar{height:5px;background:#eef2e9;border-radius:10px;overflow:hidden;margin-top:14px}.bar span{display:block;background:#96ae70;height:100%;border-radius:10px}.negative{color:#b04b3d!important}.empty{text-align:center;border:1px dashed #dce3d4;border-radius:9px;padding:30px 15px;color:#8a967f;font-size:12px}.bill-section{margin-top:35px;background:#f0f2eb;border:1px solid #e3e7db;border-radius:15px;padding:24px}.badge{font-size:11px;vertical-align:middle;background:#e0e6d7;color:#687f54;border-radius:30px;padding:4px 8px;margin-left:7px}.unassigned{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;min-height:65px}.unassigned .bill{margin:0}.unassigned .empty{grid-column:1/-1;padding:22px}footer{display:flex;justify-content:space-between;gap:20px;color:#8a9382;font-size:11px;margin:24px 0}.help{font-size:12px;color:#76816e;max-width:780px}.help p{font-size:12px}#notice:not(:empty){padding:13px 16px;background:#fff4da;border:1px solid #eddfba;border-radius:9px;color:#87632e;margin-bottom:18px;font-size:13px}dialog{width:min(440px,calc(100% - 30px));border:1px solid #d7e0cf;border-radius:17px;padding:26px;color:#294735;box-shadow:0 20px 100px #163b3426}dialog::backdrop{background:#19362c55;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}label{display:block;font-size:12px;font-weight:600;margin-bottom:18px}input{display:block;width:100%;border:1px solid #d9e1d1;background:#fafbf7;color:#294735;border-radius:8px;padding:12px;margin-top:7px;min-width:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.modal-actions{display:flex;justify-content:space-between;margin-top:25px}.danger{background:#faeee9;color:#a25041}.hint{font-size:12px}@media(max-width:650px){header{height:68px;padding:0 20px}.brand{font-size:25px}.saved{font-size:10px}main{padding:28px 16px}.intro{align-items:flex-start}.intro .outline{font-size:10px;padding:9px;white-space:nowrap;margin-top:5px}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:29px;letter-spacing:-1.3px}.intro p{font-size:12px}.summary{grid-template-columns:1fr 1fr;padding:21px;gap:22px;margin:26px 0}.summary>div{border:0}.summary strong{font-size:25px}.summary-note{font-size:13px}.toolbar{flex-wrap:wrap}.toolbar p{font-size:11px}.actions{width:100%}.actions button{flex:1}.checks{grid-template-columns:1fr}.bill-section{padding:18px;margin-top:25px}footer{flex-direction:column;gap:8px}.check-bills{min-height:100px}}
/* A quiet board, following the user's sketch. */
:root{background:#fcfcfa;color:#293b33}header{height:65px;padding:0 5%;border-bottom:1px solid #eeeeE8}.brand{font-size:24px}main{max-width:1000px;padding-top:30px}h1{font-size:23px;letter-spacing:-.7px;margin:0 0 5px}.toolbar p{font-size:12px}.toolbar{margin-bottom:18px}.actions button{padding:9px 12px;font-size:12px}.totals-line{display:flex;gap:26px;font-size:12px;color:#7b857d;margin:0 0 30px}.totals-line b{font-weight:600;color:#294735;margin-left:5px}.checks{display:flex;gap:26px;justify-content:center;align-items:stretch;overflow-x:auto;padding:3px 2px 12px}.check{flex:1 0 225px;max-width:330px;border:1.5px solid #cad3c7;border-radius:26px;background:#fff;min-height:400px;display:flex;flex-direction:column;overflow:hidden}.check-top,.check:nth-child(3n + 2) .check-top,.check:nth-child(3n) .check-top{background:none;border:0;padding:19px 18px 12px}.check-heading h3{font-size:16px}.check-heading small{font-size:10px}.check-income{font:600 22px 'DM Sans',system-ui;margin-top:9px;letter-spacing:-.5px}.check-income small{font-size:10px}.check-bills{flex:1;padding:7px 12px;min-height:220px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.bill{display:flex;align-items:center;border:1px solid #d3deca;border-radius:20px;background:#f1f5ec;box-shadow:none;padding:0;margin:0;max-width:100%;width:max-content;overflow:hidden}.pill-main{display:flex;align-items:center;gap:6px;min-width:0;background:transparent;padding:9px 3px 9px 11px;font-size:12px;color:#304a32;text-align:left;font-weight:400;border-radius:0;cursor:grab}.pill-main span{overflow-wrap:anywhere}.pill-main strong{font-weight:600;white-space:nowrap}.pill-main small{font-size:9px}.pill-edit{background:transparent;color:#6f8264;font-size:17px;padding:6px 9px 6px 6px;flex-shrink:0;border-radius:0;min-height:36px}.bill.selected{outline:2px solid #61884b;outline-offset:2px}.check-total{padding:14px 17px;border-top:1px solid #edf0e8;background:none}.total-row{font-size:11px;margin-bottom:7px}.left-row{font-size:14px;margin:0}.bar{display:none}.empty{border:0;background:none;color:#929c8b;font-size:11px;padding:35px 8px;width:100%;align-self:center}.bill-section{background:none;border:1.5px solid #cad3c7;border-radius:25px;margin-top:27px;padding:19px 20px;min-height:160px}.bill-section h2{font-size:15px}.bill-section .toolbar{margin-bottom:15px}.bill-section .toolbar p{display:none}.unassigned{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start;align-items:flex-start;min-height:60px}.unassigned .empty{padding:20px}.badge{background:none;padding:0;color:#909a86}.drop-over{background:#f6f8f1!important;outline:2px dashed #73905f;outline-offset:-6px}footer{font-size:10px;margin:18px 0}.help{font-size:10px}.help p{font-size:11px}.saved{font-size:10px}.checkbox{display:flex;align-items:center;gap:8px;font-weight:400}.checkbox input{width:auto;margin:0}#editAssignment{display:block;width:100%;margin-top:7px;border:1px solid #d9e1d1;border-radius:8px;padding:11px;color:#294735;background:#fafbf7}#splitEditor{font-size:12px;padding:9px 12px}#billOptions[hidden]{display:none}@media(max-width:650px){main{padding:23px 12px}.toolbar{gap:14px}h1{font-size:21px}.actions{gap:6px}.actions button{padding:9px 7px;font-size:11px;flex:auto}.totals-line{justify-content:space-between;gap:7px;font-size:10px;margin-bottom:22px}.totals-line b{display:block;margin:4px 0 0;font-size:14px}.checks{gap:10px;justify-content:flex-start}.check{flex:1 0 calc(50% - 6px);min-width:0;max-width:none;min-height:365px;border-radius:22px}.check:only-child{max-width:330px;margin:auto}.check-top{padding:14px 10px 10px!important}.check-heading h3{font-size:14px;overflow-wrap:anywhere}.check-heading .icon{padding:5px;font-size:17px}.check-income{font-size:20px}.check-income small{display:block;margin:3px 0 0}.check-bills{padding:6px 7px;min-height:190px}.pill-main{font-size:11px;gap:4px;padding:8px 0 8px 8px;flex-wrap:wrap}.pill-edit{padding:5px 6px;font-size:16px}.check-total{padding:12px 10px}.left-row{font-size:12px;gap:4px}.total-row{font-size:10px}.bill-section{padding:16px 14px;min-height:150px}.bill-section .toolbar{flex-wrap:nowrap}.bill-section .outline{font-size:11px;padding:8px}.checks:has(.check:nth-child(3)) .check{flex:0 0 175px}.checks:has(.check:nth-child(3)){scroll-snap-type:x proximity}.check{scroll-snap-align:start}header{padding:0 16px}}
/* Minimal bubbles: labels above, balances below, editing on demand. */
.check{border:0;border-radius:0;background:transparent;overflow:visible;min-height:430px}
.check-top,.check:nth-child(3n + 2) .check-top,.check:nth-child(3n) .check-top{padding:4px 14px 12px!important}
.check-heading{position:relative;justify-content:center;text-align:center;min-height:42px}
.check-heading h3{font-weight:500;font-size:17px}.check-heading small{font-size:11px;margin-top:4px}
.check-heading .icon{position:absolute;right:0;top:0;background:#fcfcfa;border-radius:50%}
.check-shell{display:flex;flex-direction:column;flex:1;border:1.5px solid #aeb9ae;border-radius:30px;background:transparent;min-width:0}
.check-total{border:0;padding:20px 17px}.total-row{font-size:12px;color:#6a786e}.left-row{font-size:15px;color:#293b33;font-weight:500}
.bill{position:relative;background:#fff;border:1px solid #bdc8bd;border-radius:24px;overflow:visible;max-width:100%}
.pill-main{padding:9px 12px;border-radius:24px;font-weight:400;cursor:grab;flex-wrap:wrap}
.pill-main strong{font-weight:500}.pill-edit{position:absolute;right:-5px;top:-14px;background:#fff;border:1px solid #bdc8bd;border-radius:50%;width:29px;min-height:29px;height:29px;padding:0;font-size:16px;z-index:2}
.pill-edit,.check-heading .icon{opacity:0;pointer-events:none;transition:opacity .15s}
@media(hover:hover) and (pointer:fine){.bill:hover .pill-edit,.check:hover>.check-top .icon{opacity:1;pointer-events:auto}}
.bill:focus-within .pill-edit:focus-visible,.check-heading .icon:focus-visible{opacity:1;pointer-events:auto}
.check,.bill{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.check-bills{gap:12px;padding:16px 10px}.check.drop-over{outline:0;background:transparent!important}.check.drop-over .check-shell{outline:2px dashed #73905f;outline-offset:-5px;background:#f6f8f1}
@media(max-width:650px){.check{min-height:390px}.check-top{padding:3px 8px 10px!important}.check-heading h3{font-size:14px}.check-shell{border-radius:25px}.check-total{padding:16px 10px}.total-row{font-size:10px}.left-row{font-size:12px}.pill-main{padding:8px 10px;font-size:11px}.check-bills{padding:14px 7px}.check-heading{padding:0 12px}}
.check-shell{background:var(--bubble-fill,transparent);border-color:var(--bubble-outline,#aeb9ae)}
.bill{--bubble-fill:#fff;--bubble-outline:#bdc8bd;background:var(--bubble-fill);border-color:var(--bubble-outline)}
.bill .pill-main{color:#24352e}.bill .pill-edit{border-color:var(--bubble-outline,#bdc8bd);color:#35483d}
.color-picker{border:0;padding:0;margin:0 0 22px;min-width:0}
.color-picker legend{padding:0;margin-bottom:10px;font-size:12px;font-weight:600}
#colorName{font-weight:400;color:#6a786e;margin-left:7px}
.color-swatches{display:flex;flex-wrap:wrap;gap:8px}
.color-swatch{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;padding:0;border:1px solid #b1bcb1;border-radius:50%;background:var(--swatch-color);color:#fff;font-size:18px;line-height:1;text-shadow:0 1px 3px #203d3566}
.color-swatch:first-child{color:#294735;text-shadow:none}
.color-swatch[aria-pressed=true]{outline:2px solid #294735;outline-offset:3px}
.color-picker-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}
.custom-color{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:400;cursor:pointer}
.custom-color input{display:block;margin:0;padding:3px;width:38px;height:38px;border-radius:9px;cursor:pointer;background:#fff}
.color-preview{padding:9px 12px;border:1.5px solid var(--bubble-outline,#aeb9ae);background:var(--bubble-fill,#fff);color:#24352e;font-size:11px;border-radius:20px;white-space:nowrap}
.check-preview{border-radius:12px;padding:14px 12px}
/* Center the name, with date and take-home amount on the row below. */
.check-heading{min-height:24px;padding:0 25px}
.check-heading h3{min-width:0;overflow-wrap:anywhere}
.check-heading .icon{top:-4px;right:-4px}
.check-meta{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin-top:4px}
.check-meta small{font-size:11px;color:#788371;white-space:nowrap}
.check-amount{font-size:12px;font-weight:500;margin-left:auto;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.check-total .total-row{font-size:11px;line-height:1.4;margin-bottom:5px;gap:6px}
.check-total .left-row{font-size:11px;font-weight:500;margin-bottom:0}
.check-total .total-row>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.actions{flex-wrap:wrap;justify-content:flex-end}
#savingsEditor select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #d9e1d1;border-radius:8px;background:#fafbf7;color:#294735;min-width:0;font:inherit}
.savings-preview{font-size:13px;font-weight:500;padding:14px 0 0;color:#294735}
[hidden]{display:none!important}
@media(max-width:650px){.check-meta small,.check-amount{font-size:10px}.check-total .total-row,.check-total .left-row{font-size:10px}.check-heading{padding:0 20px}.actions{display:grid;grid-template-columns:1fr 1fr}.totals-line{flex-wrap:wrap}.totals-line>span{flex:1;min-width:65px}}
/* Lift, target feedback, and a brief landing motion for moving bill bubbles. */
.bill{transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;transform-origin:center}
.bill.drag-lift{transform:translateY(-4px) scale(1.04) rotate(-2deg);box-shadow:0 10px 24px #203d352b;z-index:3}
.bill.drag-source{opacity:.3;transform:scale(.98);box-shadow:none}
.dragging-bill,.dragging-bill *{cursor:grabbing!important}
.dragging-bill .pill-edit{opacity:0!important;pointer-events:none}
.check-shell,.unassigned{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}
.check.drop-over .check-shell{transform:translateY(-3px);box-shadow:0 0 0 4px #73905f1f;border-color:var(--bubble-outline,#73905f);background:var(--bubble-fill,#f6f8f1)}
.unassigned.drop-over{border-radius:16px;box-shadow:inset 0 0 0 3px #73905f1f}
.bill.bill-flight{position:fixed;z-index:1000;pointer-events:none;max-width:none;margin:0;transform-origin:top left;transition:none;will-change:transform,opacity}
.bill-flight .pill-edit{display:none}
@media(prefers-reduced-motion:reduce){.bill,.check-shell,.unassigned{transition:none!important;animation:none!important}.bill.drag-lift,.bill.drag-source,.check.drop-over .check-shell{transform:none}}
#confirmation{width:min(390px,calc(100% - 30px))}
#confirmationMessage{font-size:14px;color:#53675b;overflow-wrap:anywhere}
.editor-sort select{display:block;width:100%;min-width:0;margin-top:7px;padding:11px;border:1px solid #d9e1d1;border-radius:8px;background:#fafbf7;color:#294735;font:inherit}
.bill-section{transition:box-shadow .2s ease,border-color .2s ease,background-color .2s ease}
.bill-section.drop-over{border-color:#73905f;box-shadow:0 0 0 4px #73905f1f;outline-offset:-5px}
.bill-section:focus-visible{outline:3px solid #b48b39;outline-offset:3px}
.bill-section .toolbar{flex-wrap:wrap}
.tray-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.tray-actions button{font-size:12px;padding:9px 12px}
button:disabled{opacity:.4;cursor:default}
button:disabled:hover{transform:none;filter:none}
@media(max-width:650px){.tray-actions{gap:6px}.tray-actions button{font-size:11px;padding:8px}.bill-section .toolbar{gap:10px}}
@media(prefers-reduced-motion:reduce){.bill-section{transition:none!important}}
.header-status{display:flex;align-items:center;gap:14px}
.sound-toggle{border:1px solid #d9e1d4;background:transparent;color:#53675b;font-size:11px;font-weight:400;padding:6px 10px;border-radius:20px;white-space:nowrap}
@media(max-width:650px){.header-status{flex-direction:column;align-items:flex-end;gap:5px}.sound-toggle{font-size:10px;padding:5px 9px}}
