/* Formal private workspace around the existing teacher tools; student campus keeps its own styling. */
.bp-workspace{--text:var(--ink)}
.bp-workspace .prof .page-heading h1{color:var(--ink)}
.bp-workspace .prof,.bp-workspace .prof-pagina,.bp-workspace .prof-pagina>*,.bp-workspace .prof-form .prof-campos>*{min-width:0;max-width:100%}
.bp-workspace{--bg:#faf7f0;--panel:#fffdf8;--surface:#fffdf8;--surface-2:#f4efe6;--soft-2:#f0e8dd;--ink:#332d28;--muted:#766a5e;--line:#e1d6c7;--line-strong:#cfc0ae;--accent-text:#98233c;--accent-button:#a42540;--accent-soft:#f7e7e5;--ok:#466644;--warn:#865614;--warn-tint:#fbefda;--focus-ring:#386585;--card-radius:12px;--font-ui:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--font-ui);color:var(--ink);min-width:0;max-width:1280px;margin-inline:auto;text-align:left;font-size:14px;line-height:1.6}
.bp-workspace *{box-sizing:border-box}.bp-workspace [hidden]{display:none!important}.bp-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 25px;padding:0 0 18px;border-bottom:1px solid var(--line)}.bp-context{display:grid;gap:3px;min-width:180px;margin-right:auto}.bp-context>span{font-size:10px;font-weight:650;color:var(--muted)}.bp-context>strong{font-size:16px;font-weight:650;line-height:1.4}.bp-context>small{font-size:10px;color:var(--muted)}.bp-task-nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.bp-task-nav button,.bp-display-panel button{font:600 12px/1.4 var(--font-ui);border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);padding:10px 12px;min-height:44px;cursor:pointer;box-shadow:none}.bp-task-nav button[aria-current=page]{background:#f4e7e1;color:#8f2038;border-color:#e9c9c0}.bp-display{display:flex;gap:8px;align-items:center}.bp-display>details{position:relative}.bp-display summary{display:flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer;font:600 12px/1.4 var(--font-ui);padding:10px 13px;border:1px solid var(--line);border-radius:8px;list-style:none;background:#fffdf8}.bp-display summary::-webkit-details-marker{display:none}.bp-display summary:after{content:'⌄';margin-left:8px;color:var(--muted)}.bp-display-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:215px;background:#fffdf8;border:1px solid var(--line-strong);border-radius:10px;padding:12px;box-shadow:0 8px 20px #4a34231c}.bp-display-panel>span{display:block;font-size:11px;color:var(--muted);margin:0 0 8px}.bp-display-panel>div{display:flex;gap:5px}.bp-display-panel button{flex:1;border:1px solid var(--line)}.bp-display-panel button[aria-pressed=true]{color:#8f2038;background:#f7e7e5;border-color:#c48f99}.bp-display-panel label{display:flex;gap:9px;align-items:center;min-height:44px;font-size:12px;cursor:pointer;margin-top:8px}.bp-display-panel input{width:18px;height:18px;margin:0;accent-color:var(--accent-button)}.bp-companion img{display:block;width:30px;height:30px;object-fit:contain}.bp-error{flex-basis:100%;margin:0!important;border-left:3px solid #a3293f;padding:9px 12px;background:#faece8;color:#92253b;font-size:12px}
.bp-workspace .prof{font-family:var(--font-ui);font-size:14px;color:var(--ink)}.bp-workspace .prof-pagina{gap:20px}.bp-workspace .prof .page-heading{padding:0;margin:0 0 5px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.bp-workspace .prof .page-heading h1{font-family:var(--font-ui);font-size:29px;line-height:1.25;font-weight:650;max-width:40ch;margin:0;text-wrap:balance;overflow-wrap:anywhere}.bp-workspace .prof .page-heading p{font-size:13px;line-height:1.7;color:var(--muted);max-width:75ch;margin:8px 0 0}.bp-workspace .prof h2,.bp-workspace .prof h3,.bp-workspace .prof h4{font-family:var(--font-ui);text-wrap:balance;font-weight:650;overflow-wrap:anywhere}.bp-workspace .prof h2{font-size:18px;line-height:1.4}.bp-workspace .prof h3{font-size:16px;line-height:1.5}.bp-workspace .prof p{overflow-wrap:anywhere;text-wrap:pretty}.bp-workspace .prof .panel,.bp-workspace .prof .prof-fila,.bp-workspace .prof .prof-cifra{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:19px 21px}.bp-workspace .prof .panel.prof-verifica{border-left:3px solid var(--warn)}.bp-workspace .prof .prof-tarjeta[data-estado=abierta]{border-left:3px solid var(--ok)}.bp-workspace .prof .prof-tarjeta[data-estado=por-guardar]{border-left:3px solid var(--warn)}.bp-workspace .prof .btn,.bp-dialog .btn{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;font-weight:600;line-height:1.45;min-height:44px;min-width:44px;padding:10px 14px;border-radius:8px;box-shadow:none;white-space:normal;text-align:center;gap:7px;justify-content:center}.bp-workspace .prof .btn-primary,.bp-dialog .btn-primary{background:#a42540;color:#fff;border-color:#a42540;box-shadow:none}.bp-workspace .prof .btn-quiet,.bp-dialog .btn-quiet{background:#fffdf8;border:1px solid var(--line,#e1d6c7);color:#504338;box-shadow:none}.bp-workspace .prof .btn-danger,.bp-dialog .btn-danger{background:#a42540;color:#fff}.bp-workspace .prof .btn svg,.bp-workspace .prof .btn img{width:17px;height:17px;flex:none}.bp-workspace .prof .heading-actions{gap:8px;flex-wrap:wrap}.bp-workspace .prof .prof-acciones{gap:8px}.bp-workspace .prof .prof-acceso{background:#fffdf8;border-radius:10px;border-color:var(--line);min-height:70px;padding:14px 16px;font-family:var(--font-ui);box-shadow:none}.bp-workspace .prof .prof-acceso img,.bp-workspace .prof .prof-acceso>svg{width:26px;height:26px}.bp-workspace .prof .prof-acceso strong{font-size:14px;font-weight:650}.bp-workspace .prof .prof-acceso small{font-size:12px;line-height:1.55}.bp-workspace .prof .prof-pestanas{gap:9px;min-width:0}.bp-workspace .prof .prof-pestana{font-size:13px;border-radius:0;min-height:44px;box-shadow:none;padding:10px 13px;font-family:var(--font-ui)}.bp-workspace .prof .prof-pestana[aria-selected=true]{color:#92213b;border-bottom-color:#a42540}.bp-workspace .prof .prof-cifras{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}.bp-workspace .prof .prof-cifra{padding:15px 18px}.bp-workspace .prof .prof-cifra strong{font-size:26px;font-weight:650}.bp-workspace .prof .prof-cifra span{font-size:12px}.bp-workspace .prof .prof-chip{font-size:11px;padding:3px 7px;border-radius:6px;background:#f1ebe1;color:#67584a;line-height:1.6}.bp-workspace .prof .prof-chip-ok{background:#eaf0e2;color:#46613e}.bp-workspace .prof .prof-chip-aviso{background:#fbefda;color:#805418}.bp-workspace .prof .prof-codigo{letter-spacing:normal;font-family:var(--font-ui);font-size:30px;line-height:1.3;font-weight:650}.bp-workspace .prof .prof-codigo-grande{font-size:56px}.bp-workspace .prof .prof-qr{border:1px solid var(--line);border-radius:8px}.bp-workspace .prof .prof-tarjeta>div:first-child{flex-basis:250px}.bp-workspace .prof .prof-tarjeta h3{font-size:16px}.bp-workspace .prof .prof-tarjeta p{font-size:12px;line-height:1.7}.bp-workspace .prof .prof-sobre,.bp-workspace .prof .prof-nota,.bp-workspace .prof .prof-vacio{font-size:12px;line-height:1.7}.bp-workspace .prof .info-box,.bp-dialog .info-box{background:#f5efe3;border:1px solid #ded0bb;border-radius:9px;padding:13px 15px;font-size:12px;line-height:1.7;color:#6b5741;box-shadow:none}.bp-workspace .prof [role=alert],.bp-dialog [role=alert]{color:#a1253d}.bp-workspace .prof .form-error:not(:empty),.bp-dialog .form-error:not(:empty){padding:10px 12px;border-left:3px solid #a3293f;background:#faece8;border-radius:0 6px 6px 0;font-size:12px;line-height:1.7}.bp-workspace .prof .field,.bp-dialog .field{font-size:12px;font-weight:600;line-height:1.6;min-width:0}.bp-workspace .prof input,.bp-workspace .prof select,.bp-workspace .prof textarea,.bp-dialog input:not([type=checkbox]):not([type=radio]),.bp-dialog select,.bp-dialog textarea{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.6;border-radius:7px;box-shadow:none;border-color:#d4c6b5;max-width:100%}.bp-workspace .prof input:not([type=checkbox]):not([type=radio]),.bp-workspace .prof select,.bp-dialog input:not([type=checkbox]):not([type=radio]),.bp-dialog select{min-height:44px}.bp-workspace .prof .field small{font-size:11px;font-weight:400;line-height:1.7;color:var(--muted)}.bp-workspace .prof .prof-toma{border-radius:9px;padding:10px 14px 14px;gap:6px}.bp-workspace .prof .prof-opcion{font-size:12px;line-height:1.6}.bp-workspace .prof .prof-opcion small{font-size:11px}.bp-workspace .prof .prof-tema{padding:0 18px}.bp-workspace .prof .prof-tema>summary{font-size:15px;min-height:50px;padding:12px 0}.bp-workspace .prof .prof-banco-lista{margin-top:0;padding-left:24px}.bp-workspace .prof .prof-banco-lista>li{padding:18px 0}.bp-workspace .prof .prof-banco-lista .prof-p{font-size:15px;line-height:1.7}.bp-workspace .prof .prof-preguntas ul{font-size:13px;line-height:1.75}.bp-workspace .prof .prof-editor-correcta{min-width:44px;min-height:44px}.bp-workspace .prof .prof-barra{height:7px;border-radius:4px;background:#ede5da}.bp-workspace .prof .prof-barra i{border-radius:4px;background:#b34a5e}.bp-workspace .prof .prof-tabla-caja{max-width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;overflow:auto;scrollbar-gutter:stable}.bp-workspace .prof .prof-tabla-caja.bp-table-long{max-height:min(62dvh,540px)}.bp-workspace .prof .prof-tabla{font-size:12px;border-collapse:separate;border-spacing:0;background:#fffdf8;margin:0;line-height:1.6;font-variant-numeric:tabular-nums}.bp-workspace .prof .prof-tabla th,.bp-workspace .prof .prof-tabla td{padding:12px 14px;border-bottom:1px solid #e8dfd2}.bp-workspace .prof .prof-tabla thead th{position:sticky;top:0;z-index:2;background:#f4eee4;font-size:11px;font-weight:650;color:#695846}.bp-workspace .prof .prof-tabla tbody th{position:sticky;left:0;z-index:1;background:#fffdf8;font-weight:600}.bp-workspace .prof .prof-tabla thead th:first-child{left:0;z-index:3}.bp-workspace .prof .prof-tabla tr:last-child>*{border-bottom:0}.bp-table-hint{font-size:10px!important;line-height:1.6!important;color:var(--muted);margin:7px 0 0!important}.bp-workspace button:focus-visible,.bp-workspace a:focus-visible,.bp-workspace summary:focus-visible,.bp-workspace [data-bp-scroll]:focus-visible,.bp-dialog button:focus-visible,.bp-dialog input:focus-visible{outline:3px solid #386585;outline-offset:3px}.bp-dialog{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;background:#fffdf8!important;color:#332d28!important}.bp-dialog .dialog-head{background:#fffdf8!important}.bp-dialog .dialog-head h2{font-family:inherit;font-size:23px;line-height:1.4;font-weight:650}
.bp-workspace[data-bp-density=compact] .prof-pagina{gap:14px}.bp-workspace[data-bp-density=compact] .prof .panel,.bp-workspace[data-bp-density=compact] .prof .prof-fila{padding:13px 16px}.bp-workspace[data-bp-density=compact] .prof .prof-tarjeta{gap:10px}.bp-workspace[data-bp-density=compact] .prof .prof-banco-lista>li{padding:12px 0}.bp-workspace[data-bp-density=compact] .prof .prof-tema{padding:0 16px}.bp-workspace[data-bp-density=compact] .prof .prof-tabla th,.bp-workspace[data-bp-density=compact] .prof .prof-tabla td{padding:9px 12px}.bp-workspace[data-bp-density=compact] .prof .prof-filtros{gap:8px}.bp-workspace[data-bp-density=compact] .prof .prof-cifra{padding:11px 14px}
@media(max-width:800px){.bp-toolbar{gap:12px;margin-bottom:22px}.bp-context{min-width:145px}.bp-task-nav{order:3;flex-basis:100%}.bp-task-nav button{padding:10px 11px}.bp-workspace .prof .page-heading h1{font-size:26px}.bp-workspace .prof .prof-tarjeta>div:first-child{flex-basis:100%}.bp-workspace .prof .prof-tarjeta .prof-acciones{width:100%}.bp-workspace .prof .panel,.bp-workspace .prof .prof-fila{padding:17px}.bp-workspace .prof .prof-form .prof-campos{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media(max-width:480px){.bp-toolbar{gap:10px;padding-bottom:14px}.bp-context>strong{font-size:15px}.bp-context>small{font-size:10px}.bp-task-nav{gap:3px;display:grid;grid-template-columns:1fr 1.3fr 1fr}.bp-task-nav button{font-size:11px;padding:8px 7px;min-height:44px}.bp-workspace .prof .page-heading h1{font-size:24px}.bp-workspace .prof .page-heading p{font-size:12px}.bp-workspace .prof .panel,.bp-workspace .prof .prof-fila{padding:15px}.bp-workspace .prof .heading-actions{width:100%}.bp-workspace .prof .btn,.bp-dialog .btn{font-size:11px;padding:10px 12px}.bp-workspace .prof .prof-form .prof-campos{grid-template-columns:minmax(0,1fr)}.bp-workspace .prof .prof-filtros{grid-template-columns:minmax(0,1fr)}.bp-workspace .prof .prof-cifras{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-workspace .prof .prof-accesos{grid-template-columns:minmax(0,1fr)}.bp-workspace .prof .prof-entrada-datos{min-width:0}.bp-workspace .prof .prof-codigo{font-size:26px}.bp-workspace .prof .prof-pestana{padding:10px 9px;font-size:12px}.bp-workspace .prof .prof-cuenta-pestana{font-size:10px;margin-left:4px}.bp-workspace .prof .prof-preguntas-detalle ul li{grid-template-columns:minmax(0,1fr) 48px 35px}.bp-workspace .prof .prof-tabla th,.bp-workspace .prof .prof-tabla td{padding:10px 11px}}
@media(prefers-reduced-motion:reduce){.bp-workspace *,.bp-dialog *{animation:none!important;transition:none!important}}
.bp-workspace[data-bp-role=estudiante] .bp-task-nav{display:flex}@media(max-width:480px){.bp-workspace .prof input:not([type=checkbox]):not([type=radio]),.bp-workspace .prof select,.bp-workspace .prof textarea,.bp-dialog input:not([type=checkbox]):not([type=radio]),.bp-dialog select,.bp-dialog textarea{font-size:16px}}
