/* 공개 자료실 전용 스타일.
   색·간격·컴포넌트 값은 프런트엔드(NABI-LAB-VUE)의 사이트 공통 디자인과 같게 유지한다.
   - 토큰: src/layout/SiteLayout.vue 의 --site-*, src/views/main/home-landing/home-landing.scss 의 --landing-*
   - 헤더·빵부스러기·푸터: src/layout/SiteHeader.vue, SiteLayout.vue, SiteFooter.vue
   값을 바꿀 때는 위 파일들과 함께 확인한다. */
:root{--primary:#2f9147;--primary-dark:#24733a;--primary-soft:#eaf6ed;--text:#17221b;--muted:#657168;--border:#dfe7e1;--border-strong:#b8c6bd;--surface:#ffffff;--surface-alt:rgb(250,250,250);--radius:14px;font-family:'Noto Sans KR','Pretendard',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text);background:var(--surface);line-height:1.5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;word-break:keep-all}
*{box-sizing:border-box}
body{display:flex;flex-direction:column;min-width:320px;min-height:100vh;margin:0}
a{color:var(--primary-dark);text-decoration:none}
a:hover{text-decoration:underline}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
:focus-visible{outline:3px solid rgba(47,145,71,.35);outline-offset:3px}
[hidden]{display:none!important}
img{max-width:100%}
.container{width:min(calc(100% - 32px),1180px);margin-inline:auto}
.muted{color:var(--muted);font-size:14px}
.skip-link{position:absolute;left:20px;top:-100px;z-index:50;padding:10px;border-radius:8px;background:#fff}
.skip-link:focus{top:8px}

/* 헤더 — SiteHeader.vue 와 같은 고정 헤더·로고·메뉴 */
.site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(25,49,31,.08);background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
.header-inner{display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;min-width:44px;min-height:44px;align-items:center;padding:4px 0}
.brand img{display:block;width:146px;height:auto}
.desktop-nav{display:none;align-items:center;gap:4px;margin-left:auto}
.desktop-nav a{display:inline-flex;min-height:44px;align-items:center;padding:8px 12px;border-radius:10px;color:#2c3730;font-size:15px;font-weight:650;white-space:nowrap;transition:color 160ms ease,background-color 160ms ease}
.desktop-nav a:hover{color:var(--primary);background:var(--primary-soft);text-decoration:none}
.desktop-nav [aria-current]{color:var(--primary);font-weight:700}
.menu{position:relative}
.menu>summary{display:inline-grid;width:44px;height:44px;place-items:center;border-radius:10px;color:#2c3730;list-style:none;cursor:pointer}
.menu>summary::-webkit-details-marker{display:none}
.menu[open]>summary{color:var(--primary);background:var(--primary-soft)}
.mobile-nav{position:absolute;top:calc(100% + 12px);right:0;z-index:41;display:grid;width:min(calc(100vw - 32px),380px);max-height:calc(100dvh - 120px);overflow-y:auto;padding:8px 16px 18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 16px 28px rgba(25,49,31,.09)}
.mobile-nav a{display:flex;min-height:48px;align-items:center;padding:10px 8px;border-bottom:1px solid #edf1ee;color:#2c3730;font-weight:650}
.mobile-nav a:hover{background:var(--primary-soft);text-decoration:none}
.mobile-nav [aria-current]{color:var(--primary)}

/* 빵부스러기 — SiteLayout.vue 의 .site-breadcrumbs 와 같은 띠 */
.site-breadcrumbs{width:min(calc(100% - 32px),1180px);margin-inline:auto;border-bottom:1px solid var(--border);color:var(--muted)}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0;font-size:13px}
.breadcrumbs a{color:inherit}
.breadcrumbs>*+*::before{content:"›";margin-right:12px;color:#9ca9a1}

/* 본문 — 아주 연한 회색 배경 위에 흰 카드(그림자 없이 1px 테두리) */
main{flex:1 0 auto;padding-block:24px 56px;background:var(--surface-alt)}
.page-heading{padding:14px 0 30px;text-align:center}
.page-heading h1{margin:10px 0 12px;font-size:clamp(1.55rem,6vw,2rem);font-weight:820;letter-spacing:-.035em;line-height:1.35;overflow-wrap:anywhere}
.page-heading p{margin:6px 0;color:var(--muted);font-size:16px}
.page-heading .muted{font-size:14px}
.badge{display:inline-block;padding:4px 11px;border-radius:999px;color:var(--primary-dark);background:var(--primary-soft);font-size:12px;font-weight:720;line-height:1.35}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;border:1px solid var(--primary);border-radius:9px;color:var(--primary);background:var(--surface);font-size:14px;font-weight:780;white-space:nowrap;cursor:pointer;transition:color 160ms ease,background-color 160ms ease}
.button:hover{color:#fff;background:var(--primary);text-decoration:none}
.button.primary{color:#fff;background:var(--primary)}
.button.primary:hover{background:var(--primary-dark)}

/* 목록 — 제목, 탐색, 문서의 세 단계로 읽히는 자료실 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.library-page{padding-top:0;background:#f8faf8}
.library-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;padding:30px 0 26px}
.library-eyebrow{margin:0 0 10px;color:var(--primary-dark);font-size:11px;font-weight:750;letter-spacing:.14em}
.library-heading h1{margin:0 0 14px;font-size:38px;line-height:1.25;font-weight:800;letter-spacing:-.045em}
.library-heading__description{margin:0;color:var(--muted);font-size:15px;line-height:1.8}
.library-access{display:inline-flex;align-items:center;gap:6px;margin-top:15px;color:var(--primary-dark);font-size:12px;font-weight:650}
.library-access svg{width:17px;height:17px}
.library-steps{display:grid;gap:17px;min-width:300px;margin:0;padding:4px 0 4px 34px;border-left:1px solid var(--border);list-style:none}
.library-steps li{display:flex;align-items:center;gap:14px}
.library-steps__number{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #d8e6dc;border-radius:10px;background:#eff5f0;color:var(--primary-dark);font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}
.library-steps strong,.library-steps li div>span{display:block}
.library-steps strong{font-size:13px;font-weight:700}
.library-steps li div>span{margin-top:2px;color:var(--muted);font-size:12px}
.search-panel{display:flex;gap:14px;align-items:center;padding:8px 9px 8px 20px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);transition:border-color 160ms ease,box-shadow 160ms ease}
.search-panel:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(47,145,71,.08)}
.search-panel__icon{flex:none;width:22px;height:22px;color:#7b8b80}
.search-panel input[type=search]{flex:1;min-width:0;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;font-size:15px}
.search-panel input[type=search]:focus-visible{outline:0}
.search-panel .button{min-width:84px;flex:none}
.category-nav{display:flex;flex-wrap:wrap;gap:8px;padding:18px 0 24px;border-bottom:1px solid var(--border)}
.category-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 17px;border:1px solid var(--border);border-radius:8px;color:#526158;background:#fff;font-size:13px;font-weight:650;transition:background-color 160ms ease,border-color 160ms ease}
.category-nav a:hover{border-color:var(--primary);color:var(--primary-dark);text-decoration:none}
.category-nav [aria-current]{border-color:#254e35;background:#254e35;color:#fff}
.category-nav [aria-current]:hover{color:#fff}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 18px}
.catalog-toolbar h2{display:flex;align-items:center;gap:9px;margin:0;font-size:18px;letter-spacing:-.025em}
.catalog-count{color:var(--primary-dark);font-size:17px;font-variant-numeric:tabular-nums}
.catalog-toolbar p{margin:0;color:var(--muted);font-size:12px}
.filter-reset{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:var(--muted);font-size:13px}
.filter-reset span{font-size:18px}
.search-context{margin:-6px 0 20px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
input,select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:10px;color:inherit;background:var(--surface)}
select{max-width:100%}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.resource-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color 180ms ease,box-shadow 180ms ease}
.resource-card:hover,.resource-card:focus-within{border-color:#a9c5b1;box-shadow:0 8px 24px rgba(27,61,38,.06)}
.resource-card__preview{position:relative;display:flex;justify-content:center;flex:none;width:100%;height:174px;overflow:hidden;border-bottom:1px solid var(--border);color:var(--muted);background:#edf2ee}
.resource-card:nth-child(3n+2) .resource-card__preview{background:#edf1f4}
.resource-card:nth-child(3n) .resource-card__preview{background:#f2f0e9}
.resource-card__preview:hover{text-decoration:none}
.resource-card__preview-label{position:absolute;top:14px;left:17px;z-index:1;color:#617369;font-size:10px;font-weight:650;letter-spacing:.02em}
.resource-card__preview img{display:block;flex:none;width:250px;height:341.667px;margin-top:32px;object-fit:cover;object-position:center top;border:1px solid #d6ded8;border-radius:3px 3px 0 0;box-shadow:0 5px 18px rgba(36,62,44,.09);background:#fff;transition:transform 200ms ease}
.resource-card__preview:hover img{transform:translateY(-2px)}
.resource-card__preview-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;padding:32px 16px 12px;text-align:center;font-size:12px}
.resource-card__preview-fallback svg{color:#789180}
.resource-card__open{position:absolute;right:15px;bottom:15px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #d6e1d9;border-radius:50%;background:rgba(255,255,255,.9);color:#536e5c;font-size:16px}
.resource-card__body{display:flex;flex:1;flex-direction:column;min-width:0;padding:21px 22px 0;overflow-wrap:anywhere}
.resource-card__meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:11px}
.resource-card h3{margin:12px 0 9px;font-size:19px;font-weight:750;letter-spacing:-.035em;line-height:1.5;overflow-wrap:anywhere}
.resource-card h3 a{color:var(--text)}
.resource-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.resource-card__summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.resource-card .group-summary{margin-top:14px;color:#465e4e;font-size:12px}
.resource-card .resource-card__source{display:flex;gap:8px;margin:7px 0 18px;font-size:11px}
.resource-card__source>span:first-child{flex:none;color:#7b887f}
.resource-card__footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto;padding:14px 0;border-top:1px solid #edf1ee}
.resource-card__body>.group-summary:last-of-type{margin-bottom:18px}
.format-list{display:flex;flex-wrap:wrap;gap:6px}
.format-list span{padding:3px 7px;border:1px solid #e0e6e2;border-radius:4px;color:#56655b;background:#f8faf8;font-size:10px;font-weight:750;letter-spacing:.02em}
.format-list [data-format=PDF]{border-color:#f0dfd9;background:#fdf5f1;color:#a0644c}
.format-list [data-format=XLSX]{border-color:#d6e7dc;background:#f0f7f2;color:#397451}
.format-list [data-format=HWP],.format-list [data-format=DOCX]{border-color:#d9e3f0;background:#f2f6fb;color:#4d6d98}
.card-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:14px;min-height:32px;color:var(--primary-dark);font-size:12px;font-weight:750;white-space:nowrap}
.card-link span{font-size:18px}
.library-empty{margin-bottom:20px}
.library-empty>svg{width:48px;height:48px;margin-bottom:22px;color:#91a998}
.empty-state.library-empty p{max-width:440px;margin-inline:auto;line-height:1.8;font-size:14px}
.empty-state{padding:56px 20px;border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);background:var(--surface);text-align:center}
.empty-state h1{margin:12px 0 8px;color:var(--text);font-size:clamp(1.35rem,5vw,1.7rem);font-weight:820;letter-spacing:-.03em;line-height:1.35}
.empty-state h2{margin:0 0 8px;color:var(--text);font-size:20px;font-weight:800;letter-spacing:-.02em}
.empty-state p{margin:0}
.empty-state a{display:inline-flex;margin-top:16px;font-weight:700}
.pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:32px;color:var(--muted);font-size:14px}

/* 상세 */
.library-detail{padding-top:0;background:#f8faf8}
.detail-heading{text-align:left;padding:24px 0 28px}
.detail-back{display:inline-flex;align-items:center;gap:8px;min-height:32px;margin-bottom:19px;color:var(--muted);font-size:12px;font-weight:650}
.detail-heading h1{margin:13px 0 12px;font-size:32px;font-weight:800;line-height:1.4}
.detail-heading>p{max-width:780px;font-size:15px;line-height:1.75}
.detail-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:20px;color:var(--muted);font-size:12px}
.detail-meta strong,.detail-meta time{margin-left:7px;color:#3c5143;font-weight:500}
.detail-meta__access{color:var(--primary-dark)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.panel .panel-heading h2{margin:0}
.file-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:6px;background:var(--primary-soft);color:var(--primary-dark);font-size:12px;font-weight:700}
.preview-group-label{color:var(--muted);font-size:12px;text-align:right;overflow-wrap:anywhere}
.panel.downloads{position:sticky;top:100px;border-top:3px solid #3b7650}
.downloads .download-group{margin:0 0 4px;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.download-help{margin:0;font-size:12px}
.download-note{display:flex;align-items:flex-start;gap:7px;margin:6px -24px -24px;padding:16px 20px;border-top:1px solid var(--border);border-radius:0 0 13px 13px;background:#f6f8f6;color:var(--muted);font-size:11px;line-height:1.6}
.download-note svg{width:16px;height:16px;flex:none}
.form-guide{margin:0 0 20px}
.resource-description{max-width:860px;margin:0}
.resource-description>:first-child,.group-description>:first-child{margin-top:0}
.resource-description>:last-child,.group-description>:last-child{margin-bottom:0}
.form-guide .rich-content h2{font-size:16px;letter-spacing:-.02em}
.form-guide .rich-content h3{font-size:15px}
.group-description{margin:18px 0 0;padding-top:18px;border-top:1px solid var(--border)}
.group-tabs{display:flex;gap:6px;margin:0 0 24px;padding:0 0 14px;border-bottom:1px solid var(--border);overflow-x:auto}
.group-tabs a{flex:none;min-width:92px;padding:11px 20px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:#526158;font-size:14px;font-weight:650;text-align:center;white-space:nowrap}
.group-tabs a:hover{color:var(--primary);background:var(--primary-soft);text-decoration:none}
.group-tabs [aria-current],.group-tabs [aria-current]:hover{border-color:#254e35;color:#fff;background:#254e35;font-weight:700}
.group-panel{margin-bottom:24px;scroll-margin-top:96px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"preview downloads";gap:20px;align-items:start}
.preview-panel{grid-area:preview}
.downloads{grid-area:downloads}
.panel{padding:24px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0}
.panel h2{margin:0 0 12px;font-size:19px;font-weight:800;letter-spacing:-.03em}
.panel h3{margin:24px 0 10px;font-size:16px;font-weight:750}
.role-tabs{display:flex;gap:8px}
.role-tabs button{min-height:44px;padding:8px 18px;border:1px solid var(--border);border-radius:9px;color:var(--muted);background:var(--surface);font-weight:700;cursor:pointer}
.role-tabs [aria-pressed=true]{border-color:var(--primary);color:var(--primary-dark);background:var(--primary-soft)}
.pdf-selector{display:block;margin:12px 0;color:var(--muted);font-size:13px}
.pdf-selector select{margin-top:5px}
.preview-caption{margin:12px 0 0;font-size:12px}
.preview-image-link{display:block;position:relative;cursor:zoom-in}
.preview-image-link::after{content:"확대 보기";position:absolute;top:12px;right:12px;padding:6px 10px;border:1px solid var(--border);border-radius:7px;color:var(--primary-dark);background:rgba(255,255,255,.95);font-size:12px;font-weight:700}
.preview-image-link:hover{text-decoration:none}
.preview-panel .empty-state{padding:30px 20px;margin:0;font-size:14px}
.preview-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.preview-actions .button{min-height:40px;padding:8px 16px;font-size:13px}
iframe{width:100%;height:600px;border:1px solid var(--border);border-radius:12px;background:#f4f6f5}
.file-list{list-style:none;margin:20px 0 0;padding:0}
.file-list li{display:flex;gap:12px;padding:18px 0;border-top:1px solid var(--border)}
.file-info{flex:1;min-width:0}
.file-format{align-self:flex-start;padding:7px;border:1px solid var(--border);border-radius:6px;color:var(--primary-dark);font-size:11px;font-weight:750}
.file-list [data-file-format=PDF] .file-format{border-color:#f0dfd9;background:#fdf5f1;color:#a0644c}
.file-list [data-file-format=XLSX] .file-format{border-color:#d6e7dc;background:#f0f7f2;color:#397451}
.file-list [data-file-format=HWP] .file-format,.file-list [data-file-format=DOCX] .file-format{border-color:#d9e3f0;background:#f2f6fb;color:#4d6d98}
.file-list strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.file-list p{margin:5px 0;color:var(--muted);font-size:12px}
.file-actions{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;font-weight:700}
.file-actions a{padding:5px 0}
.file-actions [data-download]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;margin-top:7px;padding:8px 12px;border:1px solid #cfdfd3;border-radius:7px;background:#f3f8f4;color:var(--primary-dark);font-size:12px}
.file-actions [data-download]:hover{border-color:var(--primary);background:var(--primary-soft);text-decoration:none}
.file-actions [data-download] svg{width:17px;height:17px;flex:none}
.rich-content{font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.rich-content table{display:block;overflow-x:auto;border-collapse:collapse;max-width:100%}
.rich-content th,.rich-content td{padding:8px;border:1px solid var(--border)}
.rich-content pre{white-space:pre-wrap}
.source-panel{margin-top:24px}
.source-panel h2{font-size:16px}
.source-panel dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;margin:0;font-size:14px}
.source-panel dt{color:var(--muted)}
.source-panel dd{margin:0}
.preserve-lines{white-space:pre-wrap}
.notice{padding:12px 18px;border:1px solid #f0e0b4;border-radius:10px;color:#6b5320;background:#fff8e6;font-size:14px}
.back-link{margin-top:26px;font-size:14px;font-weight:700}

/* 홈 하단 시작 안내 — HomeLanding.vue / home-landing.scss 와 같은 구성 */
.final-cta-section{position:relative;isolation:isolate;overflow:hidden;padding-block:58px;background:#193d28 url('/forms/brand/20221016_161057.jpg') center 48%/cover}
.final-cta-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(19,50,31,.84),rgba(25,61,40,.62)),linear-gradient(0deg,rgba(12,26,18,.18),rgba(12,26,18,.18))}
.final-cta-content{color:#fff;text-align:center}
.final-cta-content h2{margin:0 0 12px;font-size:clamp(1.7rem,7vw,2.35rem);font-weight:700;letter-spacing:-.04em}
.final-cta-content h2 strong{color:#a5d85d}
.final-cta-content p{margin:0 0 25px;color:rgba(255,255,255,.83)}
.final-cta-content .primary-cta{display:inline-flex;min-width:180px;min-height:50px;align-items:center;justify-content:center;padding:12px 24px;border-radius:9px;color:#fff;background:linear-gradient(135deg,var(--primary),#38a24f);box-shadow:0 10px 22px rgba(47,145,71,.22);font-size:16px;font-weight:750;transition:transform 160ms ease,box-shadow 160ms ease}
.final-cta-content .primary-cta:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(47,145,71,.28);text-decoration:none}
@media(min-width:960px){.final-cta-section{padding-block:72px}}

/* 푸터 — SiteFooter.vue 와 같은 구성 */
.site-footer{width:100%;padding-block:44px;color:#c6d0c9;background:#1d2a34}
.footer-grid{display:grid;gap:32px}
.footer-brand img{width:min(200px,72vw);height:auto}
.footer-brand p{margin:8px 0 0;color:#95a49a;font-size:12px}
.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px}
.footer-links a{display:flex;min-height:44px;align-items:center;padding:4px;color:#d2d9d4;font-size:14px}
.footer-links a:hover{color:#fff;text-decoration:none}
.footer-company{display:grid;gap:4px}
.footer-company strong{margin-bottom:4px;color:#f0f4f1;font-size:13px}
.footer-company p,.footer-company address{margin:0;color:#b5c0b9;font-size:12px;font-style:normal;line-height:1.6}
.footer-escrow{display:flex;align-items:center}
.footer-escrow a{display:inline-flex;flex:0 0 auto}
.footer-escrow img{display:block}
.footer-legal{display:grid;gap:20px;margin-top:34px;padding-top:24px;border-top:1px solid rgba(255,255,255,.13)}
.footer-policy-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.footer-policy-links a{color:#d4dcd6;font-size:12px;line-height:1.5}
.footer-policy-links a:hover{color:#fff;text-decoration:none}
.footer-policy-links .green-map-link{padding:5px 11px;border-radius:999px;color:#e8f7eb;background:rgba(81,165,96,.22)}
.footer-legal small{color:#849188;font-size:11px;line-height:1.6}

@media(min-width:600px){
  .container,.site-breadcrumbs{width:min(calc(100% - 48px),1180px)}
  .footer-grid{grid-template-columns:1.25fr 1fr}
}
@media(min-width:960px){
  .header-inner{min-height:80px}
  .brand img{width:176px}
  .desktop-nav{display:flex}
  .menu{display:none}
  .footer-grid{grid-template-columns:1.15fr .85fr 1.9fr auto;align-items:start}
  .footer-escrow{flex-direction:column;align-items:center;text-align:center}
  .footer-legal{grid-template-columns:minmax(0,1fr) auto;align-items:center}
}
@media(max-width:900px){
  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .library-steps{min-width:245px;padding-left:24px}
  .library-heading{gap:24px}
  .detail-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"downloads" "preview"}
  .panel.downloads{position:static}
}
@media(max-width:600px){
  .page-heading{padding:10px 0 22px}
  .page-heading p{font-size:15px}
  .library-heading{grid-template-columns:minmax(0,1fr);padding:28px 0 24px}
  .library-heading h1{font-size:30px}
  .library-heading__description{font-size:13px}
  .library-steps{display:none}
  .search-panel{gap:10px;padding:6px 6px 6px 12px}
  .search-panel__icon{width:19px;height:19px}
  .search-panel input[type=search]{font-size:13px}
  .search-panel .button{min-width:58px;padding-inline:12px}
  .category-nav{flex-wrap:nowrap;gap:6px;margin-right:-16px;padding:14px 16px 18px 0;overflow-x:auto;scrollbar-width:none}
  .category-nav::-webkit-scrollbar{display:none}
  .category-nav a{flex:none;min-height:40px;padding:8px 13px;font-size:12px}
  .catalog-toolbar{gap:12px;margin:22px 0 16px}
  .catalog-toolbar p{display:none}
  .resource-grid{grid-template-columns:minmax(0,1fr)}
  .resource-card__preview{height:174px}
  .resource-card__body{padding:20px 20px 0}
  .panel{padding:20px}
  .detail-heading{padding:18px 0 24px}
  .detail-heading h1{font-size:25px}
  .detail-heading>p{font-size:14px}
  .detail-meta{gap:8px 18px;margin-top:16px;font-size:11px}
  .detail-back{margin-bottom:14px}
  .download-note{margin-inline:-20px;margin-bottom:-20px;padding:14px 18px}
  .group-tabs{flex-wrap:nowrap;overflow-x:auto}
  .group-tabs a{min-width:105px;white-space:nowrap}
  .source-panel dl{grid-template-columns:80px minmax(0,1fr)}
  iframe{height:420px}
  .empty-state{padding:40px 16px}
}
@media(prefers-reduced-motion:reduce){
  *{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Preview responses are derived images; original documents only leave via the download gate. */
.form-preview-image{display:block;max-width:100%;height:auto;margin:18px auto;border:1px solid var(--line,#dfe7e1);background:#fff}
.preview-image-link .form-preview-image{width:100%;margin:0;border:0}
[data-pdf-host]{max-height:650px;overflow:auto;background:#eef2ef;border-radius:10px}
.preview-modal-open{overflow:hidden}
.preview-modal{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;color:var(--text);background:#eef2ef;overflow:hidden}
.preview-modal[open]{display:flex;flex-direction:column}
.preview-modal::backdrop{background:rgba(23,34,27,.5)}
.preview-modal-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;padding:14px 24px;border-bottom:1px solid var(--border);background:var(--surface)}
.preview-modal-header>div{min-width:0}
.preview-modal-header h2{overflow:hidden;margin:0;font-size:16px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.preview-modal-header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.preview-modal-close{flex:none;gap:8px}
.preview-modal-close span{font-size:22px;line-height:1}
.preview-modal-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px}
.preview-modal-body .form-preview-image{width:100%;max-width:1000px;margin:0 auto}
@media(max-width:600px){.preview-modal-header{gap:12px;padding:12px 16px}.preview-modal-body{padding:16px}}
.image-preview-page{padding-block:36px}
.image-preview-page .form-preview-image{max-width:min(100%,1000px)}
.download-page{min-width:0;background:#f4f7f5}
.download-main{padding:0;background:transparent}
.download-container{width:min(calc(100% - 48px),1120px);margin:0 auto;padding:32px 0 56px;background:transparent}
.download-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.download-brand{display:block;flex:none;width:150px}
.download-brand img{display:block;width:100%;height:auto}
.download-back{color:var(--muted);font-size:13px;font-weight:600;text-decoration:none}
.download-back:hover{color:var(--primary-dark)}
.download-status{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:32px;padding:24px 28px;margin:0;border-color:#dce5de}
.download-overview,.download-process{min-width:0}
.download-process{padding-left:32px;border-left:1px solid #e5ece7}
.download-status noscript{grid-column:1/-1}
.download-eyebrow{font-size:12px;font-weight:750;color:var(--primary-dark)}
.download-heading h1{font-size:22px;letter-spacing:-.04em;line-height:1.4;margin:6px 0}
.download-heading>p{margin:0;color:var(--muted);font-size:12px}
.download-file{display:flex;align-items:center;gap:14px;margin-top:16px;padding:16px;border:1px solid #e2e9e4;border-radius:10px;background:#f7f9f7}
.download-file-icon{display:grid;place-items:center;flex:none;width:48px;color:#669574}
.download-file-icon svg{width:36px;height:44px}
.download-file-info{min-width:0}
.download-file-label{margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:600}
.download-filename{margin:0;font-size:14px;font-weight:700;line-height:1.65;overflow-wrap:anywhere;word-break:keep-all}
.download-file-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:10px;font-size:12px;color:var(--muted)}
.download-format{padding:2px 7px;border:1px solid #dce5df;border-radius:4px;background:#fff;color:#486351;font-size:10px;font-weight:750;letter-spacing:.03em}
.download-feedback{display:flex;align-items:center;gap:16px;min-height:76px}
.download-indicator{display:grid;place-items:center;flex:none;width:56px;height:56px;border:1px solid #d4e6d9;border-radius:50%;background:var(--primary-soft);color:var(--primary-dark)}
.countdown-number{font-size:28px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}
.download-success-icon{display:none;width:32px;height:32px}
[data-download-state="started"] .countdown-number{display:none}
[data-download-state="started"] .download-success-icon{display:block}
[data-download-state="error"] .download-indicator{background:#fff6ec;border-color:#ecdac5;color:#94601f}
.download-feedback-copy{min-width:0}
.download-feedback h2{font-size:17px;letter-spacing:-.025em;line-height:1.5;margin:0 0 5px}
.download-feedback p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;overflow-wrap:anywhere}
.download-status progress{display:block;width:calc(100% - 72px);height:5px;margin:12px 0 0 72px;border:0;border-radius:4px;overflow:hidden;accent-color:var(--primary);background:#edf1ee}
.download-status progress::-webkit-progress-bar{background:#edf1ee;border-radius:4px}
.download-status progress::-webkit-progress-value{background:var(--primary);border-radius:4px}
.download-status progress::-moz-progress-bar{background:var(--primary);border-radius:4px}
.download-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf1ee;margin-top:20px;padding-top:16px;min-height:45px}
.download-actions p{margin:0;color:var(--muted);font-size:11px;line-height:1.7;word-break:keep-all}
.download-actions .button{flex:none;min-height:40px;font-size:12px;padding:9px 16px}
.download-status .button:disabled{opacity:.55;cursor:default;pointer-events:none}
.service-promotion{margin-top:38px}
.promotion-heading{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px 28px;margin-bottom:22px}
.promotion-label{grid-column:1/-1;color:var(--primary-dark);font-size:11px;font-weight:750;letter-spacing:.06em;margin:0}
.promotion-heading h2{font-size:30px;letter-spacing:-.045em;line-height:1.4;margin:0}
.promotion-intro{margin:0 0 3px;color:var(--muted);font-size:13px;line-height:1.9}
.promotion-feature{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);overflow:hidden;border-radius:20px;color:#fff;background:radial-gradient(ellipse at 100% 90%,#397958 0%,transparent 62%),#163f31}
.promotion-feature-copy{position:relative;z-index:1;padding:36px 0 36px 40px}
.promotion-tag{display:block;font-size:11px;font-weight:650;letter-spacing:.02em}
.promotion-feature .promotion-tag{color:#c1dec9}
.promotion-feature h3{margin:16px 0;font-size:38px;font-weight:750;letter-spacing:-.045em;line-height:1.3}
.promotion-feature h3 strong{color:#cced89;font-weight:750}
.promotion-feature-copy>p{margin:0;color:#d2e3d8;font-size:14px;line-height:1.85;word-break:keep-all}
.promotion-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 28px;padding:0;list-style:none}
.promotion-benefits li{padding:5px 10px;border:1px solid rgba(215,239,223,.23);border-radius:5px;color:#e5f1e9;font-size:11px}
.promotion-feature-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px}
.promotion-cta{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:48px;padding:12px 20px;border-radius:8px;background:#d4f394;color:#153c2c;font-size:14px;font-weight:750;transition:background 160ms ease}
.promotion-cta:hover{background:#e4ffaf;text-decoration:none}
.promotion-start{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#f1f7f3;font-size:12px;font-weight:650}
.promotion-product{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:54px 30px 0 20px;overflow:hidden}
.promotion-product::before{position:absolute;content:"";width:360px;height:360px;border:1px solid rgba(219,244,228,.15);border-radius:50%;background:rgba(219,244,228,.05)}
.promotion-product-label{position:absolute;top:29px;left:0;right:0;text-align:center;font-size:11px;letter-spacing:.03em;color:#c5dfcf}
.promotion-product img{position:relative;align-self:flex-end;display:block;width:290px;max-width:100%;height:auto;margin-bottom:-20px;filter:drop-shadow(0 14px 22px rgba(4,25,15,.25));transform:rotate(4deg)}
.promotion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.promotion-card{position:relative;isolation:isolate;display:flex;min-width:0;overflow:hidden;border:1px solid #dae4d9;border-radius:16px;background:#edf2e6}
.promotion-card-image{position:absolute;z-index:-2;right:0;top:0;width:52%;height:100%;object-fit:cover;object-position:center}
.promotion-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#edf2e6 40%,rgba(237,242,230,.96) 55%,rgba(237,242,230,.3) 100%)}
.promotion-card-copy{display:flex;flex-direction:column;align-items:flex-start;min-height:280px;padding:28px 30px}
.promotion-card .promotion-tag{color:#54684a}
.promotion-card h3{margin:12px 0;font-size:25px;letter-spacing:-.04em;line-height:1.35}
.promotion-card p{margin:0 0 22px;font-size:12px;line-height:1.9;color:#4e614a;word-break:keep-all}
.promotion-link{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:42px;margin-top:auto;padding:10px 14px;border:1px solid rgba(57,89,49,.22);border-radius:7px;background:rgba(255,255,255,.8);font-size:12px;font-weight:750;color:#294b2c;transition:background 160ms ease}
.promotion-link:hover{background:#fff;text-decoration:none}
.promotion-link>span{font-size:16px}
.promotion-forest{border-color:#dbe5e6;background:#e9f0ef}
.promotion-forest::before{background:linear-gradient(90deg,#e9f0ef 40%,rgba(233,240,239,.95) 55%,rgba(233,240,239,.25) 100%)}
.promotion-forest .promotion-tag,.promotion-forest p{color:#4f6863}
.promotion-forest .promotion-link{color:#2d524b;border-color:rgba(45,82,75,.22)}
@media(max-width:900px){
  .download-status{grid-template-columns:1fr;gap:22px}.download-process{padding:20px 0 0;border-left:0;border-top:1px solid #e5ece7}
  .download-actions{flex-wrap:nowrap}
  .promotion-feature h3{font-size:32px}.promotion-feature-copy{padding:30px 0 30px 28px}.promotion-product{padding-inline:18px}
  .promotion-feature-copy>p{font-size:12px}.promotion-card-copy{padding:24px}.promotion-card h3{font-size:22px}
  .promotion-card p br{display:none}
}
.download-page [hidden],.image-preview-page [hidden]{display:none!important}
@media(max-width:600px){
  .download-container{width:calc(100% - 32px);padding-top:24px}
  .download-header{gap:12px;margin-bottom:20px}.download-brand{width:122px}.download-back{font-size:11px}
  .download-status{padding:20px;gap:18px}.download-heading h1{font-size:21px}.download-heading>p{font-size:12px;word-break:keep-all}
  .download-file{gap:12px;margin-top:16px;padding:14px}.download-file-icon{width:30px;align-self:flex-start;padding-top:22px}.download-file-icon svg{width:28px;height:36px}
  .download-filename{font-size:14px}.download-file-meta{gap:6px 8px;font-size:11px}
  .download-feedback{gap:14px;align-items:flex-start;min-height:0}.download-indicator{width:48px;height:48px}.countdown-number{font-size:24px}
  .download-feedback h2{font-size:16px}.download-feedback p{font-size:12px}.download-status progress{width:calc(100% - 62px);margin-left:62px}
  .download-actions{align-items:flex-start;flex-direction:column;gap:12px;margin-top:20px;padding-top:16px}.download-actions p{font-size:11px}.download-actions .button{width:100%}
  .service-promotion{margin-top:32px}.promotion-heading{grid-template-columns:1fr;gap:10px;margin-bottom:20px}.promotion-heading h2{font-size:27px}.promotion-intro{font-size:12px;line-height:1.8}
  .promotion-feature{grid-template-columns:1fr;border-radius:16px}.promotion-feature-copy{padding:28px 24px 0}.promotion-feature h3{font-size:31px}.promotion-feature-copy>p br{display:none}
  .promotion-benefits{gap:6px;margin:20px 0}.promotion-benefits li{font-size:10px;padding:4px 7px}.promotion-feature-actions{gap:8px 16px}.promotion-cta{gap:14px;padding:12px 16px;font-size:13px}
  .promotion-product{height:245px;margin-top:20px;padding:0 22px}.promotion-product-label{top:12px;font-size:10px}.promotion-product img{width:240px;align-self:flex-start;margin-top:42px;margin-bottom:0;transform:rotate(5deg)}.promotion-product::before{width:280px;height:280px;top:28px}
  .promotion-grid{grid-template-columns:1fr;gap:14px;margin-top:14px}.promotion-card-copy{min-height:260px;padding:24px}.promotion-card h3{font-size:23px}.promotion-card p{max-width:240px}.promotion-card p br{display:initial}.promotion-card-image{width:55%}
}
