:root {
  --ink: #18212b;
  --muted: #66727f;
  --line: #d7dedb;
  --canvas: #f3f5f2;
  --surface: #ffffff;
  --surface-2: #eef5f1;
  --primary: #0f6b5d;
  --primary-2: #174b45;
  --accent: #d8884f;
  --accent-2: #ffe9d6;
  --good: #18734d;
  --bad: #b24b2f;
  --warn: #a96a16;
  --input: #fff8df;
  --shadow: 0 18px 50px rgba(31, 45, 42, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #fbfcfa;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--input);
  color: var(--ink);
  resize: vertical;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.marketing-hero {
  min-height: 92vh;
  padding: 24px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(12, 24, 22, 0.88) 0%, rgba(12, 24, 22, 0.68) 38%, rgba(12, 24, 22, 0.08) 72%),
    url("./assets/salone-luminoso-hero.png") center right / cover no-repeat;
}

.marketing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-brand .brand-mark {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-brand span,
.hero-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.nav-cta,
.hero-primary,
.hero-secondary {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nav-cta {
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
  padding-bottom: 52px;
}

.hero-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-primary {
  padding: 0 20px;
  background: #f4fff9;
  color: var(--primary-2);
}

.hero-secondary {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-proof span,
.hero-proof strong {
  padding: 14px 16px;
  background: rgba(15, 31, 28, 0.42);
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-proof strong {
  font-size: 1.05rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band article {
  min-height: 140px;
  padding: 24px;
  background: #fbfcfa;
  display: grid;
  align-content: center;
  gap: 8px;
}

.trust-band svg {
  color: var(--primary);
}

.trust-band span {
  color: var(--muted);
  line-height: 1.45;
}

.journey-section {
  padding: clamp(26px, 4vw, 52px) 24px;
  background: #fbfcfa;
  border-bottom: 1px solid var(--line);
}

.journey-heading {
  max-width: 980px;
  margin: 0 auto 20px;
}

.journey-heading h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1;
}

.journey-flow {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.journey-flow article {
  min-height: 218px;
  padding: 18px;
  background: white;
  display: grid;
  align-content: start;
  gap: 12px;
}

.journey-flow article span {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.8rem;
}

.journey-flow svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.journey-flow strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.journey-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--canvas);
}

.side-panel {
  padding: 22px;
  background: #fbfcfa;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand span {
  display: block;
}

.brand span,
.small-note,
.eyebrow,
.metric span,
.metric small {
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 49, 46, 0.06);
  padding: 16px;
}

.panel-title,
.section-header,
.topbar,
.top-actions,
.import-actions {
  display: flex;
  align-items: center;
}

.panel-title {
  gap: 8px;
  font-weight: 750;
  margin-bottom: 14px;
}

.panel-title svg,
button svg,
.drop-zone svg {
  width: 18px;
  height: 18px;
}

.drop-zone {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 10px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px dashed #aebcb7;
  border-radius: 8px;
  background: #fbfdfb;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--primary);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.drop-zone input {
  display: none;
}

.drop-zone strong {
  line-height: 1;
}

.drop-zone span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.86rem;
}

.logo-preview {
  width: 100%;
  min-height: 74px;
  margin: 4px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  display: grid;
  place-items: center;
  color: var(--primary-2);
  font-weight: 900;
  font-size: 1.4rem;
  overflow: hidden;
}

.logo-preview img {
  max-width: 86%;
  max-height: 58px;
  object-fit: contain;
}

.import-actions,
.top-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-btn,
.secondary-btn,
.primary-btn,
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--ink);
  padding: 0 13px;
  font-weight: 700;
}

.primary-btn {
  border-color: var(--primary);
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(15, 107, 93, 0.2);
}

.secondary-btn {
  background: var(--surface-2);
  border-color: #c7d9d3;
}

.ghost-btn {
  flex: 1;
  color: var(--primary-2);
}

.icon-btn {
  width: 40px;
  padding: 0;
}

.full {
  width: 100%;
}

.small-note {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.field-grid {
  display: grid;
  gap: 10px;
}

.field-grid.compact {
  grid-template-columns: 1fr 1fr;
}

label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 38px;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--input);
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 107, 93, 0.12);
}

select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 107, 93, 0.12);
}

.workspace {
  padding: 24px;
  min-width: 0;
}

.topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
  line-height: 1.05;
}

h2 {
  font-size: 1.18rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.journey-tracker {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.tracker-step {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}

.tracker-step span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #edf2ef;
  color: var(--primary-2);
  font-weight: 900;
}

.tracker-step strong {
  font-size: 0.9rem;
}

.tracker-step.is-done {
  border-color: #b7d0c7;
  color: var(--primary-2);
  background: var(--surface-2);
}

.tracker-step.is-active {
  border-color: var(--primary);
  color: white;
  background: var(--primary-2);
}

.tracker-step.is-active span {
  background: white;
  color: var(--primary-2);
}

.board-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 18px;
}

