.ntpc {
  --ntpc-text-xs: clamp(.75rem,.7rem + .25vw,.875rem);
  --ntpc-text-sm: clamp(.875rem,.8rem + .35vw,1rem);
  --ntpc-text-base: clamp(1rem,.95rem + .25vw,1.125rem);
  --ntpc-text-lg: clamp(1.125rem,1rem + .75vw,1.5rem);
  --ntpc-text-xl: clamp(1.5rem,1.2rem + 1.25vw,2.25rem);
  --ntpc-text-2xl: clamp(2rem,1.2rem + 2.5vw,3.5rem);
  --ntpc-space-1: .25rem;
  --ntpc-space-2: .5rem;
  --ntpc-space-3: .75rem;
  --ntpc-space-4: 1rem;
  --ntpc-space-5: 1.25rem;
  --ntpc-space-6: 1.5rem;
  --ntpc-space-8: 2rem;
  --ntpc-space-10: 2.5rem;
  --ntpc-radius-md: .5rem;
  --ntpc-radius-lg: .75rem;
  --ntpc-radius-xl: 1rem;
  --ntpc-radius-2xl: 1.5rem;
  --ntpc-radius-full: 9999px;
  --ntpc-bg: var(--color-bg, #0e0d0b);
  --ntpc-surface: var(--color-surface, #141310);
  --ntpc-surface-2: var(--color-surface-2, #1a1916);
  --ntpc-surface-offset: var(--color-surface-offset, #252320);
  --ntpc-surface-dynamic: var(--color-surface-dynamic, #2e2c28);
  --ntpc-divider: var(--color-divider, #2a2825);
  --ntpc-border: var(--color-border, rgba(255,255,255,.08));
  --ntpc-text: var(--color-text, #f0ede8);
  --ntpc-text-muted: var(--color-text-muted, #9e9b95);
  --ntpc-text-faint: var(--color-text-faint, #5c5a55);
  --ntpc-text-inverse: var(--color-text-inverse, #0e0d0b);
  --ntpc-accent: var(--color-accent, #e8a020);
  --ntpc-accent-hover: var(--color-accent-hover, #f0b030);
  --ntpc-accent-subtle: var(--color-accent-subtle, rgba(232,160,32,.12));
  --ntpc-accent-border: var(--color-accent-border, rgba(232,160,32,.25));
  --ntpc-success: var(--color-success, #4a9e5c);
  --ntpc-warning: var(--color-warning, #d49a2f);
  --ntpc-error: var(--color-error, #c05040);
  --ntpc-shadow-sm: 0 1px 3px rgba(0,0,0,.35);
  --ntpc-shadow-md: 0 4px 16px rgba(0,0,0,.35);
  --ntpc-shadow-lg: 0 16px 48px rgba(0,0,0,.45);
  color: var(--ntpc-text);
  font-family: var(--font-body, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: var(--ntpc-text-base);
  line-height: 1.6;
  box-sizing: border-box;
}

.ntpc *, .ntpc *::before, .ntpc *::after { box-sizing: border-box; }
.ntpc button, .ntpc input { font: inherit; color: inherit; }
.ntpc button { cursor: pointer; }
.ntpc a { color: inherit; text-decoration: none; }

.ntpc[data-lang="fr"] .ntpc-t-en,
.ntpc[data-lang="fr"] .ntpc-t-de,
.ntpc[data-lang="en"] .ntpc-t-fr,
.ntpc[data-lang="en"] .ntpc-t-de,
.ntpc[data-lang="de"] .ntpc-t-fr,
.ntpc[data-lang="de"] .ntpc-t-en { display: none !important; }

.ntpc-section-header {
  max-width: 760px;
  margin: 0 auto var(--ntpc-space-8);
  text-align: center;
}

.ntpc-section-label {
  display: block;
  margin-bottom: var(--ntpc-space-3);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ntpc-accent);
}

.ntpc-section-header h2 {
  margin: 0 0 var(--ntpc-space-4);
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-2xl);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ntpc-text);
}

.ntpc-section-header p {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--ntpc-text-muted);
  line-height: 1.75;
}

.ntpc-shell {
  background: linear-gradient(180deg, var(--ntpc-surface), var(--ntpc-surface-2));
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-2xl);
  padding: clamp(var(--ntpc-space-5), 3vw, var(--ntpc-space-8));
  box-shadow: var(--ntpc-shadow-lg);
}

.ntpc-toolbar {
  display: flex;
  justify-content: space-between;
  gap: var(--ntpc-space-4);
  align-items: center;
  margin-bottom: var(--ntpc-space-6);
}

.ntpc-base-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--ntpc-space-2);
  background: var(--ntpc-accent-subtle);
  border: 1px solid var(--ntpc-accent-border);
  color: var(--ntpc-accent);
  border-radius: var(--ntpc-radius-full);
  padding: var(--ntpc-space-2) var(--ntpc-space-4);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
}

.ntpc-base-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--ntpc-accent);
}

.ntpc-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--ntpc-surface-offset);
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-full);
  padding: 3px;
}

.ntpc-lang-btn {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--ntpc-text-muted);
  background: transparent;
  border: 0;
  border-radius: var(--ntpc-radius-full);
  padding: 6px 10px;
  min-height: 28px;
}

.ntpc-lang-btn:hover {
  color: var(--ntpc-text);
  background: var(--ntpc-surface-dynamic);
}

.ntpc-lang-btn.is-active {
  background: var(--ntpc-accent);
  color: var(--ntpc-text-inverse);
}

.ntpc-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,.92fr);
  gap: clamp(var(--ntpc-space-5), 3vw, var(--ntpc-space-8));
  align-items: start;
}

.ntpc-panel {
  background: var(--ntpc-surface);
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-2xl);
  padding: var(--ntpc-space-6);
  box-shadow: var(--ntpc-shadow-md);
  min-width: 0;
}

