.zsa-ns {--zsa-max-width:1280px;font-size:16px;background:#f5f7fb;}
.zsa-ns h2 {font-size:24px;line-height:1.25;margin:0 0 12px;letter-spacing:-.4px;}
.zsa-ns h3 {font-size:18px;margin:16px 0 8px;}
.zsa-ns p {margin:10px 0;}
.zsa-ns .zsa-eyebrow {color:#3b4f7a;font-size:11px;letter-spacing:1.8px;font-weight:700;margin:0;}
.zsa-ns-layout {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start;margin-top:20px;}
.zsa-ns-card {min-width:0;background:white;border:1px solid #d3dbe8;border-radius:16px;padding:22px;margin:0 0 20px;box-shadow:0 4px 18px #1e2d4a08;}
.zsa-ns-card-head h2 {font-size:26px;margin-top:4px;}
.zsa-ns-tasks {border-top:4px solid #3b4f7a;}
.zsa-ns svg {display:block;width:100%;height:auto;}
.zsa-ns svg text {font-family:var(--zsa-font);fill:#1e2d4a;}
.zsa-ns-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.zsa-ns-stage {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center;}
.zsa-ns-nucleus {max-width:300px;width:100%;justify-self:center;}
.zsa-ns-proton {fill:#c8423b;stroke:#8e2620;stroke-width:1.5;}
.zsa-ns-neutron {fill:#9aa4b4;stroke:#5c6678;stroke-width:1.5;}
.zsa-ns svg text.zsa-ns-plus {fill:#ffffff;font-size:17px;font-weight:700;}
.zsa-ns svg text.zsa-ns-empty {fill:#5c6678;font-size:18px;}
.zsa-ns-id {text-align:center;min-width:0;}
.zsa-ns-nuclide {display:inline-grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:4px;align-items:center;margin:0;font-variant-numeric:tabular-nums;color:#1e2d4a;}
.zsa-ns-mass {grid-column:1;grid-row:1;justify-self:end;font-size:26px;font-weight:650;line-height:1;}
.zsa-ns-atomic {grid-column:1;grid-row:2;justify-self:end;font-size:26px;font-weight:650;line-height:1;}
.zsa-ns-symbol {grid-column:2;grid-row:1 / 3;font-size:72px;font-weight:700;line-height:1;}
.zsa-ns-name {font-size:20px;font-weight:650;color:#1e2d4a;overflow-wrap:anywhere;}
.zsa-ns-badge {display:inline-block;margin:4px 0 0;padding:6px 14px;border-radius:999px;border:2px solid;font-weight:700;font-size:15px;}
.zsa-ns-badge--stable {background:#e3f5e6;border-color:#2f8f4a;color:#1f6a37;}
.zsa-ns-badge--stable::before {content:"✓ ";}
.zsa-ns-badge--radioactive {background:#fff1db;border-color:#b86a00;color:#7a4300;}
.zsa-ns-badge--radioactive::before {content:"⚠ ";}
.zsa-ns-badge--none {background:#eef1f6;border-color:#7a879c;color:#3a4558;}
.zsa-ns-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 10px;}
.zsa-ns-counter {min-width:0;}
.zsa-ns-counter label {display:flex;align-items:center;gap:8px;font-weight:650;color:#1e2d4a;margin-bottom:6px;}
.zsa-ns-key {display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:14px;font-weight:700;}
.zsa-ns-key--p {background:#c8423b;color:#ffffff;}
.zsa-ns-key--n {background:#9aa4b4;}
.zsa-ns-stepper {display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:6px;}
.zsa-ns-stepper .zsa-btn {min-width:44px;min-height:44px;padding:0;font-size:22px;}
.zsa-ns-stepper input {min-width:0;width:100%;min-height:44px;border:1px solid #7d8aa3;border-radius:8px;padding:6px;text-align:center;font:inherit;font-size:20px;font-weight:650;color:#1e2d4a;background:white;}
.zsa-ns button:disabled {opacity:.5;}
.zsa-ns-readouts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0;}
.zsa-ns-readouts div {padding:8px 12px;border:1px solid #d3dbe8;border-radius:10px;background:#fafbfd;}
.zsa-ns-readouts dt {font-size:13px;color:#4a5874;}
.zsa-ns-readouts dd {margin:2px 0 0;font-size:22px;font-weight:650;color:#1e2d4a;font-variant-numeric:tabular-nums;}
.zsa-ns-message {border-left:3px solid #3b4f7a;padding-left:12px;font-size:15px;min-height:3em;}
.zsa-ns-bench-foot {display:flex;justify-content:flex-end;}
.zsa-ns .zsa-ns-reset {min-height:44px;min-width:44px;padding:0 6px;border:0;background:none;color:#3b4f7a;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;}
.zsa-ns-chart {max-width:520px;}
.zsa-ns-chart-note {font-size:14px;color:#4a5874;}
.zsa-ns svg text.zsa-ns-tick {font-size:12px;fill:#4a5874;}
.zsa-ns svg text.zsa-ns-axis {font-size:13px;font-weight:600;}
.zsa-ns-dot {fill:#1e2d4a;}
.zsa-ns-you {fill:none;stroke-width:3.5;}
.zsa-ns-you--stable {stroke:#2f8f4a;}
.zsa-ns-you--radioactive {stroke:#c25e00;stroke-dasharray:4 3;}
.zsa-ns-you--none {stroke:#7a879c;}
.zsa-ns .zsa-ns-progress-label {display:block;font-size:12px;color:#4a5874;margin:8px 0 4px;}
.zsa-ns progress {display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#e3e8f1;accent-color:#3b4f7a;}
.zsa-ns progress::-webkit-progress-bar {background:#e3e8f1;}
.zsa-ns progress::-webkit-progress-value {background:#3b4f7a;}
.zsa-ns progress::-moz-progress-bar {background:#3b4f7a;}
.zsa-ns-prompt {font-size:18px;font-weight:600;color:#1e2d4a;margin-top:16px;}
.zsa-ns-actions {display:flex;flex-wrap:wrap;gap:10px;margin:12px 0;}
.zsa-ns-feedback {font-size:15px;}
.zsa-ns-feedback:empty, .zsa-ns-hint:empty {display:none;}
.zsa-ns-feedback.is-wrong {padding:10px 12px;border-radius:10px;background:#fde8e6;border:2px solid #c0392b;color:#7d2219;}
.zsa-ns-hint {font-size:15px;color:#3a4558;border-left:3px solid #7a879c;padding-left:12px;}
.zsa-ns-trail {list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px;}
.zsa-ns-trail-item {display:flex;gap:10px;padding:10px 12px;border:1px solid #cfe3d4;border-radius:10px;background:#f4faf5;}
.zsa-ns-mark {font-weight:700;color:#1f6a37;}
.zsa-ns-trail-prompt {font-weight:600;margin:0 0 4px;}
.zsa-ns-trail-done {margin:0;font-size:14px;}
.zsa-ns-summary {padding:16px;border:2px solid #3b4f7a;border-radius:12px;background:#f2f5fb;margin-top:14px;}
.zsa-ns-summary h3 {margin-top:0;}
.zsa-ns-summary ul {padding-left:20px;}
.zsa-ns-score {font-weight:650;}
.zsa-ns summary {cursor:pointer;min-height:44px;padding:12px 0;font-weight:600;color:var(--zsa-navy);}
.zsa-ns-model {margin:0 0 20px;max-width:900px;}
.zsa-ns .zsa-th-share-panel {border:1px solid var(--zsa-border);padding:18px;border-radius:12px;background:white;margin-top:12px;}
.zsa-ns .zsa-th-share-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.zsa-ns .zsa-th-share-link {display:flex;flex-wrap:wrap;gap:8px;}
.zsa-ns .zsa-th-share-link input {flex:1 1 200px;min-width:0;min-height:44px;border:1px solid #7d8aa3;border-radius:8px;padding:9px;font:inherit;font-size:15px;}
.zsa-ns .zsa-th-icon-button {border:1px solid var(--zsa-border-strong);border-radius:8px;min-width:44px;min-height:44px;background:white;color:var(--zsa-navy);}
.zsa-ns .zsa-th-share-options {display:flex;gap:12px;align-items:center;margin-top:12px;}
.zsa-ns .zsa-th-share-options a {display:inline-flex;align-items:center;min-height:44px;}
@media (prefers-reduced-motion: no-preference) {
  .zsa-ns-particles circle {animation:zsa-ns-pop .2s ease-out;}
  .zsa-ns-summary {animation:zsa-ns-fade .25s ease-out;}
}
@keyframes zsa-ns-pop {from {opacity:.4;} to {opacity:1;}}
@keyframes zsa-ns-fade {from {transform:scale(.97);} to {transform:none;}}
@media (max-width:900px) {
  .zsa-ns-layout {grid-template-columns:1fr;}
}
@media (max-width:560px) {
  .zsa-ns-stage {grid-template-columns:1fr;}
  .zsa-ns-nucleus {max-width:220px;}
  .zsa-ns-controls {grid-template-columns:1fr;}
  .zsa-ns-card {padding:16px;}
  .zsa-ns h2 {font-size:21px;}
}
@media (max-width:360px) {
  .zsa-ns-readouts {grid-template-columns:1fr;}
}
