/* V10 — camada visual compartilhada pelos dois protótipos. */
:root {
  --accent: #e77949;
  --ink: #11232c;
  --surface: #192f39;
}
.screen header {
  background: var(--ink);
  padding: 16px clamp(16px, 5vw, 72px);
}
.demo-context {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.return-link {
  background: transparent;
  color: #e5e9eb;
  border: 1px solid #ffffff30;
}
#planName { color: #f49a72; }
.experience-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 16px clamp(16px, 5vw, 72px);
  background: #172c36;
  color: white;
}
.experience-intro, .experience-nav button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.experience-nav button {
  background: #213943;
  color: #fff;
  border: 1px solid #ffffff20;
  text-align: left;
}
.experience-nav button.current {
  background: #31434a !important;
  color: #fff !important;
  border-color: var(--accent);
  box-shadow: inset 3px 0 var(--accent);
}
.experience-nav small { color: #c1cdd2; font-weight: 400; }
.experience-nav [hidden] { display: none !important; }
.product-visual {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 190px !important;
  min-height: 0;
  background: #f1efea !important;
}
.product-visual img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 10px;
}
.product { border-radius: 15px; }
.admincards .product-visual { height: 130px !important; }
.screen.premium { background: #101d25; color: #f5f7f8; }
.premium .panel, .premium .product { background: #192f39; border-color: #ffffff16; }
.premium .primary, .premium .admin-tabs button.dark { background: var(--accent); color: #14232a; }
.premium .metrics .panel { padding: 20px; border-top: 1px solid #ffffff20; }
.premium .metrics strong { font-size: clamp(20px, 2.4vw, 32px); }
.premium .quick { margin: 16px 0; }
.premium .chartbars button { background: #e77949; }
.simulator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e7794960;
  border-radius: 14px;
  margin-top: 24px !important;
}
.simulator small { display: block; margin-top: 5px; }
.sale-total { padding: 14px; border-radius: 10px; background: #8881; }
.sale-total strong { float: right; }
@container (min-width: 850px) {
  .premium main:has(.admin-tabs) {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  .premium main:has(.admin-tabs) > * { grid-column: 2; }
  .premium main > .admin-tabs {
    grid-column: 1;
    grid-row: 1 / span 20;
    position: sticky;
    top: 18px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 14px;
    background: #192f39;
  }
  .premium .admin-tabs button { text-align: left; }
}
@container (max-width: 849px) {
  .experience-nav { grid-template-columns: 1fr 1fr; padding: 12px; }
  .experience-intro { grid-column: 1 / -1; }
  .experience-nav button { padding: 10px; }
  .demo-context { gap: 6px; }
  .product-visual { height: 145px !important; }
  .premium main:has(.admin-tabs) { padding-bottom: 90px; }
  .premium .admin-tabs {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 8;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px;
    background: #11232c;
    border-radius: 12px;
  }
  .premium .admin-tabs button { padding: 8px 3px; font-size: 12px; }
}
@media (max-width: 600px) {
  .toolbar { display: none; }
  .screen header { flex-wrap: wrap; }
  .demo-context { width: 100%; justify-content: space-between; }
}
@container (max-width: 849px) {
  .premium main:has(.admin-tabs) { display: flex; flex-direction: column; }
  .premium main:has(.admin-tabs) > * { width: 100%; }
  .premium main > .admin-tabs { order: 99; }
}
