/* CFT-003 approved family. Brand colors never replace domain-state colors. */
:root{--cf-paper:#faf9f5;--cf-white:#fffdf9;--cf-ink:#232922;--cf-muted:#586151;--cf-line:#d8dcd1;--cf-yellow:#f2c641;--cf-accent:#20685d;--cf-tint:#e6eee8}
body[data-cf-product=meempresta],body[data-product=meempresta]{--cf-accent:#3269a8;--cf-tint:#e8edf4}
body[data-cf-product=som-da-turma],body[data-product=som-da-turma]{--cf-accent:#a53c65;--cf-tint:#f2e8eb}
body[data-cf-product=apertaletra],body[data-product=apertaletra]{--cf-accent:#6255b7;--cf-tint:#eeebf6}
body[data-cf-product=fotocracha],body[data-product=fotocracha]{--cf-accent:#ad4b3b;--cf-tint:#f4e9e2}
.cf-header,.cf-header *{box-sizing:border-box}.cf-header{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1220px;margin:0 auto;padding:22px 0;border-bottom:1px solid var(--cf-line);font-family:Arial,Helvetica,sans-serif;color:var(--cf-ink);position:relative;z-index:12}
.cf-brand{display:inline-flex;gap:12px;align-items:center;color:var(--cf-accent)!important;text-decoration:none!important;min-width:0}.cf-brand strong{display:block;font-size:25px;line-height:1.15;letter-spacing:-.7px}.cf-brand small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--cf-muted)}.cf-mark{display:block;width:44px;height:44px;flex-shrink:0}
.crafting-account{margin:0;padding:0;border:0;background:transparent;display:block;font:13px/1.5 Arial,Helvetica,sans-serif;flex-shrink:0;color:var(--cf-ink)}.cf-profile{position:relative}.cf-profile summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 13px;border:1px solid var(--cf-line);border-radius:4px;background:var(--cf-white);color:var(--cf-ink);font-weight:700;cursor:pointer;list-style:none}.cf-profile summary::after{content:'⌄'}.cf-profile summary::-webkit-details-marker{display:none}
.cf-account-panel{position:absolute;right:0;top:calc(100% + 8px);width:290px;max-width:calc(100vw - 32px);padding:16px;background:var(--cf-white);border:1px solid var(--cf-line);border-radius:5px;box-shadow:0 12px 30px #23292220;z-index:100}.cf-account-panel>span,.cf-account-panel>a,.cf-account-panel>button{display:block;max-width:100%;margin:0;overflow-wrap:anywhere}.cf-account-state{padding-bottom:12px;color:var(--cf-muted);font-size:12px}.cf-account-panel>a,.cf-account-panel>button{width:100%;min-height:44px;padding:10px 0;text-align:left;border:0;border-top:1px solid var(--cf-line);background:transparent;color:var(--cf-accent);font:inherit;box-shadow:none;border-radius:0;cursor:pointer;text-decoration:none}.crafting-account [hidden]{display:none!important}
.cf-header :focus-visible,.account-shell :focus-visible{outline:3px solid #174c9d;outline-offset:3px}.cf-product-mark{display:inline-block;vertical-align:middle;margin-right:12px}.cf-product-mark .cf-mark{width:42px;height:42px}
.cf-author-brand{display:inline-flex;gap:12px;align-items:center;color:var(--cf-ink);text-decoration:none;font-size:24px;font-weight:700}.cf-author-brand>span:last-child{background:linear-gradient(transparent 73%,var(--cf-yellow) 73%)}
.account-page{background:var(--cf-paper);color:var(--cf-ink);font-family:Arial,Helvetica,sans-serif}.account-page .account-shell{max-width:1220px;padding:0 30px;margin:auto}.account-page .account-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid var(--cf-line)}.account-site-nav{display:flex;gap:25px;flex-wrap:wrap;font-size:14px}.account-site-nav a{color:var(--cf-muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.account-site-nav [aria-current]{color:var(--cf-ink);font-weight:700;border-bottom:3px solid var(--cf-ink)}.account-page h1{font-size:32px;margin:34px 0 14px;letter-spacing:-.7px}.account-workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;align-items:start;margin:26px 0 40px}.account-personal{padding:22px;background:#f0f1eb;border:1px solid var(--cf-line);border-radius:6px}.account-personal h2{font-size:20px;margin:0 0 15px}.account-personal .account-actions{display:grid}.account-personal button{max-width:100%;font-size:13px}.account-page .product-grid{grid-template-columns:minmax(0,1fr);margin:0;gap:18px}.account-page .product-grid article{border-radius:6px;background:var(--cf-white);border-color:var(--cf-line);min-width:0}.account-page .product-grid h2{display:flex;align-items:center;font-size:22px;line-height:1.2;color:var(--cf-accent)}.account-page .product-grid article[data-product] a{color:var(--cf-accent);font-weight:700}.account-page article[data-product=meempresta]{--cf-accent:#3269a8}.account-page article[data-product=som-da-turma]{--cf-accent:#a53c65}.account-page article[data-product=apertaletra]{--cf-accent:#6255b7}.account-page article[data-product=fotocracha]{--cf-accent:#ad4b3b}
.entry-page .product-name{display:inline-flex;align-items:center;gap:12px;color:var(--cf-accent)}.entry-page .primary{background:var(--cf-accent);border-color:var(--cf-accent)}.entry-page .tool-sign{display:none}.entry-page .access-column::before{background:var(--cf-tint)}
[data-cf-site] .masthead .name{display:inline-flex;align-items:center;gap:10px;background:none!important}[data-cf-site] .masthead .name .cf-mark{width:35px;height:35px}
/* Existing product controls and handlers are retained. */
body[data-cf-product=meempresta]{--visual-accent:#3269a8;--visual-accent-strong:#254f80;--visual-accent-dark:#254f80;--visual-accent-soft:#e8edf4;--ms-leaf:#3269a8;background:var(--cf-paper);font-family:Arial,Helvetica,sans-serif}
[data-cf-product=meempresta] .ambiente{max-width:1220px;padding:8px 30px 0;font-size:12px}[data-cf-product=meempresta] #contaArea{display:none!important}[data-cf-product=meempresta] .aplicativo{display:block!important;max-width:1220px;margin:auto;padding:0 30px;background:transparent;gap:0}[data-cf-product=meempresta] .aplicativo[hidden]{display:none!important}
[data-cf-product=meempresta] .barra-lateral{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'nav action' 'usage usage';align-items:center;gap:10px;padding:14px 0 8px;width:auto;min-height:0;position:static;box-shadow:none;border:0;border-bottom:1px solid var(--cf-line);background:transparent;border-radius:0;margin:0}[data-cf-product=meempresta] .barra-lateral>.marca{display:none}[data-cf-product=meempresta] .barra-lateral>.acao-principal{grid-area:action;width:auto;margin:0;padding:11px 18px;min-height:44px;box-shadow:none;border-radius:4px;background:var(--cf-accent)}
[data-cf-product=meempresta] .navegacao{grid-area:nav;display:flex;flex-wrap:wrap;gap:6px 12px;margin:0}[data-cf-product=meempresta] .navegacao .aba{width:auto;min-height:44px;padding:10px 8px;border:0;border-radius:0;background:transparent;color:var(--cf-muted);font-size:14px;box-shadow:none}[data-cf-product=meempresta] .navegacao .aba>span:first-child{display:none}[data-cf-product=meempresta] .navegacao .aba.ativa{color:var(--cf-accent);background:var(--cf-tint);border-radius:4px;text-decoration:none;clip-path:none}
[data-cf-product=meempresta] .plano-resumo{grid-area:usage;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;border:0;margin:0;padding:8px 0;font-size:11px}[data-cf-product=meempresta] .barra-uso{display:none}[data-cf-product=meempresta] .plano-resumo strong{font-size:11px;font-weight:400}[data-cf-product=meempresta] .plano-resumo .botao{font-size:11px;padding:6px 10px;min-height:34px}[data-cf-product=meempresta] .conteudo{padding:30px 0;margin:0;min-width:0}[data-cf-product=meempresta] .mobile-topo{display:none!important}[data-cf-product=meempresta] .topo h2{font-size:31px;line-height:1.2;letter-spacing:-.8px}[data-cf-product=meempresta] .painel-emprestar{padding:18px 22px;background:var(--cf-tint);box-shadow:none;border-radius:5px;clip-path:none}[data-cf-product=meempresta] .painel-emprestar h2{font-size:25px}[data-cf-product=meempresta] .botao.verde,[data-cf-product=meempresta] .acao-principal{background:var(--cf-accent);border-color:var(--cf-accent);box-shadow:none}
body[data-cf-product=fotocracha]{--deep:#ad4b3b;--leaf:#ad4b3b;font-family:Arial,Helvetica,sans-serif}[data-cf-product=fotocracha] .app-shell>.cf-header{padding-inline:16px;max-width:1152px}[data-cf-product=fotocracha] .topbar{max-width:1152px;margin:auto;padding:0 16px;border:0}[data-cf-product=fotocracha] .topbar>.brand{display:none}[data-cf-product=fotocracha] .top-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--cf-line)}[data-cf-product=fotocracha] .version{margin-left:auto;order:5;font-size:10px}[data-cf-product=fotocracha] .top-actions .quiet{color:var(--cf-muted);border-radius:0;border:0;background:transparent;min-height:44px}[data-cf-product=fotocracha] .hero::before{background:var(--cf-tint)}[data-cf-product=fotocracha] button.primary{background:var(--cf-accent);border-color:var(--cf-accent)}[data-cf-product=fotocracha] .panel{border-radius:6px;box-shadow:none}
/* Keep the writing document and its chosen colors outside this adult scope. */
[data-cf-product=apertaletra] #adultRoot{--ms-leaf:#6255b7;--ms-paper:var(--cf-paper)}[data-cf-product=apertaletra] .adult-header{display:none}[data-cf-product=apertaletra] #navAccount{display:none}[data-cf-product=apertaletra] #adultRoot .teacher-nav{border-bottom:1px solid var(--cf-line);gap:15px;padding:12px 0;max-width:1220px;margin:auto}[data-cf-product=apertaletra] #adultRoot .teacher-nav button{background:transparent!important;border:0;border-radius:0;min-height:44px;color:var(--cf-muted)}[data-cf-product=apertaletra] #adultRoot .teacher-nav [aria-current=page]{color:var(--cf-accent);border-bottom:3px solid var(--cf-accent)}[data-cf-product=apertaletra] #adultRoot button.primary{background:var(--cf-accent);border-color:var(--cf-accent)}
/* Som changes are restricted to adult preparation; semantic monitor colors stay intact. */
[data-cf-product=som-da-turma] #setup{padding:0 28px;background:var(--cf-paper)}[data-cf-product=som-da-turma] #setup>.panel{width:min(1220px,100%);min-height:0;padding:0 0 28px;border:0;box-shadow:none;background:transparent;display:block}[data-cf-product=som-da-turma] #setup>.panel>h1,[data-cf-product=som-da-turma] #setup .profile-strip{display:none}[data-cf-product=som-da-turma] #setup .cf-header{margin-bottom:12px}[data-cf-product=som-da-turma] #setup .setup-card{background:var(--cf-white);border:1px solid var(--cf-line);border-radius:6px;box-shadow:none;min-height:0;padding:24px}[data-cf-product=som-da-turma] #setup h2{font-size:25px;line-height:1.2}[data-cf-product=som-da-turma] #setup .btn.primary{background:var(--cf-accent);color:var(--cf-white);box-shadow:none}[data-cf-product=som-da-turma] #setup button{border-radius:4px;font-size:14px;min-height:44px;font-weight:700;box-shadow:none}[data-cf-product=som-da-turma] #setup .field label{font-size:13px}[data-cf-product=som-da-turma] #setup .field input,[data-cf-product=som-da-turma] #setup .field select{font-size:18px;border-radius:4px;font-weight:500}[data-cf-product=som-da-turma] #setup .legend-item{border-radius:4px;font-size:15px;padding:14px 8px}
@media(max-width:700px){.cf-header{padding:18px 0;gap:10px}.cf-brand{gap:8px}.cf-brand strong{font-size:21px}.cf-brand small{font-size:10px}.cf-mark{width:35px;height:35px}.cf-profile summary{font-size:12px;padding:9px}.cf-account-panel{width:270px}.account-page .account-header{align-items:flex-start;flex-direction:column}.account-site-nav{gap:20px}.account-page .account-shell{padding:0 18px}.account-workspace{grid-template-columns:1fr}.account-page .product-grid{grid-template-columns:1fr}.account-page .product-grid h2{font-size:21px}.account-personal{padding:18px}[data-cf-product=meempresta] .aplicativo{padding:0 18px}[data-cf-product=meempresta] .ambiente{padding:8px 18px 0}[data-cf-product=meempresta] .barra-lateral{grid-template-columns:1fr;grid-template-areas:'nav' 'action' 'usage'}[data-cf-product=meempresta] .barra-lateral>.acao-principal{justify-content:center}[data-cf-product=meempresta] .conteudo{padding-top:24px}[data-cf-product=meempresta] .topo h2{font-size:27px}[data-cf-product=fotocracha] .version{width:100%;margin:0;padding:3px 0}[data-cf-product=som-da-turma] #setup{padding:0 18px}[data-cf-product=som-da-turma] #setup .setup-card{padding:18px}}
@media(max-width:370px){.cf-brand strong{font-size:18px}.cf-brand small{font-size:9px}.cf-mark{width:31px;height:31px}.cf-profile summary{font-size:11px;padding:8px}.cf-brand{gap:6px}.cf-mark-detail{display:none}}
@media print{.cf-header,.crafting-account{display:none!important}}
@media(prefers-reduced-motion:reduce){.cf-header *{transition:none!important;animation:none!important}}

[data-cf-site] .cf-author-name{background:linear-gradient(transparent 73%,var(--cf-yellow) 73%)}
[data-cf-product=meempresta] .barra-lateral{height:auto;inset:auto;backdrop-filter:none;z-index:auto}
[data-cf-product=meempresta] .barra-lateral>.acao-principal{display:inline-flex;align-items:center;gap:8px;height:auto;font-size:14px}
[data-cf-product=meempresta] .barra-lateral>.acao-principal span:last-child{display:inline}
[data-cf-product=meempresta] .aplicativo>.ambiente{max-width:none;padding:10px 0 0}
[data-cf-product=meempresta] .botao-gigante,[data-cf-product=meempresta] .filtro.ativo{background:var(--cf-accent);border-color:var(--cf-accent);box-shadow:none}
[data-cf-product=meempresta] .painel-emprestar::before,[data-cf-product=meempresta] .aba.ativa::before{background:var(--cf-tint)}
[data-cf-site] .ms-topnav a[href="/minha-conta/"]{display:inline-flex;align-items:center;min-height:44px}
[data-cf-product=fotocracha] .hero-symbol>.cf-mark{width:180px;height:180px}
[data-cf-product=som-da-turma] #setup .sdt-setup-head{border-bottom:1px solid var(--cf-line);padding:0 0 12px}
[data-cf-product=som-da-turma] #setup .sdt-view-switch{display:flex;flex-wrap:wrap;gap:6px 14px}
[data-cf-product=som-da-turma] #setup .sdt-view-switch button{background:transparent;color:var(--cf-muted);border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 8px}
[data-cf-product=som-da-turma] #setup .sdt-view-switch button[aria-pressed=true]{background:transparent;color:var(--cf-accent);border-bottom-color:var(--cf-accent)}

/* Four adult workspaces: header, tool navigation, then framed content. */
:root{--cf-workspace-width:1220px;--cf-gutter:28px;--cf-card-padding:24px}
body[data-cf-product]:not([data-cf-product=conta]) .cf-header{width:100%;max-width:var(--cf-workspace-width);padding:22px 0;margin:0 auto 12px;border:0;gap:24px}
.cf-header .cf-account-inline{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 18px;min-width:0;max-width:65%;flex:0 1 auto}
.cf-account-inline>a,body[data-cf-product] :is(#adultRoot,#setup,.aplicativo,.app-shell) .cf-header .cf-account-inline>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:auto;padding:8px 0;margin:0;background:transparent;border:0;border-radius:3px;box-shadow:none;color:var(--cf-accent);font:700 13px/1.5 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.cf-account-inline>a:hover,.cf-account-inline>button:hover{text-decoration:underline;text-underline-offset:4px;background:transparent}
.cf-account-inline .cf-account-state{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:0;font:12px/1.5 Arial,Helvetica,sans-serif;overflow-wrap:anywhere;color:var(--cf-muted)}
.cf-account-inline .cf-account-state::before{content:'';width:7px;height:7px;border-radius:50%;flex-shrink:0;background:#a98319}
.cf-account-inline[data-state=connected] .cf-account-state::before{background:#287548}
.cf-account-inline[data-state=disconnected] .cf-account-state::before{background:#788173}
.cf-account-inline[data-state=error] .cf-account-state::before{background:#ad4b3b}
body[data-cf-product=meempresta] .aplicativo,
body[data-cf-product=fotocracha] .app-shell,
body[data-cf-product=apertaletra] #adultRoot,
body[data-cf-product=som-da-turma] #setup>.panel{
 box-sizing:border-box;width:min(var(--cf-workspace-width),calc(100% - 2 * var(--cf-gutter)));
 max-width:none;margin-inline:auto;padding-inline:0
}
body[data-cf-product=fotocracha] .app-shell>.cf-header,body[data-cf-product=fotocracha] .topbar{max-width:none;width:100%;padding-inline:0}
body[data-cf-product=fotocracha] .topbar{padding:0;min-height:0;border:0}
body[data-cf-product=fotocracha] .container{width:100%;max-width:none;padding:0 0 40px}
body[data-cf-product=som-da-turma] #setup{padding-inline:0}
body[data-cf-product=apertaletra] .adult-main{box-sizing:border-box;width:100%;max-width:none}
.cf-tool-nav,body[data-cf-product=som-da-turma] #setup .sdt-setup-head{border-top:1px solid var(--cf-line);border-bottom:1px solid var(--cf-line);padding:8px 0;margin:0 0 24px;min-height:62px}
body[data-cf-product=meempresta] .barra-lateral.cf-tool-nav{grid-template-areas:'nav action';grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;border-inline:0;border-block:1px solid var(--cf-line);padding:8px 0;margin:0 0 24px;min-height:62px}
body[data-cf-product=meempresta] .navegacao .aba.ativa::before{display:none}
body[data-cf-product=meempresta] .conteudo{padding:0 0 32px}
.cf-workspace-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:0 0 20px;color:var(--cf-muted);font:12px/1.5 Arial,Helvetica,sans-serif}
body[data-cf-product=meempresta] .cf-workspace-meta .ambiente{max-width:none;padding:0;background:transparent;border:0;margin:0}
body[data-cf-product=meempresta] .cf-workspace-meta .plano-resumo{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;border:0;margin:0;padding:0;font-size:11px}
body[data-cf-product=meempresta] .cf-workspace-meta .plano-resumo strong{font-weight:400;font-size:11px}
body[data-cf-product=meempresta] .cf-workspace-meta .plano-resumo .botao{font-size:11px;min-height:34px;padding:6px 10px}
body[data-cf-product=fotocracha] .top-actions.cf-tool-nav{gap:6px 14px;align-items:center;justify-content:flex-start}
body[data-cf-product=fotocracha] .top-actions .navtabs{display:none;border:0;overflow:visible;padding:0;margin:0;gap:6px;flex-wrap:wrap}
body[data-cf-product=fotocracha][data-page=editor] .top-actions .navtabs{display:flex}
body[data-cf-product=fotocracha] .cf-workspace-meta .version{display:block;margin:0;order:0;width:auto;white-space:normal}
body[data-cf-product=fotocracha] .top-actions button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;min-height:44px;padding:10px 8px;color:var(--cf-muted)}
body[data-cf-product=fotocracha] .top-actions button[aria-current=page]{color:var(--cf-accent);border-bottom-color:var(--cf-accent);background:transparent}
body[data-cf-product=apertaletra] #adultRoot .teacher-nav.cf-tool-nav{box-sizing:border-box;width:100%;max-width:none;padding:8px 0;margin:0 auto 24px;border-top:1px solid var(--cf-line);border-bottom:1px solid var(--cf-line)}
body[data-cf-product=apertaletra] .adult-main{padding-top:0}
.cf-frame{box-sizing:border-box;position:relative;isolation:isolate;min-width:0;padding:var(--cf-card-padding);border:1px solid var(--cf-line);border-radius:6px;background:var(--cf-white);box-shadow:none}
.cf-frame-main::before{content:'';position:absolute;right:20px;top:-6px;width:90px;height:10px;background:var(--cf-yellow);clip-path:polygon(3% 0,100% 12%,97% 100%,0 85%);pointer-events:none;z-index:1}
body[data-cf-product=meempresta] .conteudo>.cf-frame{margin:0 0 24px}
body[data-cf-product=meempresta] .cf-frame>.topo{margin-top:0}
body[data-cf-product=meempresta] .cf-frame .painel-emprestar{margin-top:22px}
body[data-cf-product=apertaletra] #teacherPanel.cf-frame,body[data-cf-product=apertaletra] #textsPanel.cf-frame{max-width:none;margin:0 0 24px;padding:var(--cf-card-padding)}
body[data-cf-product=apertaletra] #teacherPanel .section-plate{padding:0;margin:0 0 22px;background:transparent}
body[data-cf-product=apertaletra] #teacherPanel .section-plate::before,body[data-cf-product=apertaletra] .texts-heading h1::before,body[data-cf-product=apertaletra] .activity-card::before{display:none}
body[data-cf-product=apertaletra] .texts-heading h1{padding:0}
body[data-cf-product=apertaletra] #leaveAccount{display:none}
body[data-cf-product=fotocracha] .cf-frame{padding:var(--cf-card-padding);margin:0 0 24px}
body[data-cf-product=fotocracha] .hero.cf-frame::before{display:none}
body[data-cf-product=som-da-turma] #setup .setup-card{padding:var(--cf-card-padding)}
@media(max-width:700px){
 :root{--cf-gutter:18px;--cf-card-padding:18px}
 body[data-cf-product]:not([data-cf-product=conta]) .cf-header{flex-direction:column;align-items:stretch;gap:10px;padding:18px 0;margin-bottom:12px}
 .cf-header .cf-account-inline{max-width:100%;justify-content:flex-start;gap:0 22px}
 .cf-account-inline .cf-account-state{flex-basis:100%;padding:2px 0 4px}
 body[data-cf-product=meempresta] .barra-lateral.cf-tool-nav{grid-template-columns:1fr;grid-template-areas:'nav' 'action'}
 body[data-cf-product=meempresta] .cf-workspace-meta{align-items:flex-start;gap:10px}
 body[data-cf-product=fotocracha] .top-actions.cf-tool-nav{gap:6px}
 body[data-cf-product=fotocracha] .top-actions .navtabs{flex-basis:100%}
}
@media print{.cf-frame-main::before{display:none!important}}

/* Lists in the adult workspaces. */
body[data-cf-product] :is(#activityList,#listaEmprestimos,#entryChoose .spaces-list){
 display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0
}
body[data-cf-product] :is(#activityList .activity-card,#listaEmprestimos .cartao,#entryChoose .carometro-card){
 box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:10px 18px;min-width:0;min-height:72px;padding:14px 16px;margin:0;
 border:1px solid var(--cf-line);border-radius:6px;background:var(--cf-paper);box-shadow:none
}
body[data-cf-product] #entryChoose .carometro-card:last-child{border-bottom:1px solid var(--cf-line)}
body[data-cf-product] #entryChoose .carometro-card:focus-within{background:var(--cf-tint);outline-color:var(--cf-accent)}
body[data-cf-product] :is(#activityList .activity-card,#listaEmprestimos .cartao,#entryChoose .carometro-card) :is(h2,h3){
 margin:0;font-size:calc(19px * var(--cf-text-factor,1))!important;line-height:1.35;overflow-wrap:anywhere;color:var(--cf-ink)
}
#activityList .activity-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
#activityList .activity-kind{margin:0}
#activityList .activity-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px}
#activityList .activity-summary p{margin:4px 0 0}
body[data-cf-product] :is(#listaEmprestimos .acoes,#entryChoose .carometro-actions){
 display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px
}
@media(max-width:560px){
 body[data-cf-product] :is(#activityList .activity-card,#listaEmprestimos .cartao,#entryChoose .carometro-card){grid-template-columns:minmax(0,1fr);align-items:start;padding:12px}
 #activityList .activity-card>button{justify-self:start;max-width:100%}
 body[data-cf-product] :is(#listaEmprestimos .acoes,#entryChoose .carometro-actions){justify-content:flex-start}
}

/* Minha conta: one application per row; license details will be added later. */
.account-page .product-grid article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px}
.account-page .product-grid article h2{min-width:0;margin:0;overflow-wrap:anywhere}
.account-page .product-grid article a.cf-product-open{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;min-width:104px;padding:10px 18px;border:1px solid var(--cf-accent);border-radius:4px;background:var(--cf-accent);color:var(--cf-white);font-size:14px;text-decoration:none}
.account-page .product-grid article a.cf-product-open:hover{filter:brightness(.92)}
@media(max-width:600px){.account-page .product-grid article{flex-direction:column;align-items:stretch;padding:20px;gap:14px}}

/* Reading preferences affect adult controls, never documents or projection. */
body[data-cf-text-size]{--cf-text-factor:1;--cf-text:calc(17px * var(--cf-text-factor));--cf-control-text:calc(16px * var(--cf-text-factor));--cf-small-text:calc(14px * var(--cf-text-factor))}
body[data-cf-text-size=large]{--cf-text-factor:1.2}
body[data-cf-text-size=xlarge]{--cf-text-factor:1.4}
.cf-header-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 18px;min-width:0;max-width:75%}
.cf-header .cf-header-controls .cf-account-inline{max-width:100%;gap:4px 18px}
.cf-text-size{position:relative;flex-shrink:0}
.cf-text-size-panel{position:absolute;right:0;top:calc(100% + 8px);width:290px;max-width:calc(100vw - 36px);padding:18px;background:var(--cf-white);color:var(--cf-ink);border:1px solid var(--cf-line);border-radius:6px;box-shadow:0 12px 30px #23292220;z-index:100;text-align:left;font-family:Arial,Helvetica,sans-serif}
.cf-text-size-panel[hidden]{display:none!important}
.cf-text-size-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.cf-text-size-panel fieldset{display:grid;gap:6px;margin:0;padding:0;border:0;min-width:0}
.cf-text-size-panel legend{font-size:var(--cf-small-text);padding:0;margin-bottom:10px;color:var(--cf-muted)}
.cf-text-size-panel label{display:flex!important;align-items:center;flex-direction:row!important;gap:12px;min-height:48px;margin:0;padding:10px;border:1px solid var(--cf-line);border-radius:4px;cursor:pointer;font-weight:600}
.cf-text-size-panel label:has(input:checked){border-color:var(--cf-accent);background:var(--cf-tint)}
.cf-text-size-panel input[type=radio]{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:var(--cf-accent)}
.cf-text-size-panel label:nth-of-type(1) span{font-size:16px}
.cf-text-size-panel label:nth-of-type(2) span{font-size:19px}
.cf-text-size-panel label:nth-of-type(3) span{font-size:22px}
.cf-text-size-panel .cf-text-size-note{margin:14px 0 0;line-height:1.5}
@media screen{
 body[data-cf-text-size] :is(.aplicativo,.modal,.app-shell,dialog,#adultRoot,.class-dialog,#setup,#ranking,#summary){font-size:var(--cf-text);line-height:1.55}
 body[data-cf-text-size] :where(.aplicativo,.modal,.app-shell,dialog,#adultRoot,.class-dialog,#setup,#ranking,#summary) :is(p,li,td,th,dt,dd,figcaption):not(#printSheet *){font-size:var(--cf-text)!important;line-height:1.55;overflow-wrap:anywhere}
 body[data-cf-text-size] :where(.aplicativo,.modal,.app-shell,dialog,#adultRoot,.class-dialog,#setup,#ranking,#summary) :is(button,input,select,textarea,label,summary):not(#printSheet *){font-size:var(--cf-control-text)!important;line-height:1.45;overflow-wrap:anywhere}
 body[data-cf-text-size] :where(.aplicativo,.modal,.app-shell,dialog,#adultRoot,.class-dialog,#setup,#ranking,#summary) :is(input,select,textarea):not(#printSheet *){min-width:0;max-width:100%}
 body[data-cf-text-size] :where(.aplicativo,.modal,.app-shell,dialog,#adultRoot,.class-dialog,#setup,#ranking,#summary) :is(small,.meta,.sub,.mini,.eyebrow,.hint,.status-note,.sdt-setup-hint,.room-selector-hint,.version,.cf-account-state,.etiqueta,.sugestao-detalhe,.badge,.tag,.status-chip):not(#printSheet *){font-size:var(--cf-small-text)!important;line-height:1.5}
 body[data-cf-text-size] #adultRoot .test-note,body[data-cf-text-size] .cf-text-size-panel .cf-text-size-note{font-size:var(--cf-small-text)!important}
 body[data-cf-text-size] :is(.site-foot,.cf-workspace-meta,.privacy-notes) p{font-size:var(--cf-small-text)!important}
 body[data-cf-text-size] .cf-header .cf-account-link{font-size:var(--cf-control-text)!important}
 body[data-cf-text-size] .cf-brand{max-width:100%}
 body[data-cf-text-size] .cf-brand>span:last-child{min-width:0}
 body[data-cf-text-size] .cf-brand strong{font-size:calc(26px * var(--cf-text-factor));overflow-wrap:anywhere}
 body[data-cf-text-size] .cf-brand small{font-size:var(--cf-small-text)!important}
 body[data-cf-text-size] .cf-header .cf-text-size-button{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;height:auto;padding:6px 10px;margin:0;background:var(--cf-white);color:var(--cf-ink);border:1px solid var(--cf-line);border-radius:4px;box-shadow:none;font:bold calc(21px * var(--cf-text-factor))/1.2 Georgia,serif!important}
 body[data-cf-text-size] .cf-header .cf-text-size-heading button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;background:transparent;border:0;color:var(--cf-ink);font-size:calc(24px * var(--cf-text-factor))!important}
 body[data-cf-text-size] :is(.aplicativo,.app-shell,#adultRoot,.modal,dialog) :is(h2,h3):not(#printSheet *){font-size:calc(24px * var(--cf-text-factor));line-height:1.3;overflow-wrap:anywhere}
 body[data-cf-text-size] #adultRoot h1{font-size:calc(26px * var(--cf-text-factor));overflow-wrap:anywhere}
 body[data-cf-text-size] :is(.aplicativo .me-quadro-cabecalho h2,.aplicativo #tituloAcompanhar,.app-shell .people-panel h2){font-size:calc(26px * var(--cf-text-factor))}
 body[data-cf-text-size] .app-shell .hero h1{font-size:clamp(calc(30px * var(--cf-text-factor)),calc(4.2vw * var(--cf-text-factor)),calc(43px * var(--cf-text-factor)))}
 body[data-cf-text-size] .app-shell .student-card h3{font-size:var(--cf-text)}
 body[data-cf-text-size] .aplicativo .cartao h3{font-size:calc(20px * var(--cf-text-factor))}
 body[data-cf-text-size] .aplicativo .navegacao .aba,body[data-cf-text-size] #adultRoot .teacher-nav button,body[data-cf-text-size] .app-shell .top-actions button{font-size:var(--cf-control-text)!important}
 body[data-cf-text-size] .aplicativo .me-quadro-cabecalho .botao-gigante{font-size:calc(18px * var(--cf-text-factor))!important}
 body[data-cf-text-size] #setup .sdt-view-switch button{font-size:var(--cf-control-text)!important}
 body[data-cf-text-size] #setup :is(.setup-card h2,.sdt-rooms-heading h2){font-size:calc(25px * var(--cf-text-factor))}
 body[data-cf-text-size] #setup .levels-card .legend-item{font-size:var(--cf-control-text)!important;overflow-wrap:anywhere}
 body[data-cf-text-size] #setup :is(.sensitivity input,.turma-stat span){font-size:calc(20px * var(--cf-text-factor))!important}
 body[data-cf-text-size] #printSheet{font-size:16px;line-height:normal}
}
@media screen and (max-width:700px){
 .cf-header-controls{max-width:100%;justify-content:flex-start;align-items:flex-start;gap:10px 14px}
 .cf-header-controls .cf-account-inline{flex:1 1 200px}
 .cf-text-size-panel{left:0;right:auto}
 body[data-cf-text-size] .aplicativo .linha-comando{display:grid;grid-template-columns:minmax(0,1fr)}
 body[data-cf-text-size] .aplicativo .linha-comando>button{width:100%}
 body[data-cf-text-size] .app-shell .hero-symbol{display:none}
}

/* Apertaquem links to its own site below the four account applications. */
.account-apps{min-width:0}
.account-page .account-external-product{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;margin-top:28px;padding:22px 24px;border:1px solid var(--cf-line);border-radius:6px;background:var(--cf-white)}
.account-external-copy{min-width:0}
.account-page .account-external-product h2{font-size:22px;line-height:1.2;letter-spacing:0;margin:0;color:var(--cf-ink);overflow-wrap:anywhere}
.account-external-product p{margin:8px 0 0;font-size:16px;line-height:1.5;color:var(--cf-muted);overflow-wrap:anywhere}
.account-page .account-external-product .cf-product-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:10px 18px;border:1px solid var(--cf-accent);border-radius:4px;background:transparent;color:var(--cf-accent);font-size:14px;font-weight:700;line-height:1.5;text-decoration:none}
.account-page .account-external-product .cf-product-open:hover{background:var(--cf-tint);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.account-page .account-external-product{flex-direction:column;align-items:stretch;padding:20px;gap:14px}}
.account-page .account-external-product h2{display:flex;align-items:center;gap:12px}
.apertaquem-product-logo{width:42px;height:42px;object-fit:contain;flex-shrink:0}

/* Public guides follow the adult workspace typography and product colors. */
.cf-help-page{margin:0;background:var(--cf-paper);color:var(--cf-ink);font:18px/1.65 Arial,Helvetica,sans-serif}
.cf-help-page *{box-sizing:border-box}
.cf-help-page a{color:var(--cf-accent);text-underline-offset:4px}
.cf-help-page :focus-visible{outline:3px solid #174c9d;outline-offset:4px}
.cf-help-page .skip{position:absolute;top:-90px;left:16px;background:white;padding:12px;z-index:20}
.cf-help-page .skip:focus{top:8px}
.cf-help-shell{width:min(1060px,calc(100% - 2 * var(--cf-gutter)));margin:0 auto 40px}
.cf-help-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:20px 0}
.cf-help-topbar>a{display:inline-flex;gap:12px;align-items:center;font-size:24px;font-weight:700;text-decoration:none}
.cf-help-topbar .cf-mark{width:44px;height:44px}
.cf-help-topbar nav{display:flex;flex-wrap:wrap;gap:6px 22px}
.cf-help-topbar nav a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}
.cf-help-hero,.cf-help-section{border:1px solid var(--cf-line);border-radius:6px;padding:28px;background:var(--cf-white);margin:0 0 20px;min-width:0}
.cf-help-hero{position:relative;border-top:5px solid var(--cf-accent)}
.cf-help-hero::before{content:'';position:absolute;right:24px;top:-8px;width:90px;height:10px;background:var(--cf-yellow);transform:rotate(2deg)}
.cf-help-page h1{font-size:34px;line-height:1.2;letter-spacing:-.7px;margin:0 0 18px}
.cf-help-page h2{font-size:26px;line-height:1.3;letter-spacing:-.4px;margin:0 0 16px;scroll-margin-top:20px}
.cf-help-page h3{font-size:20px;line-height:1.4;margin:22px 0 10px}
.cf-help-page p{margin:0 0 16px}
.cf-help-page p:last-child{margin-bottom:0}
.cf-help-page li+li{margin-top:10px}
.cf-help-page ol,.cf-help-page ul{padding-left:26px}
.cf-help-updated{font-size:15px;color:var(--cf-muted)}
.cf-help-contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:24px 0 0}
.cf-help-contents a{min-height:44px;display:flex;align-items:center;padding:8px 12px;border:1px solid var(--cf-line);border-radius:4px;background:var(--cf-paper);text-decoration:none}
.cf-help-contents a:hover{background:var(--cf-tint)}
.cf-help-callout{padding:16px 18px;background:var(--cf-tint);border-left:4px solid var(--cf-accent);margin:20px 0}
.cf-help-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0!important;margin:22px 0}
.cf-help-flow li{padding:16px;background:var(--cf-paper);border:1px solid var(--cf-line);border-radius:5px;margin:0!important}
.cf-help-flow strong{display:block;margin-bottom:6px}
.cf-help-figure{margin:20px 0}
.cf-help-figure figcaption{color:var(--cf-muted);font-size:15px}
.cf-help-table{overflow-x:auto;margin:20px 0}
.cf-help-table table{width:100%;border-collapse:collapse}
.cf-help-table th,.cf-help-table td{text-align:left;vertical-align:top;padding:12px 14px;border:1px solid var(--cf-line)}
.cf-help-table th{background:var(--cf-tint)}
.cf-help-table td:first-child{font-weight:700}
@media(max-width:700px){
 .cf-help-hero,.cf-help-section{padding:20px}
 .cf-help-page h1{font-size:29px}
 .cf-help-page h2{font-size:24px}
 .cf-help-flow,.cf-help-contents{grid-template-columns:minmax(0,1fr)}
}
@media print{
 .cf-help-page .skip,.cf-help-topbar nav,.cf-help-contents{display:none}
 .cf-help-shell{width:100%;margin:0}
 .cf-help-hero,.cf-help-section{break-inside:avoid}
}
