/* DGNL.NET V4 | editorial document library | visual refinement & accessibility */
:root{--v4-ink:#17384d;--v4-deep:#102c40;--v4-green:#1b866f;--v4-mint:#dbf0e7;--v4-line:#e3eaf0}
html{scroll-behavior:smooth}
body{background:#f6f8fb}
.site-header{position:sticky;top:0;border-bottom:1px solid #e8edf0;box-shadow:0 2px 18px #142b3910;z-index:50}
.site-header .nav{min-height:82px}
.brand-v4{display:inline-flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.brand-v4 .brand-symbol{width:48px;height:48px;flex:none;display:block;border-radius:14px;background:transparent;box-shadow:0 7px 22px #0a344b22;overflow:hidden}
.brand-v4 .brand-symbol svg{width:100%;height:100%;display:block}
.brand-v4 .brand-type{font-family:'DM Sans','Be Vietnam Pro',sans-serif;font-weight:800;letter-spacing:-.7px;font-size:23px;line-height:1.06;color:#18364b}
.brand-v4 .brand-type>span{color:#168b73}
.brand-v4 .brand-type small{font:800 8px 'Be Vietnam Pro',sans-serif;display:block;letter-spacing:1.55px;color:#6f8691;margin-top:6px}
.site-header .nav nav{gap:28px}
.site-header .nav nav>a:not(.nav-cta){font-weight:700;font-size:12px;position:relative}
.site-header .nav nav>a:not(.nav-cta):after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:2px;background:#1d9079;transition:width .2s}
.site-header .nav nav>a:hover:after{width:100%}
.site-header .nav nav .nav-cta{background:#e4f5cd;color:#244733;box-shadow:none;border:1px solid #d0e8bb}
.site-header .nav nav .nav-cta:hover{background:#cfeca8;box-shadow:0 6px 20px #84a34a24}

/* Homepage: clean editorial hierarchy. */
.hero-v3{background:radial-gradient(ellipse at 81% 47%,#285c6482,transparent 46%),linear-gradient(116deg,#10293f 0%,#14404b 62%,#154e4b 100%)}
.hero-v3 .eyebrow{font-weight:800;letter-spacing:1.35px}
.hero-v3 h1{font-size:clamp(39px,4.35vw,64px);letter-spacing:-2.8px}
.hero-v3 .hero-copy>p{font-size:14px;max-width:565px;line-height:2.02}
.hero-v3 .btn-lime{border:1px solid #b9e77a}
.hero-v3-visual{filter:drop-shadow(0 15px 28px #001c231a)}
.benefits-v3{box-shadow:0 20px 55px #17384b12}
.category-section,.editorial-section{isolation:isolate}
.catalog-section .section-head h2{letter-spacing:-1.4px}
.filter-chip{font-size:11px;min-height:38px}
.filter-chip.active{background:#dff5da;border-color:#b4dcb8;color:#205d48}
.paper-card .card-cta{color:#087e69}
.paper-card:hover .card-cta>span{display:inline-block;transform:translate(2px,-1px)}

/* Sidebar: real document taxonomy, legible even at deep levels. */
.library-layout{grid-template-columns:316px minmax(0,1fr);gap:28px}
.folder-panel{border-radius:20px;border:1px solid #dde8ec;box-shadow:0 13px 32px #123c5210;background:#fff;overflow:hidden;top:108px}
.folder-panel-head{display:block;padding:22px 20px 18px;background:linear-gradient(135deg,#eff8f4 0%,#f8fcfa 58%,#fff 100%);border-bottom:1px solid #e5f0ea}
.folder-panel-title-row{display:flex;gap:12px;align-items:center}
.folder-panel-mark{width:43px;height:43px;border-radius:13px;background:#1a826d;color:#fff;display:grid;place-items:center;box-shadow:0 6px 16px #148b722e;flex:none}
.folder-panel-mark .folder-icon-svg{width:22px;height:22px}
.folder-panel-head .section-kicker{font-size:9px;color:#438572;letter-spacing:1.3px;font-weight:900}
.folder-panel-head h3{font-size:14px;font-weight:900;line-height:1.42;letter-spacing:-.5px;color:#1d4354;margin:5px 0 0}
.folder-panel-head>p{margin:14px 0 0;font-size:11px;line-height:1.7;color:#76908e}
.folder-list{padding:12px 11px 17px;max-height:min(68vh,750px);overscroll-behavior-y:auto;overscroll-behavior-x:auto;-webkit-overflow-scrolling:touch;scrollbar-color:#dce8e6 transparent}
.folder-icon-svg{display:block;width:17px;height:17px;flex:none;stroke-width:1.85}
.folder-item-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;color:#418b80;border-radius:9px;background:#f0f7f5;transition:background .2s,color .2s}
.folder-name{font-size:11.2px;font-weight:700;line-height:1.64;min-width:0;flex:1;white-space:normal;overflow-wrap:anywhere;letter-spacing:-.12px}
.folder-root,.folder-leaf,.folder-node summary{border-radius:11px;line-height:1.5;min-height:45px;padding:7px 9px;display:flex;align-items:center;gap:8px;color:#486579;transition:background .16s,color .16s;position:relative}
.folder-root{background:#f5f8fa;font-weight:800;margin-bottom:10px;color:#315066}
.folder-root>.folder-icon-svg{width:15px;height:15px;color:#88a3a1;flex:none}
.folder-root .folder-item-icon{background:#e7f1ec;color:#1d826b}
.folder-node{margin:3px 0}
.folder-node summary{cursor:pointer;list-style:none}
.folder-node summary::-webkit-details-marker{display:none}
.folder-node summary:hover,.folder-leaf:hover,.folder-root:hover{background:#f1f7f5;color:#155f54}
.folder-node summary:hover .folder-item-icon,.folder-leaf:hover .folder-item-icon{background:#dff1e9;color:#13735e}
.folder-chevron{display:grid;place-items:center;width:16px;flex:none;color:#8da9aa;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.folder-chevron .folder-icon-svg{width:14px;height:14px}
.folder-node[open]>summary .folder-chevron{transform:rotate(90deg);color:#2c907d}
.folder-count{font:700 10px 'DM Sans',sans-serif;color:#7b929c;background:#f0f4f6;border-radius:7px;padding:5px 7px;min-width:24px;text-align:center;flex:none;margin-left:auto}
.folder-root.is-current,.folder-leaf.is-current{background:#e5f4e5;color:#166a55;box-shadow:inset 3px 0 0 #3ba58b}
.folder-node:has(>.folder-children>.folder-view.is-current)>summary{background:#e7f6ed;color:#176755}
.folder-node:has(>.folder-children>.folder-view.is-current)>summary .folder-item-icon{background:#d4eddf;color:#08745f}
.folder-children{margin-left:20px;padding-left:8px;border-left:1px solid #dcebe7;animation:folder-open .22s ease-out}
.folder-node.depth-2 .folder-children,.folder-node.depth-3 .folder-children{margin-left:12px;padding-left:6px}
.folder-view{font-size:10.2px;line-height:1.5;padding:9px 9px;display:flex;align-items:center;justify-content:space-between;gap:6px;color:#378475;margin:3px 0 5px;background:#f7faf9;border:1px solid transparent;border-radius:9px;font-weight:800}
.folder-view .folder-icon-svg{width:13px;height:13px;flex:none}
.folder-view:hover,.folder-view.is-current{background:#e7f6ec;border-color:#d5eadb;color:#15725d}
.folder-leaf{font-size:11.2px;text-decoration:none}
.folder-leaf .folder-item-icon{width:27px;height:27px;border-radius:8px}
.folder-leaf .folder-icon-svg{width:14px;height:14px}
.folder-panel-foot{display:flex;align-items:center;gap:7px;padding:14px 21px 15px;background:#fbfdfc;border-top:1px solid #e8f0ed;font-size:10px;color:#77938f;line-height:1.5}
.folder-foot-dot{height:7px;width:7px;border-radius:50%;background:#40b58e;box-shadow:0 0 0 3px #ddf4e8;flex:none}
.folder-empty{font-size:12px;color:#899aa4;padding:10px}
.folder-mobile-toggle{display:none;align-items:center;gap:6px;border:1px solid #d0e6df;background:#fff;color:#237767;padding:9px 12px;border-radius:10px;font:800 10px 'Be Vietnam Pro',sans-serif;cursor:pointer}
.folder-mobile-toggle .folder-icon-svg{width:14px;height:14px;transform:rotate(90deg);transition:transform .2s}
.folder-panel.mobile-open .folder-mobile-toggle .folder-icon-svg{transform:rotate(-90deg)}

/* Detail: 2 primary download buttons + unobtrusive external practice button, all in one area. */
.detail-hero-v3{background:radial-gradient(ellipse at 85% 44%,#2b767d73,transparent 49%),linear-gradient(125deg,#122d44,#185654)}
.detail-hero-v3 .detail-grid{gap:46px;grid-template-columns:minmax(0,1fr) 300px}
.detail-hero-v3 .download-actions{gap:10px;align-items:stretch}
.detail-hero-v3 .download-actions .btn{font-size:11.3px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.detail-hero-v3 .download-actions .btn-practice{color:#f5fffc;background:#ffffff16;border:1px solid #91bdb69e;text-decoration:none;box-shadow:none}
.detail-hero-v3 .download-actions .btn-practice:hover{background:#ffffff2a;color:#fff;box-shadow:0 8px 18px #031d2440}
.detail-hero-v3 .download-actions .btn-practice>span{font-size:17px;line-height:1}
.detail-bottom-v3 .right-panel{position:sticky;top:110px}
.detail-bottom-v3 .right-panel .side-notes{margin-top:0}
.detail-bottom-v3 .detail-panel{border-radius:19px}
.detail-bottom-v3 .document-preview{border:1px solid #dbe6e6;box-shadow:0 16px 39px #1535460a}
.detail-bottom-v3 .side-notes strong{color:#1b4955}

/* Reader-focused, non-technical guide. */
.guide-v4{padding:70px 0 110px}
.guide-v4 .guide-heading{max-width:800px}
.guide-v4 h1{font-size:clamp(29px,3.4vw,44px);letter-spacing:-1.6px;margin:15px 0 16px;color:#173547;line-height:1.35}
.guide-v4 .guide-heading p{color:#607989;font-size:14px;line-height:2;max-width:690px}
.guide-v4 .guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:43px}
.guide-v4 .guide-steps>div{background:white;border:1px solid #e1eae9;box-shadow:0 11px 33px #1b435511;border-radius:18px;padding:28px 25px;transition:transform .2s,box-shadow .2s}
.guide-v4 .guide-steps>div:hover{transform:translateY(-4px);box-shadow:0 20px 40px #1b43551d}
.guide-v4 .guide-steps>div>span{display:grid;place-items:center;background:#def4e7;border:1px solid #cde9d7;width:45px;height:45px;border-radius:13px;font-size:14px;font-weight:900;color:#18816e}
.guide-v4 .guide-steps h2{font-size:17px;letter-spacing:-.4px;color:#173a4a;margin:24px 0 10px}
.guide-v4 .guide-steps p{font-size:12px;color:#718897;line-height:1.9}
.guide-v4 .guide-faq{margin-top:55px;max-width:900px;border-top:1px solid #dfeae9;padding-top:32px}
.guide-v4 .guide-faq h2{font-size:23px;margin:0 0 23px}
.guide-v4 .guide-faq p{font-size:12px;line-height:1.9;color:#607988;margin:15px 0}
.guide-v4 .guide-faq strong{color:#244a58}
.guide-v4 .guide-faq .btn{margin-top:18px}

/* Footer is an independent identity: no platform/deployment details or other-site promotion. */
.footer-v4{background:#102c3f;border-top:3px solid #78c8ab;color:#d3e3e7;padding-top:56px}
.footer-v4 .foot-grid{gap:55px}
.footer-v4 .footer-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#fff;font:900 22px 'DM Sans',sans-serif;letter-spacing:-.5px}
.footer-v4 .footer-brand svg{width:43px;height:43px;flex:none;border-radius:12px}
.footer-v4 .footer-brand>span>span{color:#c9f385}
.footer-v4 .footer-brand small{display:block;font:800 8px 'Be Vietnam Pro',sans-serif;letter-spacing:1.3px;color:#a7c4ce;margin-top:5px}
.footer-v4 .foot-grid p{color:#aac1cd;font-size:11px;line-height:2;max-width:340px;margin-top:19px}
.footer-v4 .foot-grid b{font-size:12px;color:#eef7f9}
.footer-v4 .foot-grid a:not(.footer-brand),.footer-v4 .foot-grid span{font-size:11px;line-height:1.95;color:#a9c2cd}
.footer-v4 .foot-grid a:not(.footer-brand):hover{color:#d7f9b9}
.footer-v4 .footer-bottom{margin-top:45px;border-top:1px solid #ffffff1a;padding:22px 0 25px;font-size:10px;color:#85a8b4}

/* PDF workshop: no headers, footers, or promotional graphics; questions are the content. */
.pdf-render{background:#fff}
.pdf-render .pdf-card{border:0;border-radius:0;padding:12px 14px;margin:0 0 7px;box-shadow:none}
.pdf-render .pdf-qno{background:#edf7f2;border-radius:5px;padding:4px 8px;font-size:12px;color:#225f50}
.pdf-render .pdf-option{background:#fff;border-color:#edf0f2}
.pdf-render .pdf-option.correct{background:#ebf9db;border-color:#aad58e}

@media(max-width:1140px){.library-layout{grid-template-columns:280px minmax(0,1fr);gap:20px}.detail-hero-v3 .detail-grid{gap:30px;grid-template-columns:minmax(0,1fr) 260px}.site-header .nav nav{gap:16px}}
@media(max-width:900px){
 .library-layout{grid-template-columns:1fr;gap:24px}
 .folder-panel{top:0;position:relative}
 .folder-panel-head{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
 .folder-panel-head>p{width:100%;margin:0}
 .folder-panel .folder-list{display:none;max-height:420px}
 .folder-panel .folder-panel-foot{display:none}
 .folder-panel.mobile-open .folder-list{display:block}
 .folder-panel.mobile-open .folder-panel-foot{display:flex}
 .folder-mobile-toggle{display:inline-flex;margin-left:auto}
 .detail-hero-v3 .detail-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
 .detail-bottom-v3 .right-panel{top:0;position:relative}
 .footer-v4 .foot-grid{gap:25px}
}
@media(max-width:680px){
 .site-header{position:relative}
 .brand-v4{gap:8px}.brand-v4 .brand-symbol{width:40px;height:40px;border-radius:12px}
 .brand-v4 .brand-type{font-size:20px}.brand-v4 .brand-type small{font-size:7px;letter-spacing:1px}
 .site-header .nav{min-height:68px;gap:8px}
 .site-header .nav nav{gap:9px}.site-header .nav nav .nav-cta{display:none}
 .site-header .nav nav>a:not(.nav-cta){font-size:10px}
 .hero-v3 h1{font-size:clamp(36px,9vw,47px)}
 .folder-panel-head{display:flex;gap:9px;padding:17px 15px}.folder-panel-mark{width:38px;height:38px}
 .folder-panel-head h3{font-size:12px}.folder-panel-head .section-kicker{font-size:8px}
 .folder-panel-head>p{font-size:10px}.folder-mobile-toggle{font-size:9px;padding:8px 10px}
 .folder-list{padding:11px}.folder-panel .folder-list{max-height:440px}
 .detail-hero-v3 .detail-grid{grid-template-columns:1fr;gap:0}
 .detail-hero-v3 .download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .detail-hero-v3 .download-actions .btn{white-space:normal;line-height:1.5;min-height:48px;padding:11px 8px;text-align:center;font-size:10px}
 .detail-hero-v3 .download-actions .btn-practice{grid-column:1/-1;min-height:44px}
 .guide-v4{padding:40px 0 75px}.guide-v4 .guide-steps{grid-template-columns:1fr;gap:12px;margin-top:27px}.guide-v4 .guide-steps>div{padding:19px 20px}.guide-v4 .guide-steps h2{margin-top:12px}
 .footer-v4{padding-top:39px}.footer-v4 .footer-brand{font-size:20px}.footer-v4 .footer-bottom{margin-top:27px}
}
@media(prefers-reduced-motion:reduce){.folder-chevron,.folder-icon-svg,.guide-v4 .guide-steps>div{transition:none!important}}


/* V5 — buttons are independent and cannot touch or overlap on mobile. */
.detail-hero-v3 .download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:12px;align-items:stretch}
.detail-hero-v3 .download-actions>*{min-width:0!important;width:100%;max-width:100%;margin:0!important;flex:none;box-sizing:border-box;position:relative;white-space:normal;border-radius:13px!important}
.detail-hero-v3 .download-actions>.btn-practice{grid-column:1/-1}
.detail-hero-v3 .download-actions .btn:disabled{opacity:.65;cursor:progress}
@media(max-width:600px){.detail-hero-v3 .download-actions{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px}.detail-hero-v3 .download-actions>*{grid-column:1/-1!important;min-height:52px!important;padding:13px 16px!important;font-size:12px!important}.detail-hero-v3 .download-actions .btn-practice{min-height:48px!important}.detail-hero-v3 .download-actions .btn-white{border:1px solid #a6c9cc}}
/* SEO content — helpful category descriptions and editorial sources */
.exam-seo-guide{margin:34px 0 8px;padding:28px 32px;background:#fff;border:1px solid #e0eae9;border-radius:19px;line-height:1.95}
.exam-seo-guide a,.article-sources a{color:#117965;text-decoration:underline;text-underline-offset:3px}
.exam-seo-guide .text-link{display:inline-flex;margin-top:12px;text-decoration:none;font-weight:800}
.article-sources{margin-top:36px;padding:18px 22px;border:1px solid #d5e9e5;border-radius:14px;background:#f5fafa}
.article-sources h2{font-size:18px}
.article-sources p{font-size:13px;line-height:1.9}
.empty-category{padding:27px!important;grid-column:1/-1}.empty-category strong{display:block;color:#234d5c;margin-bottom:10px}.empty-category p{line-height:1.8}.empty-category .btn{margin-top:15px}
@media(max-width:600px){.exam-seo-guide{padding:23px 19px}}

.exam-faq-list{margin:24px 0 16px}.exam-faq-list>h3{font-size:17px;margin-bottom:14px}.exam-faq-list details{border-top:1px solid #e1ecea;padding:11px 0}.exam-faq-list details:last-child{border-bottom:1px solid #e1ecea}.exam-faq-list summary{font-size:13px;font-weight:800;cursor:pointer;color:#254757}.exam-faq-list summary:hover{color:#17806e}.exam-faq-list details p{font-size:13px;line-height:1.9;margin:12px 0 5px}


/* V6: compact, readable PDF typography; logo/header/footer belong only to DGNL.NET. */
.pdf-render{width:760px!important}
.pdf-render .pdf-card{padding:3px 3px 7px!important;margin:0!important;border:0!important;border-radius:0!important;line-height:1.52!important}
.pdf-render .pdf-qno{margin:0 0 7px!important;padding:3px 7px!important;font-size:11px!important}
.pdf-render .pdf-qtitle{font-size:14.2px!important;line-height:1.55!important;margin-bottom:7px!important}
.pdf-render .pdf-question-img,.pdf-render .pdf-explain-img{max-height:320px!important;margin:7px auto!important}
.pdf-render .pdf-option{margin:4px 0!important;padding:6px 9px!important;min-height:25px!important;line-height:1.5!important}
.pdf-render .pdf-explanation{margin-top:9px!important;padding:10px 13px!important;line-height:1.6!important;background:#f5f9f7!important}
.pdf-render .pdf-explain-head{display:block;margin-bottom:6px;font-size:11.5px}
.pdf-render .pdf-explain-line{font-size:12px;line-height:1.58;margin:2px 0;min-height:12px;overflow-wrap:anywhere}
.pdf-render .pdf-group{padding:10px 11px;margin:8px 0;line-height:1.55}
.pdf-brand-render{width:760px!important;font-family:'Be Vietnam Pro',Arial,sans-serif;background:#fff;color:#173749}
.pdf-brand-head{height:46px;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #d7e9e4;box-sizing:border-box;padding:0 4px 6px}
.pdf-brand-name{font-family:'DM Sans','Be Vietnam Pro',Arial,sans-serif;font-size:20px;font-weight:900;letter-spacing:-.65px;line-height:1.1}
.pdf-brand-name span{color:#14836f}.pdf-brand-name small{display:block;margin-top:5px;font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:8px;font-weight:700;letter-spacing:1.5px;color:#7d9996}
.pdf-brand-foot{height:26px;box-sizing:border-box;border-top:1px solid #d9e7e7;display:flex;align-items:center;justify-content:space-between;color:#839b9d;font-size:9px;letter-spacing:.3px;padding:3px 3px 0}
.pdf-brand-foot strong{font-size:10px;color:#458577;font-weight:800}
