.am-resource-shell{--resource-bg:#f2f6f8;--resource-ink:#20262c;--resource-muted:#52616e;--resource-line:#d8e2e9;--resource-accent:#096e9d;--resource-field:#fff;background:var(--color-bg,#fff);color:var(--resource-ink)}
body[data-theme=dark] .am-resource-shell{--resource-bg:#232c34;--resource-ink:#f4f5f7;--resource-muted:#c0cad2;--resource-line:#425462;--resource-accent:#6acbfa;--resource-field:#1b2025}
.am-resources{max-width:1160px;margin:auto;padding:64px 24px 80px}.am-resource-heading{max-width:720px;margin-bottom:36px}.am-resource-eyebrow{display:block;color:var(--resource-accent);font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin-bottom:12px}.am-resource-heading h1{font-size:clamp(34px,5vw,56px);line-height:1.13;margin:0 0 18px;color:var(--resource-ink)}.am-resource-heading p{font-size:19px;line-height:1.7;color:var(--resource-muted);margin:0}
.am-resource-tools{display:flex;align-items:end;gap:16px;padding:24px;border:1px solid var(--resource-line);background:var(--resource-bg);border-radius:18px}.am-resource-tools>div:first-child{flex:2}.am-resource-tools>div:nth-child(2){flex:1}.am-resource-tools>div{min-width:0}.am-resource-tools label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.am-resource-tools input,.am-resource-tools select{box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--resource-line);border-radius:9px;padding:10px 12px;background:var(--resource-field);color:var(--resource-ink);font:inherit;font-size:16px}.am-resource-tools button{min-height:48px;border:0;border-radius:9px;padding:12px 18px;background:#0879ad;color:#fff;font:inherit;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:20px;white-space:nowrap;text-decoration:none}.am-resource-reset{font-size:14px;padding:12px 0;white-space:nowrap}.am-resource-count{font-size:14px;color:var(--resource-muted);margin:24px 0 16px}.am-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.am-resource-card{display:flex;flex-direction:column;min-width:0;padding:26px;border:1px solid var(--resource-line);border-radius:18px;background:var(--resource-bg);transition:transform .2s,border-color .2s}.am-resource-card:hover{transform:translateY(-3px);border-color:var(--resource-accent)}.am-resource-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.am-resource-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--resource-field);border:1px solid var(--resource-line);color:var(--resource-accent);font-weight:700;font-size:23px}.am-resource-featured{font-size:12px;font-weight:600;color:var(--resource-accent);border:1px solid var(--resource-line);border-radius:100px;padding:4px 10px}.am-resource-labels{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.am-resource-labels a{font-size:12px;color:var(--resource-accent);text-decoration:none}.am-resource-card h2{font-size:23px;line-height:1.35;margin:0 0 12px;overflow-wrap:anywhere}.am-resource-card h2 a{color:var(--resource-ink);text-decoration:none}.am-resource-note{font-size:16px;line-height:1.7;color:var(--resource-muted);margin:0 0 20px}.am-resource-platform{font-size:12px;color:var(--resource-muted);margin-bottom:16px}.am-resource-card-actions{margin-top:auto;padding-top:18px;border-top:1px solid var(--resource-line)}.am-resource-card-actions a,.am-resource-back,.am-resource-empty a,.am-resource-reset{color:var(--resource-accent);text-decoration:none;font-weight:600}.am-resource-card-actions a{display:flex;align-items:center;justify-content:space-between;min-height:32px}.am-resource-shell :is(a,button,input,select):focus-visible{outline:3px solid var(--resource-accent);outline-offset:4px}.am-resource-empty{padding:40px 24px;text-align:center;background:var(--resource-bg);border:1px solid var(--resource-line);border-radius:18px}.am-resource-empty h2{color:var(--resource-ink);font-size:25px}.am-resource-empty p{color:var(--resource-muted)}.am-resource-pagination{margin-top:32px}.am-resource-detail{max-width:850px}.am-resource-back{display:inline-block;margin-bottom:32px}.am-resource-content{color:var(--resource-ink);font-size:18px;line-height:1.8;overflow-wrap:anywhere}.am-resource-content img{max-width:100%;height:auto}.am-resource-visit{margin-top:24px}
@media(max-width:1000px){.am-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.am-resource-tools{flex-wrap:wrap}.am-resource-tools>div:first-child{flex-basis:50%}}
@media(max-width:600px){.am-resources{padding:32px 18px 48px}.am-resource-heading{margin-bottom:26px}.am-resource-heading p{font-size:17px}.am-resource-tools{padding:18px;gap:16px;display:grid;grid-template-columns:minmax(0,1fr)}.am-resource-tools button{width:100%}.am-resource-reset{text-align:center;padding:0}.am-resource-grid{grid-template-columns:minmax(0,1fr);gap:18px}.am-resource-card{padding:24px}.am-resource-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.am-resource-card{transition:none;transform:none!important}}

.am-resource-tools input::placeholder{color:var(--resource-muted);opacity:1}
/* Detailed guides opt in through Core's section editor. */
.am-resource-guide{max-width:1160px}.am-guide-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:48px;align-items:center;margin-bottom:34px}.am-guide-hero h1{font-size:clamp(40px,6vw,68px);line-height:1.12;color:var(--resource-ink);margin:0 0 20px;overflow-wrap:anywhere}.am-guide-hero>div>p{font-size:20px;line-height:1.7;color:var(--resource-muted);max-width:620px}.am-guide-facts{background:var(--resource-bg);border:1px solid var(--resource-line);padding:30px;border-radius:20px}.am-guide-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:var(--resource-field);color:var(--resource-accent);font-size:30px;font-weight:700;margin-bottom:24px}.am-guide-facts h2{font-size:16px;color:var(--resource-ink);margin:0 0 8px}.am-guide-facts p{font-size:15px;line-height:1.65;color:var(--resource-muted);margin:0}.am-guide-facts .am-guide-checked{font-size:13px;border-top:1px solid var(--resource-line);padding-top:18px;margin-top:18px}.am-guide-checked time{display:block;color:var(--resource-ink);margin-top:4px}.am-guide-contents{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;border-block:1px solid var(--resource-line);padding:20px 0;margin-bottom:44px;font-size:14px}.am-guide-contents>span{font-weight:700}.am-guide-contents a{color:var(--resource-accent);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}.am-guide-body{max-width:1000px}.am-guide-section{margin:0 0 40px;scroll-margin-top:110px}.am-guide-section h2{font-size:28px;line-height:1.3;margin:0 0 20px;color:var(--resource-ink)}.am-guide-section p,.am-guide-section li{font-size:18px;line-height:1.8;color:var(--resource-muted)}.am-guide-section p{max-width:78ch}.am-guide-section ul{padding-left:22px;margin:0;list-style:disc}.am-guide-section li+li{margin-top:12px}.am-guide-section li::marker{color:var(--resource-accent)}.am-guide-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.am-guide-panel{background:var(--resource-bg);border:1px solid var(--resource-line);border-radius:18px;padding:28px}.am-guide-panel h2{font-size:24px}.am-guide-panel li{font-size:16px}.am-guide-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.am-guide-steps>li{padding:24px;border:1px solid var(--resource-line);border-radius:18px;background:var(--resource-bg);margin:0!important}.am-guide-step-number{display:block;color:var(--resource-accent);font-weight:700;font-size:32px;line-height:1;margin-bottom:22px}.am-guide-steps p{font-size:16px;margin:0}.am-guide-notes{border-left:3px solid var(--resource-accent);border-radius:0 18px 18px 0;background:var(--resource-bg);padding:28px}.am-guide-image{margin:0 0 40px}.am-guide-image img{width:100%;height:auto;border-radius:18px}.am-guide-image figcaption{color:var(--resource-muted);font-size:14px;margin-top:12px}.am-guide-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.am-guide-related a{display:flex;justify-content:space-between;gap:16px;align-items:center;background:var(--resource-bg);color:var(--resource-ink);padding:20px;border:1px solid var(--resource-line);border-radius:14px;text-decoration:none;font-weight:600;overflow-wrap:anywhere}.am-guide-related a>span:last-child{color:var(--resource-accent)}.am-guide-bottom{border-top:1px solid var(--resource-line);padding-top:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.am-guide-bottom p{font-size:24px;font-weight:600;margin:0;color:var(--resource-ink)}.am-guide-bottom .am-resource-visit{margin:0}
@media(max-width:800px){.am-guide-hero{grid-template-columns:1fr;gap:28px}.am-guide-facts{display:block}.am-guide-steps{grid-template-columns:1fr}.am-guide-step-number{margin-bottom:14px}.am-guide-related{grid-template-columns:1fr}.am-guide-contents{margin-bottom:30px}}
@media(max-width:600px){.am-guide-hero>div>p{font-size:18px}.am-guide-facts{padding:24px}.am-guide-pair{grid-template-columns:1fr;gap:0}.am-guide-panel{padding:24px}.am-guide-section{margin-bottom:28px}.am-guide-section h2{font-size:25px}.am-guide-section p,.am-guide-section li{font-size:16px}.am-guide-bottom{align-items:flex-start;flex-direction:column}.am-guide-bottom .am-resource-visit{white-space:normal}.am-guide-contents{gap:4px 18px}.am-guide-contents>span{width:100%;margin-bottom:6px}}

/* Reuse the site's native pill buttons and right-arrow markup. */
.am-resource-visit.btn{display:inline-flex;align-items:center;justify-content:center;gap:0;min-height:50px;box-sizing:border-box;border:1px solid #126c9e;border-radius:40px;padding:10.5px 35px;background:#126c9e;color:#fff;font-size:1.4em;font-weight:400;line-height:1.5;text-decoration:none;white-space:nowrap;transition:background-color .25s ease,border-color .25s ease,transform .1s ease}
.am-resource-visit.btn:hover,.am-resource-visit.btn:focus-visible{background:#0e567f;border-color:#0e567f;color:#fff}.am-resource-visit .ms-btn__icon{line-height:1}.am-resource-visit .ms-btn__icon--right{margin-left:8pt}.am-resource-visit.btn:active{transform:translateY(2px)}
.am-guide-symbol{overflow:hidden}.am-guide-symbol .am-resource-logo{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit;filter:none}
@media(max-width:600px){.am-resource-visit.btn{max-width:100%;font-size:1.4em;padding:8.4px 28px;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.am-resource-visit.btn{transition:none;transform:none!important}}

.am-resource-mark{overflow:hidden}.am-resource-mark .am-resource-logo{display:block;width:100%;height:100%;object-fit:contain;filter:none}.am-resource-mark:has(img),.am-guide-symbol:has(img){background:#fff;padding:6px;box-sizing:border-box}

.am-resource-mark:has(.am-resource-logo--wide){width:120px;height:48px}.am-guide-symbol:has(.am-resource-logo--wide){width:160px;height:72px}

.am-resource-content pre{white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:auto;background:var(--resource-field);color:var(--resource-ink);border:1px solid var(--resource-line);border-radius:14px;padding:22px;font-size:14px;line-height:1.65}.am-resource-content pre code{font:inherit;color:inherit;background:transparent;padding:0}
/* Resource type and topic are independent, combinable filters. */
.am-resource-tools{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.3fr) minmax(0,1.3fr) auto;align-items:end}.am-resource-tools .am-resource-reset{grid-column:1/-1;justify-self:start;padding:0}.am-resource-topics{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}.am-resource-topics a{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;padding:5px 10px;border:1px solid var(--resource-line);border-radius:20px;color:var(--resource-muted);background:var(--resource-field);font-size:12px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.am-resource-topics a:hover{border-color:var(--resource-accent);color:var(--resource-accent)}.am-guide-hero .am-resource-topics{margin-bottom:18px}
@media(max-width:1000px){.am-resource-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.am-resource-tools>div:first-child{grid-column:1/-1}.am-resource-tools>button{justify-self:start}}
@media(max-width:600px){.am-resource-tools{grid-template-columns:minmax(0,1fr)}.am-resource-tools>div:first-child{grid-column:auto}.am-resource-tools>button{justify-self:stretch}.am-resource-tools .am-resource-reset{grid-column:auto}}

/* Keep contribution separate from browsing and reuse Core's private form storage. */
.am-resource-heading-row{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:36px}.am-resource-heading-row .am-resource-heading{margin-bottom:0}.am-resource-suggest.btn{flex:none;font-size:17px;gap:14px;padding:10px 24px}.am-suggestion-page{max-width:840px}.am-suggestion-page>.am-resource-back{display:inline-block;margin-bottom:32px}.am-suggestion-form{background:var(--resource-bg);border:1px solid var(--resource-line);border-radius:18px;padding:32px}.am-suggestion-form .amerjsal-survey{margin:0}.am-suggestion-form .amerjsal-survey form{gap:24px 18px}.am-suggestion-form .amerjsal-survey :is(input,textarea){box-sizing:border-box;width:100%;background:var(--resource-field);color:var(--resource-ink);border-color:var(--resource-line);border-radius:9px}.am-suggestion-form .amerjsal-survey input{min-height:48px}.am-suggestion-form .amerjsal-survey .form-type-textarea textarea{height:140px;min-height:140px;resize:vertical}.am-suggestion-form .amerjsal-survey label{color:var(--resource-ink);font-size:16px}.am-suggestion-form .amerjsal-survey form>button{justify-self:start;min-height:48px;border:1px solid #126c9e;border-radius:40px;background:#126c9e;color:#fff;padding:10px 28px;font:inherit;cursor:pointer}.am-suggestion-form .amerjsal-survey form>button:hover{background:#0e567f}.am-suggestion-form .amerjsal-survey .notice{padding:18px;border:1px solid var(--resource-line);border-radius:12px;background:var(--resource-field);color:var(--resource-ink)}.am-suggestion-privacy{font-size:14px;line-height:1.65;color:var(--resource-muted);margin:24px 0 0}.am-suggestion-privacy a{color:var(--resource-accent)}
@media(max-width:800px){.am-resource-heading-row{align-items:flex-start;flex-direction:column;gap:22px}.am-suggestion-form{padding:24px}}
@media(max-width:359px){.am-suggestion-page{padding-inline:16px}.am-suggestion-form{padding:18px}.am-suggestion-form .amerjsal-survey form>.g-recaptcha{justify-self:start;width:164px}}
