.shelf-box{background:#fff;border:1px solid #c9d3e0;border-radius:10px;margin:14px 0;padding:14px 16px}.shelf-box h2{margin:0 0 6px;font-size:1.15rem}.shelf-bar{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.shelf-btn{font:inherit;color:#fff;cursor:pointer;background:#1d4ed8;border:1px solid #1d4ed8;border-radius:8px;padding:8px 14px;text-decoration:none;display:inline-block}.shelf-btn--alt{color:#1d4ed8;background:#fff}.shelf-btn:focus-visible,.shelf-text:focus-visible,.shelf-field:focus-visible{outline-offset:2px;outline:3px solid #f59e0b}.shelf-text{box-sizing:border-box;border:1px solid #94a3b8;border-radius:8px;width:100%;min-height:260px;padding:10px;font:.95rem/1.5 ui-monospace,Menlo,monospace}.shelf-pre{white-space:pre-wrap;margin:8px 0;font:.95rem/1.55 system-ui,sans-serif}.shelf-say{margin:6px 0;font-weight:600}.shelf-err{color:#b91c1c;margin:6px 0}.shelf-err li{margin:2px 0}.shelf-codes{flex-wrap:wrap;gap:6px;margin:8px 0;padding:0;list-style:none;display:flex}.shelf-codes li{background:#eef2ff;border-radius:999px;padding:2px 10px;font-size:.9rem}.shelf-field{width:100%;max-width:520px;font:inherit;box-sizing:border-box;border:1px solid #94a3b8;border-radius:8px;margin:4px 0 10px;padding:8px;display:block}.shelf-label{margin-top:8px;font-weight:600;display:block}.shelf-quiet{color:#475569;font-size:.95rem}.shelf-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;padding:0;list-style:none;display:grid}.shelf-cards a{background:#fff;border:1px solid #c9d3e0;border-radius:10px;padding:12px 14px;text-decoration:none;display:block}.shelf-cards b{display:block}.shelf-sheet{background:#fff;border:1px solid #94a3b8;padding:14px 18px}.shelf-sheet ol{padding-left:1.4em}.shelf-sheet li{margin:0 0 18px}@media print{.shelf-box,.shelf-bar{border:0}}
