/* AjiTech customer workspace — scoped, responsive release */
:root{color-scheme:dark}
html{scroll-behavior:smooth;scroll-padding-top:105px}
button,a,input{touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:2px solid #00f0ff;outline-offset:4px}
.btn-toggle-view,#adminView{display:none!important}
.workspace-nav{display:flex;gap:8px;overflow-x:auto;padding:12px 0;margin-bottom:20px;scrollbar-width:thin}
.workspace-nav a{white-space:nowrap;text-decoration:none;padding:10px 16px;border:1px solid #26364a;border-radius:10px;color:#bdcbdc;font-size:13px;font-weight:650}
.workspace-nav a:hover,.workspace-nav a:first-child{background:#102d38;color:#67e8f9;border-color:#1f6675}
.workspace-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 12px;text-align:left}
.workspace-intro h2{font-size:clamp(26px,4vw,38px);line-height:1.2;letter-spacing:-1px;margin:8px 0}
.workspace-intro p{font-size:14px;color:#9eafc4;max-width:640px}
.workspace-eyebrow{font-size:11px;letter-spacing:2px;color:#67e8f9;font-weight:750}
.workspace-help{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;background:#00d4e5;border-radius:10px;color:#051319;text-decoration:none;font-weight:750;font-size:13px;white-space:nowrap}
.workspace-notice{border:1px solid #66532a;background:#211c12;border-radius:12px;padding:14px 18px;color:#e5c985;font-size:13px;line-height:1.7;text-align:left;margin-bottom:20px}
body.workspace-active .hero{padding:0;text-align:left}
body.workspace-active .hero>*:not(#userDashboard){display:none!important}
body.workspace-active .dev-dashboard-section{display:block;margin:0 0 28px;background:linear-gradient(145deg,#101a28,#0b101a);border:1px solid #25394c;box-shadow:0 20px 80px #0004;padding:26px;border-radius:18px;text-align:left;min-width:0}
body.workspace-active .dash-header{align-items:center}
body.workspace-active .dash-user-info{min-width:0}
body.workspace-active #dashUserEmail{overflow-wrap:anywhere}
body.workspace-active .dash-header>div:last-child{flex-wrap:wrap}
body.workspace-active .apikey-box{background:#080f18;border-color:#2b4c60;flex-wrap:wrap;scroll-margin-top:110px}
body.workspace-active .apikey-box>div{min-width:0;flex:1 1 230px}
body.workspace-active .apikey-box code{font-size:13px;overflow-wrap:anywhere}
body.workspace-active .btn-copy-small{min-height:42px;padding:9px 13px;border-color:#315064;color:#8ce8f1;background:#122936}
body.workspace-active .baseurl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.workspace-active .baseurl-card{min-width:0;background:#0c1420;padding:18px}
body.workspace-active .baseurl-card:last-child{grid-column:1/-1}
body.workspace-active .baseurl-card code{white-space:normal;overflow-wrap:anywhere;min-width:0}
body.workspace-active .baseurl-card .val-wrap{align-items:flex-start}
body.workspace-active .sdk-box{scroll-margin-top:110px}
body.workspace-active .sdk-content{max-height:380px;white-space:pre;line-height:1.8}
body.workspace-active .sdk-tab-btn{min-height:42px}
body.workspace-active .pricing-grid{scroll-margin-top:110px}
body.workspace-active .tabs-wrap{display:flex!important;margin:24px 0}
body.workspace-active .price-card{background:#0e1723;border-color:#243448;box-shadow:none}
body.workspace-active .card-features{line-height:1.8}
.workspace-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:#143541;border:1px solid #337185;color:#e6ffff;border-radius:12px;padding:12px 20px;max-width:90vw;font-size:13px;box-shadow:0 12px 40px #0008}
@media(max-width:700px){
.container{padding-left:16px;padding-right:16px}
header{padding:12px 0}.nav-wrap{gap:10px}.nav-actions{gap:6px;min-width:0}.brand{gap:8px}.brand-logo{width:34px;height:34px;font-size:16px}.brand-text h1{font-size:17px}.brand-text p{font-size:8px}
.nav-actions>.badge-vps{display:none}.user-pill{padding:5px!important;gap:6px!important}.user-pill>span{display:none}.user-pill img{width:28px!important;height:28px!important}.btn-logout{min-height:36px;display:inline-flex;align-items:center}
.workspace-intro{display:block;margin-top:22px}.workspace-intro .workspace-help{margin-top:16px}.workspace-nav{margin-bottom:12px}.workspace-nav a{padding:10px 12px}
body.workspace-active .dev-dashboard-section{padding:16px;border-radius:14px}.dash-header{gap:16px!important}.dash-header>div:last-child{width:100%;justify-content:space-between}.dash-user-info img{width:38px;height:38px}.dash-user-info>div>div{flex-wrap:wrap}#dashUserName{font-size:16px!important}
body.workspace-active .baseurl-grid{grid-template-columns:minmax(0,1fr)}body.workspace-active .baseurl-card:last-child{grid-column:auto}
body.workspace-active .apikey-box{padding:14px}.apikey-box>.btn-copy-small{width:100%}
body.workspace-active .sdk-box{padding:14px}.sdk-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:12px}.sdk-tab-btn{flex-shrink:0}.sdk-content{font-size:11px;padding:12px}
.pricing-grid{grid-template-columns:minmax(0,1fr)!important}.tabs{display:flex;flex-wrap:wrap;width:100%}.tab-btn{flex:1;min-height:46px;font-size:12px}.workspace-notice{padding:12px;font-size:12px}.footer-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
