/* Scoped document-library and global post-tag polish. */
body.fl38-editorial :is(.entry-tags,.post-tags,.tag-links,.entry-footer .entry-taxonomies,.wp-block-post-terms.taxonomy-post_tag) a,body.fl38-editorial a[rel~="tag"]{display:inline-flex!important;align-items:center;gap:5px;padding:6px 12px!important;background:#e5eff8!important;color:#0d3459!important;border:1px solid transparent!important;border-radius:999px!important;font:500 13px/1.4 Poppins,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;transition:background .18s,color .18s;}
body.fl38-editorial :is(.entry-tags,.post-tags,.tag-links,.entry-footer .entry-taxonomies,.wp-block-post-terms.taxonomy-post_tag) a:hover,body.fl38-editorial a[rel~="tag"]:hover{background:#ffdd84!important;color:#0d3459!important;}
body.fl38-editorial a[rel~="tag"]:focus-visible{outline:2px solid #176a9b;outline-offset:3px;}
.fl49-doc-page .fl49-old{display:none!important;}.fl49-doc-page .fl49-hero{background:#e5eff8 url('info-wave.svg') center bottom/100% 100% no-repeat;color:#0d3459;}.fl49-hero-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:30px;padding:24px 30px 48px;box-sizing:border-box;}.fl49-hero-art{width:145px;height:135px;object-fit:contain;flex:none;}.fl49-hero-copy{min-width:0;}.fl49-eyebrow{font:600 12px/1.4 Poppins,Arial,sans-serif;color:#176a9b;letter-spacing:.06em;}.fl49-hero h1{font:700 clamp(27px,3vw,40px)/1.2 Poppins,Arial,sans-serif!important;color:#0d3459!important;margin:8px 0!important;overflow-wrap:anywhere;}.fl49-hero p{margin:6px 0;color:#49637a;font-size:14px;}
body.fl49-doc-page .fl49-shell,body.fl49-doc-page .fl49-doc-main{background:transparent!important;box-shadow:none!important;border:0!important;margin-block-start:0!important;min-width:0;grid-template-columns:minmax(0,1fr)!important;}.fl49-doc-page #secondary{display:none!important;}.fl49-doc-page .fl49-doc-main{max-width:1160px!important;width:100%!important;margin-inline:auto!important;}.fl49-doc-page .fl49-doc-entry{padding:18px 24px 34px!important;max-width:100%!important;box-sizing:border-box;min-width:0;}.fl49-doc-page :is(.content-container,.site-container,.content-wrap):has(.fl49-doc-main){grid-template-columns:minmax(0,1fr)!important;}
.fl49-doc-page .fl49-native-table{width:100%;border-collapse:collapse;}.fl49-doc-page .fl49-native-table th{background:#e5eff8!important;color:#0d3459!important;padding:10px!important;}.fl49-doc-page .fl49-native-table td{padding:10px!important;color:#385974;}.fl49-doc-page .fl49-native-table a{color:#176a9b;}.fl49-doc-page .fl49-native-table.fl49-grouped{display:none!important;}.fl49-doc-list:empty{display:none;}.fl49-doc-list{box-sizing:border-box;margin:20px 0;color:#0d3459;}.fl49-list-head h2{font:700 23px/1.25 Poppins,Arial,sans-serif!important;margin:0 0 6px!important;}.fl49-list-head p{font-size:13px;color:#49637a;margin:0 0 14px;}.fl49-file{background:#fff;border:1px solid #e3e7ea;border-radius:14px;padding:15px 18px;margin:9px 0;box-shadow:0 2px 6px #0d345907;}.fl49-file-top{display:flex;align-items:center;justify-content:space-between;gap:15px;}.fl49-file-copy{min-width:0;flex:1;}.fl49-file h3{font:600 16px/1.35 Poppins,Arial,sans-serif!important;margin:0 0 5px!important;overflow-wrap:anywhere;}.fl49-file p{font-size:12px;color:#49637a;margin:0!important;}.fl49-actions{display:flex;gap:7px;flex-wrap:wrap;}.fl49-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid transparent!important;border-radius:9px!important;padding:8px 12px!important;background:#e5eff8!important;color:#0d3459!important;font:600 13px/1.25 Poppins,Arial,sans-serif!important;box-shadow:none!important;text-decoration:none!important;cursor:pointer;}.fl49-actions .fl49-gold{background:#ffbf32!important;}.fl49-actions :is(a,button):hover{background:#ffda7a!important;}.fl49-actions :is(a,button):focus-visible{outline:2px solid #176a9b;outline-offset:2px;}.fl49-preview-panel[hidden]{display:none!important;}.fl49-preview-panel{margin-top:14px;background:#edf4f8;padding:10px;border-radius:12px;}.fl49-preview-panel iframe{width:100%;height:clamp(380px,65vh,760px);border:0;background:white;display:block;}.fl49-newtab{display:inline-block;margin:0 0 8px;color:#176a9b;font-size:13px;}
@media(max-width:650px){.fl49-hero-inner{gap:12px;padding:18px 16px 35px;}.fl49-hero-art{width:78px;height:88px;}.fl49-hero h1{font-size:25px!important;}.fl49-doc-page .fl49-doc-entry{padding:12px!important;}.fl49-file{padding:13px;}.fl49-file-top{align-items:flex-start;flex-direction:column;gap:10px;}.fl49-actions{max-width:100%;}.fl49-preview-panel iframe{height:430px;}}

.fl49-file-top{gap:12px}.fl49-file{padding:12px 15px}.fl49-actions .fl49-download:not(.fl49-gold){background:#edf4f8!important}.fl49-file h3{font-size:15px!important}.fl49-actions{flex-shrink:0}@media(max-width:650px){.fl49-actions{flex-shrink:1}}

/* v0.4.11: grouped document controls, independent list/grid layouts. */
.fl49-native-control-hidden{display:none!important}
body:is(.fl49-kind-worksheet,.fl49-kind-assessment) .fl49-doc-entry :is(#ez-toc-container,.ez-toc-container,.lwptoc,.elementor-widget-table-of-contents,.wp-block-table-of-contents){display:none!important}
body:is(.fl49-kind-worksheet,.fl49-kind-assessment) .fl49-doc-entry > :is(h2,h3){font-size:clamp(19px,2.1vw,25px)!important;line-height:1.3!important;margin:12px 0 16px!important;border:0!important;padding:0!important;}
body:is(.fl49-kind-worksheet,.fl49-kind-assessment) .fl49-doc-entry :is([class*="catfolder"],[class*="catf-"]) > :is(h2,h3){font-size:20px!important;margin:8px 0 12px!important;line-height:1.3!important;}
.fl49-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 18px;flex-wrap:wrap}.fl49-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid #cddde9;border-radius:11px;padding:0 12px;flex:1;max-width:390px;min-width:0;color:#49637a;min-height:44px;box-sizing:border-box}.fl49-search input{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;padding:9px 0!important;width:100%;min-width:0;font:400 14px/1.4 Poppins,Arial,sans-serif!important;color:#0d3459!important;}.fl49-search:focus-within{outline:2px solid #176a9b;outline-offset:2px}.fl49-icon{display:inline-flex;flex:none;width:18px;height:18px;align-items:center;justify-content:center;}.fl49-icon svg{width:100%;height:100%;display:block;}.fl49-view-toggle{display:flex;gap:4px;background:#e5eff8;border-radius:11px;padding:4px;}.fl49-view-toggle .fl49-view-button{display:flex;align-items:center;justify-content:center;width:38px;height:36px;padding:0!important;background:transparent!important;color:#49637a!important;border:0!important;border-radius:8px!important;box-shadow:none!important;cursor:pointer;transition:background .18s,color .18s;}.fl49-view-toggle .fl49-view-button[aria-pressed=true]{background:#0d3459!important;color:white!important}.fl49-view-toggle .fl49-view-button:hover:not([aria-pressed=true]){background:#cddfeb!important;color:#0d3459!important}.fl49-view-toggle .fl49-view-button:focus-visible{outline:2px solid #176a9b;outline-offset:2px;}.fl49-cards.fl49-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px;align-items:start;}.fl49-grid .fl49-file{margin:0;height:auto;}.fl49-grid .fl49-file-top{flex-direction:column;align-items:flex-start;}.fl49-grid .fl49-file-copy{width:100%;}.fl49-file[hidden],.fl49-empty[hidden]{display:none!important}.fl49-empty{padding:16px;background:#fff;border-radius:12px;color:#49637a;font-size:14px}.fl49-file .fl49-file-meta{color:#49637a!important;font-size:12px!important;}.fl49-doc-list .fl49-actions :is(a,button){gap:6px;transition:background .18s,color .18s,transform .18s!important;}.fl49-doc-list .fl49-actions .fl49-download:not(.fl49-gold):hover,.fl49-doc-list .fl49-actions .fl49-preview:hover{background:#c9dfed!important;color:#0d3459!important;}.fl49-doc-list .fl49-actions .fl49-download.fl49-gold:hover{background:#eba91e!important;color:#0d3459!important}.fl49-doc-list .fl49-actions :is(a,button):hover{transform:translateY(-1px);}.fl49-doc-list .fl49-actions :is(a,button)::before,.fl49-doc-list .fl49-actions :is(a,button)::after{content:none!important;}.fl49-list-head p{color:#49637a!important;}.fl49-file h3{color:#0d3459!important;}
@media(max-width:650px){.fl49-toolbar{gap:8px}.fl49-search{flex:1 1 170px;max-width:none}.fl49-grid .fl49-file{padding:12px}.fl49-actions{gap:5px}.fl49-doc-list .fl49-actions :is(a,button){padding:8px 10px!important;}}
@media(prefers-reduced-motion:reduce){.fl49-doc-list .fl49-actions :is(a,button){transition:none!important;transform:none!important;}}

/* v0.4.12: dedicated record book and didactics resource presentation. */
.fl49-kind-record .fl49-hero-art.fl412-record-cover{width:122px;height:160px;object-fit:contain;border-radius:5px;filter:drop-shadow(0 6px 8px #0d345920);}
.fl412-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px;align-items:center;}
body.fl49-doc-page .fl412-cta{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 15px!important;border-radius:10px!important;border:1px solid transparent!important;font:600 14px/1.35 Poppins,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;transition:background .18s,color .18s;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
body.fl49-doc-page .fl412-primary{background:#ffbf32!important;color:#0d3459!important;}body.fl49-doc-page .fl412-primary:hover{background:#eba91e!important;color:#0d3459!important;}
body.fl49-doc-page .fl412-secondary{background:#edf4f8!important;color:#0d3459!important;border-color:#b9d1e3!important;}body.fl49-doc-page .fl412-secondary:hover{background:#c9dfed!important;}
.fl412-cta:focus-visible,.fl412-description summary:focus-visible{outline:2px solid #176a9b;outline-offset:3px;}.fl412-cta::before,.fl412-cta::after{content:none!important;}
.fl49-kind-record .fl49-doc-entry :is(#ez-toc-container,.ez-toc-container,.lwptoc,.elementor-widget-table-of-contents,.wp-block-table-of-contents){display:none!important;}
.fl412-description{margin:24px 0 12px;background:white;border:1px solid #dbe5eb;border-radius:16px;color:#0d3459;overflow:hidden;}.fl412-description summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:18px 20px;font:600 17px/1.4 Poppins,Arial,sans-serif;cursor:pointer;}.fl412-description summary::-webkit-details-marker{display:none}.fl412-description summary::after{content:'+';display:grid;place-items:center;background:#e5eff8;border-radius:50%;width:30px;height:30px;flex:none;font-size:23px;line-height:1}.fl412-description[open] summary::after{content:'−'}.fl412-description summary:hover{background:#f0f6fa}.fl412-description-body{padding:0 20px 20px;min-width:0;overflow-wrap:anywhere}.fl412-description-body img{max-width:100%;height:auto}.fl412-description-body hr{border:0;border-top:1px solid #e1e9ee;margin:18px 0;}
body:is(.fl49-kind-record,.fl49-kind-didactics) .fl49-doc-entry{scroll-margin-top:90px}body:is(.fl49-kind-record,.fl49-kind-didactics) .fl49-doc-entry :is(h2,h3,h4,iframe,._df_book,.df-container){scroll-margin-top:100px;}body:is(.fl49-kind-record,.fl49-kind-didactics) .fl49-doc-entry iframe{max-width:100%}
body.fl49-kind-record .fl49-doc-entry > :is(h2,h3),body.fl49-kind-didactics .fl49-doc-entry > :is(h2,h3){font-size:clamp(20px,2.2vw,27px)!important;margin:16px 0!important;}
@media(max-width:650px){.fl49-kind-record .fl49-hero-art.fl412-record-cover{width:80px;height:108px}.fl412-hero-actions{gap:6px}.fl412-description summary{padding:14px}.fl412-description-body{padding:0 14px 14px}.fl49-doc-page .fl412-cta{padding:8px 10px!important;font-size:12px!important;}}

/* 0.4.13: compact Record Book hero-to-preview transition. Only marked layout
   ancestors are reset; the original viewer and download blocks are untouched. */
body.fl38-editorial.fl49-kind-record .fl49-hero{display:block!important;margin:0!important;padding:0!important;min-height:0!important;}
body.fl38-editorial.fl49-kind-record .fl49-shell{margin-block:0!important;padding-block:0!important;min-height:0!important;row-gap:0!important;}
body.fl38-editorial.fl49-kind-record .fl49-doc-main{margin-block:0!important;padding-block:0!important;min-height:0!important;top:auto!important;transform:none!important;}
body.fl38-editorial.fl49-kind-record .fl49-doc-entry{margin-block:0!important;padding:22px 24px 34px!important;min-height:0!important;}
body.fl38-editorial.fl49-kind-record .fl49-doc-entry .fl413-preview-heading{font-size:clamp(20px,2.2vw,27px)!important;line-height:1.3!important;margin-block:0 10px!important;padding-block:0!important;border-inline-start:0!important;padding-inline-start:0!important;}
body.fl38-editorial.fl49-kind-record .fl49-doc-entry .fl413-preview-intro{margin-block:0 14px!important;line-height:1.55!important;font-size:15px!important;}
@media(max-width:650px){body.fl38-editorial.fl49-kind-record .fl49-doc-entry{padding:16px 13px 24px!important;}}
/* Kadence may set top padding on ID-based main containers. */
body.fl38-editorial.fl49-kind-record :is(#primary,#main,#content).fl49-shell,body.fl38-editorial.fl49-kind-record :is(#primary,#main,#content).fl49-doc-main{padding-block:0!important;margin-block:0!important;}