.ntpc-panel-sticky {
  position: sticky;
  top: 96px;
}

.ntpc-panel-title {
  margin: 0 0 var(--ntpc-space-2);
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-lg);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ntpc-text);
}

.ntpc-panel-lead {
  margin: 0 0 var(--ntpc-space-5);
  font-size: var(--ntpc-text-sm);
  color: var(--ntpc-text-muted);
  line-height: 1.65;
}

.ntpc-form-section-title {
  margin: 0 0 var(--ntpc-space-4);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ntpc-accent);
}

.ntpc-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ntpc-space-2);
  margin-bottom: var(--ntpc-space-5);
}

.ntpc-preset-btn {
  border: 1px solid var(--ntpc-border);
  background: var(--ntpc-surface-offset);
  border-radius: var(--ntpc-radius-lg);
  padding: var(--ntpc-space-3);
  color: var(--ntpc-text-muted);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  transition: background .18s cubic-bezier(.16,1,.3,1), border-color .18s cubic-bezier(.16,1,.3,1), color .18s cubic-bezier(.16,1,.3,1), transform .18s cubic-bezier(.16,1,.3,1);
}

.ntpc-preset-btn:hover,
.ntpc-preset-btn.is-active {
  color: var(--ntpc-text);
  background: var(--ntpc-accent-subtle);
  border-color: var(--ntpc-accent-border);
  transform: translateY(-1px);
}

.ntpc-preset-icon {
  color: var(--ntpc-accent);
  font-size: 1.2rem;
}

.ntpc-parcel-visual {
  height: 120px;
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-xl);
  background: radial-gradient(circle at 50% 20%, var(--ntpc-accent-subtle), transparent 52%), var(--ntpc-surface-offset);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: var(--ntpc-space-5) 0;
}

.ntpc-parcel-box {
  width: 88px;
  height: 62px;
  border-radius: var(--ntpc-radius-lg);
  border: 2px solid var(--ntpc-accent-border);
  background: linear-gradient(135deg, rgba(232,160,32,.25), rgba(232,160,32,.08));
  box-shadow: var(--ntpc-shadow-md);
  display: grid;
  place-items: center;
  transition: width .18s cubic-bezier(.16,1,.3,1), height .18s cubic-bezier(.16,1,.3,1), transform .18s cubic-bezier(.16,1,.3,1);
}

.ntpc-parcel-box span {
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  color: var(--ntpc-accent);
}

.ntpc-slider-group {
  display: grid;
  grid-template-columns: 1fr 94px;
  gap: var(--ntpc-space-4);
  align-items: center;
  padding: var(--ntpc-space-4) 0;
  border-bottom: 1px solid var(--ntpc-divider);
}

.ntpc-slider-group:last-of-type { border-bottom: 0; }

.ntpc-slider-head {
  display: flex;
  justify-content: space-between;
  gap: var(--ntpc-space-3);
  margin-bottom: var(--ntpc-space-2);
}

.ntpc-slider-head label {
  font-size: var(--ntpc-text-sm);
  font-weight: 800;
  color: var(--ntpc-text);
}

.ntpc-slider-hint {
  font-size: var(--ntpc-text-xs);
  color: var(--ntpc-text-faint);
}

