/* El marco permanece igual al navegar y al salir de pantalla completa. */
.aabn-app.aabn-board.aabn-has-rail{--aabn-windowbar-height:52px}
.aabn-app.aabn-board.aabn-has-rail[data-board-route="inicio"]{--aabn-windowbar-height:0px}
.aabn-app.aabn-board.aabn-has-rail .aabn-rail .aabn-profile-control--course{margin-top:8px}
.aabn-app.aabn-board.aabn-has-rail .aabn-rail .aabn-access__panel{z-index:300}
.aabn-app.aabn-board.aabn-has-rail[data-board-route] .aabn-rail .aabn-rail-calculator{display:flex;flex-direction:row;justify-content:flex-start;gap:15px;min-height:46px;padding:6px 13px;font-size:15px;text-align:left}
.aabn-app.aabn-board .aabn-workspace-windowbar{display:flex;flex:0 0 44px;align-items:center;justify-content:flex-end;min-height:44px;margin:0 0 8px}
.aabn-app.aabn-board :is(.aabn-workspace-windowbar,.aabn-board-welcome,.aabn-material-backbar)>.aabn-rail-expand{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;margin:0;padding:9px 14px;border:1px solid #cddfdd;border-radius:14px;background:#f5faf8;color:#225660;box-shadow:none;font:inherit;font-size:14px;font-weight:750;cursor:pointer;touch-action:manipulation}
.aabn-app.aabn-board :is(.aabn-workspace-windowbar,.aabn-board-welcome,.aabn-material-backbar)>.aabn-rail-expand:hover{background:#dfefe9}
.aabn-app.aabn-board .aabn-rail-expand:focus-visible{outline:3px solid #d79c18;outline-offset:2px}
.aabn-app.aabn-board .aabn-rail-expand>.aabn-icon{width:21px;height:21px}
.aabn-app.aabn-board .aabn-home-scene .aabn-board-welcome{gap:12px}
/* Las utilidades ocupan la pizarra y mantienen el menú a la vista y disponible. */
.aabn-app.aabn-board.aabn-has-rail>.aabn-board-panel{inset:8px 8px 8px calc(var(--aabn-rail-width) + 8px)}
.aabn-app.aabn-board.aabn-has-rail>.aabn-board-panel-backdrop{left:var(--aabn-rail-width)}
@media(max-width:500px){.aabn-app.aabn-board .aabn-board-panel .aabn-guided-sheet__checks label{flex-wrap:wrap;min-width:0}.aabn-app.aabn-board .aabn-board-panel .aabn-guided-sheet__checks label>small{flex:1 1 100%;min-width:0}}
@media(max-width:600px){.aabn-app.aabn-board.aabn-has-rail>.aabn-board-panel{inset:4px 4px 4px calc(var(--aabn-rail-width) + 4px);border-radius:12px}.aabn-app.aabn-board.aabn-has-rail [data-board-panel-screen]{padding:12px}.aabn-app.aabn-board.aabn-has-rail .aabn-board-panel__header{gap:6px;padding:8px;min-height:62px}.aabn-app.aabn-board.aabn-has-rail .aabn-board-panel__header h3{gap:6px;font-size:18px}.aabn-app.aabn-board.aabn-has-rail .aabn-board-panel__header>button{min-width:44px;min-height:44px;padding:6px;font-size:12px}.aabn-app.aabn-board.aabn-has-rail .aabn-board-panel__header>button>.aabn-icon{width:20px;height:20px}}
.aabn-app.aabn-board .aabn-material-gallery{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:22px;min-height:calc(100dvh - 105px);padding:16px 20px 40px;border-radius:28px;background:radial-gradient(circle,#d7e9e4 .7px,transparent .9px) 0 0/22px 22px,#f8fcf9;overflow:hidden}
.aabn-app.aabn-board .aabn-material-gallery::after{content:"";position:absolute;z-index:-1;inset:auto -5% -120px;height:200px;border-radius:50% 55% 0 0;background:#d4e9cf;box-shadow:220px -25px 0 #e1efdb}
.aabn-app.aabn-board .aabn-material-gallery>h3{margin:0;color:#173e4b;font-size:clamp(25px,2.5vw,36px)}
.aabn-app.aabn-board .aabn-material-gallery__cards{display:grid;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(185px,1fr));gap:18px}
.aabn-app.aabn-board .aabn-material-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:185px;padding:18px 12px 30px;border:1px solid #cde4dd;border-radius:24px;background:#ffffffef;color:#123f4d;box-shadow:0 5px 0 #e1ece6;font:inherit;font-size:clamp(18px,1.5vw,26px);cursor:pointer;touch-action:manipulation}
.aabn-app.aabn-board .aabn-material-choice>.aabn-board-art{width:min(175px,85%);height:clamp(100px,14vh,170px);overflow:visible}
.aabn-app.aabn-board .aabn-material-choice>.aabn-icon{position:absolute;right:12px;bottom:12px;width:28px;height:28px;padding:5px;border-radius:50%;background:#e6f7ee;color:#007f74}
.aabn-app.aabn-board .aabn-material-choice:hover{border-color:#6bbfad;background:#f1fbf5}
.aabn-app.aabn-board .aabn-material-choice:focus-visible{outline:3px solid #c99419;outline-offset:3px}
.aabn-app.aabn-board .aabn-material-backbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:44px;margin:0 0 8px}
.aabn-app.aabn-board .aabn-material-backbar>h3{flex:1;margin:0;font-size:23px;color:#154655}
.aabn-app.aabn-board .aabn-material-backbar>.aabn-button{min-height:44px;padding:6px 12px;font-size:14px}
/* El margen inferior heredado de las pestañas desalineaba Mis números. */
.aabn-app.aabn-board[data-board-route="practica"] .aabn-practice-heading{justify-content:flex-end}
.aabn-app.aabn-board .aabn-practice-tools{display:grid;grid-template-columns:auto auto;align-items:stretch;gap:10px;max-width:100%}
.aabn-app.aabn-board .aabn-practice-tools .aabn-mode-pills{display:flex;align-items:stretch;min-width:0;margin:0;padding:5px}
.aabn-app.aabn-board .aabn-practice-tools .aabn-own-numbers{align-self:stretch;min-height:66px;margin:0;box-shadow:none;border-radius:15px}
@media(max-width:1200px){.aabn-app.aabn-board .aabn-material-gallery{gap:14px;padding:12px 14px 30px}.aabn-app.aabn-board .aabn-material-gallery__cards{gap:12px;grid-template-rows:repeat(2,minmax(160px,1fr))}.aabn-app.aabn-board .aabn-material-choice{min-height:160px}}
@media(max-width:768px){.aabn-app.aabn-board.aabn-has-rail[data-board-route] .aabn-rail .aabn-rail-calculator{flex-direction:column;justify-content:center;gap:2px;padding:3px 1px;font-size:8.5px}.aabn-app.aabn-board .aabn-material-gallery{gap:12px;padding:14px 9px 30px}.aabn-app.aabn-board .aabn-material-gallery__cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:12px}.aabn-app.aabn-board .aabn-material-choice{min-height:155px;gap:7px;padding:10px 5px 30px;font-size:16px}.aabn-app.aabn-board .aabn-material-choice>.aabn-board-art{height:86px}.aabn-app.aabn-board .aabn-material-backbar{gap:6px}.aabn-app.aabn-board .aabn-material-backbar>h3{flex:1 1 100%;font-size:22px}.aabn-app.aabn-board .aabn-material-backbar>.aabn-rail-expand{margin-left:auto}.aabn-app.aabn-board .aabn-home-scene .aabn-board-welcome{gap:8px}.aabn-app.aabn-board .aabn-home-scene .aabn-home-map{min-width:0;padding:8px 12px;font-size:14px}.aabn-app.aabn-board .aabn-board-welcome>.aabn-rail-expand{padding:8px 10px;font-size:13px}}
@media(max-width:600px){.aabn-app.aabn-board .aabn-practice-tools{grid-template-columns:minmax(0,1fr) minmax(78px,.65fr);gap:7px;width:100%}.aabn-app.aabn-board .aabn-practice-tools .aabn-mode-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:4px}.aabn-app.aabn-board .aabn-practice-tools .aabn-mode-pills label{min-width:0;min-height:48px;gap:3px;padding:4px 2px;font-size:12px}.aabn-app.aabn-board .aabn-practice-tools .aabn-mode-pills input{width:12px;height:12px;margin:0}.aabn-app.aabn-board .aabn-practice-tools .aabn-own-numbers{min-width:0;min-height:56px;gap:4px;padding:5px;font-size:13px;line-height:1.1}.aabn-app.aabn-board .aabn-practice-tools .aabn-own-numbers>.aabn-icon{display:none}.aabn-app.aabn-board .aabn-practice-tools .aabn-own-numbers>span{max-width:65px;white-space:normal}}
.aabn-app.aabn-board.aabn-reduced-stimuli .aabn-material-gallery{background:#f8fcf9}
.aabn-app.aabn-board.aabn-reduced-stimuli .aabn-material-gallery::after{display:none}
.aabn-app.aabn-board.aabn-high-contrast :is(.aabn-material-choice,.aabn-material-gallery,.aabn-rail-expand){color:#000;background:#fff;border-color:#000;box-shadow:none}
@media print{.aabn-app.aabn-board :is(.aabn-workspace-windowbar,.aabn-material-backbar){display:none}}
.aabn-app.aabn-board .aabn-creator-notice{display:flex;align-items:center;gap:18px;margin:0 0 26px;padding:22px;border:1px solid #cfe5dd;border-radius:22px;background:#f2faf6;color:#174b4f}
.aabn-app.aabn-board .aabn-creator-mark{display:grid;flex:0 0 58px;place-items:center;width:58px;height:58px;border-radius:18px;background:#d8f0e7;font-size:38px;font-weight:800}
.aabn-app.aabn-board .aabn-creator-notice h4{margin:0 0 4px;font-size:16px;color:#456c67}
.aabn-app.aabn-board .aabn-creator-notice strong{display:block;font-size:clamp(20px,2vw,28px);line-height:1.25}
.aabn-app.aabn-board .aabn-creator-notice p{margin:9px 0 5px;font-size:14px;line-height:1.5}
.aabn-app.aabn-board .aabn-creator-notice small{font-size:12px;color:#466b66}
@media(max-width:600px){.aabn-app.aabn-board .aabn-creator-notice{align-items:flex-start;gap:10px;padding:15px;flex-wrap:wrap}.aabn-app.aabn-board .aabn-creator-mark{flex-basis:44px;width:44px;height:44px;font-size:29px}.aabn-app.aabn-board .aabn-creator-notice strong{font-size:21px}}
.aabn-app.aabn-board.aabn-high-contrast .aabn-creator-notice{color:#000;background:#fff;border-color:#000}
/* Un aviso de texto nunca tapa ni bloquea el menú persistente. */
.aabn-app.aabn-board.aabn-has-rail > [data-aabn-alert]{left:calc(var(--aabn-rail-width) + 12px);right:12px;pointer-events:none}
