.prototype-ui .invoice-draft-source-table tbody td{padding-top:3px;padding-bottom:3px}.prototype-ui .invoice-draft-source-table td:first-child{padding:3px 0}.prototype-ui .invoice-draft-source{width:100%;min-height:44px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;padding:0 18px;font-weight:600;display:flex}.prototype-ui .invoice-draft-source-table tbody tr:hover td{background:var(--bg)}.prototype-ui .invoice-draft-source-table :is(th,td):last-child{width:24px;padding-left:0;padding-right:14px}.prototype-ui .invoice-draft-source-table td{white-space:nowrap}.prototype-ui .invoice-draft-inline-error{border-bottom:1px solid var(--line);color:var(--red);flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:14px 18px;font-size:12px;display:flex}.prototype-ui .invoice-draft-sources .panel-footer .invoice-draft-pages{gap:16px;margin-left:16px;display:inline-flex}.prototype-ui .invoice-draft-table .index-cell{width:36px;color:var(--muted)}.prototype-ui .invoice-draft-table .title-cell{white-space:normal;min-width:220px}.prototype-ui .invoice-draft-table .title-cell strong{font-weight:600;display:block}.prototype-ui .invoice-draft-table .title-cell .pill{margin-top:6px}.prototype-ui .invoice-draft-table .amount{font-weight:600}.prototype-ui .invoice-draft-dates{gap:12px;display:grid}.prototype-ui .invoice-draft-existing,.prototype-ui .invoice-draft-recovery{gap:10px;margin-top:14px;display:grid}.prototype-ui .invoice-draft-existing .offer-editor-hint{margin:0}.prototype-ui .invoice-draft-existing .button,.prototype-ui .invoice-draft-recovery .button{justify-self:start}.prototype-ui .invoice-draft-recovery .offer-editor-helper{margin:0}.prototype-ui .invoice-draft-action{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.prototype-ui .invoice-draft-action .button.primary{white-space:normal;text-align:center;width:100%;min-height:42px}.prototype-ui .invoice-draft-pending{gap:12px;padding:20px;display:grid}.prototype-ui .invoice-draft-pending .invoice-draft-recovery{margin-top:0}.prototype-ui .invoice-draft-pending .workspace-actions{justify-content:flex-start;margin-top:0}@media (width<=660px){.prototype-ui .invoice-draft-table thead{display:none}.prototype-ui .invoice-draft-table,.prototype-ui .invoice-draft-table tbody{display:block}.prototype-ui .invoice-draft-table tbody tr{border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}.prototype-ui .invoice-draft-table tbody tr:last-child{border-bottom:0}.prototype-ui .invoice-draft-table tbody td{box-sizing:border-box;border-bottom:0;padding:6px 14px;display:block}.prototype-ui .invoice-draft-table .index-cell{display:none}.prototype-ui .invoice-draft-table .title-cell{flex:100%;min-width:0;padding-top:14px}.prototype-ui .invoice-draft-table td[data-label]{text-align:left;flex:30%;min-width:0;padding-bottom:14px}.prototype-ui .invoice-draft-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:9px;font-weight:500;display:block}.prototype-ui .invoice-draft-sources .panel-footer{flex-wrap:wrap;gap:8px}}@media (width<=660px),(pointer:coarse){.prototype-ui.kontur-workspace:has(.invoice-draft-state,.invoice-draft-sources) :is(.button,.text-button),.prototype-ui.kontur-workspace:has(.invoice-draft-state) .workspace-field input{min-height:44px}}.prototype-ui .invoice-draft-kind{gap:12px;display:grid}.prototype-ui .invoice-draft-kind-choice{background:var(--bg);border:0;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:0;padding:3px;display:grid}.prototype-ui .invoice-draft-kind-choice label,.prototype-ui .invoice-draft-share-mode label{min-height:34px;color:var(--muted);cursor:pointer;text-align:center;border-radius:8px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:600;display:flex;position:relative}.prototype-ui .invoice-draft-kind-choice input,.prototype-ui .invoice-draft-share-mode input{opacity:0;pointer-events:none;position:absolute}.prototype-ui .invoice-draft-kind-choice label.is-active{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}.prototype-ui .invoice-draft-kind-choice label:has(input:focus-visible),.prototype-ui .invoice-draft-share-mode label:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:1px}.prototype-ui .invoice-draft-share{gap:10px;display:grid}.prototype-ui .invoice-draft-share-mode{gap:4px;display:flex}.prototype-ui .invoice-draft-share-mode label{justify-content:flex-start;min-height:32px;padding:0 8px}.prototype-ui .invoice-draft-share-mode label:has(input:checked){color:var(--ink);background:var(--bg)}.prototype-ui .invoice-draft-plan{gap:8px;display:grid}.prototype-ui .invoice-draft-plan .is-deduction dt{color:var(--muted)}.prototype-ui .invoice-draft-plan .offer-editor-summary dd{white-space:nowrap}@media (width<=660px),(pointer:coarse){.prototype-ui .invoice-draft-kind-choice label,.prototype-ui .invoice-draft-share-mode label{min-height:44px}}.prototype-ui .invoice-draft-kind-choice input[type][type]:disabled,.prototype-ui .invoice-draft-share-mode input[type][type]:disabled{opacity:0}.prototype-ui .invoice-draft-measure{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;max-width:100%;display:inline-flex}.prototype-ui .invoice-draft-measure input{border:1px solid var(--line);background:var(--card);width:88px;min-height:40px;color:var(--ink);font:inherit;text-align:right;font-variant-numeric:tabular-nums;border-radius:8px;padding:0 8px}.prototype-ui .invoice-draft-measure input[aria-invalid=true]{border-color:var(--amber)}.prototype-ui .invoice-draft-measure-unit{color:var(--muted);font-size:13px}.prototype-ui .invoice-draft-measure-hint{color:var(--muted);font-size:12px;line-height:18px;display:block}.prototype-ui .invoice-draft-quantity-missing{gap:8px;margin:0 0 16px;display:grid}.prototype-ui .invoice-draft-quantity-missing ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.prototype-ui .invoice-draft-quantity-missing li{min-width:0;color:var(--ink);align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex}.prototype-ui .invoice-draft-quantity-missing li>span:nth-child(2){overflow-wrap:anywhere;flex:auto;min-width:0}.prototype-ui .invoice-draft-dot{background:var(--amber);border-radius:50%;flex:none;width:6px;height:6px}.prototype-ui .invoice-draft-table tr.has-conflict>td{border-bottom:0;padding-bottom:8px}.prototype-ui .invoice-draft-table .invoice-draft-conflict-row>td{vertical-align:top;padding-top:0;padding-bottom:16px}.prototype-ui .invoice-draft-measure-conflict{min-width:0;color:var(--ink);text-align:left;white-space:normal;justify-items:start;gap:8px;font-size:12px;line-height:18px;display:grid}.prototype-ui .invoice-draft-measure-conflict-text{align-items:flex-start;gap:8px;min-width:0;max-width:640px;margin:0;display:flex}.prototype-ui .invoice-draft-measure-conflict-text>.invoice-draft-dot{margin-top:6px}.prototype-ui .invoice-draft-measure-conflict-text>span:last-child{overflow-wrap:anywhere;flex:auto;min-width:0}.prototype-ui .invoice-draft-measure-conflict-actions{flex-wrap:wrap;align-items:center;gap:8px 16px;min-width:0;display:flex}.prototype-ui .invoice-draft-measure-conflict-actions .text-button{text-align:left;white-space:normal;min-height:32px;margin:0;padding:0;font-size:12px;font-weight:600}@media (width<=660px){.prototype-ui .invoice-draft-table .invoice-draft-conflict-row>.index-cell{display:none}.prototype-ui .invoice-draft-table .invoice-draft-conflict-row>td:last-child{flex:100%;min-width:0;padding:0 14px 16px}.prototype-ui .invoice-draft-table tr.has-conflict>td[data-label]{padding-bottom:8px}.prototype-ui .invoice-draft-table tr.has-conflict{border-bottom:0}.prototype-ui .invoice-draft-table tr>td.measure-cell[data-label]{flex:100%;padding-bottom:10px}.prototype-ui .invoice-draft-table td.measure-cell .invoice-draft-measure{flex-wrap:nowrap;justify-content:flex-start;display:flex}.prototype-ui .invoice-draft-table tr>td.measure-cell[data-label]~td[data-label]{flex:0 0 33.3333%}.prototype-ui .invoice-draft-table tr>td.measure-cell[data-label]+td[data-label]{margin-left:33.3333%}}