.ntpc-value-pill {
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-weight: 800;
  text-align: center;
  padding: var(--ntpc-space-2);
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-lg);
  background: var(--ntpc-surface-offset);
  font-variant-numeric: tabular-nums;
}

.ntpc-range {
  width: 100%;
  accent-color: var(--ntpc-accent);
}

.ntpc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--ntpc-space-3);
  margin-top: var(--ntpc-space-4);
}

.ntpc-metric {
  border: 1px solid var(--ntpc-border);
  background: var(--ntpc-surface-offset);
  border-radius: var(--ntpc-radius-lg);
  padding: var(--ntpc-space-3);
}

.ntpc-metric small {
  display: block;
  color: var(--ntpc-text-faint);
  font-size: var(--ntpc-text-xs);
  margin-bottom: 2px;
}

.ntpc-metric strong {
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-sm);
  font-weight: 800;
  color: var(--ntpc-text);
  font-variant-numeric: tabular-nums;
}

.ntpc-status-card {
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-2xl);
  padding: var(--ntpc-space-5);
  background: var(--ntpc-surface-offset);
  margin-top: var(--ntpc-space-5);
}

.ntpc-status-card.eligible {
  border-color: rgba(74,158,92,.35);
  background: rgba(74,158,92,.12);
}

.ntpc-status-card.review {
  border-color: rgba(212,154,47,.35);
  background: rgba(212,154,47,.12);
}

.ntpc-status-card.blocked {
  border-color: rgba(192,80,64,.35);
  background: rgba(192,80,64,.12);
}

.ntpc-status-top {
  display: flex;
  align-items: flex-start;
  gap: var(--ntpc-space-3);
}

.ntpc-status-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--ntpc-radius-xl);
  display: grid;
  place-items: center;
  background: var(--ntpc-surface);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ntpc-status-card h3 {
  margin: 0 0 var(--ntpc-space-1);
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-base);
  font-weight: 800;
  color: var(--ntpc-text);
}

.ntpc-status-card p {
  margin: 0;
  font-size: var(--ntpc-text-sm);
  color: var(--ntpc-text-muted);
  line-height: 1.65;
}

.ntpc-issue-list {
  margin: var(--ntpc-space-4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ntpc-space-2);
  list-style: none;
}

.ntpc-issue-list li {
  font-size: var(--ntpc-text-sm);
  color: var(--ntpc-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--ntpc-space-2);
}

.ntpc-issue-list li::before {
  content: '•';
  color: var(--ntpc-accent);
  font-weight: 800;
}

.ntpc-field {
  display: flex;
  flex-direction: column;
  gap: var(--ntpc-space-2);
  margin-bottom: var(--ntpc-space-4);
}

.ntpc-field label {
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  color: var(--ntpc-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ntpc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ntpc-input-icon {
  position: absolute;
  left: var(--ntpc-space-4);
  color: var(--ntpc-text-faint);
  pointer-events: none;
  z-index: 1;
}

.ntpc-field input[type="text"] {
  width: 100%;
  padding: var(--ntpc-space-3) var(--ntpc-space-4) var(--ntpc-space-3) var(--ntpc-space-10);
  background: var(--ntpc-surface-offset);
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-lg);
  color: var(--ntpc-text);
  font-size: var(--ntpc-text-sm);
  outline: none;
}

.ntpc-field input[type="text"]:focus {
  border-color: var(--ntpc-accent-border);
  background: var(--ntpc-surface-2);
  box-shadow: 0 0 0 3px var(--ntpc-accent-subtle);
}

.ntpc-autocomplete-wrap { position: relative; }

.ntpc-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--ntpc-surface-2);
  border: 1px solid var(--ntpc-accent-border);
  border-radius: var(--ntpc-radius-lg);
  box-shadow: var(--ntpc-shadow-lg);
  max-height: 230px;
  overflow-y: auto;
}

.ntpc-autocomplete-dropdown.open { display: block; }

.ntpc-ac-item {
  display: flex;
  align-items: flex-start;
  gap: var(--ntpc-space-3);
  padding: var(--ntpc-space-3) var(--ntpc-space-4);
  cursor: pointer;
  font-size: var(--ntpc-text-sm);
  color: var(--ntpc-text-muted);
  border-bottom: 1px solid var(--ntpc-border);
}

.ntpc-ac-item:last-child { border-bottom: 0; }
.ntpc-ac-item:hover { background: var(--ntpc-accent-subtle); color: var(--ntpc-text); }

.ntpc-ac-icon {
  color: var(--ntpc-accent);
  flex-shrink: 0;
}

