
*{box-sizing:border-box}
:root{
  --bg:#f6f7f9;
  --panel:#fff;
  --text:#121316;
  --muted:#70757d;
  --line:#e2e5e9;
  --soft:#eceff3;
  --dark:#101113;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh;
  padding-bottom:72px;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(1180px,calc(100% - 42px));margin:auto}
.nav{
  height:76px;display:flex;align-items:center;justify-content:space-between;
}
.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:800;letter-spacing:-.3px}
.logo{width:36px;height:36px;border-radius:11px;background:#111;color:#fff;display:grid;place-items:center;font-weight:850}
.navlinks{display:flex;gap:27px;align-items:center;color:#60656d;font-size:14px}
.navlinks a{transition:.2s}
.navlinks a:hover{color:#111}
.actions{display:flex;align-items:center;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;
  border-radius:10px;border:1px solid transparent;cursor:pointer;font-weight:700;font-size:14px;
  transition:transform .16s ease,background .16s ease,border .16s ease;
}
.btn:active{transform:scale(.98)}
.btn-dark{background:#111;color:white}
.btn-dark:hover{background:#292929}
.btn-light{background:white;border-color:#dfe2e6}
.btn-light:hover{background:#f0f1f3}
.hero{padding:98px 0 80px;text-align:center;position:relative;overflow:hidden}
.hero:before{
  content:"";position:absolute;width:540px;height:540px;border-radius:50%;left:50%;top:-260px;
  transform:translateX(-50%);background:radial-gradient(circle,rgba(17,17,17,.07),rgba(17,17,17,0) 70%);
  pointer-events:none;
}
.kicker{
  display:inline-flex;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82);
  color:#656a72;font-size:12px;font-weight:750;margin-bottom:24px
}
.hero h1{font-size:clamp(46px,7vw,78px);line-height:.98;letter-spacing:-4.2px;margin:0 auto;max-width:900px}
.hero p{max-width:680px;margin:26px auto 0;font-size:18px;line-height:1.65;color:var(--muted)}
.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:34px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:72px 0}
.split h2,.section-title{font-size:clamp(34px,5vw,54px);line-height:1.03;letter-spacing:-2.5px;margin:0}
.split p,.lead{color:var(--muted);font-size:17px;line-height:1.7}
.visual{
  background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;
  box-shadow:0 25px 70px rgba(0,0,0,.07);
  min-height:410px;display:grid;place-items:center;position:relative;overflow:hidden
}
.oauth-preview{
  width:290px;aspect-ratio:1/1;border:1px solid #dfe2e6;border-radius:30px;background:#fbfbfc;padding:24px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;box-shadow:0 22px 60px rgba(0,0,0,.08);
  animation:float 4.5s ease-in-out infinite;
}
.oauth-preview .sq{
  border-radius:16px;background:#fff;border:1px solid #dfe2e6;display:grid;place-items:center;
  font-weight:800;box-shadow:0 7px 18px rgba(0,0,0,.04);
  animation:pulse 3.2s ease-in-out infinite;
}
.oauth-preview .sq:nth-child(2n){animation-delay:.35s}
.oauth-preview .sq:nth-child(3n){animation-delay:.7s}
.oauth-preview .sq.main{grid-column:2;grid-row:2;background:#111;color:#fff;border-color:#111}
@keyframes float{50%{transform:translateY(-12px)}}
@keyframes pulse{50%{transform:scale(.94);opacity:.72}}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:28px 0 80px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;
  box-shadow:0 12px 35px rgba(0,0,0,.035);
  transition:.22s ease
}
.card:hover{transform:translateY(-5px);box-shadow:0 18px 50px rgba(0,0,0,.07)}
.card h3{margin:0 0 9px;font-size:17px}
.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.icon{width:40px;height:40px;border-radius:12px;background:#f0f2f4;display:grid;place-items:center;margin-bottom:18px;font-weight:850}

.page-head{padding:82px 0 42px}
.page-head h1{font-size:clamp(42px,6vw,68px);letter-spacing:-3px;line-height:1;margin:0}
.page-head p{font-size:18px;color:var(--muted);max-width:720px;line-height:1.7}

.auth-wrap{min-height:calc(100vh - 148px);display:grid;place-items:center;padding:54px 20px 80px}
.auth{
  width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;
  box-shadow:0 18px 55px rgba(0,0,0,.07);animation:rise .35s ease
}
@keyframes rise{from{opacity:0;transform:translateY(12px)}}
.auth-logo{width:46px;height:46px;border-radius:13px;background:#111;color:#fff;display:grid;place-items:center;font-size:21px;font-weight:850;margin-bottom:24px}
.auth h1{font-size:28px;letter-spacing:-.8px;margin:0}
.auth .sub{color:var(--muted);font-size:14px;line-height:1.5;margin:9px 0 24px}
.google-area{display:flex;justify-content:center;width:100%;margin-bottom:20px}
.google-area>div{width:100%!important}
.divider{display:flex;align-items:center;gap:12px;color:#9a9da3;font-size:11px;margin:20px 0}
.divider:before,.divider:after{content:"";height:1px;background:#e5e7eb;flex:1}
.field{margin-bottom:16px}
label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
input{width:100%;height:46px;padding:0 13px;border-radius:10px;border:1px solid #dedfe2;outline:none;font-size:15px}
input:focus{border-color:#999;box-shadow:0 0 0 4px rgba(0,0,0,.04)}
.auth button.primary{width:100%;height:46px;border:0;border-radius:10px;background:#111;color:#fff;font-weight:700;cursor:pointer}
.switch{text-align:center;margin-top:21px;color:var(--muted);font-size:13px}
.linkbtn{border:0;background:none;font-weight:750;cursor:pointer;padding:0 0 0 4px}
.hidden{display:none!important}
.success{text-align:center}
.success-icon{width:62px;height:62px;border-radius:50%;background:#edf9f0;color:#16803a;display:grid;place-items:center;font-size:28px;font-weight:800;margin:0 auto 18px}

.bottom-bar{
  position:fixed;left:0;right:0;bottom:0;height:58px;background:rgba(255,255,255,.9);backdrop-filter:blur(18px);
  border-top:1px solid var(--line);z-index:50
}
.bottom-inner{height:100%;width:min(1180px,calc(100% - 42px));margin:auto;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#747981}
.bottom-links{display:flex;gap:18px}
.reveal{opacity:0;transform:translateY(18px);transition:.65s ease}
.reveal.visible{opacity:1;transform:none}

@media(max-width:800px){
  .navlinks{display:none}
  .split{grid-template-columns:1fr;gap:32px}
  .cards{grid-template-columns:1fr}
  .hero{padding-top:70px}
  .hero h1{letter-spacing:-2.7px}
  .oauth-preview{width:240px}
  .bottom-inner{font-size:11px}
}


/* REAL MINIVO OAUTH PREVIEW */

.oauth-card-preview{
  width:min(360px,92%);
  background:#fff;
  border:1px solid #dfe2e6;
  border-radius:22px;
  padding:28px;
  box-shadow:0 22px 60px rgba(0,0,0,.08);
  animation:oauthFloat 5s ease-in-out infinite;
  transform-origin:center;
}

.oauth-card-preview .mini-logo{
  width:44px;
  height:44px;
  border-radius:12px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:850;
  font-size:19px;
  margin-bottom:22px;
}

.oauth-card-preview h3{
  margin:0;
  font-size:26px;
  letter-spacing:-.8px;
  line-height:1.05;
}

.oauth-card-preview .mini-sub{
  margin:8px 0 22px;
  color:#747982;
  font-size:13px;
}

.oauth-google{
  height:42px;
  border:1px solid #d9dde2;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  background:#fff;
  color:#666;
  font-size:12px;
  overflow:hidden;
}

.oauth-google .google-text{
  opacity:.55;
  height:1px;
  width:72%;
  background:#d9dde2;
}

.oauth-google .g{
  font-size:19px;
  font-weight:800;
  line-height:1;
}

.oauth-mini-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:18px 0;
  color:#9aa0a8;
  font-size:10px;
}

.oauth-mini-divider:before,
.oauth-mini-divider:after{
  content:"";
  height:1px;
  background:#e1e4e8;
  flex:1;
}

.oauth-mini-label{
  font-size:12px;
  font-weight:750;
  margin:0 0 7px;
}

.oauth-mini-input{
  height:44px;
  border:1px solid #d9dde2;
  border-radius:10px;
  display:flex;
  align-items:center;
  padding:0 12px;
  color:#7a7f87;
  font-size:13px;
  margin-bottom:14px;
  background:#fff;
}

.oauth-mini-button{
  height:44px;
  border-radius:9px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  margin-top:3px;
}

.oauth-mini-switch{
  text-align:center;
  margin-top:20px;
  color:#777c84;
  font-size:11px;
}

.oauth-mini-switch b{
  color:#111;
}

.oauth-card-preview:hover{
  transform:translateY(-6px) scale(1.015);
  box-shadow:0 28px 74px rgba(0,0,0,.11);
}

@keyframes oauthFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

@media(max-width:700px){
  .oauth-card-preview{
    width:min(340px,95%);
    padding:24px;
  }
  .oauth-card-preview h3{font-size:23px}
}


/* =========================
   MINIVO V3 — ACCOUNT STATE
   ========================= */

.auth-user{
  display:flex;
  align-items:center;
  gap:10px;
}

.user-pill{
  height:42px;
  padding:0 12px 0 7px;
  border:1px solid #dfe2e6;
  background:#fff;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
  font-weight:750;
  color:#17181b;
  transition:.18s ease;
}

.user-pill:hover{
  background:#f1f2f4;
  transform:translateY(-1px);
}

.user-avatar{
  width:29px;
  height:29px;
  border-radius:9px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:850;
}

.logout-btn{
  height:42px;
  padding:0 13px;
  border-radius:10px;
  border:1px solid #dfe2e6;
  background:#fff;
  cursor:pointer;
  color:#5e646d;
  font-weight:700;
}

.logout-btn:hover{background:#f0f1f3;color:#111}

.info-banner{
  max-width:760px;
  margin:0 auto 26px;
  padding:13px 15px;
  border:1px solid #e0e3e7;
  background:#fff;
  border-radius:13px;
  color:#666c75;
  font-size:13px;
  line-height:1.5;
}

.dashboard{
  padding:58px 0 100px;
}

.dashboard-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-end;
  margin-bottom:28px;
}

.dashboard-head h1{
  margin:0;
  font-size:clamp(38px,5vw,58px);
  letter-spacing:-2.8px;
  line-height:1;
}

.dashboard-head p{
  color:#747982;
  max-width:560px;
  line-height:1.6;
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:25px 0 38px;
}

.stat{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:18px;
  padding:22px;
}

.stat .big{
  font-size:28px;
  font-weight:850;
  letter-spacing:-1px;
}

.stat .small{
  color:#7b8088;
  font-size:12px;
  margin-top:6px;
}

.account-card{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:22px;
  padding:28px;
  box-shadow:0 14px 42px rgba(0,0,0,.04);
}

.account-row{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:20px;
  padding:17px 0;
  border-bottom:1px solid #eceef1;
}

.account-row:last-child{border-bottom:0}
.account-label{color:#858a92;font-size:13px}
.account-value{font-weight:700;word-break:break-word}

.app-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:20px 0 90px;
}

.app-card{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:20px;
  padding:24px;
  min-height:210px;
  display:flex;
  flex-direction:column;
  transition:.2s ease;
}

.app-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(0,0,0,.065);
}

.app-logo{
  width:44px;height:44px;border-radius:13px;background:#111;color:#fff;
  display:grid;place-items:center;font-weight:850;margin-bottom:18px
}

.app-card h3{margin:0 0 8px}
.app-card p{margin:0;color:#777c84;line-height:1.55;font-size:14px}
.app-card .app-meta{margin-top:auto;padding-top:18px;color:#9a9fa6;font-size:12px}

.docs-layout{
  display:grid;
  grid-template-columns:230px 1fr;
  gap:44px;
  padding:35px 0 100px;
}

.docs-side{
  position:sticky;
  top:24px;
  align-self:start;
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:16px;
  padding:14px;
}

.docs-side a{
  display:block;
  padding:10px 11px;
  border-radius:9px;
  font-size:13px;
  color:#686e77;
}

.docs-side a:hover{background:#f2f3f5;color:#111}

.docs-content section{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:18px;
  padding:28px;
  margin-bottom:16px;
}

.docs-content h2{margin-top:0;letter-spacing:-.5px}
.docs-content p,.docs-content li{color:#6f757e;line-height:1.7}
.codebox{
  background:#111;
  color:#f5f5f5;
  border-radius:12px;
  padding:16px;
  overflow:auto;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:13px;
  line-height:1.55;
}

.status-board{
  padding:42px 0 100px;
}

.status-hero{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:22px;
  padding:28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.status-ok{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-weight:800;
}

.status-dot{
  width:11px;height:11px;border-radius:50%;background:#23a55a;
  box-shadow:0 0 0 5px rgba(35,165,90,.1);
}

.service-list{
  margin-top:16px;
  display:grid;
  gap:12px;
}

.service{
  background:#fff;
  border:1px solid #e2e5e9;
  border-radius:15px;
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.service span:last-child{color:#198a4b;font-weight:750;font-size:13px}

.legal{
  max-width:860px;
  padding:45px 0 110px;
}
.legal h1{font-size:48px;letter-spacing:-2px}
.legal h2{margin-top:38px}
.legal p{color:#70757d;line-height:1.75}

@media(max-width:850px){
  .stat-grid,.app-grid{grid-template-columns:1fr}
  .docs-layout{grid-template-columns:1fr}
  .docs-side{position:static}
  .dashboard-head{display:block}
  .account-row{grid-template-columns:1fr;gap:5px}
}


/* MINIVO CONTACT PAGE */
.contact-layout{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:22px;
  padding:30px 0 110px;
}
.contact-info,.contact-form-card{
  background:#fff;
  border:1px solid #e1e4e8;
  border-radius:22px;
  padding:30px;
}
.contact-info h2,.contact-form-card h2{margin-top:0;letter-spacing:-.6px}
.contact-info p,.contact-note{color:#737982;line-height:1.65}
.contact-email{
  display:inline-block;
  margin-top:12px;
  padding:12px 14px;
  border-radius:11px;
  background:#f2f3f5;
  font-weight:750;
  word-break:break-all;
}
.contact-form{display:grid;gap:15px}
.contact-form label{font-size:13px;font-weight:750;display:block;margin-bottom:7px}
.contact-form input,.contact-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d8dce1;
  border-radius:11px;
  background:#fff;
  padding:13px 14px;
  font:inherit;
  outline:none;
}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(0,0,0,.055);
}
.contact-send{
  border:0;
  background:#111;
  color:#fff;
  border-radius:10px;
  padding:14px 18px;
  font-weight:800;
  cursor:pointer;
}
.contact-send:hover{background:#272727}
.contact-status{
  display:none;
  padding:12px 14px;
  border-radius:11px;
  background:#f2f3f5;
  color:#555b64;
  font-size:13px;
}
@media(max-width:800px){.contact-layout{grid-template-columns:1fr}}


/* MINIVO V6 — CENTER AUTH CARD */
.auth-wrap{
  min-height:calc(100vh - 150px);
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:42px 20px 100px;
  box-sizing:border-box;
}

.auth-wrap > div{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.auth-wrap .auth{
  width:min(430px, calc(100vw - 40px));
  margin:0 auto;
}


/* =========================
   MINIVO OAUTH SANDBOX
   ========================= */

.sandbox-page{
  padding:38px 0 110px;
}

.sandbox-intro{
  max-width:760px;
  margin-bottom:24px;
}

.sandbox-intro h1{
  margin:8px 0 12px;
  font-size:clamp(38px,5vw,62px);
  line-height:.98;
  letter-spacing:-2.6px;
}

.sandbox-intro p{
  color:#70757e;
  line-height:1.65;
}

.sandbox-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  min-height:610px;
  border:1px solid #dfe3e8;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.055);
}

.sandbox-panel{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.sandbox-panel + .sandbox-panel{
  border-left:1px solid #dfe3e8;
}

.sandbox-toolbar{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 16px;
  border-bottom:1px solid #e7e9ed;
  background:#fafafa;
}

.sandbox-toolbar strong{
  font-size:13px;
}

.sandbox-toolbar span{
  color:#8b9098;
  font-size:12px;
}

.sandbox-run{
  border:0;
  border-radius:10px;
  background:#111;
  color:#fff;
  height:38px;
  padding:0 16px;
  font-weight:800;
  cursor:pointer;
}

.sandbox-run:hover{
  background:#292929;
}

.sandbox-editor{
  flex:1;
  width:100%;
  min-height:550px;
  resize:none;
  border:0;
  outline:0;
  padding:22px;
  box-sizing:border-box;
  background:#121212;
  color:#f2f2f2;
  font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;
  tab-size:2;
}

.sandbox-preview{
  flex:1;
  min-height:550px;
  background:#f4f5f7;
  padding:22px;
  box-sizing:border-box;
  overflow:auto;
}

.fake-browser{
  width:min(100%,560px);
  margin:0 auto;
  background:#fff;
  border:1px solid #dfe3e8;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
}

.fake-browser-top{
  min-height:46px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:9px;
  border-bottom:1px solid #e7e9ed;
  background:#fafafa;
}

.fake-dots{
  display:flex;
  gap:5px;
  flex:0 0 auto;
}

.fake-dots i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c6c9ce;
  display:block;
}

.fake-address{
  flex:1;
  min-width:0;
  border:1px solid #e0e3e7;
  background:#fff;
  border-radius:8px;
  padding:7px 9px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#747982;
  font:11px ui-monospace,SFMono-Regular,Consolas,monospace;
}

.oauth-sim{
  padding:34px 28px 30px;
}

.oauth-sim-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#111;
  color:#fff;
  font-weight:850;
  margin-bottom:22px;
}

.oauth-sim h2{
  margin:0 0 8px;
  letter-spacing:-.7px;
}

.oauth-sim p{
  margin:0 0 22px;
  color:#757a82;
  line-height:1.55;
  font-size:13px;
}

.oauth-detail{
  display:grid;
  grid-template-columns:118px 1fr;
  gap:9px 13px;
  padding:16px;
  border-radius:12px;
  background:#f5f6f7;
  font-size:12px;
  margin-bottom:18px;
}

.oauth-detail dt{
  color:#8c9199;
}

.oauth-detail dd{
  margin:0;
  font-weight:700;
  word-break:break-word;
}

.oauth-sim-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.oauth-sim-actions button{
  height:40px;
  border-radius:9px;
  padding:0 14px;
  font-weight:800;
  cursor:pointer;
}

.oauth-primary{
  border:0;
  background:#111;
  color:#fff;
}

.oauth-secondary{
  border:1px solid #d8dce1;
  background:#fff;
  color:#222;
}

.sandbox-message{
  margin-top:16px;
  border:1px solid #dfe3e8;
  background:#fff;
  border-radius:12px;
  padding:13px 14px;
  font-size:12px;
  line-height:1.55;
  color:#666c75;
}

.sandbox-message.good{
  border-color:#b9dfc7;
  background:#f5fbf7;
  color:#267242;
}

.sandbox-message.bad{
  border-color:#e9c2c2;
  background:#fff7f7;
  color:#9a3b3b;
}

.code-help{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.code-help article{
  border:1px solid #e1e4e8;
  background:#fff;
  border-radius:15px;
  padding:18px;
}

.code-help h3{
  margin:0 0 7px;
  font-size:14px;
}

.code-help p{
  margin:0;
  color:#767b84;
  font-size:12px;
  line-height:1.55;
}

@media(max-width:900px){
  .sandbox-shell{
    grid-template-columns:1fr;
  }

  .sandbox-panel + .sandbox-panel{
    border-left:0;
    border-top:1px solid #dfe3e8;
  }

  .sandbox-editor,
  .sandbox-preview{
    min-height:420px;
  }

  .code-help{
    grid-template-columns:1fr;
  }
}


/* =========================
   MINIVO V8 — W3SCHOOLS-STYLE SANDBOX
   ========================= */
.w3-page{
  padding:24px 0 110px;
}

.w3-titlebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.w3-titlebar h1{
  margin:0;
  font-size:32px;
  letter-spacing:-1.2px;
}

.w3-titlebar p{
  margin:4px 0 0;
  color:#777d86;
  font-size:13px;
}

.w3-workspace{
  border:1px solid #d7dbe0;
  border-radius:14px;
  overflow:hidden;
  background:#e9ecef;
}

.w3-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  background:#f1f3f4;
  border-bottom:1px solid #d3d7dc;
}

.w3-tabs{
  display:flex;
  align-items:center;
  gap:6px;
}

.w3-tab{
  border:0;
  background:#fff;
  color:#222;
  border-radius:7px;
  padding:9px 14px;
  font-weight:800;
  font-size:12px;
  box-shadow:0 0 0 1px #d9dde2 inset;
}

.w3-run{
  border:0;
  background:#111;
  color:#fff;
  border-radius:8px;
  padding:10px 16px;
  font-weight:850;
  cursor:pointer;
}

.w3-run:hover{background:#2a2a2a}

.w3-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:620px;
}

.w3-pane{
  min-width:0;
  display:flex;
  flex-direction:column;
  background:#fff;
}

.w3-pane + .w3-pane{
  border-left:1px solid #cfd4d9;
}

.w3-pane-head{
  min-height:42px;
  padding:0 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e3e6ea;
  background:#fafafa;
  color:#575d66;
  font-size:12px;
  font-weight:750;
}

.w3-code{
  flex:1;
  width:100%;
  min-height:575px;
  border:0;
  outline:0;
  resize:none;
  padding:18px;
  box-sizing:border-box;
  background:#1e1e1e;
  color:#e8e8e8;
  font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;
  tab-size:2;
}

.w3-result{
  flex:1;
  min-height:575px;
  box-sizing:border-box;
  background:#fff;
  overflow:auto;
  padding:0;
}

.w3-preview-page{
  min-height:100%;
  background:#f5f6f7;
  padding:38px 22px;
  box-sizing:border-box;
}

.w3-preview-card{
  width:min(420px,100%);
  margin:0 auto;
  background:#fff;
  border:1px solid #dde1e5;
  border-radius:18px;
  padding:28px;
  box-sizing:border-box;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
}

.w3-preview-logo{
  width:42px;height:42px;border-radius:12px;
  background:#111;color:#fff;display:grid;place-items:center;
  font-weight:900;margin-bottom:20px;
}

.w3-preview-card h2{
  margin:0 0 7px;
  letter-spacing:-.7px;
}

.w3-preview-card p{
  color:#747a83;
  font-size:13px;
  line-height:1.55;
}

.w3-request-box{
  margin-top:18px;
  border:1px solid #e0e3e7;
  border-radius:12px;
  padding:14px;
  background:#f8f9fa;
  font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;
  word-break:break-word;
}

.w3-param-grid{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:9px 12px;
  margin-top:18px;
  font-size:12px;
}

.w3-param-grid b{
  color:#7a8088;
}

.w3-param-grid span{
  font-weight:750;
  word-break:break-word;
}

.w3-status{
  margin-top:18px;
  padding:12px;
  border-radius:10px;
  background:#f2f3f5;
  color:#666c74;
  font-size:12px;
  line-height:1.5;
}

.w3-status.ok{
  background:#f4faf6;
  color:#277544;
  border:1px solid #c6e4d0;
}

.w3-status.err{
  background:#fff7f7;
  color:#963f3f;
  border:1px solid #ebc8c8;
}

.w3-callback{
  margin-top:14px;
  width:100%;
  border:0;
  border-radius:9px;
  background:#111;
  color:#fff;
  height:42px;
  font-weight:850;
  cursor:pointer;
}

@media(max-width:900px){
  .w3-grid{grid-template-columns:1fr}
  .w3-pane + .w3-pane{
    border-left:0;
    border-top:1px solid #cfd4d9;
  }
  .w3-code,.w3-result{min-height:430px}
}


/* MINIVO V9 — REAL HTML RESULT FRAME */
.real-result-frame{
  width:100%;
  height:575px;
  border:0;
  display:block;
  background:#fff;
}
.result-note{
  padding:8px 12px;
  border-bottom:1px solid #e3e6ea;
  background:#fff8dc;
  color:#6b5b19;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:900px){
  .real-result-frame{height:430px}
}


/* MINIVO V10 — TRUE TRYIT RESULT PANE */
.tryit-result-wrap{
  flex:1;
  min-height:575px;
  background:#fff;
  overflow:hidden;
}
.tryit-result-frame{
  display:block;
  width:100%;
  height:575px;
  border:0;
  background:#fff;
}
.tryit-statusbar{
  padding:8px 12px;
  border-top:1px solid #e3e6ea;
  background:#fafafa;
  color:#747a83;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:900px){
  .tryit-result-wrap,
  .tryit-result-frame{
    min-height:430px;
    height:430px;
  }
}


/* =========================
   MINIVO V11 — TOKEN CENTER
   ========================= */
.token-page{
  padding:42px 0 110px;
}

.token-hero{
  margin-bottom:24px;
}

.token-hero h1{
  margin:8px 0 8px;
  font-size:clamp(38px,5vw,62px);
  line-height:1;
  letter-spacing:-2.4px;
}

.token-hero p{
  margin:0;
  color:#747a83;
  max-width:690px;
  line-height:1.6;
}

.token-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  gap:18px;
}

.token-card{
  border:1px solid #e0e3e7;
  border-radius:18px;
  background:#fff;
  padding:22px;
}

.token-card h2{
  margin:0 0 8px;
  letter-spacing:-.6px;
}

.token-card .muted{
  color:#797f87;
  font-size:13px;
  line-height:1.55;
}

.token-field{
  margin-top:16px;
}

.token-field label{
  display:block;
  font-size:12px;
  font-weight:800;
  margin-bottom:7px;
}

.token-field input,
.token-field select{
  width:100%;
  height:44px;
  border:1px solid #d7dbe0;
  border-radius:10px;
  padding:0 12px;
  background:#fff;
  color:#111;
  font-size:14px;
  outline:none;
}

.token-field input:focus,
.token-field select:focus{
  border-color:#111;
}

.token-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.token-actions button,
.token-actions a{
  min-height:42px;
  border-radius:10px;
  padding:0 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:850;
  text-decoration:none;
  cursor:pointer;
}

.token-primary{
  border:0;
  background:#111;
  color:#fff;
}

.token-secondary{
  border:1px solid #d9dde2;
  background:#fff;
  color:#111;
}

.token-danger{
  border:1px solid #ebc8c8;
  background:#fff7f7;
  color:#953c3c;
}

.token-output{
  margin-top:16px;
  min-height:150px;
  border-radius:13px;
  background:#111;
  color:#8dffae;
  padding:16px;
  font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;
  word-break:break-all;
  white-space:pre-wrap;
}

.token-meta{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px 14px;
  margin-top:18px;
  font-size:13px;
}

.token-meta dt{color:#858b93}
.token-meta dd{margin:0;font-weight:750;word-break:break-word}

.token-lock{
  max-width:520px;
  margin:70px auto 120px;
  text-align:center;
  border:1px solid #e0e3e7;
  border-radius:20px;
  background:#fff;
  padding:34px;
}

.token-lock-icon{
  width:50px;
  height:50px;
  margin:0 auto 16px;
  border-radius:14px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:22px;
}

.token-lock h1{
  margin:0 0 8px;
  letter-spacing:-1px;
}

.token-lock p{
  color:#777d85;
  line-height:1.55;
}

.token-status{
  margin-top:14px;
  padding:12px 13px;
  border-radius:10px;
  background:#f5f6f7;
  color:#666c74;
  font-size:12px;
  line-height:1.5;
}

.token-status.ok{
  background:#f3faf5;
  color:#267044;
  border:1px solid #c6e3d0;
}

.token-status.warn{
  background:#fff9eb;
  color:#765f20;
  border:1px solid #eee0ae;
}

.token-userbox{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px solid #e2e5e9;
  border-radius:12px;
  margin-top:16px;
}

.token-userbox .avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  flex:0 0 auto;
}

.token-userbox strong{display:block}
.token-userbox small{color:#7d838b}

@media(max-width:850px){
  .token-layout{grid-template-columns:1fr}
}


/* =========================
   MINIVO V12 — PROFILE + REAL TOKENS
   ========================= */
.profile-menu-wrap{
  position:relative;
}

.profile-toggle{
  border:1px solid #e0e3e7;
  cursor:pointer;
  font:inherit;
}

.profile-badge{
  min-width:22px;
  height:22px;
  padding:0 5px;
  border-radius:7px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:9px;
  font-weight:900;
}

.profile-chevron{
  color:#888;
  font-size:13px;
}

.profile-dropdown{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:230px;
  padding:8px;
  border:1px solid #e0e3e7;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  z-index:100;
}

.profile-dropdown.open{
  display:block;
  animation:profilePop .16s ease-out;
}

.profile-dropdown-head{
  display:flex;
  gap:11px;
  align-items:center;
  padding:10px;
  margin-bottom:5px;
  border-bottom:1px solid #eee;
}

.profile-dropdown-head strong,
.profile-dropdown-head small{
  display:block;
}

.profile-dropdown-head small{
  margin-top:2px;
  color:#858a92;
  font-size:11px;
}

.profile-big-avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
}

.profile-dropdown a,
.profile-dropdown button{
  width:100%;
  min-height:40px;
  display:flex;
  align-items:center;
  padding:0 11px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#222;
  text-decoration:none;
  font:inherit;
  font-size:13px;
  text-align:left;
  cursor:pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover{
  background:#f4f5f6;
}

@keyframes profilePop{
  from{opacity:0;transform:translateY(-5px) scale(.98)}
  to{opacity:1;transform:none}
}

.minivo-reduce-motion *,
.minivo-reduce-motion *::before,
.minivo-reduce-motion *::after{
  animation-duration:.001ms !important;
  animation-iteration-count:1 !important;
  transition-duration:.001ms !important;
  scroll-behavior:auto !important;
}

.settings-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);
  gap:18px;
  padding-bottom:110px;
}

.settings-card{
  border:1px solid #e0e3e7;
  border-radius:18px;
  background:#fff;
  padding:22px;
}

.settings-card h2{
  margin:0 0 8px;
}

.settings-card p{
  color:#777d85;
  line-height:1.55;
  font-size:13px;
}

.settings-field{
  margin-top:16px;
}

.settings-field label{
  display:block;
  margin-bottom:7px;
  font-size:12px;
  font-weight:800;
}

.settings-field input,
.settings-field select{
  width:100%;
  height:44px;
  border:1px solid #d8dce1;
  border-radius:10px;
  padding:0 12px;
  font-size:14px;
}

.setting-switch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px 0;
  border-top:1px solid #eee;
}

.setting-switch:first-of-type{
  margin-top:14px;
}

.setting-switch input{
  width:20px;
  height:20px;
}

.identity-preview{
  padding:24px;
  border-radius:18px;
  background:#111;
  color:#fff;
  min-height:230px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.identity-preview .preview-avatar{
  width:58px;
  height:58px;
  border-radius:18px;
  background:#fff;
  color:#111;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:900;
}

.identity-preview .preview-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  border:1px solid #333;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
}

.token-layout-v12{
  display:grid;
  grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);
  gap:18px;
}

.token-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.token-item{
  border:1px solid #e1e4e8;
  border-radius:13px;
  padding:15px;
}

.token-item-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.token-item h3{
  margin:0 0 4px;
  font-size:14px;
}

.token-item small{
  color:#81868e;
}

.token-chip-row{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:10px;
}

.token-chip{
  border-radius:999px;
  background:#f2f3f5;
  padding:5px 8px;
  font-size:10px;
  font-weight:800;
}

.token-chip.good{
  background:#edf8f1;
  color:#247143;
}

.token-chip.bad{
  background:#fff0f0;
  color:#9a4141;
}

.token-once{
  margin-top:16px;
  padding:15px;
  border:1px solid #cbe4d3;
  background:#f4fbf6;
  border-radius:13px;
}

.token-once code{
  display:block;
  margin-top:10px;
  padding:12px;
  border-radius:9px;
  background:#111;
  color:#8dffae;
  word-break:break-all;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
}

.token-tester{
  margin-top:18px;
  border-top:1px solid #eee;
  padding-top:18px;
}

.token-tester textarea{
  width:100%;
  min-height:90px;
  resize:vertical;
  border:1px solid #d8dce1;
  border-radius:10px;
  padding:11px;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
}

.fun-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:20px;
}

.fun-card{
  border:1px solid #e0e3e7;
  border-radius:15px;
  padding:18px;
  background:#fff;
  text-decoration:none;
  color:#111;
}

.fun-card strong{
  display:block;
  margin-bottom:6px;
}

.fun-card span{
  color:#7a8088;
  font-size:12px;
  line-height:1.5;
}

@media(max-width:850px){
  .settings-grid,
  .token-layout-v12{
    grid-template-columns:1fr;
  }

  .fun-grid{
    grid-template-columns:1fr;
  }

  .profile-dropdown{
    right:0;
  }
}


/* =========================================================
   MINIVO V13 — CLEAN UI
   ========================================================= */

.profile-badge{
  display:none !important;
}

.primary-action,
.ghost-action{
  min-height:42px;
  border-radius:10px;
  padding:0 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  font:inherit;
}

.primary-action{
  border:1px solid #111;
  background:#111;
  color:#fff;
}

.primary-action:hover{
  background:#2b2b2b;
}

.ghost-action{
  border:1px solid #dfe2e6;
  background:#fff;
  color:#111;
}

.ghost-action:hover{
  background:#f5f6f7;
}

.auth-gate{
  max-width:480px;
  margin:90px auto 130px;
  text-align:center;
  border:1px solid #e2e5e8;
  border-radius:22px;
  padding:38px;
  background:#fff;
}

.auth-gate h1{
  margin:12px 0 8px;
  letter-spacing:-1px;
}

.auth-gate p{
  color:#747a82;
  line-height:1.55;
  margin-bottom:20px;
}

.gate-icon{
  width:48px;
  height:48px;
  margin:auto;
  border-radius:14px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
}

.inline-message-v13{
  margin-top:14px;
  min-height:42px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  border-radius:10px;
  background:#f5f6f7;
  color:#697079;
  font-size:12px;
  border:1px solid transparent;
}

.inline-message-v13.success{
  background:#f2faf5;
  border-color:#cce7d5;
  color:#256e42;
}

.inline-message-v13.error{
  background:#fff6f6;
  border-color:#eccaca;
  color:#963f3f;
}

/* Tokens */
.token-page-v13{
  padding:44px 0 110px;
}

.token-hero-v13{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.token-hero-v13 h1{
  margin:7px 0 8px;
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  letter-spacing:-2.2px;
}

.token-hero-v13 p{
  margin:0;
  color:#747a82;
}

.token-shell-v13{
  display:grid;
  grid-template-columns:minmax(310px,.72fr) minmax(0,1.28fr);
  gap:16px;
  align-items:start;
}

.token-create-v13,
.token-list-panel-v13,
.verify-panel-v13{
  border:1px solid #e1e4e8;
  background:#fff;
  border-radius:18px;
}

.token-create-v13,
.token-list-panel-v13{
  padding:20px;
}

.panel-title-v13{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:20px;
}

.panel-title-v13 h2{
  margin:0 0 4px;
  font-size:18px;
}

.panel-title-v13 p{
  margin:0;
  color:#7b8189;
  font-size:12px;
}

.panel-icon-v13{
  width:34px;
  height:34px;
  border-radius:10px;
  background:#f1f2f4;
  display:grid;
  place-items:center;
  font-weight:900;
  flex:0 0 auto;
}

.field-v13{
  margin-top:16px;
}

.field-v13 label{
  display:block;
  font-size:12px;
  font-weight:800;
  margin-bottom:7px;
}

.field-v13 input,
.field-v13 select{
  width:100%;
  min-height:44px;
  border:1px solid #d8dce1;
  border-radius:10px;
  padding:0 12px;
  font-size:14px;
  background:#fff;
  outline:none;
}

.field-v13 input:focus,
.field-v13 select:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}

.scope-grid-v13{
  display:grid;
  gap:8px;
}

.scope-option-v13{
  display:flex !important;
  align-items:center;
  gap:10px;
  min-height:54px;
  margin:0 !important;
  padding:10px 12px;
  border:1px solid #e1e4e8;
  border-radius:11px;
  cursor:pointer;
  font-weight:400 !important;
}

.scope-option-v13:hover{
  background:#fafafa;
}

.scope-option-v13 input{
  width:18px !important;
  height:18px !important;
  min-height:0 !important;
  margin:0;
  accent-color:#111;
  flex:0 0 auto;
}

.scope-option-v13 span{
  display:block;
}

.scope-option-v13 strong,
.scope-option-v13 small{
  display:block;
}

.scope-option-v13 strong{
  font-size:13px;
}

.scope-option-v13 small{
  margin-top:2px;
  color:#858b93;
  font-size:11px;
}

.full-action-v13{
  width:100%;
  margin-top:18px;
}

.new-token-v13{
  margin-top:14px;
  padding:14px;
  border:1px solid #cce7d5;
  border-radius:12px;
  background:#f5fbf7;
}

.new-token-top-v13 strong,
.new-token-top-v13 small{
  display:block;
}

.new-token-top-v13 small{
  margin-top:3px;
  color:#5f7869;
  font-size:11px;
}

.new-token-v13 code{
  display:block;
  margin:12px 0;
  padding:12px;
  border-radius:9px;
  background:#111;
  color:#91ffae;
  word-break:break-all;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
}

.token-list-v13{
  display:grid;
  gap:9px;
}

.empty-state-v13{
  min-height:120px;
  border:1px dashed #d8dce1;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#7d838b;
  padding:20px;
}

.empty-state-v13 strong{
  color:#222;
  margin-bottom:4px;
}

.token-row-v13{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px;
  border:1px solid #e5e7ea;
  border-radius:12px;
}

.token-row-v13:hover{
  border-color:#cfd3d8;
}

.token-row-main-v13{
  min-width:0;
  flex:1;
}

.token-row-top-v13{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}

.token-row-top-v13 strong,
.token-row-top-v13 code{
  display:block;
}

.token-row-top-v13 strong{
  font-size:13px;
  margin-bottom:3px;
}

.token-row-top-v13 code{
  color:#7e848c;
  font-size:11px;
}

.status-pill-v13{
  flex:0 0 auto;
  border-radius:999px;
  padding:5px 8px;
  font-size:10px;
  font-weight:800;
}

.status-pill-v13.active{
  background:#edf8f1;
  color:#267245;
}

.status-pill-v13.revoked,
.status-pill-v13.expired{
  background:#fff0f0;
  color:#984141;
}

.token-meta-row-v13{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:10px;
}

.mini-chip-v13{
  border-radius:999px;
  padding:4px 7px;
  background:#f2f3f5;
  color:#626871;
  font-size:10px;
  font-weight:700;
}

.token-dates-v13{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:9px;
  color:#8b9097;
  font-size:10px;
}

.revoke-action-v13{
  border:1px solid #e5c7c7;
  background:#fff;
  color:#9a4242;
  border-radius:9px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:700;
}

.verify-panel-v13{
  margin-top:16px;
  padding:18px 20px;
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
  gap:18px;
  align-items:center;
}

.verify-panel-v13 h2{
  margin:0 0 5px;
  font-size:17px;
}

.verify-panel-v13 p{
  margin:0;
  color:#7a8088;
  font-size:12px;
  line-height:1.45;
}

.verify-row-v13{
  display:flex;
  gap:8px;
}

.verify-row-v13 input{
  flex:1;
  min-width:0;
  height:42px;
  border:1px solid #d9dde1;
  border-radius:10px;
  padding:0 12px;
  font:12px ui-monospace,SFMono-Regular,Consolas,monospace;
}

/* Settings */
.settings-page-v13{
  padding:44px 0 110px;
}

.settings-hero-v13{
  margin-bottom:22px;
}

.settings-hero-v13 h1{
  margin:7px 0 8px;
  font-size:clamp(38px,5vw,58px);
  letter-spacing:-2.2px;
}

.settings-hero-v13 p{
  margin:0;
  color:#747a82;
}

.settings-layout-v13{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:16px;
  align-items:start;
}

.settings-panel-v13,
.settings-side-v13{
  border:1px solid #e1e4e8;
  border-radius:18px;
  background:#fff;
}

.settings-panel-v13{
  padding:22px;
}

.settings-side-v13{
  overflow:hidden;
}

.settings-section-title h2{
  margin:0 0 4px;
  font-size:17px;
}

.settings-section-title p{
  margin:0;
  color:#7d838b;
  font-size:12px;
}

.settings-divider{
  height:1px;
  background:#eceef0;
  margin:24px 0;
}

.switch-row-v13{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid #f0f1f2;
  cursor:pointer;
}

.switch-row-v13 strong,
.switch-row-v13 span{
  display:block;
}

.switch-row-v13 span{
  margin-top:3px;
  color:#858b93;
  font-size:11px;
}

.switch-row-v13 input{
  width:20px;
  height:20px;
  accent-color:#111;
}

.settings-actions-v13{
  margin-top:20px;
}

.identity-card-v13{
  min-height:210px;
  padding:22px;
  background:#111;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.identity-avatar-v13{
  width:54px;
  height:54px;
  border-radius:16px;
  background:#fff;
  color:#111;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:900;
}

.identity-card-v13 small{
  color:#888;
  font-size:10px;
  letter-spacing:.08em;
}

.identity-card-v13 h2{
  margin:7px 0 4px;
}

.identity-card-v13 p{
  margin:0;
  color:#aaa;
  font-size:12px;
}

.quick-links-v13{
  padding:8px;
}

.quick-links-v13 a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  border-radius:9px;
  color:#111;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}

.quick-links-v13 a:hover{
  background:#f4f5f6;
}

/* Account */
.account-page-v13{
  padding:44px 0 110px;
}

.account-hero-v13{
  display:flex;
  gap:18px;
  align-items:center;
  margin-bottom:22px;
}

.account-avatar-v13{
  width:72px;
  height:72px;
  border-radius:22px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:28px;
  font-weight:900;
}

.account-hero-v13 h1{
  margin:6px 0 6px;
  font-size:clamp(34px,4vw,50px);
  letter-spacing:-1.8px;
}

.account-hero-v13 p{
  margin:0;
  color:#777d85;
}

.account-stats-v13{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid #e1e4e8;
  border-radius:16px;
  overflow:hidden;
}

.account-stats-v13 > div{
  padding:18px;
  background:#fff;
}

.account-stats-v13 > div + div{
  border-left:1px solid #e9ebee;
}

.account-stats-v13 small,
.account-stats-v13 strong{
  display:block;
}

.account-stats-v13 small{
  color:#8a9098;
  font-size:10px;
  letter-spacing:.08em;
}

.account-stats-v13 strong{
  margin-top:5px;
  font-size:17px;
}

.account-actions-v13{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:16px;
}

.account-actions-v13 a{
  min-height:120px;
  padding:18px;
  border:1px solid #e1e4e8;
  border-radius:15px;
  background:#fff;
  color:#111;
  text-decoration:none;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

.account-actions-v13 a:hover{
  border-color:#bfc4ca;
  transform:translateY(-1px);
}

.account-actions-v13 strong,
.account-actions-v13 small{
  display:block;
}

.account-actions-v13 small{
  margin-top:5px;
  color:#818790;
  line-height:1.4;
}

/* Multi-file Sandbox */
.sandbox-page-v13{
  padding:34px 0 110px;
}

.sandbox-heading-v13{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}

.sandbox-heading-v13 h1{
  margin:6px 0 7px;
  font-size:clamp(36px,4vw,52px);
  letter-spacing:-1.9px;
}

.sandbox-heading-v13 p{
  margin:0;
  color:#777d85;
}

.sandbox-heading-actions-v13{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.tryit-v13{
  border:1px solid #d9dde2;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.filebar-v13{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px;
  background:#f3f4f5;
  border-bottom:1px solid #d9dde2;
}

.file-tabs-v13{
  display:flex;
  gap:5px;
  min-width:0;
  overflow-x:auto;
}

.file-tab-v13{
  border:1px solid transparent;
  background:transparent;
  color:#5e646c;
  border-radius:8px;
  padding:8px 11px;
  cursor:pointer;
  font:12px ui-monospace,SFMono-Regular,Consolas,monospace;
  white-space:nowrap;
}

.file-tab-v13.active{
  background:#fff;
  border-color:#d9dde2;
  color:#111;
}

.filebar-actions-v13{
  display:flex;
  gap:5px;
  flex:0 0 auto;
}

.filebar-actions-v13 button{
  border:1px solid #d9dde2;
  background:#fff;
  border-radius:8px;
  padding:7px 9px;
  cursor:pointer;
  font-size:11px;
}

.tryit-grid-v13{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:620px;
}

.editor-pane-v13,
.result-pane-v13{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.editor-pane-v13{
  border-right:1px solid #d9dde2;
}

.pane-title-v13{
  min-height:40px;
  padding:0 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fafafa;
  border-bottom:1px solid #e3e6e9;
  color:#60666e;
  font-size:11px;
  font-weight:700;
}

.pane-title-v13 code{
  color:#92979e;
  font-weight:400;
}

.code-editor-v13{
  flex:1;
  width:100%;
  min-height:580px;
  resize:none;
  border:0;
  outline:0;
  background:#1f1f1f;
  color:#f1f1f1;
  padding:18px;
  box-sizing:border-box;
  font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;
  tab-size:2;
}

.result-frame-v13{
  flex:1;
  width:100%;
  min-height:580px;
  border:0;
  background:#fff;
}

.sandbox-status-v13{
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-top:1px solid #e2e5e8;
  background:#fafafa;
  color:#7a8088;
  font-size:11px;
}

@media(max-width:900px){
  .token-shell-v13,
  .settings-layout-v13,
  .tryit-grid-v13{
    grid-template-columns:1fr;
  }

  .editor-pane-v13{
    border-right:0;
    border-bottom:1px solid #d9dde2;
  }

  .verify-panel-v13{
    grid-template-columns:1fr;
  }

  .account-stats-v13,
  .account-actions-v13{
    grid-template-columns:1fr;
  }

  .account-stats-v13 > div + div{
    border-left:0;
    border-top:1px solid #e9ebee;
  }

  .sandbox-heading-v13,
  .token-hero-v13{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* =========================================================
   MINIVO V14 — EDGE-STYLE SANDBOX TABS
   ========================================================= */

.file-tab-v14{
  display:flex;
  align-items:center;
  min-width:0;
  max-width:190px;
  height:34px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  overflow:hidden;
}

.file-tab-v14.active{
  background:#fff;
  border-color:#d9dde2;
}

.file-tab-name-v14{
  min-width:0;
  flex:1;
  height:100%;
  border:0;
  background:transparent;
  color:#5d636b;
  padding:0 7px 0 10px;
  cursor:pointer;
  text-align:left;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font:12px ui-monospace,SFMono-Regular,Consolas,monospace;
}

.file-tab-v14.active .file-tab-name-v14{
  color:#111;
}

.file-tab-close-v14{
  width:28px;
  height:28px;
  margin-right:3px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#747a82;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:18px;
  line-height:1;
  opacity:.72;
}

.file-tab-close-v14:hover{
  background:#eceef0;
  color:#111;
  opacity:1;
}

.file-tab-v14:not(.active) .file-tab-close-v14{
  opacity:.45;
}

.file-tab-v14:not(.active):hover .file-tab-close-v14{
  opacity:1;
}

.code-editor-v13:disabled{
  background:#232323;
  color:#777;
  cursor:not-allowed;
}

/* MINIVO V15 OAUTH PLATFORM */
.dev15{padding:44px 0 110px}.dev15-head{margin-bottom:18px}.dev15-head.row{display:flex;align-items:end;justify-content:space-between;gap:18px}.dev15-head h1{margin:7px 0 8px;font-size:clamp(38px,5vw,58px);letter-spacing:-2.2px}.dev15-head p{margin:0;color:#747a82}.dev15-nav{display:flex;gap:4px;overflow-x:auto;padding:5px;margin-bottom:18px;border:1px solid #e1e4e8;border-radius:12px;background:#f5f6f7}.dev15-nav a{white-space:nowrap;text-decoration:none;color:#626870;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:700}.dev15-nav a:hover{background:#fff;color:#111}.dev15-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.dev15-grid>a{min-height:145px;padding:20px;border:1px solid #e1e4e8;border-radius:16px;background:#fff;text-decoration:none;color:#111;display:flex;flex-direction:column;justify-content:flex-end}.dev15-grid b{font-size:18px}.dev15-grid span{margin-top:6px;color:#7b8189;font-size:12px;line-height:1.5}.v15-primary,.v15-ghost,.v15-danger{min-height:40px;border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;text-decoration:none;cursor:pointer;font:inherit}.v15-primary{border:1px solid #111;background:#111;color:#fff}.v15-ghost{border:1px solid #dfe2e6;background:#fff;color:#111}.v15-danger{border:1px solid #e6caca;background:#fff;color:#974141}.v15-gate,.v15-empty{min-height:210px;border:1px dashed #d8dce1;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.v15-empty span{color:#7a8088;margin-top:5px}.v15-app-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.v15-app{border:1px solid #e1e4e8;border-radius:16px;padding:18px;background:#fff}.v15-app-name{display:flex;gap:12px}.v15-app-name i,.v15-connected i{width:42px;height:42px;border-radius:12px;background:#111;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:900;flex:0 0 auto}.v15-app h2,.v15-connected h2{margin:0 0 4px;font-size:16px}.v15-app p,.v15-connected p{margin:0;color:#7f858d;font-size:12px}.v15-app dl{display:grid;grid-template-columns:90px 1fr;gap:8px 10px;margin:16px 0;padding:12px;border-radius:10px;background:#f7f8f9;font-size:11px}.v15-app dt{color:#858b93}.v15-app dd{margin:0;overflow-wrap:anywhere}.v15-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.v15-actions.end{justify-content:flex-end}.v15-dialog{width:min(610px,calc(100vw - 30px));border:0;border-radius:18px;padding:0;box-shadow:0 25px 80px #0003}.v15-dialog::backdrop{background:#0005}.v15-dialog form,.v15-secret-wrap{padding:22px}.v15-dialog-head{display:flex;justify-content:space-between;align-items:start}.v15-dialog-head h2{margin:0 0 14px}.v15-dialog-head button{border:0;background:#f1f2f4;border-radius:8px;width:32px;height:32px;font-size:20px}.v15-dialog label{display:block;font-size:12px;font-weight:800;margin-top:13px}.v15-dialog input,.v15-dialog select,.v15-dialog textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #d8dce1;border-radius:10px;padding:10px 11px;font-size:14px}.v15-dialog textarea{min-height:105px;resize:vertical}.v15-dialog small{display:block;color:#858b93;margin-top:5px}.v15-msg{margin-top:14px;padding:11px 12px;border-radius:10px;background:#f5f6f7;color:#697079;font-size:12px}.v15-secret-wrap>code{display:block;margin:15px 0;padding:13px;border-radius:10px;background:#111;color:#8dffae;word-break:break-all}.v15-consent-bg{margin:0;background:#f4f5f7;font-family:Arial,sans-serif}.v15-consent{width:min(560px,calc(100% - 30px));margin:auto;padding:50px 0}.v15-consent-brand{display:flex;align-items:center;gap:9px;margin-bottom:14px}.v15-consent-brand i{width:36px;height:36px;border-radius:10px;background:#111;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:900}.v15-consent-card{border:1px solid #e0e3e7;border-radius:20px;background:#fff;padding:26px}.v15-consent-app{display:flex;gap:13px;align-items:center;margin-bottom:24px}.v15-consent-app i{width:50px;height:50px;border-radius:14px;background:#111;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:20px}.v15-consent-app h1{margin:0 0 4px}.v15-consent-app p{margin:0;color:#777d85}.v15-perms>div{padding:11px 0;border-bottom:1px solid #eee}.v15-perms b,.v15-perms span{display:block}.v15-perms span{margin-top:3px;color:#7a8088;font-size:12px}.v15-client{display:grid;grid-template-columns:80px 1fr;gap:10px;margin-top:18px;padding:12px;border-radius:10px;background:#f7f8f9;font-size:10px}.v15-client code{overflow-wrap:anywhere}.v15-connected{display:grid;gap:10px}.v15-connected article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;border:1px solid #e1e4e8;border-radius:14px;padding:16px}.v15-chips{display:flex;gap:5px;margin-top:8px}.v15-chips span{padding:4px 7px;border-radius:999px;background:#f1f2f4;font-size:10px}.v15-docs{max-width:850px}.v15-docs h2{margin-top:30px}.v15-docs p{color:#70767e;line-height:1.65}.v15-docs pre{overflow:auto;padding:15px;border-radius:11px;background:#111;color:#eee;font:12px/1.55 ui-monospace,Consolas,monospace}.v15-scope{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #eee}.token-filter-v15{display:flex;gap:5px;margin-bottom:12px}.token-filter-v15 button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:7px 10px}.token-filter-v15 button.active{background:#111;color:#fff}@media(max-width:850px){.dev15-grid,.v15-app-grid{grid-template-columns:1fr}.dev15-head.row{align-items:start;flex-direction:column}.v15-connected article{grid-template-columns:auto 1fr}.v15-connected .v15-danger{grid-column:1/-1}}
