/* Authenticated LAZE workspace — mobile/touch first overrides.
   This file intentionally sits after system.css and fixes dense legacy sizing. */
.sys-menu-toggle{display:none}.sys-nav a.current{color:var(--orange)}
.admin-launchpad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}
.admin-launchpad a{display:flex;min-height:132px;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid #292929;background:linear-gradient(145deg,#0e0e0e,#090909);transition:.18s border-color,.18s transform}
.admin-launchpad a:hover{border-color:#6b3518;transform:translateY(-2px)}
.admin-launchpad b{color:var(--orange);font-size:11px;letter-spacing:.09em}.admin-launchpad strong{font-size:17px;line-height:1.2}.admin-launchpad span{color:#aaa;font-size:13px;line-height:1.5}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.quick-action{appearance:none;-webkit-appearance:none;min-height:112px;padding:17px;border:1px solid #303030;background:linear-gradient(145deg,#0e0e0e,#090909);color:#fff;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:0;font:inherit;transition:.18s border-color,.18s transform}
.quick-action:hover,.quick-action:focus-visible{border-color:var(--orange);transform:translateY(-2px);outline:none}.quick-action b{color:var(--orange);font-size:10px;letter-spacing:.09em}.quick-action strong{display:block;margin:8px 0 6px;font-size:16px;line-height:1.15}.quick-action span{color:#aaa;font-size:12px;line-height:1.4}.receipt-link{color:var(--orange);font-weight:900;font-size:11px}
/* Readability baseline — legacy 7–10px labels were too small on phones/tablets. */
.sys-sub{font-size:15px}.panel>p,.panel p{font-size:13px}.label{font-size:11px}.btn{font-size:11px}.status{font-size:12px}.badge{font-size:9px}.table-row{font-size:12px}.table-row strong{font-size:13px}.metric small,.metric-card small{font-size:10px}.metric-card span{font-size:10px}.ops-card p{font-size:13px}.ops-card small{font-size:10px}.ops-meta span{font-size:10px}.checkline{font-size:12px}.risk-scale span{font-size:11px}.control-note{font-size:11px}.control-note b{font-size:9px}.doc strong{font-size:13px}.doc small{font-size:10px}.file-result{font-size:11px}.danger-note{font-size:12px}.tab{font-size:11px;min-height:44px}.input,.select,.textarea{font-size:15px;min-height:46px}.textarea{line-height:1.5}
/* Tablet / narrow desktop. 1180 also catches Android "desktop site" style viewports. */
@media(max-width:1180px){
 .sys-header{height:68px;padding:0 18px}.sys-shell{width:calc(100% - 32px);padding-top:28px}.sys-title{font-size:clamp(46px,8vw,68px)}
 .sys-menu-toggle{display:block;margin-left:auto;width:48px;height:46px;border:1px solid #393939;background:#0b0b0b;cursor:pointer}.sys-menu-toggle span{display:block;height:2px;background:#fff;margin:6px 9px}
 .sys-nav{display:none;position:fixed;left:12px;right:12px;top:76px;max-height:calc(100vh - 92px);overflow:auto;background:#090909;border:1px solid #353535;padding:10px;z-index:99;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 24px 60px rgba(0,0,0,.7)}.sys-nav.open{display:flex}.sys-nav span{display:block!important;padding:13px 14px;color:#898984;font-size:12px}.sys-nav a{display:flex!important;min-height:50px;align-items:center;padding:0 14px;border-top:1px solid #242424;font-size:12px}.sys-nav .btn{width:100%;min-height:50px;margin-top:10px}
 .office-tabs{position:sticky;top:68px;z-index:12;background:#050505;padding:8px 0;overflow-x:auto;scrollbar-width:thin}.office-tabs .tab{flex:0 0 auto}
 .admin-launchpad{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px), (pointer:coarse) and (max-width:1180px){
 .sys-shell{width:calc(100% - 24px);padding:22px 0 64px}.sys-title{font-size:clamp(42px,12vw,62px);margin:13px 0}.sys-kicker{font-size:11px}.sys-sub{font-size:16px;line-height:1.6}
 .grid.two,.grid.three{grid-template-columns:1fr!important}.split{align-items:flex-start;flex-direction:column;gap:12px}.panel{padding:20px}.panel h2{font-size:21px}.panel h3{font-size:17px}.panel>p,.panel p{font-size:14px;line-height:1.6}
 .admin-launchpad{grid-template-columns:1fr 1fr}.quick-actions{grid-template-columns:1fr 1fr}.admin-launchpad a,.quick-action{min-height:126px}
 .metric-card{padding:18px}.metric-card strong{font-size:36px}.metric-card small{font-size:11px}.metric-card span{font-size:11px;line-height:1.35;display:block}.money-big{font-size:36px}
 .form-grid{grid-template-columns:1fr}.label{font-size:12px;letter-spacing:.07em}.input,.select,.textarea{font-size:16px;min-height:50px}.textarea{line-height:1.5}.btn{min-height:48px;font-size:12px}.status,.danger-note{font-size:13px}.ops-card{padding:17px}.ops-card h3{font-size:18px}.ops-card p{font-size:14px}.ops-card small{font-size:11px}.ops-meta span{font-size:11px;padding:7px 9px}.badge{font-size:10px;padding:6px 8px}
 .table-row{grid-template-columns:1fr auto;gap:10px;font-size:13px}.table-row strong{font-size:14px}.table-row>*:nth-child(2),.table-row>*:nth-child(3){display:none}.file-result{grid-template-columns:1fr auto;font-size:12px}.file-result>*:nth-child(2){display:none}
 .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.actions .btn{width:100%}.doc{padding:16px}.doc strong{font-size:14px}.doc small{font-size:11px}
}
@media(max-width:520px){
 .sys-header{height:64px;padding:0 12px}.sys-logo{font-size:19px}.sys-logo i{width:25px;height:25px}.sys-menu-toggle{width:46px;height:44px}.sys-nav{top:70px;left:8px;right:8px}.office-tabs{top:64px}
 .admin-launchpad,.quick-actions{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr!important}.panel{padding:17px}.actions{grid-template-columns:1fr}.auth-card{padding:22px;margin:3vh auto}.tab{padding:10px 13px}
}
/* Android/Chrome can expose a ~980px CSS viewport in desktop-site mode. Treat coarse pointers as touch UI anyway. */
@media(pointer:coarse) and (min-width:761px){
 .sys-shell{width:calc(100vw - 36px)}.sys-sub{font-size:17px}.panel>p,.panel p,.ops-card p{font-size:15px}.label{font-size:13px}.btn{font-size:13px}.status,.danger-note{font-size:14px}.table-row{font-size:14px}.table-row strong{font-size:15px}.metric-card small,.metric-card span{font-size:12px}.ops-card small,.ops-meta span{font-size:12px}.quick-action b{font-size:12px}.quick-action strong{font-size:19px}.quick-action span{font-size:14px}.admin-launchpad b{font-size:12px}.admin-launchpad strong{font-size:19px}.admin-launchpad span{font-size:14px}
}
