.module-hero{display:grid;grid-template-columns:1.2fr 1fr;min-height:290px;border-radius:24px;background:var(--forest,#26382c);color:#fff;overflow:hidden;margin:28px 0}.module-hero-copy{padding:38px}.module-hero h2{font-size:clamp(25px,3vw,40px);margin:16px 0}.module-hero p{color:#e4e1d5;max-width:430px;line-height:1.6}.module-hero img{width:100%;height:100%;object-fit:cover;max-height:370px}.module-hero .eyebrow{color:#d6d7c1}.module-row{margin:32px 0}.episode-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,32%);overflow-x:auto;gap:20px;padding:8px 2px 20px;scroll-snap-type:x proximity}.episode-rail>article{scroll-snap-align:start}.module-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.module-heading h2{margin:4px 0 8px;font-size:24px}.module-heading p{margin:0}.episode-number{position:absolute;top:12px;left:12px;background:#fffef2ed;border-radius:8px;padding:6px 10px;font-size:11px;font-weight:700;letter-spacing:.05em;color:#26382c}.episode-next{padding:18px;margin:24px 0;background:#f0f1e7;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:15px}.episode-list{display:grid;gap:9px;margin-top:24px}.episode-list a{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;background:#f5f4ef;font-size:13px}.episode-list a.current{outline:1px solid #868c6c}.episode-list img{width:72px;height:48px;object-fit:cover;border-radius:7px}.episode-list strong{display:block}.episode-list small{color:#73766c}.document-viewer{margin:25px 0}.flipbook{background:#eeede5;border:1px solid #e0dfd3;border-radius:20px;overflow:hidden}.flipbook header{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #d8d8ca;background:#f9f8f1}.flipbook h3{font-size:17px;margin:5px 0 0;overflow-wrap:anywhere}.flipbook .eyebrow{font-size:9px}.book-stage{overflow:auto;min-height:260px;max-height:85vh;padding:25px 16px;background:radial-gradient(ellipse at top,#f8f7f0,#dbdbce);outline-offset:-4px}.book-spread{display:flex;align-items:flex-start;justify-content:center;min-width:min-content;transform-origin:center}.book-sheet{margin:0;background:white;box-shadow:0 7px 25px #27332224;position:relative}.book-sheet canvas{display:block;max-width:none}.book-sheet figcaption{position:absolute;bottom:8px;right:10px;font:10px Arial;color:#85867d}.book-spread.double .book-sheet:first-child{border-right:1px solid #ccc;box-shadow:inset -4px 0 8px #0001,0 7px 25px #27332224}.book-status{text-align:center;padding:20px;color:#5c6257}.flipbook footer{display:flex;justify-content:center;align-items:center;gap:14px;padding:16px;flex-wrap:wrap;background:#f9f8f1}.book-prev svg{transform:rotate(180deg)}.book-page{width:50px;border:1px solid #d6d7c9;padding:7px;border-radius:6px;background:white;color:#26382c;font:inherit;text-align:center}.flipbook footer label{font-size:12px}.book-zoom{display:flex;align-items:center;gap:6px;border-left:1px solid #ddded0;padding-left:12px}.book-scale{font-size:11px}.book-text{padding:15px 20px;border-top:1px solid #d8d8ca;font-size:13px;line-height:1.7}.book-text div{white-space:pre-wrap;padding-top:15px}.book-hint{font-size:11px;text-align:center;padding:0 15px 15px;color:#73766c;margin:0}.flipbook:fullscreen{overflow:auto;max-width:100vw;border-radius:0}.flipbook:fullscreen .book-stage{max-height:calc(100vh - 210px)}.news-read-action{margin:30px 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sidebar nav{min-height:0;overflow:auto}.sidebar .nav-link{padding-top:10px;padding-bottom:10px}.sidebar-bottom{flex-shrink:0}.thumbnail-resource{width:70px;height:54px;border-radius:10px;object-fit:cover;flex-shrink:0}.resource-row>span:nth-child(2){min-width:0}.resource-row strong{overflow-wrap:anywhere}@media(max-width:700px){.module-hero{grid-template-columns:1fr;position:relative;min-height:320px}.module-hero-copy{position:relative;z-index:1;padding:28px;background:linear-gradient(90deg,#26382cf2,#26382c88)}.module-hero img{position:absolute;inset:0;max-height:none}.episode-rail{grid-auto-columns:83%;gap:14px}.module-heading{align-items:flex-start}.episode-next{align-items:flex-start;flex-direction:column}.flipbook header{padding:16px}.book-stage{padding:16px 6px}.flipbook footer{gap:8px;padding:12px 8px}.book-zoom{padding-left:6px}.flipbook footer .button-secondary{padding:9px 12px}.thumbnail-resource{width:54px;height:50px}}

/* PDF reader: keep the rendered page in place while its neighbour is prepared. */
.flipbook .book-stage{position:relative;scrollbar-gutter:stable;overflow-anchor:none}
.flipbook .book-pages{position:relative;margin:0 auto;isolation:isolate;max-width:none}
.flipbook .book-pages>.book-spread{position:absolute;top:0;left:50%;width:max-content;min-width:0;transform:translateX(-50%);perspective:1800px;gap:0}
.flipbook .book-current{z-index:1}
.flipbook .book-outgoing{z-index:2;pointer-events:none}
.flipbook .book-sheet{flex:0 0 auto;overflow:hidden;backface-visibility:hidden;box-shadow:0 5px 20px #27332220}
.flipbook .book-spread.double .book-sheet:first-child{border-right:0}
.flipbook .book-spread.double .book-sheet:first-child:after{content:"";position:absolute;inset:0 0 0 auto;width:18px;background:linear-gradient(90deg,transparent,#35412c12);pointer-events:none}
.flipbook .book-spread.double .book-sheet:last-child:after{content:"";position:absolute;inset:0 auto 0 0;width:14px;background:linear-gradient(90deg,#35412c0b,transparent);pointer-events:none}
.flipbook .book-pages.is-turning .book-sheet{will-change:clip-path,transform,opacity}
.flipbook .book-turn-shadow{position:absolute;inset:0 auto 0 0;width:48px;background:linear-gradient(90deg,transparent,#28392124,transparent);pointer-events:none}
.flipbook .book-status{position:absolute;z-index:3;top:14px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:10px 15px;border:1px solid #dcdfd0;border-radius:12px;background:#fbfaf4f5;box-shadow:0 3px 14px #26382c12;font-size:12px;line-height:1.5;pointer-events:none}
.flipbook .book-stage:has(.book-pages:empty) .book-status{top:100px}
@media(prefers-reduced-motion:reduce){.flipbook .book-pages.is-turning .book-sheet{will-change:auto}.flipbook .book-turn-shadow{display:none}}
/* Direct resources: cover, destination and meeting details at a glance. */
.link-card-direct{padding:0;overflow:hidden;gap:0;align-items:stretch}
.link-card-direct>.link-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.link-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px;flex:1;min-width:0}
.link-card-copy h2,.agenda-copy h2{overflow-wrap:anywhere}
.link-card-copy p{margin:0 0 7px;line-height:1.7}
.link-card-copy .text-button,.link-pending{margin-top:auto;min-height:40px}
.link-pending{display:flex;align-items:center;font-size:12px;color:var(--muted)}
.agenda-list{display:grid;gap:20px}
.agenda-card{display:flex;align-items:flex-start;gap:26px;padding:24px}
.agenda-cover{width:180px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;flex-shrink:0}
.agenda-copy{min-width:0;flex:1}
.agenda-copy>.eyebrow{font-size:9px;margin:0 0 8px;display:block}
.agenda-copy h2{font-size:24px;line-height:1.25;margin:0}
.agenda-schedule{display:flex;gap:12px 22px;flex-wrap:wrap;margin:15px 0;font-size:13px;font-weight:600}
.agenda-schedule>span{display:flex;align-items:center;gap:8px}
.agenda-schedule svg{flex-shrink:0;color:var(--olive)}
.agenda-copy>p{font-size:13px;line-height:1.7;color:var(--muted);margin:10px 0 0}
.agenda-copy>.text-button{margin-top:16px;min-height:40px;font-size:12px}
@media(max-width:760px){.link-card-copy{padding:21px}.agenda-card{flex-direction:column;gap:20px;padding:20px}.agenda-cover{width:100%;aspect-ratio:16/9}.agenda-copy h2{font-size:23px}.agenda-schedule{font-size:12px;gap:10px 18px}.agenda-copy>p{font-size:12px}}

/* The photograph viewer shares the public Academy's cinema treatment. */
body:has(.modal-photo[open]){overflow:hidden}
.modal.modal-photo{--photo-space:220px;width:min(900px,calc((100dvh - var(--photo-space)) * var(--photo-ratio,.666667)),calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:0;overflow:auto;background:transparent;color:#f6f6ef;color-scheme:dark;box-shadow:none;scrollbar-width:thin}
.modal.modal-photo::backdrop{background:radial-gradient(ellipse at 50% 45%,#20271fdf,#0c120fed);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.modal-photo>.modal-header{position:static;gap:18px;padding:0 0 20px;border:0;background:transparent;align-items:center}
.modal-photo>.modal-header>div{min-width:0}
.modal-photo .modal-header .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.2em;color:#c2caae;margin:0 0 7px}
.modal-photo .modal-header h2{font-size:clamp(25px,2.4vw,32px);font-weight:700;line-height:1.1;letter-spacing:-.015em;text-wrap:balance;overflow-wrap:anywhere;color:#f6f6ef}
.modal-photo .modal-header>.icon-button{width:44px;height:44px;flex-shrink:0;border-radius:50%;border:1px solid #f3f6eb40;background:#edf1e709;color:#f6f6ef;transition:background .25s,border-color .25s,rotate .35s ease}
.modal-photo .modal-header>.icon-button:hover{background:#edf1e71a;border-color:#edf1e77a;rotate:90deg}
.modal-photo :focus-visible{outline:2px solid #d0d9bd;outline-offset:-3px}.modal-photo .modal-header h2:focus{outline:none}
.modal-photo>.modal-body{padding:0}
.photo-lightbox-stage{border:1px solid #e8efdb24;border-radius:12px;overflow:hidden;background:#101510;box-shadow:0 25px 100px #0006,0 3px 18px #0003;touch-action:pan-y pinch-zoom}
.modal-photo .lightbox-image{display:block;width:100%;height:auto;max-height:calc(100dvh - var(--photo-space));object-fit:contain;border-radius:0}
.modal-photo .lightbox-download{min-height:44px;margin:16px auto 0;padding:10px 16px;border:1px solid #f3f6eb40;background:#edf1e709;color:#f6f6ef;font-size:12px}
.modal-photo .lightbox-download:hover{background:#edf1e71a;border-color:#edf1e77a}
.photo-lightbox-error{padding:24px;font-size:13px;line-height:1.6;color:#f6f6ef}
@media(max-width:760px){.modal.modal-photo{--photo-space:220px;width:min(calc(100vw - 32px),calc((100dvh - var(--photo-space)) * var(--photo-ratio,.666667)));max-height:calc(100dvh - 32px)}.modal-photo>.modal-header{gap:12px;padding-bottom:16px}.modal-photo .modal-header h2{font-size:24px}.modal-photo .modal-header .eyebrow{font-size:8px;letter-spacing:.15em}.photo-lightbox-stage{border-radius:9px}}
@media(max-height:520px) and (orientation:landscape){.modal.modal-photo{--photo-space:150px;max-height:calc(100dvh - 20px)}.modal-photo>.modal-header{padding-bottom:8px;gap:8px}.modal-photo .modal-header h2{font-size:16px}.modal-photo .modal-header .eyebrow{display:none}.modal-photo .lightbox-download{margin-top:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.modal-photo .modal-header>.icon-button{transition:none}.modal-photo .modal-header>.icon-button:hover{rotate:none}}

.modal.modal-photo:has(.photo-gallery-nav){--photo-space:280px}
.photo-gallery-nav{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px}
.photo-gallery-nav button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #f3f6eb40;border-radius:50%;background:#edf1e709;color:#f6f6ef}
.photo-gallery-nav button:hover:not(:disabled){background:#edf1e71a;border-color:#edf1e77a}
.photo-gallery-nav button:disabled{opacity:.3;cursor:default}
.photo-previous svg{transform:rotate(180deg)}
.photo-gallery-position{min-width:42px;text-align:center;color:#c2caae;font-size:12px;font-variant-numeric:tabular-nums}
@media(max-height:520px) and (orientation:landscape){.modal.modal-photo:has(.photo-gallery-nav){--photo-space:210px}.photo-gallery-nav{margin-top:10px;gap:16px}}

/* Vertical Academy lessons and first access. */
.video-player{width:min(100%,390px);aspect-ratio:9/16;margin:24px auto 0;background:#142019}
.video-player video{display:block;width:100%;height:100%;aspect-ratio:9/16;object-fit:contain;max-height:none}
.content-card .card-image{aspect-ratio:16/9;max-height:none}
.content-card .card-image img{object-fit:cover}
.video-watermark{max-width:90%;overflow-wrap:anywhere;font-size:10px;pointer-events:none}
.welcome-video{display:block;max-width:100%;width:auto;height:min(65dvh,650px);aspect-ratio:9/16;margin:auto;object-fit:contain;background:#142019;border-radius:14px}
.legal-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin-top:24px}
.onboarding-shell{min-height:100dvh;background:var(--cream,#f8f8f2);padding:40px 20px}
.onboarding-card{max-width:760px;margin:auto;padding:40px}
.onboarding-brand{display:flex;gap:14px;align-items:center;margin-bottom:30px;font-size:14px;letter-spacing:1px}
.onboarding-brand img{object-fit:contain}.onboarding-brand small{display:block;font-size:8px;letter-spacing:2px}
.onboarding-card h1{font-size:32px;margin:20px 0}.onboarding-card details{margin:20px 0}
.legal-copy{white-space:pre-wrap;line-height:1.8;font-size:14px;margin:24px 0;overflow-wrap:anywhere}
.legal-scroll{max-height:42dvh;overflow:auto;padding:20px;background:#f4f5ee;border:1px solid #dedfd5;border-radius:12px}
.onboarding-card form{display:grid;gap:16px;margin-top:24px}.onboarding-card .check-option input{width:18px;height:18px;flex:none}
@media(max-width:600px){.onboarding-shell{padding:16px}.onboarding-card{padding:24px}.onboarding-card h1{font-size:27px}.video-player{width:100%;max-width:350px}.content-card .card-image{max-height:none}}

.home-resume-grid.is-carousel .card-image{aspect-ratio:16/9;max-height:none}.library-grid .card-image{aspect-ratio:16/9;max-height:none}

.event-summary{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:14px;margin-bottom:19px}
.event-summary>.event-date{width:48px;height:60px;margin:0}
.event-summary .event-copy>h3{margin-top:0;line-height:1.3}

/* Encontro: data e título juntos, descrição a toda a largura. */
.event-summary .event-copy{display:contents}
.event-summary .event-copy>p{grid-column:1/-1;margin:0!important}
.calendar-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}
.calendar-actions>span,.calendar-actions>small{flex-basis:100%}
.calendar-actions>small{color:var(--muted);font-size:11px}
@media(min-width:1100px){
.module-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.module-card{max-width:none;width:100%}
.main-content>.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.video-detail{display:grid;grid-template-columns:minmax(360px,480px) minmax(0,1fr);gap:24px 40px;align-items:start}
.video-detail>div:first-child{display:contents}
.video-detail .detail-labels,.video-detail h1,.video-detail .detail-description,.video-detail #content-body,.video-detail #content-files,.video-detail .episode-next{grid-column:2;margin:0}
.video-detail #content-media{grid-column:1;grid-row:1/8;position:sticky;top:24px;align-self:start;min-width:0}
.video-detail .video-player{width:100%;max-width:480px;margin:0}
.video-detail .video-status{flex-wrap:wrap;gap:12px}
.video-detail>.detail-aside{grid-column:1/-1;position:static;width:100%;text-align:left;margin:0}
.video-detail .episode-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}

@media(min-width:1100px){
.agenda-copy{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:28px;align-items:start}
.agenda-copy>*{grid-column:1}
.agenda-copy>.calendar-actions{grid-column:2;grid-row:1/7;margin:0;padding-left:24px;border-left:1px solid var(--line)}
.video-detail>.detail-aside{grid-column:2;grid-row:7}
.video-detail .episode-list{grid-template-columns:1fr}
.video-detail{grid-template-rows:repeat(6,min-content) minmax(min-content,1fr)}
}

.pdf-reader{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--paper)}.pdf-reader header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px}.pdf-reader h3{margin:6px 0 0;font-size:17px}.pdf-status{font-size:11px;color:#70796b;margin:0;padding:0 22px 12px}.pdf-scroll{height:430px;max-height:55dvh;overflow:auto;overscroll-behavior:contain;padding:16px;background:#e9ece3;scrollbar-gutter:stable}.pdf-page{margin:0 auto 18px;background:white;max-width:900px;box-shadow:0 2px 8px #16251918;min-height:80px}.pdf-page canvas{display:block}.pdf-page figcaption{font-size:11px;text-align:center;padding:8px}.pdf-page details{padding:10px;font-size:12px}.pdf-page details p{line-height:1.6;white-space:pre-wrap}.pdf-reader:fullscreen{border:0;border-radius:0}.pdf-reader:fullscreen .pdf-scroll{height:calc(100dvh - 115px);max-height:none}

/* Local review: first access, compact lessons and organized documents. */
.academy-footer{width:100%;max-width:1450px;margin:auto auto 0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 38px;border-top:1px solid var(--line);color:var(--muted)}
.academy-footer-brand{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6;color:var(--green)}
.academy-footer-brand img{flex:none;width:32px;height:24px;object-fit:contain}.academy-footer-brand strong{font-weight:600}.academy-footer-brand small{display:block;font-size:10px;color:var(--muted)}
.academy-footer .legal-links{display:flex;justify-content:flex-end;align-items:center;gap:6px 20px;flex-wrap:wrap;margin:0;font-size:11px}.academy-footer .legal-links a{display:inline-flex;align-items:center;min-height:36px;color:var(--muted);text-decoration:none;white-space:nowrap}.academy-footer .legal-links a:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}
.academy-footer.academy-footer-compact{flex-direction:column;align-items:flex-start;padding:24px 0 0;margin-top:32px;gap:10px}.academy-footer-compact .legal-links{justify-content:flex-start}.onboarding-card>.academy-footer{margin-bottom:0}
.modal.modal-photo.modal-welcome{--photo-ratio:.5625;--photo-space:205px;min-width:min(280px,calc(100vw - 32px))}.modal-welcome .welcome-video{width:100%;height:auto;max-height:calc(100dvh - 205px);aspect-ratio:9/16;object-fit:contain;border-radius:12px;background:#111a15}.welcome-video-caption{padding-top:14px;display:flex;align-items:center;gap:12px;color:#d9dfd1}.welcome-video-caption p{font-size:12px;line-height:1.6;flex:1;margin:0}.welcome-video-caption .button-secondary{font-size:11px;background:#edf1e709;border-color:#f3f6eb40;color:#f6f6ef;white-space:nowrap}
.video-grid,.library-grid.module-lessons{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-resume-grid>.content-card:nth-child(n+3){display:block}.video-card .card-image,.library-grid .video-card .card-image{aspect-ratio:9/16;max-height:none}.video-card .card-image img{object-fit:cover}.video-card .card-copy{padding:16px}.video-card .card-copy h3,.library-grid .video-card .card-copy h3{font-size:17px;line-height:1.3}.video-card .card-copy p{font-size:11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.video-card .card-foot{flex-wrap:wrap;gap:9px;font-size:10px}.video-card .card-meta{font-size:8px;gap:5px}.video-card .card-meta>span{min-width:0;overflow-wrap:anywhere}.video-card .episode-number{font-size:9px;padding:6px 8px}.video-card .play-round{width:36px;height:36px}
.document-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 0 16px;color:var(--muted)}.document-breadcrumb button{font-size:12px;min-height:36px;overflow-wrap:anywhere}.document-breadcrumb [aria-current=page]{color:var(--green);font-weight:600}.document-folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.document-folder{display:flex;gap:13px;align-items:center;text-align:left;padding:18px;border:1px solid #dce2d1;border-radius:14px;background:#edf0e5;color:var(--green);min-width:0}.document-folder>span{flex:1;min-width:0;overflow-wrap:anywhere}.document-folder strong{display:block;font-size:14px}.document-folder small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.document-folder>svg{flex-shrink:0}.document-folder:hover{background:#e3e9d9;border-color:#a9b399}.document-folder-empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}.document-folder-grid:empty{display:none}.lesson-document-name p{margin:8px 0 0;line-height:1.6}
.pdf-carousel header{gap:16px}.pdf-carousel header>div{min-width:0;overflow-wrap:anywhere}.pdf-carousel header .button-secondary{padding:8px 12px;min-height:40px;flex-shrink:0;font-size:11px}.pdf-carousel-stage{position:relative;display:flex;align-items:center;justify-content:center;height:min(58dvh,620px);min-height:250px;background:#e9ece3;touch-action:pan-y;overflow:hidden}.pdf-slide{display:flex;justify-content:center;align-items:center;margin:12px 44px;min-width:0;max-width:calc(100% - 88px);max-height:calc(100% - 24px);color:var(--muted);font-size:13px;text-align:center}.pdf-slide canvas{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 3px 20px #14201912}.pdf-slide[aria-busy=true]{opacity:.55}.pdf-carousel-stage>.icon-button{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--green);box-shadow:0 2px 12px #14201918}.pdf-carousel-prev{left:6px}.pdf-carousel-next{right:6px}.pdf-carousel-prev svg{transform:rotate(180deg)}.pdf-carousel-stage>.icon-button:disabled{opacity:.3;cursor:default}.pdf-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px}.pdf-position{font-size:12px;font-weight:600;color:var(--green);font-variant-numeric:tabular-nums}.pdf-carousel-text{padding:0 20px 16px;font-size:11px;color:var(--muted)}.pdf-carousel-text p{max-height:150px;overflow:auto;line-height:1.7;padding-top:10px}
@media(max-width:1100px){.video-grid,.library-grid.module-lessons{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-footer{flex-wrap:wrap;gap:10px 24px}}
@media(max-width:760px){.academy-footer{padding:24px 22px 100px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}.academy-footer .legal-links{justify-content:flex-start;gap:4px 18px;font-size:11px}.academy-footer.academy-footer-compact{padding-bottom:0}.academy-footer-brand{font-size:12px}.video-grid,.library-grid.module-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-card .card-copy{padding:12px}.video-card .card-copy h3,.library-grid .video-card .card-copy h3{font-size:14px}.video-card .card-copy p{font-size:10px;-webkit-line-clamp:2}.video-card .card-foot>span{display:none}.video-card .card-foot a{min-height:32px}.document-folder-grid{grid-template-columns:1fr}.pdf-carousel header{padding:15px;gap:8px}.pdf-carousel h3{font-size:14px}.pdf-carousel header .button-secondary span{display:none}.pdf-carousel-controls{padding:12px 15px}.pdf-carousel-controls .muted{font-size:10px}.pdf-carousel-stage{height:min(55dvh,500px)}.modal-welcome .modal-header h2{font-size:23px}.welcome-video-caption{flex-wrap:wrap}.welcome-video-caption p{flex-basis:100%}}

/* A shared translucent play cue for lesson covers and the paused player. */
.video-card .play-round,.video-play-button{position:absolute;top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);width:64px;height:64px;display:grid;place-items:center;padding:0;border:1px solid #ffffff59;border-radius:50%;color:#fff;background:#ffffff0d;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);box-shadow:0 3px 16px #0002;transition:background .2s,border-color .2s,box-shadow .2s}
.video-card .play-round{pointer-events:none}.video-card .play-round svg,.video-play-button svg{width:25px;height:25px;margin:0;fill:currentColor;stroke:none}.video-play-button{width:76px;height:76px;z-index:2;cursor:pointer}.video-play-button[hidden]{display:none}
.video-card .card-image:hover .play-round,.video-card .card-image:focus-visible .play-round,.video-play-button:hover{background:#ffffff1a;border-color:#ffffff99;box-shadow:0 4px 20px #0003}.video-play-button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(max-width:760px){.video-card .play-round{width:50px;height:50px}.video-card .play-round svg{width:21px;height:21px}.video-play-button{width:66px;height:66px}}
@media(prefers-reduced-motion:reduce){.video-card .play-round,.video-play-button{transition:none}}

.home-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}.home-module-grid .module-card{width:100%;max-width:none;min-width:0}.home-module-grid .module-card-copy{padding:16px}.home-module-grid .module-card-copy h2{font-size:18px;line-height:1.3}.home-module-grid .module-card-copy>.muted{font-size:11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-module-grid .module-card-progress{font-size:9px}.home-module-grid .eyebrow{font-size:8px}.home-module-footer{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px}.home-module-controls{display:none}.home-module-grid:focus-visible{outline:2px solid var(--olive);outline-offset:4px}
@media(max-width:760px){.home-module-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:#a1a78d transparent}.home-module-grid:has(>.module-card:only-child){grid-auto-columns:100%}.home-module-grid .module-card{scroll-snap-align:start}.home-module-footer{justify-content:space-between;margin-top:12px}.home-module-controls{display:flex;gap:8px}.home-module-controls .icon-button{border:1px solid var(--line);border-radius:50%;width:38px;height:38px}.home-module-controls [data-module-prev] svg{transform:rotate(180deg)}.home-module-controls button:disabled{opacity:.35}.home-module-footer>.button-secondary{font-size:11px}.home-module-grid .module-card-copy h2{font-size:19px}}

.home-completion{display:flex;align-items:flex-start;gap:20px;padding:30px;border:1px solid #dce3cf;border-radius:20px;background:linear-gradient(135deg,#ecf0e2,#f6f7ef)}.home-completion-icon{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;border-radius:50%;background:#dfe7cf;color:var(--green)}.home-completion h2{margin:6px 0 14px;font-size:28px}.home-completion p{line-height:1.7;max-width:520px}.home-completion .button-secondary{margin-top:10px}.home-completion .text-button{margin:10px 0 0 16px}.home-modules .module-card-copy>.progress-track:last-child{margin-bottom:0}@media(max-width:760px){.home-completion{padding:24px;flex-direction:column;gap:14px}.home-completion h2{font-size:25px}.home-completion .text-button{margin-left:0;display:flex}}

#module-transition[hidden]{display:none}#module-transition{flex-wrap:wrap}#module-transition p{margin:6px 0 0}

/* Local review: learning carousel and simplified resources. */
.home-lesson-controls{display:none}.home-lesson-controls [data-lesson-prev] svg{transform:rotate(180deg)}
.document-detail .detail-description{max-width:none;width:100%}
.material-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.product-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.product-link-card{display:flex;flex-direction:column;gap:18px;min-width:0;padding:20px}
.product-link-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#f4f4ed;border-radius:12px}
.product-link-card h2{font-size:20px;overflow-wrap:anywhere;margin:0}.product-link-card .button-secondary{margin-top:auto;align-self:flex-start}
@media(min-width:701px){
 .document-catalog.resource-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;background:none;padding:0;border:0;box-shadow:none}
 .document-catalog .resource-row{display:flex;flex-direction:column;align-items:stretch;gap:16px;background:white;border:1px solid #e4e5da;border-radius:20px;overflow:hidden;padding:0 0 20px}
 .document-catalog .resource-row .thumbnail-resource{width:100%;height:auto;aspect-ratio:16/10;border-radius:0;object-fit:cover}
 .document-catalog .resource-row>span{padding:0 20px}.document-catalog .resource-row>svg{align-self:flex-end;margin:0 20px}
 .document-catalog .resource-row em{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .document-catalog>.empty-state{grid-column:1/-1}
 .document-detail .lesson-document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .document-detail .lesson-document{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px;margin:0}
 .document-detail .lesson-document-name{flex:1;min-width:0;overflow-wrap:anywhere}.document-detail .lesson-document-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}
}
@media(max-width:1000px) and (min-width:701px){.document-catalog.resource-list,.product-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .home-resume-grid.video-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 12px)/2);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:2px 0 12px;scrollbar-width:none}
 .home-resume-grid::-webkit-scrollbar{display:none}.home-resume-grid>.content-card{scroll-snap-align:start;min-width:0}.home-resume-grid>.empty-state{grid-column:span 2}
 .home-lesson-controls{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.home-lesson-controls .icon-button{background:white;border:1px solid #dde0d2;border-radius:50%;width:40px;height:40px}.home-lesson-controls .icon-button:disabled{opacity:.35}
 .product-link-grid{grid-template-columns:1fr}.product-link-card{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:12px}.product-link-card img{grid-row:span 2}.product-link-card h2{font-size:18px}.product-link-card:not(:has(img)){grid-template-columns:1fr}
 .material-heading-actions{justify-content:flex-start}.lesson-materials>.section-heading{flex-wrap:wrap}.document-detail .lesson-document-list{display:grid;grid-template-columns:1fr}
}

/* Keep onward navigation after the lesson and its materials. */
@media(min-width:1100px){
  .video-detail>#module-transition{grid-column:2;grid-row:8}
}
.link-cover-link{display:block;overflow:hidden;aspect-ratio:16/9}
.link-cover-link>.link-cover{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.link-cover-link:hover>.link-cover{transform:scale(1.025)}
.link-cover-link:focus-visible{outline:3px solid var(--olive);outline-offset:-3px}
.home-modules>.section-heading>.text-button{flex-shrink:0;white-space:nowrap}
.home-module-footer:has(.home-module-controls){justify-content:flex-end}
.home-module-footer:not(:has(.home-module-controls)){display:none}
@media(min-width:761px){.home-module-footer{display:none}}
@media(min-width:701px){
  .module-detail-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .module-detail-hero>img{max-height:370px;min-height:0;mask-image:linear-gradient(to right,transparent,#000 28%);-webkit-mask-image:linear-gradient(to right,transparent,#000 28%)}
}
@media(max-width:760px){
  .home-main>.welcome-banner{min-height:330px}
  .home-main>.welcome-banner .welcome-copy{width:52%;padding:24px 0 24px 18px}
  .home-main>.welcome-banner .welcome-copy h2{font-size:clamp(23px,5.9vw,30px);line-height:1.15;text-wrap:balance}
  .home-main>.welcome-banner .welcome-copy>p{font-size:10.5px;line-height:1.65}
  .home-main>.welcome-banner .welcome-copy>.button{font-size:10px;padding:10px;gap:5px}
  .home-main>.welcome-banner .welcome-copy>.button svg{flex-shrink:0;width:14px}
  .home-main>.welcome-banner .welcome-photo{width:48%;object-position:55% 26%}
  .home-main>.welcome-banner:after{background:linear-gradient(90deg,#344631 52%,#34463100 67%)}
  .home-main>.welcome-banner .welcome-signature{display:none}
}
@media(prefers-reduced-motion:reduce){.link-cover-link>.link-cover{transition:none}}

.staff-menu-button{flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#eef0e5;color:var(--green)}
.staff-menu>p{margin:0 0 18px}
.staff-area-switcher{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.staff-area-switcher>a{flex:1;min-width:140px;font-size:12px;justify-content:flex-start}
.staff-area-switcher>.selected{background:var(--green);border-color:var(--green);color:white}
.staff-menu-sections{display:grid;gap:10px}
.staff-menu-section{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.staff-menu-section>summary{display:flex;align-items:center;gap:12px;padding:16px;list-style:none;cursor:pointer;font-weight:600}
.staff-menu-section>summary::-webkit-details-marker{display:none}
.staff-menu-section>summary>svg:last-child{margin-left:auto}
.staff-menu-section[open]>summary{background:#eef0e5}
.staff-menu-section[open]>summary>svg:last-child{transform:rotate(90deg)}
.staff-menu-section>.more-nav{padding:8px 12px}
.staff-menu-section .nav-link{font-size:13px;min-height:44px}
.staff-menu-account{border-top:1px solid var(--line);margin-top:22px;padding-top:12px}
@media(max-width:760px){
  .staff-navigation .topbar{gap:10px;padding-inline:16px}
  .staff-navigation .topbar-actions{gap:6px;flex:none}
  .staff-navigation .mobile-search{display:none}
  .staff-navigation .topbar .wordmark>span{font-size:10px}
  .staff-navigation .topbar .wordmark small{font-size:5px}
  .staff-navigation .topbar .wordmark img{width:26px;height:30px}
  .staff-navigation .topbar .wordmark{gap:7px}
  .staff-navigation .academy-footer{padding-bottom:28px}
  .staff-area-switcher{gap:8px}
  .staff-area-switcher>a{flex-basis:100%;min-height:44px}
}


.download-progress{position:fixed;inset:0;margin:auto;width:min(430px,calc(100% - 36px));max-height:calc(100dvh - 36px);overflow:auto;padding:36px 28px;border:1px solid var(--line,#e1e4d9);border-radius:24px;background:var(--paper,#f8f8f2);color:var(--ink,#25392c);text-align:center;box-shadow:0 24px 90px #17201830}
.download-progress::backdrop{background:#17221980;backdrop-filter:blur(4px)}
.download-progress h2{font-size:24px;line-height:1.25;margin:0 0 12px}
.download-progress p{font-size:15px;line-height:1.6;margin:0 0 24px;color:var(--muted,#777f6d)}
.download-progress-spinner{width:48px;height:48px;margin:0 auto 24px;border:3px solid #89916c30;border-top-color:#89916c;border-radius:50%;animation:download-progress-spin .85s linear infinite}
@keyframes download-progress-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.download-progress-spinner{animation:none}}

@media(max-width:760px){.main-content>.community-news-grid{grid-template-columns:minmax(0,1fr);gap:20px}.community-news-grid>.news-card{width:100%;min-width:0}}

.nav-link.logout,.more-logout,.profile-card>.profile-logout{color:#a13f36;border-radius:10px}
.nav-link.logout:hover,.more-logout:hover,.profile-card>.profile-logout:hover{color:#802f28;background:#fff0ed}
.nav-link.logout:focus-visible,.more-logout:focus-visible,.profile-card>.profile-logout:focus-visible{outline:2px solid #a13f36;outline-offset:3px;background:#fff0ed}

.pdf-carousel header>.pdf-carousel-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;overflow:visible}
.pdf-carousel-expand{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;flex-shrink:0}
.pdf-fullscreen-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:var(--paper,#f8f8f2);color:var(--ink,#25392c);overflow:hidden}
.pdf-fullscreen-dialog::backdrop{background:#172219cc}
.pdf-fullscreen-dialog>.pdf-carousel{display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0}
.pdf-fullscreen-dialog .pdf-carousel>header{flex-shrink:0;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.pdf-fullscreen-dialog .pdf-carousel-stage{flex:1;min-height:0;height:auto}
.pdf-fullscreen-dialog .pdf-carousel-controls{flex-shrink:0;padding-bottom:max(14px,env(safe-area-inset-bottom))}
body:has(.pdf-fullscreen-dialog[open]){overflow:hidden}

.academy-install{display:flex;align-items:flex-start;gap:16px;margin:20px 0;padding:20px}
.academy-install>img{flex-shrink:0;border-radius:12px}
.academy-install p{margin:6px 0 12px;color:var(--muted,#66715f);font-size:13px}
.academy-install-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.academy-install-help p{line-height:1.7;margin:0 0 18px}
@media(max-width:420px){.academy-install{padding:16px;gap:12px}.academy-install>img{width:36px;height:36px}}
