.job-sheet-invoice{width:min(960px,95vw);max-height:92dvh;overflow:auto}.job-sheet-invoice fieldset{border:0;gap:16px;margin:0;padding:0;display:grid}.invoice-rate-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.job-sheet-invoice label{gap:7px;display:grid}.job-sheet-invoice input:not([type=checkbox]),.job-sheet-invoice textarea{border:1px solid var(--portal-border,#536170);background:var(--portal-input-bg,transparent);width:100%;color:inherit;border-radius:8px;padding:10px}.job-sheet-invoice .invoice-check{align-items:center;gap:10px;display:flex}.invoice-check input{width:18px;height:18px}.invoice-material{grid-template-columns:minmax(0,1fr) 140px;align-items:center;margin:10px 0}.invoice-table{overflow:auto}.invoice-table table{border-collapse:collapse;width:100%}.invoice-table th,.invoice-table td{text-align:left;border-bottom:1px solid var(--portal-border,#536170);padding:9px}.invoice-table caption{text-align:left;margin-bottom:9px;font-weight:600}.invoice-estimate-actions{flex-wrap:wrap;gap:10px;display:flex}.invoice-estimate-lines td:first-child{white-space:pre-wrap;overflow-wrap:anywhere}.job-sheet-invoice footer{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.job-sheet-invoice footer button,.job-sheet-invoice footer a{border:1px solid var(--portal-border,#536170);border-radius:8px;padding:10px 14px}.job-sheet-invoice [role=alert]{color:#e67d67}@media (max-width:600px){.invoice-rate-grid,.invoice-material{grid-template-columns:1fr}.invoice-table{font-size:13px}}.job-sheet-invoice[data-slot=dialog-content]{background:var(--portal-theme-surface,#fff);width:min(960px,100vw - 32px);max-width:min(960px,100vw - 32px);max-height:92dvh;color:var(--portal-theme-text,#182c38);border:1px solid var(--portal-theme-border,#dce3e8);font-family:var(--portal-font,Arial, sans-serif);padding:24px;font-size:14px;line-height:1.5;box-shadow:0 24px 100px #0005}.job-sheet-invoice [data-slot=dialog-title]{font:700 22px/1.3 var(--portal-font,Arial, sans-serif)}.job-sheet-invoice [data-slot=dialog-description]{color:var(--portal-theme-muted,#657580);line-height:1.6}.job-sheet-invoice input:not([type=checkbox]),.job-sheet-invoice textarea{background:var(--portal-theme-soft,#f4f6f7);border-color:var(--portal-theme-border,#dce3e8)}.job-sheet-invoice .invoice-table th,.job-sheet-invoice .invoice-table td{border-color:var(--portal-theme-border,#dce3e8)}.job-sheet-invoice footer{background:var(--portal-theme-surface,#fff);border-top:1px solid var(--portal-theme-border,#dce3e8);margin:0 -24px -24px;padding:16px 24px;position:sticky;bottom:-24px}.job-sheet-invoice footer button,.job-sheet-invoice footer a{background:var(--portal-theme-surface,#fff);color:inherit;border-color:var(--portal-theme-border,#dce3e8);cursor:pointer}:is(.job-sheet-invoice footer:not(:has(.invoice-workflow-primary)) button:first-child,.job-sheet-invoice footer button.invoice-workflow-primary){background:var(--portal-brand-accent,#9aca3c);color:var(--portal-accent-text,#142535);border-color:#0000;font-weight:650}:is(.job-sheet-invoice input:focus-visible,.job-sheet-invoice textarea:focus-visible,.job-sheet-invoice button:focus-visible,.job-sheet-invoice a:focus-visible){outline:3px solid var(--portal-brand-accent,#9aca3c);outline-offset:2px}.job-sheet-invoice .invoice-address{color:var(--portal-theme-muted,#657580);overflow-wrap:anywhere;font-size:13px}@media (max-width:600px){.job-sheet-invoice[data-slot=dialog-content]{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:94dvh;padding:18px}.job-sheet-invoice footer{margin:0 -18px -18px;padding:14px 18px;bottom:-18px}.job-sheet-invoice footer button,.job-sheet-invoice footer a{flex:1;min-width:125px}.invoice-table table{min-width:450px}}.sheet-qb{border:1px solid var(--portal-theme-border,#dce3e8);border-radius:10px;gap:14px;padding:18px;display:grid}.sheet-qb h3,.sheet-qb h4,.sheet-qb p{margin:0}.sheet-qb button,.sheet-qb-open{border:1px solid var(--portal-theme-border,#dce3e8);background:var(--portal-theme-surface,#fff);color:inherit;font:inherit;cursor:pointer;border-radius:8px;justify-self:start;padding:10px 14px}.sheet-qb fieldset{gap:18px;display:grid}.sheet-qb select{background:var(--portal-theme-soft,#f4f6f7);border:1px solid var(--portal-theme-border,#dce3e8);width:100%;min-width:0;color:inherit;font:inherit;border-radius:8px;padding:10px}.sheet-qb-search,.sheet-qb-defaults,.sheet-qb-line,.sheet-qb-review{gap:12px;display:grid}.sheet-qb-defaults,.sheet-qb-line{background:var(--portal-theme-soft,#f4f6f7);border-radius:8px;padding:14px}.sheet-qb-overrides summary{cursor:pointer;margin-bottom:12px;text-decoration:underline}.sheet-qb-line+.sheet-qb-line{margin-top:12px}.sheet-qb-review{border:1px solid var(--portal-brand-accent,#9aca3c);border-radius:10px;padding:16px}.sheet-qb-review ul{margin:0;padding-left:20px}.sheet-qb-review li{margin-bottom:10px}.sheet-qb-review>button{background:var(--portal-brand-accent,#9aca3c);color:var(--portal-accent-text,#142535);font-weight:650}.sheet-qb [role=alert]{color:var(--portal-theme-danger-text,#b5432c)}.billing-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.job-sheet-invoice .billing-buttons button,.job-sheet-invoice .billing-status button,.job-sheet-invoice fieldset>button{border:1px solid var(--portal-theme-border,#536170);background:var(--portal-theme-soft,#f4f6f7);color:inherit;cursor:pointer;border-radius:8px;padding:10px 14px}.job-sheet-invoice details{border:1px solid var(--portal-theme-border,#536170);border-radius:8px;margin:12px 0;padding:12px}.billing-status{border-top:1px solid var(--portal-theme-border,#536170);margin:20px 0;padding:16px}.job-sheet-invoice select{background:var(--portal-theme-soft,#f4f6f7);border:1px solid var(--portal-theme-border,#536170);color:inherit;border-radius:8px;max-width:100%;padding:10px}.job-sheet-invoice .invoice-table input{min-width:85px}.job-sheet-invoice .invoice-table textarea{min-width:180px}.job-sheet-invoice button:disabled{opacity:.55;cursor:default}.job-sheet-invoice .invoice-discard-review{border:1px solid var(--portal-theme-warning-text,#805000);background:var(--portal-theme-warning-bg,#fff4d9);color:var(--portal-theme-warning-text,#805000);border-radius:10px;flex-wrap:wrap;gap:10px;padding:16px;display:flex}.job-sheet-invoice .invoice-discard-review h3,.job-sheet-invoice .invoice-discard-review p{flex-basis:100%;margin:0}.job-sheet-invoice .invoice-discard-review button{min-height:40px;color:inherit;background:0 0;border:1px solid;border-radius:8px;padding:8px 12px}.billing-pricing-library>summary{cursor:pointer;align-content:center;min-height:40px;font-weight:600;display:list-item}.billing-pricing-library p{line-height:1.5}.billing-pricing-library small{color:var(--portal-theme-muted,#61717a);display:block}.billing-pricing-library a{color:var(--portal-control-link,var(--teal));text-underline-offset:3px;text-decoration:underline}.billing-pricing-library .billing-pricing-reload{margin:10px 0}.billing-pricing-material{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;margin:10px 0;display:grid}.billing-pricing-material>span{overflow-wrap:anywhere}.billing-pricing-material select{width:100%;min-width:0}.billing-pricing-picker ul{padding-left:20px}@media (max-width:650px){.billing-pricing-material{grid-template-columns:minmax(0,1fr)}.billing-pricing-library>summary{min-height:44px}}.communication-preparation-sources{border:1px solid var(--portal-theme-border,#d7e0dc);border-left:3px solid var(--teal,#678c00);background:var(--portal-theme-soft,#f1f5ee);color:var(--portal-theme-text,#132535);border-radius:8px;padding:14px}.communication-preparation-sources h3{margin:0;font-size:14px;font-weight:700}.communication-preparation-sources>p{color:var(--portal-theme-muted,#61717a);margin:6px 0 10px;font-size:12px}.communication-preparation-sources details{border-top:1px solid var(--portal-theme-border,#d7e0dc);margin-top:8px;padding-top:6px}.communication-preparation-sources summary{cursor:pointer;min-height:40px;font-size:12px;font-weight:650;display:list-item}.communication-preparation-sources blockquote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:2px solid var(--portal-theme-border,#d7e0dc);background:var(--portal-theme-surface,#fff);max-height:150px;margin:4px 0 10px;padding:10px;font-size:12px;overflow:auto}.communication-preparation-sources a{color:var(--ui-link,var(--teal,#567618));overflow-wrap:anywhere;text-underline-offset:3px;font-size:12px}.communication-source-files{flex-wrap:wrap;gap:10px;margin-bottom:8px;display:flex}.communication-source-error{color:var(--portal-theme-danger-text,#ac372c);font-size:12px}@media (max-width:600px){.communication-preparation-sources{padding:11px}.communication-preparation-sources summary{min-height:44px}}
