/* BASUKSENA V7 - responsive mobile-first UI; no sensitive content stored offline */
:root{--v7-green:#19c17d;--v7-gold:#eac777;--v7-ink:#081711;--v7-border:#294738}
html{-webkit-text-size-adjust:100%}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f2d68a!important;outline-offset:3px}button{cursor:pointer}main,section,.panel,.card{min-width:0}img{max-width:100%}
@media(min-width:701px){.layout nav a{margin-bottom:5px}.panel{margin-bottom:20px}.cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}.layout main{max-width:1600px!important;margin:0 auto!important;width:100%}}
@media(max-width:700px){
 body{font-size:14px!important;background:#081711!important}body:has(.layout){padding:0!important}
 .mobile-topbar{height:66px;min-height:66px;padding:calc(8px + env(safe-area-inset-top,0px)) 15px 8px!important;background:#0c2119!important;border-bottom:1px solid #244635!important;box-shadow:0 4px 18px #0004;gap:10px!important}
 .mobile-menu-toggle{min-width:46px!important;width:46px;height:43px;padding:7px!important;font-size:0!important;border:1px solid #38674f!important;border-radius:13px!important;background:#173d2c!important;color:#e8f7ed!important;box-shadow:none!important}
 .mobile-menu-toggle span:first-child{font-size:22px!important}.mobile-menu-toggle span:last-child{display:none!important}
 .mobile-topbar-title{font-size:15px!important;letter-spacing:.2px!important;color:#f3d184!important}
 #mobileSidebar{width:min(85vw,320px)!important;padding-top:calc(20px + env(safe-area-inset-top,0px))!important}
 #mobileSidebar nav a{border-radius:14px!important;padding:15px!important;min-height:49px}
 main{padding:19px 13px calc(110px + env(safe-area-inset-bottom,0px))!important;width:100%!important}
 main>h1{font-size:clamp(23px,6vw,29px)!important;line-height:1.18!important;margin:5px 0 7px!important;letter-spacing:-.8px!important}
 main>p.sub{font-size:12px!important;line-height:1.5!important;margin-bottom:20px!important}
 .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important}
 .card{min-height:112px!important;padding:17px 14px!important;border-radius:17px!important;box-shadow:none!important}
 .card span{font-size:11px!important;line-height:1.4!important;display:block}.card strong{font-size:clamp(17px,4.2vw,22px)!important;display:block;overflow-wrap:anywhere;margin-top:9px}
 .panel{padding:18px 14px!important;border-radius:17px!important;margin-bottom:15px!important;box-shadow:none!important}.panel h2{font-size:17px!important;line-height:1.35!important;margin:0 0 14px!important}
 .grid2{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.chartwrap{height:220px!important}
 .formgrid,.grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 label{font-size:13px!important;line-height:1.5!important}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;max-width:100%;min-height:46px!important;font-size:16px!important;padding:11px 12px!important}input[type=file]{font-size:13px!important;min-height:48px!important}
 button,.btn,a.btn{min-height:44px!important;padding:11px 14px!important;font-size:14px!important}
 .scroll{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;border:1px solid #2c4a39;border-radius:12px}
 table{width:100%;min-width:560px!important}th,td{padding:12px 10px!important;font-size:12px!important;vertical-align:middle!important}td{overflow-wrap:break-word}td .profile-photo,td .photo-fallback{width:42px!important;height:42px!important}
 .photo-form{max-width:190px}.photo-form input{min-width:140px!important}
 .mobile-bottom-nav{position:fixed;z-index:998;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px));background:#0c2119f5;border-top:1px solid #31553f;box-shadow:0 -8px 30px #0005;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 .mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#afc8b7!important;text-decoration:none!important;border-radius:12px;min-height:52px;font-size:10px!important;font-weight:650;text-align:center;white-space:nowrap}
 .mobile-bottom-nav a .nav-ico{font-size:20px;line-height:1.1}.mobile-bottom-nav a.active{background:#1a4832!important;color:#f3d184!important}
 body.mobile-menu-open .mobile-bottom-nav{visibility:hidden}
 body:has(.box){padding:16px 12px calc(28px + env(safe-area-inset-bottom,0px))!important;min-height:100dvh;display:flex;align-items:center;justify-content:center}
 .box{width:min(100%,440px)!important;padding:26px 20px!important;border-radius:23px!important;box-shadow:0 14px 42px #0005!important}
 .login-logo{width:126px!important}.box h1{font-size:25px!important}.box button{width:100%;margin-top:16px!important}
 body:not(:has(.layout)):not(:has(.box)){padding:16px 13px 35px!important}body:not(:has(.layout)):not(:has(.box)) main{padding:12px 0 35px!important}
 body:not(:has(.layout)):not(:has(.box)) section{padding:17px 14px!important;border-radius:17px!important}
 body:not(:has(.layout)):not(:has(.box)) h1{font-size:25px!important}
 body:not(:has(.layout)):not(:has(.box)) table{min-width:520px!important}
}
@media(max-width:360px){.mobile-bottom-nav a{font-size:9px!important}.card{padding:13px 10px!important}.card strong{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
