@font-face {
	font-family: "Aula ABN Escolar";
	src: url("../fonts/playwrite-es.ttf") format("truetype");
	font-display: swap;
}

.aabn-plugin-shell {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}
.aabn-plugin-shell--wide {
	width: min(1440px, calc(100vw - 2rem)) !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	transform: translateX(var(--aabn-shell-shift, 0px));
}
.aabn-plugin-shell--content { width: 100%; }
.aabn-plugin-shell .aabn-app { width: 100%; }
body.aula-abn-wide-page,
body.aula-abn-has-wide-shell { overflow-x: clip; }
body.aabn-app-expanded { overflow: hidden !important; }
body.aula-abn-wide-page .wp-block-shortcode,
body.aula-abn-wide-page .entry-content,
body.aula-abn-wide-page .wp-block-post-content { overflow: visible !important; }
@supports not (overflow: clip) {
	body.aula-abn-wide-page,
	body.aula-abn-has-wide-shell { overflow-x: hidden; }
}

.aabn-app {
	--aabn-ink: #17313a;
	--aabn-muted: #567078;
	--aabn-paper: #fffdf7;
	--aabn-surface: #ffffff;
	--aabn-line: #d9e5e2;
	--aabn-teal: #087f78;
	--aabn-teal-dark: #075e5b;
	--aabn-blue: #2d6cdf;
	--aabn-yellow: #f5b942;
	--aabn-coral: #ed6a5a;
	--aabn-purple: #7952b3;
	--aabn-green: #4b9b68;
	--aabn-unit-blue: #246fca;
	--aabn-ten-red: #d64242;
	--aabn-hundred-yellow: #f0c62f;
	--aabn-shadow: 0 16px 40px rgba(23, 49, 58, .10);
	--aabn-radius: 22px;
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 1380px;
	margin: 0 auto;
	background: var(--aabn-paper);
	color: var(--aabn-ink);
	border: 1px solid #e7e2d5;
	border-radius: 28px;
	box-shadow: var(--aabn-shadow);
	overflow: hidden;
	font: 500 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-rendering: optimizeLegibility;
}
.aabn-app:fullscreen,
.aabn-app.aabn-app--expanded {
	width: 100vw !important;
	max-width: none !important;
	height: 100vh !important;
	max-height: none !important;
	margin: 0 !important;
	border: 0;
	border-radius: 0;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--aabn-paper);
}
.aabn-app.aabn-app--expanded {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
}

.aabn-app *,
.aabn-app *::before,
.aabn-app *::after { box-sizing: border-box; }
.aabn-app button,
.aabn-app input,
.aabn-app select,
.aabn-app textarea { font: inherit; }
.aabn-app button,
.aabn-app [role="button"] { touch-action: manipulation; }
.aabn-app button:focus-visible,
.aabn-app input:focus-visible,
.aabn-app select:focus-visible,
.aabn-app textarea:focus-visible,
.aabn-app [tabindex]:focus-visible {
	outline: 4px solid #ffd15c;
	outline-offset: 3px;
}
.aabn-app h1,
.aabn-app h2,
.aabn-app h3,
.aabn-app p { margin-top: 0; }
.aabn-app h1 { font-size: clamp(2.05rem, 4vw, 4.3rem); line-height: 1.03; letter-spacing: -.045em; }
.aabn-app h2 { font-size: clamp(1.55rem, 2.7vw, 2.5rem); line-height: 1.13; letter-spacing: -.025em; }
.aabn-app h3 { line-height: 1.25; }
.aabn-app a { color: var(--aabn-teal-dark); text-decoration-thickness: .1em; text-underline-offset: .18em; }
.aabn-app svg { flex: none; }
.aabn-icon {
	width: 1.25em;
	height: 1.25em;
	vertical-align: -.22em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.aabn-small { color: var(--aabn-muted); font-size: .9rem; }
.aabn-eyebrow,
.aabn-panel-label {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-bottom: .7rem;
	color: var(--aabn-teal-dark);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.aabn-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: .65rem 1rem;
	background: #111;
	color: #fff !important;
	border-radius: 8px;
	transform: translateY(-150%);
}
.aabn-skip:focus { transform: none; }
.aabn-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.aabn-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.aabn-app > header {
	padding: 1rem clamp(1rem, 3vw, 2.1rem);
	background: rgba(255, 255, 255, .92);
	border-bottom: 1px solid var(--aabn-line);
}
.aabn-course { display: flex; align-items: center; gap: .55rem; }
.aabn-course label { font-weight: 750; }
.aabn-course select,
.aabn-app select,
.aabn-app input[type="number"],
.aabn-app input[type="text"],
.aabn-app textarea {
	min-height: 44px;
	padding: .62rem .8rem;
	color: var(--aabn-ink);
	background: #fff;
	border: 2px solid #b8cbc6;
	border-radius: 11px;
}
.aabn-mode-switch,
.aabn-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	min-height: 44px;
	padding: .65rem 1rem;
	background: #edf7f5;
	color: var(--aabn-teal-dark);
	border: 1px solid #b9ddd7;
	border-radius: 999px;
	font-weight: 800;
	cursor: pointer;
}
.aabn-mode-switch > span { padding: 0; background: transparent; border: 0; border-radius: 0; font-size: inherit; }

.aabn-nav {
	display: flex;
	gap: .25rem;
	padding: .5rem clamp(.6rem, 2vw, 1.4rem);
	background: #fff;
	border-bottom: 1px solid var(--aabn-line);
	overflow-x: auto;
	scrollbar-width: thin;
}
.aabn-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-width: max-content;
	min-height: 46px;
	padding: .65rem .9rem;
	background: transparent;
	color: var(--aabn-muted);
	border: 0;
	border-radius: 12px;
	font-weight: 750;
	cursor: pointer;
}
.aabn-nav button:hover,
.aabn-nav button[aria-current="page"] { background: #e8f5f2; color: var(--aabn-teal-dark); }

.aabn-main { min-height: 660px; }
.aabn-screen { padding: clamp(1.15rem, 3vw, 3rem); animation: aabn-arrive .28s ease both; }
.aabn-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.6rem; }
.aabn-section-heading > div { max-width: 800px; }
.aabn-section-heading p { color: var(--aabn-muted); margin-bottom: 0; }