.product-lab {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 18px;
}

.product-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.product-summary article {
  padding: 16px;
  background: #fbfcfa;
}

.product-summary span,
.product-summary strong {
  display: block;
}

.product-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-summary strong {
  margin-top: 6px;
  color: var(--primary-2);
  font-size: 1.45rem;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
  padding: 18px;
}

.product-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.product-card-head {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 10px;
  align-items: start;
}

.product-card-head label {
  font-size: 0;
}

.product-card-head input {
  margin: 0;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 900;
}

.product-card-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-result-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.product-result-grid div {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #c7d9d3;
  background: var(--surface-2);
}

.product-result-grid span,
.product-result-grid strong,
.product-result-grid em {
  display: block;
}

.product-result-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-result-grid strong {
  margin-top: 4px;
  color: var(--primary-2);
  font-size: 1.08rem;
}

.product-result-grid em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.product-result-grid .gap-ok {
  background: #e8f5ee;
  border-color: #b7d0c7;
}

.product-result-grid .gap-warn {
  background: var(--accent-2);
  border-color: #f0c5a1;
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.offer-strip article {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(35, 49, 46, 0.07);
}

.offer-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offer-strip strong {
  font-size: 1.08rem;
}

.offer-subtitle {
  margin-top: -4px;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.board-header {
  background: #fbfcfa;
}

.board-badge {
  color: var(--primary-2);
  background: var(--surface-2);
  border: 1px solid #c7d9d3;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.menu-board {
  margin: 18px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 8px;
  color: #f9fffb;
  background:
    linear-gradient(135deg, rgba(17, 42, 38, 0.97), rgba(27, 82, 73, 0.93)),
    radial-gradient(circle at 80% 10%, rgba(216, 136, 79, 0.28), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.menu-brand-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.menu-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-2);
  font-size: 1.5rem;
  font-weight: 900;
  overflow: hidden;
}

.menu-logo img {
  max-width: 90%;
  max-height: 58px;
  object-fit: contain;
}

.menu-board .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.menu-brand-row h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.8rem);
  line-height: 0.95;
}

.menu-summary {
  min-width: 140px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: right;
}

.menu-summary span,
.menu-summary strong {
  display: block;
}

