.nc-renewal {
  --nc-border: #d8dde6;
  --nc-muted: #5f6875;
  --nc-soft: #f7f9fc;
  --nc-blue-soft: #eef5ff;
  --nc-text: #17202a;
  --nc-accent: #1558d6;
  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-renewal *, .nc-renewal *::before, .nc-renewal *::after { box-sizing: border-box; }
.nc-renewal__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-renewal h2 { margin: 0 0 .7rem; font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.15; }
.nc-renewal__intro > p:last-child { margin: 0 0 1.35rem; color: var(--nc-muted); font-size: 17px; line-height: 1.5; }
.nc-renewal__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.nc-renewal__field label { display: block; margin-bottom: .45rem; font-size: 16px; line-height: 1.35; font-weight: 700; }
.nc-renewal input, .nc-renewal select { width: 100%; min-height: 52px; padding: .72rem .85rem; border: 1px solid #aeb7c4; border-radius: 10px; font: inherit; background: #fff; color: inherit; }
.nc-renewal input:focus, .nc-renewal select:focus { outline: 3px solid rgba(21,88,214,.18); border-color: var(--nc-accent); }
.nc-renewal__help { margin: .45rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.45; }
.nc-renewal__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-renewal__submit:hover { filter: brightness(.94); }
.nc-renewal__submit:disabled { opacity: .65; cursor: wait; }
.nc-renewal__error { margin: .8rem 0 0; padding: .8rem .95rem; border-radius: 9px; background: #fff7e8; color: #7b4208; font-size: 15px; line-height: 1.45; }
.nc-renewal__result { margin-top: 1.5rem; border-top: 1px solid var(--nc-border); padding-top: 1.5rem; }
.nc-renewal__status { padding: 1rem 1.1rem; border: 1px solid #cbd8ef; border-radius: 14px; background: var(--nc-blue-soft); }
.nc-renewal__status[data-status="open"] { border-color: #b9dfcf; background: #edf8f3; }
.nc-renewal__status[data-status="urgent"] { border-color: #ecd79a; background: #fff8df; }
.nc-renewal__status[data-status="late"] { border-color: #efc7a9; background: #fff3e9; }
.nc-renewal__status[data-status="closed"] { border-color: #e5b8b8; background: #fff0f0; }
.nc-renewal__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-renewal__status[data-status="open"] .nc-renewal__status-label { color: #146c4b; }
.nc-renewal__status[data-status="urgent"] .nc-renewal__status-label { color: #80620a; }
.nc-renewal__status[data-status="late"] .nc-renewal__status-label { color: #9a4b0d; }
.nc-renewal__status[data-status="closed"] .nc-renewal__status-label { color: #9c2f2f; }
.nc-renewal__status strong { display: block; font-size: clamp(1.15rem, 4vw, 1.45rem); line-height: 1.25; }
.nc-renewal__status p { margin: .45rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; }
.nc-renewal__timeline { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: 1rem; }
.nc-renewal__date-card { padding: 1rem; border-radius: 14px; background: var(--nc-soft); }
.nc-renewal__date-card span { display: block; color: var(--nc-muted); font-size: 15px; line-height: 1.4; }
.nc-renewal__date-card strong { display: block; margin-top: .25rem; font-size: clamp(1.15rem, 4vw, 1.45rem); line-height: 1.2; }
.nc-renewal__action { margin-top: 1rem; padding: 1rem 1.05rem; border: 1px solid #cbd8ef; border-radius: 14px; background: #f5f8ff; }
.nc-renewal__action > span { display: block; color: var(--nc-accent); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.nc-renewal__action strong { display: block; margin-top: .3rem; font-size: 18px; line-height: 1.3; }
.nc-renewal__action p { margin: .35rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.45; }
.nc-renewal__summary { margin-top: 1.2rem; }
.nc-renewal__summary dl { margin: 0; }
.nc-renewal__summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #edf0f4; }
.nc-renewal__summary dt { color: var(--nc-muted); font-size: 15px; line-height: 1.4; }
.nc-renewal__summary dd { margin: 0; max-width: 62%; font-size: 15px; line-height: 1.45; font-weight: 700; text-align: right; }
.nc-renewal__basis { margin-top: 1.2rem; padding: .9rem 1rem; border: 1px solid var(--nc-border); border-radius: 12px; }
.nc-renewal__basis summary { cursor: pointer; font-size: 16px; line-height: 1.4; font-weight: 700; }
.nc-renewal__rules { margin: .9rem 0 0 1.2rem; padding: 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.nc-renewal__rules li { margin-bottom: .35rem; overflow-wrap: anywhere; word-break: break-word; }
.nc-renewal__effective, .nc-renewal__notice { margin: .8rem 0 0; color: var(--nc-muted); font-size: 15px; line-height: 1.5; }
@media (min-width: 680px) {
  .nc-renewal__grid { grid-template-columns: 1fr 1fr; }
  .nc-renewal__field--wide { grid-column: 1 / -1; }
  .nc-renewal__timeline { grid-template-columns: repeat(3, 1fr); }
  .nc-renewal__submit { width: auto; min-width: 240px; }
}
@media (max-width: 679px) {
  body.newcomer-renewal-window-calculator-page h1 { font-size: clamp(2rem, 9vw, 2.55rem) !important; line-height: 1.08 !important; letter-spacing: -.025em; }
  .nc-renewal { margin: 1rem auto; padding: 1rem; border-radius: 14px; }
  .nc-renewal h2 { font-size: 1.45rem; }
  .nc-renewal__intro > p:last-child { margin-bottom: 1rem; }
  .nc-renewal__help, .nc-renewal__rules, .nc-renewal__effective, .nc-renewal__notice { font-size: .92rem; line-height: 1.5; }
  .nc-renewal__summary dl > div { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .nc-renewal__summary dd { max-width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .nc-renewal * { scroll-behavior: auto !important; } }

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