/* Consistent type rhythm (v6.2: font families come from assets/vendor/fonts-v61 via the theme). */
body[data-page]{font-size:16px;line-height:1.65;font-optical-sizing:auto}
body[data-page] .page-hero h1{font-size:clamp(32px,4.5vw,62px);line-height:1.14;font-weight:780;letter-spacing:-.035em;overflow-wrap:break-word}
body[data-page] .section-title{font-size:clamp(26px,3.2vw,42px);line-height:1.22;font-weight:750;letter-spacing:-.025em}
body[data-page] h3{line-height:1.35}
body[data-page] .lead{font-size:clamp(16px,1.4vw,19px);line-height:1.75}
body[data-page] .eyebrow{font-size:12px;line-height:1.6;letter-spacing:.13em}
body[data-page] :is(h1,h2,h3,h4) :is(em,.gradient-text,.text-accent,.text-lime),body[data-page] :is(h1,h2,h3,h4).gradient-text{font-style:italic!important;padding-right:.06em}
body[data-page] .form-control,body[data-page] .form-select,body[data-page] textarea,body[data-page] input:not([type=checkbox]):not([type=radio]){font-size:16px;min-height:46px}
body[data-page] .btn{font-size:14px;line-height:1.5;min-height:44px;font-weight:650}
body[data-page] .btn-lg{font-size:16px;min-height:48px}
body[data-page] .form-label{font-size:14px;line-height:1.5;margin-bottom:8px}
body[data-page] small,body[data-page] .small{font-size:max(12px,.8em);line-height:1.6}
body[data-page] .lug-footer p,body[data-page] .lug-footer a{line-height:1.75}
body[data-page] .access-card{padding:clamp(22px,3vw,32px)}
body[data-page] .access-card h2{font-size:clamp(23px,2.4vw,29px);line-height:1.3}
body[data-page] .access-card .actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
body[data-page] .access-card .actions>a{min-height:44px;display:inline-flex;align-items:center}
html[lang=bn] body[data-page] :is(h1,h2,h3,h4,.eyebrow){letter-spacing:0!important;line-height:1.45}
html[lang=bn] body[data-page] .page-hero h1{font-size:clamp(30px,4vw,54px)}
@media(max-width:575px){body[data-page] .page-hero{padding-top:36px;padding-bottom:28px}body[data-page] .section-head{gap:18px}body[data-page] .lug-section.tight{padding-top:24px;padding-bottom:40px}}
/* Staff workspace: typography only; station grid and session modal remain intact. */
.app-page .page-heading h1{font-size:clamp(24px,2.6vw,34px);line-height:1.25;letter-spacing:-.025em}
.app-page :is(input,select,textarea),.login-page :is(input,select,textarea){font-size:16px!important}
.app-page .user-copy small,.app-page .role-badge,.app-page .page-heading p{line-height:1.5}

