.port-scope{padding:1rem;border-inline-start:4px solid #aa8837;background:#eef3ef}.port-item{min-width:0;margin-block:1rem;border:1px solid #bacdc0;padding:1rem;border-radius:.4rem}.port-item legend{font-size:1.1rem;font-weight:650;padding-inline:.4rem;max-width:100%;overflow-wrap:anywhere}.port-item p,.port-page .response-guides>p{font-size:1rem;line-height:1.8}.port-page .response-work>label{margin-block:1rem}.port-page .response-guides nav{display:grid;gap:.75rem;border-bottom:2px solid #aa8837;padding-bottom:1.5rem}.port-page .response-guides nav a{padding:.7rem;background:#eef3ef;border-radius:.3rem;font-size:1rem}.port-page .response-guides h2{margin-top:1.5rem}.port-page .response-fields{grid-template-columns:1fr}.port-page #port-items section{scroll-margin-top:2rem}.port-page #port-summary{font-weight:650;line-height:1.8;border-top:2px solid #aa8837;padding-top:1rem}.port-page #port-review{margin-top:2.5rem}.port-page #port-review-text{white-space:pre-wrap;overflow-wrap:anywhere;font:1rem/1.8 sans-serif;background:#eef3ef;padding:1.5rem}@media print{.port-page #port-review-text{background:white;padding:0;font:11pt/1.5 sans-serif}.port-scope{background:white;font-size:10pt!important}.port-page #port-review{margin:0}}

.port-jump nav{display:flex;gap:.75rem;flex-wrap:wrap;margin:1.5rem 0}.port-jump a{padding:.75rem;background:#eef3ef;border:1px solid #bacdc0;border-radius:.3rem;font-size:1rem}@media(max-width:850px){.port-jump a{flex:1 1 40%;font-size:.95rem}}@media print{.port-jump{display:none}}

.port-cases{margin-block:3rem;scroll-margin-top:2rem}.port-cases>p{max-width:70rem;font-size:1rem;line-height:1.8}.port-cases>label{max-width:25rem}.port-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.port-case{padding:1.5rem;border:1px solid #b8cabb;border-top:3px solid #aa8837;border-radius:.4rem;min-width:0}.port-case[hidden]{display:none}.port-case h3{font-size:1.25rem;line-height:1.5}.port-case p{font-size:1rem;line-height:1.8}.port-case h4{font-size:1.05rem;margin-bottom:.25rem}.port-case summary{cursor:pointer;padding:.8rem;border:1px solid #385d4c;background:#edf3ef;border-radius:.3rem;font-size:1rem}.port-case>a{display:inline-block;margin-top:1rem}.case-question{font-weight:600}.case-source{color:#4a6053}.port-jump>a{display:inline-block}@media(max-width:850px){.port-case-grid{grid-template-columns:1fr}.port-case{padding:1rem}}@media print{.port-cases{display:none}}
.case-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:1rem;align-items:end;margin-block:1.5rem}.case-controls label{font-size:1rem}.case-controls input,.case-controls select{min-height:48px}#case-empty{padding:1rem;border-inline-start:4px solid #aa8837;background:#eef3ef}@media(max-width:850px){.case-controls{grid-template-columns:1fr}}

.shelf-tool{margin-block:3rem;padding:clamp(1rem,3vw,2rem);border:1px solid #b8cabb;border-top:4px solid #aa8837;border-radius:.5rem;scroll-margin-top:2rem;background:#f8faf8}.shelf-tool>p{max-width:70rem;line-height:1.9}.shelf-scope{padding:1rem;border-inline-start:4px solid #aa8837;background:#eef3ef}.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-block:1.5rem}.shelf-grid label{display:grid;gap:.45rem;align-content:start;font-size:1rem;font-weight:650}.shelf-grid input,.shelf-grid select{width:100%;box-sizing:border-box;min-height:48px;padding:.7rem;border:1px solid #829b8b;border-radius:.3rem;background:#fff;color:#173b2d;font:inherit}.shelf-grid input[type=date]{direction:ltr}.shelf-source{grid-column:span 2}.shelf-grid small{font-weight:400;line-height:1.6}.shelf-error{color:#8b261f;font-weight:650}.shelf-error:empty{display:none}.shelf-output{display:grid;grid-template-columns:1fr 1fr;gap:1rem;background:#e5eee7;padding:1.25rem;margin-top:1.5rem}.shelf-output p{margin:0;line-height:1.8}.shelf-output strong{display:block;font-size:1.7rem;color:#173b2d}.shelf-output #shelf-outcome,.shelf-output #shelf-required-date{grid-column:1/-1}.shelf-method{font-size:.93rem}.shelf-tool button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:850px){.shelf-grid{grid-template-columns:1fr 1fr}.shelf-source{grid-column:1/-1}}@media(max-width:560px){.shelf-grid,.shelf-output{grid-template-columns:1fr}.shelf-source,.shelf-output #shelf-outcome,.shelf-output #shelf-required-date{grid-column:auto}.shelf-tool .response-actions button{width:100%}}@media print{.shelf-tool{break-inside:avoid;background:white}.shelf-tool form,.shelf-method{display:none}.shelf-output{background:white;padding:0}}
