/* Local companion to the original SMI guide; zero dependencies or network. */
.pbsmi-page{color:#193d43;max-width:60rem;margin:0 auto}
.pbsmi-page [hidden]{display:none!important}
html:root body main .pbsmi-page :is(p,li,dd){text-align:start!important;text-align-last:auto;hyphens:manual}
html:root body main .pbsmi-page a:not(.button){color:#215c59;text-decoration:underline;text-underline-offset:.18em}
.pbsmi-page :is(.pbsmi-panel,.pbsmi-result,.pbsmi-section){border:1px solid #cbd9d3;border-radius:16px;background:#fffdf9;padding:clamp(.85rem,2.4vw,1.6rem);box-sizing:border-box;margin-bottom:1.15rem;min-width:0}
.pbsmi-page h2{margin-top:0}
.pbsmi-page .pbsmi-scope{display:grid;grid-template-columns:1.2rem minmax(0,1fr);gap:.65rem;align-items:start;padding:.8rem;border:1px solid #cbd9d3;background:#eff4f1;border-radius:12px;color:#193d43;font-weight:650;line-height:1.5;margin:1rem 0 .45rem}
.pbsmi-page .pbsmi-scope input{width:1.1rem;height:1.1rem;margin:.23rem 0 0;accent-color:#1b585a}
.pbsmi-page .pbsmi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.pbsmi-page .pbsmi-wide{grid-column:1/-1}
.pbsmi-page .pbsmi-field{display:grid;align-content:start;gap:.45rem;min-width:0}
.pbsmi-page .pbsmi-field label{font-weight:700;color:#193d43;line-height:1.45}
.pbsmi-page :is(input:not([type=checkbox]),select){width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:48px;color:#193d43;background:#fff;border:1px solid #9aaca4;border-radius:9px;padding:.65rem .8rem;font:inherit}
.pbsmi-page :is(input,select,button,a):focus-visible{outline:2px solid #1f6b67;outline-offset:3px}
.pbsmi-page .pbsmi-hint{margin:0;color:#415a5f;font-size:.88rem;line-height:1.55}
.pbsmi-page .pbsmi-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.1rem 0 .65rem}
html:root body main .pbsmi-page .pbsmi-actions>*{min-width:0;justify-content:center;text-align:center!important;white-space:normal}
.pbsmi-page button{cursor:pointer;min-height:44px;font:inherit;font-weight:700;white-space:normal}
.pbsmi-page [data-smi-example]{border:1px solid #aebeb5;background:#f4f4ec;border-radius:9px;padding:.55rem .85rem;color:#193d43}
.pbsmi-page [data-smi-status]{font-size:.92rem;color:#315d57;line-height:1.55;min-height:1.4em}
.pbsmi-page [data-smi-status][data-invalid=true]{color:#8f321b;font-weight:650}
.pbsmi-page .pbsmi-result{background:#f6faf8;border-color:#a9c2b9;scroll-margin-top:210px}
.pbsmi-page .pbsmi-total{border-radius:12px;background:#113d40;color:#fff;padding:1rem;display:grid;gap:.5rem;margin-bottom:1rem}
.pbsmi-page .pbsmi-total strong,.pbsmi-page .pbsmi-total span{color:inherit;line-height:1.4;text-align:start;overflow-wrap:anywhere}
.pbsmi-page .pbsmi-total strong{font-size:clamp(1.75rem,4vw,2.6rem);font-variant-numeric:tabular-nums}
.pbsmi-page .pbsmi-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:0}
.pbsmi-page .pbsmi-detail>div{border:1px solid #ccd9d3;border-radius:11px;background:#fffdf9;padding:.8rem;min-width:0;display:grid;align-content:start;gap:.4rem}
.pbsmi-page .pbsmi-detail>div:last-child:nth-child(odd){grid-column:1/-1}
.pbsmi-page .pbsmi-detail dt{color:#31535a;font-size:.92rem;line-height:1.4;font-weight:650}.pbsmi-page .pbsmi-detail dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.45}
.pbsmi-page .pbsmi-note{background:#f8f0e2;border:1px solid #dcceb7;border-radius:12px;color:#4f4839;padding:.8rem 1rem;margin-top:1rem;line-height:1.55}.pbsmi-page .pbsmi-note p{margin:0;color:inherit}
@media(min-width:861px){.pbsmi-page .pbsmi-field:not(.pbsmi-wide)>label{min-height:2.9em}.pbsmi-page .pbsmi-detail:has(>div:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.pbsmi-page .pbsmi-detail:has(>div:nth-child(3):last-child)>div:last-child{grid-column:auto}}
@media(max-width:960px){.pbsmi-page .pbsmi-result{scroll-margin-top:145px}}
@media(max-width:860px){.pbsmi-page .pbsmi-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.pbsmi-page .pbsmi-detail,.pbsmi-page .pbsmi-actions{grid-template-columns:minmax(0,1fr)}.pbsmi-page label{white-space:normal}}
