@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');
:root{--navy:#14213d;--ink:#202735;--muted:#657084;--line:#dfe4ea;--paper:#f7f8fa;--panel:#fff;--coral:#e76f51;--coral-dark:#bf4c34;--coral-soft:#fbe5df;--teal:#2a9d8f;--teal-soft:#dff2ef;--gold:#f4b942;--shadow:0 14px 40px rgba(20,33,61,.08);--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--serif:'Newsreader',Georgia,serif;--mono:'DM Mono',ui-monospace,monospace}*{box-sizing:border-box}html{background:var(--paper)}body{margin:0;color:var(--ink);font-family:var(--sans);background:var(--paper);line-height:1.45}button,input,textarea,select{font:inherit}button{cursor:pointer}.site-header{height:72px;padding:0 max(28px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(247,248,250,.93);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);text-decoration:none}.brand img{width:38px;height:38px}.brand span{display:flex;flex-direction:column;line-height:1}.brand strong{font-size:15px;letter-spacing:-.02em}.brand small{font-family:var(--serif);font-size:15px;margin-top:3px;color:var(--coral-dark)}.header-status{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--gold)}.status-dot.online{background:var(--teal)}.status-dot.warning{background:var(--gold)}.status-dot.offline{background:var(--coral)}.page-shell{max-width:1280px;margin:0 auto;padding:72px 28px 60px}.intro{max-width:780px;margin-bottom:42px}.eyebrow{font-family:var(--mono);font-size:10px;line-height:1.2;letter-spacing:.13em;color:var(--coral-dark);font-weight:500;margin:0 0 12px;text-transform:uppercase}.intro h1{font-family:var(--serif);font-size:clamp(42px,5vw,70px);font-weight:500;line-height:.98;letter-spacing:-.045em;color:var(--navy);margin:0 0 20px;max-width:760px}.intro-copy{font-size:17px;line-height:1.6;color:var(--muted);max-width:650px;margin:0}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.form-column{display:flex;flex-direction:column;gap:16px}.panel,.summary-card,.future-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 18px rgba(20,33,61,.025)}.panel{padding:25px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.panel-heading>div:first-child{display:flex;align-items:flex-start;gap:14px}.panel-heading h2{font-size:16px;line-height:1.2;margin:0 0 4px;color:var(--navy);letter-spacing:-.02em}.panel-heading p{font-size:12px;color:var(--muted);margin:0}.step{font-family:var(--mono);font-size:11px;color:var(--coral-dark);background:var(--coral-soft);border-radius:6px;padding:5px 6px;line-height:1}.field-grid{display:grid;gap:16px}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.field span{font-weight:600;color:var(--ink)}.field b{color:var(--coral-dark)}.field input,.field select,.field textarea{width:100%;border:1px solid #d6dce4;border-radius:9px;background:#fbfcfd;color:var(--ink);padding:10px 11px;outline:none;transition:border-color .15s,box-shadow .15s;resize:vertical}.field input,.field select{height:42px}.field textarea{min-height:84px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--coral);box-shadow:0 0 0 3px var(--coral-soft);background:#fff}.field input::placeholder,.field textarea::placeholder{color:#a0a9b8}.span-2{grid-column:span 2}.hint{font-size:11px;color:var(--muted);line-height:1.4}.hidden{display:none!important}.workload-preview{display:flex;align-items:center;gap:12px;background:var(--teal-soft);border:1px solid #bfe4df;padding:13px 14px;border-radius:10px;margin-top:18px}.workload-icon{width:27px;height:27px;display:grid;place-items:center;background:var(--teal);color:white;border-radius:7px;font-family:var(--serif);font-size:17px}.workload-preview span:last-child{display:flex;flex-direction:column;gap:2px}.workload-preview strong{font-size:13px;color:#1c6259}.workload-preview small{font-size:11px;color:#397a73}.switch{display:inline-flex;align-items:center}.switch input{position:absolute;opacity:0}.switch span{width:40px;height:22px;background:#cfd6df;border-radius:20px;padding:3px;transition:.2s}.switch span:after{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.2s}.switch input:checked+span{background:var(--teal)}.switch input:checked+span:after{transform:translateX(18px)}.practice-fields.disabled{opacity:.48;pointer-events:none}.disabled-note{font-size:12px;color:var(--muted);margin:0}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:6px}.button{border:0;border-radius:9px;height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:700;transition:transform .15s,background .15s,opacity .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:wait}.button-primary{background:var(--navy);color:#fff}.button-primary:hover:not(:disabled){background:#20365f}.button-secondary{background:#fff;border:1px solid var(--line);color:var(--navy)}.button-arrow{font-size:18px;font-weight:400;line-height:1}.is-loading .button-arrow{display:none}.action-note{text-align:right;font-size:11px;color:var(--muted);margin:0}.sticky-card{position:sticky;top:94px;padding:24px}.summary-card h2{font-family:var(--serif);font-size:27px;line-height:1.05;font-weight:500;letter-spacing:-.025em;color:var(--navy);margin:0 0 18px}.summary-rule{width:100%;height:1px;background:var(--line);margin-bottom:5px}.summary-list{margin:0}.summary-list div{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f3}.summary-list dt{font-size:12px;color:var(--muted)}.summary-list dd{font-family:var(--mono);font-size:12px;color:var(--navy);margin:0}.formula-note{display:flex;gap:10px;margin-top:19px;background:#f5f1e8;border-radius:10px;padding:12px}.formula-note>span{font-family:var(--mono);font-size:12px;color:var(--coral-dark);padding-top:2px}.formula-note p{font-size:11px;line-height:1.45;color:#766d5f;margin:0}.formula-note strong{display:block;color:#5e5548;margin-bottom:2px}.future-card{padding:22px;margin-top:16px;background:var(--navy);color:#f6f0e6;border-color:var(--navy)}.future-icon{display:block;color:var(--coral);font-size:25px;margin-bottom:10px}.future-card h3{font-family:var(--serif);font-size:23px;line-height:1;margin:0 0 10px;font-weight:500}.future-card p{font-size:12px;line-height:1.6;color:#cad2e0;margin:0}.results-section{margin-top:76px;padding-top:42px;border-top:1px solid var(--line)}.results-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.results-header h2{font-family:var(--serif);font-size:40px;line-height:1;margin:0 0 8px;font-weight:500;color:var(--navy)}.results-header p:not(.eyebrow){margin:0;color:var(--muted);font-size:13px}.result-alert{font-size:12px;background:var(--teal-soft);border:1px solid #bfe4df;color:#1c6259;padding:12px 14px;border-radius:9px;margin-bottom:17px}.result-alert.error-alert{background:var(--coral-soft);border-color:#f1b9aa;color:#8e3724}.week-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.week-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;min-width:0;box-shadow:0 4px 18px rgba(20,33,61,.03)}.week-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.week-number{font-family:var(--mono);font-size:23px;color:var(--coral-dark)}.week-date{font-size:11px;color:var(--muted);text-align:right}.week-card h3{font-family:var(--serif);font-size:23px;line-height:1.06;font-weight:500;color:var(--navy);margin:0 0 10px}.week-objective{font-size:12px;color:var(--muted);line-height:1.5;min-height:54px;margin:0}.week-metrics{display:flex;gap:7px;margin:18px 0 12px}.week-metrics span{font-family:var(--mono);font-size:10px;color:var(--navy);background:#f1f3f6;padding:5px 7px;border-radius:5px}.tag-row{display:flex;flex-wrap:wrap;gap:5px;min-height:24px}.tag-row span{font-size:10px;color:var(--coral-dark);background:var(--coral-soft);padding:4px 6px;border-radius:5px}.week-download{display:flex;justify-content:space-between;width:100%;border:0;border-top:1px solid var(--line);background:none;padding:14px 0 0;margin-top:18px;color:var(--navy);font-weight:700;font-size:12px}.week-download span{font-size:17px;color:var(--coral)}.empty-state{display:flex;align-items:center;gap:14px;max-width:600px;margin:58px auto 0;color:var(--muted);justify-content:center}.empty-state p{font-size:13px;margin:0}.empty-mark{font-family:var(--mono);color:var(--coral-dark);border:1px solid #f1b9aa;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:11px}.site-footer{max-width:1280px;margin:0 auto;padding:24px 28px 38px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:10px;color:#8d97a7}.site-footer span:last-child{font-family:var(--mono);text-align:right}@media(max-width:900px){.workspace-grid{grid-template-columns:1fr}.summary-column{order:-1}.sticky-card{position:static}.week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.site-header{padding:0 17px}.page-shell{padding:48px 17px 40px}.intro h1{font-size:46px}.field-grid.two,.field-grid.three{grid-template-columns:1fr}.span-2{grid-column:auto}.form-actions{flex-direction:column-reverse;align-items:stretch}.button{width:100%}.results-header{align-items:flex-start;flex-direction:column}.week-grid{grid-template-columns:1fr}.site-footer{padding:24px 17px 32px;flex-direction:column}.site-footer span:last-child{text-align:left}}
.header-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:transparent;pointer-events:none}.header-progress span{display:block;height:100%;width:0;background:var(--coral);transition:width .25s ease}.results-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.week-arc{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;margin:-6px 0 12px;border-radius:999px;background:#e2eef5;color:#2c5b7a;font-family:var(--mono);font-size:9px;letter-spacing:.02em}.arc-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.arc-chip{padding:6px 9px;border:1px solid #d7e1e7;border-radius:999px;background:#eef4f7;color:#2c5b7a;font-size:10px}.week-card{position:relative;overflow:hidden}.week-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--coral-soft)}.week-card:hover{border-color:#bdc8d5;box-shadow:0 12px 30px rgba(20,33,61,.08)}.week-download{cursor:pointer}.week-download:hover{color:var(--coral-dark)}.panel-main{border-top:3px solid var(--coral)}.results-section{scroll-margin-top:92px}@media(max-width:620px){.results-actions{width:100%}.results-actions .button{width:100%}}


.recovery-bar,.draft-recovery{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:13px 16px;border:1px solid #cfe1df;border-radius:12px;background:#edf8f6;color:#275d58}.recovery-bar.is-warning{border-color:#f1cf8e;background:#fff7e5;color:#76530d}.recovery-bar.is-success{border-color:#bfe4df;background:#edf8f6}.recovery-copy{display:flex;align-items:center;gap:11px;min-width:0}.recovery-copy>div{display:flex;flex-direction:column;gap:2px}.recovery-copy strong{font-size:12px;color:var(--navy)}.recovery-copy small{font-size:11px;color:inherit}.recovery-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--teal);color:#fff;font-size:18px}.recovery-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.recovery-actions .button{height:36px;padding:0 11px;font-size:11px}.draft-recovery{border-color:#e9c77f;background:#fff7e5;color:#76530d}.draft-recovery strong{display:block;color:#5e4721;font-size:13px}.draft-recovery small{display:block;margin-top:3px;font-size:11px}.draft-recovery .button-primary{background:#76530d}.draft-recovery .button-secondary{background:#fffaf0;border-color:#e9c77f;color:#76530d}@media(max-width:680px){.recovery-bar,.draft-recovery{align-items:stretch;flex-direction:column}.recovery-actions{width:100%}.recovery-actions .button{flex:1}}
.academic-review-badge{background:#e5e0f3!important;color:#594b87!important}.reader-warning ul{margin:7px 0 0;padding-left:20px}
.reader-resource-media{width:min(100%,720px);margin:10px 0 12px;overflow:hidden;border:1px solid #dfe4ea;border-radius:10px;background:#eef1f3}.reader-resource-media iframe{display:block;width:100%;aspect-ratio:16/9;border:0}.reader-resource-media img{display:block;width:100%;max-height:420px;object-fit:contain;background:#fff}.reader-resource>div:last-child{display:flex;flex-direction:column;gap:3px}.reader-resource>div:last-child strong{color:var(--navy)}.reader-resource>div:last-child a{width:max-content}.reader-resource>div:last-child small{line-height:1.45}
/* Academic profile layout */
.academic-profile-box{margin-top:22px;padding:20px;border:1px solid #dfe4ea;border-radius:13px;background:#fbfcfd}
.profile-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e7ebef}
.profile-heading strong{display:block;color:var(--navy);font-size:14px;line-height:1.25;letter-spacing:-.01em}
.profile-heading small{display:block;color:var(--muted);font-size:11px;line-height:1.45}
.academic-profile-box .field-grid{column-gap:16px;row-gap:15px}
.academic-profile-box .field-grid + .field-grid{margin-top:16px}
.academic-profile-box .field{min-width:0}
.profile-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #e7ebef}
.profile-checks label{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:9px 10px;border:1px solid #e1e6eb;border-radius:9px;background:#fff;color:var(--ink);font-size:11px;line-height:1.4}
.profile-checks input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:var(--teal)}
@media(max-width:900px){.profile-checks{grid-template-columns:1fr}.academic-profile-box{padding:17px}}
@media(max-width:620px){.academic-profile-box{margin-top:18px;padding:15px}.academic-profile-box .field-grid + .field-grid{margin-top:14px}.profile-checks{gap:8px;margin-top:15px;padding-top:13px}}

.academic-inherited{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 10px;padding:12px;border:1px solid #dfe8e6;border-radius:10px;background:#f2f8f6}
.inherited-item{display:flex;flex-direction:column;gap:4px;min-width:0}
.inherited-item span{font-size:10px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.inherited-item strong{overflow:hidden;color:#275d58;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.inherited-note{display:block;margin:0 0 16px}
@media(max-width:900px){.academic-inherited{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.academic-inherited{grid-template-columns:1fr 1fr;gap:8px;padding:10px}.inherited-item strong{font-size:11px}}

/* Webpráticas síncronas: agenda e exportação separadas da aula-base */
.field-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.webpractice-schedule{margin:24px 0 4px;padding-top:20px;border-top:1px solid var(--line)}
.webpractice-schedule h3{margin:0 0 6px;color:var(--navy);font-family:var(--serif);font-size:25px}
.webpractice-schedule p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.schedule-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.schedule-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;border:1px solid #dfe4ea;border-radius:10px;background:#fbfcfd}
.schedule-item>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.schedule-item strong{color:var(--navy);font-size:13px}
.schedule-item span,.schedule-item small{color:var(--muted);font-size:11px}
.schedule-item .button{height:36px;padding:0 11px;flex:0 0 auto;font-size:11px}
@media(max-width:980px){.field-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.field-grid.four{grid-template-columns:1fr}.schedule-item{align-items:flex-start;flex-direction:column}.schedule-item .button{width:100%}}

/* Plano de recursos por semana */
.resource-plan-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin:18px 0 8px;color:var(--navy)}
.resource-plan-heading small{color:var(--muted);font-size:12px}
.resource-plan-weeks{display:grid;gap:8px}
.resource-plan-week{display:grid;grid-template-columns:100px repeat(4,minmax(110px,1fr));gap:8px;align-items:end;padding:12px;border:1px solid #e1e5e8;border-radius:10px;background:#fbfcfb}
.resource-plan-week-label{padding-bottom:9px;color:#43584b;font-size:12px;font-weight:700}
.resource-plan-week .field{margin:0}
.resource-plan-week .field span{font-size:10px}
.resource-plan-week input,.resource-plan-week select{min-height:36px;padding:8px;font-size:12px}
.resource-plan-week .resource-override::placeholder{color:#8a949e}
@media(max-width:860px){.resource-plan-week{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-plan-week-label{grid-column:1/-1;padding-bottom:0}}
@media(max-width:540px){.resource-plan-heading{display:block}.resource-plan-heading small{display:block;margin-top:4px}.resource-plan-week{grid-template-columns:1fr}}

/* Conferência manual persistente */
.review-panel{margin-top:12px;padding:12px 14px;border:1px solid #e9d8ac;border-radius:10px;background:#fff8e8;color:#76530d}
.review-panel summary{display:flex;flex-direction:column;gap:3px;cursor:pointer;list-style:none}
.review-panel summary::-webkit-details-marker{display:none}
.review-panel summary strong{color:#5e4721;font-size:12px}
.review-panel summary small{color:#806b43;font-size:11px;line-height:1.45}
.review-list{display:grid;gap:6px;margin-top:12px;max-height:390px;overflow:auto;padding-right:3px}
.review-row{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border:1px solid #eadfc7;border-radius:8px;background:#fffdf7;color:#5e5548;cursor:pointer}
.review-row:hover{border-color:#d6bd7c}
.review-row.is-marked{border-color:#bfe4df;background:#edf8f6;color:#275d58}
.review-row input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;accent-color:var(--teal)}
.review-row span{display:flex;flex-direction:column;gap:2px;min-width:0}
.review-row-copy{cursor:pointer;border-radius:5px}
.review-row-copy:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.review-row strong{font-size:11px;line-height:1.35;color:var(--navy)}
.review-row small{font-size:10px;line-height:1.35;color:inherit}
.review-item{display:grid;gap:5px}
.review-guidance{margin-left:35px;padding:12px;border:1px solid #c7e3df;border-radius:9px;background:#f4fbfa;color:#355c5a}
.review-guidance-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.review-guidance-header>strong{color:var(--navy);font-size:11px}
.review-guidance-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.review-guidance-actions .button{min-height:30px;padding:6px 9px;font-size:10px}
.review-guidance ul{margin:0 0 10px 17px;padding:0;font-size:10px;line-height:1.45}
.review-guidance li+li{margin-top:4px}
.review-prompt-field{display:grid;gap:5px}
.review-prompt-field>span{font-size:10px;font-weight:700;color:var(--navy)}
.review-prompt-field textarea{width:100%;min-height:170px;resize:vertical;padding:9px;border:1px solid #c9dfdc;border-radius:7px;background:#fff;color:#31474a;font:10px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}
.review-guidance-note{display:block;margin-top:7px;color:#58716f;font-size:10px;line-height:1.4}
@media(max-width:680px){.review-guidance-header{display:block}.review-guidance-actions{justify-content:flex-start;margin-top:8px}.review-guidance{margin-left:0}.review-guidance-actions .button{flex:1}}
.resource-review-panel{background:#fff3dc}
.practice-count-controls{margin-bottom:14px;padding:12px;border:1px solid #dfe8e6;border-radius:10px;background:#f7fbfa}
.practice-count-controls .field{margin:0}
.action-field{justify-content:flex-end}
.action-field .button{height:42px;width:max-content}
@media(max-width:620px){.practice-count-controls .action-field .button{width:100%}}

.week-approve{display:flex;justify-content:center;width:100%;border:1px solid #e9c77f;border-radius:8px;background:#fff7e5;padding:10px;color:#76530d;font-weight:700;font-size:11px;cursor:pointer}
.week-approve:hover{background:#ffefc7}
.week-approve.is-approved{border-color:#bfe4df;background:#edf8f6;color:#275d58}

/* Carga aberta por atividade e ponte pedagógica de recursos */
.time-breakdown{margin-top:16px;padding:18px;border:1px solid #e9e1d4;border-radius:14px;background:#fffdf8}.time-breakdown h3{margin:4px 0 8px}.breakdown-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.breakdown-summary span{padding:8px 10px;border-radius:999px;background:#f3efe8;color:#42505a;font-size:12px}.breakdown-summary strong{margin-right:4px}.load-weeks{display:grid;gap:8px}.load-week{border:1px solid #ece5dc;border-radius:10px;background:#fff}.load-week summary{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;cursor:pointer;color:#34434d}.load-week summary span{color:#7b8589;font-size:12px}.load-week ul{margin:0;padding:0 13px 12px;list-style:none}.load-week li{display:grid;grid-template-columns:minmax(170px,1fr) minmax(120px,1fr) auto;gap:10px;padding:8px 0;border-top:1px solid #f0ebe4;font-size:12px}.load-week li span{color:#69757b}.load-week li em{font-style:normal;font-weight:700;color:#a35445}.reader-time-breakdown{background:#f7fbfa;border-color:#d8ebe7}.reader-resource-bridge{margin:8px 0;color:#4a5d64;font-size:13px;line-height:1.55}.reader-resource-bridge::before{content:"Ligação com o estudo: ";font-weight:700;color:#2f625d}.reader-resource-media{margin-bottom:10px}
@media (max-width:760px){.load-week summary{display:block}.load-week summary span{display:block;margin-top:4px}.load-week li{grid-template-columns:1fr}.load-week li em{justify-self:start}}

.week-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}.week-actions .week-preview,.week-actions .week-download,.week-actions .week-download-full,.week-actions .week-download-quiz{flex:1;min-width:104px;height:40px;padding:0 10px;font-size:11px}.week-actions .week-download,.week-actions .week-download-full,.week-actions .week-download-quiz{margin-top:0;gap:6px}.week-actions .week-approve{flex:1 0 100%}

.week-status-detail{display:block;margin-top:7px;color:#8e3724;font-size:10px;line-height:1.4}.week-card .quality-badge.blocked{background:var(--coral-soft);color:#8e3724}.week-card .quality-badge.review{background:#fff3cf;color:#76530d}

/* Recurso contextual: a ponte textual e o vídeo pertencem ao mesmo ponto da aula. */
.reader-resource-inline{margin:18px 0 24px;padding:14px 16px;border-left:3px solid #d9876f;border-radius:0 12px 12px 0;background:#fbfaf7}
.reader-resource-context{display:flex;flex-direction:column;gap:6px}
.reader-resource-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}
.reader-resource-heading strong{color:var(--navy)}
.reader-resource-heading a{font-size:12px;width:max-content}
.reader-resource-inline .reader-resource-bridge{margin:4px 0 8px}
.reader-resource-inline .reader-resource-media{width:min(100%,760px);margin:2px 0 8px}
.reader-resource-inline small{line-height:1.45;color:#65747b}
@media (max-width:700px){.reader-resource-inline{padding:12px}.reader-resource-heading{gap:6px}}

/* Composição compatível com o ClassAtelier */
.composition-intro{max-width:920px}.composition-plan{display:grid;gap:18px}.composition-defaults{border:1px solid var(--line,#e3e4e8);border-radius:12px;overflow:hidden;background:var(--surface,#fff)}.composition-table-head,.composition-row{display:grid;grid-template-columns:minmax(220px,1.7fr) 110px 150px 110px;align-items:center;gap:12px;padding:10px 14px}.composition-table-head{background:#f7f5f1;color:#6d6b66;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.composition-row{border-top:1px solid #ecebe8}.composition-row input,.composition-row select,.composition-week-cell input,.composition-week-cell select{width:100%;min-height:34px;border:1px solid #d9d9de;border-radius:7px;padding:6px 8px;background:#fff;color:#252b38}.composition-label{display:flex;flex-direction:column;gap:3px}.composition-label small,.composition-week-heading small,.composition-week summary small{font-size:11px;color:#85838a}.composition-items{display:flex;align-items:center;gap:5px;font-size:10px;color:#777}.composition-items input{width:58px}.composition-week-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.composition-week-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:8px}.composition-week{border:1px solid #e4e1da;border-radius:10px;background:#fff}.composition-week summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;padding:10px 12px;font-weight:700}.composition-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.composition-week-cell{display:grid;gap:4px;font-size:10px;color:#777}.composition-week-cell span{min-height:25px}.composition-week-cell select{font-size:11px}.composition-week-cell input+input{margin-top:2px}@media (max-width:760px){.composition-table-head{display:none}.composition-row{grid-template-columns:1fr 74px 110px;gap:8px}.composition-row .composition-items{grid-column:2/-1}.composition-week-grid{grid-template-columns:1fr}.composition-week-heading{display:block}.composition-week-heading small{display:block;margin-top:4px}}
/* Checklist: preserve the current list scroll position after each manual mark. */
.review-list{overscroll-behavior:contain;scroll-behavior:auto}

.reader-composition{margin:18px 0;padding:14px 16px;border:1px solid #d9e5df;border-radius:10px;background:linear-gradient(135deg,#f5faf8,#fff);color:#263544}.reader-composition-kicker{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#567d73;margin-bottom:6px}.reader-composition p{margin:8px 0;line-height:1.55}.reader-composition ul{margin:8px 0 0;padding-left:20px}.reader-composition img{display:block;max-width:100%;max-height:260px;border-radius:8px;margin-top:10px}.reader-composition-atencao{border-color:#efd4bc;background:#fff8f1}.reader-composition-reflexao{border-color:#ddd3ed;background:#faf7ff}.reader-composition-quiz,.reader-composition-flashcards,.reader-composition-accordion{border-color:#d5def1;background:#f7f9ff}


/* Navegação lateral e setores recolhíveis */
.workspace-grid{grid-template-columns:300px minmax(0,1fr)!important;align-items:start}
.form-column{grid-column:2;grid-row:1}
.project-sidebar{grid-column:1;grid-row:1;position:sticky;top:92px;align-self:start;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
.project-sidebar .sticky-card{position:static;padding:18px}
.project-sidebar .summary-card h2{font-size:23px;margin-bottom:10px}
.project-sidebar .summary-list div{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:7px;align-items:center;padding:6px 0}
.project-sidebar .summary-list dt{font-size:11px;line-height:1.25}
.project-sidebar .summary-list dd{font-size:11px;line-height:1.25;text-align:right;overflow-wrap:anywhere}
.project-sidebar .formula-note{margin-top:9px;padding:8px 9px;gap:7px}
.project-sidebar .formula-note p{font-size:9px;line-height:1.3}
.project-sidebar .formula-note strong{margin-bottom:1px}
.sidebar-actions,.sidebar-navigation{padding:15px;border:1px solid var(--line);border-top:3px solid var(--coral);border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(20,33,61,.025)}
.sidebar-label{font-family:var(--mono);font-size:9px;letter-spacing:.12em;color:var(--coral-dark);font-weight:500;margin:0 0 10px;text-transform:uppercase}
.sidebar-actions{display:flex;flex-direction:column;gap:8px}
.sidebar-action{width:100%;height:40px;justify-content:space-between;font-size:11px;padding:0 12px}
.sidebar-action#generate-button{height:44px}
.sidebar-navigation{display:flex;flex-direction:column;gap:2px}
.sidebar-navigation a{display:flex;justify-content:space-between;gap:8px;padding:8px 7px;border-radius:7px;color:var(--navy);font-size:11px;text-decoration:none}
.sidebar-navigation a:hover{background:#f2f6f5;color:var(--coral-dark)}
.sidebar-navigation a span{color:var(--coral);font-size:15px;line-height:1}
.briefing-sector{padding:0!important;overflow:hidden;scroll-margin-top:94px;border-top:3px solid var(--coral)}
.briefing-sector>.sector-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:24px 25px;cursor:pointer;list-style:none}
.briefing-sector>.sector-summary::-webkit-details-marker{display:none}
.briefing-sector>.sector-summary>div:first-child{display:flex;align-items:flex-start;gap:14px}
.briefing-sector>.sector-summary h2{font-size:16px;line-height:1.2;margin:0 0 4px;color:var(--navy);letter-spacing:-.02em}
.briefing-sector>.sector-summary p{font-size:12px;color:var(--muted);margin:0}
.briefing-sector>.sector-summary .switch{flex:0 0 auto}
.briefing-sector>.sector-summary .ai-assist-button{display:none}
.sector-chevron{flex:0 0 auto;color:var(--coral);font-size:20px;line-height:1;transition:transform .18s ease}
.briefing-sector:not([open]) .sector-chevron{transform:rotate(-90deg)}
.sector-body{padding:0 25px 25px}
.briefing-sector[open]>.sector-summary{border-bottom:1px solid #edf0f3}
.results-sector{margin:0 0 12px;border:1px solid #e4e1da;border-top:3px solid var(--coral);border-radius:13px;background:#fffdf9;scroll-margin-top:94px;overflow:hidden}
.results-sector-summary{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:15px 17px;cursor:pointer;list-style:none;color:var(--navy)}
.results-sector-summary::-webkit-details-marker{display:none}
.results-sector-summary strong{font-size:14px}
.results-sector-summary small{color:var(--muted);font-size:11px;text-align:right}
.results-sector:not([open]) .results-sector-summary{background:#faf8f3}
.results-sector-body{padding:0 17px 17px}
.results-sector-body>.time-breakdown{margin-top:0}
.results-sector-body>.review-panel:first-child{margin-top:0}
.results-checklists{display:flex;flex-direction:column;gap:12px}
.results-checklists .review-panel{margin-top:0}
.plan-overview>p:not(.eyebrow){margin:4px 0;color:#5e6875;font-size:13px}
.results-section>summary{list-style:none;cursor:pointer}
.results-section>summary::-webkit-details-marker{display:none}
.results-sector-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.results-sector-copy small{text-align:left}
.results-section-chevron,.results-sector-chevron{flex:0 0 auto;color:var(--coral);font-size:22px;line-height:1;transition:transform .18s ease}
.results-sector-chevron{font-size:18px}
.results-section:not([open])>summary .results-section-chevron,.results-sector:not([open])>.results-sector-summary .results-sector-chevron{transform:rotate(-90deg)}
.results-section{border-top:3px solid var(--coral)}
.weeks-sector{margin-top:14px}
.weeks-sector>.results-sector-body{padding:16px 0 0}
.weeks-sector .week-grid{padding:0 0 2px}
@media(max-width:900px){.workspace-grid{grid-template-columns:1fr!important}.form-column{grid-column:1;grid-row:2}.project-sidebar{grid-column:1;grid-row:1;position:static;max-height:none;overflow:visible;padding-right:0}.sidebar-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.sidebar-navigation .sidebar-label{grid-column:1/-1}.project-sidebar .summary-card{position:static}.briefing-sector>.sector-summary,.sector-body{padding-left:20px;padding-right:20px}}
@media(max-width:620px){.sidebar-navigation{grid-template-columns:1fr}.briefing-sector>.sector-summary{padding-top:19px;padding-bottom:19px}.sector-body{padding-bottom:20px}.results-sector-summary{display:block}.results-sector-summary small{display:block;margin-top:4px;text-align:left}.results-sector-body{padding:0 12px 12px}.weeks-sector>.results-sector-body{padding:12px 0 0}}


/* Capa inicial dividida: editorial, sóbria e orientada à entrada rápida. */
body.welcome-active{overflow:hidden}
.welcome-screen{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:auto;padding:32px;background:radial-gradient(circle at 12% 18%,rgba(231,111,81,.09),transparent 30%),var(--paper)}
.welcome-screen.hidden{display:none}
.welcome-shell{width:min(1220px,100%);min-height:min(720px,calc(100vh - 64px));display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);overflow:hidden;border:1px solid #dfe4ea;border-radius:28px;background:#fff;box-shadow:0 28px 80px rgba(20,33,61,.16)}
.welcome-hero{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:620px;padding:clamp(32px,5vw,70px);overflow:hidden;background:linear-gradient(145deg,#14213d 0%,#1a2c4e 62%,#203a62 100%);color:#f8f2e8}
.welcome-hero:before,.welcome-hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%;pointer-events:none}
.welcome-hero:before{width:420px;height:420px;right:-190px;top:-130px}
.welcome-hero:after{width:620px;height:620px;left:-390px;bottom:-360px;border-color:rgba(231,111,81,.3)}
.welcome-brand{position:relative;z-index:1;display:flex;align-items:center;gap:11px;color:#fff}
.welcome-brand img{width:42px;height:42px;filter:brightness(0) invert(1)}
.welcome-brand span{display:flex;flex-direction:column;line-height:1}
.welcome-brand strong{font-size:16px;letter-spacing:-.02em}
.welcome-brand small{margin-top:4px;color:#f0b8a9;font-family:var(--serif);font-size:16px}
.welcome-hero-copy{position:relative;z-index:1;max-width:590px;margin:auto 0;padding:68px 0 44px}
.welcome-hero .eyebrow{color:#f0b8a9;margin-bottom:18px}
.welcome-hero h1{max-width:620px;margin:0 0 24px;color:#fff8ed;font-family:var(--serif);font-size:clamp(46px,5.4vw,76px);font-weight:500;line-height:.96;letter-spacing:-.055em}
.welcome-hero-copy>p:not(.eyebrow){max-width:510px;margin:0;color:#cbd5e4;font-size:16px;line-height:1.65}
.welcome-signals{display:grid;gap:10px;margin-top:34px;color:#e8edf4;font-size:11px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.04em}
.welcome-signals span{display:flex;align-items:center;gap:10px}
.welcome-signals b{display:grid;place-items:center;width:24px;height:24px;border:1px solid rgba(240,184,169,.5);border-radius:7px;color:#f0b8a9;font-size:9px;font-weight:500}
.welcome-hero-footer{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;color:#aab8ca;font-family:var(--mono);font-size:9px;letter-spacing:.07em;text-transform:uppercase}
.welcome-auth{display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,5vw,72px);background:#fffdf9}
.welcome-auth-heading{max-width:390px;margin-bottom:30px}
.welcome-auth-heading h2{margin:0 0 12px;color:var(--navy);font-family:var(--serif);font-size:42px;font-weight:500;line-height:1;letter-spacing:-.04em}
.welcome-auth-heading>p:not(.eyebrow){margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.welcome-form{display:flex;flex-direction:column;gap:17px;max-width:390px}
.welcome-field{display:flex;flex-direction:column;gap:7px;color:var(--ink);font-size:12px;font-weight:700}
.welcome-field b{color:var(--coral-dark)}
.welcome-field input{height:48px;width:100%;padding:0 13px;border:1px solid #d6dce4;border-radius:10px;background:#fbfcfd;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}
.welcome-field input:focus{border-color:var(--coral);box-shadow:0 0 0 3px var(--coral-soft);background:#fff}
.welcome-field input::placeholder{color:#a0a9b8}
.welcome-field small{margin-top:-1px;color:var(--muted);font-size:10px;font-weight:400;line-height:1.4}
.welcome-submit{width:100%;height:50px;margin-top:7px;border-radius:10px}
.welcome-auth-note{display:flex;gap:8px;max-width:390px;margin:24px 0 0;padding-top:18px;border-top:1px solid #e7e4dd;color:#77746d;font-size:11px;line-height:1.5}
.welcome-auth-note span{color:var(--coral);font-size:16px;line-height:1}
.identity-session-note{display:flex;flex-direction:column;gap:3px;margin:0;padding:10px 12px;border:1px solid #dfe8e6;border-radius:9px;background:#f2f8f6;color:#275d58;font-size:11px;line-height:1.4}
.identity-session-note strong{font-size:11px}
.identity-session-note span{color:#52736e}
.recovery-dock{position:fixed;top:16px;left:50%;z-index:1100;display:flex;flex-direction:column;gap:8px;width:min(1440px,calc(100% - 40px));transform:translateX(-50%);pointer-events:none}
.recovery-dock.hidden{display:none!important}
.recovery-dock>section{width:100%;margin:0;pointer-events:auto;box-shadow:0 10px 30px rgba(20,33,61,.1)}
.recovery-dock .recovery-bar,.recovery-dock .draft-recovery{border-radius:12px}
@media(max-width:860px){.welcome-screen{padding:18px}.welcome-shell{grid-template-columns:1fr;min-height:0}.welcome-hero{min-height:440px;padding:30px}.welcome-hero-copy{padding:48px 0 30px}.welcome-hero h1{font-size:clamp(44px,9vw,66px)}.welcome-auth{padding:34px 30px}.welcome-auth-heading,.welcome-form,.welcome-auth-note{max-width:none}}
@media(max-width:620px){.welcome-screen{padding:0;place-items:stretch}.welcome-shell{min-height:100vh;border:0;border-radius:0}.welcome-hero{min-height:440px;padding:26px 22px}.welcome-hero-copy{padding:40px 0 24px}.welcome-hero-footer{font-size:8px}.welcome-auth{padding:32px 22px 38px}.welcome-auth-heading h2{font-size:36px}.recovery-dock{top:10px;width:calc(100% - 20px)}.recovery-dock .recovery-bar,.recovery-dock .draft-recovery{max-height:calc(100vh - 20px);overflow:auto}}

.welcome-institutional{display:flex;align-items:center;gap:13px;max-width:390px;margin-top:28px;padding-top:17px;border-top:1px solid #e7e4dd;color:#77746d}
.inovalab-lockup{display:flex;align-items:center;gap:7px;min-width:0}
.inovalab-symbol{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#0d776d;color:#fff;font-size:13px}
.inovalab-lockup>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.inovalab-lockup strong{color:#275d58;font-size:13px;line-height:1}
.inovalab-lockup small{max-width:170px;font-size:8px;line-height:1.2}
.institutional-divider{width:1px;height:28px;background:#d8d5ce;flex:0 0 auto}
.welcome-institutional img{width:112px;height:30px;object-fit:contain;object-position:center;border-radius:2px;mix-blend-mode:multiply}
.app-version{align-self:flex-end;margin-left:auto;color:#9b978f;font-family:var(--mono);font-size:8px;letter-spacing:.04em;white-space:nowrap}
@media(max-width:620px){.welcome-institutional{gap:9px;margin-top:23px}.inovalab-lockup small{max-width:130px}.welcome-institutional img{width:92px}.app-version{font-size:7px}}
.inovalab-lockup em{display:block;margin-bottom:2px;color:#9b978f;font-family:var(--mono);font-size:7px;font-style:normal;letter-spacing:.08em;line-height:1}

.header-tools{display:flex;align-items:center;gap:18px;min-width:0}
.studio-top-link{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid #cfe1df;border-radius:9px;background:#f2faf8;color:#1b625a;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap;transition:transform .15s,box-shadow .15s,border-color .15s}
.studio-top-link:hover{transform:translateY(-1px);border-color:#8bc8be;box-shadow:0 6px 16px rgba(42,157,143,.14)}
.studio-top-link img{width:23px;height:23px;object-fit:contain}
.studio-top-link b{color:var(--teal);font-size:16px;font-weight:400;line-height:1}
@media(max-width:620px){.header-tools{gap:8px}.studio-top-link{width:34px;padding:0;justify-content:center}.studio-top-link span{display:none}.studio-top-link b{font-size:15px}}

/* Base da capa: crédito de desenvolvimento e assinaturas institucionais. */
.welcome-hero-top{position:relative;z-index:1;display:flex;flex-direction:column;gap:24px}
.welcome-hero-footer{align-items:flex-start;text-transform:none;letter-spacing:normal}
.welcome-development-credit{max-width:305px;border-left:2px solid rgba(211,181,110,.75);padding-left:16px;color:#cbd5e4;font-family:var(--sans);font-size:11px;line-height:1.4}
.welcome-development-credit>p{margin:0;color:#d3b56e;font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.welcome-development-credit>strong{display:block;margin-top:3px;color:#f8f5ec;font-family:var(--serif);font-size:14px;line-height:1.2}
.welcome-development-credit>div{display:flex;align-items:flex-start;gap:10px;margin-top:9px}
.welcome-development-credit>div>img{width:40px;height:40px;flex:0 0 auto;border-radius:6px;object-fit:contain}
.welcome-development-credit>div>span{display:flex;flex-direction:column;gap:2px}
.welcome-development-credit b{color:#f8f5ec;font-size:12px;letter-spacing:.12em;line-height:1}
.welcome-development-credit small{color:#cbd5e4;font-size:10px;line-height:1.35}
.welcome-development-credit>a{display:inline-flex;margin-top:9px;color:#e1c986;font-size:10px;font-weight:600;letter-spacing:.04em;text-decoration:underline;text-decoration-color:rgba(225,201,134,.45);text-underline-offset:4px}
.welcome-development-credit em{display:block;margin-top:7px;color:#91a0b4;font-family:var(--mono);font-size:8px;font-style:normal;letter-spacing:.04em}
@media(max-width:860px){.welcome-hero-top{gap:20px}}


/* Capa: recuperação e cabeçalho pertencem ao workspace, não à tela de entrada. */
body.welcome-active .site-header,
body.welcome-active .recovery-dock{visibility:hidden;pointer-events:none}
body.welcome-active .recovery-dock{display:none!important}

/* Capa: recursos à esquerda e autoria à direita, divididos por uma linha dourada. */
.welcome-hero-footer{display:block}
.welcome-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);align-items:start;gap:clamp(20px,3vw,34px);width:100%}
.welcome-footer-grid .welcome-signals{margin:0;align-self:start}
.welcome-footer-divider{display:block;width:1px;min-height:142px;background:rgba(211,181,110,.78)}
.welcome-footer-grid .welcome-development-credit{max-width:none;border-left:0;padding-left:0;align-self:start}
@media(max-width:860px){.welcome-footer-grid{gap:22px}}
@media(max-width:620px){.welcome-footer-grid{grid-template-columns:1fr;gap:22px}.welcome-footer-divider{width:100%;height:1px;min-height:0}.welcome-footer-grid .welcome-development-credit{padding-top:0}}


/* Capa: marca do aplicativo em destaque e assinaturas institucionais na base. */
.welcome-brand{gap:15px}
.welcome-brand img{width:76px;height:76px;filter:none;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.welcome-brand strong{font-size:25px;letter-spacing:-.035em}
.welcome-brand small{margin-top:6px;font-size:22px}
.welcome-ifsc-footer{display:flex;align-items:flex-start;gap:15px;min-width:0;color:#f8f5ec}
.welcome-ifsc-footer>img{width:68px;height:80px;flex:0 0 auto;object-fit:contain}
.welcome-ifsc-footer>span{display:flex;flex-direction:column;gap:2px;line-height:1.12}
.welcome-ifsc-footer strong{font-size:14px;font-weight:800;letter-spacing:-.01em}
.welcome-ifsc-footer b{font-size:13px;font-weight:700}
.welcome-ifsc-footer small{margin-top:4px;color:#cbd5e4;font-size:9px;line-height:1.25}
.welcome-footer-grid .welcome-development-credit{max-width:360px}
.welcome-development-credit>div.welcome-inovalab-credit{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:12px}
.welcome-development-credit>div.welcome-inovalab-credit>img{width:205px;height:80px;border-radius:0;object-fit:contain;object-position:left;filter:brightness(0) invert(1)}
.welcome-development-credit>div.welcome-inovalab-credit>small{max-width:245px;color:#cbd5e4;font-size:10px;line-height:1.3}
@media(max-width:860px){.welcome-brand img{width:68px;height:68px}.welcome-brand strong{font-size:23px}.welcome-brand small{font-size:20px}.welcome-development-credit>div.welcome-inovalab-credit>img{width:190px}}
@media(max-width:620px){.welcome-brand img{width:62px;height:62px;border-radius:15px}.welcome-brand strong{font-size:22px}.welcome-brand small{font-size:19px}.welcome-ifsc-footer>img{width:58px;height:68px}.welcome-ifsc-footer small{font-size:8px}.welcome-development-credit>div.welcome-inovalab-credit>img{width:180px;height:68px}}


/* Assinaturas inferiores: logos centralizados, INOVALAB em cores originais e metadados discretos. */
.welcome-ifsc-footer{justify-content:center;align-items:center;min-height:142px}
.welcome-footer-grid .welcome-development-credit{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:142px;text-align:center}
.welcome-development-credit>div.welcome-inovalab-credit{align-items:center}
.welcome-development-credit>div.welcome-inovalab-credit>img{filter:none;background:#f4ede1;padding:7px 11px;box-sizing:border-box;border-radius:8px}
.welcome-footer-meta{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:-4px;padding-top:6px;color:#91a0b4;font-family:var(--mono);font-size:8px;line-height:1}
.welcome-footer-meta a{color:#e1c986;font-size:8px;font-weight:600;letter-spacing:.03em;text-decoration:underline;text-decoration-color:rgba(225,201,134,.4);text-underline-offset:3px}
.welcome-footer-meta em{color:#91a0b4;font-size:7px;font-style:normal;letter-spacing:.04em}
@media(max-width:620px){.welcome-ifsc-footer,.welcome-footer-grid .welcome-development-credit{min-height:0}.welcome-footer-meta{margin-top:0;padding-top:0}.welcome-development-credit>div.welcome-inovalab-credit>img{height:68px}}


/* Lockup do aplicativo: o nome precisa ter presença própria na capa. */
.welcome-brand{gap:18px;align-items:center}
.welcome-brand img{width:92px;height:92px;border-radius:22px;box-shadow:0 14px 30px rgba(0,0,0,.22)}
.welcome-brand span{gap:4px}
.welcome-brand strong{color:#fff8ed;font-family:var(--serif);font-size:35px;font-weight:600;line-height:.9;letter-spacing:-.045em;text-shadow:0 2px 12px rgba(0,0,0,.16)}
.welcome-brand small{margin-top:3px;color:#f0b8a9;font-family:var(--sans);font-size:16px;font-weight:700;line-height:1;letter-spacing:.19em;text-transform:uppercase}
.welcome-brand span:after{content:"";display:block;width:38px;height:2px;margin-top:8px;border-radius:2px;background:#d3b56e}
@media(max-width:860px){.welcome-brand img{width:78px;height:78px;border-radius:19px}.welcome-brand strong{font-size:31px}.welcome-brand small{font-size:14px}}
@media(max-width:620px){.welcome-brand{gap:14px}.welcome-brand img{width:70px;height:70px;border-radius:17px}.welcome-brand strong{font-size:28px}.welcome-brand small{font-size:13px;letter-spacing:.16em}}


/* Crédito INOVALAB: conteúdo à esquerda, logo colorido sobre fundo transparente e descrição na linha inferior. */
.welcome-footer-grid .welcome-development-credit{align-items:flex-start;text-align:left}
.welcome-development-credit>div.welcome-inovalab-credit{align-items:flex-start}
.welcome-development-credit>div.welcome-inovalab-credit>img{background:transparent;padding:0;border-radius:0;filter:none}
.welcome-footer-meta{flex-wrap:wrap;column-gap:8px;row-gap:4px}
.welcome-footer-description{color:#cbd5e4;font-family:var(--sans);font-size:8px;line-height:1.2}
.welcome-footer-separator{color:#d3b56e;font-size:9px;line-height:1}
@media(max-width:620px){.welcome-footer-grid .welcome-development-credit{align-items:flex-start;text-align:left}.welcome-footer-meta{column-gap:6px}.welcome-footer-description{font-size:7px}}

/* Cabeçalho fixo desde o início; o painel de recuperação fica logo abaixo dele. */
:root{--site-header-height:72px;--recovery-dock-height:0px}
.site-header{position:fixed;top:0;left:0;right:0;z-index:20}
.recovery-dock{position:sticky;top:var(--site-header-height,72px);left:auto;z-index:19;display:flex;flex-direction:column;gap:8px;width:100%;max-width:none;margin-top:var(--site-header-height,72px);padding:16px max(20px,calc((100vw - 1440px)/2)) 8px;transform:none;background:var(--paper);pointer-events:none}
.recovery-dock.hidden{display:none!important}
.recovery-dock>section{width:100%;max-width:1440px;margin:0 auto;pointer-events:auto;box-shadow:0 10px 30px rgba(20,33,61,.1)}
.recovery-dock .recovery-bar,.recovery-dock .draft-recovery{border-radius:12px}
@media(max-width:620px){.recovery-dock{top:var(--site-header-height,72px);width:100%;padding:10px 10px 6px}.recovery-dock .recovery-bar,.recovery-dock .draft-recovery{max-height:calc(100vh - 20px);overflow:auto}}

/* Elementos aderentes não podem atravessar o cabeçalho nem o dock durante a rolagem. */
.project-sidebar{top:calc(var(--site-header-height,72px) + var(--recovery-dock-height,0px) + 16px)}
.briefing-sector,.results-sector,.results-section{scroll-margin-top:calc(var(--site-header-height,72px) + var(--recovery-dock-height,0px) + 16px)}


/* Workspace em tres colunas: o centro concentra a leitura e cada area possui sua propria rolagem. */
@media(min-width:901px){
  .workspace-grid{grid-template-columns:clamp(220px,24%,280px) minmax(420px,1fr) clamp(190px,20%,240px);grid-template-areas:"summary main navigation";height:clamp(520px,calc(100vh - 300px),820px);max-height:calc(100vh - 220px);align-items:stretch;gap:18px;overflow-x:auto;overflow-y:hidden}
  .summary-column{grid-area:summary;min-width:0;min-height:0;height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
  .form-column{grid-area:main;min-width:0;min-height:0;height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 6px 18px 0}
  .navigation-column{grid-area:navigation;min-width:0;min-height:0;height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
  .project-sidebar{position:static;grid-column:auto;grid-row:auto;height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:0}
  .form-column>.briefing-sector,.form-column>#results-section,.form-column>.form-actions{flex:0 0 auto}
  .navigation-column .sidebar-navigation{width:100%;margin:0}
}
@media(max-width:900px){
  .workspace-grid{grid-template-columns:1fr!important;grid-template-areas:"summary" "main" "navigation";height:auto;max-height:none;overflow:visible}
  .project-sidebar{grid-area:summary!important;grid-column:auto!important;grid-row:auto!important;max-height:38vh;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
  .form-column{grid-area:main!important;grid-column:auto!important;grid-row:auto!important;max-height:70vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
  .navigation-column{grid-area:navigation;max-height:42vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
}
@media(max-width:620px){
  .project-sidebar{max-height:42vh}
  .form-column{max-height:72vh}
  .navigation-column{max-height:46vh}
}

@media(min-width:901px){
  body.workspace-active{overflow:hidden}
  .form-column>.intro{max-width:none;flex:0 0 auto;margin:0 0 28px;padding:0}
}

@media(min-width:901px){
  html.workspace-active,html.workspace-active body{overflow:hidden}
}


/* O painel de recuperação acompanha somente a coluna central do workspace. */
.workspace-dock{position:sticky;top:0;z-index:24;width:100%;max-width:none;margin:0 0 18px;padding:0 0 8px;background:var(--paper);pointer-events:none}
.workspace-dock>section{width:100%;max-width:none;margin:0;pointer-events:auto}
.workspace-dock .recovery-bar,.workspace-dock .draft-recovery{margin-bottom:8px}
@media(min-width:901px){
  .workspace-grid{height:calc(100vh - var(--site-header-height,72px) - 28px);max-height:none;min-height:520px}
}
@media(max-width:900px){
  .workspace-dock{position:relative;top:auto;margin:0 0 16px;padding:0 0 4px}
}


/* Fallback contra rolagem global residual: o workspace desktop fica preso à viewport. */
@media(min-width:901px){
  html:has(body:not(.welcome-active)),html:has(body:not(.welcome-active)) body{overflow:hidden}
  html:has(body:not(.welcome-active)) .page-shell{height:100vh;overflow:hidden}
}


/* Em telas amplas, usar melhor a largura disponível sem apertar os menus. */
@media(min-width:1280px){
  .page-shell{max-width:1600px}
  .workspace-grid{grid-template-columns:clamp(250px,20vw,300px) minmax(560px,1fr) clamp(230px,18vw,280px);gap:24px}
}


/* Mesmo acabamento coral nos três painéis laterais. */
.project-sidebar>.summary-card{border-top:3px solid var(--coral)}


/* Ação de sessão: separada do logo (novo projeto) e do atalho do ClassAtelier. */
.session-exit-link{height:32px;padding:0 9px;border:1px solid #e3d5cd;border-radius:8px;background:#fffaf7;color:var(--coral-dark);font-size:10px;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}
.session-exit-link:hover{background:var(--coral-soft);border-color:#e8a18f;transform:translateY(-1px)}
@media(max-width:620px){.session-exit-link{width:30px;padding:0;font-size:0}.session-exit-link::before{content:"↪";font-size:16px}}


/* Recuperação junto da navegação direita: não ocupa mais o topo da coluna central. */
.navigation-column>.navigation-recovery-dock{position:static;top:auto;left:auto;z-index:auto;display:flex;width:100%;max-width:none;margin:16px 0 0;padding:0;transform:none;background:transparent;pointer-events:none}
.navigation-column>.navigation-recovery-dock>section{width:100%;max-width:none;margin:0;pointer-events:auto;box-shadow:0 4px 18px rgba(20,33,61,.05)}
.navigation-column>.navigation-recovery-dock .recovery-bar,.navigation-column>.navigation-recovery-dock .draft-recovery{align-items:stretch;flex-direction:column;gap:12px;margin:0;padding:13px;border-radius:12px}
.navigation-column>.navigation-recovery-dock .recovery-actions{width:100%;align-items:stretch;flex-direction:column}
.navigation-column>.navigation-recovery-dock .recovery-actions .button{width:100%;flex:0 0 auto}
.project-sidebar{top:calc(var(--site-header-height,72px) + 16px)}
.briefing-sector,.results-sector,.results-section{scroll-margin-top:calc(var(--site-header-height,72px) + 16px)}


/* A recuperação pertence ao mesmo card de NAVEGAR PELO PROJETO. */
.sidebar-navigation>.navigation-recovery-dock{position:static;top:auto;left:auto;z-index:auto;display:flex;flex-direction:column;width:calc(100% + 30px);max-width:none;margin:12px -15px -15px;padding:13px 15px 15px;transform:none;background:transparent;border-top:1px solid var(--line);pointer-events:none}
.sidebar-navigation>.navigation-recovery-dock>section{width:100%;max-width:none;margin:0;pointer-events:auto;box-shadow:none}
.sidebar-navigation>.navigation-recovery-dock .recovery-bar,.sidebar-navigation>.navigation-recovery-dock .draft-recovery{align-items:stretch;flex-direction:column;gap:10px;margin:0;padding:11px;border-radius:9px}
.sidebar-navigation>.navigation-recovery-dock .recovery-actions{width:100%;align-items:stretch;flex-direction:column}
.sidebar-navigation>.navigation-recovery-dock .recovery-actions .button{width:100%;flex:0 0 auto}
@media(max-width:900px){.sidebar-navigation>.navigation-recovery-dock{grid-column:1/-1}}


/* Segundo menu solicitado: Backup e Recuperação, separado da navegação do projeto. */
.navigation-column>.navigation-recovery-dock{position:static;top:auto;left:auto;z-index:auto;display:flex;flex-direction:column;gap:8px;width:100%;max-width:none;margin:16px 0 0;padding:13px 15px 15px;transform:none;background:#fff;border:1px solid var(--line);border-top:3px solid var(--coral);border-radius:14px;box-shadow:0 4px 18px rgba(20,33,61,.025);pointer-events:auto}
.navigation-column>.navigation-recovery-dock>section{width:100%;max-width:none;margin:0;box-shadow:none}
.navigation-column>.navigation-recovery-dock .recovery-menu-label{margin:0 0 2px;font-family:var(--mono);font-size:9px;letter-spacing:.12em;color:var(--coral-dark);font-weight:500;text-transform:uppercase}
.navigation-column>.navigation-recovery-dock .recovery-bar,.navigation-column>.navigation-recovery-dock .draft-recovery{align-items:stretch;flex-direction:column;gap:10px;margin:0;padding:11px;border-radius:9px}
.navigation-column>.navigation-recovery-dock .recovery-actions{width:100%;align-items:stretch;flex-direction:column}
.navigation-column>.navigation-recovery-dock .recovery-actions .button{width:100%;flex:0 0 auto}


/* O segundo menu acompanha a largura do Resumo do Projeto, não a largura total da navegação direita. */
.navigation-column>.navigation-recovery-dock{width:min(100%,300px);align-self:flex-start}


/* Larguras fixas das laterais: somente a coluna central se expande ou reduz. */
@media(min-width:901px){
  .workspace-grid{grid-template-columns:240px minmax(0,1fr) 240px}
}
@media(min-width:1280px){
  .workspace-grid{grid-template-columns:285px minmax(0,1fr) 285px}
}


/* Feedback visual global para chamadas demoradas da IA. */
.ai-activity{position:fixed;top:calc(var(--site-header-height,72px) + 12px);left:50%;z-index:60;width:min(560px,calc(100vw - 32px));transform:translateX(-50%);padding:12px 14px 11px;border:1px solid #bfe4df;border-top:3px solid var(--teal);border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 14px 38px rgba(20,33,61,.18);backdrop-filter:blur(12px)}
.ai-activity-top{display:flex;align-items:center;gap:10px;min-width:0}.ai-activity-spinner{display:block;flex:0 0 auto;width:19px;height:19px;border:3px solid #cfe9e5;border-top-color:var(--teal);border-radius:50%;animation:ai-activity-spin .8s linear infinite}.ai-activity-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.ai-activity-copy strong{color:var(--navy);font-size:12px;line-height:1.2}.ai-activity-copy small{color:#54716e;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-activity-dismiss{margin-left:auto;flex:0 0 auto;width:25px;height:25px;border:0;border-radius:50%;background:#edf5f3;color:#47716d;font-size:18px;line-height:1;cursor:pointer}.ai-activity-dismiss:hover{background:#dff2ef}.ai-activity-track{height:4px;margin-top:10px;overflow:hidden;border-radius:999px;background:#e4f1ef}.ai-activity-track span{display:block;height:100%;border-radius:inherit;background:var(--teal);transition:width .25s ease}.ai-activity.is-indeterminate .ai-activity-track span{width:36%!important;animation:ai-activity-progress 1.25s ease-in-out infinite}.ai-activity.is-success{border-color:#bfe4df;border-top-color:var(--teal)}.ai-activity.is-success .ai-activity-spinner{border-color:#bfe4df;border-top-color:var(--teal);animation:none}.ai-activity.is-success .ai-activity-spinner:after{content:'✓';display:block;margin:-2px 0 0 1px;color:var(--teal);font-size:13px;font-weight:700}.ai-activity.is-error{border-color:#f1b9aa;border-top-color:var(--coral)}.ai-activity.is-error .ai-activity-spinner{border-color:#f8d8cf;border-top-color:var(--coral);animation:none}.ai-activity.is-error .ai-activity-spinner:after{content:'!';display:block;margin:-2px 0 0 5px;color:var(--coral-dark);font-size:13px;font-weight:700}.ai-activity.is-error .ai-activity-copy small{color:#8e3724}.ai-activity.is-error .ai-activity-track{background:#fbe5df}.ai-activity.is-error .ai-activity-track span{background:var(--coral)}
@keyframes ai-activity-spin{to{transform:rotate(360deg)}}@keyframes ai-activity-progress{0%{transform:translateX(-120%)}50%{transform:translateX(170%)}100%{transform:translateX(320%)}}
@media(max-width:680px){.ai-activity{top:calc(var(--site-header-height,64px) + 8px);width:calc(100vw - 24px);padding:11px 12px}.ai-activity-copy small{white-space:normal}}


/* Drawer da navegação direita: recolhe para uma aba coral e devolve espaço ao centro. */
.navigation-drawer-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:30px;padding:6px 10px;border:1px solid rgba(214,105,76,.24);border-radius:9px;background:rgba(255,255,255,.72);color:var(--coral);font:700 10px/1.1 var(--sans);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.navigation-drawer-toggle:hover,.navigation-drawer-toggle:focus-visible{background:#fff4ef;border-color:var(--coral);outline:2px solid rgba(214,105,76,.2);outline-offset:2px}
.navigation-column.is-collapsed .sidebar-navigation,.navigation-column.is-collapsed .navigation-recovery-dock{display:none}
.navigation-column.is-collapsed .navigation-drawer-toggle{background:var(--coral);border-color:var(--coral);color:#fff;min-height:118px;position:sticky;top:16px;z-index:4;flex-direction:column;justify-content:center;padding:12px 7px;box-shadow:0 8px 22px rgba(214,105,76,.22)}
.navigation-column.is-collapsed .drawer-toggle-label{writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:.12em}
.navigation-column.is-collapsed .drawer-toggle-icon{font-size:18px;line-height:1}
@media(min-width:901px){
  .navigation-column{position:relative;min-width:0}
  .navigation-column:not(.is-collapsed)>.navigation-drawer-toggle{position:absolute;top:7px;right:9px;width:auto;border:0;background:transparent;padding:3px 4px;font-size:9px;opacity:.58;z-index:3}
  .navigation-column:not(.is-collapsed)>.navigation-drawer-toggle:hover,.navigation-column:not(.is-collapsed)>.navigation-drawer-toggle:focus-visible{opacity:1;background:#fff4ef}
  .workspace-grid.right-nav-collapsed{grid-template-columns:240px minmax(0,1fr) 42px}
}
@media(min-width:1280px){
  .workspace-grid.right-nav-collapsed{grid-template-columns:285px minmax(0,1fr) 42px}
}
@media(max-width:900px){
  .navigation-column.is-collapsed{min-height:0}
  .navigation-column.is-collapsed .navigation-drawer-toggle{position:relative;top:auto;min-height:42px;flex-direction:row}
  .navigation-column.is-collapsed .drawer-toggle-label{writing-mode:initial;transform:none}
}

/* O workspace retomado não deve ficar colado à linha inferior do cabeçalho fixo. */
@media(min-width:901px){
  body.workspace-active .workspace-grid{margin-top:16px}
}

/* Bloco interno da prévia: mensagens de mediação não fazem parte do JSON do aluno. */
.reader-mediation{margin:26px 0;padding:18px;border:1px solid #e8c7b9;border-left:3px solid var(--coral);border-radius:12px;background:#fff8f5}
.reader-mediation-label{font-family:var(--mono);font-size:9px;letter-spacing:.12em;color:var(--coral-dark);font-weight:500}
.reader-mediation h3{margin:6px 0 5px;color:var(--navy);font-family:var(--serif);font-size:24px}
.reader-mediation>p{margin:0 0 14px;color:var(--muted);font-size:11px}
.mediation-channel{margin-top:14px;padding-top:12px;border-top:1px solid #f0ddd6}
.mediation-channel h4{margin:0 0 8px;color:var(--navy);font-size:13px}
.mediation-channel article{margin:7px 0;padding:10px 11px;border:1px solid #f0e1db;border-radius:9px;background:#fff}
.mediation-channel article strong{display:block;color:var(--coral-dark);font-size:11px}
.mediation-channel article small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.mediation-channel article p{margin:6px 0 0;color:var(--ink);font-size:12px;line-height:1.55}


/* Edição individual de mensagens no Material de Mediação. */
.mediation-message-card{margin:14px 0;padding:14px;border:1px solid rgba(21,38,69,.12);border-left:3px solid var(--coral);border-radius:12px;background:#fffdf8;box-shadow:0 5px 18px rgba(21,38,69,.04)}
.mediation-message-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px}
.mediation-message-heading strong{font-size:14px;color:var(--navy)}
.mediation-message-heading span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.mediation-message-purpose{display:block;margin-bottom:10px;color:var(--muted);line-height:1.45}
.mediation-message-card label{display:block;margin-top:9px}
.mediation-message-card label>span{display:block;margin-bottom:4px;font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.mediation-message-card input,.mediation-message-card textarea{width:100%;box-sizing:border-box;border:1px solid rgba(21,38,69,.14);border-radius:8px;background:#fff;padding:9px 10px;color:var(--navy);font:inherit;line-height:1.45;resize:vertical}
.mediation-message-card input:focus,.mediation-message-card textarea:focus{outline:2px solid rgba(224,108,80,.24);border-color:var(--coral)}
.mediation-message-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px}
.mediation-message-actions small{color:var(--muted)}
.mediation-message-actions .button{font-size:11px}
.reader-mediation>p{max-width:760px}
@media(max-width:700px){.mediation-message-heading{align-items:flex-start;flex-direction:column;gap:4px}.mediation-message-actions{align-items:flex-start;flex-direction:column}}

/* Cobertura real e composição materializada da semana. */
.week-resource-coverage,.week-composition-summary,.week-generation-pending{display:block;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.45}
.week-resource-coverage strong,.week-composition-summary strong{color:var(--navy)}
.week-resource-coverage.is-pending,.week-generation-pending{color:var(--coral-dark)}
.reader-coverage-inline,.reader-composition-inline{color:var(--navy);font-weight:700}
.reader-composition-inline{border-left:2px solid var(--teal);padding-left:7px}

/* Fluxo semana a semana */
.step-mode-toggle{display:flex;align-items:flex-start;gap:10px;margin-right:auto;max-width:440px;font-size:12px;color:var(--muted);cursor:pointer}
.step-mode-toggle input{margin-top:3px;accent-color:var(--coral)}
.step-mode-toggle strong{display:block;color:var(--navy);font-size:13px}
.step-mode-toggle small{display:block;line-height:1.4}
.week-flow{display:inline-flex;width:max-content;max-width:100%;padding:5px 8px;margin:0 0 12px;border-radius:999px;font-size:10px;font-family:var(--mono);background:#f1f3f6;color:var(--navy)}
.week-flow.flow-approved{background:var(--teal-soft);color:#1c6259}
.week-flow.flow-draft{background:#fff4d6;color:#7a5a00}
.week-flow.flow-edges,.week-flow.flow-stale{background:var(--coral-soft);color:#8e3724}
.reader-flow{border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:18px 0;background:#fbfcfd}
.reader-flow h3{margin:0 0 8px;font-size:14px;color:var(--navy)}
.reader-flow p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 10px}
.reader-flow .flow-status{display:inline-block;font-family:var(--mono);font-size:11px;font-weight:600;padding:4px 8px;border-radius:6px;background:#f1f3f6;color:var(--navy)}
.reader-flow .flow-status.flow-approved{background:var(--teal-soft);color:#1c6259}
.reader-flow .flow-status.flow-draft{background:#fff4d6;color:#7a5a00}
.reader-flow .flow-status.flow-edges,.reader-flow .flow-status.flow-stale{background:var(--coral-soft);color:#8e3724}
.flow-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.flow-issue{border-left:3px solid var(--coral);padding:4px 0 4px 12px;margin:10px 0}
.flow-issue .flow-hint{margin-bottom:8px}
.flow-note{min-height:16px;margin-top:8px!important}
@media(max-width:620px){.step-mode-toggle{max-width:none;margin-right:0}}
.sidebar-actions .step-mode-toggle{margin:6px 0 10px;max-width:none;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}

.reader-figure{width:min(100%,760px);margin:12px 0;padding:0;border:1px solid #dfe4ea;border-radius:10px;overflow:hidden;background:#fbf9f4}.reader-figure img{display:block;width:100%;height:auto;background:#fbf9f4}.reader-figure figcaption{padding:8px 12px;font-size:12px;line-height:1.5;color:#4a5d64;border-top:1px solid #ece5dc}
.reader-quiz-options{list-style:none;margin:6px 0 8px;padding:0;display:grid;gap:6px}.reader-quiz-options li{padding:8px 10px;border:1px solid #e1e6ea;border-radius:8px;background:#fff}.reader-quiz-options li.is-correct{border-color:#5b8a72;background:#f1f8f4}.reader-quiz-options small{display:block;margin-top:4px;color:#4a5d64}.reader-assessment button{margin-top:6px}

/* Produção audiovisual (prévia da semana) */
.reader-production { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line, #d9d4c7); border-radius: 12px; background: var(--surface-soft, #faf8f2); }
.reader-production h3 { margin-top: 0; }
.reader-production ul { margin: 10px 0; padding-left: 20px; }
.reader-production .reader-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.reader-note { margin: 10px 0 0; font-size: 0.92rem; color: #8a4b1f; }

#week-revision-scope { display: block; width: 100%; max-width: 420px; margin: 4px 0 12px; padding: 8px 10px; font: inherit; border: 1px solid var(--line, #d9d4c7); border-radius: 8px; background: #fff; }

.review-guidance-ask{margin:8px 0;font-size:12px;color:#33504e}

.production-uc{margin:24px 0;padding:20px;border:1px solid #dfe4ea;border-radius:14px;background:#fffdf8}
.production-uc h3{margin:0 0 6px;color:#14213d}
.production-uc ul{margin:10px 0;padding-left:20px}
.production-uc .reader-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.production-uc-status{font-weight:600;color:#8a4b1f}.production-uc-status.is-ready{color:#2f6b4f}

/* Logotipo: Class em negrito, Author em itálico (G sobre fundo escuro: Author dourado). */
.wordmark b{font-family:var(--sans);font-weight:800;letter-spacing:-.045em}
.wordmark i{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.02em;color:var(--coral-dark)}
.brand .wordmark{font-size:22px;line-height:1}
.welcome-brand .wordmark{font-size:34px;line-height:1;letter-spacing:0}
.welcome-brand .wordmark b{color:#fff}
.welcome-brand .wordmark i{color:var(--gold)}

/* Tagline discreta sob o nome: cursiva pequena, sem competir com o logotipo */
.welcome-brand small,.brand small{font-family:var(--serif);font-style:italic;font-weight:400;font-size:15px;letter-spacing:.01em;text-transform:none;line-height:1.1;color:#e9b9aa;opacity:.9}
.brand small{font-size:12px;color:var(--muted);opacity:1}
@media(max-width:860px){.welcome-brand small{font-size:14px;letter-spacing:.01em}}
@media(max-width:620px){.welcome-brand small{font-size:13px;letter-spacing:.01em}}

/* Abrir ClassAtelier: botão + escolha da semana */
.studio-launch{display:inline-flex;align-items:center;gap:6px}
button.studio-top-link{font-family:inherit;cursor:pointer}
.studio-week-pick{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 6px 0 10px;border:1px solid #cfe1df;border-radius:9px;background:#fff;color:#657084;font-size:11px}
.studio-week-pick.hidden{display:none}
.studio-week-pick select{max-width:170px;height:26px;border:0;background:transparent;color:#1b625a;font:inherit;font-weight:700;cursor:pointer;text-overflow:ellipsis}
.week-actions .week-open-studio{flex:1 0 100%;height:40px;font-size:11px;gap:6px;border-color:#cfe1df;background:#f2faf8;color:#1b625a}
.studio-toast{position:fixed;right:22px;bottom:22px;z-index:60;max-width:380px;padding:13px 16px;border-radius:12px;background:var(--navy);color:#fff;font-size:13px;line-height:1.5;box-shadow:0 18px 44px rgba(20,33,61,.28)}
.studio-toast.hidden{display:none}
@media(max-width:860px){.studio-week-pick{display:none}}
.studio-top-link img{flex:none;display:block;min-width:23px}

/* Botão Abrir ClassAtelier: azul-marinho, com Class em negrito e Atelier em itálico */
button.studio-top-link{height:36px;padding:0 13px 0 9px;border-color:var(--navy);background:var(--navy);color:#e8edf6;font-size:12px;font-weight:500}
button.studio-top-link:hover{border-color:#22375f;background:#1b2d52;box-shadow:0 8px 20px rgba(20,33,61,.28)}
button.studio-top-link img{width:24px;height:24px;border-radius:7px}
.studio-open-label{display:inline-flex;align-items:baseline;gap:5px}
.studio-top-link .wordmark{font-size:15px;line-height:1;letter-spacing:0}
.studio-top-link .wordmark b{color:#fff}
.studio-top-link .wordmark i{color:var(--gold)}
.studio-open-arrow{color:var(--gold);font-style:normal;font-size:15px;line-height:1}
.week-actions .week-open-studio .wordmark{font-size:13px;line-height:1}
.week-actions .week-open-studio .wordmark b{color:var(--navy)}
.week-actions .week-open-studio .wordmark i{color:var(--coral-dark)}
@media(max-width:620px){button.studio-top-link{width:36px;padding:0}.studio-open-arrow{display:none}}

.studio-edit{margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--mint-soft,#e8f4ee);border:1px solid var(--line);font-size:12px;line-height:1.5;color:var(--ink)}
.studio-edit small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.studio-edit-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}
.studio-edit .link-button{padding:0;border:0;background:none;color:var(--navy);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}

/* Abordagem pedagógica e metodologias ativas */
.methodology-box{margin:18px 0;padding:16px;border:1px solid #d3b56e;border-radius:12px;background:#fffaf0}
.methodology-box .profile-heading{display:flex;flex-direction:column;gap:2px;margin-bottom:12px}
.methodology-box .profile-heading small{color:#6b5a2e}
.methodology-weeks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin-top:8px}
.methodology-week{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;border:1px solid #e8dcc0;border-radius:10px;background:#fff}
.methodology-week span{font-size:12px;font-weight:700;color:#6b5a2e}
.methodology-week select{min-height:34px;padding:6px 8px;font-size:12px;width:100%}
.methodology-week.is-override{border-color:#b8902f;background:#fff6dd}
.week-method{display:inline-block;margin:2px 0 4px;padding:2px 8px;border-radius:999px;background:#fbefd0;color:#6b4a00;font-size:11px;font-weight:600}
.reader-methodology{border-left:3px solid #d3b56e;padding-left:12px}
.methodology-box .resource-plan-heading{margin-top:14px}
.methodology-box .resource-plan-heading strong{font-size:14px;font-family:inherit}
.methodology-weeks{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.practice-methodology-field{grid-column:1/-1}
.bloom-meter{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px;font-size:12px}
.bloom-meter small{flex-basis:100%;color:#8a5a00}
.bloom-chip{padding:2px 8px;border-radius:999px;background:#eef2f5;color:#33434f;font-weight:600}
.bloom-lembrar,.bloom-entender{background:#e8eef6;color:#2c4a6e}
.bloom-aplicar,.bloom-analisar{background:#e3f1e8;color:#1f6b45}
.bloom-avaliar,.bloom-criar{background:#f4ecd3;color:#7a5a10}
.bloom-vago,.bloom-unknown{background:#fbe4dc;color:#9a3b1b}

.reader-suggested-image{margin:14px 0;padding:12px 14px;border:1px dashed #b8902f;border-radius:10px;background:#fffaf0}
.reader-suggested-image span{font-size:12px;color:#6b5a2e}
.reader-suggested-image p{margin:6px 0}
.reader-suggested-image label{display:block;font-size:12px;font-weight:700;margin-top:6px}
.reader-suggested-image textarea{width:100%;margin:4px 0;font:13px/1.45 system-ui,sans-serif;padding:8px;border:1px solid #e1d6b8;border-radius:8px;background:#fff;resize:vertical}
.reader-suggested-image small{display:block;color:#6b5a2e;margin-top:4px}

.production-sector .production-uc{margin:0;border:0;border-radius:0;background:transparent;padding:4px 2px 2px}
.results-sector.hidden{display:none}
.reader-methodology details{margin-top:8px}.reader-methodology h4{margin:12px 0 4px}.methodology-phases li{margin-bottom:8px}
.methodology-student-text{padding:10px 12px;border-radius:8px;background:#fff6dd;white-space:pre-wrap}
.results-load-combined > * + *{margin-top:18px}
.material-notes{color:#8a5a00;margin:-4px 0 10px}
.material-source-box{margin:12px 0;padding:12px 14px;border:1px dashed #9fb3c8;border-radius:10px;background:#f6f9fc}
.material-source-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.material-source-head small{color:#5b6b7f}
.material-source-status{margin:4px 0 8px;font-size:13px}.material-source-empty{color:#6b7690}.material-source-warning{color:#9a3b1b}
.link-button{background:none;border:0;padding:0 0 0 8px;color:#bf4c34;text-decoration:underline;cursor:pointer;font:inherit}
.reader-source-used{border-left:3px solid #9fb3c8;padding-left:12px}
/* Ritmo vertical dos formulários: cada campo (rótulo + caixa) fica separado do próximo,
   para o rótulo ficar claramente ligado à caixa logo ABAIXO dele. */
.field-grid + .field-grid,.academic-profile-box .field-grid + .field-grid{margin-top:0}
.field-grid{margin-bottom:22px;row-gap:22px}
.field{margin-bottom:22px}
.field-grid > .field,.resource-plan-week .field,.practice-count-controls .field,.methodology-week,.composition-week .field{margin-bottom:0}
.field > span:first-child{margin-bottom:1px}
.field .hint,.field > small{margin-top:-2px}
.bloom-meter{margin-top:10px}
.material-source-box .field-grid{margin-bottom:14px}
.plan-dialog{max-width:860px}.plan-body{padding:4px 24px 22px;overflow:auto}
.plan-intro{color:#435069;margin:6px 0 16px}
#plan-text{font:14px/1.55 system-ui,sans-serif;min-height:360px}
.plan-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.plan-status{min-height:1.2em;color:#8a5a00;margin:0 0 10px}
.reader-approved-plan pre{white-space:pre-wrap;font:13px/1.5 system-ui,sans-serif;background:#f6f9fc;border-radius:8px;padding:12px;margin-top:8px}
/* Pasta do projeto */
.project-folder-bar{border-color:#d7d3ea;background:#f4f2fb;color:#3f3a66}.project-folder-bar .recovery-icon{background:#5b528f}.project-folder-bar.is-connected{border-color:#bfe4df;background:#edf8f6;color:#275d58}.project-folder-bar.is-connected .recovery-icon{background:var(--teal)}.project-folder-bar small{line-height:1.45}
/* Figuras e imagens do texto, na composição */
.composition-figures{border:1px solid #d7d3ea;border-radius:12px;overflow:hidden;background:#f8f7fd}.composition-figures>.composition-week-heading{padding:12px 14px 4px;flex-direction:column;align-items:flex-start;gap:4px}.composition-figure-row{grid-template-columns:minmax(220px,1.7fr) 110px;border-top:1px solid #e6e3f2}
.reader-suggested-image label{display:block;margin:10px 0 4px;font-size:12px;font-weight:700;color:#5e4721}.reader-suggested-image textarea{width:100%;border:1px solid #e3d3a8;border-radius:8px;padding:8px 10px;font:13px/1.45 inherit;background:#fff;color:#252b38;resize:vertical}.reader-suggested-image .copy-suggestion{margin-top:6px;height:32px;padding:0 12px;border:1px solid #d9bf7c;border-radius:8px;background:#fff7e5;color:#76530d;font-weight:700;font-size:12px;cursor:pointer}.reader-suggested-image .copy-suggestion:hover{background:#ffefc7}.reader-suggested-image small{display:block;margin-top:8px}