.ntpc-ac-spinner,
.ntpc-ac-empty {
  text-align: center;
  padding: var(--ntpc-space-4);
  color: var(--ntpc-text-faint);
  font-size: var(--ntpc-text-xs);
}

.ntpc-ac-spinner { display: none; }
.ntpc-ac-spinner.visible { display: block; }

.ntpc-flag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ntpc-space-2);
  margin: var(--ntpc-space-4) 0;
}

.ntpc-flag {
  display: flex;
  align-items: center;
  gap: var(--ntpc-space-2);
  padding: var(--ntpc-space-3);
  border: 1px solid var(--ntpc-border);
  border-radius: var(--ntpc-radius-lg);
  background: var(--ntpc-surface-offset);
  font-size: var(--ntpc-text-xs);
  color: var(--ntpc-text-muted);
  font-weight: 700;
}

.ntpc-flag input { accent-color: var(--ntpc-accent); }

.ntpc-msg {
  display: none;
  padding: var(--ntpc-space-3) var(--ntpc-space-4);
  border-radius: var(--ntpc-radius-lg);
  font-size: var(--ntpc-text-sm);
  font-weight: 700;
  margin-top: var(--ntpc-space-3);
}

.ntpc-msg.error {
  background: rgba(192,80,64,.12);
  color: var(--ntpc-error);
  border: 1px solid rgba(192,80,64,.25);
}

.ntpc-btn-calculate {
  width: 100%;
  margin-top: var(--ntpc-space-5);
  padding: var(--ntpc-space-4);
  background: var(--ntpc-accent);
  color: var(--ntpc-text-inverse);
  border-radius: var(--ntpc-radius-xl);
  border: 0;
  font-weight: 800;
  font-size: var(--ntpc-text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ntpc-space-3);
  box-shadow: 0 4px 20px var(--ntpc-accent-border);
  transition: background .18s cubic-bezier(.16,1,.3,1), transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s cubic-bezier(.16,1,.3,1), opacity .18s cubic-bezier(.16,1,.3,1);
}

.ntpc-btn-calculate:hover {
  background: var(--ntpc-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--ntpc-accent-border);
}

.ntpc-btn-calculate:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.ntpc-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ntpc-text-inverse);
  border-top-color: transparent;
  border-radius: 50%;
  animation: ntpc-spin .7s linear infinite;
}

@keyframes ntpc-spin { to { transform: rotate(360deg); } }
.ntpc-btn-calculate.loading .ntpc-btn-label { display: none; }
.ntpc-btn-calculate.loading .ntpc-spinner { display: block; }

.ntpc-result-idle {
  display: grid;
  place-items: center;
  text-align: center;
  gap: var(--ntpc-space-4);
  min-height: 360px;
  padding: var(--ntpc-space-8) var(--ntpc-space-4);
}

.ntpc-result-idle-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--ntpc-radius-2xl);
  background: var(--ntpc-accent-subtle);
  border: 1px solid var(--ntpc-accent-border);
  display: grid;
  place-items: center;
  color: var(--ntpc-accent);
  margin: 0 auto var(--ntpc-space-4);
  font-size: 1.7rem;
}

.ntpc-result-idle h3 {
  margin: 0 0 var(--ntpc-space-2);
  font-size: var(--ntpc-text-base);
  font-weight: 800;
  color: var(--ntpc-text);
}

.ntpc-result-idle p {
  margin: 0;
  font-size: var(--ntpc-text-sm);
  color: var(--ntpc-text-faint);
  max-width: 34ch;
}

.ntpc-result-active {
  display: none;
  flex-direction: column;
  gap: var(--ntpc-space-5);
  margin-top: var(--ntpc-space-5);
}

.ntpc-route-summary {
  display: grid;
  gap: var(--ntpc-space-3);
  padding-bottom: var(--ntpc-space-5);
  border-bottom: 1px solid var(--ntpc-divider);
}

.ntpc-zone-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--ntpc-space-2);
  background: var(--ntpc-accent-subtle);
  border: 1px solid var(--ntpc-accent-border);
  border-radius: var(--ntpc-radius-full);
  padding: var(--ntpc-space-2) var(--ntpc-space-3);
  font-size: var(--ntpc-text-xs);
  font-weight: 800;
  color: var(--ntpc-accent);
}

.ntpc-route-line {
  display: flex;
  justify-content: space-between;
  gap: var(--ntpc-space-4);
  font-size: var(--ntpc-text-sm);
}

.ntpc-route-line span:first-child { color: var(--ntpc-text-muted); }
.ntpc-route-line strong { font-weight: 800; text-align: right; }

