.receivable-schedule-entry{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px;border:1px solid var(--border,#d7e3e9);border-left:3px solid #137b80;border-radius:12px;background:var(--surface,#f7fafb);margin:16px 0}.receivable-schedule-entry strong{font-size:14px}.receivable-schedule-entry p{font-size:13px;color:var(--muted,#627785);margin:6px 0 0;line-height:1.5}.receivable-schedule-entry button{width:auto;white-space:nowrap}.receivable-schedule-fixed-amount{display:flex;flex-direction:column;gap:8px;font-size:13px}.receivable-schedule-fixed-amount input{min-height:42px;padding:10px 12px;border:1px solid var(--border,#cfdae2);border-radius:8px;background:var(--surface-alt,#f2f5f7);font:inherit;color:var(--text,#19354a);font-variant-numeric:tabular-nums}.receivable-schedule-fixed-amount small{font-size:12px;color:var(--muted,#627785)}.receivable-schedule-dialog{box-sizing:border-box;width:min(1280px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#d7e3e9);border-radius:16px;background:var(--surface,#fff);color:var(--text,#19354a);overflow:auto;font:inherit;box-shadow:0 24px 64px #102b4230}.receivable-schedule-dialog::backdrop{background:#102b4260}.receivable-schedule-dialog>header{padding:24px;border-bottom:1px solid var(--border,#d7e3e9)}.receivable-schedule-dialog header>span{font-size:12px;color:var(--muted,#627785)}.receivable-schedule-dialog h2{font-size:24px;margin:8px 0;font-weight:600}.receivable-schedule-dialog h3{font-size:16px;margin:0;font-weight:600}.receivable-schedule-dialog p{font-size:13px;line-height:1.6;margin:6px 0;color:var(--muted,#627785)}.receivable-schedule-body{padding:24px}.receivable-schedule-notice{padding:12px 16px;border:1px solid var(--border,#d7e3e9);border-radius:10px;background:var(--surface-alt,#f5f8fa);font-size:13px;line-height:1.6;margin-bottom:16px}.receivable-schedule-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border,#d7e3e9);border-radius:12px;overflow:hidden;margin:20px 0 12px}.receivable-schedule-summary>div{padding:20px;border-right:1px solid var(--border,#d7e3e9);min-width:0}.receivable-schedule-summary>div:last-child{border:0}.receivable-schedule-summary span{display:block;font-size:12px;color:var(--muted,#627785)}.receivable-schedule-summary strong{display:block;margin-top:8px;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.receivable-schedule-summary .is-matched strong{font-size:18px;color:#146a56}.receivable-schedule-summary .is-different strong{color:#a23745}.receivable-schedule-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted,#627785);margin-bottom:16px}.receivable-schedule-current{padding:12px 16px;border:1px solid var(--border,#d7e3e9);border-radius:10px;font-size:13px;margin:16px 0}.receivable-schedule-current summary{cursor:pointer;font-weight:500}.receivable-schedule-current>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.receivable-schedule-current article{border-top:1px solid var(--border,#d7e3e9);margin-top:12px;padding-top:12px}.receivable-schedule-helper{border:1px solid var(--border,#d7e3e9);border-radius:12px;padding:16px;margin:20px 0}.receivable-schedule-helper-fields{display:grid;grid-template-columns:200px minmax(180px,1fr) auto;align-items:end;gap:12px;margin-top:12px}.receivable-schedule-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px;min-width:0}.receivable-schedule-dialog input,.receivable-schedule-dialog textarea{box-sizing:border-box;width:100%;min-height:42px;border:1px solid var(--border,#cfdae2);border-radius:8px;padding:10px 12px;background:var(--surface,#fff);font:inherit;color:inherit}.receivable-schedule-dialog textarea{resize:vertical}.receivable-schedule-dialog button{box-sizing:border-box;padding:10px 14px;min-height:40px;width:auto;white-space:nowrap;border:1px solid var(--border,#cfdae2);border-radius:8px;background:var(--surface,#fff);font:inherit;font-size:13px;color:inherit;cursor:pointer}.receivable-schedule-dialog button:disabled{opacity:.5;cursor:not-allowed}.receivable-schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 12px}.receivable-schedule-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.receivable-schedule-rows{display:flex;flex-direction:column;gap:12px}.receivable-schedule-row{display:grid;grid-template-columns:76px 180px 180px minmax(160px,1fr) 80px;gap:16px;align-items:end;padding:16px;border:1px solid var(--border,#d7e3e9);border-radius:12px}.receivable-schedule-row>strong{font-size:13px;align-self:center}.receivable-schedule-row .receivable-schedule-remove{color:#a23745;font-size:12px;padding:8px}.receivable-schedule-reason{margin-top:20px}.receivable-schedule-error{padding:12px 16px;background:#fff4f4;border:1px solid #f0c8ce;border-radius:10px;color:#9a3343;font-size:13px;line-height:1.6;margin:12px 0}.receivable-schedule-error p{color:inherit}.receivable-schedule-dialog>footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;position:sticky;bottom:0;background:var(--surface,#fff);border-top:1px solid var(--border,#d7e3e9)}.receivable-schedule-dialog .receivable-schedule-primary{background:#126b71;border-color:#126b71;color:#fff}.receivable-schedule-dialog :focus-visible{outline:2px solid #137b80;outline-offset:2px}@media(max-width:900px){.receivable-schedule-row{grid-template-columns:72px 1fr 1fr}.receivable-schedule-row>label:last-of-type{grid-column:2/-1}.receivable-schedule-row>button{grid-column:3}.receivable-schedule-helper-fields{grid-template-columns:1fr 1fr}.receivable-schedule-helper-fields button{grid-column:1/-1}}@media(max-width:600px){.receivable-schedule-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.receivable-schedule-dialog>header,.receivable-schedule-body{padding:16px}.receivable-schedule-summary{grid-template-columns:1fr}.receivable-schedule-summary>div{padding:16px;border-right:0;border-bottom:1px solid var(--border,#d7e3e9)}.receivable-schedule-summary strong{font-size:20px}.receivable-schedule-row{grid-template-columns:1fr 1fr;gap:12px;padding:12px}.receivable-schedule-row>strong{grid-column:1/-1}.receivable-schedule-row>label:last-of-type{grid-column:1/-1}.receivable-schedule-row>button{grid-column:2}.receivable-schedule-helper-fields{grid-template-columns:1fr}.receivable-schedule-helper-fields button{grid-column:auto}.receivable-schedule-dialog>footer{padding:12px;gap:8px}.receivable-schedule-dialog>footer button{flex:1;white-space:normal}.receivable-schedule-entry{padding:12px}}
