/* Vernese Customs Composites Pro Toolkit v18
 * Mobile-first professional mobile app design
 * Strict font scale: 14 / 18 / 22 / 48
 * Red White Blue on dark navy
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&family=DM+Sans:wght@500;700;900&display=swap');

#vernese-app-mount,
#vernese-app-mount * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

#vernese-app-mount {
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

#vernese-app-mount .app {
  width: 100%;
  background: #0a1929;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
#vernese-app-mount .header {
  background: linear-gradient(135deg, #0a1929 0%, #1a365d 100%);
  padding: 20px 20px 0;
  border-bottom: 4px solid #e53e3e;
}
#vernese-app-mount .header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  gap: 12px;
}
#vernese-app-mount .brand-title { display: none; }
#vernese-app-mount .brand-sub {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}
#vernese-app-mount .brand-pro-badge {
  background: #e53e3e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 6px;
  display: inline-block;
  letter-spacing: 1px;
}
#vernese-app-mount .header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
#vernese-app-mount .feedback-btn {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
#vernese-app-mount .pro-indicator {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
}
#vernese-app-mount .pro-indicator .pi-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
#vernese-app-mount .pro-indicator .pi-status {
  font-size: 18px;
  font-weight: 900;
  color: #e53e3e;
}

/* ── NAV TABS ── */
#vernese-app-mount .nav {
  display: flex;
  background: #0a1929;
  overflow-x: auto;
  scrollbar-width: none;
}
#vernese-app-mount .nav::-webkit-scrollbar { display: none; }
#vernese-app-mount .nav-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 16px 8px;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
  text-align: center;
  transition: all 0.15s;
}
#vernese-app-mount .nav-tab.active {
  color: #fff;
  background: rgba(229,62,62,0.15);
  border-bottom-color: #e53e3e;
}
#vernese-app-mount .nav-tab.locked { opacity: 0.4; }

/* ── TOOL AREA ── */
#vernese-app-mount .tool-header { display: none; }
#vernese-app-mount .tool-title { display: none; }
#vernese-app-mount .tool-body {
  background: #0a1929;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── FIELDS ── */
#vernese-app-mount .field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#vernese-app-mount .field-label {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#vernese-app-mount .field-val {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #e53e3e;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}
#vernese-app-mount .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#vernese-app-mount input[type=number],
#vernese-app-mount input[type=text],
#vernese-app-mount input[type=date],
#vernese-app-mount select,
#vernese-app-mount textarea {
  width: 100%;
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}
#vernese-app-mount input:focus,
#vernese-app-mount select:focus {
  border-color: #e53e3e;
}
#vernese-app-mount select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ── HYBRID SLIDER + STEPPER ── */
#vernese-app-mount .slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#vernese-app-mount .stepper-btn {
  background: #e53e3e;
  border: none;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
#vernese-app-mount .stepper-btn:active { background: #c53030; transform: scale(0.95); }
#vernese-app-mount .slider-track {
  flex: 1;
  height: 56px;
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  touch-action: none;
  overflow: hidden;
}
#vernese-app-mount .slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #2b6cb0, #e53e3e);
  border-radius: 10px 0 0 10px;
}
#vernese-app-mount .slider-thumb {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 3px solid #e53e3e;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none;
}

/* ── MAT BUTTONS ── */
#vernese-app-mount .mat-class-row {
  display: flex;
  gap: 8px;
}
#vernese-app-mount .mat-class-row button {
  flex: 1;
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 14px 6px;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#vernese-app-mount .mat-class-row button.active {
  background: #e53e3e;
  border-color: #e53e3e;
  color: #fff;
}

/* ── COVERAGE SUB-TABS ── */
#vernese-app-mount .mode-toggle {
  display: flex;
  gap: 4px;
  background: #1a365d;
  padding: 4px;
  border-radius: 10px;
}
#vernese-app-mount .mode-toggle button {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s;
}
#vernese-app-mount .mode-toggle button.active {
  background: #e53e3e;
  color: #fff;
}

/* ── BANNERS ── */
#vernese-app-mount .info-banner {
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.4;
}
#vernese-app-mount .info-banner.green { background: rgba(56,161,105,0.2); border: 2px solid #38a169; color: #9ae6b4; }
#vernese-app-mount .info-banner.amber { background: rgba(214,158,46,0.2); border: 2px solid #d69e2e; color: #f6e05e; }
#vernese-app-mount .info-banner.red { background: rgba(229,62,62,0.2); border: 2px solid #e53e3e; color: #fed7d7; }
#vernese-app-mount .info-banner.blue { background: rgba(43,108,176,0.2); border: 2px solid #2b6cb0; color: #bee3f8; }

/* ── RESULTS ── */
#vernese-app-mount .result-box {
  background: linear-gradient(145deg, #1a365d 0%, #0a1929 100%);
  border: 2px solid #e53e3e;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#vernese-app-mount .result-box.empty {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.4);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 24px;
}
#vernese-app-mount .result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
#vernese-app-mount .result-label {
  font-size: 14px;
  font-weight: 900;
  color: #e53e3e;
  text-transform: uppercase;
  letter-spacing: 2px;
}
#vernese-app-mount .result-big {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #fff;
  line-height: 1;
  font-weight: 900;
}
#vernese-app-mount .result-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
}
#vernese-app-mount .result-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
#vernese-app-mount .result-tip {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
  text-align: center;
}
#vernese-app-mount .badge {
  font-size: 14px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  background: rgba(229,62,62,0.25);
  color: #fff;
  border: 2px solid #e53e3e;
}