.menu-summary span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-summary strong {
  font-size: 1.7rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.menu-category {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-category h4,
.combo-title h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #f7e7d6;
}

.menu-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-line:last-child {
  border-bottom: 0;
}

.menu-line span {
  color: rgba(255, 255, 255, 0.86);
}

.menu-line strong {
  font-size: 1.05rem;
}

.combo-zone {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.combo-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: #fff9ef;
  color: var(--ink);
  border: 1px solid rgba(216, 136, 79, 0.42);
}

.combo-card span {
  color: var(--warn);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.combo-card strong,
.combo-card em,
.combo-card b {
  display: block;
}

.combo-card strong {
  font-size: 1.08rem;
}

.combo-card em {
  color: var(--muted);
  font-style: normal;
}

.combo-card b {
  font-size: 1.85rem;
  color: var(--primary-2);
}

.combo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.metric {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(35, 49, 46, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric.highlight {
  background: var(--primary-2);
  color: white;
  border-color: var(--primary-2);
}

.metric.water-metric {
  background: #f8fbff;
  border-color: #cfdde8;
}

.metric.highlight span,
.metric.highlight small {
  color: rgba(255, 255, 255, 0.78);
}

.metric strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.break-even-lab {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.5fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #101615 0%, #1f2c29 54%, #eef6f0 54%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.break-even-copy {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.break-even-copy .eyebrow {
  color: var(--accent);
}

.break-even-copy p:last-child {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.break-even-panel {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(21, 31, 29, 0.12);
}

.break-even-panel.is-green {
  border-color: #9cd8bd;
  background: #effaf4;
}

.break-even-top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.55fr);
  gap: 12px;
  align-items: end;
}

.break-even-top label,
.minute-cost {
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.break-even-top label {
  margin: 0;
  font-weight: 900;
  color: var(--ink);
}

.break-even-top input {
  margin-top: 8px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: 900;
}

.minute-cost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.minute-cost span,
.break-even-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minute-cost strong {
  font-size: 1.6rem;
  line-height: 1;
}

.break-even-graph {
  position: relative;
  height: 54px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e7ebe8;
  border: 1px solid #d6dfd9;
}

.break-even-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d7a33b 0%, #d7a33b 100%);
  transition: width 0.35s ease, background 0.35s ease;
}

.break-even-panel.is-green .break-even-fill {
  background: linear-gradient(90deg, #58b986 0%, #b8e35f 100%);
}

.speedometer {
  position: relative;
  margin: 10px auto 16px;
  overflow: hidden;
  border: 1px solid rgba(16, 28, 48, 0.12);
  border-radius: 8px;
  background: #eef4f9;
  box-shadow: 0 18px 34px rgba(21, 31, 29, 0.12);
}

.speedometer img {
  display: block;
  width: 100%;
  height: auto;
}

.speedometer-value {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(10, 24, 46, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(16, 28, 48, 0.14);
}

.speedometer-value strong {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1;
}

.speedometer-value span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speedometer.is-green .speedometer-value {
  border-color: rgba(47, 159, 104, 0.34);
  background: rgba(240, 255, 247, 0.94);
}

.speedometer-live {
  position: absolute;
  left: 14px;
  right: 126px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
}

.speedometer-live article {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(10, 24, 46, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(16, 28, 48, 0.12);
}

.speedometer-live span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speedometer-live strong {
  display: block;
  margin-top: 7px;
  font-size: 1.05rem;
  line-height: 1.1;
}

.speedometer.is-green .speedometer-live article {
  border-color: rgba(47, 159, 104, 0.28);
  background: rgba(240, 255, 247, 0.92);
}

.break-even-marker {
  position: absolute;
  inset: 6px 8px 6px auto;
  width: 3px;
  border-radius: 99px;
  background: #20332d;
  opacity: 0.65;
}

.break-even-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.break-even-stats article {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.break-even-stats strong {
  display: block;
  margin-top: 9px;
  font-size: 1.35rem;
  line-height: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: start;
}

.work-area {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-header {
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow: auto;
  max-height: calc(100vh - 295px);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px;
}

.service-editor-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.service-card-top {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 10px;
  align-items: start;
}

.service-card-top label {
  font-size: 0;
}

.service-card-top input {
  margin: 0;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 900;
}

.service-card-top span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.price-pill {
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid #c7d9d3;
}

.price-pill span,
.price-pill strong {
  display: block;
}

.price-pill span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-pill strong {
  margin-top: 4px;
  color: var(--primary-2);
  font-size: 1.22rem;
}

.price-pill.muted {
  background: white;
}

.price-pill.accent {
  background: var(--accent-2);
  border-color: #f0c5a1;
}

.mini-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-fields label {
  min-width: 0;
}

.mini-fields input,
.mini-fields select {
  height: 34px;
  background: white;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1420px;
  table-layout: fixed;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8faf8;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td input,
td select {
  margin: 0;
  background: transparent;
  border-color: transparent;
  height: 34px;
  min-width: 0;
}

td input:focus,
td select:focus {
  background: var(--input);
}

td.result {
  font-weight: 800;
  color: var(--primary-2);
}

.delta-positive {
  color: var(--warn);
  font-weight: 800;
}

.delta-negative {
  color: var(--good);
  font-weight: 800;
}

.row-delete {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.row-delete:hover {
  color: var(--bad);
}

#servicesTable th:nth-child(1),
#servicesTable td:nth-child(1) {
  width: 210px;
}

#servicesTable th:nth-child(2),
#servicesTable td:nth-child(2) {
  width: 135px;
}

#servicesTable th:nth-child(3),
#servicesTable td:nth-child(3),
#servicesTable th:nth-child(4),
#servicesTable td:nth-child(4) {
  width: 145px;
}

#servicesTable th:nth-child(5),
#servicesTable td:nth-child(5) {
  width: 130px;
}

#servicesTable th:nth-child(6),
#servicesTable td:nth-child(6),
#servicesTable th:nth-child(7),
#servicesTable td:nth-child(7),
#servicesTable th:nth-child(8),
#servicesTable td:nth-child(8),
#servicesTable th:nth-child(9),
#servicesTable td:nth-child(9),
#servicesTable th:nth-child(10),
#servicesTable td:nth-child(10) {
  width: 110px;
}

#servicesTable th:nth-child(11),
#servicesTable td:nth-child(11) {
  width: 52px;
}

.insight-rail {
  display: grid;
  gap: 18px;
}

.diagnosis {
  display: grid;
  gap: 10px;
}

.diagnosis-item {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfdfb;
}

.diagnosis-item strong {
  display: block;
  margin-bottom: 4px;
}

.diagnosis-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.balance-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.balance-row {
  display: grid;
  grid-template-columns: 1fr 110px 32px;
  gap: 8px;
  align-items: center;
}

.balance-row input {
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(420px, calc(100vw - 44px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  z-index: 10;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(13, 25, 23, 0.62);
  backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  position: relative;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.modal-card h2 {
  font-size: 1.55rem;
  margin-right: 42px;
}

.modal-copy {
  color: var(--muted);
  line-height: 1.5;
}

.program-cta {
  display: block;
  width: 100%;
  padding: 0;
  margin: 16px 0;
  border: 1px solid #242a32;
  border-radius: 8px;
  background: #05070b;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(8, 10, 15, 0.24);
}

.program-cta img {
  display: block;
  width: 100%;
  height: auto;
}

.program-cta:hover {
  transform: translateY(-1px);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wide-label {
  display: block;
  margin: 12px 0;
}

.consult-price {
  margin: 16px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--accent-2);
  color: var(--primary-2);
  font-size: 1.5rem;
  font-weight: 900;
}

.consult-image {
  display: block;
  width: 100%;
  margin: 16px 0;
  border-radius: 8px;
  border: 1px solid #242a32;
  box-shadow: 0 18px 42px rgba(8, 10, 15, 0.18);
}

.marketing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.plan-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.plan-card.is-recommended {
  border-color: var(--primary);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(15, 107, 93, 0.1);
}

.plan-card span {
  color: var(--warn);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-card strong,
.plan-card b {
  display: block;
}

.plan-card strong {
  font-size: 1.1rem;
}

.plan-card b {
  color: var(--primary-2);
  font-size: 1.35rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.booking-card {
  width: min(860px, 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  margin-top: 16px;
}

.calendar-panel,
.booking-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 16px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-head span,
.booking-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-btn {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.slot-btn span,
.slot-btn strong,
.booking-summary span,
.booking-summary strong {
  display: block;
}

.slot-btn span {
  color: var(--muted);
  font-size: 0.84rem;
}

.slot-btn strong {
  margin-top: 6px;
  font-size: 1.3rem;
}

.slot-btn.is-selected {
  border-color: var(--primary);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(15, 107, 93, 0.12);
}

.booking-summary {
  display: grid;
  align-content: start;
  gap: 12px;
}

.booking-summary strong {
  font-size: 1.35rem;
  color: var(--primary-2);
}

.booking-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.locked-coach {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07110f;
  color: white;
}

.locked-coach svg {
  width: 36px;
  height: 36px;
  color: #c7e600;
}

.locked-coach span,
.locked-coach strong,
.locked-coach p {
  display: block;
}

.locked-coach span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.locked-coach strong {
  font-size: 1.5rem;
}

.locked-coach p {
  margin: 2px 0 0;
  color: #c7e600;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .trust-band {
    grid-template-columns: 1fr;
  }

  .journey-flow {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .offer-strip {
    grid-template-columns: 1fr;
  }

  .menu-grid,
  .combo-grid,
  .service-card-grid,
  .product-card-grid,
  .product-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .marketing-hero {
    min-height: 88vh;
    padding: 16px;
    background:
      linear-gradient(180deg, rgba(12, 24, 22, 0.9) 0%, rgba(12, 24, 22, 0.74) 52%, rgba(12, 24, 22, 0.25) 100%),
      url("./assets/salone-luminoso-hero.png") center / cover no-repeat;
  }

  .marketing-nav {
    align-items: flex-start;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 16vw, 4.3rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .workspace,
  .side-panel {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .kpi-strip,
  .field-grid.compact,
  .journey-tracker,
  .break-even-lab,
  .break-even-top,
  .break-even-stats {
    grid-template-columns: 1fr;
  }

  .speedometer-live {
    position: static;
    grid-template-columns: 1fr;
    margin: 8px;
  }

  .speedometer-value {
    right: 8px;
    bottom: 8px;
  }

  .menu-brand-row {
    grid-template-columns: 62px 1fr;
  }

  .menu-summary {
    grid-column: 1 / -1;
    text-align: left;
  }

  .mini-fields,
  .price-pill-row,
  .product-result-grid,
  .lead-grid,
  .booking-layout,
  .slot-grid,
  .marketing-plans {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    max-height: 62vh;
  }
}

@media print {
  body {
    background: white;
  }

  .marketing-hero,
  .trust-band,
  .side-panel,
  .topbar,
  .kpi-strip,
  .break-even-lab,
  .content-grid,
  .board-header {
    display: none !important;
  }

  .app-shell,
  .workspace,
  .board-shell {
    display: block;
    min-height: auto;
    padding: 0;
    margin: 0;
    background: white;
    border: 0;
    box-shadow: none;
  }

  .menu-board {
    margin: 0;
    min-height: 100vh;
    box-shadow: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