/* Login layout follows the existing split design, with controlled text width. */
.login-page{padding:clamp(16px,3vw,40px)}
.login-page .login-shell{width:min(1240px,100%);margin-inline:auto;min-height:0;overflow:hidden}
.login-page .login-card-wrap{min-width:0;display:flex;align-items:center;justify-content:center;padding:clamp(22px,4vw,48px)!important}
.login-page .login-card{width:100%;max-width:460px;padding:clamp(22px,3vw,36px)!important}
.login-page .login-card h2{font-size:clamp(26px,2.5vw,34px);line-height:1.25;letter-spacing:-.025em;margin:18px 0 12px}
.login-page .login-card .muted,.login-page .login-account-hint{font-size:14px;line-height:1.65;color:#a9bbd3}
.login-page .login-card label{display:block;font-size:14px;line-height:1.5;margin-top:18px}
.login-page .login-card input{min-height:50px;border-radius:10px;font-size:16px!important;padding:12px 14px}
.login-page .password-wrap{position:relative}.login-page .password-wrap input{padding-right:72px}
.login-page .show-pass{min-height:44px;min-width:60px;top:3px;right:4px}
.login-page .login-card .btn{min-height:48px;font-size:15px}
.login-page .staff-recovery-link{display:inline-flex;align-items:center;min-height:44px}
.login-page .login-hero-copy h1{font-size:clamp(34px,3.6vw,52px);line-height:1.12;letter-spacing:-.035em}
.login-page .login-hero-copy h1 em{font-style:italic}
.login-page .login-hero-copy p{max-width:440px;font-size:16px;line-height:1.75}
.login-page .website-return{position:static;display:inline-flex;align-items:center;min-height:44px;margin-bottom:18px;font-size:14px}
@media(max-width:860px){.login-page .login-shell{display:grid;grid-template-columns:1fr}.login-page .login-brand{padding:28px 24px}.login-page .console-art,.login-page .login-feature-grid,.login-page .login-live-chip{display:none}.login-page .login-brand .login-hero-copy{margin-top:28px}.login-page .login-hero-copy h1{font-size:34px}.login-page .login-card-wrap{padding:20px 16px!important}.login-page .login-trust{flex-wrap:wrap}}
/* Stable hero geometry: controls have their own row and never overlap copy. */
body[data-page=home] .hero-slide-stage{min-height:0}
body[data-page=home] .hero-game-slide{min-height:540px}
body[data-page=home] .hero-game-inner{min-height:540px;padding-block:62px 48px;align-items:center}
body[data-page=home] .hero-game-copy{width:min(100%,600px);max-width:600px}
body[data-page=home] .hero-game-copy h2{font-size:clamp(36px,4.6vw,64px);font-weight:780;line-height:1.12;letter-spacing:-.035em;margin:20px 0;max-width:15ch;text-wrap:balance}
body[data-page=home] .hero-game-copy p{font-size:16px;line-height:1.75;max-width:49ch}
body[data-page=home] .hero-carousel-controls{margin-top:0!important;padding-block:14px;min-height:74px;background:#031020;flex-wrap:wrap}
body[data-page=home] .hero-lounge-meta{line-height:1.7}
@media(max-width:800px){body[data-page=home] .hero-game-slide,body[data-page=home] .hero-game-inner{min-height:500px}body[data-page=home] .hero-game-inner{padding-block:44px}body[data-page=home] .hero-game-copy{max-width:540px}}
@media(max-width:540px){body[data-page=home] .hero-game-slide,body[data-page=home] .hero-game-inner{min-height:510px}body[data-page=home] .hero-game-inner{padding-block:100px 32px;align-items:flex-end}body[data-page=home] .hero-game-copy h2{font-size:clamp(32px,9vw,43px);max-width:14ch}body[data-page=home] .hero-game-copy p{font-size:15px}body[data-page=home] .hero-game-copy .d-flex{gap:10px!important}body[data-page=home] .hero-carousel-controls{gap:12px;min-height:0;padding-block:16px}}

/* Four stations, balanced on desktop and readable on small devices. */
.app-page .main-content .ps5-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.app-page .ps5-name{font-size:16px;line-height:1.4;font-weight:700}
.app-page .status-line,.app-page .ps5-card .customer{font-size:13px;line-height:1.5}
.app-page .ps5-card .btn{min-height:44px;font-size:14px;padding:10px}
.app-page .session-timer{font-size:23px;line-height:1.35}
.app-page .kpi-sub,.app-page .top-header p{font-size:12px;line-height:1.6}
@media(max-width:1199px){.app-page .main-content .ps5-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.app-page .main-content .ps5-grid{grid-template-columns:1fr}}

.login-page input:-webkit-autofill{-webkit-text-fill-color:#edf5ff;box-shadow:0 0 0 1000px #101c30 inset!important;caret-color:#edf5ff}

/* Notebook and table operation forms share the dashboard theme. */
#operationModal label{display:grid;gap:8px;margin:16px 0;font-size:14px}#operationModal input:not([type=checkbox]),#operationModal select,#operationModal textarea{width:100%;font-size:16px;min-height:44px;padding:10px;border:1px solid var(--border,#68768a);border-radius:10px;color:inherit;background:var(--card,#fff)}html[data-theme=dark] #operationModal input,html[data-theme=dark] #operationModal select,html[data-theme=dark] #operationModal textarea{background:#142033;color:#f3f6fa}#operationModal p{line-height:1.6}#operationModal .operation-error{color:#d95555}#operationModal .modal-card{width:min(560px,calc(100vw - 24px))}#operationModal input[type=checkbox]{width:22px;height:22px}#operationModal .modal-close{min-width:44px;min-height:44px}
/* One scrolling surface for the full sidebar; no nested menu scrollbar. */
body.app-page #sidebar{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;box-sizing:border-box;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#61728d transparent;scroll-padding-block:16px;padding-bottom:max(20px,env(safe-area-inset-bottom))}
body.app-page #sidebar .nav-list{flex:0 0 auto;min-height:auto;max-height:none;overflow:visible!important;padding-right:0;padding-bottom:8px;overscroll-behavior:auto}
body.app-page #sidebar>.sidebar-brand,body.app-page #sidebar>.quicklinks,body.app-page #sidebar>.sidebar-footer{flex:0 0 auto}
body.app-page #sidebar .sidebar-art{display:none}
body.app-page #sidebar::after{pointer-events:none}
body.app-page #sidebar .sidebar-footer{margin-top:14px;padding-bottom:8px}
body.app-page #sidebar::-webkit-scrollbar{width:6px}
body.app-page #sidebar::-webkit-scrollbar-thumb{background:#61728d;border-radius:8px}
body.app-page #sidebar::-webkit-scrollbar-track{background:transparent}
@media(max-width:860px){body.app-page #sidebar{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
