@media screen{:root{--table-header-background:#eaf4f5;--table-header-accent:#82b8b4;--table-header-color:#405965;--table-row-background:#f0fafc;--table-row-hover:#e8f6f9;--table-row-border:#e1e8ef}:is(.app-main,.dialog-panel,.admin-drawer) table thead th,:is(.app-main,.dialog-panel,.admin-drawer) .data-table thead th{background:var(--table-header-background);border-bottom:2px solid var(--table-header-accent);color:var(--table-header-color);letter-spacing:.045em;text-transform:uppercase;padding-top:6px;padding-bottom:6px;font-size:.72rem;font-weight:750}:where(.app-main,.dialog-panel,.admin-drawer) table tbody tr{background:var(--table-row-background)}:where(.app-main,.dialog-panel,.admin-drawer) table tbody tr:hover{background:var(--table-row-hover)}:is(.app-main,.dialog-panel,.admin-drawer) table tbody td{border-bottom-color:var(--table-row-border);font-size:.9rem}.app-main .page-stack,.app-main .admin-page-flow,.app-main .permission-workflow{gap:8px}.app-main .card{padding:12px 14px 14px}.app-main :is(.card-header,.page-header,.departments-card-header,.mr-detail-page-header,.report-compact-header),.app-main :is(.items-master-card,.departments-master-card,.admin-directory-card,.permission-user-card,.permission-content-card,.workspace-grid,.dashboard-grid,.admin-grid,.mr-detail-layout,.gr-detail-layout,.report-detail-layout){gap:8px}.app-main :is(.items-master-toolbar,.admin-toolbar,.audit-filter-bar,.session-filter-bar){gap:8px;padding:10px 12px}.app-main :is(.data-table-wrap,.mr-items-table,.audit-filter-bar,.session-filter-bar,.pagination-row,.form-actions,.toolbar-row){margin-top:8px}.app-main :is(.items-master-card,.departments-master-card,.admin-directory-card,.reports-card)>.data-table-wrap,.app-main .mr-create-page :is(.mr-selected-table-wrap,.form-actions){margin-top:0}.app-main .admin-summary-card{gap:6px;min-height:0}.app-main .admin-summary-card strong{font-size:1.35rem}.app-main :is(.stock-ledger-inventory-card,.stock-ledger-on-hand-card){gap:12px;min-height:0}.app-main .stock-ledger-detail-summary{gap:12px;padding:10px 14px}.app-main :is(.stock-ledger-flow-summary,.stock-ledger-compact-summary){gap:8px}.app-main :is(.selected-user-card,.admin-info-panel,.permission-module-card){gap:8px;padding:10px 12px}.app-main .permission-action-bar{box-shadow:none;gap:8px;padding:10px 12px}}
.mobile-sidebar-close{display:none}@media screen and (max-width:1024px){.mobile-sidebar-close{color:#fff;margin-right:8px;padding:4px;display:inline-flex}.app-shell,.app-shell-sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.app-sidebar,.app-sidebar.is-collapsed{width:min(86vw, var(--sidebar-width));box-shadow:var(--shadow);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.app-sidebar.is-mobile-open{transform:translate(0)}.app-sidebar.is-collapsed .brand-text,.app-sidebar.is-collapsed .nav-label,.app-sidebar.is-collapsed .nav-caret{display:initial}.app-sidebar.is-collapsed .nav-submenu{display:flex}.app-sidebar.is-collapsed .sidebar-brand{justify-content:flex-start;padding:0 16px}.app-shell-mobile-open .sidebar-scrim{z-index:15;background:#0f172a61;border:0;display:block;position:fixed;inset:0}.app-shell-mobile-open .app-main{overflow:hidden}.app-header{height:auto;min-height:var(--header-height);flex:none;gap:12px;padding:10px 16px}.header-left{flex:auto}.header-right{flex:0 auto}.header-left .icon-button{flex-shrink:0}.breadcrumb{overflow-wrap:anywhere;min-width:0}.header-meta-chips{max-width:240px}.header-meta-chips dd{overflow-wrap:anywhere}.app-main{overscroll-behavior-y:contain;min-height:0;padding:16px}.app-main :where(section,article,aside,form,.card,.field,.page-stack,.workspace-grid,.admin-grid,.dashboard-grid,.mr-detail-main,.mr-detail-sidebar,.mr-detail-card,.mr-selected-panel,.item-picker){min-width:0}.app-main :where(h1,h2,h3,p,dd,.state-message){overflow-wrap:anywhere}.dashboard-grid,.workspace-grid,.admin-grid,.mr-detail-layout,.gr-detail-layout,.report-detail-layout,.stock-ledger-top-row{grid-template-columns:minmax(0,1fr)}.mr-detail-page,.mr-detail-layout,.mr-detail-main,.mr-detail-sidebar,.mr-detail-card,.internal-demand-detail-page .internal-demand-detail-card,.internal-demand-detail-page .store-outward-detail-card{height:auto;min-height:0;overflow:visible}.internal-demand-detail-page>.mr-detail-layout{flex:none}.mr-detail-sidebar,.gr-detail-sidebar,.report-detail-sidebar,.gr-summary-panel{position:static}.mr-history-card,.gr-history-card{height:auto;max-height:none}.mr-history-list{max-height:420px}.mr-create-form-grid,.document-toolbar,.document-toolbar-queue,.admin-filter-bar,.admin-filter-bar-users,.items-master-toolbar,.departments-master-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-ledger-history-header,.stock-ledger-inventory-card{flex-wrap:wrap;gap:12px}.stock-ledger-date-filter{flex-wrap:wrap;min-width:0}.data-table-wrap,.admin-table-wrap,.gr-mr-table-wrap,.gr-mr-modal-table-wrap,.mr-item-history-gr-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;min-width:0;max-width:100%;overflow:auto}.report-detail-page .report-items-table,.report-detail-page .report-allocation-table{min-width:760px}.mr-create-page .mr-selected-table{min-width:740px}.button,.icon-button,.nav-item,.nav-subitem,.departments-action-button,.profile-modal-close,.mr-create-page .mr-line-icon-button{min-height:44px}.icon-button,.departments-action-button,.profile-modal-close,.mr-create-page .mr-line-icon-button{min-width:44px}.field input,.field select,.field textarea,.table-input,.gr-inspection-input,.mr-create-page .field input,.mr-create-page .field select,.mr-create-page .table-input{min-height:44px;font-size:16px}.field input,.field select,.field textarea{min-width:0;max-width:100%}.page-header-actions,.form-actions,.pagination-row,.admin-pagination,.report-pagination,.report-pagination-actions,.permission-global-actions{flex-wrap:wrap;gap:8px}.button{white-space:normal;text-align:center}.dialog-backdrop{padding:12px;padding-bottom:max(12px, env(safe-area-inset-bottom))}.dialog-panel,.dialog-panel-lg{overscroll-behavior:contain;min-width:0;max-width:100%;max-height:calc(100dvh - 32px);padding:16px}.dialog-panel :where(.field,form,.modal-header>div){min-width:0}.admin-drawer{min-width:0;max-height:100dvh}.drawer-content{min-height:0}}@media screen and (max-width:760px){.app-header{flex-wrap:wrap;gap:8px}.header-left{flex:180px}.header-right{margin-left:auto}.user-summary{display:none}.header-meta-chips{max-width:min(240px,55vw)}.user-menu{max-width:calc(100vw - 24px)}.mr-create-form-grid,.document-toolbar,.document-toolbar-queue,.items-master-toolbar,.departments-master-toolbar,.admin-filter-bar,.admin-filter-bar-users,.form-grid,.review-decision-fields,.gr-inspection-fields,.stock-ledger-compact-summary{grid-template-columns:minmax(0,1fr)}.mr-create-form-grid>*,.form-grid>*{grid-column:auto}.gr-detail-header{grid-template-columns:minmax(0,1fr)}.gr-detail-meta{flex-wrap:wrap;justify-content:flex-start}.stock-ledger-date-filter{grid-template-columns:minmax(0,1fr);width:100%;display:grid}.stock-ledger-date-field{width:100%}.stock-ledger-flow-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-ledger-process-pills{flex-wrap:wrap}.stock-ledger-inventory-card{padding:16px}.stock-ledger-on-hand-card .stock-ledger-item-identity{flex:none}.stock-ledger-item-identity div{flex-wrap:wrap;gap:8px}.page-header-actions .button{flex:140px;width:auto}.internal-demand-review .internal-demand-review-actions .button{flex:140px}.drawer-header,.drawer-content{padding:16px}.auth-shell{grid-template-columns:minmax(0,1fr)}.auth-form-panel{min-width:0}}@media screen and (max-width:480px){.app-main{padding:12px;padding-bottom:max(12px, env(safe-area-inset-bottom))}.app-header{padding:8px 12px}.breadcrumb{gap:4px;font-size:.8rem}.breadcrumb-separator{margin-right:4px}.header-meta-chips{flex-basis:100%;justify-content:flex-start;max-width:100%}.header-right:has(.header-meta-chips){flex-wrap:wrap;flex-basis:100%;justify-content:space-between}.header-right .header-meta-chips{flex:160px}.app-main h1{font-size:1.25rem}.dialog-backdrop{padding:8px}.dialog-panel,.dialog-panel-lg{max-height:calc(100dvh - 16px);padding:12px}.dialog-panel .form-actions .button{flex:120px}.modal-header-actions{width:100%}.stock-ledger-flow-summary{grid-template-columns:minmax(0,1fr)}}@media screen and (max-width:767px){.auth-page{height:100dvh;min-height:0;padding:max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;align-items:center;display:flex}.auth-page .auth-shell{flex:none;min-width:0;max-width:440px;margin:auto}.auth-page .auth-card{justify-content:stretch;gap:20px;min-width:0;padding:24px clamp(18px,5vw,28px)}.auth-page .auth-form{gap:18px;min-width:0}.auth-page .auth-form .field{gap:8px;min-width:0}.auth-page .auth-input-wrap{min-width:0;min-height:52px}.auth-page .auth-input-wrap input{min-width:0;min-height:50px;padding:12px 10px;font-size:16px}.auth-page .password-toggle{min-width:44px;min-height:44px;margin:3px 3px 3px 0}.auth-page .auth-submit{min-height:48px;margin-top:4px}.auth-page .auth-alert{overflow-wrap:anywhere;min-width:0}}@media screen and (max-width:1024px) and (prefers-reduced-motion:reduce){.app-sidebar,.app-sidebar.is-collapsed{transition:none}}
