.record-form-dialog-header{flex-direction:column;gap:4px;min-width:0;display:flex}.record-form-dialog-header:not(:has(>:not([hidden]))){display:none}.record-form-dialog-actions{border:0;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:0;padding:0;display:flex}.record-form-dialog-actions :is(button,a){white-space:normal;height:auto;min-height:40px}.record-form-dialog-body>.operations-dialog-body{padding:0;overflow:visible}.record-form-dialog-body :is(input,select,textarea,[role=combobox]){scroll-margin-block:12px}.record-form-dialog-body.record-form-preview{overflow:hidden}.record-form-preview>iframe{flex:1;width:100%;min-height:0}.record-form-dialog-body textarea.record-saved-filter-note{resize:vertical;height:52px;min-height:52px}.record-form-fields{grid-template-columns:minmax(0,1fr);align-content:start;gap:12px 16px;display:grid}.record-form-fields>*{min-width:0}.record-form-fields>.record-form-wide{grid-column:1/-1}.record-contact-form{align-items:start;gap:16px;display:grid}@container record-editor (width>=820px){.record-contact-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.record-table-ordering-columns{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.record-payment-account-fields{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.record-payment-account-fields [class~=lg\:col-span-4]{grid-column:1/-1}.record-form-dialog-body .support-desk-create{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.record-form-dialog-body .support-desk-create .support-desk-field{margin:0}.record-editor .record-form-dialog-body input.pl-8:not([type=checkbox]){padding-left:32px}.record-editor .record-form-dialog-body input.pl-9:not([type=checkbox]){padding-left:36px}.record-editor .record-form-dialog-body input.pl-10:not([type=checkbox]){padding-left:40px}.record-editor .record-form-dialog-body input.pr-8:not([type=checkbox]){padding-right:32px}.record-editor .record-form-dialog-body input.pr-9:not([type=checkbox]){padding-right:36px}.record-editor .record-form-dialog-body input.pr-10:not([type=checkbox]){padding-right:40px}.record-editor .record-form-dialog-body input.px-9:not([type=checkbox]){padding-inline:36px}.record-attendance-fields,.record-invoice-selection{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}@container record-editor (width>=600px){.record-payment-account-fields,.record-form-dialog-body .support-desk-create{grid-template-columns:repeat(2,minmax(0,1fr))}.record-form-dialog-body .support-desk-create>:is(.support-desk-field:nth-child(-n+2),[role=alert]){grid-column:1/-1}.record-form-fields,.record-attendance-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.record-attendance-fields>:is(:first-child,p,[role=alert]){grid-column:1/-1}.record-invoice-selection{grid-template-columns:repeat(2,minmax(0,1fr))}.record-invoice-selection>:is(.record-invoice-partner,.record-invoice-notes,.record-invoice-aggregation){grid-column:1/-1}.record-invoice-selection:has(.record-invoice-deal)>.record-invoice-aggregation{grid-area:2/2}.record-invoice-selection>.record-invoice-deal{grid-area:2/1}.record-invoice-selection>.record-invoice-notes{grid-row:3}}@container record-editor (width>=860px){.record-table-ordering-columns{grid-template-columns:minmax(0,1fr) minmax(340px,.75fr)}.record-payment-account-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}.warehouse-document-editor{min-height:0;container:warehouse-document/inline-size}.record-editor.warehouse-document-editor{container-name:record-editor warehouse-document}.warehouse-document-editor .warehouse-document-tabs{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.warehouse-document-editor .warehouse-document-form-grid{grid-template-columns:minmax(0,1fr);gap:18px 16px;display:grid}.warehouse-document-editor .warehouse-document-form-grid>*{min-width:0}.warehouse-document-editor .warehouse-document-form-grid>.space-y-2>label{margin-bottom:var(--record-editor-field-gap)}.warehouse-document-editor .warehouse-document-wide{grid-column:1/-1}.warehouse-document-editor details{border-radius:14px}.warehouse-document-wizard [data-wizard-footer] button{min-height:40px}.record-editor.warehouse-document-editor input.warehouse-document-scan-input{padding-left:38px}.warehouse-document-editor .warehouse-document-lines-table{border-collapse:separate;border-spacing:0;width:100%;min-width:900px;font-size:14px}.warehouse-document-lines-table th{background:hsl(var(--muted) / .45);color:hsl(var(--muted-foreground));padding:12px;font-size:12px;font-weight:600}.warehouse-document-lines-table td{vertical-align:top;border-top:1px solid hsl(var(--border));padding:12px}.warehouse-document-lines-table .warehouse-document-tracking-row td{border-top:0;padding-top:0}.warehouse-document-tracking{background:hsl(var(--muted) / .3);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;padding:14px;display:grid}.warehouse-document-editor .warehouse-document-tracking label{margin-bottom:var(--record-editor-field-gap);font-size:13px;display:block}.warehouse-document-editor .warehouse-document-lines-total{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .25);border-radius:12px;flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:16px 20px;font-size:16px;display:flex}.warehouse-document-editor .warehouse-document-detail-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.warehouse-document-editor .warehouse-document-detail-toolbar>div{flex-wrap:wrap;gap:8px;width:auto;max-width:100%;display:flex}.warehouse-document-editor .warehouse-document-detail-toolbar>div:last-child{margin-left:auto}.warehouse-document-editor .warehouse-document-summary{border-radius:14px;overflow:hidden}.warehouse-document-editor .warehouse-document-summary h1{white-space:normal;overflow-wrap:anywhere}.warehouse-document-editor .warehouse-document-detail-panel>.border-t{border-top:0;padding:0}.warehouse-document-editor .warehouse-document-detail-panel .file-manager{border-radius:14px}.warehouse-document-dialog .record-editor-section:last-child{margin-bottom:0}.warehouse-document-dialog-body{max-height:min(68vh,720px);padding:4px;overflow-y:auto}.warehouse-document-packaging-row{gap:16px;display:grid}@container warehouse-document (width>=680px){.warehouse-document-editor .warehouse-document-form-grid,.warehouse-document-packaging-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.invoice-editor{min-height:0;container:invoice-editor/inline-size}.record-editor.invoice-editor{container-name:record-editor invoice-editor}.invoice-editor [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.invoice-editor .invoice-grid{grid-template-columns:minmax(0,1fr);gap:18px 16px;display:grid}.invoice-editor .invoice-grid>*{min-width:0}.invoice-editor .invoice-header-sections{align-items:start;gap:18px;margin-bottom:18px;display:grid}.invoice-editor .invoice-header-sections>.record-editor-section{margin-bottom:0}.invoice-editor .invoice-wide{grid-column:1/-1}.invoice-editor .invoice-lines-table{border-collapse:separate;border-spacing:0;width:100%;min-width:920px;font-size:14px}.invoice-lines-table th{background:hsl(var(--muted) / .45);color:hsl(var(--muted-foreground));padding:12px;font-size:12px;font-weight:600}.invoice-lines-table td{vertical-align:top;border-top:1px solid hsl(var(--border));padding:12px}.invoice-lines-table .invoice-line-details td{border-top:0;padding-top:0}.invoice-line-details-grid{background:hsl(var(--muted) / .3);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;padding:16px;display:grid}.invoice-editor .invoice-line-details-grid label{margin-bottom:var(--record-editor-field-gap);font-size:13px}.invoice-editor .invoice-lines-total{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .25);border-radius:12px;flex-wrap:wrap;justify-content:flex-end;padding:18px 20px;font-size:16px;display:flex}.invoice-editor details{border-radius:14px}.invoice-editor .document-text-section>.record-editor-section-heading{margin-bottom:12px}.invoice-editor .invoice-detail-heading{border:1px solid hsl(var(--border));border-radius:14px;padding:20px}.invoice-editor .invoice-detail-heading h1{white-space:normal;overflow-wrap:anywhere}.invoice-wizard [data-wizard-footer] button{min-height:40px}.invoice-editor .offer-request-text{min-height:160px}@container invoice-editor (width>=680px){.invoice-editor .invoice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container invoice-editor (width>=840px){.invoice-editor .invoice-header-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}.dispatch-editor{container:dispatch-editor/inline-size}.record-editor .dispatch-editor textarea{min-height:80px}.dispatch-channels{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.dispatch-channel{border:1px solid hsl(var(--border));background:hsl(var(--card));min-width:0;color:hsl(var(--muted-foreground));border-radius:10px;align-items:center;gap:10px;padding:12px;font-size:14px;transition:background-color .15s,border-color .15s;display:flex}.dispatch-channel:hover{background:hsl(var(--muted) / .4)}.dispatch-channel:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.dispatch-channel:disabled{cursor:default;opacity:.65}.dispatch-channel-active{border-color:hsl(var(--primary) / .5);background:hsl(var(--primary) / .07);color:hsl(var(--primary))}.dispatch-columns{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.dispatch-card{border:1px solid hsl(var(--border));border-radius:10px;gap:12px;min-width:0;padding:16px;display:grid}.dispatch-heading{margin:0;font-size:14px;font-weight:600}@container dispatch-editor (width>=760px){.dispatch-columns{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}}@container dispatch-editor (width<=520px){.dispatch-channel{justify-content:center;padding:10px 6px}.dispatch-channel>span{text-align:center}.dispatch-channel>svg,.dispatch-channel .text-xs{display:none}}.document-record-header{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:14px;gap:16px;padding:20px;display:grid}.document-record-heading{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:16px;display:flex}.document-record-actions{border-top:1px solid hsl(var(--border));flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px;display:flex}.document-record-actions>[data-document-output-actions]{margin-left:auto}.document-record-actions button{min-height:40px}@media (width<=640px){.document-record-actions>[data-document-output-actions]{margin-left:0}}.activity-editor{min-width:0;min-height:0}.activity-editor [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.activity-editor .activity-description{min-height:180px}.activity-care-actions{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:20px;display:flex}.activity-care-plan>.record-editor-fields{margin-top:20px}.activity-care-actions>div{flex-wrap:wrap;gap:8px;display:flex}.record-editor.document-detail{padding:12px}.document-detail [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.document-detail-tabs{container:document-detail-tabs/inline-size}.document-detail :is(.invoice-detail-panel,.warehouse-document-detail-panel){gap:12px;display:grid}.document-detail :is(.invoice-detail-panel,.warehouse-document-detail-panel)>.record-editor-section{margin-bottom:0}.document-detail .document-section{border-radius:12px;min-width:0}.document-detail .document-section-heading{padding:10px 16px}.document-detail .document-section-body{padding:12px 16px}.document-detail .record-editor-section-heading{margin-bottom:12px}.document-detail .document-record-header{gap:12px;padding:16px}.document-detail .document-record-actions{padding-top:12px}.document-detail-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.document-detail-grid>*{min-width:0}.document-detail-grid>div{border-radius:12px;padding:16px}@container document-detail-tabs (width>=680px){.document-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.pricelist-editor{container:pricelist-editor/inline-size}.pricelist-editor-columns{align-items:start;gap:0 18px;display:grid}.record-editor .pricelist-editor-identity [data-pricelist-field=name] input{min-height:46px;font-size:16px;font-weight:500}.pricelist-editor-identity textarea{min-height:80px}.pricelist-editor-usage{gap:18px;display:grid}.pricelist-editor-usage [data-field-name]{min-height:24px}.record-editor .pricelist-editor-files{border-radius:14px;padding:20px}.pricelist-editor-files h3{font-size:16px}@container pricelist-editor (width>=800px){.pricelist-editor-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}@container pricelist-editor (width>=560px){.pricelist-editor .record-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}.entity-basic-details{--background:var(--card);color:hsl(var(--foreground));padding:4px 2px 16px;container:entity-basic/inline-size}.entity-basic-intro{padding:4px 2px 20px}.entity-basic-intro h2{letter-spacing:-.025em;font-size:22px;font-weight:650;line-height:1.35}.entity-basic-intro p{color:hsl(var(--muted-foreground));margin-top:5px;font-size:14px;line-height:1.5}.entity-basic-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px 16px;display:grid}.entity-basic-field{min-width:0}.entity-basic-company{gap:24px;display:grid}.entity-basic-verification{margin-top:20px}.entity-basic-verification>section{background:hsl(var(--primary) / .025);border-radius:10px}.entity-basic-record{border-top:1px solid hsl(var(--border));min-width:0;padding-top:20px}.entity-basic-record h4{color:hsl(var(--muted-foreground));margin-bottom:16px;font-size:13px;font-weight:600}.entity-basic-details :is(input:not([type=checkbox]),[role=combobox]){border-radius:8px;height:40px;min-height:40px;padding-inline:12px}.entity-basic-details [data-field-name] button:not([role=combobox]){min-height:40px}.entity-basic-details [data-entity-field=name] input{height:46px;font-size:16px;font-weight:500}.entity-basic-details [data-entity-field=vat_payer]{align-self:center}.entity-basic-details [data-entity-field=vat_payer] label{font-size:14px}.entity-basic-details [data-entity-field=_copy_address] button{white-space:normal;flex:auto}@container entity-basic (width>=440px){.entity-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entity-basic-identity [data-entity-field=name],.entity-basic-identity [data-entity-field=subtitle],[data-entity-field^=_address_autocomplete],[data-entity-field=_copy_address],[data-entity-field$=_country_id]{grid-column:1/-1}}@container entity-basic (width>=760px){.entity-basic-company{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px}.entity-basic-record{border-top:0;border-left:1px solid hsl(var(--border));padding:0 0 0 28px}.entity-basic-contacts{grid-template-columns:repeat(3,minmax(0,1fr))}}@container entity-basic (width>=920px){.entity-basic-addresses{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}}@media (width<=480px){.entity-basic-intro h2{font-size:20px}}.service-editor{min-width:0;min-height:0}.service-editor [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;height:auto;display:flex}.service-editor .service-notes{min-height:160px}.service-editor .service-summary{gap:20px;display:grid}.service-editor .service-summary dt{color:hsl(var(--muted-foreground));font-size:12px}.service-editor .service-summary dd{overflow-wrap:anywhere;white-space:pre-wrap;margin-top:6px;font-size:14px;font-weight:500}.service-editor .service-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.service-editor .service-command-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.service-editor .service-time-entry{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .2);border-radius:12px;align-items:end;gap:16px;padding:16px;display:grid}@container record-editor (width>=700px){.service-editor .service-time-entry{grid-template-columns:100px 190px minmax(120px,1fr) 40px}}.service-editor .service-total{background:hsl(var(--muted) / .35);border-radius:10px;padding:14px 16px}.service-editor .service-total dd{margin-top:6px;font-size:18px;font-weight:600}.service-editor .service-inline-footer{background:hsl(var(--background));border-top:1px solid hsl(var(--border));justify-content:flex-end;padding-top:12px;padding-bottom:4px;display:flex;position:sticky;bottom:0}.deal-editor{min-width:0;min-height:0}.deal-editor [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.deal-editor .deal-description{min-height:180px}.deal-detail-heading{border:1px solid hsl(var(--border));border-radius:14px;padding:20px}.deal-detail-panel{gap:18px;display:grid}.deal-detail-panel>.rounded-lg{border-radius:14px;padding:20px}.deal-workflow-grid,.deal-related-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.deal-related-grid>:first-child{grid-column:1/-1}@container record-editor (width>=600px){.deal-workflow-grid,.deal-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container record-editor (width>=950px){.deal-workflow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.project-editor{min-width:0;min-height:0}.project-editor [role=tablist]{flex-wrap:wrap;justify-content:flex-start;width:100%;display:flex}.project-editor .project-meta{gap:18px;display:grid}.project-editor .project-meta dt{color:hsl(var(--muted-foreground));font-size:13px}.project-editor .project-meta dd{overflow-wrap:anywhere;margin-top:6px}@container record-editor (width>=560px){.project-editor .project-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
