/* Scoped to Vatsalyam Newborn Care Journal; uses installed local Bootstrap. */
.nb-shell{background:linear-gradient(#fff9f7,#fafafa);color:#463b44;min-height:80vh;--nb-rose:#ae6482;--nb-green:#73a28b}
.nb-shell *{box-sizing:border-box}
.nb-back{color:#98546f;font-weight:750;text-decoration:none}
.nb-hero{padding:clamp(1.4rem,4vw,2.7rem);border:1px solid #eed5df;border-radius:24px;background:linear-gradient(120deg,#fbe5ed 0%,#fff4ed 58%,#e4f1ea 100%);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.nb-eyebrow{font-size:.74rem;font-weight:800;color:#9c5776;letter-spacing:.13em}
.nb-hero h1{font-size:clamp(1.8rem,4.8vw,2.75rem);font-weight:820;line-height:1.12;margin:.55rem 0}
.nb-hero p{max-width:720px;margin:0;color:#675966;font-size:1.03rem}
.nb-hero-icon{font-size:5rem;line-height:1;color:#9d6c83}
.nb-notice{background:#f4f8f5;border:1px solid #d4e8db;padding:1rem 1.2rem;border-radius:15px;color:#446451}
.nb-danger,.nb-alert{background:#fff0ed;border:1px solid #e8bbb0;border-left:5px solid #b6484d;border-radius:13px;padding:1rem 1.2rem;color:#682d31;line-height:1.5}
.nb-danger strong{display:block;margin-bottom:.35rem}
.nb-guest{background:#fff;border:1px solid #e8d4dc;border-radius:15px;padding:1rem 1.1rem}
.nb-guest p{margin:0 0 .75rem}
.nb-button{border:1px solid #975573;border-radius:11px;background:#975573;color:#fff;padding:.65rem 1.1rem;font-weight:750}
.nb-button:hover,.nb-button:focus{background:#713d57;border-color:#713d57;color:#fff}
.nb-panel{background:#fff;border:1px solid #eadde4;border-radius:20px;padding:clamp(1rem,2.4vw,1.65rem);box-shadow:0 8px 25px #6643500d}
.nb-panel h2{font-size:1.2rem;font-weight:800;color:#503b4b;margin:0 0 1rem}
.nb-panel h3{font-size:1rem;font-weight:750;margin:1rem 0 .7rem}
.nb-panel p,.nb-panel li{line-height:1.6}
.nb-panel .form-label{font-size:.9rem;font-weight:700;color:#62515a}
.nb-panel .form-control,.nb-panel .form-select{border-color:#dcd0d5;border-radius:10px;min-height:44px}
.nb-panel .form-control:focus,.nb-panel .form-select:focus{border-color:#ab7188;box-shadow:0 0 0 .2rem #b46f891f}
.nb-summary-toggle{cursor:pointer;color:#844d65;font-weight:750;padding:.6rem 0}
.nb-summary-toggle:focus-visible,.nb-back:focus-visible,.nb-sources a:focus-visible{outline:3px solid #a46681;outline-offset:3px}
.nb-consent{display:flex;gap:.65rem;align-items:flex-start;cursor:pointer;background:#fff6f9;border-radius:11px;border:1px solid #eedce3;padding:.75rem}
.nb-consent input{min-width:18px;min-height:18px;accent-color:#975573;margin-top:.2rem}
.nb-chip{display:inline-flex;background:#eff6f1;padding:.35rem .8rem;border-radius:50px;color:#52775f;font-weight:700;font-size:.85rem}
.nb-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.nb-stat{border:1px solid #e1e9e2;background:#f5faf6;padding:1.05rem;border-radius:15px;min-width:0;display:flex;flex-direction:column;gap:.5rem}
.nb-stat:nth-child(even){background:#fff3f7;border-color:#f1dfe6}
.nb-stat small{font-weight:650;color:#6b5b65;font-size:.85rem}
.nb-stat strong{font-weight:850;color:#784b64;font-size:clamp(1.15rem,2.4vw,1.75rem);overflow-wrap:anywhere}
.nb-muted{color:#766b74}
.nb-table{font-size:.88rem;min-width:560px}
.nb-table th{color:#735164;white-space:nowrap}
.nb-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:340px}
.nb-education ul{padding-left:1.25rem;margin-bottom:0}
.nb-education li{margin-bottom:.8rem}
.nb-redline{background:#fff1ed;border-left:4px solid #ad4e56;padding:.85rem;border-radius:8px}
.nb-sources a{display:block;color:#8e506d;margin-bottom:.65rem;overflow-wrap:anywhere}
.nb-follow{padding-left:1.1rem}
.nb-delete{background:#fffafc}
@media(max-width:767px){.nb-hero-icon{display:none}.nb-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.nb-stat{padding:.75rem}}
@media(max-width:380px){.nb-hero{padding:1rem}.nb-stats{gap:.5rem}.nb-stat small{font-size:.74rem}}
@media print{.site-header,.announcement,footer,.nb-back,.nb-guest,.nb-delete,form,.nb-summary-toggle,button,.nb-sources a{display:none!important}.nb-shell{background:#fff}.nb-panel{box-shadow:none;break-inside:avoid}.nb-danger{border-color:#999}.nb-table{min-width:0}}
