body.cds.bill-split{--cds-input-col:440px}.bill-private-note,#bill-source-status{color:var(--calc-text-secondary);margin:0 0 .875rem;font-size:.875rem;line-height:1.45}#bill-source-status:empty,#bill-error:empty,#itemReconcile:empty,#bill-tip-summary:empty{display:none}.bill-controls .cds-control{min-width:0}body.cds .bill-workspace .cds-title:before{content:none}.bill-tax-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.75rem;margin-block:1rem;display:grid}body.cds .bill-workspace .bill-tax-fields .cds-control{margin-block-end:0}body.cds .bill-workspace #tipChips{margin-block-start:.5rem}.bill-tip-basis{border:0;margin-inline:0;padding:0}.bill-controls details,.bill-person-editor,.bill-shared-editor,.bill-receipt-details>section,.bill-receipt-details>details:not(.bill-person-receipt){border:0;border-top:1px solid var(--cds-line);min-width:0;margin:1rem 0;padding:.75rem 0 0}.bill-controls summary,.bill-receipt-details summary{cursor:pointer;min-height:44px;padding-block:.5rem}.bill-person-editor legend,.bill-shared-editor legend{max-width:100%;color:var(--calc-text-primary);padding:0 .5rem 0 0;font-weight:700}#bill-result .cds-hero-value{white-space:nowrap;font-size:var(--bill-hero-size,clamp(2.4rem, 5vw, 4.6rem))}#bill-result .cds-hero-note+.cds-hero-note{margin-top:.375rem}.bill-receipt-details>section:first-child,.bill-receipt-details>details:first-of-type{margin-top:0}.bill-tip-card{border-top:1px solid var(--cds-line);padding:.75rem 0}body.cds .bill-workspace .action-btn{white-space:normal;min-height:44px}#bill-answer-dock .bill-dock-copy{gap:2px;min-width:0;display:grid}#bill-answer-dock .cds-dock-value{white-space:nowrap;flex-shrink:0}#bill-answer-dock .cds-dock-label{color:inherit;white-space:normal;text-align:start;line-height:1.2;overflow:visible}#bill-answer-dock{flex-wrap:nowrap}#bill-answer-dock:after,.bill-person-receipt summary:before{content:"";border:1.5px solid;border-width:0 1.5px 1.5px 0;flex:0 0 .45rem;height:.45rem;transform:rotate(-45deg)}.bill-person-receipt[open] summary:before{transform:rotate(45deg)}.bill-dock-mode{color:var(--cds-on-ink-2);text-align:start;font-size:.75rem;line-height:1.1}.bill-check{min-height:44px;color:var(--calc-text-primary);cursor:pointer;align-items:center;gap:10px;line-height:1.45;display:flex}.bill-check input{flex:0 0 20px;width:20px;height:20px}.bill-field{color:var(--calc-text-primary);gap:7px;margin-block:10px;line-height:1.4;display:grid}.bill-weight-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.bill-saved-actions{flex-wrap:wrap;gap:10px;margin-block:.75rem;display:flex}.bill-totals{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;margin:20px 0;line-height:1.45;display:grid}.bill-totals dt{color:var(--calc-text-secondary);overflow-wrap:anywhere}.bill-totals dd{font-variant-numeric:tabular-nums;color:var(--calc-text-primary);text-align:end;white-space:nowrap;margin:0}.bill-person-receipt{border:1px solid var(--calc-border-default,#64748b);border-radius:10px;margin:10px 0;padding:10px 14px}.bill-person-receipt summary{cursor:pointer;min-height:44px;color:var(--calc-text-primary);justify-content:space-between;align-items:center;gap:12px;display:flex}.bill-person-receipt summary span{overflow-wrap:anywhere;min-width:0;margin-inline-end:auto}.bill-person-receipt summary strong{font-variant-numeric:tabular-nums;white-space:nowrap}.bill-item-detail{border-top:1px solid var(--calc-border-default,#64748b);overflow-wrap:anywhere;margin:14px 0;padding-top:10px}.bill-item-detail p,#bill-payments p,#bill-rules p{color:var(--calc-text-secondary);line-height:1.6}#bill-rules summary{cursor:pointer;min-height:44px;padding-block:12px}.bill-chart-frame{min-width:0;height:300px;position:relative}.bill-chart-legend{flex-wrap:wrap;gap:8px;margin-block:12px;display:flex}.bill-chart-legend button{flex:130px;font-size:13px}.bill-chart-legend button[aria-pressed=false]{text-decoration:line-through}#bill-chart-section{margin-block:24px}.bill-tip-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}#bill-share{box-sizing:border-box;background:var(--calc-bg-card,#182032);width:min(650px,100vw - 28px);max-height:calc(100vh - 28px);color:var(--calc-text-primary,#eef3ff);border:1px solid #64748b;border-radius:16px;padding:24px}#bill-share::backdrop{background:#000000a6}#bill-share pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;line-height:1.6;overflow-y:auto}#bill-share textarea{box-sizing:border-box;width:100%;font:inherit;background:var(--calc-bg-input,#0e172a);color:inherit;border:1px solid #64748b;border-radius:6px;padding:10px}#bill-paper{display:none}@media (width<=600px){body.cds .bill-workspace.cds-page{padding-top:.875rem}body.cds .bill-workspace #bill-mode-tabs,body.cds .bill-workspace #presetChips{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}body.cds .bill-workspace #bill-mode-tabs{margin-bottom:.75rem}body.cds .bill-workspace #bill-mode-tabs .cds-tab,body.cds .bill-workspace #presetChips .cds-chip{text-align:center;white-space:normal;overflow-wrap:anywhere;hyphens:auto;min-width:0;min-height:44px;padding:.3rem;line-height:1.2}#bill-answer-dock{gap:.375rem .625rem;padding-inline:.875rem}body.cds .bill-workspace .cds-header{margin-bottom:.625rem}body.cds .bill-workspace .cds-subtitle{font-size:.875rem;line-height:1.35}.bill-tax-fields{grid-template-columns:minmax(0,1fr)}.bill-tip-cards,.bill-weight-fields{grid-template-columns:minmax(0,1fr);gap:0}#bill-share{padding:18px 14px}}@media (width<=360px){body.cds .bill-workspace.cds-page{padding-top:.625rem}body.cds .bill-workspace .cds-title{font-size:1.5rem}body.cds .bill-workspace .cds-subtitle{margin-top:.375rem}body.cds .bill-workspace .bill-controls.cds-panel{padding:.875rem}body.cds .bill-workspace .bill-controls .cds-panel-title{margin-block-end:.625rem}body.cds .bill-workspace .bill-controls .cds-control:has(#subtotal){margin-block-end:.5rem}body.cds .bill-workspace #presetChips{gap:.375rem}#bill-answer-dock{padding-block:.5rem}}@media print{@page{size:a4;margin:12mm}html,html body.cds.bill-split{color:#172033;color-scheme:light;background:#fff}html body.cds.bill-split>:not(main){display:none}html body.cds.bill-split main#main-content.bill-workspace{box-sizing:border-box;color:#172033;background:#fff;width:186mm;max-width:none;margin:0;padding:0;display:block}html body.cds.bill-split main#main-content>:not(#bill-paper){display:none}html body.cds.bill-split #bill-paper{color:#172033;background:#fff;width:100%;font-size:10pt;display:block}html body.cds.bill-split #bill-paper h1{color:#172033;margin:0 0 4mm;font-size:19pt}html body.cds.bill-split #bill-paper h2{color:#172033;break-after:avoid;margin-top:6mm;font-size:12pt}html body.cds.bill-split #bill-paper p{color:#172033;margin-block:2mm;line-height:1.45}html body.cds.bill-split #bill-paper table{table-layout:fixed;border-collapse:collapse;background:#fff;width:100%;margin-block:4mm}html body.cds.bill-split #bill-paper th,html body.cds.bill-split #bill-paper td{color:#172033;white-space:normal;overflow-wrap:anywhere;background:#fff;border:1px solid #aab4c1;padding:2mm;font-size:9pt;overflow:visible}html body.cds.bill-split #bill-paper th{font-weight:700}html body.cds.bill-split #bill-paper .bill-paper-money{white-space:nowrap;overflow-wrap:normal}html body.cds.bill-split #bill-paper tr{break-inside:avoid}#bill-paper thead{display:table-header-group}#bill-paper figure{break-inside:avoid;margin:4mm 0}#bill-paper svg{width:100%;height:auto;display:block}#bill-paper figcaption{color:#172033;font-size:9pt}}