.nc-dnv-calculator {
  --nc-border: #d8dde6;
  --nc-muted: #5f6875;
  --nc-soft: #f7f9fc;
  --nc-soft-blue: #eef5ff;
  --nc-text: #17202a;
  --nc-accent: #1558d6;
  --nc-pass: #146c4b;
  --nc-pass-bg: #edf8f3;
  --nc-below: #8a4b08;
  --nc-below-bg: #fff7e8;
  max-width: 860px;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--nc-border);
  border-radius: 18px;
  background: #fff;
  color: var(--nc-text);
  box-sizing: border-box;
}
.nc-dnv-calculator *, .nc-dnv-calculator *::before, .nc-dnv-calculator *::after { box-sizing: border-box; }
.nc-dnv-calculator__eyebrow { margin: 0 0 .45rem; font-size: 18px !important; line-height: 1.35; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; color: var(--nc-accent); }
.nc-dnv-calculator h2 { margin: 0 0 .7rem; font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.15; }
.nc-dnv-calculator__intro > p:last-child { margin: 0 0 1.35rem; color: var(--nc-muted); font-size: 17px; line-height: 1.5; }
.nc-dnv-calculator__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.nc-dnv-calculator__field label { display: block; margin-bottom: .45rem; font-size: 16px; line-height: 1.35; font-weight: 700; }
.nc-dnv-calculator input, .nc-dnv-calculator select { width: 100%; min-height: 50px; padding: .72rem .85rem; border: 1px solid #aeb7c4; border-radius: 10px; font: inherit; background: #fff; color: inherit; }
.nc-dnv-calculator input:focus, .nc-dnv-calculator select:focus { outline: 3px solid rgba(21,88,214,.18); border-color: var(--nc-accent); }
.nc-dnv-calculator__money-input { position: relative; }
.nc-dnv-calculator__money-input > span { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--nc-muted); pointer-events: none; }
.nc-dnv-calculator__money-input input { padding-left: 2rem; }
.nc-dnv-calculator__help { margin: .45rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.45; }
.nc-dnv-calculator__submit { width: 100%; min-height: 50px; margin-top: 1rem; padding: .78rem 1rem; border: 0; border-radius: 10px; background: var(--nc-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.nc-dnv-calculator__submit:hover { filter: brightness(.94); }
.nc-dnv-calculator__submit:disabled { opacity: .65; cursor: wait; }
.nc-dnv-calculator__error { margin: .8rem 0 0; padding: .8rem .95rem; border-radius: 9px; background: #fff7e8; color: #7b4208; font-size: 15px; line-height: 1.45; }
.nc-dnv-calculator__result { margin-top: 1.5rem; border-top: 1px solid var(--nc-border); padding-top: 1.5rem; }
.nc-dnv-calculator__status { padding: 1rem 1.1rem; border: 1px solid var(--nc-border); border-radius: 14px; background: var(--nc-soft-blue); }
.nc-dnv-calculator__status[data-status="pass"] { border-color: #b9dfcf; background: var(--nc-pass-bg); }
.nc-dnv-calculator__status[data-status="below"] { border-color: #efd6aa; background: var(--nc-below-bg); }
.nc-dnv-calculator__status-label { display: block; margin-bottom: .3rem; font-size: 14px; line-height: 1.35; font-weight: 900; letter-spacing: .04em; color: var(--nc-accent); }
.nc-dnv-calculator__status[data-status="pass"] .nc-dnv-calculator__status-label { color: var(--nc-pass); }
.nc-dnv-calculator__status[data-status="below"] .nc-dnv-calculator__status-label { color: var(--nc-below); }
.nc-dnv-calculator__status strong { display: block; font-size: clamp(1.15rem, 4vw, 1.45rem); line-height: 1.25; }
.nc-dnv-calculator__status p { margin: .45rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; }
.nc-dnv-calculator__totals { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: 1rem; }
.nc-dnv-calculator__total-card { padding: 1rem; border-radius: 14px; background: var(--nc-soft); }
.nc-dnv-calculator__total-card span { display: block; color: var(--nc-muted); font-size: 15px; line-height: 1.4; }
.nc-dnv-calculator__total-card strong { display: block; margin-top: .25rem; font-size: clamp(1.55rem, 6vw, 2.05rem); line-height: 1.12; }
.nc-dnv-calculator__total-card small { display: block; margin-top: .25rem; color: var(--nc-muted); font-size: 13px; }
.nc-dnv-calculator__declared-input { margin: .85rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.45; }
.nc-dnv-calculator__declared-input strong { color: var(--nc-text); }
.nc-dnv-calculator__difference { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding: .85rem 1rem; border: 1px solid var(--nc-border); border-radius: 12px; }
.nc-dnv-calculator__difference span { color: var(--nc-muted); font-size: 15px; line-height: 1.4; }
.nc-dnv-calculator__difference strong { font-size: 18px; line-height: 1.3; text-align: right; }
.nc-dnv-calculator__breakdown { margin-top: 1.35rem; }
.nc-dnv-calculator__breakdown h3 { margin: 0 0 .65rem; font-size: 18px; }
.nc-dnv-calculator__breakdown dl { margin: 0; }
.nc-dnv-calculator__breakdown dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #edf0f4; }
.nc-dnv-calculator__breakdown dt { color: var(--nc-muted); font-size: 15px; line-height: 1.4; }
.nc-dnv-calculator__breakdown dd { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; text-align: right; }
.nc-dnv-calculator__basis { margin-top: 1.2rem; padding: .9rem 1rem; border: 1px solid var(--nc-border); border-radius: 12px; }
.nc-dnv-calculator__basis summary { cursor: pointer; font-size: 16px; line-height: 1.4; font-weight: 700; }
.nc-dnv-calculator__basis-grid { display: grid; gap: .6rem; margin-top: .8rem; }
.nc-dnv-calculator__basis-grid p { margin: 0; padding: .7rem; background: var(--nc-soft); border-radius: 8px; }
.nc-dnv-calculator__basis-grid span, .nc-dnv-calculator__basis-grid strong { display: block; }
.nc-dnv-calculator__basis-grid span { color: var(--nc-muted); font-size: 14px; line-height: 1.4; }
.nc-dnv-calculator__rules { margin: .9rem 0 0 1.2rem; padding: 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.nc-dnv-calculator__rules li { margin-bottom: .35rem; overflow-wrap: anywhere; word-break: break-word; }
.nc-dnv-calculator__effective, .nc-dnv-calculator__notice { margin: .8rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; }
@media (min-width: 680px) {
  .nc-dnv-calculator__grid { grid-template-columns: 1fr 1fr; }
  .nc-dnv-calculator__field--wide { grid-column: 1 / -1; }
  .nc-dnv-calculator__totals { grid-template-columns: repeat(3, 1fr); }
  .nc-dnv-calculator__basis-grid { grid-template-columns: repeat(2, 1fr); }
  .nc-dnv-calculator__submit { width: auto; min-width: 240px; }
}
@media (max-width: 679px) {
  body.newcomer-calculator-page h1 { font-size: clamp(2rem, 9vw, 2.55rem) !important; line-height: 1.08 !important; letter-spacing: -.025em; }
  .nc-dnv-calculator { margin: 1rem auto; padding: 1rem; border-radius: 14px; }
  .nc-dnv-calculator h2 { font-size: 1.45rem; }
  .nc-dnv-calculator__intro > p:last-child { margin-bottom: 1rem; }
  .nc-dnv-calculator__help, .nc-dnv-calculator__rules, .nc-dnv-calculator__effective, .nc-dnv-calculator__notice { font-size: .92rem; line-height: 1.5; }
  .nc-dnv-calculator__difference, .nc-dnv-calculator__breakdown dl > div { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .nc-dnv-calculator__breakdown dd, .nc-dnv-calculator__difference strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .nc-dnv-calculator * { scroll-behavior: auto !important; } }

/* 0.13.3: keep technical Rule/source provenance out of the public UI. */
.nc-dnv-calculator__basis { display: none !important; }
