:root{--bg-main: #f8fafc;--bg-sidebar: #ffffff;--bg-card: #ffffff;--border-color: #e2e8f0;--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #64748b;--primary: #2563eb;--primary-hover: #1d4ed8;--brand-red: #e11d48;--brand-red-hover: #be123c;--success: #10b981;--warning: #f59e0b;--danger: #ef4444;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .06), 0 2px 4px -2px rgba(0, 0, 0, .04);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .03);--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--radius-full: 9999px;--font-sans: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;--font-mono: "JetBrains Mono", monospace}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-main);color:var(--text-primary);font-size:.875rem;line-height:1.5;-webkit-font-smoothing:antialiased}h1,.h1{font-size:1.45rem;font-weight:800}h2,.h2{font-size:1.25rem;font-weight:800}h3,.h3{font-size:1.1rem;font-weight:700}h4,.h4{font-size:.95rem;font-weight:700}button{font-family:inherit;cursor:pointer;border:none;background:none}input,select,textarea{font-family:inherit;font-size:.85rem}.portal-layout-container{display:grid;grid-template-columns:260px 1fr;min-height:100vh;background-color:var(--bg-main)}.app-sidebar{background-color:var(--bg-sidebar);border-right:1px solid var(--border-color);display:flex;flex-direction:column;height:100vh;position:sticky;top:0;z-index:50;overflow-y:auto}.sidebar-brand{padding:1.25rem 1.5rem;display:flex;align-items:center;gap:.85rem;border-bottom:1px solid #f1f5f9}.sidebar-logo-img{height:42px;width:auto;object-fit:contain}.sidebar-brand-text{display:flex;flex-direction:column}.sidebar-brand-name{font-size:1.15rem;font-weight:800;color:var(--brand-red);line-height:1.2}.sidebar-brand-tag{font-size:.72rem;font-weight:700;color:var(--brand-red);letter-spacing:.02em}.sidebar-menu-wrapper{padding:1.25rem 1rem;display:flex;flex-direction:column;gap:.35rem}.sidebar-section-label{font-size:.65rem;font-weight:800;color:var(--brand-red);text-transform:uppercase;letter-spacing:.05em;padding:.5rem .6rem .2rem;margin-top:.35rem}.sidebar-nav-item{display:flex;align-items:center;gap:.65rem;padding:.45rem .7rem;border-radius:var(--radius-md);color:var(--text-secondary);font-size:.8rem;font-weight:600;transition:all .15s ease;width:100%;text-align:left}.sidebar-nav-item:hover{background-color:#f8fafc;color:var(--text-primary)}.sidebar-nav-item.active{background-color:var(--brand-red);color:#fff;font-weight:700;box-shadow:0 3px 8px #e11d4838}.sidebar-nav-item.active svg{color:#fff}.sidebar-badge{margin-left:auto;font-size:.65rem;font-weight:800;padding:.12rem .45rem;border-radius:var(--radius-full)}.sidebar-badge.red{background:#fecdd3;color:#9f1239}.sidebar-nav-item.active .sidebar-badge.red{background:#ffffff40;color:#fff}.sidebar-badge.count{background:#f1f5f9;color:var(--text-muted)}.app-top-header,.portal-top-header{background:#fff;border-bottom:1px solid var(--border-color);height:60px;padding:0 1.25rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40;box-shadow:var(--shadow-sm);gap:.75rem;flex-wrap:nowrap}.top-header-left{display:flex;align-items:center;gap:.6rem;flex:1;min-width:0}.mobile-header-logo{display:none}@media(max-width:900px){.desktop-only,.desktop-only-btn,.portal-quick-nav-bar{display:none!important}.mobile-header-logo{display:block!important}}.custom-data-table{width:100%;border-collapse:collapse;border:1px solid var(--border-color)!important;background:#fff}.custom-data-table th,.custom-data-table td{border:1px solid var(--border-color)!important}.custom-data-table th{background:#f8fafc;font-weight:800;color:var(--text-primary)}.custom-data-table tr:hover{background:#f1f5f9!important}.data-table-desktop-view{display:block}.data-table-mobile-cards{display:none}@media(max-width:768px){.data-table-desktop-view{display:none!important}.data-table-mobile-cards{display:flex!important;flex-direction:column;gap:.85rem;width:100%}}.btn-icon-square{width:34px;height:34px;border-radius:var(--radius-sm);border:1px solid var(--border-color);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.module-pills-bar{display:flex;align-items:center;gap:.4rem;flex-wrap:nowrap}.header-module-pill{background:#f8fafc;color:var(--text-primary);border:1px solid var(--border-color);font-size:.78rem;font-weight:700;padding:.38rem .75rem;border-radius:var(--radius-md);display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;transition:all .15s ease;cursor:pointer}.header-module-pill:hover{background:#f1f5f9;border-color:#cbd5e1}.header-module-pill.active{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 2px 4px #2563eb33}.top-header-right{display:flex;align-items:center;gap:.45rem;flex-shrink:0;white-space:nowrap}.branch-selector-pill{background:#f8fafc;border:1px solid var(--border-color);padding:.38rem .75rem;border-radius:var(--radius-md);font-size:.78rem;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:.4rem}.btn-header-pill{background:#fff;border:1px solid var(--border-color);padding:.38rem .75rem;border-radius:var(--radius-md);font-size:.78rem;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:.35rem;white-space:nowrap;cursor:pointer}.btn-header-pill.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn-icon-circle{width:34px;height:34px;border-radius:50%;border:1px solid var(--border-color);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);flex-shrink:0;cursor:pointer}.user-profile-header-badge{display:flex;align-items:center;gap:.55rem;background:#f8fafc;border:1px solid var(--border-color);padding:.3rem .75rem .3rem .4rem;border-radius:var(--radius-full);cursor:pointer}.avatar-circle{width:30px;height:30px;border-radius:50%;background:#eff6ff;color:var(--primary);display:flex;align-items:center;justify-content:center}.user-text-col{display:flex;flex-direction:column;font-size:.75rem;line-height:1.2}.user-name{font-weight:800;color:var(--text-primary)}.user-role-label{font-weight:600;color:var(--primary);text-transform:capitalize}.portal-main-area{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1.25rem;max-width:1600px;width:100%}.dashboard-header-row{display:flex;justify-content:space-between;align-items:flex-end}.live-status-indicator{display:inline-flex;align-items:center;gap:.45rem;font-size:.75rem;font-weight:800;color:#059669;letter-spacing:.05em;margin-bottom:.3rem}.live-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #10b98140}.dashboard-branch-title{font-size:1.45rem;font-weight:800;color:var(--text-primary);line-height:1.2}.dashboard-branch-subtitle{font-size:.85rem;color:var(--text-muted);margin-top:.2rem}.btn-refresh-pill{background:#fff;border:1px solid var(--border-color);padding:.5rem 1rem;border-radius:var(--radius-md);font-size:.85rem;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:.45rem;box-shadow:var(--shadow-sm)}.stat-cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}.stat-card{border-radius:var(--radius-lg);padding:1.5rem;color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:170px;box-shadow:0 8px 20px #00000014;cursor:pointer;transition:all .2s ease}.stat-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #0000001f}.stat-card-red{background:linear-gradient(135deg,#e11d48,#be123c)}.stat-card-blue{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-card-purple{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat-card-orange{background:linear-gradient(135deg,#f97316,#ea580c)}.stat-card-header{display:flex;justify-content:space-between;align-items:center}.stat-icon-wrapper{width:42px;height:42px;border-radius:50%;background:#ffffff38;display:flex;align-items:center;justify-content:center}.stat-chevron{color:#ffffffb3}.white-dot{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffff4d}.stat-value-row{display:flex;align-items:baseline;gap:.75rem;margin-top:.85rem}.stat-number{font-size:1.65rem;font-weight:800;line-height:1}.stat-badge-pill{font-size:.72rem;font-weight:800;padding:.2rem .6rem;border-radius:var(--radius-full)}.stat-badge-pill.green{background:#10b98159;color:#fff}.stat-subtext-row{font-size:.82rem;color:#ffffffd9;font-weight:500;margin-top:.5rem}.stat-sub-highlight{font-weight:700;color:#fff}.quick-actions-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:1.25rem}.quick-actions-header{display:flex;justify-content:space-between;align-items:center}.icon-badge-pink{width:32px;height:32px;border-radius:var(--radius-sm);background:#fce7f3;color:#db2777;display:flex;align-items:center;justify-content:center}.quick-modules-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}.module-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:var(--radius-md);padding:1rem .85rem;display:flex;align-items:center;gap:.75rem;transition:all .15s ease;cursor:pointer}.module-item-card:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.module-icon-box{width:38px;height:38px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.module-icon-box.pink{background:#fce7f3;color:#db2777}.module-icon-box.blue{background:#eff6ff;color:#2563eb}.module-icon-box.green{background:#ecfdf5;color:#059669}.module-icon-box.orange{background:#fff7ed;color:#ea580c}.module-icon-box.purple{background:#f3e8ff;color:#7c3aed}.module-icon-box.alert-red{background:#fef2f2;color:#dc2626}.module-icon-box.teal{background:#e0f2fe;color:#0284c7}.module-text-info{display:flex;align-items:center;gap:.4rem;flex:1}.module-title{font-size:.85rem;font-weight:700;color:var(--text-primary);line-height:1.2}.module-badge{background:#dc2626;color:#fff;font-size:.7rem;font-weight:800;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center}.module-arrow{color:#cbd5e1}.module-item-card:hover .module-arrow{color:var(--primary)}.toolbar-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:1rem}.search-input-wrapper{position:relative;width:100%}.search-input-wrapper svg{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}.search-input{width:100%;padding:.75rem 1rem .75rem 2.8rem;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-main);outline:none}.filter-pills-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.filter-select{padding:.5rem .85rem;border-radius:var(--radius-md);border:1px solid var(--border-color);background:#fff;color:var(--text-primary);font-weight:600}.filter-chip{padding:.4rem .85rem;border-radius:var(--radius-full);border:1px solid var(--border-color);background:#fff;font-size:.85rem;font-weight:600;color:var(--text-secondary);cursor:pointer}.filter-chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}.procedures-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:1.25rem}.website-hero-title{font-size:clamp(1.45rem,3.8vw + .4rem,2.35rem)!important;font-weight:900!important;color:#fff!important;letter-spacing:-.02em!important;margin:0 0 .75rem!important;line-height:1.22!important}.website-hero-subtitle{font-size:clamp(.84rem,1.4vw + .35rem,1.05rem)!important;color:#94a3b8!important;max-width:680px!important;margin:0 auto 1.75rem!important;line-height:1.6!important}.website-filter-toolbar{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1rem 1.25rem;margin-bottom:2rem;box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}@media(max-width:768px){.website-filter-toolbar{flex-direction:column;align-items:stretch;padding:1rem;gap:.85rem}.website-filter-controls{flex-direction:column;align-items:stretch;width:100%;gap:.75rem!important}.website-filter-select-wrapper{width:100%!important;min-width:100%!important}.search-suggestions-dropdown{max-height:300px!important}}.procedure-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1.35rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;justify-content:space-between;gap:1rem;transition:all .2s ease;cursor:pointer}.procedure-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary)}.card-top-meta{display:flex;justify-content:space-between;align-items:center}.code-tag{font-family:var(--font-mono);font-size:.75rem;font-weight:700;color:var(--primary);background:#eff6ff;padding:.2rem .55rem;border-radius:var(--radius-sm)}.difficulty-badge{font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:var(--radius-full)}.difficulty-Basic{background:#ecfdf5;color:#047857}.difficulty-Intermediate{background:#eff6ff;color:#1d4ed8}.difficulty-Advanced{background:#fffbeb;color:#b45309}.difficulty-Master,.difficulty-Master-Spec,.difficulty-MasterSpec{background:#fef2f2;color:#b91c1c}.procedure-title{font-size:1.05rem;font-weight:800;color:var(--text-primary);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:2.7rem}.procedure-overview{font-size:.86rem;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin:.5rem 0 1rem;min-height:3.8rem}.role-card-desc{font-size:.85rem;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin:.5rem 0 .85rem;min-height:2.5rem}.vehicle-meta-pills{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.vehicle-pill{font-size:.75rem;font-weight:600;background:#f1f5f9;color:var(--text-secondary);padding:.2rem .6rem;border-radius:var(--radius-sm)}.procedure-summary{font-size:.86rem;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:2.6rem}.card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:.85rem;border-top:1px solid #f1f5f9;font-size:.82rem;color:var(--text-muted);font-weight:600}.time-spec{display:flex;align-items:center;gap:.35rem}.btn-primary{background-color:var(--primary);color:#fff;font-weight:600;padding:.6rem 1.25rem;border-radius:var(--radius-md);display:inline-flex;align-items:center;gap:.5rem;transition:all .2s ease}.btn-outline{background-color:#fff;color:var(--text-primary);border:1px solid var(--border-color);font-weight:600;padding:.6rem 1.1rem;border-radius:var(--radius-md);display:inline-flex;align-items:center;gap:.5rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172aa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:1.5rem}.modal-content{background:#fff;border-radius:var(--radius-lg);width:100%;max-width:950px;max-height:90vh;display:flex;flex-direction:column;box-shadow:var(--shadow-lg);overflow:hidden}.modal-header{padding:1.25rem 1.75rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.modal-body{padding:1.75rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.5rem}.modal-footer{padding:1rem 1.75rem;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;gap:1rem;background:#f8fafc}.step-item-card{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-md);padding:1.25rem;display:flex;gap:1rem}.step-item-card.completed{background:#f0fdf4;border-color:#b9f6ca}.step-checkbox-btn{width:28px;height:28px;border-radius:var(--radius-sm);border:2px solid var(--border-color);display:flex;align-items:center;justify-content:center;background:#fff}.step-item-card.completed .step-checkbox-btn{background:#10b981;border-color:#10b981;color:#fff}.form-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.form-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.form-group{display:flex;flex-direction:column;gap:.4rem;width:100%}.form-label{font-size:.85rem;font-weight:700;color:var(--text-primary)}.form-input,.form-select,.form-textarea{padding:.65rem .85rem;border:1px solid var(--border-color);border-radius:var(--radius-md);background:#fff;outline:none;width:100%;box-sizing:border-box;font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.empty-state{text-align:center;padding:3rem 1.5rem;background:#fff;border:1px dashed var(--border-color);border-radius:var(--radius-lg);color:var(--text-muted)}.mobile-hamburger-btn{display:none!important}@media(min-width:769px)and (max-width:1024px){.portal-layout-container{grid-template-columns:220px 1fr!important}.quick-modules-grid{grid-template-columns:repeat(3,1fr)!important}.procedures-grid,.stat-cards-grid,.form-grid-3{grid-template-columns:repeat(2,1fr)!important}}@media(max-width:768px){.website-nav-links{display:none!important}.mobile-hamburger-btn{display:flex!important}.desktop-only-user{display:none!important}.form-grid-2,.form-grid-3{grid-template-columns:1fr!important}.app-sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0!important;z-index:500!important;width:280px!important;max-width:85vw!important;height:100vh!important;background:#fff!important;transform:translate(-100%)!important;transition:transform .25s cubic-bezier(.4,0,.2,1)!important;box-shadow:6px 0 25px #00000040!important;overflow-y:auto!important}.app-sidebar.mobile-open{transform:translate(0)!important}.portal-mobile-backdrop{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;background:#0f172a99!important;-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important;z-index:490!important}.mobile-header-logo{display:block!important}.module-pills-bar,.desktop-only-btn{display:none!important}.portal-top-header,.app-top-header{height:56px!important;padding:0 .75rem!important;justify-content:space-between!important;flex-wrap:nowrap!important}.top-header-left{width:auto!important;gap:.5rem!important}.top-header-right{gap:.4rem!important}.btn-header-pill-text{display:none!important}.btn-header-pill{padding:.45rem .6rem!important}.dashboard-header-row{flex-direction:column!important;align-items:flex-start!important;gap:.75rem!important}.portal-main-area{padding:.85rem .65rem!important}.stat-cards-grid{grid-template-columns:repeat(1,1fr)!important}.quick-modules-grid{grid-template-columns:repeat(2,1fr)!important}.procedures-grid{grid-template-columns:repeat(1,1fr)!important}.portal-layout-container{display:flex!important;flex-direction:column!important}.data-table-wrapper{padding:.85rem .75rem!important;border-radius:var(--radius-md)!important}.data-table-header-row{flex-direction:column!important;align-items:stretch!important;gap:.75rem!important}.data-table-add-btn{width:100%!important;justify-content:center!important;padding:.55rem!important}.data-table-controls-row{flex-direction:column!important;align-items:stretch!important;gap:.65rem!important}.data-table-search-wrapper{width:100%!important;min-width:100%!important}.data-table-page-size-selector{width:100%!important;justify-content:space-between!important}.mobile-table-swipe-hint{display:flex!important}.data-table-pagination-row{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:.75rem!important}.manual-tools-grid{grid-template-columns:1fr!important}.manual-viewer-main{padding:0 .75rem!important;margin-top:1rem!important}.manual-viewer-card{padding:1.25rem 1rem!important;border-radius:var(--radius-lg)!important}.manual-viewer-title{font-size:1.35rem!important;line-height:1.3!important}.role-details-main{padding:0 .85rem!important;margin-top:1rem!important;gap:1rem!important}.role-banner-card{padding:1.25rem 1rem!important;border-radius:var(--radius-lg)!important;gap:1.15rem!important}.role-banner-header{flex-direction:column!important;align-items:stretch!important;gap:.75rem!important}.role-title-row{gap:.85rem!important}.role-avatar-icon{width:46px!important;height:46px!important;border-radius:12px!important}.role-avatar-icon svg{width:24px!important;height:24px!important}.role-main-title{font-size:1.4rem!important;line-height:1.25!important}.role-sop-badge{width:100%!important;justify-content:center!important;padding:.5rem .75rem!important;box-sizing:border-box!important}.role-duties-grid{grid-template-columns:1fr!important;gap:.75rem!important}.role-duty-item{padding:.85rem!important}.role-manuals-header-row{flex-direction:column!important;align-items:stretch!important;gap:.85rem!important}.role-filter-selects{width:100%!important;flex-direction:column!important;gap:.5rem!important}.role-filter-selects .searchable-select-container{width:100%!important;min-width:0!important}.role-filter-selects .filter-select{width:100%!important}.procedure-viewer-top-row{flex-direction:column!important;align-items:stretch!important;gap:.75rem!important}.procedure-viewer-actions{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:.5rem!important}.procedure-viewer-actions button{flex:1 1 auto!important;justify-content:center!important;min-width:90px!important}.procedure-attachments-grid,.public-roles-grid{grid-template-columns:1fr!important}.website-header-inner{padding:.65rem .85rem!important}.website-hero-section{padding:2rem 1rem 2.5rem!important}.website-main-content{padding:1.5rem .85rem 3rem!important}.detail-page-main{padding:1.25rem .85rem 3rem!important}.detail-header-card{padding:1.25rem 1rem!important;border-radius:var(--radius-lg)!important}.detail-specs-grid{grid-template-columns:1fr 1fr!important;gap:.6rem!important}.modal-overlay{padding:.4rem!important}.modal-content{max-height:96vh!important;width:100%!important;max-width:100%!important;border-radius:var(--radius-md)!important}.modal-header{padding:.65rem .85rem!important}.modal-header h2,.modal-header h3{font-size:.98rem!important}.modal-header-icon{width:28px!important;height:28px!important}.modal-header-icon svg{width:15px!important;height:15px!important}.modal-header-subtitle{font-size:.72rem!important}.modal-section-header-row{flex-direction:column!important;align-items:flex-start!important;gap:.35rem!important}.modal-section-header-row .btn-group,.modal-section-header-row>div{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:.35rem!important}.modal-body{padding:.75rem .85rem!important;gap:.75rem!important}.modal-body label,.modal-body .form-label{font-size:.78rem!important;margin-bottom:.2rem!important}.modal-body input[type=text],.modal-body input[type=number],.modal-body input[type=date],.modal-body input[type=email],.modal-body input[type=password],.modal-body select,.modal-body textarea,.modal-body .form-input{padding:.38rem .6rem!important;font-size:.82rem!important;min-height:32px!important}.modal-body .form-grid-3,.modal-body .form-grid-2{grid-template-columns:1fr!important;gap:.65rem!important}.modal-footer{padding:.55rem .85rem!important;gap:.5rem!important;justify-content:flex-end!important}.modal-footer button,.modal-footer .btn-primary,.modal-footer .btn-outline,.modal-footer .btn-secondary,.modal-footer .btn-danger{padding:.38rem .75rem!important;font-size:.8rem!important;height:32px!important;min-height:32px!important;font-weight:600!important}h1{font-size:1.5rem!important}h2{font-size:1.25rem!important}.print-header-brand{display:none!important}}@media(max-width:480px){html,body{overflow-x:hidden!important}body{font-size:14px}.btn-primary,.btn-outline{padding:.45rem .75rem;font-size:.8rem}.modal-overlay{padding:.25rem!important}.modal-content{max-height:98vh!important;border-radius:6px!important}.modal-header{padding:.55rem .7rem!important}.modal-header h2,.modal-header h3{font-size:.92rem!important}.modal-header-icon,.modal-header-subtitle{display:none!important}.modal-body{padding:.6rem .65rem!important;gap:.65rem!important}.modal-footer{padding:.5rem .65rem!important;gap:.4rem!important}.modal-footer button,.modal-footer .btn-primary,.modal-footer .btn-outline,.modal-footer .btn-secondary,.modal-footer .btn-danger{padding:.35rem .65rem!important;font-size:.78rem!important;height:30px!important;min-height:30px!important}.website-header-inner{padding:.45rem .5rem!important;gap:.5rem!important}.header-logo-img{height:32px!important;max-width:130px!important}.header-login-btn{padding:.4rem .75rem!important;font-size:.78rem!important}.pagination-container{flex-direction:column!important;align-items:center!important;text-align:center!important;gap:.75rem!important}.website-hero-section{padding:1.25rem .5rem 1.75rem!important}.website-main-content{padding:.85rem .5rem 2rem!important}.role-details-main{padding:0 .5rem!important;margin-top:.75rem!important;gap:.85rem!important}.role-banner-card{padding:.85rem .65rem!important;border-radius:var(--radius-md)!important;gap:.85rem!important}.role-title-row{gap:.65rem!important}.role-avatar-icon{width:38px!important;height:38px!important;border-radius:10px!important}.role-avatar-icon svg{width:18px!important;height:18px!important}.role-key-badge{font-size:.68rem!important}.role-main-title{font-size:1.15rem!important;line-height:1.25!important}.role-section-heading{font-size:.95rem!important}.role-duty-item{padding:.65rem .55rem!important;gap:.5rem!important}.role-duty-item span{font-size:.82rem!important;line-height:1.4!important}.role-manuals-heading{font-size:1.1rem!important}.manual-viewer-main{padding:0 .5rem!important;margin-top:.75rem!important}.manual-viewer-card{padding:.85rem .65rem!important;border-radius:var(--radius-md)!important}.manual-viewer-title{font-size:1.15rem!important;line-height:1.25!important}.procedure-viewer-badges{gap:.4rem!important}.procedure-viewer-actions button{padding:.4rem .55rem!important;font-size:.75rem!important}.detail-page-main{padding:.75rem .5rem 2rem!important}.detail-header-card{padding:.85rem .65rem!important;border-radius:var(--radius-md)!important}.detail-specs-grid{grid-template-columns:1fr!important;gap:.5rem!important;padding:.65rem!important}.card-footer{flex-direction:column!important;align-items:stretch!important;gap:.65rem!important}.card-footer>div:first-child{flex-wrap:wrap!important;gap:.5rem!important}.card-footer>div:last-child{width:100%!important;justify-content:flex-end!important}.card-footer>div:last-child button{width:100%!important;justify-content:center!important}.search-input{font-size:.82rem!important;padding:.65rem .85rem .65rem 2.4rem!important}.search-input-wrapper svg{left:.75rem!important}.toolbar-card{padding:.75rem!important}.global-search-btn-text{display:none!important}.global-search-btn{padding:.45rem .65rem!important;border-radius:var(--radius-md)!important}.global-search-input-box{gap:.35rem!important;padding:.3rem .45rem!important}.website-footer-container{padding:0 1rem!important}.website-footer-grid{grid-template-columns:1fr!important;gap:1.75rem!important;padding-bottom:2rem!important}.website-footer{padding-top:2.5rem!important;padding-bottom:1.5rem!important;overflow-wrap:anywhere}}@media(max-width:320px){.role-details-main,.manual-viewer-main,.detail-page-main{padding:0 .35rem!important}.role-banner-card,.manual-viewer-card,.detail-header-card{padding:.75rem .45rem!important}.role-main-title{font-size:1.05rem!important}.role-avatar-icon{width:32px!important;height:32px!important}.role-avatar-icon svg{width:16px!important;height:16px!important}.header-logo-img{height:26px!important;max-width:100px!important}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:var(--radius-lg);width:100%;max-width:880px;max-height:92vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #00000026,0 8px 10px -6px #0000001a;border:1px solid var(--border-color);overflow:hidden}.modal-content>form,.modal-content form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.modal-header{padding:1.15rem 1.5rem;background:#fff;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.modal-header h3{font-size:1.15rem;font-weight:800;color:var(--text-primary);margin:0}.modal-body{padding:1.5rem;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:1.25rem}.modal-body::-webkit-scrollbar{width:7px}.modal-body::-webkit-scrollbar-track{background:#f1f5f9}.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-footer{padding:1rem 1.5rem;background:#f8fafc;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;align-items:center;gap:.75rem;flex-shrink:0}.print-only{display:none!important}@media print{@page{size:A4 portrait;margin:10mm 12mm}html,body{background:#fff!important;color:#000!important;font-size:11pt!important;line-height:1.4!important;margin:0!important;padding:0!important;width:100%!important;height:auto!important;overflow:visible!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}#root,.portal-layout-container,.app-content-area,.content-wrapper{display:block!important;margin:0!important;padding:0!important;width:100%!important;height:auto!important;min-height:auto!important;background:transparent!important;border:none!important;overflow:visible!important}.app-sidebar,.app-header,.website-header,.modal-overlay,.modal-content,.data-table-wrapper,.data-table-container,.data-table-header-row,.data-table-controls-row,.data-table-search-wrapper,.data-table-desktop-view,.data-table-mobile-cards,.data-table-header-bar,.pagination-container,.btn-icon-square,.btn-primary,.btn-outline,.btn-secondary,.btn-danger,button,input,select,header,nav{display:none!important}.print-header-brand{display:block!important}.print-only{display:block!important;position:static!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#000!important;box-shadow:none!important;border:none!important;page-break-inside:auto!important}.print-only *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.print-only table{page-break-inside:auto;width:100%!important}.print-only tr{page-break-inside:avoid;page-break-after:auto}.print-only thead{display:table-header-group}}.rich-content-display{color:var(--text-primary);line-height:1.65;font-size:.95rem;word-break:break-word}.rich-content-display p{margin-top:0;margin-bottom:.85rem;line-height:1.65}.rich-content-display p:last-child{margin-bottom:0}.rich-content-display ul,.rich-content-display ol{padding-left:1.5rem;margin-top:.4rem;margin-bottom:.85rem}.rich-content-display li{margin-bottom:.35rem;line-height:1.55}.rich-content-display blockquote{border-left:3px solid var(--primary);background:#f0f7ff;padding:.65rem 1rem;margin:.75rem 0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-primary);font-style:italic}.rich-content-display mark{background:#fef08a;color:#854d0e;padding:.1rem .35rem;border-radius:3px;font-weight:600}.rich-content-display hr{border:none;border-top:1px solid var(--border-color);margin:1rem 0}.rich-content-display h2{font-size:1.2rem;font-weight:800;color:var(--text-primary);margin-top:1rem;margin-bottom:.45rem}.rich-content-display h3{font-size:1.05rem;font-weight:800;color:var(--text-primary);margin-top:.85rem;margin-bottom:.4rem}.rich-editor-content{font-family:inherit;outline:none;cursor:text}.rich-editor-content:empty:before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none;display:block}.rich-editor-content p{margin-top:0;margin-bottom:.75rem;line-height:1.6}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5rem;margin-top:.35rem;margin-bottom:.75rem}.rich-editor-content li{margin-bottom:.25rem}.rich-editor-toolbar button:hover{background:#e2e8f0}@media(max-width:640px){.rich-editor-toolbar{padding:.35rem!important;gap:.25rem!important}.mobile-hide,.desktop-only-tool,.rich-editor-height-presets{display:none!important}}@media(max-width:768px){.scroll-to-top-btn{width:34px!important;height:34px!important;bottom:1rem!important;right:.75rem!important}.scroll-to-top-btn svg{width:16px!important;height:16px!important}}@media(max-width:768px){.procedure-card-view-btn{padding:.35rem .65rem!important;font-size:.78rem!important;height:32px!important}}@media(max-width:600px){.file-upload-input-row{flex-direction:column!important;align-items:stretch!important;gap:.35rem!important}.file-upload-input-row input{width:100%!important;min-width:0!important}.file-upload-btn{width:100%!important;justify-content:center!important;height:32px!important;padding:.35rem .6rem!important;font-size:.78rem!important}}@media(max-width:640px){.parts-requisition-row{grid-template-columns:1fr 1fr!important;gap:.35rem!important;padding:.45rem!important;position:relative!important}.parts-requisition-row input:first-child{grid-column:1 / -1!important}}
