@font-face {
  font-family: Inter;
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --primary: #2563eb;
  --navy: #0b1220;
  --accent: #06b6d4;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dce4ef;
  --paper: #f4f7fb;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.6 Inter,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: #174aa9;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.16em;
}
button {
  cursor: pointer;
}
h1,
h2,
h3 {
  font-family: Manrope, Inter, Arial, sans-serif;
  line-height: 1.17;
  margin: 0 0 0.55em;
  letter-spacing: -0.032em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
}
h2 {
  font-size: clamp(1.36rem, 3vw, 2.1rem);
}
h3 {
  font-size: 1.2rem;
}
p,
ul,
ol,
dl {
  margin: 0.55em 0 1em;
}
small {
  color: var(--muted);
  font-size: 0.84rem;
}
svg {
  display: block;
}
.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 2;
  transform: translateY(-145%);
}
.skip:focus {
  transform: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
.top {
  background: var(--navy);
  color: #fff;
}
.top-inner {
  min-height: 68px;
  max-width: 1440px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top a {
  color: #fff;
  text-decoration: none;
}
.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}
.top nav a {
  padding: 8px 0;
}
.brand {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 7px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}
.foot {
  background: var(--navy);
  color: white;
  min-height: 90px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 20px max(24px, calc((100vw - 1320px) / 2));
  font-size: 0.9rem;
}
.shell {
  width: min(1320px, 100% - 40px);
  margin: auto;
  padding-bottom: 56px;
}
.admin {
  max-width: 1600px;
  margin: auto;
  padding: 0 24px 45px;
}
.demo-note {
  font-size: 0.83rem;
  margin: 12px 0;
  color: var(--muted);
}
.feedback {
  padding: 16px 20px;
  margin: 16px 0;
  background: #ecfdf3;
  border: 1px solid #a4d4b5;
  border-radius: 12px;
  color: #155535;
}
.feedback p {
  margin-top: 0;
}
.section {
  margin: 52px 0;
}
.section-head,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head {
  justify-content: space-between;
  margin: 0 0 16px;
}
.section-head h1 {
  margin: 0.1em 0;
}
.eyebrow {
  color: #2354a1;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.7rem;
}
.subtle {
  color: var(--muted);
  font-size: 0.88rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
}
.button:hover {
  filter: brightness(0.93);
}
.button.secondary {
  background: white;
  color: #173e86;
  border-color: var(--line);
}
.button.inverse {
  border-color: #93a7cc;
  background: transparent;
  color: white;
}
.quiet {
  border: 1px solid #7689a0;
  border-radius: 10px;
  padding: 5px 10px !important;
}
.text-link {
  font-weight: 700;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.actions form {
  margin: 0;
  display: inline-flex;
}
.brand-hero {
  min-height: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-bottom: 30px;
}
.brand-hero > div {
  padding: clamp(24px, 6vw, 88px);
  align-self: center;
}
.brand-hero p:not(.eyebrow) {
  color: #e6efff;
  font-size: 1.06rem;
  max-width: 45ch;
}
.brand-hero .eyebrow {
  color: #c2ecff;
}
.brand-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.brand-hero h1 {
  max-width: 16ch;
}
.gallery img {
  border-radius: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.cards {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cards.split {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px);
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0 0 16px;
}
.cards > .card {
  margin: 0;
}
.card.service {
  overflow: hidden;
  padding: 0;
}
.service img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service div {
  padding: 20px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-left: 24px;
}
.steps li {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
}
.slim,
.portal {
  width: min(100%, 960px);
  margin: auto;
}
.portal {
  max-width: 760px;
}
.portal .card {
  border-radius: 16px;
}
.portal h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
}
.portal .status {
  display: inline-block;
}
.price {
  font-size: 1.6rem;
  font-weight: 800;
}
.band {
  background: #f1f5fb;
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 12px;
}
.timeline {
  list-style: none;
  padding: 0;
}
.timeline li {
  display: grid;
  gap: 2px;
  position: relative;
  padding: 0 0 14px 20px;
  border-left: 2px solid #c6d5e7;
  margin-left: 5px;
}
.timeline li:before {
  content: "";
  position: absolute;
  top: 5px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #15803d;
}
.timeline li:last-child:before {
  background: var(--primary);
}
.customer-photo {
  border-radius: 12px;
  max-height: 320px;
  object-fit: contain;
}
.panel-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sidebar {
  background: #0f172a;
  color: white;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 10px;
}
.sidebar nav {
  display: grid;
  margin-top: 12px;
  gap: 4px;
}
.sidebar a {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  min-height: 44px;
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
}
.sidebar a[aria-current],
.sidebar a:hover {
  background: var(--primary);
  color: #fff;
}
.sidebar .switch {
  border-top: 1px solid #68788f;
  margin-top: 8px;
}
.panel-content {
  min-width: 0;
}
.admin h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}
.admin h2 {
  font-size: clamp(1.2rem, 3vw, 1.48rem);
}
.metrics .card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metrics .card span {
  color: var(--muted);
  font-size: 0.9rem;
}
.metrics strong {
  margin-top: 0.4rem;
  font-size: clamp(1rem, 2vw, 1.76rem);
  line-height: 1.2;
}
.tabs {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.tabs a {
  white-space: nowrap;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}
.tabs a[aria-current] {
  background: var(--navy);
  color: #fff;
}
.clean {
  list-style: none;
  padding: 0;
  margin: 0;
}
.clean li {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
}
.clean li:last-child {
  border-bottom: none;
}
.chart {
  display: grid;
  gap: 3px;
}
.chart div {
  display: grid;
  grid-template-columns: 3rem 1fr 1fr 3.5rem;
  gap: 8px;
  align-items: center;
}
.chart span {
  font-size: 0.85rem;
}
.chart meter {
  width: 100%;
  height: 11px;
}
.chart meter::-webkit-meter-optimum-value {
  background: #2563eb;
}
.chart .done::-webkit-meter-optimum-value {
  background: #15803d;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #edf3fb;
  font-size: 0.85rem;
}
td,
th {
  height: 48px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td small {
  display: block;
}
.status {
  border: 1px solid #d4e1fc;
  background: #edf3ff;
  color: #174484;
  font-weight: 740;
  font-size: 0.83rem;
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.facts dt {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}
.facts dd {
  margin: 0;
  white-space: pre-line;
}
.facts .price {
  line-height: 1.2;
}
form {
  display: grid;
  gap: 12px;
  margin: 1rem 0;
  min-width: 0;
}
form:last-child {
  margin-bottom: 0;
}
form label {
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 720;
  min-width: 0;
}
form label.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
form label.check input {
  width: 20px;
  min-height: 20px;
}
input,
select,
textarea {
  border: 1px solid #aebdd1;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 8px;
  width: 100%;
  color: var(--ink);
  background: #fff;
  max-width: 100%;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px 14px;
  margin: 0;
  display: grid;
  gap: 9px;
}
legend {
  font-weight: 750;
}
.item-grid,
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
}
.filters {
  margin: 8px 0 16px;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 740;
  min-height: 35px;
  display: list-item;
}
@media (max-width: 1090px) {
  .panel-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 14px;
  }
  .panel-layout .cards.split {
    grid-template-columns: 1fr;
  }
  .brand-hero > div {
    padding: 32px;
  }
  .top nav {
    gap: 10px;
  }
}
@media (max-width: 780px) {
  .top-inner {
    min-height: 60px;
  }
  .top nav a:not(.quiet) {
    display: none;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .admin {
    padding: 0 16px 32px;
  }
  .brand-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .brand-hero img {
    aspect-ratio: 16/9;
  }
  .brand-hero > div {
    padding: 24px;
  }
  .brand-hero h1 {
    max-width: none;
  }
  .cards.three,
  .cards.four,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-layout {
    display: block;
  }
  .sidebar {
    position: static;
    margin-bottom: 16px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin-top: 4px;
    gap: 6px;
  }
  .sidebar nav a {
    flex: none;
    white-space: nowrap;
  }
  .sidebar .switch {
    border-top: none;
    margin-top: 0;
  }
  .cards.split,
  .kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .item-grid,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    margin: 36px 0;
  }
}
@media (max-width: 460px) {
  .cards.two,
  .cards.three,
  .cards.split,
  .kanban {
    grid-template-columns: 1fr;
  }
  .top-inner {
    padding: 9px 12px;
    gap: 8px;
  }
  .admin,
  .shell {
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 24px);
  }
  .top nav {
    font-size: 0.8rem;
  }
  .brand {
    font-size: 0.94rem;
  }
  .brand-hero > div {
    padding: 20px;
  }
  .card {
    padding: 14px;
  }
  .facts {
    gap: 8px 12px;
  }
  .foot {
    padding: 16px 12px;
  }
  .actions {
    align-items: stretch;
  }
  .actions > .button {
    min-width: 0;
  }
  .section-head {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.commercial-shell {
  max-width: 1050px;
  margin: 28px auto;
}
.commercial-shell h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.top .commercial-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.commercial-nav form {
  display: inline-flex;
  margin: 0;
}
.commercial-nav .logout {
  background: transparent;
  color: white;
}
.company-identity {
  object-fit: contain;
  max-height: 64px;
  border-radius: 6px;
}

/* Mantém os controles de data legíveis na menor largura de tela. */
.filters > label, .filters input, .filters select { min-width: 0; max-width: 100%; }
@media (max-width: 359px) { .filters { grid-template-columns: minmax(0,1fr); } }

/* A descrição pode quebrar linha. Quantidades e moeda permanecem inteiras. */
.quote-items { table-layout: auto; }
.quote-items :is(th, td):first-child { overflow-wrap: anywhere; }
.quote-items :is(th, td):nth-child(n+2) { white-space: nowrap; overflow-wrap: normal; word-break: normal; width: 1%; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .quote-items :is(th, td) { padding-inline: 6px; } }
/* Administração e entrada de ordens */
.panel-page {
  --surface: #fff;
  --paper: #f4f6fa;
  --line: #dce3ed;
  --blue-text: #2453a3;
  --tint: #eaf1fc;
  --control-line: #aebdd1;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
.panel-page [hidden] { display: none !important; }
.panel-page .top { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.panel-page .top-inner { gap: 12px; min-height: 66px; max-width: 1680px; flex-wrap: wrap; }
.panel-page .top .brand { margin-right: auto; }
.panel-page .top a, .panel-page .top .logout { color: var(--ink); }
.panel-page .top .quiet { border-color: var(--line); min-height: 40px; }
.panel-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.panel-page .admin { padding-top: 20px; max-width: 1680px; }
.panel-page .panel-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 24px; }
.panel-page.menu-collapsed .panel-layout { grid-template-columns: 72px minmax(0, 1fr); }
.panel-page .sidebar {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  max-height: calc(100vh - 20px);
  overflow: auto;
}
.panel-page .sidebar nav { margin: 0; display: grid; gap: 12px; }
.panel-page .panel-nav-group h2 {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: .68rem;
  letter-spacing: .075em;
  text-transform: uppercase;
  margin: 5px 9px;
}
.panel-page .sidebar a { color: var(--muted); gap: 10px; padding: 8px; font-size: .85rem; font-weight: 650; }
.panel-page .sidebar svg { flex: 0 0 20px; }
.panel-page .sidebar a[aria-current], .panel-page .sidebar a:hover { background: var(--tint); color: var(--blue-text); }
.panel-page .sidebar .switch { border-top: 1px solid var(--line); }
.panel-page.menu-collapsed .sidebar a { justify-content: center; }
.panel-page.menu-collapsed .sidebar h2,
.panel-page.menu-collapsed .sidebar a span,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.panel-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .8rem; color: var(--muted); margin: 3px 0 16px; }
.panel-breadcrumb a { color: var(--blue-text); }
.panel-page .card, .panel-page .button.secondary, .panel-page .tabs a { background: var(--surface); }
.panel-page .button.secondary, .panel-page .text-link, .panel-page a:not(.button):not(.brand):not(.quiet) { color: var(--blue-text); }
.panel-page .sidebar a:not([aria-current]):not(:hover) { color: var(--muted) !important; }
.panel-page .tabs a[aria-current] { background: var(--tint); }
.panel-page th, .panel-page .band { background: var(--tint); }
.panel-page input, .panel-page select, .panel-page textarea { background: var(--surface); border-color: var(--control-line); }
.panel-page .foot { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); }
.intake-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.intake-header h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.intake-header p { margin: 5px 0 0; }
.intake-layout { display: grid; grid-template-columns: minmax(0, 1fr) 198px; gap: 16px; align-items: start; }
.intake-form { gap: 12px; margin: 0; }
.intake-card, .intake-reference { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.intake-card { padding: 13px 16px 16px; scroll-margin-top: 15px; }
.intake-card header { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.intake-card header h2, .intake-reference h2 { font-size: .96rem; margin: 0; letter-spacing: -.01em; }
.intake-icon { color: var(--blue-text); background: var(--tint); border-radius: 8px; padding: 6px; display: inline-flex; flex: none; }
.intake-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: start; }
.intake-grid label { display: block; font-size: .82rem; }
.intake-grid label :is(input,select,textarea) { display: block; margin-top: 4px; font-size: .9rem; }
.intake-grid label.check { display: flex; }
.intake-grid small { display: block; margin-top: 3px; font-weight: 400; }
.intake-add { align-self: end; justify-self: start; gap: 5px; }
.intake-wide { grid-column: 1 / -1; }
.intake-inline { margin-top: 12px; }
.intake-inline legend, .intake-reference a { font-size: .84rem; }
.intake-device-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 12px 0 0; padding: 8px 10px; background: var(--paper); border-radius: 8px; font-size: .8rem; }
.intake-device-facts dt { font-weight: 650; color: var(--muted); }
.intake-device-facts dd { margin: 0; overflow-wrap: anywhere; }
.intake-reference { padding: 15px; position: sticky; top: 10px; }
.intake-reference nav { margin-top: 8px; display: grid; }
.intake-reference a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--line); }
.intake-reference a:last-child { border-bottom: 0; }
.intake-reference a:hover { text-decoration: underline; }
.intake-confirm p { margin: 4px 0 0; }
.intake-confirm .actions { justify-content: end; }
.intake-confirm button { gap: 7px; }
.intake-error { background: #fff2f2; border: 1px solid #f0b8b8; color: #921c2a; padding: 12px 14px; border-radius: 8px; }
.panel-page[data-theme="dark"] {
  color-scheme: dark;
  --surface: #192334;
  --paper: #111a29;
  --ink: #eef3fa;
  --muted: #adbbce;
  --line: #36455a;
  --control-line: #647691;
  --tint: #243754;
  --blue-text: #a8caff;
}
@media (max-width: 1200px) { .intake-layout { grid-template-columns: minmax(0, 1fr); } .intake-reference { display: none; } }
@media (max-width: 780px) {
  .panel-page .sidebar { max-height: none; }
  .panel-page.menu-collapsed .sidebar { display: none; }
  .panel-page .commercial-nav { font-size: .77rem; }
}
@media (max-width: 560px) {
  .panel-page .top nav, .panel-page .commercial-nav { gap: 6px; }
  .panel-page .top .commercial-nav a { display: inline-flex; align-items: center; }
  .intake-grid { grid-template-columns: minmax(0, 1fr); }
  .intake-device-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.panel-page .order-pagination { justify-content: flex-end; }
.panel-page .intake-grid :is(input, select, textarea) { font-weight: 450; }
@media (max-width: 560px) {
  .panel-page .intake-grid :is(input, select, textarea) { font-size: 1rem; }
}

.panel-shade { display: none; }
@media (max-width: 780px) {
  .panel-page .top-inner { min-height: 60px; }
  .panel-page.has-panel-controls .top { position: sticky; top: 0; z-index: 15; }
  .panel-page.has-panel-controls .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 21;
    width: min(248px, calc(100vw - 44px)); max-height: 100dvh; margin: 0;
    border-radius: 0 12px 12px 0; overscroll-behavior: contain;
  }
  .panel-page.drawer-open .panel-shade {
    display: block; position: fixed; inset: 0; z-index: 20;
    width: 100%; border: 0; background: #0b142986;
  }
}

/* Identidades dos websites demonstrativos */
.demo-website .brand-hero { min-height: 504px; grid-template-columns: minmax(0,46fr) minmax(0,54fr); background: linear-gradient(125deg,#0b1220,#142b47); }
.demo-website .brand-hero h1 { font-size: clamp(2rem,4vw,3rem); }
.demo-website .brand-hero p:not(.eyebrow) { font-size: 1rem; }
.demo-website .brand-hero > div { padding: clamp(22px,4vw,60px); }
.demo-website .brand-hero img { min-height: 0; }
.demo-home .brand-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr); }
.demo-home .brand-hero > div { position: relative; align-self: end; z-index: 1; padding-block-end: 46px; }
.demo-home .brand-hero img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.demo-home .brand-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#132b28 2%,#132b28e8 33%,#132b2852 75%); z-index: -1; }
.demo-home .brand-hero p.eyebrow { color: #ffdb98; }
.demo-website .service { display: flex; flex-direction: column; border-radius: 16px; }
.demo-website .service > div { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.demo-website .service h3 { font-size: 1.28rem; }
.demo-website .service svg,.demo-benefits svg { color: var(--primary); margin-bottom: 10px; }
.demo-website .service .text-link { margin-top: auto; color: var(--navy); }
.demo-website .service img { aspect-ratio: 9 / 7; }
.demo-website .card { transition: transform 220ms ease, border-color 220ms ease; }
.demo-website .service:hover { transform: translateY(-4px); border-color: var(--primary); }
.demo-about,.demo-final { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(12px,3vw,36px); }
.demo-about img { border-radius: 12px; width: 100%; }
.demo-final { grid-template-columns: minmax(0,1fr) auto; }
.demo-faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
.demo-faq details { margin: 0; }
.demo-faq summary { min-height: 44px; }
.demo-steps { list-style: none; padding: 0; counter-reset: demo-step; }
.demo-steps li { border-bottom: 3px solid var(--primary); counter-increment: demo-step; }
.demo-steps li::before { content: counter(demo-step); font-weight: 750; color: var(--navy); margin-right: .5rem; }
.demo-foot { background: var(--navy); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.demo-foot a { color: #e6f2ff; }
@media(max-width:780px) {
  .demo-website .brand-hero { min-height: auto; grid-template-columns: minmax(0,1fr); }
  .demo-home .brand-hero { min-height: 430px; }
  .demo-home .brand-hero::before { background: linear-gradient(0deg,#132b28 10%,#132b28ed 35%,#132b2870 100%); }
  .demo-website .brand-hero h1 { max-width: 22ch; }
  .demo-about,.demo-final,.demo-faq,.demo-steps { grid-template-columns: 1fr; }
  .demo-foot { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:480px) {
  .demo-website .cards.three,.demo-foot { grid-template-columns: 1fr; }
}

.panel-page .sidebar{border-radius:16px;background:var(--surface);box-shadow:0 5px 22px #1630520a}
.panel-page .sidebar .panel-nav-group a{border-radius:9px;min-height:40px}
.panel-page .panel-content .section-head{gap:14px;margin-bottom:18px}
.panel-page .panel-content .section-head h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(24px,3vw,34px);letter-spacing:-.045em}
.panel-page .panel-content .card,.panel-page .intake-card,.panel-page .intake-reference{border-radius:14px;box-shadow:0 4px 20px #182b4810}
.panel-page .metric-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--tint);color:var(--blue-text);border-radius:10px;margin-bottom:8px}
.panel-page .metric-icon svg,.appointment-day h2 svg{width:21px;height:21px}
.panel-page .metrics .card strong{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.035em}
.panel-page .table-wrap{border-radius:10px;overflow:auto}
.panel-page .table-wrap table th{font-size:.78rem;letter-spacing:.018em}
.panel-page .table-wrap tbody tr:hover{background:var(--tint)}
.panel-page .status[data-state]{border-radius:999px}
.panel-page .status:is([data-state="entregue"],[data-state="pronto_entrega"]){background:#d6f3e3;color:#115738}
.panel-page .status:is([data-state="aguardando_aprovacao"],[data-state="aguardando_peca"]){background:#fff0ce;color:#754910}
.panel-page .status:is([data-state="cancelado"],[data-state="orcamento_recusado"]){background:#fce6e7;color:#972f3c}
.panel-page .intake-icon{background:var(--tint);color:var(--blue-text)}
.panel-page .intake-card>header{padding-bottom:8px;border-bottom:1px solid var(--line)}
.appointment-list{display:grid;gap:14px}
.appointment-day h2{display:flex;gap:8px;align-items:center}
.appointment-day h2 svg{color:var(--blue-text)}
.appointment-day li{display:grid!important;grid-template-columns:4rem minmax(0,1fr) minmax(0,max-content);align-items:center;gap:12px}
.appointment-time{font-weight:800;color:var(--blue-text);font-variant-numeric:tabular-nums}
.appointment-day small{display:block}
@media(max-width:520px){.appointment-day li{grid-template-columns:3rem minmax(0,1fr);gap:4px 12px}.appointment-day li .status{grid-column:2;justify-self:start}}

.panel-page .order-ref{white-space:nowrap;font-variant-numeric:tabular-nums}
.agenda-calendar{margin-block:14px}
.agenda-range{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.agenda-range h2{margin:0;min-width:100px;text-align:center;font-size:1.05rem}
.agenda-range .button{min-width:36px;padding:6px 10px}
.agenda-today{margin-left:auto}
.agenda-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.agenda-grid>*{min-width:0;min-height:45px;border:1px solid var(--line);padding:5px;border-radius:8px}
.agenda-grid .agenda-weekday{border:0;min-height:26px;font-size:.76rem;text-align:center;color:var(--muted);font-weight:700}
.agenda-grid .agenda-gap{background:var(--tint)}
.agenda-grid .agenda-day{display:flex;align-items:flex-start;justify-content:space-between;gap:2px;text-decoration:none}
.agenda-day[aria-current]{background:var(--tint);outline:1px solid currentColor}
.agenda-day:hover{background:var(--tint)}
.agenda-day small{font-weight:760;font-size:.74rem;border-radius:12px;padding:2px 5px;background:var(--tint)}
.appointment-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.appointment-actions .button{min-height:32px;padding:4px 8px}
.appointment-dialog{border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--surface);color:var(--ink);max-width:min(450px,92vw);box-shadow:0 12px 30px #06132948}
.appointment-dialog::backdrop{background:#0713239c}
.appointment-dialog h2{font-size:1.24rem;margin:0 0 10px}
.appointment-dialog p{margin:6px 0}
.appointment-dialog .actions{margin-top:14px}
@media(max-width:520px){.agenda-grid{gap:3px}.agenda-grid>*{padding:3px}.agenda-day strong{font-size:.82rem}.agenda-day small{padding:1px 3px;font-size:.65rem}.appointment-actions{grid-column:2;justify-self:start}}

.panel-page .top .panel-brand-light,.panel-page .top .panel-brand-dark{width:178px;height:46px;object-fit:contain}
.panel-page .top .panel-brand-dark,.panel-page[data-theme="dark"] .top .panel-brand-light{display:none}
.panel-page[data-theme="dark"] .top .panel-brand-dark{display:block}
.panel-page .chart meter{appearance:none;height:8px;width:100%;border:0;background:var(--tint);border-radius:12px}
.panel-page .chart meter::-webkit-meter-bar{background:var(--tint);border:0;border-radius:12px}
.panel-page .chart meter::-webkit-meter-optimum-value{background:var(--primary);border-radius:12px}
.panel-page .chart meter.done::-webkit-meter-optimum-value{background:#168254;border-radius:12px}
.panel-page .chart meter::-moz-meter-bar{background:var(--primary);border-radius:12px}
.panel-page .chart meter.done::-moz-meter-bar{background:#168254}
@media(max-width:520px){.panel-page .top .panel-brand-light,.panel-page .top .panel-brand-dark{max-width:130px;height:42px}}