.aabn-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(90px, .22fr) minmax(0, 1fr) auto;
	gap: clamp(1rem, 2.5vw, 2.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 4rem);
	background:
		radial-gradient(circle at 95% 5%, rgba(245, 185, 66, .26), transparent 32%),
		linear-gradient(135deg, #e9f8f3, #fff8e7);
	border-bottom: 1px solid var(--aabn-line);
	overflow: hidden;
}
.aabn-hero__copy { position: relative; z-index: 2; }
.aabn-hero__copy > p { max-width: 720px; color: #3d5b63; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.aabn-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.3rem; }
.aabn-hero__meta { flex-direction: column; align-items: stretch; min-width: 160px; }
.aabn-hero__meta label { display: grid; gap: .25rem; font-weight: 800; }
.aabn-hero__meta span,
.aabn-status {
	display: inline-flex;
	align-items: center;
	padding: .35rem .65rem;
	background: rgba(255,255,255,.8);
	border: 1px solid #cfe1dc;
	border-radius: 999px;
	font-size: .83rem;
	font-weight: 750;
}
.aabn-profile-control {
	display: grid;
	grid-template-columns: auto minmax(80px, 1fr);
	gap: .5rem;
	align-items: center;
	min-height: 48px;
	padding: .3rem .35rem .3rem .72rem;
	color: var(--aabn-teal-dark);
	background: rgba(255,255,255,.82);
	border: 1px solid #b9d8d1;
	border-radius: 13px;
	box-shadow: 0 4px 12px rgba(23,49,58,.06);
	font-weight: 800;
}
.aabn-profile-control > span,
.aabn-hero__meta .aabn-profile-control > span {
	display: inline;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-size: .78rem;
	font-weight: 800;
}
.aabn-profile-control select,
.aabn-app .aabn-profile-control select {
	width: 100%;
	min-width: 0;
	min-height: 38px;
	padding: .4rem 2rem .4rem .68rem;
	background-color: #f7fbfa;
	border: 1px solid #b9d8d1;
	border-radius: 9px;
	box-shadow: none;
	font-weight: 750;
}
.aabn-profile-control:focus-within {
	border-color: var(--aabn-teal);
	box-shadow: 0 0 0 3px rgba(8,127,120,.12);
}
.aabn-profile-control--course { min-width: 160px; }
.aabn-hero__mark {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: rgba(255,255,255,.74);
	border: 2px dashed rgba(8,127,120,.35);
	border-radius: 44% 56% 58% 42% / 48% 40% 60% 52%;
	transform: rotate(2deg);
}
.aabn-hero__mark svg { width: 62%; height: 62%; color: var(--aabn-teal); }
.aabn-welcome { padding: clamp(1.2rem, 3vw, 2.5rem); }

.aabn-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.aabn-actions--compact { gap: .45rem; }
.aabn-button,
.aabn-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .48rem;
	min-height: 46px;
	padding: .7rem 1rem;
	color: var(--aabn-ink);
	background: #fff;
	border: 2px solid #b6c9c4;
	border-radius: 12px;
	box-shadow: 0 4px 0 rgba(23,49,58,.08);
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}
.aabn-button:hover,
.aabn-link-button:hover { transform: translateY(-1px); box-shadow: 0 6px 0 rgba(23,49,58,.09); }
.aabn-button--primary { background: var(--aabn-teal); color: #fff; border-color: var(--aabn-teal-dark); }
.aabn-button--secondary { background: #fff2c9; border-color: #e0ad34; }
.aabn-button--quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--aabn-teal-dark); }
.aabn-button--danger { color: #8a241d; border-color: #e7aaa5; background: #fff4f2; }
.aabn-button:disabled { opacity: .48; box-shadow: none; transform: none; cursor: not-allowed; }

.aabn-home-grid,
.aabn-cols,
.aabn-privacy-grid,
.aabn-course-focus__grid,
.aabn-progress-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.aabn-home-grid { align-items: stretch; }
.aabn-home-primary-card {
	display: grid;
	grid-template-rows: auto auto minmax(4.5rem, 1fr) auto;
	align-content: start;
	min-height: 300px;
	padding: clamp(1.35rem, 3vw, 2.2rem);
	border: 1px solid var(--aabn-line);
	border-top: 7px solid var(--aabn-teal);
	border-radius: var(--aabn-radius);
	box-shadow: 0 10px 30px rgba(23,49,58,.08);
}
.aabn-home-primary-card--welcome { background: linear-gradient(135deg, #effaf7, #fff); }
.aabn-home-primary-card--next { border-top-color: var(--aabn-yellow); }
.aabn-home-primary-card > .aabn-actions,
.aabn-home-primary-card > .aabn-button { align-self: end; }
.aabn-home-primary-card .aabn-step-label {
	width: max-content;
	padding: .35rem .7rem;
	background: rgba(255,255,255,.82);
	border: 1px solid #cfe1dc;
	border-radius: 999px;
	font-weight: 850;
}
.aabn-route-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 1.6rem; }
.aabn-route-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .3rem .7rem;
	align-items: center;
	min-height: 145px;
	padding: 1rem;
	text-align: left;
	color: var(--aabn-ink);
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-top: 7px solid var(--aabn-teal);
	border-radius: 17px;
	box-shadow: 0 8px 22px rgba(23,49,58,.07);
	cursor: pointer;
}
.aabn-route-card > .aabn-icon { grid-row: 1 / span 3; width: 2.3rem; height: 2.3rem; padding: .48rem; background: #e6f4f1; border-radius: 12px; }
.aabn-route-card strong { font-size: 1.1rem; }
.aabn-route-card span { color: var(--aabn-muted); }
.aabn-route-card b { color: var(--aabn-teal-dark); font-size: .86rem; }
.aabn-route-card--addition { border-top-color: var(--aabn-blue); }
.aabn-route-card--subtraction { border-top-color: var(--aabn-coral); }
.aabn-route-card--multiplication { border-top-color: var(--aabn-purple); }
.aabn-route-card--division { border-top-color: var(--aabn-green); }
.aabn-route-card:hover { transform: translateY(-3px); box-shadow: 0 13px 25px rgba(23,49,58,.11); }

.aabn-course-focus,
.aabn-recommendation,
.aabn-evidence-box,
.aabn-note,
.aabn-access,
.aabn-teacher-settings,
.aabn-progress-summary,
.aabn-diagnostic,
.aabn-principles {
	padding: clamp(1rem, 2.5vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-radius: var(--aabn-radius);
	box-shadow: 0 8px 28px rgba(23,49,58,.06);
}
.aabn-recommendation { background: linear-gradient(135deg, #fff7db, #fff); border-color: #ead38e; }
.aabn-home-title { display: flex; gap: .7rem; align-items: center; margin-bottom: .45rem; }
.aabn-home-title > span { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; color: var(--aabn-teal-dark); background: #e7f4f1; border: 1px solid #b9d8d1; border-radius: 12px; }
.aabn-recommendation .aabn-home-title > span { color: #755a09; background: #fff1bd; border-color: #e1c96f; }
.aabn-home-title .aabn-icon { width: 24px; height: 24px; }
.aabn-home-title h3 { margin: 0; }
.aabn-evidence-box { background: #f3f8ff; border-color: #cfdff9; }
.aabn-note { background: #fff9e9; border-left: 6px solid var(--aabn-yellow); }
.aabn-access__grid { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.aabn-access label,
.aabn-teacher-settings label { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.aabn-access input[type="checkbox"],
.aabn-teacher-settings input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--aabn-teal); }

.aabn-map { position: relative; display: grid; gap: .7rem; max-width: 980px; margin: 0 auto; }
.aabn-map::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 41px; width: 4px; background: #d5e6e1; border-radius: 4px; }
.aabn-map-node {
	position: relative;
	display: grid;
	grid-template-columns: 58px 1fr auto;
	gap: 1rem;
	align-items: center;
	width: 100%;
	padding: 1rem;
	color: var(--aabn-ink);
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-radius: 16px;
	text-align: left;
	cursor: pointer;
}
.aabn-map-node__visual {
	z-index: 1;
	position: relative;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	background: #e5f3ef;
	color: var(--aabn-teal-dark);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #9dcac0;
	cursor: pointer;
}
.aabn-map-node__visual .aabn-icon { width: 26px; height: 26px; }
.aabn-map-node__visual span { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 .2rem; color: #fff; background: var(--aabn-teal-dark); border: 2px solid #fff; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.aabn-map-node--numeracion .aabn-map-node__visual { color: #225fae; background: #e7f1ff; box-shadow: 0 0 0 2px #88b6ed; }
.aabn-map-node--suma .aabn-map-node__visual { color: #08786f; background: #e2f5f1; }
.aabn-map-node--resta .aabn-map-node__visual { color: #b75031; background: #fff0e7; box-shadow: 0 0 0 2px #efb699; }
.aabn-map-node--multiplicacion .aabn-map-node__visual { color: #6e48a5; background: #f1eafa; box-shadow: 0 0 0 2px #bea5dc; }
.aabn-map-node--division .aabn-map-node__visual { color: #8a6516; background: #fff7d8; box-shadow: 0 0 0 2px #ddc46e; }
.aabn-map-node--problemas .aabn-map-node__visual { color: #3e7350; background: #e9f6ed; box-shadow: 0 0 0 2px #9fcca9; }
.aabn-map-node__meta { display: grid; gap: .25rem; }
.aabn-map-node__meta span { color: var(--aabn-muted); }
.aabn-status--consolidado { background: #e4f6e9; border-color: #9dd2ac; color: #245f38; }
.aabn-status--en-practica,
.aabn-status--en-proceso { background: #fff4ce; border-color: #e3c56f; color: #745900; }
.aabn-status--iniciado { background: #e8f1fd; border-color: #afc8ec; color: #315f98; }
.aabn-status--por-descubrir,
.aabn-status--por-iniciar { background: #f2f5f5; border-color: #ced9d6; color: #526367; }

.aabn-operation-tabs,
.aabn-material-tabs,
.aabn-mode-pills {
	display: flex;
	gap: .45rem;
	padding: .4rem;
	margin-bottom: 1rem;
	background: #eaf2ef;
	border-radius: 14px;
	overflow-x: auto;
}
.aabn-operation-tabs button,
.aabn-material-tabs button,
.aabn-mode-pills label {
	flex: 1 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-height: 44px;
	padding: .55rem .75rem;
	color: var(--aabn-muted);
	background: transparent;
	border: 0;
	border-radius: 10px;
	font-weight: 800;
	cursor: pointer;
}
.aabn-operation-tabs button.is-active,
.aabn-material-tabs button.is-active,
.aabn-mode-pills label:has(input:checked) { color: var(--aabn-teal-dark); background: #fff; box-shadow: 0 4px 12px rgba(23,49,58,.09); }
.aabn-mode-pills input { accent-color: var(--aabn-teal); }
.aabn-operation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.aabn-operation-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .65fr); gap: 1rem; align-items: start; }
.aabn-operation-workspace,
.aabn-manipulative-panel,
.aabn-grid-panel {
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.4rem);
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-radius: var(--aabn-radius);
	box-shadow: 0 7px 24px rgba(23,49,58,.06);
}
.aabn-story-card { padding: 1rem; margin-bottom: 1rem; background: #f6f1ff; border: 1px solid #d9cbed; border-radius: 14px; }
.aabn-story-card p { margin: 0; font-size: 1.08rem; }
.aabn-sense-select { display: grid; gap: .35rem; margin: .7rem 0; }
.aabn-input-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin-top: 1rem; }
.aabn-input-row label { display: grid; gap: .35rem; font-weight: 750; }
.aabn-practice-range { display: grid; grid-template-columns: minmax(170px, 1fr) repeat(2, minmax(92px, .35fr)) minmax(160px, auto) auto; gap: .65rem; align-items: end; padding: .75rem; margin: 0 0 1rem; background: #f1f7f5; border: 1px solid #cadfda; border-radius: 14px; }
.aabn-practice-range__intro { display: grid; align-self: center; line-height: 1.35; }
.aabn-practice-range__intro strong { color: var(--aabn-teal-dark); }
.aabn-practice-range__intro small { color: var(--aabn-muted); font-weight: 750; }
.aabn-practice-range__intro span { margin-top: .18rem; color: var(--aabn-muted); font-size: .72rem; }
.aabn-practice-range label { display: grid; gap: .28rem; color: var(--aabn-muted); font-size: .76rem; font-weight: 800; }
.aabn-practice-range input { width: 100%; min-width: 0; }
.aabn-practice-range .aabn-button { min-height: 44px; padding: .58rem .78rem; white-space: nowrap; }

.aabn-grid-wrap { max-width: 100%; overflow: visible; border-radius: 14px; }
.aabn-grid-operation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .4rem 1rem;
	align-items: center;
	padding: .75rem .9rem;
	color: var(--aabn-teal-dark);
	background: #f2f8f6;
	border: 1px solid #adc6c0;
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
}
.aabn-grid-operation span { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.aabn-grid-operation strong { font-size: clamp(1.1rem, 2vw, 1.35rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.aabn-table-wrap { max-width: 100%; overflow-x: auto; border-radius: 14px; }
.aabn-operation-grid,
.aabn-history-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #adc6c0;
	border-radius: 14px;
	overflow: hidden;
	font-variant-numeric: tabular-nums;
}
.aabn-operation-grid { min-width: 0; table-layout: fixed; border-radius: 0; }
.aabn-history-table { min-width: 590px; }
.aabn-operation-grid th,
.aabn-operation-grid td,
.aabn-history-table th,
.aabn-history-table td { padding: .65rem .7rem; border-right: 1px solid #c8d8d4; border-bottom: 1px solid #c8d8d4; text-align: center; }
.aabn-operation-grid th,
.aabn-history-table th { background: #e7f4f1; color: var(--aabn-teal-dark); font-size: .86rem; }
.aabn-operation-grid th,
.aabn-operation-grid td {
	min-width: 0;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	line-height: 1.25;
}
.aabn-operation-grid th { font-size: clamp(.69rem, 1.25vw, .86rem); }
.aabn-operation-grid th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aabn-grid-head__short { display: none; }
.aabn-operation-grid tr:last-child td,
.aabn-history-table tr:last-child td { border-bottom: 0; }
.aabn-operation-grid th:last-child,
.aabn-operation-grid td:last-child,
.aabn-history-table th:last-child,
.aabn-history-table td:last-child { border-right: 0; }
.aabn-operation-grid__initial { background: #fff9e8; font-weight: 850; }
.aabn-operation-grid__entry input { width: 100%; min-width: 0; max-width: 100%; text-align: center; box-sizing: border-box; }
.aabn-operation-grid__valid { background: #f0faf6; }
.aabn-operation-grid__valid td:first-child { box-shadow: inset 4px 0 0 #42a57f; }
.aabn-operation-grid__finished td { padding: .8rem; color: #226646; background: #e5f6ed; font-weight: 900; }
.aabn-grid-step-form { display: grid; gap: .8rem; }
.aabn-grid-submit { display: grid; gap: .35rem; justify-items: stretch; }
.aabn-grid-submit .aabn-button { width: 100%; }
.aabn-grid-submit small { color: var(--aabn-muted); line-height: 1.45; text-align: center; }
.aabn-grid-progress { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .8rem; padding: .55rem .7rem; color: #365b53; background: #eef7f4; border: 1px solid #c9e2da; border-top: 0; border-radius: 0 0 12px 12px; font-size: .78rem; }
.aabn-grid-progress strong { color: var(--aabn-teal-dark); }
.aabn-grid-complete { padding: .75rem; margin: 0; color: #226646; background: #e5f6ed; border: 1px solid #a8d7bc; border-radius: 11px; font-weight: 850; }
.aabn-step-label {
	display: block;
	width: auto;
	height: auto;
	margin: 0 0 .35rem;
	color: var(--aabn-teal-dark);
	background: transparent;
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .08em;
	line-height: 1.35;
	text-transform: uppercase;
}
.aabn-feedback { min-height: 3.2rem; margin-top: 1rem; }
.aabn-feedback:empty { display: none; }
.aabn-alert { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid #bbd5cf; border-radius: 13px; background: #f2faf8; }
.aabn-alert[hidden] { display: none !important; }
.aabn-alert--error { background: #fff2f0; border-color: #ecb2ac; color: #7d2720; }
.aabn-alert--hint { background: #fff9e6; border-color: #e8cf83; color: #64500d; }
.aabn-thinking { padding: .8rem; background: #f7faf9; border: 1px dashed #b8cec8; border-radius: 12px; }

.aabn-order--blue { --aabn-order-color: var(--aabn-unit-blue); --aabn-order-soft: #e8f2ff; --aabn-order-ink: #164d91; }
.aabn-order--red { --aabn-order-color: var(--aabn-ten-red); --aabn-order-soft: #fff0f0; --aabn-order-ink: #9c2525; }
.aabn-order--yellow { --aabn-order-color: var(--aabn-hundred-yellow); --aabn-order-soft: #fff8d5; --aabn-order-ink: #6f5700; }
.aabn-order-key--u { --aabn-order-color: #2f7fcd; --aabn-order-soft: #e8f3ff; --aabn-order-ink: #164d91; }
.aabn-order-key--d { --aabn-order-color: #d84a4a; --aabn-order-soft: #fff0f0; --aabn-order-ink: #982525; }
.aabn-order-key--c { --aabn-order-color: #e0b81f; --aabn-order-soft: #fff8d5; --aabn-order-ink: #6f5700; }
.aabn-order-key--um { --aabn-order-color: #168e82; --aabn-order-soft: #e5f7f4; --aabn-order-ink: #0b625a; }
.aabn-order-key--dm { --aabn-order-color: #bb3f83; --aabn-order-soft: #fcebf5; --aabn-order-ink: #7f2457; }
.aabn-order-key--cm { --aabn-order-color: #df742d; --aabn-order-soft: #fff0e5; --aabn-order-ink: #8a4115; }
.aabn-order-key--umillon { --aabn-order-color: #7154b3; --aabn-order-soft: #f0ebfb; --aabn-order-ink: #4d3484; }
.aabn-place-color-legend { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: .8rem 0 1rem; }
.aabn-place-color-legend span { padding: .28rem .58rem; color: var(--aabn-order-ink); background: var(--aabn-order-soft); border: 2px solid var(--aabn-order-color); border-radius: 999px; font-size: .82rem; font-weight: 850; }
.aabn-place-color-legend small { color: var(--aabn-muted); }

.aabn-box-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.aabn-stick-settings { display: flex; flex-wrap: wrap; gap: .45rem 1rem; align-items: end; padding: .8rem 1rem; margin-bottom: .8rem; background: #f1f8f6; border: 1px solid #cde1dc; border-radius: 13px; }
.aabn-stick-settings label { display: grid; gap: .35rem; min-width: min(100%, 230px); font-weight: 800; }
.aabn-stick-settings small { padding-bottom: .7rem; color: var(--aabn-muted); }
.aabn-stick-lab { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; align-items: start; }
.aabn-quantity-box,
.aabn-stick-drop {
	min-height: 190px;
	padding: .8rem;
	background: #fffdf5;
	border: 3px solid #caa46a;
	border-radius: 18px 18px 12px 12px;
	box-shadow: inset 0 -8px 0 rgba(152,101,36,.08);
}
.aabn-quantity-box__header { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.aabn-stick-box__summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, .65fr); gap: .75rem; align-items: end; padding: .1rem .1rem 1rem; margin-bottom: 1rem; border-bottom: 1px dashed #d3bb92; }
.aabn-stick-box__summary > strong { align-self: center; font-size: 1.12rem; }
.aabn-stick-box__summary label { display: grid; gap: .3rem; color: var(--aabn-muted); font-size: .78rem; font-weight: 850; }
.aabn-stick-box__summary input { width: 100%; min-width: 0; padding: .55rem .45rem; color: var(--aabn-ink); background: #fff; border: 2px solid #aa8752; border-radius: 9px; font-size: 1.05rem; font-weight: 900; text-align: center; }
.aabn-place-stick-groups { display: grid; gap: .55rem; min-height: 80px; }
.aabn-place-stick-group { padding: .5rem; background: var(--aabn-order-soft); border-left: 5px solid var(--aabn-order-color); border-radius: 10px; }
.aabn-place-stick-group > header { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; color: var(--aabn-order-ink); font-size: .78rem; }
.aabn-place-stick-group > div { display: flex; flex-wrap: wrap; gap: .4rem; align-items: end; }
.aabn-place-stick-group em { align-self: center; padding: .2rem .4rem; color: var(--aabn-order-ink); background: #fff; border-radius: 7px; font-style: normal; font-weight: 850; }
.aabn-unit-stick { position: relative; display: inline-grid; place-items: center; width: 17px; height: 64px; cursor: default; }
.aabn-unit-stick i { display: block; width: 7px; height: 58px; background: linear-gradient(90deg, #d68a36, #f0b55b 45%, #c9762d); border: 1px solid #a55a22; border-radius: 5px; }
.aabn-unit-stick::after { content: ""; position: absolute; left: 2px; right: 2px; top: 28px; height: 6px; background: var(--aabn-order-color); border: 1px solid rgba(0,0,0,.16); border-radius: 5px; }
.aabn-place-bundle { position: relative; display: inline-grid; place-items: center; width: 76px; min-height: 78px; padding: 4px 5px 20px; background: rgba(255,255,255,.78); border: 1px solid #bfae91; border: 1px solid color-mix(in srgb, var(--aabn-order-color), #fff 30%); border-radius: 9px; cursor: default; }
.aabn-place-bundle__sticks { display: flex; gap: 1px; align-items: end; height: 54px; }
.aabn-place-bundle__sticks i { display: block; width: 5px; height: 50px; background: linear-gradient(90deg, #d68a36, #f0b55b 45%, #c9762d); border: 1px solid #a55a22; border-radius: 4px; }
.aabn-place-bundle__elastic { position: absolute; left: 3px; right: 3px; top: 31px; height: 9px; background: var(--aabn-order-color); border: 2px solid #765f45; border: 2px solid color-mix(in srgb, var(--aabn-order-color), #000 18%); border-radius: 7px; box-shadow: 0 2px 3px rgba(23,49,58,.18); }
.aabn-place-bundle b { position: absolute; right: 3px; bottom: 2px; left: 3px; overflow: hidden; color: var(--aabn-order-ink); font-size: .66rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.aabn-place-bundle--c,
.aabn-place-bundle--cm { box-shadow: 3px 3px 0 #ead99a, 6px 6px 0 #f4ebc7; box-shadow: 3px 3px 0 color-mix(in srgb, var(--aabn-order-color), #fff 42%), 6px 6px 0 color-mix(in srgb, var(--aabn-order-color), #fff 65%); margin-right: 6px; }
.aabn-place-bundle--um,
.aabn-place-bundle--dm,
.aabn-place-bundle--umillon { box-shadow: 3px 3px 0 #ead9bb, 6px 6px 0 #f2e8d5, 9px 9px 0 #f8f2e8; margin-right: 9px; }
[draggable="true"].aabn-unit-stick,
[draggable="true"].aabn-place-bundle { cursor: grab; }
.aabn-empty-material { margin: auto 0; padding: 1rem; color: var(--aabn-muted); background: #fff; border: 1px dashed #ccb990; border-radius: 10px; text-align: center; }
.aabn-manipulative-caption { margin: .8rem 0 0; color: var(--aabn-muted); }
.aabn-stick-box__controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px dashed #d3bb92; }
.aabn-stick-box__controls button { min-height: 48px; padding: .55rem .3rem; border: 2px solid #aebfba; border-radius: 11px; font-size: 1rem; font-weight: 900; cursor: pointer; }
.aabn-stick-box__controls button.is-negative { color: #7b342b; background: #fff1ee; border-color: #e5afa7; }
.aabn-stick-box__controls button.is-positive { color: #17634d; background: #eaf8f3; border-color: #9dd1bf; }
.aabn-stick-box__controls button:hover,
.aabn-stick-box__controls button:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(23,49,58,.12); }
.aabn-stick-transfer-hint { margin: .8rem 0 0; color: var(--aabn-muted); font-size: .86rem; }
.aabn-stick-common-actions { margin-top: .8rem; }

.aabn-lab-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.aabn-lab-panel { padding: clamp(1rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--aabn-line); border-radius: var(--aabn-radius); }
.aabn-transfer-controls,
.aabn-control-grid,
.aabn-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0; }
.aabn-control-grid label,
.aabn-form-grid label,
.aabn-wide-field { display: grid; gap: .35rem; font-weight: 750; }
.aabn-control-grid label,
.aabn-form-grid label { min-width: 0; overflow-wrap: anywhere; }
.aabn-field-title { display: flex; gap: .25rem; align-items: center; min-width: 0; }
.aabn-checkbox-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; align-items: center; align-self: end; min-height: 45px; padding: .55rem .65rem; background: #f6faf8; border: 1px solid #d9e6e2; border-radius: 10px; }
.aabn-checkbox-field > label { display: flex; gap: .45rem; align-items: center; font-weight: 750; cursor: pointer; }
.aabn-checkbox-field input { flex: 0 0 auto; width: auto !important; }
.aabn-help-tip {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	padding: 0;
	color: var(--aabn-muted);
	background: transparent;
	border: 1px solid #9cafaa;
	border-radius: 3px;
	box-shadow: none;
	font-family: Arial, "Helvetica Neue", sans-serif !important;
	font-size: 9px !important;
	font-weight: 400 !important;
	font-style: normal;
	line-height: 1 !important;
	letter-spacing: 0;
	text-align: center;
	text-indent: 0;
	cursor: pointer;
	outline-offset: 2px;
	appearance: none;
	-webkit-appearance: none;
}
.aabn-help-tip:hover,
.aabn-help-tip:focus-visible { color: var(--aabn-teal-dark); background: #edf7f4; border-color: var(--aabn-teal); }
.aabn-help-tip__bubble {
	position: absolute;
	left: 50%;
	top: calc(100% + 9px);
	z-index: 30;
	width: min(250px, calc(100vw - 24px));
	padding: .7rem .8rem;
	color: #fff;
	background: #17313a;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.22);
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.45;
	text-align: left;
	transform: translate(calc(-50% + var(--aabn-help-shift, 0px)), -4px);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease;
}
.aabn-help-tip__bubble::before { content: ""; position: absolute; left: calc(50% - 6px + var(--aabn-help-arrow-shift, 0px)); bottom: 100%; border: 6px solid transparent; border-bottom-color: #17313a; }
.aabn-help-tip.is-open { z-index: 40; }
.aabn-help-tip.is-open .aabn-help-tip__bubble { visibility: visible; opacity: 1; transform: translate(calc(-50% + var(--aabn-help-shift, 0px)), 0); }
.aabn-checkbox-field .aabn-help-tip__bubble { right: -4px; left: auto; transform: translateY(-4px); }
.aabn-checkbox-field .aabn-help-tip__bubble::before { right: 7px; left: auto; }
.aabn-checkbox-field .aabn-help-tip.is-open .aabn-help-tip__bubble { transform: translateY(0); }
@media (hover: hover) {
	.aabn-help-tip:hover { z-index: 40; }
	.aabn-help-tip:hover .aabn-help-tip__bubble { visibility: visible; opacity: 1; transform: translate(calc(-50% + var(--aabn-help-shift, 0px)), 0); }
	.aabn-checkbox-field .aabn-help-tip:hover .aabn-help-tip__bubble { transform: translateY(0); }
}
.aabn-control-grid label > input,
.aabn-control-grid label > select,
.aabn-form-grid label > input,
.aabn-form-grid label > select { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.aabn-wide-field { grid-column: 1 / -1; }
.aabn-lab-result { padding: .9rem; margin-top: .8rem; background: #e8f6f2; border-radius: 12px; font-size: 1.05rem; }

.aabn-hundred-workspace {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(250px, .72fr);
	gap: 1rem;
	align-items: start;
}
.aabn-hundred-board {
	min-width: 0;
	padding: .8rem;
	background: #f5faf8;
	border: 1px solid #cfe2dc;
	border-radius: 16px;
}
.aabn-hundred {
	display: grid;
	grid-template-columns: repeat(10, minmax(36px, 1fr));
	width: 100%;
	margin: 0;
	border: 2px solid var(--aabn-teal-dark);
	border-radius: 8px;
	overflow: hidden;
}
.aabn-hundred button {
	aspect-ratio: 1;
	min-width: 0;
	color: var(--aabn-ink);
	background: #fff;
	border: 0;
	border-right: 1px solid #a9c8c0;
	border-bottom: 1px solid #a9c8c0;
	font-weight: 750;
	font-size: clamp(.58rem, 1vw, .82rem);
	cursor: pointer;
	transition: background .12s ease, box-shadow .12s ease, transform .12s ease;
}
.aabn-hundred button:nth-child(10n) { border-right: 0; }
.aabn-hundred button:nth-last-child(-n+10) { border-bottom: 0; }
.aabn-hundred button.is-same-row { background: #e9f7f1; }
.aabn-hundred button.is-same-column { background: #edf4fb; }
.aabn-hundred button.is-same-row.is-same-column { background: #e8f2ed; }
.aabn-hundred button.is-neighbor { color: var(--aabn-teal-dark); background: #d9f0e9; box-shadow: inset 0 0 0 2px #65aa96; font-weight: 900; }
.aabn-hundred button:hover { position: relative; z-index: 1; background: #fff0b8; box-shadow: inset 0 0 0 2px #ca9324; }
.aabn-hundred button.is-selected { position: relative; z-index: 2; color: #3f2c00; background: #ffd86f; box-shadow: inset 0 0 0 3px #a86f00; transform: scale(1.04); }
.aabn-hundred-board__hint { margin: .65rem 0 0; color: var(--aabn-muted); font-size: .78rem; text-align: center; }
.aabn-hundred-inspector {
	display: grid;
	gap: .85rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid #cfe2dc;
	border-radius: 16px;
	box-shadow: 0 7px 20px rgba(23,49,58,.06);
}
.aabn-hundred-selection { display: grid; justify-items: center; padding: .75rem; color: var(--aabn-teal-dark); background: #edf7f4; border-radius: 13px; text-align: center; }
.aabn-hundred-selection span { color: var(--aabn-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.aabn-hundred-selection strong { margin: .05rem 0; font-size: 2.5rem; line-height: 1; }
.aabn-hundred-selection small { color: var(--aabn-muted); }
.aabn-hundred-compass {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-areas:
		". up ."
		"left center right"
		". down .";
	gap: .35rem;
	align-items: stretch;
}
.aabn-hundred-compass__up { grid-area: up; }
.aabn-hundred-compass__left { grid-area: left; }
.aabn-hundred-compass__center { grid-area: center; }
.aabn-hundred-compass__right { grid-area: right; }
.aabn-hundred-compass__down { grid-area: down; }
.aabn-hundred-compass__move,
.aabn-hundred-compass__center {
	display: grid;
	place-items: center;
	min-height: 55px;
	padding: .35rem;
	border-radius: 10px;
	text-align: center;
}
.aabn-hundred-compass__move { color: var(--aabn-teal-dark); background: #f1f8f6; border: 1px solid #bcd9d1; cursor: pointer; }
.aabn-hundred-compass__move:hover { background: #dff1ec; border-color: #66a996; }
.aabn-hundred-compass__move span,
.aabn-hundred-compass__center span { font-size: .62rem; font-weight: 750; line-height: 1.1; }
.aabn-hundred-compass__move strong { font-size: 1rem; }
.aabn-hundred-compass__center { color: #4d3905; background: #ffdf7e; border: 2px solid #b77b00; }
.aabn-hundred-complement { padding: .75rem; background: #fff8e4; border: 1px solid #ead38c; border-radius: 12px; }
.aabn-hundred-complement > div:first-child { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.aabn-hundred-complement > div:first-child span { font-size: .78rem; font-weight: 750; }
.aabn-hundred-complement > div:first-child strong { color: #76550a; font-size: 1.35rem; }
.aabn-hundred-complement__bar { height: 9px; margin: .55rem 0 .4rem; background: #eadfbf; border-radius: 999px; overflow: hidden; }
.aabn-hundred-complement__bar span { display: block; height: 100%; background: var(--aabn-teal); border-radius: inherit; }
.aabn-hundred-complement small,
.aabn-hundred-inspector__hint { color: var(--aabn-muted); font-size: .75rem; }
.aabn-hundred-inspector__hint { margin: 0; text-align: center; }
.aabn-hundred-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1rem; align-items: end; padding: .75rem; margin-bottom: 1rem; background: #f2f8f6; border: 1px solid #cfe2dc; border-radius: 13px; }
.aabn-hundred-toolbar label { display: grid; gap: .25rem; font-weight: 800; }
.aabn-hundred-pages { display: flex; flex-wrap: wrap; gap: .45rem; align-items: end; }
.aabn-hundred-pages button { display: inline-flex; gap: .3rem; align-items: center; justify-content: center; min-height: 44px; padding: .55rem .75rem; color: var(--aabn-teal-dark); background: #fff; border: 1px solid #9ccbc0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.aabn-hundred-pages button:disabled { opacity: .45; cursor: not-allowed; }
.aabn-hundred-toolbar__note { padding: .6rem .75rem; color: var(--aabn-muted); background: #fff; border-radius: 9px; }

.aabn-number-line { position: relative; padding: .35rem .5rem 1rem; }
.aabn-number-line__legend { display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: center; margin-bottom: .25rem; font-size: .76rem; font-weight: 850; }
.aabn-number-line__legend span { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .55rem; border-radius: 999px; }
.aabn-number-line__legend .is-positive { color: #17613d; background: #e3f5e9; border: 1px solid #8fc9a2; }
.aabn-number-line__legend .is-negative { color: #8a3029; background: #fff0ed; border: 1px solid #e2a39d; }
.aabn-number-line__diagram { position: relative; height: 250px; margin: 0 1.5rem; }
.aabn-number-line__paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aabn-number-line__path { fill: none; stroke-width: 2.6; vector-effect: non-scaling-stroke; }
.aabn-number-line__path--positive { stroke: #2f9658; }
.aabn-number-line__path--negative { stroke: #d14d43; }
.aabn-number-line__arrow--positive path { fill: #2f9658; stroke: none; }
.aabn-number-line__arrow--negative path { fill: #d14d43; stroke: none; }
.aabn-number-line__track { position: absolute; top: 50%; right: 0; left: 0; height: 8px; background: var(--aabn-ink); border-radius: 8px; transform: translateY(-50%); }
.aabn-number-line__track::after { content: ""; position: absolute; right: -9px; top: -6px; border-width: 10px 0 10px 14px; border-style: solid; border-color: transparent transparent transparent var(--aabn-ink); }
.aabn-number-line__track i { position: absolute; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; background: #fff; border: 5px solid var(--aabn-ink); border-radius: 50%; transform: translate(-50%, -50%); }
.aabn-number-line__track i span { position: absolute; top: 22px; min-width: 48px; padding: .2rem .4rem; color: #fff; background: var(--aabn-ink); border-radius: 6px; font-size: .74rem; font-style: normal; font-weight: 900; text-align: center; }
.aabn-number-line__landing { position: absolute; z-index: 2; display: inline-flex; gap: .18rem; align-items: center; justify-content: center; min-width: 44px; padding: .2rem .38rem; border-radius: 8px; transform: translate(-50%, -50%); font-size: .68rem; font-variant-numeric: tabular-nums; box-shadow: 0 2px 7px rgba(23,49,58,.12); }
.aabn-number-line__landing small { display: grid; place-items: center; width: 16px; height: 16px; color: #fff; border-radius: 50%; font-size: .58rem; }
.aabn-number-line__landing--positive { top: calc(50% - 2.35rem - var(--aabn-landing-tier) * 1.35rem); color: #17613d; background: #e3f5e9; border: 1px solid #65ad7d; }
.aabn-number-line__landing--positive small { background: #2f9658; }
.aabn-number-line__landing--negative { top: calc(50% + 2.55rem + var(--aabn-landing-tier) * 1.35rem); color: #8a3029; background: #fff0ed; border: 1px solid #d9766f; }
.aabn-number-line__landing--negative small { background: #d14d43; }
.aabn-number-line__labels { display: flex; justify-content: space-between; gap: .7rem; margin-top: .1rem; color: var(--aabn-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.aabn-number-line__labels span:first-child,
.aabn-number-line__labels span:last-child { color: var(--aabn-ink); font-size: .9rem; font-weight: 900; }
.aabn-number-line__jumps { display: flex; flex-wrap: wrap; gap: .45rem; min-height: 2.5rem; margin-top: 1rem; font-weight: 800; }
.aabn-number-line__jump { display: grid; grid-template-columns: auto auto; gap: 0 .45rem; align-items: center; padding: .4rem .55rem; border-radius: 9px; }
.aabn-number-line__jump b { grid-row: 1 / span 2; font-size: 1rem; }
.aabn-number-line__jump small { font-size: .68rem; font-weight: 750; }
.aabn-number-line__jump--positive { color: #17613d; background: #e8f7ed; border: 1px solid #9bceb0; }
.aabn-number-line__jump--negative { color: #8a3029; background: #fff2ef; border: 1px solid #e6aaa4; }
.aabn-line-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: .65rem; align-items: stretch; margin: .85rem 0; }
.aabn-line-controls__group { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; padding: .55rem; border-radius: 12px; }
.aabn-line-controls__group > span { flex: 1 0 100%; font-size: .72rem; font-weight: 850; }
.aabn-line-controls__group .aabn-button { min-width: 46px; min-height: 40px; padding: .42rem .58rem; box-shadow: none; }
.aabn-line-controls__group--positive { color: #17613d; background: #eef9f1; border: 1px solid #a8d5b7; }
.aabn-line-controls__group--positive .aabn-button { color: #17613d; border-color: #72b58a; }
.aabn-line-controls__group--negative { color: #8a3029; background: #fff4f2; border: 1px solid #e7b3ae; }
.aabn-line-controls__group--negative .aabn-button { color: #8a3029; border-color: #d9837b; }

.aabn-bridge-setup { display: grid; grid-template-columns: minmax(180px, .8fr) repeat(2, minmax(150px, 1fr)) auto; gap: .7rem; align-items: end; padding: .85rem; margin-bottom: .85rem; background: #f4f8f7; border: 1px solid #d2e2de; border-radius: 14px; }
.aabn-bridge-setup label { display: grid; gap: .28rem; font-size: .78rem; font-weight: 850; }
.aabn-bridge-page-panel { max-width: 1280px; margin-inline: auto; }
.aabn-bridge-division-method { display: flex; flex-wrap: wrap; gap: .55rem; padding: .75rem .85rem; margin: 0 0 .85rem; background: #f8f6fc; border: 1px solid #d9cbea; border-radius: 13px; }
.aabn-bridge-division-method legend { padding: 0 .35rem; color: #573487; font-size: .8rem; font-weight: 850; }
.aabn-bridge-division-method label { display: flex; flex: 1 1 250px; gap: .55rem; align-items: center; padding: .6rem .7rem; background: #fff; border: 1px solid #d9cbea; border-radius: 10px; cursor: pointer; }
.aabn-bridge-division-method label:has(input:checked) { background: #f0eafa; border-color: #8f70b8; box-shadow: inset 0 0 0 1px #8f70b8; }
.aabn-bridge-division-method label > span { display: grid; gap: .08rem; }
.aabn-bridge-division-method small { color: var(--aabn-muted); font-size: .76rem; line-height: 1.35; }
.aabn-bridge-invariant { display: flex; gap: .7rem; align-items: center; padding: .75rem .85rem; color: #285343; background: #eaf6ee; border: 1px solid #a8d0b7; border-radius: 13px; }
.aabn-bridge-invariant > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; color: #237147; background: #fff; border: 1px solid #a8d0b7; border-radius: 11px; }
.aabn-bridge-invariant p { margin: .1rem 0 0; font-size: .82rem; }
.aabn-bridge-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: .8rem; align-items: stretch; margin-top: 1rem; }
.aabn-bridge-card { min-width: 0; padding: 1rem; background: #fff; border: 1px solid #cfdeda; border-top: 6px solid var(--aabn-teal); border-radius: 16px; box-shadow: 0 7px 20px rgba(23,49,58,.06); }
.aabn-bridge-card--standard { border-top-color: var(--aabn-purple); }
.aabn-bridge-card > header { display: flex; gap: .65rem; align-items: center; padding-bottom: .7rem; margin-bottom: .75rem; border-bottom: 1px solid #dce7e4; }
.aabn-bridge-card > header > span { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--aabn-teal); border-radius: 10px; font-weight: 900; }
.aabn-bridge-card--standard > header > span { background: var(--aabn-purple); }
.aabn-bridge-card header p,
.aabn-bridge-card header h4 { margin: 0; }
.aabn-bridge-card header p { color: var(--aabn-muted); font-size: .8rem; line-height: 1.4; }
.aabn-bridge-abn-steps { display: grid; gap: .5rem; }
.aabn-bridge-abn-steps > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: .12rem .6rem; align-items: center; padding: .55rem .65rem; background: #f0f8f5; border-left: 4px solid #6ab18f; border-radius: 9px; }
.aabn-bridge-abn-steps small { grid-row: 1 / span 2; color: var(--aabn-muted); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.aabn-bridge-abn-steps strong { font-variant-numeric: tabular-nums; }
.aabn-bridge-abn-steps span { color: var(--aabn-muted); font-size: .82rem; line-height: 1.45; }
.aabn-bridge-equals { display: grid; place-content: center; justify-items: center; color: var(--aabn-teal-dark); text-align: center; }
.aabn-bridge-equals .aabn-icon { width: 34px; height: 34px; }
.aabn-bridge-equals span { margin-top: .3rem; font-size: .66rem; font-weight: 850; line-height: 1.15; text-transform: uppercase; }
.aabn-written-algorithm { display: grid; min-height: 210px; align-content: center; justify-items: center; padding: 1rem; background: #f8f6fc; border: 1px solid #d9cbea; border-radius: 12px; overflow-x: auto; }
.aabn-written-algorithm__calculation { display: grid; justify-items: stretch; width: max-content; min-width: 4.4em; }
.aabn-written-algorithm code { display: block; color: var(--aabn-ink); font: 850 clamp(1.45rem, 3.2vw, 2.2rem)/1.28 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; white-space: pre; text-align: right; }
.aabn-written-algorithm__calculation > span { display: block; width: 100%; height: 3px; margin: .2rem 0; background: var(--aabn-ink); border-radius: 3px; }
.aabn-written-algorithm .is-result { color: #573487; }
.aabn-written-algorithm small { display: block; max-width: 340px; padding-top: .75rem; margin-top: .65rem; color: var(--aabn-muted); border-top: 1px solid #d9cbea; font: 750 .82rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif; text-align: left; white-space: normal; }
.aabn-long-division { display: grid; grid-template-columns: max-content max-content; justify-content: center; align-content: center; min-height: 210px; padding: 1rem; background: #f8f6fc; border: 1px solid #d9cbea; border-radius: 12px; font-variant-numeric: tabular-nums; overflow-x: auto; }
.aabn-long-division__work { display: grid; align-content: start; min-width: 3.5em; padding: .32rem .45rem .45rem .15rem; }
.aabn-long-division__work code { display: block; color: var(--aabn-ink); font: 850 clamp(1.3rem, 2.8vw, 1.9rem)/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; white-space: pre; text-align: left; }
.aabn-long-division__step { display: grid; justify-items: stretch; margin-top: .16rem; }
.aabn-long-division__product { color: #8a3029 !important; }
.aabn-long-division__dividend,
.aabn-long-division__product,
.aabn-long-division__remaining,
.aabn-long-division__reach code { text-align: right !important; }
.aabn-division-step-rule { justify-self: end; width: calc(var(--aabn-rule-chars) * 1ch); height: 2px; margin: .05rem calc(var(--aabn-rule-tail) * 1ch) .08rem 0; background: var(--aabn-ink); border-radius: 2px; }
.aabn-long-division__remaining { color: #315b91 !important; }
.aabn-long-division__step:last-child .aabn-long-division__remaining,
.aabn-long-division__reach:last-child code { color: #078847 !important; }
.aabn-long-division__reach { margin-top: .32rem; }
.aabn-long-division__reach code { color: #315b91; }
.aabn-long-division__reach .aabn-long-division__explicit-zero { color: #078847; }
.aabn-long-division__result { display: grid; align-content: start; min-width: 3.2em; border-left: 3px solid var(--aabn-ink); }
.aabn-long-division__result strong { display: block; padding: .25rem .6rem; font: 850 clamp(1.3rem, 2.8vw, 1.9rem)/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; text-align: center; }
.aabn-long-division__divisor { border-bottom: 3px solid var(--aabn-ink); }
.aabn-long-division__quotient { color: #315b91; }
.aabn-bridge-connections { padding: 1rem; margin-top: .85rem; background: #fff9e9; border: 1px solid #e7ce83; border-radius: 15px; }
.aabn-bridge-connections header { display: flex; gap: .65rem; align-items: center; }
.aabn-bridge-connections header > span { display: grid; place-items: center; width: 40px; height: 40px; color: #765708; background: #fff; border: 1px solid #e3c66e; border-radius: 10px; }
.aabn-bridge-connections header p,
.aabn-bridge-connections header h4 { margin: 0; }
.aabn-bridge-connections ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; padding: 0; margin: .8rem 0 0; list-style: none; counter-reset: bridge-connections; }
.aabn-bridge-connections li { position: relative; min-width: 0; padding: .7rem .7rem .7rem 2.4rem; background: #fff; border: 1px solid #ead99f; border-radius: 10px; font-size: .86rem; line-height: 1.45; counter-increment: bridge-connections; }
.aabn-bridge-connections li::before { content: counter(bridge-connections); position: absolute; top: .7rem; left: .65rem; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: #8b6b19; border-radius: 50%; font-size: .68rem; font-weight: 900; }
.aabn-bridge-solution-hidden { display: flex; gap: .75rem; align-items: center; padding: 1rem; margin-top: 1rem; color: #315b91; background: #eef4ff; border: 1px dashed #8ea8d2; border-radius: 14px; }
.aabn-bridge-solution-hidden > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; background: #fff; border-radius: 11px; }
.aabn-bridge-solution-hidden p { margin: .15rem 0 0; color: var(--aabn-muted); font-size: .84rem; line-height: 1.45; }
.aabn-bridge-practice { padding: 1rem; margin-top: .85rem; background: #f3f7ff; border: 1px solid #bfcde6; border-radius: 15px; }
.aabn-bridge-practice > header { display: flex; gap: .7rem; align-items: center; }
.aabn-bridge-practice > header > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; color: #315b91; background: #fff; border: 1px solid #bfcde6; border-radius: 11px; }
.aabn-bridge-practice > header > div { min-width: 0; margin-right: auto; }
.aabn-bridge-practice__toggle { flex: 0 0 auto; max-width: 245px; white-space: normal; }
.aabn-bridge-practice header p,
.aabn-bridge-practice header h4 { margin: 0; }
.aabn-bridge-practice header > div > p:last-child { margin-top: .16rem; color: var(--aabn-muted); font-size: .84rem; line-height: 1.45; }
.aabn-bridge-practice__workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, .62fr); gap: .8rem; margin-top: .9rem; }
.aabn-bridge-practice__rail { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.aabn-bridge-practice__operation,
.aabn-bridge-practice__hints { min-width: 0; padding: .75rem; background: #fff; border: 1px solid #cbd6ea; border-radius: 12px; }
.aabn-bridge-practice__operation { min-width: 0; padding: .9rem; background: #fff; border: 1px solid #cbd6ea; border-radius: 12px; }
.aabn-bridge-practice__operation > h5,
.aabn-bridge-practice__hints h5 { margin: 0; font-size: .92rem; }
.aabn-practice-written { display: grid; place-items: center; min-height: 205px; padding: .85rem; margin-top: .6rem; background: #fbfafe; border: 1px solid #ded3ec; border-radius: 11px; overflow-x: auto; }
.aabn-practice-written code { display: block; color: var(--aabn-ink); font: 850 clamp(1.35rem, 3vw, 2rem)/1.28 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; white-space: pre; text-align: right; }
.aabn-bridge-blank { width: calc((var(--aabn-blank-chars) + 1.5) * 1em) !important; min-width: 3.2em !important; min-height: 42px !important; padding: .22rem .35rem !important; color: #315b91 !important; background: #fff !important; border: 2px dashed #7897c6 !important; border-radius: 7px !important; font: 850 clamp(1.05rem, 2.4vw, 1.5rem)/1 ui-monospace, "SFMono-Regular", Consolas, monospace; text-align: center !important; }
.aabn-bridge-blank { appearance: textfield; -moz-appearance: textfield; }
.aabn-bridge-blank::-webkit-inner-spin-button,
.aabn-bridge-blank::-webkit-outer-spin-button { margin: 0; appearance: none; }
.aabn-bridge-blank:focus { border-style: solid !important; outline: 3px solid rgba(49,91,145,.18); outline-offset: 2px; }
.aabn-bridge-blank.is-correct { color: #17613d !important; background: #effaf2 !important; border-color: #4e9a6d !important; border-style: solid !important; }
.aabn-bridge-blank.is-incorrect,
.aabn-bridge-blank.is-empty { color: #8a3029 !important; background: #fff4f2 !important; border-color: #ce746b !important; }
.aabn-bridge-blank--result { justify-self: end; }
.aabn-bridge-blank--digit { width: 2.6em !important; min-width: 2.6em !important; }
.aabn-practice-partial { display: flex; justify-content: flex-end; align-items: center; min-height: 48px; }
.aabn-practice-partial > b { width: 1ch; font: 850 1.4rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.aabn-practice-partial > i { display: block; width: calc(var(--aabn-place-shift) * 1.15em); }
.aabn-practice-division { display: grid; grid-template-columns: max-content max-content; justify-content: center; min-height: 220px; padding: 1rem; margin-top: .6rem; background: #fbfafe; border: 1px solid #ded3ec; border-radius: 11px; overflow-x: auto; }
.aabn-practice-division__work { display: grid; align-content: start; min-width: 4.2em; padding: .32rem .45rem .45rem .15rem; }
.aabn-practice-division__work > code { color: var(--aabn-ink); font: 850 clamp(1.3rem, 2.8vw, 1.9rem)/1.25 ui-monospace, "SFMono-Regular", Consolas, monospace; text-align: right; }
.aabn-practice-division__step { display: grid; justify-items: end; margin-top: .18rem; }
.aabn-practice-division__subtract { display: flex; justify-content: flex-end; align-items: center; margin-right: calc(var(--aabn-product-tail) * 1ch); }
.aabn-practice-division__subtract > b { color: #8a3029; font: 850 1.25rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.aabn-practice-division__step > .aabn-bridge-blank--division-next { margin-right: calc(var(--aabn-next-tail) * 1ch); }
.aabn-practice-division__step > .aabn-bridge-blank--explicit-zero { margin-right: calc(var(--aabn-zero-tail) * 1ch); color: #078847 !important; border-color: #4e9a6d !important; }
.aabn-practice-division__box { display: grid; align-content: start; min-width: 4em; border-left: 3px solid var(--aabn-ink); }
.aabn-practice-division__box > strong { padding: .28rem .6rem; border-bottom: 3px solid var(--aabn-ink); font: 850 clamp(1.3rem, 2.8vw, 1.9rem)/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; text-align: center; }
.aabn-practice-division__box > div { display: flex; gap: .18rem; padding: .38rem .35rem; }
.aabn-bridge-practice__hints > div { display: flex; gap: .55rem; align-items: center; }
.aabn-bridge-practice__hints > div > span { display: grid; place-items: center; width: 30px; height: 30px; color: #765708; background: #fff8df; border-radius: 8px; }
.aabn-bridge-practice__hints > div > span .aabn-icon { width: 18px; height: 18px; }
.aabn-bridge-practice__hints > p { color: var(--aabn-muted); font-size: .84rem; line-height: 1.45; }
.aabn-bridge-practice__hints ol { display: grid; gap: .48rem; padding-left: 1.25rem; margin: .7rem 0; }
.aabn-bridge-practice__hints li { padding-left: .18rem; color: #465b63; font-size: .84rem; line-height: 1.45; }
.aabn-bridge-practice__hints .aabn-button { width: 100%; margin-top: .35rem; }
.aabn-classic-sheet { min-width: 0; padding: .85rem; background: linear-gradient(150deg, #fff, #f5fbff); border: 1px solid #a9c7dc; border-radius: 12px; box-shadow: 0 8px 24px rgba(49,91,145,.07); }
.aabn-classic-sheet > header { display: flex; gap: .55rem; align-items: center; }
.aabn-classic-sheet > header > span { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; color: #315b91; background: #eaf4fb; border-radius: 9px; }
.aabn-classic-sheet > header p,
.aabn-classic-sheet > header h5 { margin: 0; }
.aabn-classic-sheet > p { margin: .55rem 0 .7rem; color: var(--aabn-muted); font-size: .8rem; line-height: 1.45; }
.aabn-classic-sheet__controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.aabn-classic-sheet__controls label { display: grid; gap: .28rem; min-width: 0; color: #465b63; font-size: .73rem; font-weight: 800; line-height: 1.25; }
.aabn-classic-sheet__controls select { width: 100%; min-width: 0; min-height: 42px; padding: .48rem 2rem .48rem .58rem; border: 1px solid #afc2d5; border-radius: 9px; background-color: #fff; font: inherit; font-size: .79rem; }
.aabn-classic-sheet__check { display: flex; gap: .45rem; align-items: center; margin: .7rem 0; color: #465b63; font-size: .78rem; font-weight: 750; }
.aabn-classic-sheet__check input { width: 18px; height: 18px; margin: 0; }
.aabn-classic-sheet__download { width: 100%; min-height: 46px; }
.aabn-bridge-practice__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.aabn-bridge-practice__feedback { padding: .72rem .8rem; margin: .75rem 0 0; color: #285343; background: #fff; border: 1px solid #bfcde6; border-radius: 10px; font-size: .86rem; font-weight: 750; line-height: 1.45; }
.aabn-bridge-usage { margin-top: .9rem; padding: .9rem 1rem; font-size: .9rem; line-height: 1.55; }
.aabn-bridge-warning { display: flex; gap: .65rem; align-items: center; padding: 1rem; margin-top: 1rem; color: #79362e; background: #fff1ee; border: 1px solid #df978f; border-radius: 13px; }
.aabn-bridge-warning p { margin: 0; }
.aabn-house-setup { gap: 1rem; padding: 1rem; margin: 1.1rem 0 0; background: #f7faf9; border: 1px solid #d7e5e1; border-radius: 14px; }
.aabn-house-setup label { flex: 1 1 260px; }
.aabn-house-order-key { display: grid; gap: .75rem; padding: 1rem; margin: 1.25rem 0; background: #fff; border: 1px solid #d7e5e1; border-radius: 14px; }
.aabn-house-order-key > p { display: grid; gap: .2rem; margin: 0; }
.aabn-house-order-key > p span { color: var(--aabn-muted); font-size: .8rem; }
.aabn-house-order-key > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: .5rem; }
.aabn-house-order-key > div > span {
	display: grid;
	gap: .15rem;
	padding: .55rem;
	color: var(--aabn-order-ink);
	background: var(--aabn-order-soft);
	border-top: 5px solid var(--aabn-order-color);
	border-radius: 8px;
	text-align: center;
}
.aabn-house-order-key b { font-size: 1.02rem; }
.aabn-house-order-key small { font-size: .68rem; line-height: 1.15; }
.aabn-number-house { max-width: 920px; margin: 1.45rem auto 0; }
.aabn-number-house__roof {
	display: grid;
	gap: .15rem;
	place-content: center;
	min-height: 92px;
	padding: 1.7rem 1rem .8rem;
	color: #fff;
	background: var(--aabn-coral);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	text-align: center;
}
.aabn-number-house__roof small { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.aabn-number-house__roof strong { font-size: 1.7rem; line-height: 1; }
.aabn-number-house__room { display: grid; grid-template-columns: repeat(2, 1fr); border: 3px solid #8f623c; border-top: 0; }
.aabn-number-house__room div { display: grid; place-items: center; min-height: 86px; padding: 1rem; border: 1px solid #c69a71; font-size: 1.25rem; font-weight: 850; }
.aabn-house-table-wrap { width: 100%; }
.aabn-house-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 3px solid #8f623c; border-top: 0; background: #fff; }
.aabn-house-table th,
.aabn-house-table td { min-width: 0; padding: .45rem; border-right: 1px solid #c69a71; border-bottom: 1px solid #c69a71; text-align: center; }
.aabn-house-table tr:last-child > * { border-bottom: 0; }
.aabn-house-table tr > *:last-child { border-right: 0; }
.aabn-house-table thead th { background: #f4e3cf; color: #70482d; }
.aabn-house-table thead th.aabn-order--blue,
.aabn-house-table thead th.aabn-order--red,
.aabn-house-table thead th.aabn-order--yellow { color: var(--aabn-order-ink); background: var(--aabn-order-soft); border-top: 6px solid var(--aabn-order-color); }
.aabn-house-table thead th span,
.aabn-house-table thead th small { display: block; }
.aabn-house-table thead th small { font-size: .7rem; font-weight: 650; line-height: 1.15; }
.aabn-house-table tbody th { width: 22%; background: #fff8e8; font-variant-numeric: tabular-nums; }
.aabn-house-table tbody output { display: inline-block; min-width: 2.6rem; padding: .25rem; font-weight: 850; }
.aabn-house-table tbody output.is-correct { color: #176d53; background: #dff3e8; border-radius: 7px; }
.aabn-house-table td.aabn-order-cell { background: var(--aabn-order-soft); background: color-mix(in srgb, var(--aabn-order-soft), #fff 42%); }
.aabn-house-table input { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; padding: .45rem .3rem; text-align: center; }
.aabn-house-table .aabn-order-cell input { border-color: var(--aabn-order-color); }
.aabn-house-actions { gap: .75rem; padding-top: 1rem; margin-top: 1.35rem; border-top: 1px solid #d8e5e2; }
.aabn-house-actions + .aabn-lab-result { margin-top: 1rem; }
.aabn-home-progress { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); gap: 1rem; align-items: center; padding: 1.1rem; margin: 1rem 0; background: #edf7f5; border: 1px solid #b9ddd7; border-radius: 17px; }
.aabn-home-progress h3 { margin: 0 0 .35rem; }
.aabn-home-progress p { margin: 0; }
.aabn-home-progress__form { display: grid; gap: .65rem; }
.aabn-home-progress__form label { display: grid; gap: .35rem; font-weight: 750; }
.aabn-home-progress__form input { width: 100%; box-sizing: border-box; }
.aabn-home-progress__form .aabn-alias-entry {
	padding: .65rem;
	background: rgba(255,255,255,.8);
	border: 1px solid #b9d8d1;
	border-radius: 13px;
}
.aabn-home-progress__form .aabn-alias-entry input {
	min-height: 42px;
	border-width: 1px;
	border-color: #b9d8d1;
	border-radius: 9px;
}
.aabn-profile-actions .aabn-button { min-height: 46px; border-radius: 12px; }
.aabn-alias-field { min-width: min(260px, 100%); }
.aabn-place-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: .75rem; align-items: end; padding: 1rem; margin-bottom: 1rem; background: #f4f8f7; border: 1px solid #d3e2de; border-radius: 14px; }
.aabn-place-toolbar label { display: grid; gap: .35rem; font-weight: 800; }
.aabn-place-toolbar p { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem .65rem; align-items: center; margin: 0; color: var(--aabn-muted); font-size: .76rem; }
.aabn-place-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.aabn-place-swatch--unit { background: #2e7dcc; }
.aabn-place-swatch--ten { background: #d44747; }
.aabn-place-swatch--hundred { background: #4f9b58; }
.aabn-place-swatch--thousand { background: #7556b5; }
.aabn-place-materials { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: .8rem; align-items: stretch; }
.aabn-place-material { --aabn-material-color: #2e7dcc; --aabn-material-soft: #edf5fd; display: grid; grid-template-rows: auto 1fr auto auto; min-width: 0; padding: .8rem; background: var(--aabn-material-soft); border: 1px solid color-mix(in srgb, var(--aabn-material-color), #fff 42%); border-top: 7px solid var(--aabn-material-color); border-radius: 14px; }
.aabn-place-material--ten { --aabn-material-color: #d44747; --aabn-material-soft: #fff0f0; }
.aabn-place-material--hundred { --aabn-material-color: #4f9b58; --aabn-material-soft: #edf8ee; }
.aabn-place-material--thousand { --aabn-material-color: #7556b5; --aabn-material-soft: #f1edfa; }
.aabn-place-material header { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.aabn-place-material header > div { display: grid; }
.aabn-place-material header span { color: var(--aabn-material-color); font-size: .72rem; font-weight: 900; }
.aabn-place-material header strong { font-size: .9rem; }
.aabn-place-material header output { display: grid; place-items: center; min-width: 38px; height: 38px; color: #fff; background: var(--aabn-material-color); border-radius: 10px; font-size: 1.15rem; font-weight: 900; }
.aabn-place-material__tray { display: flex; flex-wrap: wrap; gap: .35rem; align-content: center; align-items: end; justify-content: center; min-height: 128px; padding: .65rem .25rem; }
.aabn-place-material__tray em { align-self: center; color: var(--aabn-material-color); font-style: normal; font-weight: 900; }
.aabn-place-material > p { margin: 0 0 .55rem; color: var(--aabn-muted); font-size: .72rem; text-align: center; }
.aabn-place-piece { display: inline-block; flex: 0 0 auto; background-color: var(--aabn-material-color); border: 1px solid color-mix(in srgb, var(--aabn-material-color), #111 28%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.aabn-place-piece--unit { width: 20px; height: 20px; border-radius: 4px; }
.aabn-place-piece--ten { width: 18px; height: 92px; border-radius: 4px; background-image: repeating-linear-gradient(0deg, transparent 0 8px, rgba(255,255,255,.55) 9px 10px); }
.aabn-place-piece--hundred { width: 80px; height: 80px; border-radius: 7px; background-image: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.48) 8px 9px), repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.48) 8px 9px); }
.aabn-place-piece--thousand { width: 72px; height: 72px; margin: 0 7px 7px 0; border-radius: 8px; background-image: repeating-linear-gradient(0deg, transparent 0 9px, rgba(255,255,255,.34) 10px 11px), repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.34) 10px 11px); box-shadow: 7px 7px 0 #543b8d, inset 0 0 0 1px rgba(255,255,255,.2); }
.aabn-place-material__controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.aabn-place-material__controls button,
.aabn-place-exchanges button,
.aabn-group-counter button,
.aabn-group-examples button { min-height: 40px; padding: .45rem .55rem; color: var(--aabn-ink); background: #fff; border: 1px solid #b8cbc6; border-radius: 9px; font-weight: 850; cursor: pointer; }
.aabn-place-material__controls button:last-child { color: #fff; background: var(--aabn-material-color); border-color: var(--aabn-material-color); }
.aabn-place-material__controls button:disabled,
.aabn-place-exchanges button:disabled { opacity: .4; cursor: not-allowed; }
.aabn-place-exchanges { display: grid; gap: .6rem; padding: .9rem; margin: 1rem 0; background: #fff9e7; border: 1px solid #e5d298; border-radius: 14px; }
.aabn-place-exchanges > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.aabn-place-table { display: grid; grid-template-columns: repeat(4, minmax(68px, 1fr)); max-width: 820px; margin: 1rem auto 0; border: 2px solid #a6c3bd; border-radius: 12px; overflow: hidden; }
.aabn-place-table > * { display: grid; place-items: center; min-height: 64px; padding: .6rem; border-right: 1px solid #a6c3bd; text-align: center; font-weight: 850; }
.aabn-place-table > *:nth-child(4n) { border-right: 0; }
.aabn-place-table__head { background: #e3f1ee; color: var(--aabn-teal-dark); }
.aabn-place-table__head small { font-size: .65rem; }
.aabn-place-table__head--unit { color: #164d91; background: #e8f3ff; }
.aabn-place-table__head--ten { color: #982525; background: #fff0f0; }
.aabn-place-table__head--hundred { color: #286a31; background: #edf8ee; }
.aabn-place-table__head--thousand { color: #4d3484; background: #f1edfa; }
.aabn-money-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: end; padding: .85rem; margin-bottom: 1rem; background: #f5f8f7; border: 1px solid #d4e2df; border-radius: 13px; }
.aabn-money-toolbar label { display: grid; gap: .3rem; min-width: min(100%, 220px); font-weight: 800; }
.aabn-money-workspace { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 1rem; align-items: stretch; }
.aabn-money-bank,
.aabn-money-wallet { padding: .9rem; background: #fff; border: 2px solid #d0b777; border-radius: 16px; }
.aabn-money-bank header,
.aabn-money-wallet header { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding-bottom: .7rem; margin-bottom: .8rem; border-bottom: 1px dashed #d4c498; }
.aabn-money-bank header span,
.aabn-money-wallet header span { display: block; color: var(--aabn-muted); font-size: .72rem; }
.aabn-money-wallet header output { color: #256039; font-size: 1.4rem; font-weight: 900; }
.aabn-money-bank > div,
.aabn-money { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; align-content: flex-start; }
.aabn-money { min-height: 210px; padding: .6rem; background: #fffdf5; border-radius: 12px; }
.aabn-money-piece { position: relative; display: grid; place-items: center; min-width: 64px; min-height: 64px; aspect-ratio: 1; padding: .4rem; color: #47360b; background: radial-gradient(circle at 35% 30%, #ffe899, #d7a62f 68%); border: 4px double #9d7623; border-radius: 50%; font-weight: 900; box-shadow: 0 4px 7px rgba(83,58,10,.18); cursor: pointer; overflow: hidden; }
.aabn-money-piece::before { content: ""; position: absolute; inset: 7px; border: 1px solid currentColor; border-radius: inherit; opacity: .22; pointer-events: none; }
.aabn-money-piece > * { position: relative; z-index: 1; }
.aabn-money-piece__mark { position: absolute; top: 5px; left: 8px; font-size: .6rem; opacity: .58; }
.aabn-money-piece small { font-size: .6rem; font-weight: 750; }
.aabn-money-piece--note { min-width: 106px; aspect-ratio: 1.8; border-radius: 7px; color: #243c35; background: linear-gradient(135deg, #e3e7e3, #b7c5bf); border-color: #657b73; }
.aabn-money-piece--note::after { content: "EURO"; position: absolute; right: 6px; bottom: 3px; font-size: .48rem; letter-spacing: .08em; opacity: .55; }
.aabn-money-piece--value-500 { color: #35423e; background: linear-gradient(135deg, #eef0ed, #abb8b2); border-color: #687770; }
.aabn-money-piece--value-1000 { color: #6e252d; background: linear-gradient(135deg, #ffd9dd, #e39da7); border-color: #a24551; }
.aabn-money-piece--value-2000 { color: #174d77; background: linear-gradient(135deg, #d6efff, #76b7df); border-color: #367da8; }
.aabn-money-piece--value-5000 { color: #754414; background: linear-gradient(135deg, #ffe0ae, #e9a456); border-color: #a96628; }
.aabn-money-piece--value-1,
.aabn-money-piece--value-2,
.aabn-money-piece--value-5 { color: #5f2e1c; background: radial-gradient(circle at 35% 30%, #efb28d, #ad5a35 72%); border-color: #74371f; }
.aabn-money-piece--value-10,
.aabn-money-piece--value-20,
.aabn-money-piece--value-50 { color: #5e450c; background: radial-gradient(circle at 35% 30%, #ffe491, #c99527 72%); border-color: #8e671c; }
.aabn-money-piece--value-100 { color: #37434a; background: radial-gradient(circle, #dce2e4 0 46%, #d6ad42 48% 70%, #8c6c1d 72%); border-color: #9a751d; }
.aabn-money-piece--value-200 { color: #51400e; background: radial-gradient(circle, #e8c85c 0 46%, #c7d0d3 48% 70%, #69767b 72%); border-color: #6d787c; }
.aabn-money-piece:hover { transform: translateY(-2px); box-shadow: 0 6px 10px rgba(83,58,10,.23); }
.aabn-group-examples { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; padding: .75rem; margin-bottom: 1rem; background: #f6f1fc; border-radius: 12px; }
.aabn-group-examples > span { margin-right: .25rem; color: #67448f; font-weight: 850; }
.aabn-group-workspace { display: grid; grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr); gap: 1rem; align-items: start; }
.aabn-group-controls { display: grid; gap: .8rem; padding: .9rem; background: #f8f5fc; border: 1px solid #d9cbea; border-radius: 15px; }
.aabn-group-controls > label { display: grid; gap: .35rem; font-weight: 800; }
.aabn-group-counter { display: grid; gap: .45rem; padding: .65rem; background: #fff; border-radius: 11px; }
.aabn-group-counter label { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: .5rem; align-items: center; font-weight: 800; }
.aabn-group-counter input { width: 100%; min-width: 0; text-align: center; }
.aabn-group-counter > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: .35rem; }
.aabn-group-stage { min-width: 0; padding: .9rem; background: #fff; border: 1px solid #d9cbea; border-radius: 15px; }
.aabn-group-stage > header { display: flex; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; color: #67448f; }
.aabn-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: .7rem; }
.aabn-group { display: flex; flex-wrap: wrap; gap: .28rem; align-content: center; justify-content: center; min-height: 105px; padding: .7rem; background: #f2edff; border: 2px dashed #9575c4; border-radius: 18px; text-align: center; }
.aabn-group > b { flex: 0 0 100%; color: #67448f; font-size: .72rem; }
.aabn-group > span,
.aabn-remainder > span { width: 15px; height: 15px; background: #7f5baa; border: 2px solid #5c3b85; border-radius: 50%; }
.aabn-group em { align-self: center; color: #67448f; font-style: normal; font-weight: 900; }
.aabn-group-more { padding: .8rem; background: #f2f4f4; border-radius: 12px; text-align: center; }
.aabn-remainder { display: flex; flex-wrap: wrap; gap: .25rem; align-content: center; justify-content: center; min-height: 80px; padding: .7rem; background: #fff3e7; border: 2px dashed #dd8e46; border-radius: 14px; }
.aabn-remainder b { flex: 0 0 100%; color: #8b4b14; }
.aabn-array { display: grid; grid-template-columns: repeat(var(--aabn-cols), 18px); gap: .35rem; justify-content: center; margin: 1rem; }
.aabn-array span { width: 18px; height: 18px; background: #e6dfef; border: 1px solid #c8b9dc; border-radius: 50%; }
.aabn-array span.is-used { background: var(--aabn-purple); border-color: #624094; box-shadow: inset 0 0 0 3px rgba(255,255,255,.24); }
.aabn-multiplication-model { display: grid; gap: .8rem; }
.aabn-multiplication-model > p { margin: 0; }
.aabn-multiplication-model__meaning { display: grid; grid-template-columns: 1fr auto 1fr; gap: .55rem; align-items: center; padding: .75rem; color: #53327f; background: #f2ebfb; border: 1px solid #d4c1e9; border-radius: 13px; text-align: center; }
.aabn-multiplication-model__meaning span { padding: .45rem; background: #fff; border-radius: 9px; font-weight: 800; }
.aabn-multiplication-model__meaning strong { font-size: 1.35rem; }
.aabn-multiplication-progress > div { height: 17px; overflow: hidden; background: #ece7f2; border: 1px solid #cbbddd; border-radius: 999px; }
.aabn-multiplication-progress > div span { display: block; min-width: 0; height: 100%; background: linear-gradient(90deg, #7952b3, #9c79cc); transition: width .25s ease; }
.aabn-multiplication-progress > p { display: flex; justify-content: space-between; gap: .6rem; margin: .3rem 0 0; font-size: .82rem; }
.aabn-small-matrix { padding: .7rem; background: #faf8fd; border-radius: 12px; }
.aabn-small-matrix > p { margin: 0; color: var(--aabn-muted); font-size: .84rem; }
.aabn-partial-products { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.aabn-partial-products li { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; padding: .6rem .7rem; background: #edf8f4; border-left: 5px solid var(--aabn-teal); border-radius: 10px; }
.aabn-partial-products li > span { grid-row: 1 / span 2; align-self: center; color: var(--aabn-teal-dark); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.aabn-partial-products li small { color: var(--aabn-muted); }
.aabn-partial-products li.is-pending { background: #fff8df; border-left-color: var(--aabn-yellow); }
.aabn-partial-products li.is-pending > span { color: #755a09; }
.aabn-pyramid-toolbar { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(150px, .45fr) auto; gap: .75rem; align-items: end; padding: .85rem; margin-bottom: .9rem; background: #f7f4fc; border: 1px solid #d9cbea; border-radius: 13px; }
.aabn-pyramid-toolbar label { display: grid; gap: .3rem; font-weight: 850; }
.aabn-pyramid-toolbar > div { display: grid; align-content: center; min-height: 46px; padding: .35rem .7rem; color: #5e3d85; background: #fff; border-radius: 10px; }
.aabn-pyramid-toolbar > div span { font-size: .7rem; font-weight: 750; }
.aabn-pyramid-toolbar > div strong { font-size: 1.15rem; }
.aabn-pyramid-practice { display: grid; gap: .75rem; }
.aabn-pyramid {
	display: grid;
	gap: clamp(.18rem, .8vw, .4rem);
	justify-items: center;
	width: 100%;
	padding: clamp(.65rem, 2vw, 1rem);
	background: #fffdf5;
	border: 1px solid #e8dcae;
	border-radius: 14px;
	overflow: hidden;
}
.aabn-pyramid__row {
	display: grid;
	grid-template-columns: repeat(var(--aabn-pyramid-row-size), minmax(0, 58px));
	gap: clamp(.18rem, .8vw, .4rem);
	justify-content: center;
	width: 100%;
}
.aabn-pyramid__row input {
	width: 100%;
	min-width: 0;
	height: clamp(42px, 5vw, 52px);
	min-height: 42px;
	padding: .2rem !important;
	border-width: 2px !important;
	border-radius: 9px !important;
	font-size: clamp(.68rem, 1.5vw, 1rem);
	font-weight: 900;
	text-align: center;
}
.aabn-pyramid__base { color: #214d73; background: #eaf4fc !important; border-color: #6596bd !important; }
.aabn-pyramid__answer { color: #594000; background: #fff8df !important; border-color: #c99b2d !important; }
.aabn-pyramid__answer.is-correct { color: #176043; background: #e5f6ed !important; border-color: #3c9870 !important; box-shadow: inset 0 0 0 1px #3c9870; }
.aabn-pyramid__answer.is-incorrect { color: #8a2e25; background: #fff0ee !important; border-color: #d45d52 !important; box-shadow: inset 0 0 0 1px #d45d52; }
.aabn-pyramid__answer.is-empty { background: #fffaf0 !important; border-color: #d59b3b !important; border-style: dashed !important; }
.aabn-pyramid-legend { display: flex; flex-wrap: wrap; gap: .4rem .8rem; color: var(--aabn-muted); font-size: .72rem; }
.aabn-pyramid-legend span { display: inline-flex; gap: .35rem; align-items: center; }
.aabn-pyramid-legend span::before { content: ""; width: 12px; height: 12px; background: #fff8df; border: 2px solid #c99b2d; border-radius: 4px; }
.aabn-pyramid-legend .is-base::before { background: #eaf4fc; border-color: #6596bd; }
.aabn-pyramid-legend .is-correct::before { background: #e5f6ed; border-color: #3c9870; }
.aabn-pyramid-legend .is-incorrect::before { background: #fff0ee; border-color: #d45d52; }
.aabn-pyramid-feedback { min-height: 46px; padding: .7rem .85rem; margin: 0; color: #654d10; background: #fff8df; border: 1px solid #e0c36b; border-radius: 11px; font-weight: 750; }
.aabn-pyramid-feedback.has-feedback { color: #71362f; background: #fff3ef; border-color: #e2a097; }
.aabn-pyramid-feedback.is-complete { color: #176043; background: #e5f6ed; border-color: #83c6a5; }
.aabn-pyramid-complete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; padding: .85rem 1rem; margin-top: .85rem; color: #176043; background: #e5f6ed; border: 1px solid #83c6a5; border-radius: 12px; }
.aabn-pyramid-example { padding: .85rem 1rem; margin-top: .8rem; background: #edf7f4; border: 1px solid #bcd9d1; border-radius: 12px; }
.aabn-pyramid-example summary { color: var(--aabn-teal-dark); font-weight: 900; cursor: pointer; }
.aabn-pyramid-example > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin: .65rem 0; }
.aabn-pyramid-example p { margin: 0; }
.aabn-pyramid-actions { margin-top: .1rem; }

.aabn-download-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.aabn-teacher-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 1rem; align-items: start; }
.aabn-teacher-settings { display: grid; gap: 1rem; }
.aabn-teacher-settings__header,
.aabn-course-focus__header { display: flex; gap: .75rem; align-items: center; }
.aabn-teacher-settings__header > span,
.aabn-course-focus__header > span { display: grid; flex: 0 0 auto; place-items: center; width: 46px; height: 46px; color: var(--aabn-teal-dark); background: #e7f4f1; border: 1px solid #b9d8d1; border-radius: 12px; }
.aabn-teacher-settings__header h4,
.aabn-teacher-settings__header p,
.aabn-course-focus__header h4,
.aabn-course-focus__header p { margin: 0; }
.aabn-teacher-settings__intro { padding: .7rem .8rem; margin: 0; color: var(--aabn-muted); background: #f5f9f8; border-radius: 10px; font-size: .85rem; }
.aabn-teacher-settings .aabn-form-grid > label { display: grid; align-items: start; gap: .35rem; }
.aabn-teacher-save { width: 100%; }
.aabn-transition-guide { padding: clamp(1rem, 2.5vw, 1.5rem); margin-top: 1rem; background: linear-gradient(135deg, #f1f8f5, #fff); border: 1px solid #bcd8cf; border-radius: var(--aabn-radius); box-shadow: 0 8px 28px rgba(23,49,58,.06); }
.aabn-transition-guide__header { display: flex; gap: .75rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #cfe1db; }
.aabn-transition-guide__header > span { display: grid; flex: 0 0 auto; place-items: center; width: 50px; height: 50px; color: #176349; background: #fff; border: 1px solid #a9d0c1; border-radius: 13px; }
.aabn-transition-guide__header .aabn-icon { width: 28px; height: 28px; }
.aabn-transition-guide__header p,
.aabn-transition-guide__header h4 { margin: 0; }
.aabn-transition-guide__header > div > p:last-child { color: var(--aabn-muted); font-size: .84rem; }
.aabn-transition-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0; }
.aabn-transition-phases article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .55rem; padding: .75rem; background: #fff; border: 1px solid #d2e2dc; border-radius: 12px; }
.aabn-transition-phases article > span { display: grid; place-items: center; width: 31px; height: 31px; color: #fff; background: var(--aabn-teal); border-radius: 9px; font-weight: 900; }
.aabn-transition-phases p { margin: .18rem 0 0; color: var(--aabn-muted); font-size: .76rem; }
.aabn-transition-operations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.aabn-transition-operations article { display: flex; gap: .55rem; align-items: flex-start; min-width: 0; padding: .7rem; background: #fff; border: 1px solid #d5e2df; border-top: 4px solid var(--aabn-teal); border-radius: 10px; }
.aabn-transition-operations article > .aabn-icon { flex: 0 0 auto; width: 25px; height: 25px; color: var(--aabn-teal-dark); }
.aabn-transition-operations article div { min-width: 0; }
.aabn-transition-operations strong,
.aabn-transition-operations span { display: block; }
.aabn-transition-operations span { margin-top: .18rem; color: var(--aabn-muted); font-size: .73rem; }
.aabn-transition-operations .is-addition { border-top-color: var(--aabn-blue); }
.aabn-transition-operations .is-subtraction { border-top-color: var(--aabn-coral); }
.aabn-transition-operations .is-multiplication { border-top-color: var(--aabn-purple); }
.aabn-transition-operations .is-division { border-top-color: var(--aabn-green); }
.aabn-transition-guide__action { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid #cfe1db; }
.aabn-transition-guide__action p { max-width: 720px; margin: 0; color: var(--aabn-muted); font-size: .82rem; }
.aabn-transition-guide__action .aabn-actions { flex: 0 0 auto; justify-content: flex-end; }
.aabn-transition-guide__action .aabn-button { flex: 0 0 auto; }
.aabn-course-focus { margin-top: 1rem; }
.aabn-course-focus__header { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--aabn-line); }
.aabn-course-focus__header > div > p:last-child { color: var(--aabn-muted); font-size: .82rem; }
.aabn-course-focus__card { display: grid; grid-template-rows: auto 1fr auto; gap: .7rem; min-width: 0; padding: .9rem; background: #fff; border: 1px solid #d3e3df; border-top: 5px solid var(--aabn-teal); border-radius: 14px; box-shadow: 0 5px 15px rgba(23,49,58,.05); }
.aabn-course-focus__visual { display: flex; gap: .55rem; align-items: center; color: var(--aabn-teal-dark); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.aabn-course-focus__visual .aabn-icon { width: 28px; height: 28px; padding: .35rem; background: #e7f4f1; border-radius: 8px; }
.aabn-course-focus__card h5 { margin: 0 0 .25rem; font-size: 1rem; }
.aabn-course-focus__card p { margin: 0; color: var(--aabn-muted); font-size: .84rem; }
.aabn-course-focus__card .aabn-link-button { width: 100%; min-height: 42px; padding: .55rem .7rem; }
.aabn-course-focus__card--suma { border-top-color: var(--aabn-blue); }
.aabn-course-focus__card--resta { border-top-color: var(--aabn-coral); }
.aabn-course-focus__card--multiplicacion { border-top-color: var(--aabn-purple); }
.aabn-course-focus__card--division { border-top-color: var(--aabn-green); }
.aabn-download-card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-radius: 17px;
	box-shadow: 0 7px 22px rgba(23,49,58,.06);
}
.aabn-download-card__header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .75rem; align-items: center; padding: .9rem 1rem; background: #eef7f4; border-bottom: 1px solid #d3e4df; border-radius: 17px 17px 0 0; }
.aabn-download-card__header > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--aabn-teal-dark); background: #fff; border: 1px solid #bcd6cf; border-radius: 11px; }
.aabn-download-card__header .aabn-icon { width: 23px; height: 23px; }
.aabn-download-card__header h4 { margin: 0; font-size: 1.05rem; }
.aabn-download-card__header p { margin: .12rem 0 0; color: var(--aabn-muted); font-size: .8rem; line-height: 1.35; }
.aabn-download-card__body { padding: 1rem; }
.aabn-download-card__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .65rem; padding: .9rem 1rem; background: #fafcfb; border-top: 1px solid #dbe7e4; border-radius: 0 0 17px 17px; }
.aabn-download-card__actions .aabn-button { width: 100%; min-height: 48px; }
.aabn-guide {
	padding: 1.1rem;
	background: #fff;
	border: 1px solid var(--aabn-line);
	border-radius: 17px;
	box-shadow: 0 7px 22px rgba(23,49,58,.06);
}
.aabn-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aabn-pdf-form-grid { gap: .75rem; align-items: stretch; margin: 0; }
.aabn-pdf-form-grid > label { align-content: start; min-height: 72px; }
.aabn-pdf-form-grid .aabn-checkbox-field { align-self: stretch; min-height: 72px; }
.aabn-form-field--wide { grid-column: 1 / -1; }
.aabn-sheet-preview { min-height: 260px; padding: 1.2rem; background: #f4f1e8; border-radius: 16px; }
.aabn-sheet-preview > div { max-width: 595px; min-height: 230px; margin: 0 auto; padding: 1rem; background: #fff; box-shadow: 0 5px 20px rgba(23,49,58,.13); }
.aabn-sheet-preview hr { border: 0; border-top: 1px solid #9eb2ad; margin: 1rem 0; }
.aabn-guide { margin-bottom: .8rem; }
.aabn-guide__purpose { padding: .7rem; background: #edf7f5; border-radius: 10px; }
.aabn-guide ol { padding-left: 1.3rem; }

.aabn-progress-page { display: grid; gap: .85rem; }
.aabn-progress-page .aabn-section-heading { margin-bottom: .15rem; }
.aabn-progress-cards {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
.aabn-progress-card {
	flex: 1 1 210px;
	display: grid;
	grid-template-rows: auto auto;
	gap: .45rem;
	align-content: center;
	align-items: stretch;
	min-width: 0;
	min-height: 94px;
	padding: .7rem;
	background: #fff;
	border: 1px solid #cfe0dc;
	border-radius: 13px;
	box-shadow: 0 4px 12px rgba(23,49,58,.05);
}
.aabn-progress-card > div { display: flex; gap: .5rem; align-items: center; min-width: 0; font-weight: 800; line-height: 1.25; }
.aabn-progress-card > div > span:last-child { min-width: 0; }
.aabn-progress-card__icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; color: var(--aabn-teal-dark); background: #e8f5f2; border-radius: 9px; }
.aabn-progress-card__icon .aabn-icon { width: 19px; height: 19px; }
.aabn-progress-card .aabn-status {
	box-sizing: border-box;
	justify-content: center;
	width: 100%;
	padding: .32rem .5rem;
	font-size: .72rem;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}
.aabn-progress-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .55rem;
	padding: .7rem;
	background: #f7faf9;
	border-radius: 15px;
}
.aabn-progress-summary div { padding: .7rem .8rem; background: #fff; border: 1px solid #d6e5e1; border-radius: 11px; }
.aabn-progress-summary strong { display: block; color: var(--aabn-teal-dark); font-size: 1.5rem; line-height: 1.1; }
.aabn-progress-summary span { display: block; margin-top: .15rem; color: var(--aabn-muted); font-size: .78rem; line-height: 1.3; }
.aabn-progress-history { overflow: hidden; background: #fff; border: 1px solid #cfe0dc; border-radius: 15px; box-shadow: 0 6px 18px rgba(23,49,58,.05); }
.aabn-progress-history > header { display: flex; gap: .65rem; align-items: center; padding: .75rem .85rem; background: #eef7f4; border-bottom: 1px solid #cfe0dc; }
.aabn-progress-history > header > span { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; color: var(--aabn-teal-dark); background: #fff; border: 1px solid #c4dcd6; border-radius: 9px; }
.aabn-progress-history > header .aabn-icon { width: 20px; height: 20px; }
.aabn-progress-history h4,
.aabn-progress-history p { margin: 0; }
.aabn-progress-history p { color: var(--aabn-muted); font-size: .76rem; }
.aabn-progress-history .aabn-table-wrap,
.aabn-progress-history .aabn-history-table { border-radius: 0; }
.aabn-progress-history .aabn-history-table { border: 0; }
.aabn-progress-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .55rem;
	padding: .65rem;
	background: #f7faf9;
	border: 1px solid #d6e5e1;
	border-radius: 15px;
}
.aabn-progress-actions .aabn-button {
	width: 100%;
	min-height: 48px;
	padding: .65rem .7rem;
	border-radius: 11px;
	box-shadow: 0 3px 0 rgba(23,49,58,.07);
	white-space: normal;
}
.aabn-button--progress { color: var(--aabn-teal-dark); background: #fff; border-color: #8fbdb3; }
.aabn-progress-actions .aabn-icon { width: 19px; height: 19px; }
.aabn-progress-page .aabn-note { display: flex; gap: .65rem; align-items: center; padding: .75rem .85rem; box-shadow: none; }
.aabn-progress-page .aabn-note .aabn-icon { flex: 0 0 auto; width: 21px; height: 21px; }
.aabn-progress-page .aabn-note p { margin: 0; }
.aabn-pattern-summary { display: grid; gap: .5rem; padding: 1rem; background: #fff8e1; border-radius: 14px; }
.aabn-pattern-summary span { display: flex; justify-content: space-between; gap: .6rem; }
.aabn-diagnostic { display: grid; gap: 1.1rem; }
.aabn-diagnostic__print-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: .7rem .8rem; color: var(--aabn-muted); background: #f5f8f7; border: 1px solid #dce7e4; border-radius: 10px; font-size: .8rem; }
.aabn-diagnostic__block { display: grid; gap: .75rem; }
.aabn-diagnostic__block > div:first-child { display: flex; gap: .65rem; align-items: center; padding-bottom: .55rem; border-bottom: 1px solid #dce8e4; }
.aabn-diagnostic__block > div:first-child h4,
.aabn-diagnostic__block > div:first-child p { margin: 0; }
.aabn-diagnostic__block > div:first-child p { color: var(--aabn-muted); font-size: .82rem; }
.aabn-diagnostic__block-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: var(--aabn-teal-dark); background: #e6f4f1; border-radius: 10px; }
.aabn-diagnostic__block--abn .aabn-diagnostic__block-icon { color: #694397; background: #f0e8fa; }
.aabn-diagnostic__block--reasoning .aabn-diagnostic__block-icon { color: #8b4e16; background: #fff0df; }
.aabn-diagnostic__block--reasoning .aabn-diagnostic__operations label { background: #fffaf4; border-color: #ead6bf; }
.aabn-diagnostic__block--reasoning .aabn-diagnostic__expression { font-size: .92rem; line-height: 1.42; }
.aabn-diagnostic__operations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.aabn-diagnostic__operations label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(88px, .7fr); gap: .65rem; align-items: center; min-width: 0; padding: 1rem; background: #f6faf8; border: 1px solid #d9e8e4; border-radius: 14px; font-weight: 850; }
.aabn-diagnostic__operations label span { min-width: 0; overflow-wrap: anywhere; }
.aabn-diagnostic__operations .aabn-diagnostic__number { grid-column: 1; justify-self: start; padding: .2rem .48rem; color: var(--aabn-teal-dark); background: #e2f2ee; border-radius: 5px; font-size: .68rem; font-weight: 900; letter-spacing: .045em; line-height: 1.3; text-transform: uppercase; }
.aabn-diagnostic__dimension { grid-column: 2; grid-row: 1; justify-self: end; color: var(--aabn-muted); font-size: .68rem; font-weight: 700; text-align: right; }
.aabn-diagnostic__expression { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.aabn-diagnostic__block--abn .aabn-diagnostic__expression { font-size: .92rem; line-height: 1.42; }
.aabn-diagnostic__operations input { width: 100%; min-width: 0; text-align: center; }
.aabn-diagnostic__actions { justify-content: center; }
.aabn-diagnostic-result { padding: clamp(1rem, 2.5vw, 1.5rem); margin-top: 1rem; border: 2px solid #8bc7b8; border-radius: 16px; background: #f6fbf9; }
.aabn-diagnostic-report__header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; padding-bottom: .8rem; margin-bottom: .8rem; border-bottom: 1px solid #cde2db; }
.aabn-diagnostic-report__header h3,
.aabn-diagnostic-report__header p { margin-bottom: 0; }
.aabn-diagnostic-report__header > div:last-child { display: grid; align-content: center; justify-items: end; color: var(--aabn-muted); font-size: .82rem; }
.aabn-diagnostic-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .65rem; margin: 1rem 0; }
.aabn-diagnostic-profile article { padding: .75rem; background: #fff; border: 1px solid #cfe2dc; border-radius: 11px; }
.aabn-diagnostic-profile span,
.aabn-diagnostic-profile small { display: block; color: var(--aabn-muted); font-size: .75rem; }
.aabn-diagnostic-profile strong { display: block; margin: .15rem 0; color: var(--aabn-teal-dark); font-size: 1.35rem; }
.aabn-diagnostic-review { min-width: 840px; font-size: .8rem; }
.aabn-diagnostic-review td:nth-child(3) { min-width: 240px; text-align: left; }
.aabn-privacy-grid > div { padding: 1rem; background: #fff; border: 1px solid var(--aabn-line); border-radius: 16px; }
.aabn-principles ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .75rem;
	padding: 0;
	margin: 0;
	list-style: none;
}
.aabn-principles li {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: .1rem .65rem;
	align-items: center;
	padding: .75rem;
	background: #f5f9f7;
	border-radius: 12px;
}
.aabn-principles li > span {
	grid-row: 1 / span 2;
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	color: #fff;
	background: var(--aabn-teal);
	border-radius: 14px;
}
.aabn-principles li > span .aabn-icon { width: 25px; height: 25px; }
.aabn-principles li > span b { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 22px; height: 22px; color: var(--aabn-teal-dark); background: #fff; border: 2px solid var(--aabn-teal); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.aabn-principles li:nth-child(2) > span { background: var(--aabn-blue); }
.aabn-principles li:nth-child(3) > span { background: var(--aabn-purple); }
.aabn-principles li:nth-child(4) > span { background: var(--aabn-coral); }
.aabn-principles li small { color: var(--aabn-muted); }

.aabn-dialog {
	width: min(720px, calc(100% - 2rem));
	max-height: min(88vh, 850px);
	padding: 0;
	color: var(--aabn-ink);
	background: #fffdf8;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 30px 90px rgba(0,0,0,.28);
	overflow: auto;
}
.aabn-dialog::backdrop { background: rgba(9,28,33,.68); backdrop-filter: blur(3px); }
.aabn-dialog__header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: #eaf6f2; border-bottom: 1px solid var(--aabn-line); }
.aabn-dialog__header h2 { margin: 0; font-size: 1.35rem; }
.aabn-dialog__body { padding: 1.2rem; }
.aabn-dialog__actions { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0 1.2rem 1.2rem; }

.aabn-app-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding: 1rem clamp(1rem,3vw,2rem); background: #17313a; color: #e4efec; font-size: .86rem; }
.aabn-app-footer a { color: #fff3c5; }

.aabn-large-text { font-size: 19px; }
.aabn-school-font .aabn-story-card p,
.aabn-school-font .aabn-screen h2,
.aabn-school-font .aabn-screen h3,
.aabn-school-font .aabn-thinking {
	font-family: "Aula ABN Escolar", "Comic Sans MS", cursive;
	line-height: 1.65;
	letter-spacing: 0;
}
.aabn-high-contrast {
	--aabn-ink: #000;
	--aabn-muted: #202020;
	--aabn-paper: #fff;
	--aabn-line: #222;
	--aabn-teal: #005f59;
	--aabn-teal-dark: #003f3b;
}
.aabn-high-contrast .aabn-button--primary { background: #000; border-color: #000; }
.aabn-reduced-stimuli *,
.aabn-reduced-stimuli *::before,
.aabn-reduced-stimuli *::after { animation: none !important; transition: none !important; }
.aabn-reduced-stimuli .aabn-hero { background: #f3f7f5; }

@keyframes aabn-arrive {
	from { opacity: 0; transform: translateY(7px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
	.aabn-grid-head__full { display: none; }
	.aabn-grid-head__short { display: inline; }
	.aabn-operation-grid th { padding-inline: .28rem; font-size: clamp(.64rem, 1.45vw, .76rem); }
}

@media (max-width: 940px) {
	.aabn-hero,
	.aabn-operation-layout,
	.aabn-download-layout,
	.aabn-teacher-layout { grid-template-columns: 1fr; }
	.aabn-hero__mark { display: none; }
	.aabn-hero__meta { flex-direction: row; align-items: end; }
	.aabn-route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-transfer-controls,
	.aabn-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-place-materials { grid-template-columns: repeat(2, minmax(170px, 1fr)); }
	.aabn-money-workspace,
	.aabn-group-workspace { grid-template-columns: 1fr; }
	.aabn-progress-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-bridge-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-bridge-workspace { grid-template-columns: 1fr; }
	.aabn-bridge-practice__workspace { grid-template-columns: 1fr; }
	.aabn-bridge-equals { grid-template-columns: auto auto; gap: .4rem; }
	.aabn-bridge-equals .aabn-icon { transform: rotate(90deg); }
	.aabn-transition-phases,
	.aabn-transition-operations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.aabn-app { border-radius: 0; border-left: 0; border-right: 0; font-size: 15px; }
	.aabn-hero__meta { display: grid; grid-template-columns: 1fr; }
	.aabn-mode-switch { width: 100%; }
	.aabn-course { grid-column: auto; grid-row: auto; }
	.aabn-course select { flex: 1; }
	.aabn-nav button span { display: none; }
	.aabn-nav button { min-width: 48px; }
	.aabn-route-cards,
	.aabn-home-grid,
	.aabn-home-progress,
	.aabn-cols,
	.aabn-privacy-grid,
	.aabn-course-focus__grid,
	.aabn-box-pair,
	.aabn-stick-lab { grid-template-columns: 1fr; }
	.aabn-route-card { min-height: 115px; }
	.aabn-operation-heading,
	.aabn-section-heading,
	.aabn-lab-heading { display: block; }
	.aabn-progress-summary { grid-template-columns: 1fr; }
	.aabn-progress-page .aabn-alias-field { margin-top: .7rem; }
	.aabn-practice-range { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-practice-range__intro { grid-column: 1 / -1; }
	.aabn-practice-range .aabn-button { width: 100%; white-space: normal; }
	.aabn-form-grid,
	.aabn-control-grid,
	.aabn-transfer-controls { grid-template-columns: 1fr; }
	.aabn-place-toolbar { grid-template-columns: 1fr; }
	.aabn-place-toolbar p { grid-column: auto; }
	.aabn-place-materials { grid-template-columns: 1fr; }
	.aabn-place-exchanges > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-pyramid-toolbar { grid-template-columns: 1fr 1fr; }
	.aabn-pyramid-toolbar .aabn-button { grid-column: 1 / -1; width: 100%; }
	.aabn-hundred-workspace { grid-template-columns: 1fr; }
	.aabn-hundred { grid-template-columns: repeat(10, minmax(27px, 1fr)); }
	.aabn-hundred button { font-size: .72rem; }
	.aabn-map-node { grid-template-columns: 58px minmax(0, 1fr) auto; gap: .65rem; }
	.aabn-map-node .aabn-status { justify-self: start; }
	.aabn-actions .aabn-button { flex: 1 1 180px; }
	.aabn-principles ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aabn-diagnostic__operations { gap: .65rem; }
	.aabn-diagnostic__operations label { grid-template-columns: 1fr; gap: .4rem; padding: .7rem; }
	.aabn-diagnostic__dimension { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
	.aabn-operation-grid th,
	.aabn-operation-grid td { padding: .42rem .25rem; font-size: .78rem; }
	.aabn-house-table th,
	.aabn-house-table td { padding: .3rem .2rem; }
	.aabn-house-table thead th small { display: none; }
	.aabn-house-table thead th span { font-size: .7rem; }
	.aabn-house-table tbody th { width: 18%; }
	.aabn-house-table input { min-height: 38px; padding: .25rem .1rem; font-size: .78rem; }
	.aabn-place-stick-group > div { gap: .25rem; }
	.aabn-place-bundle { width: 68px; }
	.aabn-multiplication-model__meaning { grid-template-columns: 1fr; }
	.aabn-multiplication-model__meaning strong { line-height: .8; }
	.aabn-line-controls,
	.aabn-bridge-setup,
	.aabn-bridge-connections ol,
	.aabn-transition-phases,
	.aabn-transition-operations { grid-template-columns: 1fr; }
	.aabn-number-line__diagram { height: 230px; margin-inline: .65rem; }
	.aabn-number-line__labels span:nth-child(2) { display: none; }
	.aabn-bridge-setup .aabn-button { width: 100%; }
	.aabn-bridge-practice > header { align-items: flex-start; flex-wrap: wrap; }
	.aabn-bridge-practice > header > div { flex: 1 1 calc(100% - 55px); }
	.aabn-bridge-practice__toggle { width: 100%; max-width: none; }
	.aabn-bridge-practice__actions .aabn-button { flex: 1 1 170px; }
	.aabn-transition-guide__header,
	.aabn-transition-guide__action { align-items: flex-start; flex-direction: column; }
	.aabn-transition-guide__action .aabn-actions { width: 100%; }
	.aabn-transition-guide__action .aabn-button { width: 100%; }
}

@media (max-width: 390px) {
	.aabn-screen,
	.aabn-welcome { padding: .9rem; }
	.aabn-hero { padding: 1.05rem; }
	.aabn-operation-workspace,
	.aabn-manipulative-panel,
	.aabn-grid-panel,
	.aabn-lab-panel { padding: .75rem; border-radius: 14px; }
	.aabn-hundred { grid-template-columns: repeat(10, minmax(24px, 1fr)); }
	.aabn-hundred button { font-size: .66rem; }
	.aabn-principles ol { grid-template-columns: 1fr; }
	.aabn-practice-range { grid-template-columns: 1fr; }
	.aabn-practice-range__intro { grid-column: auto; }
	.aabn-place-exchanges > div { grid-template-columns: 1fr; }
	.aabn-pyramid { padding: .5rem .25rem; }
	.aabn-progress-actions { grid-template-columns: 1fr; }
	.aabn-classic-sheet__controls { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.aabn-app *,
	.aabn-app *::before,
	.aabn-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
	.aabn-plugin-shell--wide { width: 100% !important; max-width: none !important; margin: 0 !important; transform: none; }
	.aabn-app { max-width: none; border: 0; box-shadow: none; }
	.aabn-app > header,
	.aabn-nav,
	.aabn-access,
	.aabn-alert,
	.aabn-live,
	.aabn-actions,
	.aabn-app-footer,
	.aabn-mode-pills,
	.aabn-operation-tabs { display: none !important; }
	.aabn-main { min-height: 0; }
	.aabn-screen { padding: 0; }
	.aabn-history-table { min-width: 0; font-size: 10pt; }
	.aabn-diagnostic,
	.aabn-diagnostic-result { padding: 0; border: 0; box-shadow: none; background: #fff; }
	.aabn-diagnostic__operations { gap: 5mm; }
	.aabn-diagnostic__operations label { break-inside: avoid; padding: 3mm; border-color: #888; }
	.aabn-diagnostic__operations input { min-height: 9mm; border: 0; border-bottom: 1px solid #333; border-radius: 0; background: transparent; }
	.aabn-diagnostic__block { break-before: auto; }
	.aabn-diagnostic-profile article { break-inside: avoid; }
	.aabn-diagnostic-review { min-width: 0; table-layout: fixed; font-size: 7pt; }
	.aabn-diagnostic-review th,
	.aabn-diagnostic-review td { padding: 1.5mm; overflow-wrap: anywhere; }
	.aabn-diagnostic-review td:nth-child(3) { min-width: 0; }
}

.aabn-resource-info {
	width: min(1180px, calc(100% - 2rem));
	margin: clamp(2rem, 5vw, 4rem) auto;
	color: #17313a;
	font: 500 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.aabn-resource-info h2,
.aabn-resource-info h3 { line-height: 1.2; color: #17313a; }
.aabn-resource-info__intro { max-width: 880px; margin-bottom: 1.5rem; }
.aabn-resource-info__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aabn-resource-info__features article,
.aabn-resource-info__evidence,
.aabn-resource-info__faq {
	padding: clamp(1rem, 2.4vw, 1.6rem);
	background: #fff;
	border: 1px solid #d9e5e2;
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(23,49,58,.06);
}
.aabn-resource-info__evidence { margin-top: 1rem; background: #f3f8ff; border-color: #cfdff9; }
.aabn-resource-info__faq { margin-top: 1rem; }
.aabn-resource-info__faq details { padding: .8rem 0; border-bottom: 1px solid #d9e5e2; }
.aabn-resource-info__faq details:last-child { border-bottom: 0; }
.aabn-resource-info__faq summary { cursor: pointer; font-weight: 800; }
.aabn-resource-info__faq details p { margin: .65rem 0 0; }
@media (max-width: 740px) {
	.aabn-resource-info__features { grid-template-columns: 1fr; }
}
