#modal.settlement-dialog{width:min(1140px,calc(100vw - 24px));max-width:1140px}.settlement-heading h2{margin:10px 0}.settlement-heading p{color:var(--muted)}.settlement-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.settlement-toolbar .field{flex:1;min-width:230px}.settlement-toolbar .button{min-height:48px;margin:0}#settlement-status{font-size:.875rem;color:#366647;min-height:24px}.settlement-add,.settlement-breakdown{border:1px solid var(--line);border-radius:14px;padding:16px;margin:20px 0}.settlement-add summary,.settlement-breakdown summary{font-weight:700;cursor:pointer;min-height:40px}.settlement-guest{display:flex;align-items:end;gap:10px;margin-top:16px}.settlement-guest .field{flex:1}.settlement-rounds{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:20px 0}.settlement-round{background:#edf3ee;border:1px solid #cedbd2;border-radius:14px;padding:16px;min-width:0}.settlement-round-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.settlement-round .field{margin:12px 0}.settlement-table-wrap{overflow:auto;max-height:65vh;border:1px solid var(--line);border-radius:12px;margin:18px 0;overscroll-behavior:contain}.settlement-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;font-size:.875rem}.settlement-table-wrap th,.settlement-table-wrap td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;min-width:170px;background:var(--white)}.settlement-table-wrap th:first-child{position:sticky;left:0;z-index:2;min-width:120px;max-width:170px;background:#edf3ee;border-right:1px solid var(--line);overflow-wrap:anywhere}.settlement-table-wrap thead th{position:sticky;top:0;z-index:3;background:#e1ebe3}.settlement-table-wrap thead th:first-child{z-index:4}.settlement-table-wrap small{display:block;margin-top:8px;color:var(--muted);font-size:.8rem}.settlement-table-wrap input[type=text]{width:140px;border:1px solid #bbc9bf;border-radius:8px;padding:10px;font-size:16px}.settlement-check{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.settlement-check input{width:22px;height:22px;accent-color:#265142}.settlement-select-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:10px}.settlement-select-actions button{padding:10px 8px;min-height:44px;border:1px solid #acbeb1;border-radius:8px;color:#264c3a;background:white;font-size:.8rem}.settlement-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.settlement-summary>div{padding:15px;background:#edf3ee;border-radius:10px;min-width:0}.settlement-summary span,.settlement-summary strong{display:block;overflow-wrap:anywhere}.settlement-summary span{font-size:.875rem;color:var(--muted);margin-bottom:8px}.settlement-charge{color:#855012}.settlement-refund{color:#265f99}.settlement-breakdown ul{padding-left:20px;line-height:1.9}.settlement-breakdown .details{grid-template-columns:max-content minmax(0,1fr)}.settlement-breakdown dd{overflow-wrap:anywhere}.settlement-table-wrap .text-button{font-size:.8rem;margin:8px 0 0;min-height:36px}#settlement-search-results .button{display:block;width:100%;text-align:left;margin:6px 0;white-space:normal}#settlement-root .field input:invalid{border-color:#a44e31}#settlement-results h3{margin-top:30px}@media(max-width:580px){.settlement-summary{grid-template-columns:1fr 1fr}.settlement-toolbar .button{flex:1;font-size:.875rem;padding:10px}.settlement-guest{align-items:stretch;flex-direction:column}.settlement-rounds{grid-template-columns:1fr}.settlement-table-wrap th:first-child{min-width:100px;max-width:120px}.settlement-breakdown{padding:12px}.settlement-breakdown .details{font-size:.875rem;column-gap:8px}}

.settlement-guide{padding:12px 16px;background:#edf3ee;border-radius:10px;line-height:1.7}.settlement-save-tools summary{cursor:pointer;padding:12px;color:var(--muted)}.settlement-save-tools[open] .button{display:block;margin:8px 0}.settlement-add summary{color:#265142;font-size:1.05rem}.settlement-add summary small{display:block;font-size:.875rem;font-weight:400;margin:8px 0 0 20px;color:var(--muted)}.settlement-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.settlement-person-deposit[hidden]{display:none}.settlement-person-deposit{margin-top:10px}.settlement-breakdown:not([open]) summary{min-height:24px}.settlement-paid-note{white-space:nowrap}

.settlement-round-deposit{margin-top:16px}.settlement-round-deposit summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#365b46;font-size:.875rem;text-decoration:underline;text-underline-offset:4px}