.ntpc-breakdown {
  display: flex;
  flex-direction: column;
}

.ntpc-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ntpc-space-4);
  padding: var(--ntpc-space-3) 0;
  border-bottom: 1px solid var(--ntpc-divider);
  font-size: var(--ntpc-text-sm);
}

.ntpc-breakdown-row:last-child { border-bottom: 0; }

.ntpc-breakdown-label {
  color: var(--ntpc-text-muted);
  display: flex;
  align-items: center;
  gap: var(--ntpc-space-2);
}

.ntpc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ntpc-text-faint);
  flex-shrink: 0;
}

.ntpc-breakdown-val {
  font-weight: 800;
  color: var(--ntpc-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ntpc-breakdown-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ntpc-space-4);
  padding: var(--ntpc-space-5) var(--ntpc-space-6);
  background: var(--ntpc-accent-subtle);
  border: 1px solid var(--ntpc-accent-border);
  border-radius: var(--ntpc-radius-xl);
  margin-top: var(--ntpc-space-2);
}

.ntpc-total-label {
  font-size: var(--ntpc-text-sm);
  font-weight: 800;
  color: var(--ntpc-text);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ntpc-total-label small {
  font-size: var(--ntpc-text-xs);
  font-weight: 400;
  color: var(--ntpc-text-faint);
}

.ntpc-total-amount {
  font-family: var(--font-display, Sora, Inter, system-ui, sans-serif);
  font-size: var(--ntpc-text-xl);
  font-weight: 800;
  color: var(--ntpc-accent);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ntpc-result-note {
  font-size: var(--ntpc-text-xs);
  color: var(--ntpc-text-faint);
  line-height: 1.65;
  padding: var(--ntpc-space-3) var(--ntpc-space-4);
  background: var(--ntpc-surface-offset);
  border-radius: var(--ntpc-radius-lg);
  text-align: center;
  margin: 0;
}

.ntpc-result-cta {
  display: flex;
  gap: var(--ntpc-space-3);
}

.ntpc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ntpc-space-2);
  padding: var(--ntpc-space-3) var(--ntpc-space-6);
  border-radius: var(--ntpc-radius-full);
  font-size: var(--ntpc-text-sm);
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid transparent;
  flex: 1;
  transition: background .18s cubic-bezier(.16,1,.3,1), border-color .18s cubic-bezier(.16,1,.3,1), color .18s cubic-bezier(.16,1,.3,1), transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s cubic-bezier(.16,1,.3,1);
}

.ntpc-btn-primary {
  background: var(--ntpc-accent);
  color: var(--ntpc-text-inverse);
}

.ntpc-btn-primary:hover {
  background: var(--ntpc-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--ntpc-shadow-md);
}

.ntpc-btn-ghost {
  background: transparent;
  color: var(--ntpc-text);
  border-color: var(--ntpc-border);
}

.ntpc-btn-ghost:hover {
  background: var(--ntpc-surface-offset);
  border-color: var(--ntpc-accent-border);
}

@media (max-width: 980px) {
  .ntpc-grid { grid-template-columns: 1fr; }
  .ntpc-panel-sticky { position: static; }
  .ntpc-result-idle { min-height: auto; }
  .ntpc-presets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ntpc-shell {
    padding: var(--ntpc-space-4);
    border-radius: var(--ntpc-radius-xl);
  }
  .ntpc-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .ntpc-panel { padding: var(--ntpc-space-5); }
  .ntpc-slider-group { grid-template-columns: 1fr; }
  .ntpc-metrics { grid-template-columns: 1fr; }
  .ntpc-flag-grid { grid-template-columns: 1fr; }
  .ntpc-result-cta, .ntpc-breakdown-total { flex-direction: column; align-items: stretch; }
  .ntpc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ntpc *, .ntpc *::before, .ntpc *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* v1.3 contrast fixes */
[data-theme="light"] .ntpc{--color-bg:#f5f3ef;--color-surface:#faf9f7;--color-surface-2:#fff;--color-surface-offset:#ebe8e3;--color-border:rgba(0,0,0,.12);--color-text:#1a1916;--color-text-muted:#5f5a52;--color-text-faint:#817b72;--color-text-inverse:#fff;--color-accent:#b96b08;--color-accent-hover:#965506;--color-accent-subtle:rgba(185,107,8,.12);--color-accent-border:rgba(185,107,8,.28)}
.ntpc .btn--primary,.ntpc .btn-calculate{color:var(--color-text-inverse,#fff)!important}.ntpc input::placeholder{color:var(--color-text-faint)}
