/* COMPRAS mobile layout. Business data, print formats and desktop geometry stay native. */
@media screen and (max-width:767px){
 html{scroll-padding-top:64px;scroll-padding-bottom:80px}
 body{overscroll-behavior-y:none}
 #root .app-shell.app-shell--mobile{width:100%;min-width:0;max-width:100%;min-height:100dvh;grid-template-columns:minmax(0,1fr)!important}
 #root .app-shell--mobile .app-stage{min-width:0;width:100%;max-width:100%;padding-left:0!important}
 #root .app-shell--mobile .app-content{min-width:0;width:100%;max-width:100%;box-sizing:border-box;padding:12px 12px calc(84px + env(safe-area-inset-bottom))!important;overflow-x:clip}
 #root .app-shell--mobile .mobile-header{position:sticky!important;top:0;z-index:90;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:calc(60px + env(safe-area-inset-top))!important;min-height:60px!important;padding:calc(6px + env(safe-area-inset-top)) 12px 6px!important;background:var(--surface);border-bottom:1px solid var(--border);overflow:visible}
 #root .app-shell--mobile .mobile-header>.brand-lockup{grid-column:1;grid-row:1;display:flex!important;width:auto!important;max-width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:0!important;gap:8px;background:transparent!important;border:0!important;justify-content:flex-start!important}
 #root .app-shell--mobile .mobile-header .brand-lockup__mark{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important}
 #root .app-shell--mobile .mobile-header .brand-lockup>div:last-child{min-width:0!important;max-width:100%;transform:none!important}
 #root .app-shell--mobile .mobile-header .brand-lockup strong{font-size:12px!important;line-height:1.3;white-space:nowrap}
 #root .app-shell--mobile .mobile-header .brand-lockup span{font-size:11px!important;line-height:1.3}
 #root .app-shell--mobile .mobile-header-tools{grid-column:3;grid-row:1;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;width:auto!important;min-width:44px!important;margin:0!important;flex-wrap:nowrap!important}
 #root .app-shell--mobile .mobile-header-tools>.icon-button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;flex:none}
 #root .app-shell--mobile .mobile-header>.uuc-legal-access{position:static!important;grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:auto!important;max-width:44px;font-size:11px;padding:0 2px;margin:0!important}
 #root .app-shell--mobile .mobile-bar{box-sizing:border-box;position:fixed!important;inset:auto 0 0!important;z-index:100!important;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:4px 8px calc(4px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border-top:1px solid var(--border)}
 #root .app-shell--mobile .mobile-bar button{height:56px;min-height:44px;min-width:0;font-size:12px}
 #root .app-shell--mobile .sidebar{width:min(300px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;height:100dvh!important;min-height:0!important;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box;z-index:140!important}
 #root .app-shell--mobile .sidebar-mobile-backdrop{z-index:139!important;inset:0 0 0 min(300px,calc(100vw - 48px))!important;width:auto!important;height:100dvh!important}
 #root .app-shell--mobile .sidebar>nav{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding-bottom:8px}
 #root .app-shell--mobile .sidebar>.sidebar-brand-row{flex:none;min-height:62px;height:auto}
 #root .app-shell--mobile .sidebar .nav-item>span{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;font-size:14px!important;white-space:normal!important}
 #root .app-shell--mobile .sidebar :is(.workspace-secondary-nav,.sidebar-more-options)>summary>span{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;font-size:13px!important}
 #root .app-shell--mobile .sidebar .sidebar-tools{flex:none;padding:8px!important;gap:6px}
 #root .app-shell--mobile .sidebar .sidebar-account-tools{gap:6px}
 #root .app-shell--mobile :is(button,.button,summary){touch-action:manipulation}
 #root .app-shell--mobile :is(main button,main .button,.icon-button,summary){min-height:44px!important}
 #root .app-shell--mobile :is(main input:not([type=checkbox]):not([type=radio]):not([type=file]),main select,main textarea){font-size:16px!important;min-height:44px!important;max-width:100%;box-sizing:border-box}
 #root .app-shell--mobile main label:has(>input:is([type=checkbox],[type=radio])){min-height:44px;align-items:center}
 #root .app-shell--mobile :is(h1,h2,h3,strong,p,label){overflow-wrap:anywhere}
 #root .app-shell--mobile h1{font-size:21px!important;line-height:1.25!important}
 #root .app-shell--mobile h2{font-size:18px!important;line-height:1.3!important}
 #root .app-shell--mobile :is(.surface,.panel,.ops-panel,.operational-workspace,.supplier-directory,.advance-control,.ph-page){min-width:0;max-width:100%;box-sizing:border-box}

 /* Requisition list and the seven stages. */
 #root .app-shell--mobile .workspace-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin-bottom:12px;padding:0!important;min-width:0}
 #root .app-shell--mobile .workspace-heading-title{display:flex;align-items:center;min-width:0;width:100%;gap:8px}
 #root .app-shell--mobile .workspace-heading-title h1{margin:0!important;flex:1}
 #root .app-shell--mobile .workspace-list-toggle{width:auto!important;min-width:88px!important;max-width:none!important;min-height:44px!important;padding:8px 10px!important;font-size:13px!important}
 #root .app-shell--mobile .workspace-list-toggle svg{width:18px;height:18px;flex:none}
 #root .app-shell--mobile .workspace-list-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
 #root .app-shell--mobile .workspace-list-toggle::before{position:static!important;inset:auto!important;transform:none!important;margin:0!important;flex:0 0 20px!important}
 #root .app-shell--mobile .workspace-heading-actions{display:flex!important;flex-wrap:wrap!important;width:100%;min-width:0;gap:8px!important;justify-content:flex-start!important}
 #root .app-shell--mobile .workspace-heading-actions>.button{flex:1 1 120px;white-space:normal!important;font-size:13px!important;padding:8px!important;min-width:0!important}
 #root .app-shell--mobile .workspace-heading-actions>.icon-button{flex:0 0 44px;width:44px!important}
 #root .app-shell--mobile .requisition-workspace{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)!important}
 #root .app-shell--mobile .requisition-workspace>aside{max-width:100%;min-width:0;box-sizing:border-box}
 #root .app-shell--mobile .dossier-shell.dossier-shell--mobile{width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;border-radius:14px!important;grid-template-columns:minmax(0,1fr)!important}
 #root .app-shell--mobile .dossier-shell .dossier-header.uuc-unified-header{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:12px!important;gap:10px!important;box-sizing:border-box}
 #root .app-shell--mobile .dossier-header__identity{width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important}
 #root .app-shell--mobile .dossier-header__identity :is(h1,h2){font-size:18px!important;line-height:1.3!important}
 #root .app-shell--mobile .dossier-header__identity>div{flex-wrap:wrap!important;gap:6px!important}
 #root .app-shell--mobile .dossier-header__identity>p{font-size:12px!important;white-space:normal!important;max-width:100%!important;margin:4px 0 0!important}
 #root .app-shell--mobile .dossier-header>.lifecycle-header-buttons{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important;margin:0!important}
 #root .app-shell--mobile .lifecycle-header-buttons>.button{flex:1 1 auto!important;min-width:0!important;white-space:normal!important;padding:8px 10px!important;font-size:13px!important}
 #root .app-shell--mobile .dossier-header>.mobile-disclosure--stage-actions{display:block!important;order:3;width:100%!important;min-width:0!important}
 #root .app-shell--mobile .dossier-header .mobile-disclosure__body[hidden]{display:none!important}
 #root .app-shell--mobile .dossier-header-controls{display:flex!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important;gap:8px!important}
 #root .app-shell--mobile .dossier-header-actions{width:100%!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;overflow:visible!important;flex:1 1 100%!important}
 #root .app-shell--mobile .dossier-header-actions>.live-toolbar{width:100%!important;flex-wrap:wrap!important}
 #root .app-shell--mobile .dossier-header>.dossier-comparison-info{position:static!important;inset:auto!important;flex:0 0 auto!important;order:5!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;text-align:left!important}
 #root .app-shell--mobile .dossier-comparison-info .comparison-fx-note{white-space:normal!important;height:auto!important;max-height:none!important;line-height:1.45!important;font-size:12px!important;text-align:left!important}
 #root .app-shell--mobile .dossier-header>.uuc-comparison-legend{position:static!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;order:4!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:26px!important;max-height:44px!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:12px!important;padding:4px 0!important;margin:0!important;box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:thin}
 #root .app-shell--mobile .uuc-comparison-legend__item{flex:0 0 auto!important;white-space:nowrap!important;font-size:11px!important;line-height:18px!important}
 #root .app-shell--mobile .dossier-header .live-search{width:100%!important;min-width:0!important;max-width:none!important;flex:1 1 100%!important}
 #root .app-shell--mobile .dossier-header .dossier-header-metrics{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;gap:8px!important}
 #root .app-shell--mobile .mobile-disclosure__toggle{min-height:44px;width:100%;font-size:13px!important}
 #root .app-shell--mobile .dossier-tabs{display:flex!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin}
 #root .app-shell--mobile .dossier-tabs button{min-width:112px!important;flex:0 0 auto!important;font-size:13px!important}
 #root .app-shell--mobile .dossier-body{width:100%!important;max-width:100%!important;min-width:0!important;padding:12px!important;overflow:visible!important;box-sizing:border-box}
 #root .app-shell--mobile .dossier-section-heading{align-items:stretch!important;flex-direction:column!important;gap:8px!important}
 #root .app-shell--mobile :is(.dossier-quote-workspace,.dossier-quote-capture,.dossier-fiscal-workspace,.dossier-receipt-workspace,.oc-studio,.live-comparison){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-columns:auto!important;min-width:0!important;max-width:100%!important;gap:12px!important;overflow:visible!important}
 #root .app-shell--mobile :is(.dossier-quote-card,.dossier-quote-line,.dossier-order-row,.oc-order-row,.dossier-receipt-card,.invoice-card){min-width:0!important;max-width:100%!important;box-sizing:border-box}
 #root .app-shell--mobile :is(.dossier-offer-fields,.dossier-allocation-fields,.quote-entry-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #root .app-shell--mobile .dossier-offer-fields label:first-child{grid-column:1/-1}
 #root .app-shell--mobile :is(.quote-document-viewer,.dossier-fiscal-source){width:100%!important;min-width:0!important;max-width:100%!important;height:min(60dvh,520px)!important;max-height:none!important;position:relative!important;inset:auto!important;overflow:hidden!important}
 #root .app-shell--mobile :is(.quote-document-viewer__resize,.quote-document-viewer__resize-handle){display:none!important}
 #root .app-shell--mobile :is(.quote-document-viewer>header,.quote-pdf__toolbar,.oc-studio__toolbar,.oc-preview__toolbar,.dossier-order-actions,.dossier-stage-footer,.dossier-sticky-action){max-width:100%;min-width:0;flex-wrap:wrap!important;height:auto!important;gap:8px!important}
 #root .app-shell--mobile .quote-live-supplier-nav{display:flex!important;flex-direction:row!important;overflow-x:auto!important;overscroll-behavior-inline:contain;gap:8px;max-width:100%}
 #root .app-shell--mobile .quote-live-supplier-nav>*{flex:0 0 180px;min-width:0}
 #root .app-shell--mobile .live-concept-list{display:flex!important;overflow-x:auto!important;max-width:100%;gap:8px;scroll-snap-type:x proximity}
 #root .app-shell--mobile .live-concept-list button{flex:0 0 230px!important;scroll-snap-align:start}
 #root .app-shell--mobile :is(.live-chart-pane,.live-suppliers,.live-concepts){min-width:0!important;max-width:100%!important;max-height:none!important;overflow:visible!important}
 #root .app-shell--mobile .live-chart-pane>div{max-width:100%}
 #root .app-shell--mobile .dossier-footer{font-size:12px!important;max-width:100%;gap:8px;flex-wrap:wrap}

 /* Historical matrix: search stays available; advanced filters fold. */
 .uuc-mobile-filters{grid-column:1/-1;width:100%;min-width:0}
 .uuc-mobile-filter-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;gap:8px}
 .uuc-mobile-filter-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:10px}
 .uuc-mobile-filter-fields[hidden]{display:none!important}
 #root .app-shell--mobile .ph-filters.ph-unified-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
 #root .app-shell--mobile .ph-period-actions{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end;gap:8px}
 #root .app-shell--mobile .ph-filters .ph-search{grid-column:1/-1!important;min-width:0}
 #root .app-shell--mobile .ph-header{padding:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #root .app-shell--mobile .ph-header h1{grid-column:1/-1;max-width:100%;padding-right:44px;font-size:19px!important}
 #root .app-shell--mobile .ph-metrics{gap:6px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0!important}
 #root .app-shell--mobile .ph-metric{padding:8px!important;min-width:0!important;gap:4px!important}
 #root .app-shell--mobile .ph-metric strong{font-size:17px!important}
 #root .app-shell--mobile .ph-metric-label{font-size:11px!important;white-space:normal!important}
 #root .app-shell--mobile .ph-matrix,#root .app-shell--mobile .ph-table{width:100%!important;height:max(320px,calc(100dvh - 380px))!important;min-height:320px!important;max-height:70dvh!important;overflow:auto!important;overscroll-behavior:contain}
 #root .app-shell--mobile .ph-matrix :is(.ph-key-cell,.ph-column-key){width:150px!important;min-width:150px!important;max-width:150px!important}
 #root .app-shell--mobile .ph-matrix :is(.ph-trend-cell,.ph-column-trend){position:static!important;min-width:110px!important;width:110px!important}
 #root .app-shell--mobile .ph-info{width:44px!important;min-width:44px!important;height:44px!important;padding:8px!important}
 #root .app-shell--mobile .ph-week-cell button{min-width:72px;min-height:44px!important;font-size:13px!important}

 /* Works, directory, reports, advances and administration. */
 #root .app-shell--mobile :is(.ops-toolbar,.works-header-controls,.docreg-filters,.docreg-form-grid,.ac-filters,.ac-form-grid,.admin-form-grid,.ops-form-grid,.sd-editor-grid,.weekly-filters,.report-filters){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%;min-width:0}
 #root .app-shell--mobile :is(.ops-search,.ac-filters>label:last-child,.docreg-upload,.sd-logo-editor,.sd-payment-settings){grid-column:1/-1}
 #root .app-shell--mobile :is(.works-workspace,.work-business-layout,.sd-directory-layout,.sd-detail-layout,.weekly-workspace,.wx-layout,.admin-layout,.access-capability-grid,.ot-layout,.ot-split-layout){grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important;max-width:100%!important}
 #root .app-shell--mobile nav[aria-label="Seleccionar obra"]{display:flex!important;overflow-x:auto!important;gap:8px;max-width:100%;padding-bottom:6px;scroll-snap-type:x proximity}
 #root .app-shell--mobile nav[aria-label="Seleccionar obra"] button{flex:0 0 156px;min-width:0;scroll-snap-align:start}
 #root .app-shell--mobile .work-row .ops-row__main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%;min-width:0}
 #root .app-shell--mobile .work-identity{width:100%;min-width:0;display:block!important}
 #root .app-shell--mobile .work-identity>div{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap!important}
 #root .app-shell--mobile .work-identity .folio{white-space:nowrap!important;flex:0 0 auto!important;min-width:max-content}
 #root .app-shell--mobile .work-readiness{min-width:0;width:100%}
 #root .app-shell--mobile .work-readiness>span{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}
 #root .app-shell--mobile .work-readiness strong{flex:none;white-space:nowrap!important}
 #root .app-shell--mobile :is(.ops-segmented,.op-tabs,.report-tabs,.weekly-view,.ot-section-index){display:flex!important;flex-wrap:nowrap!important;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;gap:6px}
 #root .app-shell--mobile :is(.ops-segmented,.op-tabs,.report-tabs,.weekly-view,.ot-section-index)>button{flex:0 0 auto;white-space:nowrap}
 #root .app-shell--mobile :is(.ops-row,.work-row,.sd-detail-header,.ac-heading,.ac-detail-heading,.docreg-header,.weekly-header,.ot-hero,.ot-command-bar,.ot-dossier-head){min-width:0;max-width:100%;flex-wrap:wrap!important;gap:10px!important}
 #root .app-shell--mobile :is(.ops-row__actions,.work-row__controls,.docreg-actions,.weekly-header-actions,.reporting-actions,.ot-command-actions,.ot-dossier-actions,.ac-order-actions){display:flex!important;flex-wrap:wrap!important;max-width:100%;gap:8px!important}
 #root .app-shell--mobile :is(.ops-row__actions,.docreg-actions,.reporting-actions,.ot-command-actions)>button{flex:1 1 120px;min-width:0}
 #root .app-shell--mobile .advance-control{height:auto!important;overflow:visible!important;padding:0!important}
 #root .app-shell--mobile :is(.ac-totals,.advance-metrics,.report-metrics,.wx-metrics,.order-summary){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #root .app-shell--mobile :is(.ac-order-card,.sd-provider-body,.docreg-card,.ops-panel,.ot-box){padding:12px!important}
 #root .app-shell--mobile :is(.ac-pagination,.docreg-pagination,.weekly-pagination){flex-wrap:wrap;gap:8px}
 #root .app-shell--mobile :is(.ot-capture,.ot-detail-panel,.ot-index-panel,.ot-live-preview){min-width:0!important;max-width:100%!important;position:static!important}
 #root .app-shell--mobile .ot-live-preview{max-height:65dvh;overflow:auto}
 #root .app-shell--mobile :is(.ot-edit-grid,.ot-form-grid,.ot-generator-grid){grid-template-columns:minmax(0,1fr)!important}
 #root .app-shell--mobile :is(.table-scroll,.sd-table-scroll,.explosion-table-scroll,.docreg-table-wrap,.ac-table-scroll,.advance-table-scroll,.admin-table-scroll,.comparison-matrix-scroll,.invoice-fiscal-concepts){width:100%;max-width:100%;min-width:0;overflow-x:auto!important;overscroll-behavior-inline:contain}
 #root .app-shell--mobile main :where(div,section):has(>table){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}

 /* Full-screen sheets with one body scroll and reachable actions. */
 html body :is(.wizard-backdrop,.ops-dialog-backdrop,.invoice-viewer-backdrop,.dossier-backdrop,.ph-overlay){padding:0!important;align-items:stretch!important;justify-content:stretch!important}
 html body :is(.wizard.wizard--requisition-studio,.ops-dialog,.invoice-viewer,.sd-dialog,.ph-drawer,.rq-history-dialog,.ot-parts-drawer){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;inset:0!important;margin:0!important;border-radius:0!important}
 html body .wizard.wizard--requisition-studio{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}
 html body .wizard--requisition-studio .wizard-header{padding:calc(12px + env(safe-area-inset-top)) 12px 10px!important;gap:8px!important;flex-wrap:nowrap!important}
 html body .wizard--requisition-studio .wizard-header h2{font-size:20px!important;line-height:1.3}
 html body .wizard--requisition-studio .wizard-header>.icon-button{flex:0 0 44px;width:44px!important;min-width:44px!important;height:44px!important}
 html body .wizard--requisition-studio .wizard-progress{padding:8px 12px!important;min-height:0;gap:8px}
 html body .wizard--requisition-studio .wizard-body.requisition-studio{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;padding:0!important;min-height:0!important;overflow:hidden!important;gap:0!important}
 html body .wizard--requisition-studio .requisition-studio__switch{display:flex!important;grid-column:1;grid-row:1;gap:8px;padding:8px 12px!important}
 html body .wizard--requisition-studio .requisition-studio__switch button{min-height:44px!important;flex:1}
 html body .wizard--requisition-studio :is(.requisition-studio__capture,.requisition-preview){grid-column:1!important;grid-row:2!important;min-width:0!important;max-width:100%!important;min-height:0!important;overflow:auto!important;padding:12px!important;box-sizing:border-box}
 html body .wizard--requisition-studio [data-studio-pane=capture]>.requisition-preview{display:none!important}
 html body .wizard--requisition-studio [data-studio-pane=preview]>.requisition-studio__capture{display:none!important}
 html body .wizard--requisition-studio .form-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body .wizard--requisition-studio :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select){font-size:16px!important;min-height:44px!important;min-width:0!important;max-width:100%;box-sizing:border-box}
 html body .wizard--requisition-studio .rq-material-picker{z-index:auto}
 html body .wizard--requisition-studio .rq-material-results{position:relative!important;inset:auto!important;max-height:44dvh!important;overflow:auto!important;box-shadow:none!important;margin-top:8px!important}
 html body .wizard--requisition-studio .rq-material-search-actions{flex-wrap:wrap}
 html body .wizard--requisition-studio .requisition-line-editor.rq-material-row{--rq-action-size:44px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important;gap:10px!important;padding:12px!important}
 html body .wizard--requisition-studio .rq-material-row>.rq-material-identity{grid-column:1/-1!important;max-width:100%;min-width:0}
 html body .wizard--requisition-studio .rq-material-row>.rq-material-classification{grid-column:1/3!important;grid-row:2!important;min-width:0}
 html body .wizard--requisition-studio .rq-material-row>.rq-material-quantity{grid-column:1!important;grid-row:3!important;min-width:0}
 html body .wizard--requisition-studio .rq-material-row>.rq-material-unit{grid-column:2!important;grid-row:3!important;min-width:0}
 html body .wizard--requisition-studio .rq-material-row>.rq-material-actions{grid-column:3!important;grid-row:2/4!important;min-width:44px}
 html body .wizard--requisition-studio .rq-material-actions button{width:44px!important;height:44px!important;min-height:44px!important}
 html body .wizard--requisition-studio .wizard-footer{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:8px!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;margin:0!important;position:relative!important;min-height:0!important;background:var(--surface);border-top:1px solid var(--border)}
 html body .wizard--requisition-studio .wizard-footer>button{min-height:44px!important;min-width:0;flex:1 1 120px;font-size:14px!important}
 html body .wizard--requisition-studio .wizard-material-approval{flex:1 0 100%;order:-1}
 html body .wizard--requisition-studio .key-concept-editor__row{grid-template-columns:minmax(0,1fr)!important}
 html body :is(.rq-history-dialog,.ph-drawer,.ops-dialog,.sd-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font-size:16px!important;min-height:44px!important;max-width:100%;box-sizing:border-box}
 html body :is(.ops-dialog__body,.sd-editor,.sd-detail-sheet,.invoice-viewer-body,.rq-cancel-concepts,.rq-additional-editor-inner>.additional-review){min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
 html body :is(.ops-dialog,.sd-dialog,.ph-drawer,.rq-history-dialog) button{min-height:44px!important}
 html body :is(.sd-editor-actions,.ops-dialog>footer,.admin-side-drawer>footer){position:sticky;bottom:0;z-index:2;background:var(--surface);padding-bottom:max(12px,env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:8px}
 html body :is(.sd-editor-actions,.ops-dialog>footer)>button{flex:1 1 120px}
 html body :is(.portal-calendar,.ot-calendar,.app-select__menu,.ot-smart-select__menu,.ph-options,.rq-type-options){max-width:calc(100vw - 24px)!important;max-height:65dvh!important;overflow:auto;overscroll-behavior:contain}
}
@media screen and (min-width:768px){.uuc-mobile-filters,.uuc-mobile-filter-fields{display:contents!important}.uuc-mobile-filter-toggle{display:none!important}}
@media screen and (min-width:768px) and (max-width:1024px){
 #root .app-content{min-width:0;max-width:100%}
 #root :is(.oc-studio,.ot-split-layout,.weekly-workspace,.work-business-layout){grid-template-columns:minmax(0,1fr)!important}
 #root .dossier-header{flex-wrap:wrap!important;height:auto!important;min-height:96px}
 #root .dossier-header-actions{flex-wrap:wrap!important;min-width:0!important}
}
@media screen and (max-width:359px){
 #root .app-shell--mobile .mobile-header{padding-inline:8px!important;gap:4px}
 #root .app-shell--mobile .mobile-header .brand-lockup strong{font-size:11px!important}
 #root .app-shell--mobile .mobile-header .brand-lockup span{display:none}
 #root .app-shell--mobile .mobile-header>.uuc-legal-access{font-size:10px}
 #root .app-shell--mobile :is(.ac-filters,.ops-toolbar,.docreg-filters,.weekly-filters){grid-template-columns:minmax(0,1fr)!important}
}
