/* Cronolectura 1.6: a quiet, independent workspace, in the style of Pizarra. */
.acl-launcher[hidden], .acl-app[hidden], .acl-app [hidden] { display: none !important; }
.acl-launcher { box-sizing: border-box; max-width: 1120px; margin: 32px auto; padding: clamp(32px,6vw,76px); border: 1px solid #dde7e5; border-radius: 22px; background: #fff; color: #18323a; text-align: center; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.acl-launcher * { box-sizing: border-box; }
.acl-launcher__icon { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 22px; color: #167e74; background: #eef6f3; }
.acl-launcher__icon svg { width: 42px; height: 42px; }
.acl-launcher .acl-launcher__eyebrow { margin: 0 0 15px; color: #55706a; font-size: 11px; font-weight: 650; letter-spacing: .14em; }
.acl-launcher h2 { margin: 0 auto 18px; max-width: 650px; color: #18323a; font-family: inherit; font-size: clamp(28px,4vw,42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.acl-launcher p { max-width: 590px; margin: 0 auto 28px; font-size: 17px; line-height: 1.65; color: #566c68; }
.acl-launcher button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; max-width: 100%; padding: 16px 24px; background: #167e74; color: #fff; border: 1px solid #167e74; border-radius: 12px; font: 600 16px/1.3 Inter,system-ui,sans-serif; cursor: pointer; text-transform: none; box-shadow: none; }
.acl-launcher button:hover { background: #10685f; }
.acl-launcher button:focus-visible { outline: 3px solid #167e74; outline-offset: 4px; }
.acl-launcher small { display: block; margin: 22px auto 0; color: #63746f; font-size: 12px; line-height: 1.6; }
.acl-workspace-open { overflow: hidden !important; overscroll-behavior: none; }
body.acl-workspace-open > :not(.acl-app--workspace), body.acl-workspace-open > :not(.acl-app--workspace) * { visibility: hidden !important; }
.acl-app {
	--acl-sea: #167e74; --acl-sea-dark: #10685f; --acl-mist: #f2f7f5; --acl-paper: #fff; --acl-border: #dde7e5; --acl-focus: #167e74;
	font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.acl-app.acl-app--workspace {
	position: fixed !important; inset: 0 !important; z-index: 2147483647 !important;
	width: 100% !important; max-width: none !important; min-width: 0 !important;
	height: 100vh !important; height: 100dvh !important; max-height: none !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	transform: none !important; box-shadow: none !important; background: #fff;
	overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; isolation: isolate; color: #18323a;
}
.acl-app--workspace::backdrop { background: #fff; }
.acl-app .acl-app__top { display: none !important; }
.acl-app .acl-workbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; padding: 16px clamp(20px,4vw,56px); padding-top: max(16px,env(safe-area-inset-top)); border-bottom: 1px solid #edf1ef; background: #fff; }
.acl-workbar__brand { display: flex; gap: 12px; align-items: center; }
.acl-workbar__brand > span { display: grid; place-items: center; height: 42px; width: 42px; background: #eef6f3; border-radius: 13px; color: #167e74; font: 32px/1 system-ui,sans-serif; }
.acl-workbar__brand small, .acl-workbar__brand strong { display: block; }
.acl-workbar__brand small { font-size: 11px; color: #62776f; margin-bottom: 3px; }
.acl-workbar__brand strong { font-size: 18px; font-weight: 650; }
.acl-workbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acl-app .acl-button { min-height: 44px; padding: 11px 18px; border-radius: 11px; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: normal; text-transform: none; box-shadow: none; }
.acl-app .acl-button--primary { background: #167e74; border-color: #167e74; color: #fff; }
.acl-app .acl-button--primary:hover { background: #10685f; }
.acl-app .acl-button--quiet { background: #fff; color: #36544e; border: 1px solid #dde7e5; }
.acl-app .acl-button--quiet:hover { background: #f2f7f5; }
.acl-app .acl-button:disabled { opacity: .38; cursor: default; }
.acl-app.acl-app--workspace .acl-progress { display: block; background: #fff; padding: 20px 24px 0; border: 0; max-width: 1050px; margin: 0 auto; }
.acl-app .acl-progress ol { gap: 12px; }
.acl-app .acl-progress li { border: 0; padding: 8px 4px; background: none; color: #6b7c78; font-size: 12px; }
.acl-app .acl-progress li span { width: 24px; height: 24px; border-radius: 8px; background: #f0f5f3; font-size: 11px; }
.acl-app .acl-progress li.is-current { color: #126c63; }
.acl-app .acl-progress li.is-current span { color: #fff; background: #167e74; }
.acl-app .acl-screen { max-width: 1050px; margin-inline: auto; padding: clamp(24px,3vw,44px); }
.acl-app [data-acl-screen="setup"] { padding-bottom: 110px; }
.acl-app .acl-setup-actions { position: fixed; bottom: 0; left: 0; z-index: 12; width: 100%; padding: 14px max(24px,calc((100% - 960px)/2)); padding-bottom: max(14px,env(safe-area-inset-bottom)); margin: 0; background: #fff; border-top: 1px solid #edf1ef; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acl-setup-actions > span { font-size: 13px; color: #63766f; }
.acl-app .acl-session-options { margin: 20px 0; border: 1px solid #dde7e5; border-radius: 12px; background: #fff; }
.acl-session-options summary { padding: 20px 22px; cursor: pointer; font-weight: 650; font-size: 15px; }
.acl-session-options summary > span { margin-left: 12px; color: #63766f; font-size: 12px; font-weight: 400; }
.acl-app .acl-session-options .acl-check-options { border: 0; background: #fff; padding: 20px; margin: 0; }
.acl-session-options .acl-check-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.acl-app .acl-section-heading { margin-bottom: 30px; }
.acl-app .acl-section-heading h3 { font-family: inherit; font-weight: 650; letter-spacing: -.025em; font-size: clamp(25px,3vw,32px); }
.acl-app .acl-step-label { font-size: 10px; letter-spacing: .12em; color: #5c746d; }
.acl-app .acl-course-grid label { background: #fff; border: 1px solid #dde7e5; border-radius: 12px; box-shadow: none; }
.acl-app .acl-course-grid input:checked + label { background: #eef6f3; color: #126c63; border-color: #167e74; box-shadow: inset 0 0 0 1px #167e74; }
.acl-app .acl-duration-grid label { background: #fff; border: 1px solid #dde7e5; border-radius: 12px; box-shadow: none; }
.acl-app .acl-duration-grid input:checked + label { background: #eef6f3; color: #126c63; border-color: #167e74; box-shadow: inset 0 0 0 1px #167e74; }
.acl-app .acl-mode-row { background: #f6f9f7; border: 1px solid #e3eae6; box-shadow: none; border-radius: 12px; }
.acl-app .acl-mode-row__icon { background: #e7f1ec; color: #167e74; }
.acl-app .acl-supports, .acl-app .acl-tracking, .acl-app .acl-teacher-settings { border-color: #dde7e5; box-shadow: none; background: #fff; }
.acl-app .acl-summary-icon { background: #eef6f3; color: #167e74; }
.acl-app .acl-display-note { margin: 12px auto; max-width: 960px; padding: 12px 24px; color: #536c63; font-size: 13px; }
.acl-app .acl-alert { max-width: 960px; margin: 16px auto; }
/* The ready and reading views use the entire screen, including after Esc. */
.acl-app[data-acl-current-screen="ready"], .acl-app[data-acl-current-screen="reading"] { background: var(--acl-reading-bg); }
.acl-app[data-acl-current-screen="ready"] .acl-workbar,
.acl-app[data-acl-current-screen="reading"] .acl-workbar,
.acl-app[data-acl-current-screen="ready"] .acl-progress,
.acl-app[data-acl-current-screen="reading"] .acl-progress,
.acl-app[data-acl-current-screen="reading"] .acl-display-note { display: none; }
.acl-app [data-acl-screen="ready"] { display: flex; align-items: center; min-height: 100%; max-width: 1100px; padding-block: max(68px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-bottom)); }
.acl-app .acl-ready { width: 100%; margin: 0 auto; color: var(--acl-reading-fg); }
.acl-app .acl-ready h3 { font-family: inherit; font-size: clamp(32px,4.5vw,52px); font-weight: 600; letter-spacing: -.035em; }
.acl-app .acl-ready > p { max-width: 540px; margin-inline: auto; color: var(--acl-reading-muted); line-height: 1.6; }
.acl-app .acl-ready .acl-step-label { color: var(--acl-reading-muted); }
.acl-app .acl-ready__summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin: 26px 0; }
.acl-app .acl-ready__summary div { background: none; padding: 0; }
.acl-app .acl-ready__summary dt { display: none; }
.acl-app .acl-ready__summary dd { font-size: 13px; font-weight: 400; color: var(--acl-reading-muted); }
.acl-app .acl-ready__sample { margin: 32px auto 18px; }
.acl-app .acl-ready__sample .acl-reading__text { text-align: center; }
.acl-app .acl-size-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 30px; }
.acl-size-controls span { font-size: 13px; min-width: 76px; color: var(--acl-reading-muted); }
.acl-app .acl-screen--reading { max-width: none; width: 100%; height: 100%; min-height: 0 !important; padding: 0 !important; }
.acl-app .acl-countdown { height: 100%; min-height: 0; justify-content: center; gap: 14px; padding: 40px 20px !important; }
.acl-app .acl-countdown span { border: 0; border-radius: 0; width: auto; height: auto; font-size: clamp(80px,18vw,160px); font-weight: 400; color: var(--acl-reading-fg); }
.acl-app .acl-countdown p { font-size: 16px; font-weight: 400; color: var(--acl-reading-muted); }
.acl-app .acl-countdown button { margin-top: 28px; }
.acl-app .acl-reading { display: flex; flex-direction: column; height: 100%; max-width: none; padding: 0 !important; }
.acl-app .acl-reading__header { flex: none; width: min(100%,1300px); align-self: center; border: 0; padding: max(70px,env(safe-area-inset-top)) clamp(24px,6vw,96px) 24px; margin: 0; }
.acl-app .acl-reading__header p { display: none; }
.acl-app .acl-reading__header h3 { font: 500 clamp(17px,1.7vw,24px)/1.3 Inter,system-ui,sans-serif; color: var(--acl-reading-muted); margin: 0; text-transform: none; letter-spacing: 0; }
.acl-app .acl-reading__viewport { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scroll-padding: 24px; padding: 0 max(24px,calc((100vw - 1300px)/2 + 6vw)) 40px; }
.acl-app .acl-reading__viewport:focus { outline: none; }
.acl-app .acl-reading__viewport:focus-visible { outline: 2px solid var(--acl-reading-rule); outline-offset: -2px; }
.acl-app .acl-reading__text { width: 100%; max-width: none; font-size: calc(clamp(24px,2.5vw,34px) + var(--acl-reading-size-step)); line-height: var(--acl-reading-line-height); overflow-wrap: anywhere; }
.acl-app[data-acl-text-size="large"] { --acl-reading-size-step: .3rem; }
.acl-app[data-acl-text-size="xlarge"] { --acl-reading-size-step: .65rem; }
.acl-app[data-acl-course="1"] .acl-reading__text, .acl-app[data-acl-course="2"] .acl-reading__text { font-size: calc(clamp(28px,2.9vw,39px) + var(--acl-reading-size-step)); max-width: none; }
.acl-app .acl-reading__text--mark { font-size: calc(clamp(20px,2vw,28px) + var(--acl-reading-size-step)); max-height: 48vh; overflow-y: auto; }
.acl-app .acl-reading__footer { flex: none; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; min-height: 68px; margin: 0; padding: 8px clamp(20px,4vw,56px) max(12px,env(safe-area-inset-bottom)); border: 0; background: var(--acl-reading-bg); }
.acl-app .acl-reading__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.acl-app .acl-reading__footer .acl-button { color: var(--acl-reading-muted); background: var(--acl-reading-bg); border-color: var(--acl-reading-rule); min-height: 44px; font-size: 13px; }
.acl-app .acl-reading__footer .acl-controls-toggle { border-color: transparent; }
.acl-app .acl-reading__footer .acl-reading-next { margin-right: auto; border-color: transparent; }
.acl-app .acl-reading__footer .acl-controls-toggle:hover { border-color: var(--acl-reading-rule); }
.acl-app .acl-timer { flex-direction: row; align-items: center; gap: 8px; margin-inline: 10px; }
.acl-app .acl-timer span { font-size: 11px; text-transform: none; }
.acl-app .acl-timer strong { font-size: 16px; font-weight: 500; }
@media(max-width:640px) {
	.acl-setup-actions > span { display: none; }
	.acl-app .acl-setup-actions { justify-content: flex-end; }
	.acl-session-options summary > span { display: block; margin: 5px 0 0; }
	.acl-app .acl-workbar { padding: 14px 16px; gap: 10px; align-items: flex-start; }
	.acl-workbar__brand > span { display: none; }
	.acl-workbar__actions { justify-content: flex-end; gap: 6px; max-width: 220px; }
	.acl-app .acl-workbar .acl-button { font-size: 12px; padding: 9px 12px; }
	.acl-app .acl-progress { padding: 16px 16px 0; }
	.acl-app .acl-progress ol { gap: 4px; }
	.acl-app .acl-progress li { font-size: 10px; }
	.acl-app .acl-progress li span { display: none; }
	.acl-app .acl-screen { padding: 24px 18px; }
	.acl-app .acl-reading__header { padding: max(48px,env(safe-area-inset-top)) 24px 20px; }
	.acl-app .acl-reading__viewport { padding-inline: 24px; }
	.acl-app .acl-reading__footer { min-height: 60px; padding-inline: 16px; }
	.acl-app .acl-reading__footer .acl-button { width: auto; }
	.acl-app .acl-reading__tools { gap: 5px; }
	.acl-app .acl-reading__tools .acl-button { padding-inline: 10px; font-size: 12px; }
}
@media(max-height:500px) {
	.acl-app .acl-reading__header { padding-top: 18px; padding-bottom: 12px; }
	.acl-app .acl-reading__footer { min-height: 52px; padding-block: 4px; }
}
@media print {
	body.acl-workspace-open > :not(.acl-app--workspace) { display: none !important; }
	.acl-launcher, .acl-workbar, .acl-display-note { display: none !important; }
	.acl-workspace-open { overflow: visible !important; }
	.acl-app.acl-app--workspace { position: static !important; height: auto !important; overflow: visible !important; }
	.acl-app .acl-screen { max-width: none; }
}
