@layer compras-compact-capture {
/* Compact controls share the portal tokens and keep 44px touch targets. */
#root .supplier-presentation{min-width:0;margin-bottom:4px}
#root .supplier-presentation__keyrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
#root .supplier-presentation .quote-material-key{font-size:12px;font-weight:800;color:var(--accent,#6d3df4);overflow-wrap:anywhere}
#root .supplier-presentation__controls{display:flex;gap:5px;align-items:center;min-width:0}
#root .supplier-presentation__controls>*,#root .supplier-presentation__controls select{min-width:0;max-width:150px}
#root .supplier-presentation__controls button,#root .supplier-presentation__controls select{height:44px!important;min-height:44px!important;border-radius:10px!important;font-size:12px!important;padding:5px 9px!important}
#root .supplier-presentation__editor{display:grid;grid-template-columns:minmax(80px,1fr) minmax(90px,1fr) 40px 40px;gap:5px;align-items:center;margin:6px 0;padding:6px;background:var(--surface-raised,var(--surface,#fff));border:1px solid var(--border,#dce2ef);border-radius:12px}
#root .supplier-presentation__editor input{width:100%;min-width:0;height:40px;font-size:14px}
#root .supplier-presentation__editor button{width:40px;height:40px;border:1px solid var(--border,#dce2ef);border-radius:10px;background:var(--surface,#fff);color:var(--text-primary,#172238);font-size:20px}
#root .supplier-presentation__measure{display:flex;align-items:center;gap:4px;min-width:0}
#root .supplier-presentation__measure span{font-size:12px;white-space:nowrap}
#root .supplier-presentation__calculation{display:block;font-size:12px;margin:3px 0;color:var(--text-secondary,#52617c);font-variant-numeric:tabular-nums}
#root .supplier-presentation__error{display:block;font-size:12px;color:var(--danger,#c42644);padding:3px 0}
#root .quote-source-package-note{font-size:12px;line-height:1.35;color:var(--text-secondary,#52617c)}
html[data-theme=dark] #root .price-alert>summary,body[data-theme=dark] #root .price-alert>summary,#root[data-theme=dark] .price-alert>summary{color:#ffa0b3!important;border-color:#cf5472!important}
@media(max-width:767px){
 #root .workspace-heading{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;flex-wrap:nowrap!important;padding-block:6px!important;margin-bottom:8px!important}
 #root .workspace-heading h1{font-size:18px!important;white-space:nowrap}
 #root .workspace-heading-title{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:5px!important;min-width:0!important;flex:0 1 auto!important;width:auto!important}
 #root .workspace-heading-title .workspace-list-toggle{font-size:0!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;flex:0 0 44px!important}
 #root .workspace-list-toggle svg{width:19px!important;height:19px!important;font-size:19px!important}
 #root .workspace-heading-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:4px!important;width:auto!important;min-width:0!important;flex:0 0 auto!important}
 #root .workspace-heading-actions button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:0!important;gap:0!important;border-radius:11px!important;flex:0 0 44px!important}
 #root .workspace-heading-actions button svg{width:19px!important;height:19px!important;font-size:19px!important;flex:none}
 #root .workspace-heading-actions button span{font-size:0!important}
 #root .workspace-heading-actions button:not(:has(svg))::before{content:'';display:block;width:19px;height:19px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M5 15v5h14v-5M12 3v12m-4-4 4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat}
 #root .dossier-header{position:relative!important;padding:10px!important;gap:8px!important}
 #root .dossier-header h1{font-size:18px!important;padding-right:0!important;max-width:100%!important;overflow-wrap:anywhere}
 #root .dossier-header__identity>div:first-child{padding-right:44px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
 #root .mobile-disclosure--stage-actions{position:absolute!important;right:8px!important;top:8px!important;width:40px!important;margin:0!important;z-index:4}
 #root .mobile-disclosure--stage-actions>.mobile-disclosure__toggle{width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;padding:0!important;justify-content:center!important}
 #root .mobile-disclosure--stage-actions>.mobile-disclosure__toggle>span:first-child{display:none!important}
 #root .mobile-disclosure--stage-actions>.mobile-disclosure__toggle>span:last-child{display:none!important}
 #root .mobile-disclosure--stage-actions>.mobile-disclosure__toggle::before{display:none!important;content:none!important}
 #root .mobile-disclosure--stage-actions>.mobile-disclosure__toggle::after{content:'⋯';font-size:24px;line-height:1}
 #root .mobile-disclosure--stage-actions:has([aria-expanded=true]){width:calc(100% - 16px)!important;top:8px!important}
 #root .mobile-disclosure--stage-actions:has([aria-expanded=true])>.mobile-disclosure__toggle{margin-left:auto}
 #root .mobile-disclosure--stage-actions:has([aria-expanded=true]){background:var(--surface,#fff);border:1px solid var(--border,#dce2ef);box-shadow:0 8px 22px #1023411a;border-radius:12px}
 #root .lifecycle-header-buttons{display:flex!important;flex-flow:row nowrap!important;justify-content:flex-end!important;gap:6px!important}
 #root .lifecycle-header-buttons>.button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:0!important;gap:0!important;flex:0 0 44px!important}
 #root .lifecycle-header-buttons .oc-stage-action-host{display:inline-flex!important;width:44px!important;flex:0 0 44px!important;min-width:0!important}
 #root .oc-stage-action-host>.button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;font-size:0!important;padding:0!important;flex:0 0 44px!important}
 #root .oc-stage-action-host>.button:not(:has(svg))::before{content:'';display:block;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M14 2H5v20h14V7l-5-5zm0 0v5h5M8 14h8m-4-4v8'/%3E%3C/svg%3E") center/contain no-repeat}
 #root .lifecycle-header-buttons>.button svg{font-size:20px!important;width:20px!important;height:20px!important}
 #root .lifecycle-header-buttons>.button:not(:has(svg))::before{content:'';display:block;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='m8 8 8 8m0-8-8 8' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat}
 #root .mobile-disclosure--stages{margin:0!important}
 #root .mobile-disclosure--stages>.mobile-disclosure__toggle{min-height:44px!important;height:44px!important;padding:7px 10px!important}
 #root .mobile-disclosure--stages>.mobile-disclosure__toggle>span:first-child{display:flex!important;align-items:center;gap:8px}
 #root .mobile-disclosure--stages strong{font-size:0!important}
 #root .mobile-disclosure--stages small{font-size:13px!important;font-weight:700}
 #root .quotation-suppliers.quote-supplier-grid{display:flex!important;flex-flow:row nowrap!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px 2px 9px!important;scroll-snap-type:x proximity;align-items:stretch}
 #root .quote-supplier-grid .quote-supplier-tile{flex:0 0 200px!important;width:200px!important;min-height:66px!important;max-height:82px!important;scroll-snap-align:center}
 #root .quote-supplier-grid .quote-supplier-main{padding:8px 94px 8px 9px!important;height:100%!important;min-height:66px!important;max-height:82px!important;min-width:0!important}
 #root .quote-supplier-main strong{font-size:12px!important;line-height:1.25!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #root .quote-supplier-grid .quote-supplier-tile button:not(.quote-supplier-main){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 #root .quote-document-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:7px!important;padding:8px!important;min-height:0!important}
 #root .quote-document-actions>button{font-size:0!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border-radius:11px!important}
 #root .quote-document-actions>button::before{content:'';display:block;width:19px;height:19px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='m8 13 7-7a3 3 0 0 1 4 4L9 20a5 5 0 0 1-7-7L13 2m-7 13 9-9'/%3E%3C/svg%3E") center/contain no-repeat}
 #root .quote-document-actions>.quote-add-capture::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M8 4H5v17h14V4h-3M8 2h8v5H8zm0 10h8m-8 4h6'/%3E%3C/svg%3E")}
 #root .quote-document-actions>button:nth-of-type(3)::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E")}
 #root .quote-scope-row.is-excluded{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;padding-right:7px!important;gap:5px!important}
 #root .quote-scope-row.is-excluded>fieldset{min-width:0!important;padding:0!important;margin:0!important}
 #root .quote-scope-row.is-excluded .dossier-offer-fields,#root .quote-scope-row.is-excluded .supplier-presentation__controls{display:none!important}
 #root .quote-scope-row.is-excluded .dossier-quote-line{padding:8px!important;border:0!important}
 #root .quote-scope-row.is-excluded>.quote-enable{position:static!important;margin:0!important;width:44px!important;height:44px!important;min-height:44px!important;font-size:0!important;padding:0!important}
 #root .quote-scope-row.is-excluded>.quote-enable::before{content:'+';font-size:22px;font-weight:500}
 #root .dossier-body:has(.dossier-quotes){padding:6px!important}
 #root .dossier-supplier-card.is-capturing{padding:0!important;border-radius:14px!important}
 #root .dossier-quote-line{padding:10px!important;gap:8px!important;min-height:0!important}
 #root .dossier-quote-line__material{gap:3px!important;min-width:0!important}
 #root .dossier-offer-fields{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr) minmax(0,.75fr)!important;gap:7px!important;align-items:end!important;min-width:0!important}
 #root .dossier-offer-fields>label{grid-column:auto!important;display:grid!important;gap:4px!important;margin:0!important;min-width:0!important;font-size:0!important;line-height:1.15!important}
 #root .dossier-offer-fields>label::before{content:attr(data-shortlabel);display:block;font-size:12px;font-weight:700;line-height:16px;color:var(--text-secondary,#52617c)}
 #root .dossier-offer-fields>label>span:has(strong){display:none!important}
 #root .dossier-offer-fields>label .app-select,#root .dossier-offer-fields>label .ot-smart-select{min-width:0!important;width:100%!important}
 #root .dossier-offer-fields input,#root .dossier-offer-fields select,#root .dossier-offer-fields [role=combobox]{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;font-size:16px!important;padding:7px 8px!important;border-radius:11px!important;font-variant-numeric:tabular-nums}
 #root .dossier-offer-fields input[type=number]{appearance:textfield;-moz-appearance:textfield}
 #root .dossier-offer-fields input[type=number]::-webkit-inner-spin-button,#root .dossier-offer-fields input[type=number]::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}
 #root .dossier-offer-fields [role=combobox]{font-size:14px!important;padding-inline:6px!important;gap:3px!important}
 #root .dossier-offer-fields label.quote-line-currency>span:first-child:not(.app-select):not(.ot-smart-select){font-size:0!important}
 #root .supplier-presentation__keyrow{gap:5px;justify-content:space-between}
 #root .supplier-presentation__controls{max-width:70%}
 #root .supplier-presentation__controls button,#root .supplier-presentation__controls select{min-height:44px!important;height:44px!important;max-width:135px}
 #root .supplier-presentation__editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px;padding:5px;gap:4px}
 #root .supplier-presentation__editor input,#root .supplier-presentation__editor button{height:44px;min-height:44px;font-size:16px}
 #root .supplier-presentation__editor button{width:44px}
}
@media(max-width:360px){#root .workspace-heading h1{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}#root .workspace-heading-title{flex:0 0 44px!important}}

@media(max-width:767px){#root .lifecycle-header-buttons>.delivery-cancel-trigger::before{content:'×';display:block!important;font-size:24px!important;line-height:1!important}}

}