/* Reset minimal + tipografie de bază */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body-m);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body { background: #1B242A; }

h1,h2,h3,p { margin: 0; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Cifrele clinice trebuie să se alinieze în coloană */
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ------------ shell-ul prototipului (nu face parte din produs) ------------ */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; flex-shrink: 0; background: #131A1E; color: #C4CFD5;
  padding: 20px 16px; overflow-y: auto; height: 100vh; position: sticky; top: 0;
}
.sidebar h1 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.sidebar .sub { font-size: 12px; color: #6E7E88; margin-bottom: 20px; line-height: 1.5; }
.sidebar .group { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px;
  color: #52616A; margin: 18px 0 8px; }
.nav-item {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px;
  color: #C4CFD5; font-size: 14px; line-height: 1.4; margin-bottom: 2px;
}
.nav-item:hover { background: #242E33; color: #fff; }
.nav-item.active { background: var(--teal-600); color: #fff; }
.nav-item small { display: block; font-size: 11px; color: #6E7E88; margin-top: 2px; }
.nav-item.active small { color: #C6E5E8; }

.stage { flex: 1; padding: 32px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; }
.stage-bar { width: 100%; max-width: 1240px; display: flex; align-items: center;
  gap: 12px; color: #98A7B0; font-size: 13px; flex-wrap: wrap; }
.stage-bar .title { color: #fff; font-size: 15px; font-weight: 500; }
.stage-bar .spacer { flex: 1; }
.tool {
  background: #242E33; color: #C4CFD5; border: 1px solid #3A464D;
  border-radius: 8px; padding: 7px 12px; font-size: 13px;
}
.tool:hover { background: #3A464D; color: #fff; }
.tool.on { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.device {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  position: relative; flex-shrink: 0;
}
.device.tablet-l { width: 1194px; height: 834px; }
.device.tablet-p { width: 834px;  height: 1194px; }
.device.mobile   { width: 390px;  height: 844px; border-radius: 28px; }
.device.desktop  { width: 1440px; height: 900px; }

.device-scaler { transform-origin: top center; }

.hint { color: #6E7E88; font-size: 12px; max-width: 1240px; width: 100%; line-height: 1.6; }
