*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:system-ui,-apple-system,Arial,sans-serif;background:#f8f1e7;color:#1f2933;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}input,select,textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #d7c6b3;background:#fffaf3;color:#1f2933;transition:all .2s ease}input:focus,select:focus,textarea:focus{outline:3px solid rgba(180,127,70,.28);border-color:#b47f46;background:#fff}textarea{min-height:140px}.btn-primary,.button,a.button,button{border:0;border-radius:12px;padding:12px 18px;background:#b47f46;color:#fffaf3;font-weight:700;cursor:pointer;transition:all .18s ease;display:inline-flex;align-items:center;justify-content:center}.button.secondary,a.button.secondary{background:#ead7c0;color:#3b2a1d}.button.danger,button.danger{background:#dc2626;color:#fff}.btn-primary:hover,.button:hover,a.button:hover,button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(130,88,43,.22)}.btn-primary:active,.button:active,a.button:active,button:active{transform:translateY(1px) scale(.97);box-shadow:none}.button:focus-visible,a.button:focus-visible,button:focus-visible{outline:3px solid rgba(180,127,70,.45);outline-offset:3px}.button-disabled,button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}label{display:block;font-size:14px;color:#5b4633;margin-bottom:6px;font-weight:700}.page{max-width:1200px;margin:0 auto;padding:40px 24px 80px}.section{margin-bottom:52px}.light-page{min-height:calc(100vh - 64px);background:radial-gradient(circle at top left,hsla(34,49%,71%,.4),transparent 40%),linear-gradient(180deg,#fffaf3,#f8f1e7)}.light-container{max-width:1000px;margin:0 auto;padding:40px 20px 80px}.light-panel{border:1px solid #e2d2bf;background:rgba(255,250,243,.95);border-radius:22px;padding:28px;box-shadow:0 18px 40px rgba(77,52,28,.12)}.card{background:linear-gradient(180deg,#fffaf3,#f3e5d3);border:1px solid #e2d2bf;border-radius:18px;padding:28px;color:#1f2933;box-shadow:0 6px 18px rgba(77,52,28,.08);transition:all .2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(77,52,28,.14)}.form-grid,.stack{display:grid;grid-gap:18px;gap:18px}.actions,.toolbar{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.toolbar{justify-content:space-between;margin-bottom:18px}.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:22px;gap:22px}.grid-3,.three-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:24px;gap:24px}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:22px;gap:22px}.title-xl{font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;font-weight:900;margin:0 0 16px}.title-lg{font-size:1.65rem;font-weight:800;margin:0 0 14px}.muted,.text-muted{color:#6f5b46;line-height:1.7}.small{font-size:13px}.badge{border-radius:999px;padding:5px 11px;background:rgba(180,127,70,.15);color:#7a4b22;font-size:12px}.badge,.link{display:inline-block;font-weight:700}.link{color:#9a6735;margin-bottom:12px}.table{width:100%;border-collapse:collapse}.table td,.table th{border-bottom:1px solid #e2d2bf;padding:12px;text-align:left}.preview-box{border:1px dashed #c6aa8b;border-radius:16px;padding:16px;background:#fff7ed}.site-shell{min-height:100vh;background:#f8f1e7}.site-navbar{position:-webkit-sticky;position:sticky;top:0;z-index:50;background:#d9b98f;padding:12px 20px;border-bottom:1px solid #bf9869;box-shadow:0 4px 14px rgba(77,52,28,.12)}.site-navbar-inner{justify-content:space-between;gap:14px}.site-brand,.site-navbar-inner{display:flex;align-items:center}.site-brand{gap:10px;font-weight:900;color:#2d1f13}.site-brand img{height:36px}.site-nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.site-nav-link{padding:8px 12px;border-radius:999px;font-weight:800;color:#2d1f13;transition:all .18s ease}.site-nav-link:hover{background:rgba(255,250,243,.7);transform:translateY(-1px)}.site-logout-button{background:#7f1d1d;color:#fff;padding:8px 12px;border-radius:999px}.light-input{background:#fff;color:#1f2933;border:1px solid #d7c6b3}.toggle-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:22px}.toggle-button{border-radius:999px;padding:12px 18px;background:#ead7c0;color:#3b2a1d;border:1px solid #d7c6b3}.toggle-button.active{background:#8b5e34;color:#fff}.message-box{margin-top:20px;padding:14px 16px;border-radius:12px;background:#fff7ed;border:1px solid #e2d2bf;color:#6b3f1d;font-weight:700}@media (max-width:768px){.site-navbar-inner{flex-direction:column;align-items:flex-start}.site-nav-links{width:100%}.light-container,.page{padding:26px 16px 60px}.card,.light-panel{padding:20px}.title-xl{font-size:2rem}.toolbar{align-items:flex-start}}.table-wrap{width:100%;overflow-x:auto}.compact-table td,.compact-table th{padding:10px 8px;font-size:13px;vertical-align:top}.activity-list{display:grid;grid-gap:12px;gap:12px;margin-top:12px}.activity-item{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:13px 14px;border:1px solid #ead8c4;border-radius:14px;background:#fffaf3}.course-progress-card{display:grid;grid-gap:10px;gap:10px;margin:16px 0 14px;padding:14px;border:1px solid #ead8c4;border-radius:16px;background:#fffaf3}.grade-box,.progress-meta,.progress-topline{display:flex;justify-content:space-between;gap:12px;align-items:center}.progress-bar{height:12px;border-radius:999px;overflow:hidden;background:#ead8c4}.progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#9a6735,#c89455)}.progress-meta{color:#6f5b46;font-size:13px}.grade-box{padding-top:6px;border-top:1px solid #ead8c4}@media (max-width:700px){.activity-item,.grade-box,.progress-meta,.progress-topline{flex-direction:column;align-items:flex-start}}.small-button{padding:6px 9px;font-size:12px;line-height:1.1}.danger-button{border-color:#b94a48!important;color:#8a1f1d!important;background:#fff5f5!important}.danger-button:hover{background:#ffe9e9!important}.lesson-video-watermark-shell{position:relative;display:inline-block;width:100%;max-width:100%;overflow:hidden;border-radius:14px}.lesson-video-watermark-shell video{display:block;width:100%;max-width:100%}.lesson-video-watermark{position:absolute;z-index:5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.22);color:hsla(0,0%,100%,.72);font-size:clamp(12px,1.5vw,18px);font-weight:800;line-height:1.2;letter-spacing:.02em;text-shadow:0 2px 8px rgba(0,0,0,.9);white-space:nowrap;mix-blend-mode:normal}.lesson-video-watermark-one{top:12%;left:6%;animation:lessonWatermarkFloatOne 20s ease-in-out infinite alternate}.lesson-video-watermark-two{right:8%;bottom:18%;opacity:.55;animation:lessonWatermarkFloatTwo 24s ease-in-out infinite alternate}@keyframes lessonWatermarkFloatOne{0%{transform:translate(0) rotate(-3deg)}25%{transform:translate(18vw,7vh) rotate(2deg)}50%{transform:translate(34vw,24vh) rotate(-2deg)}75%{transform:translate(10vw,35vh) rotate(3deg)}to{transform:translate(42vw,4vh) rotate(-1deg)}}@keyframes lessonWatermarkFloatTwo{0%{transform:translate(0) rotate(2deg)}25%{transform:translate(-20vw,-9vh) rotate(-2deg)}50%{transform:translate(-36vw,-23vh) rotate(3deg)}75%{transform:translate(-8vw,-34vh) rotate(-3deg)}to{transform:translate(-44vw,-6vh) rotate(1deg)}}@media (max-width:700px){.lesson-video-watermark{font-size:11px;padding:5px 8px}}.lesson-video-watermark-shell:-webkit-full-screen{width:100vw;height:100vh;max-width:none;border-radius:0;background:#000;display:flex;align-items:center;justify-content:center}.lesson-video-watermark-shell:fullscreen{width:100vw;height:100vh;max-width:none;border-radius:0;background:#000;display:flex;align-items:center;justify-content:center}.lesson-video-watermark-shell:-webkit-full-screen video{width:100vw;height:100vh;max-width:none;max-height:none;object-fit:contain}.lesson-video-watermark-shell:fullscreen video{width:100vw;height:100vh;max-width:none;max-height:none;object-fit:contain}.lesson-video-custom-fullscreen{position:absolute;top:12px;right:12px;z-index:8;border:1px solid hsla(0,0%,100%,.55);background:rgba(0,0,0,.48);color:hsla(0,0%,100%,.92);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.lesson-video-custom-fullscreen:hover{background:rgba(0,0,0,.68)}.lesson-video-watermark-shell:-webkit-full-screen .lesson-video-watermark{z-index:7;font-size:clamp(15px,2.1vw,28px)}.lesson-video-watermark-shell:fullscreen .lesson-video-watermark{z-index:7;font-size:clamp(15px,2.1vw,28px)}.lesson-video-watermark-shell:-webkit-full-screen .lesson-video-custom-fullscreen{top:18px;right:18px}.lesson-video-watermark-shell:fullscreen .lesson-video-custom-fullscreen{top:18px;right:18px}.protected-quiz-card,.protected-quiz-card div,.protected-quiz-card h1,.protected-quiz-card h2,.protected-quiz-card h3,.protected-quiz-card p,.protected-quiz-card span,.protected-quiz-card strong,.protected-quiz-page{-webkit-user-select:none;-moz-user-select:none;user-select:none}.protected-quiz-card img{-webkit-user-drag:none;user-drag:none}.protected-quiz-page button,.protected-quiz-page input,.protected-quiz-page option,.protected-quiz-page select{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.admin-dashboard-wide{max-width:1800px;width:100%;margin:0 auto;padding-left:32px;padding-right:32px;box-sizing:border-box}.admin-dashboard-wide .grid-2{display:grid;grid-template-columns:repeat(2,minmax(620px,1fr));grid-gap:28px;gap:28px;width:100%}.admin-dashboard-wide .admin-wide-card{grid-column:1/-1}.admin-dashboard-wide .table-wrap{width:100%;overflow-x:auto}.admin-dashboard-wide table{width:100%;min-width:900px;table-layout:auto}.admin-dashboard-wide td,.admin-dashboard-wide th{white-space:nowrap;padding:10px 12px;vertical-align:top}.admin-dashboard-wide .device-cell{white-space:normal;min-width:300px}@media (max-width:1300px){.admin-dashboard-wide .grid-2{grid-template-columns:1fr}.admin-dashboard-wide{padding-left:16px;padding-right:16px}}.admin-dashboard-wide .admin-single-column{display:grid;grid-template-columns:1fr;grid-gap:28px;gap:28px;width:100%}.admin-dashboard-wide .admin-single-column .card{width:100%}.btn-secondary{background:#ead7c0;color:#3b2a1d}.btn-danger,.btn-secondary{border:0;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer;transition:all .18s ease;display:inline-flex;align-items:center;justify-content:center}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover,.btn-secondary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(130,88,43,.22)}.success-text{color:#166534;font-weight:700}.error-text{color:#b91c1c;font-weight:700}.notice-board-nav-link{position:relative;display:inline-flex;align-items:center;gap:6px}.notice-board-dot{width:9px;height:9px;border-radius:999px;background:#d11f1f;display:inline-block;box-shadow:0 0 0 3px rgba(209,31,31,.14)}.notice-board-shell{width:min(1880px,calc(100vw - 34px));margin:-8px auto 0}.notice-board-workspace{display:grid;grid-template-columns:116px minmax(1000px,1600px) 158px;grid-gap:10px;gap:10px;align-items:stretch}.notice-side-toolbar{position:-webkit-sticky;position:sticky;top:88px;align-self:start;display:grid;grid-gap:8px;gap:8px;padding:10px;min-height:420px}.notice-tool-title{font-size:13px;font-weight:900;color:#3a2a1a;margin-bottom:2px}.notice-file-button,.notice-side-toolbar button,.notice-side-toolbar label,.notice-side-toolbar select{min-height:35px;border:1px solid #e1c7a7;background:#fffaf2;color:#56391e;border-radius:10px;padding:7px 8px;font-size:12px;font-weight:800;cursor:pointer;display:grid;grid-gap:5px;gap:5px;align-items:center}.notice-side-toolbar button.active{background:#8b5e34;color:#fff;border-color:#8b5e34}.notice-side-toolbar input[type=color]{width:100%;height:26px;padding:0;border:0;background:transparent}.notice-side-toolbar input[type=range]{width:100%}.notice-file-button input{display:none}.notice-whiteboard{position:relative;width:min(1600px,100%);height:min(768px,calc(100vh - 238px));min-height:620px;overflow:hidden;background:linear-gradient(180deg,#fffdfa,#fff7eb);border:1px solid rgba(139,94,52,.2);box-shadow:0 18px 55px rgba(81,50,18,.12);padding:0}.notice-text-layer{position:absolute;inset:0;z-index:1;padding:30px;overflow:auto;outline:none;color:#3a2a1a;line-height:1.55;font-size:18px}.notice-text-layer:empty:before{content:"Click Text, then type notes here. Switch to Pen or Eraser to draw.";color:#a88d6b}.notice-text-layer img{max-width:520px;height:auto;border-radius:14px;border:1px solid #ead9bf;box-shadow:0 8px 22px rgba(81,50,18,.1);resize:both;overflow:auto}.notice-text-layer a{color:#8b5e34;font-weight:900;text-decoration:underline;cursor:pointer}.notice-drawing-layer{position:absolute;inset:0;z-index:2;width:100%;height:100%;touch-action:none}.notice-activity{margin-top:10px;padding:12px}.notice-activity-title{font-weight:900;font-size:15px;color:#3a2a1a;margin-bottom:8px}.notice-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px 12px;gap:6px 12px}.notice-activity-item{border:1px solid rgba(139,94,52,.14);background:#fffaf2;border-radius:9px;padding:7px 9px;color:#4b3822;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width:1200px){.notice-board-shell{width:min(1000px,calc(100vw - 24px))}.notice-board-workspace{grid-template-columns:1fr}.notice-side-toolbar{position:static;min-height:auto;display:flex;flex-wrap:wrap}.notice-file-button,.notice-side-toolbar button,.notice-side-toolbar label,.notice-side-toolbar select{min-width:90px}.notice-whiteboard{min-height:560px;height:65vh}}@media (max-width:900px){.notice-activity-grid{grid-template-columns:1fr}.notice-activity-item{white-space:normal}}.profile-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:22px;gap:22px}.profile-card{padding:28px}.profile-card-wide{grid-column:1/-1}.profile-card h2{margin:0 0 12px;font-size:1.45rem}.profile-card-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.profile-info-grid.single-column{grid-template-columns:1fr}.profile-info-item{border:1px solid rgba(194,139,75,.26);border-radius:14px;padding:12px 14px;background:hsla(0,0%,100%,.52)}.profile-info-label{font-size:.78rem;color:#8a6136;font-weight:800;text-transform:uppercase;letter-spacing:.035em;margin-bottom:5px}.profile-info-value{font-weight:800;color:#172536;word-break:break-word}.profile-notice-box{margin-top:18px;border:1px solid rgba(142,30,35,.22);background:rgba(255,247,236,.9);border-radius:16px;padding:16px;color:#5c3c1b;font-weight:700}.profile-list{display:grid;grid-gap:12px;gap:12px}.profile-list-row{border:1px solid rgba(194,139,75,.26);border-radius:14px;padding:13px 14px;background:hsla(0,0%,100%,.52);display:grid;grid-gap:5px;gap:5px}.profile-list-row span{color:#8a6136;font-weight:800}.profile-list-row small{color:#6a4a29}@media (max-width:800px){.profile-info-grid,.profile-page-grid{grid-template-columns:1fr}.profile-card-header{flex-direction:column}}