/* Scoped resource library and planning-page presentation. */
body.ap-resources-page { --ap-resource-navy:#102c3b; --ap-resource-ink:#193747; --ap-resource-text:#405c6a; --ap-resource-teal:#087079; --ap-resource-line:#d4e1e6; --ap-resource-tint:#f1f6f7; }
.ap-resources-main { background:#fff; color:var(--ap-resource-text); }
.ap-resources-main *, .ap-resources-main *::before, .ap-resources-main *::after { box-sizing:border-box; }
.ap-resources-main .ap5-container { width:min(1160px,calc(100% - 64px)); margin-inline:auto; }
.ap-resources-main :where(h1,h2,h3,p,li,a,summary) { overflow-wrap:break-word; }
.ap-resources-main :where(section[id]) { scroll-margin-top:110px; }
.ap-resources-main :where(a,button,input,select,summary):focus-visible { outline:3px solid #087079; outline-offset:4px; }
.ap-resources-main p { line-height:1.65; }
.ap-resources-main h2, .ap-resources-main h3 { color:var(--ap-resource-ink); letter-spacing:-.035em; }
.ap-resources-main h2 { font-size:clamp(26px,3vw,37px); line-height:1.15; margin:0 0 16px; }
.ap-resources-main h3 { font-size:23px; line-height:1.25; margin:0 0 12px; }
.ap-resources-main a { text-underline-offset:4px; }
.ap-resources-main .ap-resources-eyebrow { font-family:"IBM Plex Mono",monospace; font-size:11px; font-weight:600; letter-spacing:.1em; line-height:1.6; color:var(--ap-resource-teal); margin:0 0 14px; }
.ap-resources-hero { padding:24px 0 58px; background:linear-gradient(115deg,#102b3b,#153d4e); color:#d9e9ed; }
.ap-resources-hero .ap-breadcrumbs { margin:0 0 36px; }
.ap-resources-hero .ap-breadcrumbs :where(a,span,li) { color:#c3d7df; }
.ap-resources-hero .ap-resources-eyebrow { color:#87d3d2; }
.ap-resources-hero h1 { color:#fff; max-width:20ch; font-size:clamp(38px,5vw,64px); line-height:1.05; letter-spacing:-.05em; margin:0 0 20px; }
.ap-resources-hero .ap-resources-lead { max-width:690px; font-size:18px; line-height:1.6; margin:0; color:#d9e9ed; }
.ap-resources-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:28px; }
.ap-resources-hero-link { color:#e4f4f6; font-weight:600; display:inline-flex; gap:12px; padding:12px 0; }
.ap-resources-hero-link:hover { color:#fff; }
.ap-resources-hero :where(a,button):focus-visible { outline-color:#9de3df; }
.ap-resources-section { padding:58px 0; }
.ap-resources-section--tint { background:var(--ap-resource-tint); border-block:1px solid #e2ebee; }
.ap-resources-section-heading { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr); align-items:end; gap:45px; margin-bottom:28px; }
.ap-resources-section-heading h2 { margin-bottom:0; }
.ap-resources-section-heading > p { margin:0 0 2px; max-width:450px; font-size:15px; }
.ap-resources-tools-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.ap-resources-tool-card { padding:28px; border:1px solid var(--ap-resource-line); border-radius:15px; background:#fff; display:flex; flex-direction:column; align-items:flex-start; box-shadow:0 5px 20px #183e4f05; }
.ap-resources-tool-number { color:#286770; font-family:"IBM Plex Mono",monospace; display:grid; place-items:center; background:#edf7f7; width:44px; height:44px; border-radius:11px; font-size:14px; margin-bottom:25px; }
.ap-resources-tool-card .ap-resources-card-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color:#526e79; margin:0 0 10px; }
.ap-resources-tool-card h3 { font-size:25px; margin-bottom:13px; }
.ap-resources-tool-card h3 a { color:var(--ap-resource-ink); text-decoration:none; }
.ap-resources-tool-card h3 a:hover { color:var(--ap-resource-teal); }
.ap-resources-tool-card > p:not(.ap-resources-card-label) { font-size:15px; margin:0 0 24px; }
.ap-resources-text-link { color:var(--ap-resource-teal); font-size:14px; font-weight:600; display:inline-flex; align-items:center; gap:10px; padding:6px 0; }
.ap-resources-tool-card > .ap-resources-text-link { margin-top:auto; }
.ap-resources-jump-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 45px; }
.ap-resources-jump-links a { display:flex; flex-direction:column; gap:5px; background:#fff; color:var(--ap-resource-ink); padding:17px 20px; border:1px solid var(--ap-resource-line); border-radius:10px; font-weight:600; font-size:14px; text-decoration:none; }
.ap-resources-jump-links a:hover { border-color:var(--ap-resource-teal); }
.ap-resources-jump-links span { font-size:12px; font-weight:400; color:#567380; }
.ap-resources-library-group + .ap-resources-library-group { margin-top:48px; padding-top:45px; border-top:1px solid var(--ap-resource-line); }
.ap-resources-group-heading h3 { font-size:28px; margin-bottom:8px; }
.ap-resources-group-heading p { max-width:700px; margin:0 0 22px; font-size:15px; }
.ap-resources-guide-grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.ap-resources-guide-grid li { margin:0; min-width:0; }
.ap-resources-guide-grid a { display:block; height:100%; color:var(--ap-resource-ink); text-decoration:none; border:1px solid #dce6e9; border-radius:10px; background:#fff; padding:19px 21px; transition:border-color .15s ease,background .15s ease; }
.ap-resources-guide-grid a:hover { border-color:#8db9be; background:#fbfefe; }
.ap-resources-guide-title { display:flex; justify-content:space-between; align-items:baseline; gap:18px; font-weight:600; font-size:16px; line-height:1.35; }
.ap-resources-guide-title > span { color:var(--ap-resource-teal); flex-shrink:0; }
.ap-resources-guide-copy { display:block; margin-top:8px; color:#526c79; font-size:13px; line-height:1.5; }
.ap-resources-contact { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.ap-resources-contact > div { max-width:730px; }
.ap-resources-contact h2 { font-size:32px; }
.ap-resources-contact p:last-child { margin:0; font-size:15px; }
.ap-resources-contact > a { flex-shrink:0; }
.ap-resources-contact-actions { display:flex; flex-direction:column; align-items:flex-start; gap:10px; flex-shrink:0; }
.ap-resources-hero--tool { padding-bottom:42px; }
.ap-resources-hero--tool h1 { max-width:24ch; font-size:clamp(34px,4.4vw,54px); }
.ap-resources-hero--tool .ap-breadcrumbs { margin-bottom:28px; }
.ap-resources-hero .ap-resources-hero-note { font-size:12px; color:#bed6df; margin:20px 0 0; display:flex; gap:10px; flex-wrap:wrap; }
.ap-resources-tool-intro { max-width:850px; margin-bottom:25px; }
.ap-resources-tool-intro h2 { font-size:27px; margin-bottom:10px; }
.ap-resources-tool-intro p { font-size:15px; margin:0; }
.ap-resources-explainer { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:55px; }
.ap-resources-explainer h2 { font-size:31px; }
.ap-resources-explainer p { font-size:15px; margin:0 0 16px; }
.ap-resources-limitations { padding:28px; border:1px solid #d1e2e5; border-radius:12px; background:#fff; }
.ap-resources-limitations h3 { font-size:19px; }
.ap-resources-limitations h3:not(:first-child) { margin-top:24px; }
.ap-resources-limitations p:last-child { margin-bottom:0; }
.ap-resources-formula { background:#e4eff1; padding:17px 20px; border-left:3px solid #087079; border-radius:0 8px 8px 0; }
.ap-resources-formula p { margin:0; font-size:13px; font-family:"IBM Plex Mono",monospace; line-height:1.65; color:var(--ap-resource-ink); }
.ap-resources-faq-layout { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr); gap:60px; }
.ap-resources-faqs details { border-top:1px solid var(--ap-resource-line); }
.ap-resources-faqs details:last-child { border-bottom:1px solid var(--ap-resource-line); }
.ap-resources-faqs summary { padding:20px 0; cursor:pointer; color:var(--ap-resource-ink); font-weight:600; font-size:16px; }
.ap-resources-faqs p { font-size:15px; margin:0 0 23px; }
.ap-resources-reference-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:60px; }
.ap-resources-reference-layout h2 { font-size:23px; letter-spacing:-.025em; }
.ap-resources-small { font-size:12px; color:#58717e; max-width:520px; }
.ap-resources-source-list, .ap-resources-related-list { padding:0; margin:18px 0; list-style:none; }
.ap-resources-source-list li { margin:0 0 14px; font-size:13px; line-height:1.5; }
.ap-resources-source-list a { color:var(--ap-resource-teal); }
.ap-resources-source-list span { display:block; margin-top:3px; color:#58717e; font-size:12px; }
.ap-resources-related-list li { margin:0; border-bottom:1px solid var(--ap-resource-line); }
.ap-resources-related-list a { display:flex; justify-content:space-between; gap:15px; padding:13px 0; font-size:14px; color:var(--ap-resource-ink); text-decoration:none; }
.ap-resources-related-list a:hover { color:var(--ap-resource-teal); }
@media (max-width:900px) {
    .ap-resources-tool-card { padding:22px; }
    .ap-resources-tool-card h3 { font-size:22px; }
    .ap-resources-explainer, .ap-resources-reference-layout { gap:30px; }
    .ap-resources-contact { align-items:flex-start; flex-direction:column; gap:25px; }
}
@media (max-width:700px) {
    .ap-resources-main .ap5-container { width:calc(100% - 36px); }
    .ap-resources-hero { padding:18px 0 38px; }
    .ap-resources-hero .ap-breadcrumbs { margin-bottom:25px; }
    .ap-resources-hero .ap-breadcrumbs ol { flex-wrap:wrap; font-size:14px; line-height:1.5; }
    .ap-resources-hero h1 { max-width:18ch; }
    .ap-resources-hero .ap-resources-lead { font-size:16px; }
    .ap-resources-actions { align-items:flex-start; flex-direction:column; gap:9px; margin-top:22px; }
    .ap-resources-section { padding:38px 0; }
    .ap-resources-section-heading, .ap-resources-tools-grid, .ap-resources-guide-grid, .ap-resources-jump-links, .ap-resources-explainer, .ap-resources-faq-layout, .ap-resources-reference-layout { grid-template-columns:minmax(0,1fr); }
    .ap-resources-section-heading { gap:14px; margin-bottom:24px; }
    .ap-resources-tool-card { padding:25px; }
    .ap-resources-tool-number { margin-bottom:20px; }
    .ap-resources-tool-card h3 { font-size:25px; }
    .ap-resources-jump-links { margin-bottom:33px; gap:9px; }
    .ap-resources-jump-links a { padding:15px 18px; }
    .ap-resources-library-group + .ap-resources-library-group { margin-top:34px; padding-top:32px; }
    .ap-resources-group-heading h3 { font-size:25px; }
    .ap-resources-guide-grid a { padding:18px; }
    .ap-resources-faq-layout { gap:10px; }
    .ap-resources-contact h2 { font-size:28px; }
    .ap-resources-hero--tool h1 { max-width:22ch; }
    .ap-resources-limitations { padding:22px; }
    .ap-resources-section-heading > p,
    .ap-resources-tool-card > p:not(.ap-resources-card-label),
    .ap-resources-group-heading p,
    .ap-resources-tool-intro p,
    .ap-resources-explainer p,
    .ap-resources-faqs p,
    .ap-resources-contact p:last-child { font-size:16px; }
    .ap-resources-main .ap-resources-eyebrow,
    .ap-resources-tool-card .ap-resources-card-label,
    .ap-resources-jump-links span,
    .ap-resources-guide-copy,
    .ap-resources-formula p,
    .ap-resources-small,
    .ap-resources-source-list li,
    .ap-resources-source-list span { font-size:14px; }
    .ap-resources-text-link,
    .ap-resources-jump-links a,
    .ap-resources-related-list a { font-size:16px; }
    .ap-resources-hero .ap-resources-hero-note { gap:6px; font-size:14px; }
}
@media print {
    .ap-resources-hero { background:#fff; color:#111; padding:12px 0; }
    .ap-resources-hero h1, .ap-resources-hero .ap-resources-lead, .ap-resources-hero .ap-resources-eyebrow { color:#111; }
    .ap-resource-tool-page .ap-resources-hero .ap-breadcrumbs, .ap-resource-tool-page .ap-resources-hero-note, .ap-resource-tool-page .ap-resources-section:not(.ap-resources-calculator-section) { display:none; }
    .ap-resources-main .ap5-container { width:100%; }
    .ap-resources-calculator-section { padding:10px 0; }
}
