.studio-body{background:var(--soft);min-height:100vh}
[hidden]{display:none!important}
.muted{color:var(--muted)}
.link-btn{background:none;border:0;color:var(--blue);font:600 14px var(--font);cursor:pointer;padding:6px 0}
.link-btn:hover{text-decoration:underline}
.full{width:100%}

/* CONNEXION */
.auth{min-height:100vh;display:grid;place-items:center;padding:24px;position:relative;overflow:hidden;background:#fff}
.auth-glow{position:absolute;width:640px;height:640px;border-radius:50%;background:#dfe6ff;filter:blur(110px);top:-160px;right:-120px;opacity:.7}
.auth-card{position:relative;width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;padding:34px 30px 28px;box-shadow:0 30px 80px rgba(82,113,255,.18);animation:rise .7s cubic-bezier(.2,.8,.2,1) both}
.auth-logo img{height:42px;margin:0 auto 18px}
.auth h1{font-size:1.7rem;font-weight:800;letter-spacing:-.02em;text-align:center}
.auth-sub{text-align:center;color:var(--muted);margin:8px 0 22px;font-size:.98rem}
.tabs2{display:flex;background:var(--soft);border-radius:999px;padding:4px;margin-bottom:18px}
.tabs2 button{flex:1;border:0;background:transparent;font:700 14px var(--font);color:var(--muted);padding:10px;border-radius:999px;cursor:pointer;transition:all .2s}
.tabs2 button.on{background:#fff;color:var(--ink);box-shadow:0 4px 14px rgba(82,113,255,.18)}
.btn-google{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:13px;font:700 15px var(--font);color:var(--ink);cursor:pointer;transition:all .2s}
.btn-google:hover{border-color:#c8d0f0;box-shadow:0 8px 22px rgba(82,113,255,.14);transform:translateY(-1px)}
.or{display:flex;align-items:center;gap:12px;margin:18px 0;color:#8a90a6;font-size:13px;font-weight:600}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.field{display:block;margin-bottom:14px}
.field span{display:block;font-weight:700;font-size:13px;margin-bottom:6px}
.field input{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:13px 14px;font:500 15px var(--font);outline:0;transition:border-color .2s}
.field input:focus{border-color:var(--blue)}
.auth-msg{min-height:20px;font-size:13.5px;font-weight:600;margin-bottom:8px}
.auth-msg.err{color:#d6335b}.auth-msg.ok{color:#12a150}
.auth form .link-btn{display:block;margin:12px auto 0}
.demo-note{margin-top:16px;text-align:center;font-size:12.5px;color:#8a6d1f;background:#fff6dd;border-radius:12px;padding:10px 12px}

/* APP */
.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}
.side{background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.side-logo img{height:38px;margin:0 8px 26px}
.side nav{display:grid;gap:4px}
.side nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;font:600 15px var(--font);color:var(--muted);padding:12px 14px;border-radius:14px;cursor:pointer;text-align:left;transition:all .2s}
.side nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.side nav button:hover{background:var(--soft);color:var(--ink)}
.side nav button.on{background:#eef1ff;color:var(--blue)}
.side-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:16px}
.user-chip{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;flex:none;text-transform:uppercase}
.uemail{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.main{padding:26px 34px 60px;min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:26px}
.topbar h2{font-size:1.9rem;font-weight:800;letter-spacing:-.025em;line-height:1.15}
.topbar p{margin-top:4px}
.top-right{display:flex;align-items:center;gap:10px}
.demo-pill{background:#fff6dd;color:#8a6d1f;font-weight:700;font-size:12.5px;padding:7px 14px;border-radius:999px}
.view-body{animation:rise .45s cubic-bezier(.2,.8,.2,1) both}

.kpis4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
.k{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px 22px}
.k small{display:block;color:var(--muted);font-weight:600;font-size:13px}
.k b{display:block;font-size:2.1rem;font-weight:800;letter-spacing:-.03em;line-height:1.2;margin-top:4px}
.k em{font-style:normal;color:var(--muted);font-size:12.5px;font-weight:600}
.bar-credits{height:8px;border-radius:8px;background:#e9ecf9;margin-top:10px;overflow:hidden}
.bar-credits i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,var(--blue),#8a6bff)}

.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px 24px;margin-bottom:20px}
.card h3{font-size:1.15rem;font-weight:800;letter-spacing:-.01em;margin-bottom:14px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}

.vrow{display:grid;grid-template-columns:54px 1fr auto auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.vrow:first-of-type{border-top:0}
.thumb{width:54px;height:76px;border-radius:12px;object-fit:cover;background:#dfe6ff}
.vt2 b{display:block;font-size:15px;line-height:1.3}
.vt2 small{color:var(--muted);font-weight:500;font-size:13px}
.nets{display:flex;gap:6px}
.nets .net{width:24px;height:24px}
.badge2{font-weight:700;font-size:12px;padding:5px 12px;border-radius:999px;white-space:nowrap}
.b-published{background:#e4f7ec;color:#12a150}.b-scheduled{background:#eef1ff;color:var(--blue)}
.b-creating{background:#fff1d6;color:#b7791f}.b-error{background:#ffe3ea;color:#d6335b}

.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.chips button{border:1.5px solid var(--line);background:#fff;border-radius:999px;font:700 13.5px var(--font);color:var(--muted);padding:8px 16px;cursor:pointer;transition:all .2s}
.chips button.on{background:var(--blue);border-color:var(--blue);color:#fff}

.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cal-head b{font-size:1.15rem;text-transform:capitalize}
.cal-head button{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;cursor:pointer}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.cal .dow{font-size:12px;font-weight:700;color:var(--muted);text-align:center;padding:4px 0;text-transform:capitalize}
.cal .day{min-height:78px;border:1px solid var(--line);border-radius:14px;padding:6px 8px;background:#fff;font-size:12px;font-weight:700;color:var(--muted)}
.cal .day.out{background:var(--soft);opacity:.6}
.cal .day.today{border-color:var(--blue);color:var(--blue)}
.cal .dots{display:flex;flex-wrap:wrap;gap:3px;margin-top:6px}
.cal .dots .net{width:16px;height:16px}
.dot-count{font-size:11px;color:var(--ink);font-weight:800;margin-top:4px}

.netcard{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.netcard:first-of-type{border-top:0}
.netcard .net{width:44px;height:44px}
.netcard .nm{flex:1}.netcard .nm b{display:block}.netcard .nm small{color:var(--muted)}
.btn-line{border:1.5px solid var(--blue);color:var(--blue);background:#fff;border-radius:999px;font:700 14px var(--font);padding:9px 20px;cursor:pointer}
.btn-line:hover{background:var(--blue);color:#fff}
.ok-pill{background:#e4f7ec;color:#12a150;font-weight:700;font-size:13px;padding:6px 14px;border-radius:999px}

@media(max-width:900px){
  .app{grid-template-columns:1fr}
  .side{position:fixed;z-index:30;bottom:0;top:auto;left:0;right:0;height:auto;flex-direction:row;border-right:0;border-top:1px solid var(--line);padding:8px 10px}
  .side-logo,.side-foot{display:none}
  .side nav{grid-auto-flow:column;grid-auto-columns:1fr;width:100%}
  .side nav button{flex-direction:column;gap:3px;font-size:11px;padding:8px 4px;text-align:center}
  .main{padding:18px 16px 100px}
  .topbar h2{font-size:1.5rem}
  .kpis4{grid-template-columns:1fr 1fr}
  .two{grid-template-columns:1fr}
  .vrow{grid-template-columns:48px 1fr auto}
  .vrow .nets{display:none}
  .cal .day{min-height:54px}
}
@media(max-width:1180px){.two{grid-template-columns:1fr}.kpis4{grid-template-columns:repeat(2,1fr)}}
.vt2 small{white-space:nowrap}
.card{min-width:0}

/* UPGRADE DISCRET */
.up-pill{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #cfd8ff;background:#fff;color:var(--blue);font:700 13px var(--font);padding:7px 14px;border-radius:999px;cursor:pointer;transition:all .2s}
.up-pill:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.up-side{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;border:1px solid #dfe5ff;background:linear-gradient(160deg,#f4f6ff,#fff);border-radius:16px;padding:12px;margin-bottom:14px;cursor:pointer;font-family:var(--font);transition:all .2s}
.up-side:hover{border-color:var(--blue);box-shadow:0 10px 26px rgba(82,113,255,.16)}
.up-side b{display:block;font-size:13.5px;color:var(--ink)}
.up-side small{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:2px}
.up-ico{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:10px;background:var(--blue);color:#fff}
.up-ico.big{width:44px;height:44px;border-radius:14px}
.nudge{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #dfe5ff;background:linear-gradient(90deg,#f4f6ff,#fff);border-radius:18px;padding:13px 16px;margin-bottom:18px;cursor:pointer;font:600 14px var(--font);color:var(--ink);transition:all .2s}
.nudge:hover{border-color:var(--blue)}
.nudge i{margin-left:auto;font-style:normal;color:var(--blue);font-weight:700;white-space:nowrap}
.soft-link{display:inline-block;margin-top:10px;font-size:12.5px;font-weight:700;color:var(--blue);cursor:pointer}
.soft-link:hover{text-decoration:underline}
.lock-line{display:flex;align-items:center;gap:10px;width:100%;border:1.5px dashed #cfd8ff;background:transparent;border-radius:16px;padding:13px 16px;font:600 14px var(--font);color:var(--muted);cursor:pointer;margin-bottom:20px;text-align:left}
.lock-line i{margin-left:auto;font-style:normal;color:var(--blue);font-weight:700;font-size:13px}
.lock-line:hover{border-color:var(--blue)}
.foot-up{text-align:center;margin:-6px 0 20px}
.foot-up a{display:inline-flex;gap:6px;align-items:center;color:var(--blue);font-weight:700;font-size:13.5px;cursor:pointer}
.btn-line.locked{border-color:#cfd8ff;color:var(--muted);font-size:13px}
.btn-line.locked:hover{border-color:var(--blue);background:#f4f6ff;color:var(--blue)}
.up-card{border-color:#dfe5ff;background:linear-gradient(160deg,#f6f8ff,#fff)}
.up-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.up-head h3{margin:0}
.up-list{list-style:none;display:grid;gap:10px;margin:8px 0 20px}
.up-list li{display:flex;align-items:center;gap:10px;font-weight:600}
.up-list li::before{content:"✓";display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px}
.up-soon{margin-left:12px;font-size:13px;color:var(--muted);font-weight:600}
@media(max-width:900px){.up-pill{display:none}.nudge{flex-wrap:wrap}.nudge i{margin-left:0}}
.reset-t{font-size:1.3rem;font-weight:800;text-align:center;margin:6px 0 18px;letter-spacing:-.01em}
