/* Painel do Studio com o mesmo desenho do Studio da Vercel (pedido do Master 30/11/2026: "alterar as páginas com LUA e SOL e também com este layout da Vercel"). Regras copiadas de studio-vision (styles.css … theme-dark-overrides.css), na mesma ordem. */
:root{font-family:Inter,system-ui,sans-serif}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}
/* styles.css */
.top{height:59px;flex-shrink:0;background:#0e1929;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:-.4px;font-size:16px}
.brand b{color:#ff576c}
.brand small{display:block;font-size:9px;color:#8f9fb6;letter-spacing:1.8px;font-weight:700;margin-top:2px}
.topmid{color:#b3bfd0;font-size:12px}
.topright{display:flex;align-items:center;gap:9px}
.top-pill{font-size:11px;color:#b3c1d4;border:1px solid #33435b;border-radius:8px;padding:8px 10px}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#35c99b;margin-right:6px}
@media(max-width:980px){.topmid{display:none}}
@media(max-width:720px){.top-pill{display:none}}
.brand-emblem{display:block;width:35px;height:35px;object-fit:contain;border:1px solid #e5e8ed;border-radius:8px;background:#fff;flex:0 0 auto}
.codex-console-state .status-dot{background:#3f83d9}
.gauge-note .status-dot{width:6px;height:6px}
.top-pill{cursor:pointer;background:transparent}
.top-pill:hover{border-color:#8193aa;color:#fff}
.studio-home{--sh-ink:#1e2b40;--sh-muted:#7185a1;--sh-border:#d9e3ed;--sh-bg:#f1f4f7;display:grid;grid-template-columns:246px minmax(0,1fr);grid-template-rows:72px minmax(0,1fr);width:100%;height:100vh;min-height:600px;overflow:hidden;background:var(--sh-bg);color:var(--sh-ink);font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.studio-home-top{grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:0 26px;background:#101b2c;color:#edf3fa}
.studio-home-brand{display:flex;align-items:center;gap:12px;width:max-content;color:inherit;text-decoration:none}
.studio-home-brand img{display:block;width:158px;height:auto;max-height:54px;object-fit:contain;object-position:left center}
.studio-home-mark{display:grid;width:36px;height:36px;place-items:center;border:1px solid #394961;border-radius:11px;color:#ff5c67;font-weight:900}
.studio-home-wordmark{font-size:16px;font-weight:850;letter-spacing:-.04em}
.studio-home-wordmark b{color:#fa5c69}
.studio-home-wordmark small{display:block;margin-top:3px;color:#97a9bf;font-size:8px;font-weight:800;letter-spacing:.2em}
.studio-home-environment{display:flex;align-items:center;gap:9px;color:#c5d1df;font-size:12px}
.studio-home-environment i,.studio-home-dev i{width:8px;height:8px;border-radius:50%;background:#36bd94;box-shadow:0 0 0 4px #36bd9420}
.studio-home-user{display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#d4deea;font-size:11px}
.studio-home-dev{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #38485e;border-radius:9px;background:#17253a;color:#dce6f2;font-weight:750}
.studio-home-dev i{width:7px;height:7px;box-shadow:none}
.studio-home-avatar{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border-radius:9px;background:#e8eff7;color:#315984;font-size:10px;font-weight:850}
.studio-home-sidebar{grid-column:1;grid-row:2;display:flex;min-height:0;flex-direction:column;padding:27px 14px 16px;border-right:1px solid var(--sh-border);background:#f7f9fb}
.studio-nav-label{padding:0 12px 11px;color:#8295ae;font-size:9px;font-weight:850;letter-spacing:.2em}
.studio-home-sidebar nav{display:grid;gap:5px}
.studio-home-sidebar nav button,.studio-nav-bottom button{display:flex;align-items:center;gap:12px;min-width:0;height:43px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#506984;text-align:left;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.studio-home-sidebar nav button:hover,.studio-nav-bottom button:hover{background:#edf2f7}
.studio-home-sidebar nav button.active,.studio-nav-bottom button.active{background:#e1ebf4;color:#1e527e;box-shadow:inset 3px 0 #f05b63}
.studio-nav-icon{display:grid;width:18px;flex:0 0 18px;place-items:center;color:#7188a2;font-size:16px}
.studio-home-sidebar nav button small{margin-left:auto;padding:4px 6px;border-radius:999px;background:#edf1f5;color:#8797aa;font-size:7px;font-weight:850;white-space:nowrap}
.studio-nav-divider{height:1px;margin:13px 5px;background:#dfe6ed}
.studio-nav-bottom{display:grid;gap:5px;margin-top:auto;padding-top:14px;border-top:1px solid #dfe6ed}
.studio-sidebar-note{display:grid;gap:5px;margin:11px 1px 0;padding:11px;border:1px solid #dfe6ed;border-radius:9px;background:#f9fbfc;color:#526b87;font-size:9px;line-height:1.45}
.studio-sidebar-note b{font-size:9px}
.studio-home-main{grid-column:2;grid-row:2;min-width:0;min-height:0;overflow:auto;padding:38px clamp(26px,4vw,68px) 24px}
.studio-home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 24px}
.studio-home-eyebrow{color:#8296b0;font-size:9px;font-weight:850;letter-spacing:.2em}
.studio-home-heading h1{margin:9px 0 5px;font-size:clamp(27px,3vw,38px);letter-spacing:-.045em}
.studio-home-heading p,.studio-section-heading p{margin:0;color:#7186a1;font-size:12px}
.studio-home-primary,.studio-project-open{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:0 15px;border:0;border-radius:9px;background:#ef5962;color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 6px 14px #ef596220}
.studio-home-primary:hover,.studio-project-open:hover{background:#dc4c55}
.studio-home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:29px}
.studio-home-metrics>div{display:grid;gap:7px;min-height:92px;padding:16px;border:1px solid var(--sh-border);border-radius:12px;background:#fff}
.studio-home-metrics span{color:#7c91ab;font-size:9px;font-weight:750}
.studio-home-metrics b{font-size:19px;letter-spacing:-.03em}
.studio-home-metrics small{color:#788da7;font-size:9px}
.studio-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.studio-section-heading h2{margin:0 0 4px;font-size:17px;letter-spacing:-.025em}
.studio-section-heading>span{color:#7c91ab;font-size:9px}
.studio-project-list{display:grid;gap:12px}
.studio-project-card{display:grid;grid-template-columns:48px minmax(200px,1.1fr) minmax(220px,1fr) auto;align-items:center;gap:16px;min-height:130px;padding:19px;border:1px solid var(--sh-border);border-radius:13px;background:#fff;box-shadow:0 3px 12px #27384d08}
.studio-project-logo{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;background:#eaf0f7;color:#386a9c;font-size:13px;font-weight:900}
.studio-project-logo.smr{background:#fff0ef;color:#f04d54;font-size:11px}
.studio-project-info{min-width:0}
.studio-project-info>span{color:#879ab2;font-size:8px;font-weight:850;letter-spacing:.17em}
.studio-project-info h3{margin:7px 0 3px;font-size:15px;letter-spacing:-.02em}
.studio-project-info p,.studio-project-detail p{margin:0 0 9px;color:#7085a0;font-size:10px;line-height:1.5}
.studio-status-pill{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:850}
.studio-status-pill.good{background:#e5f5ee;color:#18815c}
.studio-status-pill.neutral{background:#fff2dd;color:#a86a15}
.studio-project-detail{min-height:52px;padding-left:18px;border-left:1px solid #e5ebf1}
.studio-project-detail b{display:block;margin:0 0 6px;font-size:10px}
.studio-project-detail p{max-width:420px;margin:0}
.studio-project-open{min-height:36px;padding:0 12px;font-size:9px;white-space:nowrap}
.studio-project-actions{display:flex;flex-direction:column;gap:7px;align-items:stretch}
.studio-project-open.secondary{border:1px solid var(--sh-border);background:#fff;color:#3d628a;box-shadow:none}
.studio-project-open.secondary:hover{background:#f2f6fa}
.studio-home-lower{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:13px;margin-top:15px}
.studio-next-card,.studio-library-card{padding:18px;border:1px solid var(--sh-border);border-radius:12px;background:#fff}
.studio-next-card .studio-section-heading{margin-bottom:5px}
.studio-next-card ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.studio-next-card li{display:flex;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #e9eef3}
.studio-next-card li>i{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#edf3f8;color:#53708f;font-size:10px;font-style:normal;font-weight:850}
.studio-next-card li div{display:grid;gap:4px}
.studio-next-card li b{font-size:10px}
.studio-next-card li small{color:#788ca6;font-size:9px}
.studio-library-card{display:flex;flex-direction:column;align-items:flex-start}
.studio-library-icon{display:grid;width:32px;height:32px;place-items:center;margin-bottom:11px;border-radius:9px;background:#eef3f7;color:#6482a1}
.studio-library-card h2{margin:0 0 7px;font-size:13px}
.studio-library-card p{margin:0;color:#7286a0;font-size:10px;line-height:1.5}
.studio-library-card>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:15px}
.studio-library-card button{padding:7px 9px;border:1px solid var(--sh-border);border-radius:7px;background:#fff;color:#58728d;font:inherit;font-size:8px;font-weight:750;cursor:pointer}
.studio-home-footer{display:flex;justify-content:space-between;gap:16px;margin-top:22px;padding-top:12px;border-top:1px solid #dce4ec;color:#8193aa;font-size:8px}
.studio-account-card .studio-home-avatar{width:46px;height:46px;font-size:13px}
@media(max-width:1050px){.studio-home{grid-template-columns:210px minmax(0,1fr)}.studio-home-main{padding:28px 24px}.studio-project-card{grid-template-columns:44px minmax(180px,1fr) minmax(170px,1fr)}.studio-project-card>.studio-project-open{grid-column:2/-1;justify-self:start}.studio-project-actions{grid-column:2/-1;flex-direction:row;flex-wrap:wrap;align-items:center}.studio-project-actions .studio-project-open{flex:0 0 auto}.studio-home-lower{grid-template-columns:1fr}}
@media(max-width:700px){.studio-home{grid-template-columns:66px minmax(0,1fr);grid-template-rows:62px minmax(0,1fr);min-height:520px}.studio-home-top{grid-template-columns:1fr auto;padding:0 12px}.studio-home-environment{display:none}.studio-home-user>span:last-child{display:none}.studio-home-dev{padding:7px;font-size:0}.studio-home-sidebar{padding:18px 7px 10px}.studio-nav-label,.studio-home-sidebar nav button>span:not(.studio-nav-icon),.studio-home-sidebar nav button small,.studio-nav-bottom button>span:not(.studio-nav-icon),.studio-org-chip div,.studio-org-chip>span:last-child,.studio-sidebar-note{display:none}.studio-home-sidebar nav button,.studio-nav-bottom button{justify-content:center;padding:0}.studio-nav-icon{font-size:18px}.studio-nav-divider{margin:10px 2px}.studio-home-main{padding:24px 14px}.studio-home-heading{align-items:flex-start;flex-direction:column}.studio-home-metrics{grid-template-columns:1fr;gap:8px}.studio-home-metrics>div{min-height:0;padding:12px}.studio-project-card{grid-template-columns:40px minmax(0,1fr);gap:11px;padding:13px}.studio-project-logo{width:38px;height:38px}.studio-project-detail{grid-column:1/-1;padding:11px 0 0;border-top:1px solid #e5ebf1;border-left:0}.studio-project-card>.studio-project-open,.studio-project-actions{grid-column:1/-1}.studio-project-actions{flex-direction:column;align-items:stretch}.studio-project-open{width:100%;white-space:normal;text-align:center}.studio-home-lower{grid-template-columns:1fr}.studio-home-footer{flex-direction:column}.studio-home-sidebar nav button,.studio-nav-bottom button{position:relative}.studio-home-sidebar nav button::after,.studio-nav-bottom button::after{position:absolute;left:52px;z-index:3;display:none;padding:6px 8px;border-radius:6px;background:#18263a;color:#fff;content:attr(aria-label);font-size:9px;white-space:nowrap}.studio-home-sidebar nav button:hover::after,.studio-nav-bottom button:hover::after{display:block}}
.studio-home{grid-template-rows:60px minmax(0,1fr)}
.studio-global-top{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(390px,1fr);align-items:center;height:60px;min-height:60px;padding:0 20px;background:#0e1929;color:#fff}
.studio-global-brand{padding:0;border:0;background:transparent;color:#f4f7fb;text-align:left;font:inherit;font-size:16px;font-weight:850;letter-spacing:-.4px;cursor:pointer}
.studio-global-brand b{color:#ff576c}
.studio-global-brand small{display:block;margin-top:3px;color:#93a3b8;font-size:8px;font-weight:750;letter-spacing:1.6px}
.studio-global-brand:hover{opacity:.9}
.studio-global-top .topmid{display:flex;align-items:center;white-space:nowrap}
.studio-global-top .topmid .status-dot{background:#35c99b}
.studio-global-actions{justify-self:end;gap:10px;min-width:0}
.studio-global-email{max-width:220px;overflow:hidden;color:#d2dce8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.studio-global-top .top-pill{display:inline-flex;align-items:center;white-space:nowrap;cursor:pointer;background:transparent}
.studio-global-logout{padding:8px 11px;border:1px solid #33435b;border-radius:8px;background:transparent;color:#d2dce8;font-size:10px;font-weight:750;white-space:nowrap}
.studio-global-logout:hover{border-color:#8193aa;color:#fff}
.studio-global-logout:disabled{cursor:wait;opacity:.7}
.studio-global-avatar{flex:0 0 31px}
@media(max-width:1100px){.studio-global-top{grid-template-columns:minmax(220px,1fr) minmax(0,auto);gap:12px}.studio-global-top .topmid{display:none}.studio-global-email{max-width:180px}}
@media(max-width:700px){.studio-home{grid-template-rows:60px minmax(0,1fr)}.studio-global-top{grid-template-columns:minmax(125px,1fr) auto;gap:8px;padding:0 10px}.studio-global-brand{font-size:14px}.studio-global-brand small{font-size:6px;letter-spacing:1px}.studio-global-email{max-width:145px;font-size:9px}.studio-global-logout{padding:7px 8px;font-size:9px}.studio-home-main{padding-top:22px}}
.studio-home-sidebar nav button,.studio-nav-bottom button{transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}
.studio-home-sidebar nav button:focus-visible,.studio-nav-bottom button:focus-visible{outline:2px solid #78a9e3;outline-offset:2px}
.studio-nav-icon{height:20px;color:#607d9c}
.studio-nav-icon svg{display:block;width:19px;height:19px;overflow:visible}
.studio-home-sidebar nav button.active .studio-nav-icon,.studio-nav-bottom button:hover .studio-nav-icon{color:#2864a3}
.studio-nav-bottom{border-top:0;padding-top:0}
.studio-home-sidebar nav button small{letter-spacing:.02em}
.studio-home{--sh-bg:#f4f5f6;--sh-border:#d5dbe1;background:var(--sh-bg)}
.studio-home-sidebar{border-right-color:#d2d8de;background:#e9ecef}
.studio-home-main{background:var(--sh-bg)}
/* viewport.css */
@media(max-width:720px){.top{height:auto;min-height:59px;padding:8px 12px;flex-wrap:wrap}.brand{font-size:13px}.topright{margin-left:auto}}
@media(max-width:980px){.top{padding:8px 14px;min-height:59px;height:auto}.topmid{display:none}.topright{gap:7px}.top-pill{font-size:10px;padding:7px 8px}}
@media(max-width:720px){.topright{width:100%;margin-left:0;justify-content:flex-end}.top-pill{margin-left:auto}}
/* auth.css */
/* The DEV session entry point must remain available on narrow screens. */
.top-pill { display: inline-flex !important; align-items: center; white-space: nowrap; }
.top-logout { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; padding: 8px 11px; border: 1px solid #46566d; border-radius: 8px; background: transparent; color: #d6dfeb; font: inherit; font-size: 11px; font-weight: 800; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.top-logout:hover:not(:disabled) { border-color: #93a5bb; background: #ffffff12; color: #fff; }
.top-logout:disabled { cursor: wait; opacity: .65; }
/* studio-shell-frame.css */
body:has(.studio-home) {
  background: #e1e4e8;
}
.studio-home {
  width: calc(100% - 24px);
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
  min-height: 0;
  margin: 12px auto;
  overflow: hidden;
  border: 1px solid #cfd5dc;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgb(32 49 74 / 10%);
}
.studio-home-sidebar {
  position: relative;
  min-width: 0;
  margin: 9px 0 9px 9px;
  overflow: hidden;
  border: 1px solid #d3d9df;
  border-radius: 14px;
}
.studio-home-sidebar::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 5px;
  border-left: 1px dotted #bdc6cf;
  content: '';
  pointer-events: none;
}
.studio-home-main {
  margin: 9px;
  overflow: auto;
  border: 1px solid #dfe3e7;
  border-radius: 14px;
}
.studio-home-sidebar .studio-nav-bottom {
  gap: 8px;
}
.studio-sidebar-identity {
  display: grid;
  min-width: 0;
  gap: 4px;
  margin: 0 5px;
  padding: 14px 7px 2px;
  border-top: 1px solid #cfd7df;
}
.studio-sidebar-identity strong,
.studio-sidebar-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-sidebar-identity strong {
  color: #253c58;
  font-size: 11px;
  font-weight: 800;
}
.studio-sidebar-identity span {
  color: #70859d;
  font-size: 10px;
}
@media (max-width: 700px) {
  .studio-home {
    width: calc(100% - 16px);
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
    margin: 8px auto;
  }

  .studio-home-sidebar {
    margin: 6px 0 6px 6px;
    border-radius: 12px;
  }

  .studio-home-main {
    margin: 6px;
    border-radius: 12px;
  }

  .studio-sidebar-identity {
    display: none;
  }}
/* portal-shell-frame.css */
.studio:has(> .studio-global-top) > .studio-global-top {
  flex: 0 0 60px;
  border-radius: 17px 17px 0 0;
}
.studio:has(> .studio-global-top) .workspace {
  height: 100%;
  min-height: 0;
}
.studio:has(> .studio-global-top) .toolbar {
  position: relative;
  height: 54px;
  min-height: 54px;
  padding-left: 8px;
}
.studio:has(> .studio-global-top) .toolbar-brand-toggle {
  z-index: 1;
  width: 162px;
  height: 50px;
  padding: 4px 0;
}
.studio:has(> .studio-global-top) .toolbar-brand-toggle img {
  display: block;
  width: 157px;
  max-height: 45.8px;
  object-fit: contain;
  object-position: left center;
}
.studio:has(> .studio-global-top) .left {
  background: #fff;
}
@media (max-width: 720px) {
  .studio:has(> .studio-global-top) {
    width: calc(100% - 16px);
    height: auto;
    min-height: calc(100dvh - 16px);
    margin: 8px auto;
    overflow: visible;
    border-radius: 14px;
  }

  .studio:has(> .studio-global-top) > .studio-global-top {
    border-radius: 13px 13px 0 0;
  }

  .studio:has(> .studio-global-top) .workspace {
    height: auto;
  }}
/* project-overview.css */
@media(max-width:720px){.studio-overview-portfolio .studio-project-open{width:100%}}
/* theme-dark.css */
html[data-theme="dark"] .top{background:#0e1929;color:#ffffff}
html[data-theme="dark"] .brand b{color:#ff576c}
html[data-theme="dark"] .brand small{color:#90a0b7}
html[data-theme="dark"] .topmid{color:#b3bfd0}
html[data-theme="dark"] .top-pill{color:#b3c1d4;border:1px solid #33435b}
html[data-theme="dark"] .status-dot{background:#35c99b}
html[data-theme="dark"] .brand-emblem{border:1px solid #343c4b;background:#151a20}
html[data-theme="dark"] .codex-console-state .status-dot{background:#3f83d9}
html[data-theme="dark"] .top-pill:hover{border-color:#8193aa;color:#ffffff}
html[data-theme="dark"] .studio-home{--sh-ink:#c6d2e4;--sh-muted:#91a0b6;--sh-border:#2b425a;--sh-bg:#1f2b37}
html[data-theme="dark"] .studio-home-top{background:#101b2c;color:#edf3fa}
html[data-theme="dark"] .studio-home-mark{border:1px solid #394961;color:#ff5c67}
html[data-theme="dark"] .studio-home-wordmark b{color:#fa5c69}
html[data-theme="dark"] .studio-home-wordmark small{color:#97a9bf}
html[data-theme="dark"] .studio-home-environment{color:#c5d1df}
html[data-theme="dark"] .studio-home-environment i,html[data-theme="dark"] .studio-home-dev i{background:#36bd94;box-shadow:0 0 0 4px rgba(0,0,0,0.226)}
html[data-theme="dark"] .studio-home-user{color:#d4deea}
html[data-theme="dark"] .studio-home-dev{border:1px solid #38485e;background:#17253a;color:#dce6f2}
html[data-theme="dark"] .studio-home-avatar{background:#192c42;color:#b2c5da}
html[data-theme="dark"] .studio-home-sidebar{background:#1b2937}
html[data-theme="dark"] .studio-nav-label{color:#90a1b7}
html[data-theme="dark"] .studio-home-sidebar nav button,html[data-theme="dark"] .studio-nav-bottom button{color:#8da2ba}
html[data-theme="dark"] .studio-home-sidebar nav button:hover,html[data-theme="dark"] .studio-nav-bottom button:hover{background:#1b2c3d}
html[data-theme="dark"] .studio-home-sidebar nav button.active,html[data-theme="dark"] .studio-nav-bottom button.active{background:#1a3145;color:#b8ccdd;box-shadow:inset 3px 0 rgba(0,0,0,0.7)}
html[data-theme="dark"] .studio-nav-icon{color:#90a2b6}
html[data-theme="dark"] .studio-home-sidebar nav button small{background:#202d39;color:#94a2b3}
html[data-theme="dark"] .studio-nav-divider{background:#24313f}
html[data-theme="dark"] .studio-nav-bottom{border-top:1px solid #2f4153}
html[data-theme="dark"] .studio-sidebar-note{border:1px solid #2f4153;background:#1b2d36;color:#8da2ba}
html[data-theme="dark"] .studio-home-eyebrow{color:#8fa1b8}
html[data-theme="dark"] .studio-home-heading p,html[data-theme="dark"] .studio-section-heading p{color:#91a1b6}
html[data-theme="dark"] .studio-home-primary,html[data-theme="dark"] .studio-project-open{background:#ef5962;color:#fff;box-shadow:0 6px 14px rgba(0,0,0,0.226)}
html[data-theme="dark"] .studio-home-primary:hover,html[data-theme="dark"] .studio-project-open:hover{background:#dc4c55}
html[data-theme="dark"] .studio-home-metrics>div{background:#151a20}
html[data-theme="dark"] .studio-home-metrics span{color:#8fa1b7}
html[data-theme="dark"] .studio-home-metrics small{color:#90a1b7}
html[data-theme="dark"] .studio-section-heading>span{color:#8fa1b7}
html[data-theme="dark"] .studio-project-card{background:#151a20;box-shadow:0 3px 12px rgba(0,0,0,0.056)}
html[data-theme="dark"] .studio-project-logo{background:#192b41;color:#78a3cf}
html[data-theme="dark"] .studio-project-logo.smr{background:#3d1917;color:#f1565c}
html[data-theme="dark"] .studio-project-info>span{color:#8fa1b7}
html[data-theme="dark"] .studio-project-info p,html[data-theme="dark"] .studio-project-detail p{color:#91a1b6}
html[data-theme="dark"] .studio-status-pill.good{background:#1a4331;color:#b8ddd0}
html[data-theme="dark"] .studio-status-pill.neutral{background:#433319;color:#d9c8b0}
html[data-theme="dark"] .studio-project-detail{border-left:1px solid #2b3e51}
html[data-theme="dark"] .studio-project-open.secondary{background:#151a20;color:#80a2c7}
html[data-theme="dark"] .studio-project-open.secondary:hover{background:#172a3d}
html[data-theme="dark"] .studio-next-card,html[data-theme="dark"] .studio-library-card{background:#151a20}
html[data-theme="dark"] .studio-next-card li{border-top:1px solid #2b3c4e}
html[data-theme="dark"] .studio-next-card li>i{background:#192e3f;color:#8ba2bc}
html[data-theme="dark"] .studio-next-card li small{color:#90a1b6}
html[data-theme="dark"] .studio-library-icon{background:#1c2e3c;color:#8da3ba}
html[data-theme="dark"] .studio-library-card p{color:#91a1b5}
html[data-theme="dark"] .studio-library-card button{background:#151a20;color:#8ea3b8}
html[data-theme="dark"] .studio-home-footer{border-top:1px solid #2e4255;color:#91a1b5}
@media(max-width:700px){
html[data-theme="dark"] .studio-project-detail{border-top:1px solid #2b3e51}
html[data-theme="dark"] .studio-home-sidebar nav button::after,html[data-theme="dark"] .studio-nav-bottom button::after{background:#18263a;color:#ffffff}}
html[data-theme="dark"] .studio-global-top{background:#0e1929;color:#ffffff}
html[data-theme="dark"] .studio-global-brand{color:#f4f7fb}
html[data-theme="dark"] .studio-global-brand b{color:#ff576c}
html[data-theme="dark"] .studio-global-brand small{color:#93a3b8}
html[data-theme="dark"] .studio-global-top .topmid .status-dot{background:#35c99b}
html[data-theme="dark"] .studio-global-email{color:#d2dce8}
html[data-theme="dark"] .studio-global-logout{border:1px solid #33435b;color:#d2dce8}
html[data-theme="dark"] .studio-global-logout:hover{border-color:#8193aa;color:#ffffff}
html[data-theme="dark"] .studio-home-sidebar nav button:focus-visible,html[data-theme="dark"] .studio-nav-bottom button:focus-visible{outline:2px solid #78a9e3}
html[data-theme="dark"] .studio-nav-icon{color:#8da2b9}
html[data-theme="dark"] .studio-home-sidebar nav button.active .studio-nav-icon,html[data-theme="dark"] .studio-nav-bottom button:hover .studio-nav-icon{color:#6ca2db}
html[data-theme="dark"] .studio-home{--sh-bg:#1d232b;--sh-border:#3b4753}
html[data-theme="dark"] .studio-home-sidebar{border-right-color:#3d4754;background:#232a35}
/* auth.css */
html[data-theme="dark"] .top-logout{border:1px solid #46566d;color:#d6dfeb}
html[data-theme="dark"] .top-logout:hover:not(:disabled){border-color:#93a5bb;background:rgba(21,26,32,0.071);color:#ffffff}
/* studio-shell-frame.css */
html[data-theme="dark"] body:has(.studio-home){background:#29313d}
html[data-theme="dark"] .studio-home{border:1px solid #3e4856;box-shadow:0 12px 30px rgba(0,0,0,0.18)}
html[data-theme="dark"] .studio-home-sidebar{border:1px solid #3c4653}
html[data-theme="dark"] .studio-home-sidebar::before{border-left:1px dotted #455060}
html[data-theme="dark"] .studio-home-main{border:1px solid #38414d}
html[data-theme="dark"] .studio-sidebar-identity{border-top:1px solid #3a4958}
html[data-theme="dark"] .studio-sidebar-identity strong{color:#bfcee0}
html[data-theme="dark"] .studio-sidebar-identity span{color:#92a2b4}
html[data-theme="dark"] .studio:has(> .studio-global-top) .left{background:#151a20}
/* theme-dark-overrides.css */
/* Modo escuro — ajustes finos feitos à mão (24/11/2026). A base é gerada em theme-dark.css. */
.theme-mode-toggle{display:inline-flex;align-items:center;justify-content:center}
.theme-mode-toggle svg{width:17px;height:17px}
html[data-theme="dark"] .theme-mode-toggle{color:#f5c84c}
/* Studio: botão Sol/Lua no topo escuro, com o mesmo desenho das pílulas ao lado. */
.top-pill.theme-mode-toggle{padding:0 12px;min-width:40px}html[data-theme="dark"]{color-scheme:dark}html[data-theme="dark"] body{background:#11161d;color:#e2e8f0}
