.teacher-preview #teacher-preview-tools{position:sticky;top:0;z-index:50;background:#fff3e2;border-bottom:1px solid #e8c7a4;padding:10px 14px;color:#5c351b;font-size:12px;box-shadow:0 3px 12px #633c1410}
.tp-pages{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:8px 0}.tp-pages button{border:1px solid #dfba91;background:#fffaf5;color:#6c3c18;border-radius:8px;min-height:36px;padding:7px 12px;font:inherit;cursor:pointer}.tp-pages button:disabled{opacity:.45;cursor:default}.tp-pages button:focus-visible{outline:2px solid #b85f20;outline-offset:2px}#tp-position{min-width:64px;text-align:center;font-variant-numeric:tabular-nums;color:#85694f}
.tp-heading{display:flex;gap:6px 14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.tp-heading span{font-size:11px;color:#85694f}.tp-title{margin:5px 0 8px;line-height:1.5;overflow-wrap:anywhere}.tp-actions{display:flex;gap:6px;flex-wrap:wrap}.tp-actions button,#tp-menu button{border:1px solid #dfba91;background:#fffaf5;color:#6c3c18;border-radius:8px;min-height:34px;padding:6px 10px;font:inherit;cursor:pointer}.tp-actions button:first-child{background:#ffdfb4}.tp-error{margin:0;color:#a43626;line-height:1.5}.tp-error:not(:empty){margin-top:6px}.teacher-preview .student-footer [data-action=change-student],.teacher-preview .welcome-card [data-action=change-student]{display:none}.teacher-preview .student-header{padding-top:12px}.teacher-preview .student-main{padding-top:16px}.teacher-preview .student-name{font-size:11px}
#tp-menu{width:min(460px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:1px solid #e4c6a6;border-radius:16px;padding:20px;color:#50351f;background:#fffaf5}#tp-menu::backdrop{background:#2d211c66}.tp-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#tp-menu h2{font-size:20px;margin:0}#tp-menu p{font-size:13px;line-height:1.7}#tp-menu label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:16px 0}#tp-menu select{width:100%;min-width:0;max-width:100%;padding:10px;border:1px solid #dcc7b4;border-radius:8px;background:white;font:inherit}#tp-menu .tp-actions{justify-content:flex-end}
