
/* V3 global consistent navigation and footer (all 2,568 pages) */
.ap3-header,.ap3-header *,.ap3-footer,.ap3-footer *{box-sizing:border-box}
.ap3-header{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 6px 24px #183d3220;border-bottom:1px solid #e4e9e4;font-family:'DM Sans',Arial,sans-serif}
.ap3-shell{width:min(1190px,calc(100% - 40px));margin:0 auto}
.ap3-headrow{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px}
.ap3-header a{text-decoration:none}.ap3-logo{display:flex;gap:11px;align-items:center;flex:0 0 auto;color:#143e34!important;font-size:21px;font-weight:900;line-height:1.08;letter-spacing:-.7px;white-space:nowrap}
.ap3-logo strong{color:#e67d4e}.ap3-logo small{display:block;color:#71827a;font-size:10px;letter-spacing:.1px;font-weight:600;margin-top:5px}
.ap3-mark{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#13523f,#24916c);color:#ffc093;font-size:25px;box-shadow:0 5px 14px #15513e35}
.ap3-nav{display:flex;align-items:center;gap:clamp(8px,1.2vw,17px);justify-content:flex-end;flex-wrap:nowrap;margin-left:auto;min-width:0}
.ap3-nav>a,.ap3-menu>summary{color:#2e403a!important;font-size:12px!important;font-weight:800!important;white-space:nowrap;line-height:1.4;text-decoration:none;cursor:pointer;padding:10px 0}
.ap3-nav>a:hover,.ap3-menu>summary:hover{color:#db7348!important}
.ap3-menu{position:relative;flex:0 0 auto}.ap3-menu>summary{list-style:none}.ap3-menu>summary::-webkit-details-marker{display:none}
.ap3-dropdown{position:absolute;right:0;top:100%;min-width:210px;padding:8px;background:white;border:1px solid #dce9df;border-radius:14px;box-shadow:0 12px 28px #163c322b;z-index:2000}
.ap3-dropdown>a{display:block!important;padding:10px 12px!important;border-radius:8px;color:#25453b!important;font-size:13px!important;text-decoration:none!important;font-weight:700!important}
.ap3-dropdown>a:hover{background:#eaf7f0;color:#146747!important}
.ap3-search{background:#184f3e!important;color:white!important;padding:10px 14px!important;border-radius:24px!important}
.ap3-mobile{display:none;background:#e9f5ee;border:1px solid #c6e0d0;border-radius:9px;color:#15523d;font-size:24px;cursor:pointer;padding:4px 12px}
.ap3-footer{background:linear-gradient(145deg,#103a30,#09261f 70%);color:#eaf5ee;padding:55px 0 20px;font:14px/1.6 'DM Sans',Arial,sans-serif}
.ap3-footgrid{display:grid;grid-template-columns:2.1fr repeat(3,1fr);gap:clamp(20px,3vw,50px)}
.ap3-footbrand{color:white!important;text-decoration:none;font-size:23px;font-weight:900;letter-spacing:-.7px}.ap3-footbrand span,.ap3-footbrand strong{color:#ffae76}
.ap3-footabout p{color:#cfdfd5;max-width:330px;font-size:13px;line-height:1.7;margin:15px 0}.ap3-footabout .ap3-footnotice{color:#ffc997;font-weight:750}
.ap3-footgrid h2{color:#fff;font-size:15px;font-weight:900;margin:5px 0 16px;letter-spacing:0}
.ap3-footgrid a:not(.ap3-footbrand){display:block;color:#d4e4da!important;text-decoration:none;font-size:13px;padding:5px 0}.ap3-footgrid a:hover,.ap3-footbottom a:hover{color:#ffbd87!important}
.ap3-footbottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #547267;padding-top:18px;margin-top:35px;color:#c2d6c9;font-size:12px}
.ap3-footbottom a{color:#d5e7db!important;text-decoration:none}
@media(max-width:1090px){.ap3-headrow{min-height:70px}.ap3-logo{font-size:19px}.ap3-nav{gap:9px}.ap3-nav>a,.ap3-menu>summary{font-size:11px!important}}
@media(max-width:920px){.ap3-mobile{display:block}.ap3-headrow{flex-wrap:wrap}.ap3-nav{display:none!important;flex:0 0 100%;width:100%;margin:0;padding:0 0 16px;flex-direction:column;align-items:stretch;gap:0}.ap3-nav.ap3-open{display:flex!important}.ap3-nav>a,.ap3-menu>summary{display:block;padding:12px 10px;font-size:14px!important;border-bottom:1px solid #e5eee7}.ap3-dropdown{position:static;box-shadow:none;border:0;border-radius:0;background:#f5faf6}.ap3-search{margin-top:10px;text-align:center}.ap3-footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ap3-shell{width:calc(100% - 30px)}.ap3-logo{font-size:18px}.ap3-logo small{font-size:9px}.ap3-mark{width:38px;height:38px}.ap3-footgrid{grid-template-columns:1fr 1fr;gap:28px 18px}.ap3-footabout{grid-column:1/-1}.ap3-footer{padding-top:38px}}

/* V4 unified visual shell, stable across home and inner pages */
.ap3-header{width:100%;isolation:isolate}.ap3-headrow{gap:16px!important}.ap3-logo{min-width:0;flex-shrink:0}.ap3-nav{gap:clamp(7px,.8vw,14px)!important}.ap3-nav>a,.ap3-menu>summary{font-size:clamp(11px,.8vw,13px)!important}.ap3-footer{clear:both;width:100%}.ap3-footer .ap3-footgrid{align-items:start}.ap3-footer a:hover{color:#f18b54!important}.ap3-search{white-space:nowrap}.ap3-footer .ap3-shell{max-width:1190px}.ap3-menu[open] .ap3-dropdown{z-index:1500}
@media(max-width:1120px){.ap3-headrow{flex-wrap:wrap;gap:8px!important;padding:12px 0}.ap3-nav{width:100%;justify-content:center;gap:16px!important}.ap3-logo{margin:auto}.ap3-header{position:relative}}
@media(max-width:760px){.ap3-headrow{flex-wrap:nowrap}.ap3-logo{margin:0}.ap3-nav{width:auto}.ap3-header{position:sticky}.ap3-footer .ap3-footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ap3-footer .ap3-footgrid{grid-template-columns:1fr}.ap3-logo{font-size:18px}}
/* V4 premium educational content modules */
.ap4-guide{background:linear-gradient(145deg,#fff,#f4faf5);border:1px solid #d7e9df;border-radius:20px;padding:26px;margin:22px 0;box-shadow:0 10px 24px #144f3610}.ap4-guide h2{color:#124c3d;font-size:clamp(21px,2.4vw,28px);line-height:1.25;margin:0 0 15px}.ap4-guide h3{color:#164a3d;font-size:18px;margin:22px 0 8px}.ap4-guide p,.ap4-guide li{font-size:15px;line-height:1.8;color:#34483f}.ap4-guide ul{padding-left:22px}.ap4-guide a{color:#08765b;text-decoration:underline}.ap4-callout{background:#fff4e8;border-left:4px solid #ec8959;padding:16px 20px;border-radius:12px;margin:18px 0}.ap4-faq details{border:1px solid #d9e5df;border-radius:12px;padding:13px 16px;margin:9px 0;background:#fff}.ap4-faq summary{font-weight:800;cursor:pointer}.ap4-faq details p{margin:9px 0 0}.ap4-search-input{width:100%;padding:15px 18px;border:1px solid #bed9cb;border-radius:12px;font-size:16px}.ap4-search-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ap4-search-controls button{border:0;border-radius:12px;background:#176b52;color:#fff;padding:14px 24px;font-weight:800;cursor:pointer}.ap4-search-result{display:block;background:#fff;border:1px solid #d8e7df;padding:17px 20px;border-radius:13px;margin:10px 0}.ap4-search-result strong{display:block;color:#174c40;font-size:17px}.ap4-search-result small{display:block;color:#677b70;margin-top:5px}.ap4-search-result:hover{border-color:#e17c4e;box-shadow:0 4px 15px #19493416}.ap4-search-meta{margin:15px 0;color:#49675a}.ap4-search-note{color:#53665d;font-size:13px}


/* V8 visual spacing and navigation polish */
.ap-home-faq{max-width:1190px!important;margin:0 auto!important;padding:44px 24px 56px!important;box-sizing:border-box}
.ap-home-faq h3{font-size:clamp(21px,2.2vw,29px)!important;line-height:1.3!important;color:#123f35!important;margin:0 0 22px!important;font-weight:800!important}
.ap-home-faq details{display:block!important;background:#fff!important;border:1px solid #d9e8df!important;border-radius:13px!important;margin:0 0 11px!important;padding:0 18px!important;box-shadow:0 4px 14px rgba(13,62,48,.05)!important}
.ap-home-faq summary{display:list-item!important;list-style:revert!important;cursor:pointer!important;padding:16px 3px!important;color:#143f36!important;font-size:15px!important;line-height:1.55!important;font-weight:650!important}
.ap-home-faq details[open]{border-color:#92c5ae!important;background:#f9fffb!important}
.ap-home-faq details p{padding:0 3px 17px!important;margin:0!important;line-height:1.75!important;font-size:14px!important;color:#3c574d!important}
.ap3-footer{background:#103c31!important;color:#e9f4ee!important;padding:52px 0 24px!important}
.ap3-footer .ap3-shell{width:min(1190px,calc(100% - 40px))!important;margin:0 auto!important}
.ap3-footer .ap3-footgrid{display:grid!important;grid-template-columns:minmax(240px,1.65fr) repeat(3,minmax(125px,1fr))!important;gap:36px!important;align-items:start!important}
.ap3-footer .ap3-footgrid>div{min-width:0!important}
.ap3-footer .ap3-footgrid h2{font-size:17px!important;line-height:1.4!important;color:#fff!important;margin:0 0 16px!important}
.ap3-footer .ap3-footabout p{font-size:14px!important;line-height:1.8!important;max-width:340px!important;margin:16px 0!important}
.ap3-footer .ap3-footgrid a:not(.ap3-footbrand){display:block!important;font-size:14px!important;line-height:1.5!important;padding:7px 0!important;overflow-wrap:anywhere!important}
.ap3-footer .ap3-footbrand{display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:23px!important;line-height:1.2!important;text-decoration:none!important}
.ap3-footer .ap3-footbottom{padding-top:20px!important;margin-top:32px!important;font-size:13px!important;line-height:1.65!important}
.ap3-footer .ap3-footbottom a{display:inline!important;padding:0!important}
.ap3-header .ap3-logo{text-decoration:none!important}
.ap3-header .ap3-nav a,.ap3-header .ap3-menu>summary{line-height:1.5!important}
@media(max-width:960px){.ap3-footer .ap3-footgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}.ap3-footer .ap3-footabout{grid-column:1/-1!important}}
@media(max-width:560px){.ap-home-faq{padding:28px 16px 42px!important}.ap-home-faq summary{font-size:14px!important}.ap3-footer .ap3-footgrid{grid-template-columns:1fr!important;gap:25px!important}.ap3-footer .ap3-footabout{grid-column:auto!important}.ap3-footer{padding-top:36px!important}}
