.layout{height:100vh;height:100dvh;min-width:0;display:flex;flex-direction:column;overflow:hidden}.layout-body{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}.layout-content{flex:1;padding:20px;min-width:0;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}.layout-content:has(.dash-root){padding:0;overflow:hidden}.sidebar-overlay{display:none}@media(max-width:768px){.layout-content{width:100%;padding:12px}.layout-content:has(.dash-root){padding:0}.sidebar-overlay{display:block;position:fixed;inset:0;background:#00000080;z-index:998}}.header{height:64px;min-height:64px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:100;width:100%;min-width:0;flex-shrink:0}.header-left{display:flex;align-items:center;gap:16px;min-width:0}.header-title{font-size:20px;font-weight:700;white-space:nowrap;background:linear-gradient(90deg,#2563eb,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent}.header-right{display:flex;align-items:center;gap:16px;min-width:0}.header-user{font-size:14px;font-weight:500;color:#374151;max-width:min(34vw,260px);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-btn{background:linear-gradient(90deg,#1f6fa5,#c81e2b);color:#fff;border:none;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:.2s;white-space:nowrap}.logout-btn:hover{background:#374151}.hamburger-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;color:#111827;width:40px;height:40px;flex:0 0 40px;font-size:22px;line-height:1;border-radius:8px;transition:background-color .2s ease}.hamburger-btn:hover{background:#f3f4f6}@media(max-width:768px){.header{padding:0 10px;gap:8px}.hamburger-btn{display:flex;align-items:center;justify-content:center}.header-title{font-size:15px;overflow:hidden;text-overflow:ellipsis}.header-user{display:block;max-width:30vw;font-size:12px}.logout-btn{padding:8px 10px;font-size:12px}.header-left,.header-right{gap:8px}}@media(max-width:420px){.header-title{max-width:104px}.header-user{max-width:72px}}.confirm-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:99999}.confirm-modal{background:#fff;width:90%;max-width:420px;padding:24px;border-radius:12px;box-shadow:0 10px 30px #0003;animation:modalPop .2s ease}.confirm-modal h3{margin-top:0;margin-bottom:12px}.confirm-modal p{margin-bottom:20px}.confirm-actions{display:flex;justify-content:flex-end;gap:12px}.cancel-btn{border:1px solid #ddd;background:#fff;padding:10px 16px;border-radius:8px;cursor:pointer}.confirm-btn{border:none;background:#dc3545;color:#fff;padding:10px 16px;border-radius:8px;cursor:pointer}.sidebar{width:260px;max-width:260px;background:#1f2937;color:#fff;min-height:100vh;height:100%;overflow-y:auto;transition:left .3s ease,width .22s ease,min-width .22s ease,max-width .22s ease;flex-shrink:0;min-width:260px}.sidebar.desktop-collapsed{width:0;min-width:0;max-width:0;overflow:hidden}.sidebar-logo{padding:20px;font-size:22px;font-weight:700}.sidebar-menu,.sidebar-parent,.sidebar-child{padding:12px 16px;margin:6px 10px;border-radius:8px;cursor:pointer;transition:.2s;word-break:break-word}.sidebar-parent{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-parent span:first-child{min-width:0;overflow-wrap:anywhere}.sidebar-parent-icon{flex:0 0 auto;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ffffff1f;font-size:18px;line-height:1}.sidebar-menu:hover,.sidebar-parent:hover,.sidebar-child:hover{background:linear-gradient(90deg,#1f6fa5,#c81e2b)}.sidebar-child{margin-left:24px;background:#374151}.active-parent{background:linear-gradient(90deg,#1e40af,#7c3aed);font-weight:700}@media(max-width:768px){.sidebar{position:fixed;top:0;left:-260px;z-index:999;height:100vh;height:100dvh}.sidebar.desktop-collapsed{width:min(82vw,260px);min-width:min(82vw,260px);max-width:min(82vw,260px)}.sidebar.mobile-open{left:0}}.active-report{background:linear-gradient(90deg,#1f6fa5,#c81e2b);color:#fff;font-weight:600;border-radius:8px;margin:4px 8px;transition:all .2s ease}.active-report:hover{background:linear-gradient(90deg,#3b82f6,#8b5cf6)}.msg-modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;justify-content:center;align-items:center;z-index:99999;padding:16px}.msg-modal{width:100%;max-width:420px;background:#fff;border-radius:14px;padding:24px;text-align:center;box-shadow:0 15px 40px #00000026;animation:modalPop .2s ease}.msg-modal-icon{width:60px;height:60px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff}.msg-modal-icon.success{background:#22c55e}.msg-modal-icon.error{background:#ef4444}.msg-modal h3{margin-bottom:10px}.msg-modal p{margin-bottom:20px;color:#666;word-break:break-word}.msg-btn{border:none;border-radius:8px;padding:10px 20px;cursor:pointer;color:#fff;font-weight:600}.msg-btn.success{background:#22c55e}.msg-btn.error{background:#ef4444}@keyframes modalPop{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(max-width:768px){.msg-modal{max-width:100%;padding:20px}.msg-modal h3{font-size:18px}.msg-modal p{font-size:14px}.msg-btn{width:100%}}.modal-timer{height:4px;background:#22c55e;margin-top:16px;border-radius:4px;animation:timerBar 2s linear forwards}@keyframes timerBar{0%{width:100%}to{width:0%}}.login-page{height:100vh;display:flex;justify-content:center;align-items:center;background:#f3f4f6}.login-card{width:400px;padding:26px 24px 22px;border-radius:24px;background:linear-gradient(135deg,#0f172ad9,#1e40afd9);box-shadow:0 24px 70px #0f172acc,0 0 0 1px #94a3b82e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform-style:preserve-3d;transition:transform .16s ease-out,box-shadow .16s ease-out}.login-title{margin:0;text-align:center;background:linear-gradient(90deg,#2563eb,#06b6d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.login-subtitle{text-align:center;color:#fff;margin-bottom:30px}.login-section{display:flex;flex-direction:column;gap:12px}.login-section input{padding:12px;border:1px solid #ddd;border-radius:8px}.login-section button,.ms-btn{padding:12px;border:none;border-radius:8px;cursor:pointer;background:linear-gradient(90deg,#3b82f6,#8b5cf6);color:#fff;font-weight:600}.ms-btn{width:100%;margin-top:20px}.divider{text-align:center;margin:20px 0;color:#999}.error-box{margin-top:20px;background:#fee2e2;color:#991b1b;padding:10px;border-radius:8px}.super-admin-link{margin-top:20px;color:#0d6efd;cursor:pointer;font-size:14px;text-align:center;font-weight:600}.super-admin-link:hover{text-decoration:underline}.login-logo-wrap{display:flex;justify-content:center;align-items:center;width:10px;height:150px;margin:0 auto 12px}.login-logo{height:60px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.6))}.dash-root{position:relative;width:100%;height:100%;min-height:100%;display:flex;flex-direction:column;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden;margin:0;padding:0}html,body{margin:0;padding:0}.dash-bg-overlay{position:absolute;inset:0;opacity:.9;pointer-events:none}.dash-orb{position:absolute;border-radius:999px;opacity:.6;pointer-events:none;animation:orbFloat 14s ease-in-out infinite alternate}.dash-orb--1{width:260px;height:260px;top:-40px;right:5%}.dash-orb--2{width:220px;height:220px;bottom:-40px;left:-30px;animation-delay:2s}.dash-orb--3{width:180px;height:180px;top:55%;left:60%;animation-delay:4s}@keyframes orbFloat{0%{transform:translateZ(0) scale(1)}to{transform:translate3d(30px,-20px,0) scale(1.06)}}.dash-shell{position:relative;z-index:2;width:100%;padding:0;display:flex;flex-direction:column;gap:16px;height:100%;box-sizing:border-box}.dash-header{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;padding:16px 28px;border-bottom:1px solid #e5e7eb}.dash-header{width:100%;margin:0}.dash-brand{display:flex;align-items:center;gap:12px}.dash-logo{height:52px;object-fit:contain}.dash-title{margin:0;font-size:clamp(1.6rem,2.6vw,2.1rem);font-weight:700;color:#f9fafb}.dash-subtitle{margin-top:4px;font-size:.9rem;color:#cbd5f5}.dash-header-right{display:flex;align-items:center;gap:10px}.dash-date-pill{border-radius:999px;padding:6px 12px;border:1px solid rgba(148,163,184,.6);background:#020617;display:flex;flex-direction:column;align-items:flex-end;min-width:140px}.dash-date-label{font-size:.68rem;text-transform:uppercase;color:#9ca3af}.dash-date-value{font-size:.85rem;font-weight:500}.dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0 28px}.kpi-card{border-radius:16px;padding:12px;background:#111827;box-shadow:0 8px 20px #0006}.kpi-card--highlight{background:linear-gradient(135deg,#1f6fa5,#c81e2b)}.kpi-label{font-size:.7rem;color:#9ca3af}.kpi-value{margin-top:6px;font-size:1.2rem;font-weight:600;color:#e5e7eb}.kpi-trend{font-size:.75rem}.kpi-trend--up{color:#4ade80}.kpi-trend--down{color:#fb7185}.kpi-trend--neutral{color:#e5e7eb}.dash-main{flex:1;display:grid;grid-template-rows:auto 1fr;gap:10px;min-height:0;padding:20px}.dash-report-header{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.dash-report-label{display:flex;margin-bottom:4px;color:#6b7280;font-size:12px;font-weight:700;text-transform:uppercase}.dash-report-title{margin:0;color:#111827;font-size:20px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}.dash-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 12px;border-radius:16px;background:#111827}.filter-group{display:flex;flex-direction:column;gap:2px}.filter-group label{font-size:.7rem;color:#9ca3af}.filter-group select{border-radius:999px;border:1px solid #374151;background:#020617;padding:5px 10px;font-size:.8rem;color:#e5e7eb}.filter-cta{margin-left:auto;border-radius:999px;border:none;padding:10px 16px;font-size:.8rem;font-weight:600;cursor:pointer;background:linear-gradient(90deg,#1f6fa5,#c81e2b);color:#fff}.dash-panel{border-radius:0;padding:0;background:#020617;display:flex;flex-direction:column;min-height:0;overflow:hidden}.dash-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dash-panel-header h2{font-size:1rem;color:#fff}.dash-panel-header p{font-size:.8rem;color:#cbd5f5}.tag{font-size:.7rem;padding:3px 8px;border-radius:999px;border:1px solid #374151}.tag--live{color:#4ade80}.tag--readonly{color:#9ca3af}.dash-panel-body{flex:1;min-height:0;border-radius:0;overflow:hidden;background:#000}.dash-iframe{width:100%;height:100%;min-height:0;border:none}.dash-iframe iframe{width:100%!important;height:100%!important;border:0!important;display:block}@media(max-width:1024px){.dash-header{padding:14px 20px}.dash-main{padding:16px}.dash-kpis{grid-template-columns:repeat(2,1fr);padding:0 20px}}@media(max-width:768px){.dash-shell{padding:0}.dash-header{flex-direction:column;align-items:flex-start;gap:10px;padding:12px 16px}.dash-header-right{width:100%;justify-content:space-between}.dash-main{padding:10px;gap:8px}.dash-report-header{padding:10px 12px}.dash-report-title{font-size:16px}.dash-kpis{grid-template-columns:1fr;padding:0 16px}}.account-name{font-weight:700;background:linear-gradient(90deg,#1f6fa5,#c81e2b);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dash-root[style]{height:100%!important;min-height:unset!important}.dash-root[style] .dash-shell{height:100%}.dash-root[style] .dash-main,.dash-root[style] .dash-panel,.dash-root[style] .dash-panel-body{flex:1;min-height:0}.dash-report-header>div{display:flex;align-items:center;gap:8px}.dash-report-label{font-size:14px;font-weight:500;color:#6b7280}.report-container{width:100%;height:100%;min-height:0;background:#fff;border-radius:12px;overflow:hidden}.report-container iframe{width:100%!important;height:100%!important}@media(max-width:768px){.report-container{height:100%}}.form-page{width:100%;min-width:0}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.form-card{background:#fff;border-radius:12px;padding:24px;max-width:100%;min-width:0;border:1px solid #e5e7eb;box-shadow:0 10px 26px #1118270f}.form-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;min-width:0}.form-card-header h2{font-size:22px;line-height:1.2;color:#111827;overflow-wrap:anywhere}.form-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.form-card-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px 20px;min-width:0}.form-card-body>*{min-width:0}.form-card-body label{min-width:0}.form-card-body input,.form-card-body select,.form-card-body textarea{width:100%}.form-card-body input[type=checkbox],.form-card-body input[type=radio]{width:auto;flex:0 0 auto}@media(max-width:768px){.form-card{padding:16px;border-radius:10px}.form-card-header{flex-direction:column;align-items:stretch;gap:12px}.form-card-header h2{font-size:20px}.form-card-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.form-card-actions button{width:100%}}@media(max-width:420px){.form-card-actions{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}html,body{min-width:320px}html,body,#root{height:100%}body{font-family:Inter,sans-serif;background:#f3f4f6;overflow-x:hidden}a{text-decoration:none}button{cursor:pointer;font:inherit}input,select,textarea{width:100%;padding:12px;border-radius:8px;border:1px solid #d1d5db;outline:none;font-size:14px;min-width:0}input[type=checkbox],input[type=radio]{width:auto;min-width:auto}button,input,select,textarea{max-width:100%}table{width:100%;border-collapse:collapse}.table-surface{width:100%;min-width:0}.list-view-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;min-width:0}.list-view-header h2{color:#111827;font-size:22px;line-height:1.2;overflow-wrap:anywhere}.table-create-btn,.table-edit-btn{border:none;color:#fff;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .2s ease,transform .2s ease}.table-create-btn{background:#111827;padding:10px 16px;border-radius:8px}.table-edit-btn{background:#2563eb;padding:7px 12px;border-radius:6px}.table-create-btn:hover,.table-edit-btn:hover{transform:translateY(-1px)}.table-wrapper{width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid #e5e7eb;border-radius:8px;background:#fff;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;background:#fff;min-width:900px;table-layout:auto}.data-table th,.data-table td{padding:12px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap;vertical-align:middle}@media(max-width:768px){.list-view-header{align-items:stretch;flex-direction:column;gap:10px;margin-bottom:12px}.list-view-header h2{font-size:20px}.table-create-btn{width:100%}.data-table{min-width:720px}.data-table th,.data-table td{padding:10px;font-size:13px}}@media(max-width:480px){.data-table{min-width:640px}.table-wrapper{margin-inline:-4px;width:calc(100% + 8px)}}.badge-success{background:#dcfce7;color:#166534;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600}.badge-danger{background:#fee2e2;color:#991b1b;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600}
