[hidden]{display:none!important}.mobile-button{font:600 14px/1.35 system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:9px;background:#123966;color:#fff;text-decoration:none;padding:11px 15px;min-height:42px;cursor:pointer;text-align:center;box-sizing:border-box}.mobile-button:hover{filter:brightness(.96)}.mobile-button.secondary{background:#fff;color:#334155;border-color:#cbd5e1}.mobile-button.danger{background:#b91c1c;color:white}.mobile-button:disabled{opacity:.5;cursor:not-allowed}.mobile-button.full{width:100%;margin-top:12px}.mobile-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.request-bell{position:relative}.request-bell #requestCount{background:#b91c1c;color:white;border-radius:20px;min-width:21px;padding:2px 5px;font-size:12px}.mobile-nav-toggle,.mobile-nav-shade{display:none}.sidebar{flex-shrink:0}.content-area{min-width:0;max-width:100%}.mobile-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.mobile-table table{min-width:520px}.mobile-admin,.portal-main{max-width:1250px;margin:0 auto;width:100%;box-sizing:border-box}.mobile-admin h1{margin-top:0}.mobile-admin p,.portal-hint{color:#64748b;line-height:1.5}.mobile-admin input,.mobile-admin select,.mobile-admin textarea,.mobile-page input,.mobile-page select,.mobile-page textarea{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:9px;font:16px system-ui;background:#fff;color:#172033;box-sizing:border-box;min-width:0;margin:5px 0 12px}.mobile-admin label,.mobile-page label{display:block;font-weight:600;font-size:14px;margin:10px 0 4px}.mobile-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.mobile-filter>div{flex:1 1 220px;min-width:0}.mobile-filter input,.mobile-filter select{margin-bottom:0}.mobile-message{border:1px solid #86efac;border-radius:10px;padding:13px;background:#f0fdf4;color:#166534;margin:12px 0;overflow-wrap:anywhere}.mobile-message.error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.mobile-dialog{width:min(520px,calc(100vw - 24px));max-height:85vh;max-height:85dvh;overflow:auto;border:1px solid #e2e8f0;border-radius:16px;padding:22px;background:#fff;color:#172033;box-shadow:0 20px 60px #0f172a55;box-sizing:border-box}.mobile-dialog::backdrop{background:#0f172a99}.mobile-dialog h2{margin:0 0 10px}.mobile-dialog p{overflow-wrap:anywhere}.mobile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.mobile-actions>*{flex:1 1 120px}.inline-form{display:inline}.mobile-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:20px 0;color:#475569;font-size:14px}.mobile-pagination a{font-weight:600;color:#123966}.request-notice-item{display:flex;flex-direction:column;gap:5px;border:1px solid #e2e8f0;border-radius:10px;padding:13px;text-decoration:none;color:#172033;margin-bottom:9px;overflow-wrap:anywhere}.request-notice-item span,.request-notice-item small{color:#475569}.mobile-page{margin:0;min-height:100vh;min-height:100dvh;background:#f1f5f9;color:#172033;font:15px/1.5 system-ui,sans-serif;box-sizing:border-box}.mobile-page *{box-sizing:border-box}.mobile-login{background:#fff;max-width:440px;margin:4vh auto;padding:28px;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 10px 30px #0f172a0d}.mobile-login h1{margin:12px 0 4px;font-size:26px}.mobile-login p{color:#64748b}.mobile-logo{width:64px;height:64px;border-radius:15px}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px max(18px,calc((100% - 1250px)/2));background:#fff;border-bottom:1px solid #e2e8f0}.portal-header strong{font-size:17px;color:#10345e}.portal-header small{display:block;color:#64748b;overflow-wrap:anywhere}.portal-main{padding:20px}.portal-hero{padding:24px;background:linear-gradient(125deg,#10345e,#123966);color:#fff;border-radius:18px;margin-bottom:18px}.portal-hero h1{margin:6px 0;font-size:clamp(24px,5vw,36px);overflow-wrap:anywhere}.portal-hero p{margin:6px 0 15px;color:#dbeafe}.portal-counter{display:inline-block;background:#ffffff20;border-radius:8px;padding:8px 12px;color:white;text-decoration:none}.portal-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 10px;margin:12px 0 15px}.portal-tabs a{white-space:nowrap;padding:10px 14px;border-radius:9px;border:1px solid #dbe3ef;background:white;color:#475569;text-decoration:none;font-weight:600}.portal-tabs a[aria-current=page]{background:#123966;color:#fff;border-color:#123966}.portal-search{display:flex;gap:8px;align-items:center}.portal-search input{margin:0;flex:1}.portal-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.portal-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:18px;min-width:0;overflow-wrap:anywhere}.portal-card h3{font-size:18px;margin:10px 0 5px}.portal-card p{color:#475569;line-height:1.55;margin:8px 0}.mobile-pill{display:inline-flex;padding:4px 9px;border-radius:99px;font-size:12px;font-weight:700;color:#475569;background:#e2e8f0}.mobile-pill.ok,.mobile-pill.approved{background:#dcfce7;color:#166534}.mobile-pill.pending{background:#fef3c7;color:#92400e}.mobile-pill.rejected{background:#fee2e2;color:#991b1b}.portal-footer{text-align:center;padding:20px;color:#64748b;font-size:13px}.portal-footer a,.mobile-login a{color:#123966}.admin-request-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
@media(max-width:900px){body:has(.layout-container){height:100vh;height:100dvh;overflow:hidden}.topbar{padding:9px 12px!important;gap:8px;flex-wrap:wrap;justify-content:flex-start!important}.topbar .brand{font-size:15px;min-width:0;flex:1;gap:6px}.topbar .brand img{height:27px}.topbar .role-badge{display:block;width:max-content;font-size:9px;padding:2px 6px}.topbar .user-profile{border:0;padding:0;gap:5px}.topbar .user-profile span{display:none}.topbar .avatar{width:30px;height:30px}.topbar .top-actions{gap:7px}.mobile-header-actions{gap:5px;margin-left:0}.mobile-header-actions .mobile-button{font-size:12px;padding:7px 9px;min-height:40px}.request-bell-label{display:none}.mobile-nav-toggle{display:inline-flex;min-width:42px;padding:8px}.sidebar{position:fixed!important;top:0;bottom:0;left:0;z-index:2001;width:min(300px,85vw)!important;transform:translateX(-105%);transition:transform .2s ease;padding:20px 14px!important;background:#fff;box-shadow:0 10px 40px #0003;visibility:hidden}.mobile-menu-open .sidebar{transform:translateX(0);visibility:visible}.mobile-menu-open .mobile-nav-shade{display:block;position:fixed;inset:0;z-index:2000;background:#0f172a77}.layout-container{min-height:0}.content-area{padding:14px!important;overflow:auto!important;max-width:100%;width:100%}.card,.form-card{padding:14px!important;min-width:0;max-width:100%}.alert-bar{padding:10px 42px 10px 12px!important;font-size:12px}.alert-bar button{right:10px!important}.page-header{flex-wrap:wrap;gap:8px}.page-header h1,.content-area h1{font-size:clamp(22px,5vw,30px)}.dashboard-grid,.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:10px!important}.content-area input:not([type=checkbox]):not([type=radio]),.content-area select,.content-area textarea{max-width:100%;font-size:16px}.content-area .btn{white-space:normal;min-height:40px}.modal-content{max-width:calc(100vw - 20px)!important;padding:14px!important}.mobile-admin .mobile-table table{min-width:480px}.mobile-login{margin:16px 12px;padding:22px}.portal-main{padding:14px}.portal-hero{padding:18px}.portal-header{padding:12px 14px}.portal-header .mobile-button{flex-shrink:0}.portal-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.mobile-dialog{padding:17px}.welcome-card,.login-container{max-width:calc(100vw - 24px)!important}.welcome-card{padding:24px!important}}
@media(max-width:420px){.topbar .brand{flex-basis:calc(100% - 55px)}.mobile-header-actions{margin-left:auto}.portal-search .mobile-button{padding:10px}.mobile-login{margin:10px}.portal-card{padding:14px}}
.gateway-page{height:auto!important;min-height:100vh;min-height:100dvh;overflow-y:auto!important;box-sizing:border-box;padding:16px}.gateway-page .mobile-button{box-sizing:border-box}.gateway-page .login-container{margin:auto}.gateway-page .welcome-card{margin:auto}.modal-content{overflow-x:auto}.content-area .mobile-table{max-width:100%}
@media(max-width:900px){.content-area [style*="grid-template-columns"]{min-width:0}.content-area .form-control{max-width:100%}.content-area .card>div[style*="display: flex"],.content-area .card>form[style*="display: flex"]{flex-wrap:wrap}.portal-header>div{min-width:0}.portal-search input{min-width:0}.modal-content table{min-width:460px}}
.mobile-admin input[type=hidden],.mobile-page input[type=hidden]{display:none!important}
@media(max-width:900px){.mobile-legacy-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.mobile-legacy-table table{min-width:480px}}