/* ── POT LIFE GRID ── */
#vernese-app-mount .potlife-panel {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
#vernese-app-mount .potlife-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
#vernese-app-mount .potlife-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 12px 6px;
  border: 1px solid rgba(255,255,255,0.08);
}
#vernese-app-mount .potlife-label {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
#vernese-app-mount .potlife-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}
#vernese-app-mount .potlife-unit {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

/* ── SECTION LABEL ── */
#vernese-app-mount .section-label {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
  margin-top: 4px;
}

/* ── PRO TEASER ── */
#vernese-app-mount .pro-teaser {
  background: rgba(229,62,62,0.08);
  border: 2px dashed rgba(229,62,62,0.4);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1.5;
  touch-action: manipulation;
}

/* ── PRO GATE ── */
#vernese-app-mount .progate-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
#vernese-app-mount .progate-preview {
  opacity: 0.08;
  filter: blur(4px);
  pointer-events: none;
}
#vernese-app-mount .progate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
  background: linear-gradient(180deg, rgba(10,25,41,0.4) 0%, rgba(10,25,41,0.97) 30%);
}
#vernese-app-mount .progate-card {
  background: linear-gradient(145deg, #1a365d 0%, #0a1929 100%);
  border-radius: 14px;
  padding: 24px 20px;
  border: 2px solid #e53e3e;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
#vernese-app-mount .progate-lock { font-size: 40px; }
#vernese-app-mount .progate-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}
#vernese-app-mount .progate-sub {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
#vernese-app-mount .progate-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
#vernese-app-mount .pgf-item {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
#vernese-app-mount .pgf-check { color: #38a169; font-weight: 900; flex-shrink: 0; }
#vernese-app-mount .progate-btn {
  background: #e53e3e;
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 20px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  touch-action: manipulation;
  letter-spacing: 0.5px;
}
#vernese-app-mount .progate-btn:active { background: #c53030; }
#vernese-app-mount .progate-legal {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
}

/* ── SESSIONS ── */
#vernese-app-mount .session-bar { display: flex; flex-direction: column; gap: 10px; }
#vernese-app-mount .session-btn-row { display: flex; gap: 10px; }
#vernese-app-mount .sess-btn {
  flex: 1;
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#vernese-app-mount .sess-btn:disabled { opacity: 0.3; }
#vernese-app-mount .sess-count {
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 10px;
}
#vernese-app-mount .sess-save-row { display: flex; gap: 8px; }
#vernese-app-mount .sess-save-row input { flex: 1; }
#vernese-app-mount .sess-confirm {
  background: #e53e3e;
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
#vernese-app-mount .sess-list {
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}
#vernese-app-mount .sess-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#vernese-app-mount .sess-item:last-child { border-bottom: none; }
#vernese-app-mount .sess-item-info { flex: 1; padding: 12px 14px; cursor: pointer; }
#vernese-app-mount .sess-name { display: block; font-size: 14px; font-weight: 900; color: #fff; }
#vernese-app-mount .sess-date { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); margin-top: 2px; }
#vernese-app-mount .sess-del {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 18px;
  padding: 12px 14px;
  cursor: pointer;
}

/* ── CALIBRATION ── */
#vernese-app-mount .cal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  touch-action: manipulation;
}
#vernese-app-mount .cal-toggle { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 14px; }
#vernese-app-mount .cal-badge {
  background: #38a169;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 10px;
}
#vernese-app-mount .cal-body {
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#vernese-app-mount .cal-intro { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.65); line-height: 1.5; }
#vernese-app-mount .cal-run-btn {
  background: #e53e3e;
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  letter-spacing: 0.5px;
}
#vernese-app-mount .cal-run-btn:disabled { opacity: 0.4; }
#vernese-app-mount .cal-note { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); font-style: italic; }

/* ── ADDITIVES ── */
#vernese-app-mount .additive-row {
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#vernese-app-mount .additive-top { display: flex; align-items: center; gap: 8px; }
#vernese-app-mount .additive-name { flex: 1; font-size: 14px; font-weight: 700; padding: 10px 12px; }
#vernese-app-mount .add-note { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); font-style: italic; }
#vernese-app-mount .preset-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a365d;
  border: 2px solid #e53e3e;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 50;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}
#vernese-app-mount .preset-item {
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  touch-action: manipulation;
}
#vernese-app-mount .preset-name { font-size: 14px; font-weight: 700; color: #fff; }
#vernese-app-mount .preset-pct { font-size: 14px; font-weight: 900; color: #e53e3e; }
#vernese-app-mount .add-item-btn {
  background: transparent;
  border: 2px dashed rgba(229,62,62,0.5);
  color: #e53e3e;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  touch-action: manipulation;
}
#vernese-app-mount .del-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── LAMINATE BUILDER ── */
#vernese-app-mount .ply-row {
  display: grid;
  grid-template-columns: 36px 1fr auto 70px;
  gap: 8px;
  align-items: center;
}
#vernese-app-mount .ply-num {
  width: 36px;
  height: 36px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
#vernese-app-mount .ply-actions { display: flex; gap: 4px; }
#vernese-app-mount .ply-btn {
  background: #1a365d;
  border: 2px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
#vernese-app-mount .ply-btn.del { color: #e53e3e; border-color: #e53e3e; }
#vernese-app-mount .ply-result { font-size: 14px; font-weight: 900; color: #e53e3e; text-align: right; }

/* ── YOUTUBE ── */
#vernese-app-mount .youtube-section {
  padding: 20px;
  background: #0a1929;
  border-top: 1px solid rgba(255,255,255,0.1);
}
#vernese-app-mount .yt-title {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
#vernese-app-mount .yt-link {
  display: block;
  background: #1a365d;
  border: 2px solid #e53e3e;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}

/* ── FOOTER ── */
#vernese-app-mount .footer {
  text-align: center;
  padding: 20px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0a1929;
}
#vernese-app-mount .footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
