.job-costs-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.job-costs-shortcuts>button{font-size:14px;min-height:38px;padding:8px 12px}.job-costs-panel{margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--card);min-width:0}.job-costs-panel-heading,.job-costs-item-title,.job-costs-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.job-costs-total,.job-costs-summary>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.job-costs-pending-note{font-size:14px;line-height:21px;color:var(--planner-review-ink);margin:9px 0}.job-costs-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.job-costs-actions>button{font-size:14px;line-height:20px;padding:8px 12px;min-height:38px}.job-costs-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:650px;max-height:calc(100dvh - 24px);padding:20px;border:1px solid var(--line);border-radius:17px;background:var(--bg);color:var(--text);overflow:auto;overscroll-behavior:contain}.job-costs-dialog[open]{display:block}.job-costs-dialog::backdrop{background:rgb(0 0 0/.62)}.job-costs-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.job-costs-heading h2{font-size:20px;line-height:27px;font-weight:650;margin:0}.job-costs-heading .job-costs-close{font-size:13px;line-height:20px;flex:none;min-height:32px;padding:4px}.job-costs-body{margin-top:15px;min-width:0}.job-costs-body h3{font-size:16px;line-height:23px;margin:16px 0 10px}.job-costs-body p{font-size:14px;line-height:21px}.job-costs-body>.primary{margin:8px 0}.job-costs-address{font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}.job-costs-summary{padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:22px;margin-bottom:8px}.job-costs-item{padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--card);margin:10px 0;min-width:0;overflow-wrap:anywhere}.job-costs-item-title{font-size:15px;line-height:22px}.job-costs-item-title>strong:first-child{min-width:0}.job-costs-item-title>strong:last-child{flex:none;max-width:48%;text-align:right}.job-costs-item p{margin:7px 0}.job-costs-item.is-pending{border-color:color-mix(in srgb,var(--planner-review-ink) 40%,var(--line))}.job-costs-badge{display:inline-block;font-size:12px;line-height:18px;padding:3px 7px;border-radius:6px;background:color-mix(in srgb,var(--planner-review-ink) 10%,var(--card));color:var(--planner-review-ink)}.job-costs-note{white-space:pre-wrap}.job-costs-form{display:grid;gap:13px;margin:16px 0}.job-costs-form label,.job-costs-baseline label{font-size:14px;line-height:21px;min-width:0;margin:0}.job-costs-form input:not([type=checkbox]),.job-costs-form select,.job-costs-form textarea,.job-costs-baseline input,.job-costs-baseline select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin-top:6px;font-size:16px;line-height:22px}.job-costs-form input[type=checkbox]{width:20px;height:20px;margin:0 9px 0 0;vertical-align:middle;accent-color:var(--accent)}.job-costs-form label:has(input[type=checkbox]){display:flex;flex-direction:row-reverse;align-items:flex-start;justify-content:flex-end;gap:9px;font-size:14px;line-height:21px}.job-costs-form textarea{resize:vertical}.job-costs-form .primary{font-size:15px;min-height:43px;padding:10px 14px}.job-costs-form>.hint{margin:0}.job-costs-files{display:grid;gap:7px}.job-costs-file-row{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px;line-height:19px;overflow-wrap:anywhere}.job-costs-file-row>span{min-width:0}.job-costs-file-row>button{flex:none;min-height:32px;font-size:13px}.job-costs-file{display:block;max-width:100%;text-align:left;font-size:13px;line-height:19px;padding:6px 0;overflow-wrap:anywhere}.job-costs-history{margin-top:18px}.job-costs-history>summary,.job-costs-body details>summary{font-size:14px;line-height:21px;font-weight:600;cursor:pointer}.job-costs-job{display:grid;width:100%;text-align:left;gap:5px;margin:9px 0;font-size:15px;line-height:22px}.job-costs-job>small{font-size:13px;color:var(--muted)}.job-costs-empty{padding:20px 0}.job-costs-preview{padding:14px;border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--card));border:1px solid var(--line);margin-top:14px}.job-costs-preview h3{margin-top:0}.job-costs-cost-change{font-weight:650;font-variant-numeric:tabular-nums}.job-costs-pay-lines{display:grid;gap:9px}.job-costs-pay-row{display:grid;gap:3px;padding-top:9px;border-top:1px solid var(--line);font-size:14px;line-height:21px}.job-costs-pay-row>span{font-variant-numeric:tabular-nums}.job-costs-pay-row>small{font-size:13px;line-height:19px}.job-costs-baseline{border:1px solid color-mix(in srgb,var(--planner-review-ink) 40%,var(--line));border-radius:12px;padding:13px;margin:14px 0}.job-costs-baseline>h3{margin-top:0}.job-costs-baseline-row{display:grid;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:10px}.job-costs-baseline>button{margin:5px 5px 0 0;font-size:13px}.job-costs-message{overflow-wrap:anywhere}.job-costs-receipt-preview{padding:12px;border:1px solid var(--line);border-radius:12px;margin:12px 0}.job-costs-receipt-preview img{display:block;width:auto;max-width:100%;max-height:65vh;object-fit:contain;margin:12px auto}.job-costs-receipt-preview a{display:inline-block;text-decoration:none;margin-top:8px}@media(max-width:420px){.job-costs-dialog{padding:15px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.job-costs-heading h2{font-size:18px;line-height:25px}.job-costs-item-title{display:grid;gap:4px}.job-costs-item-title>strong:last-child{max-width:none;text-align:left}.job-costs-panel-heading{font-size:14px;line-height:21px}.job-costs-actions>button{flex:1 1 160px}.job-costs-summary{gap:8px}.job-costs-dialog .primary{max-width:100%;white-space:normal}.job-costs-shortcuts>button{width:100%}}@media(prefers-reduced-motion:reduce){.job-costs-dialog{scroll-behavior:auto}}
