.reading-body .resource-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:22px 0 34px}
.resource-directory>li{border:1px solid #dbe4eb;border-radius:12px;background:#fff;padding:18px;min-width:0}
.resource-directory>li[hidden]{display:none}
.resource-directory>li>a{font-weight:650;line-height:1.4;display:inline-block}
.reading-body .resource-directory p{font-size:14px;line-height:1.65;color:#546278;margin:9px 0 0}
.resource-search{display:block;font-weight:600;margin-top:20px}.resource-search input{display:block;width:100%;margin-top:8px}
.resource-context,.resource-rules{margin:18px 0}.resource-context>div,.resource-rules>div{border-bottom:1px solid #e0e7ed;padding:15px 0}
.resource-context dt,.resource-rules dt{font-weight:650;color:#172a40}.resource-context dd,.resource-rules dd{margin:5px 0 0;line-height:1.8}
.resource-example{padding:22px;border-left:4px solid #588e84;background:#f1f7f5;border-radius:0 12px 12px 0;margin:32px 0}
.resource-example h2{margin-top:0}.resource-workbench{padding:24px;background:#f6f8fa;border:1px solid #dce5ed;border-radius:16px;margin:30px 0}
.resource-workbench h2{margin-top:0}.reading-body .resource-local-note{font-size:14px;line-height:1.7;color:#52687a}
.resource-workbench fieldset{border:1px solid #d5dfe8;border-radius:10px;padding:18px;margin:18px 0;min-width:0}
.resource-workbench legend{font-weight:650;padding:0 7px}.resource-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.resource-field{min-width:0}.resource-field label{display:block;font-size:14px;font-weight:600;margin:0 0 7px;line-height:1.6}
.resource-field .help{font-weight:400;display:block;font-size:12px;line-height:1.6;margin:6px 0 0;color:#54667a}
.resource-field input,.resource-field textarea,.resource-field select,.resource-output,.resource-search input{font:inherit;box-sizing:border-box;border:1px solid #b5c5d2;border-radius:7px;background:#fff;color:#152c40;padding:10px 12px;max-width:100%;width:100%}
.resource-field textarea{resize:vertical;font-size:14px}.resource-field input:focus,.resource-field textarea:focus,.resource-field select:focus,.resource-output:focus,.resource-search input:focus{outline:3px solid #81b9b9;outline-offset:2px}
.resource-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.resource-actions a{font-size:14px}
.reading-body .resource-actions .btn{font-size:14px;white-space:normal;text-align:center;line-height:1.4;min-height:42px}
.reading-body .resource-actions .btn:disabled{opacity:.6;cursor:default}.resource-output{font:13px/1.7 ui-monospace,SFMono-Regular,monospace;resize:vertical;margin-top:8px}
.resource-workbench>form>label{font-weight:650}.reading-body .resource-calculator-output{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #d5dfe8;border-radius:9px;padding:18px;font:14px/1.8 ui-monospace,SFMono-Regular,monospace}
.resource-field-checklist li{margin-bottom:10px}.resource-intro{font-size:19px;line-height:1.8}
@media(max-width:650px){.reading-body .resource-directory,.resource-fields{grid-template-columns:minmax(0,1fr)}.resource-workbench{padding:16px}.resource-workbench fieldset{padding:12px}.resource-example{padding:16px}.resource-actions .btn{flex:1 1 150px}.resource-intro{font-size:17px}}
