:root{--navy:#0b2f68;--navy2:#071e48;--blue:#246fd2;--purple:#6b4fe5;--gold:#f0b429;--ink:#10284d;--muted:#66758e;--line:#dce5f1;--bg:#f4f7fc;--card:#fff;--success:#16865c;--danger:#c53f50}*{box-sizing:border-box}html{font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}body{margin:0}a{text-decoration:none;color:inherit}.top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:50}.brand{display:flex;align-items:center;gap:11px;margin-right:auto}.brand img{width:48px;height:48px;object-fit:contain}.brand strong{display:block;letter-spacing:1px}.brand small{display:block;color:#9a6a00;font-size:9px;font-weight:900;letter-spacing:1.3px;margin-top:2px}.nav{display:flex;align-items:center;gap:16px;font-size:12px;font-weight:800}.nav a{color:#3c5277}.nav a:hover{color:var(--blue)}.who{display:flex;align-items:center;gap:10px;margin-left:20px;padding-left:20px;border-left:1px solid var(--line)}.avatar{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--navy),var(--purple));color:#fff;display:grid;place-items:center;font-weight:900}.main{width:min(1180px,calc(100% - 34px));margin:28px auto 48px}.hero{background:linear-gradient(135deg,#08265f,#1b63cb 65%,#6547d1);border-radius:28px;padding:34px;color:#fff;box-shadow:0 22px 55px rgba(22,55,101,.15);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border:48px solid rgba(255,255,255,.06);border-radius:50%}.hero .eyebrow,.eyebrow{font-size:9px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase}.hero h1{font-size:36px;margin:9px 0 8px;position:relative;z-index:2}.hero p{margin:0;color:#dce9ff;max-width:760px;line-height:1.65;position:relative;z-index:2}.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;position:relative;z-index:2}.badge{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);font-size:10px;font-weight:800}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:18px 0}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 36px rgba(22,55,101,.07)}.stat{padding:18px}.stat small{font-size:9px;font-weight:900;letter-spacing:1px;color:#678}.stat strong{display:block;font-size:28px;margin-top:5px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{padding:22px}.card h2{font-size:22px;margin:5px 0 8px}.card h3{font-size:17px;margin:5px 0}.muted{color:var(--muted);font-size:12px;line-height:1.65}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 14px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;font-size:11px;font-weight:900;cursor:pointer}.btn.light{background:#edf4ff;color:#155ab6}.btn.danger{background:#fff0f2;color:var(--danger)}.btn.full{width:100%}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:20px 0}.search{display:flex;gap:10px;flex:1}.input,select,textarea,input[type=text],input[type=email],input[type=password],input[type=tel]{width:100%;border:1px solid #d5dfed;border-radius:11px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;font-size:12px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 36px rgba(22,55,101,.07)}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:13px 14px;border-bottom:1px solid #edf1f6;font-size:11px;vertical-align:top}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#6b7b95;background:#f9fbfe}tr:last-child td{border-bottom:0}.status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900}.status.active,.status.published,.status.approved,.status.assigned{background:#eaf8f2;color:#14835b}.status.pending,.status.draft{background:#fff7dc;color:#936c00}.status.inactive,.status.blocked,.status.rejected,.status.cancelled{background:#fff0f2;color:#bd4150}.notice{padding:12px 14px;border-radius:12px;background:#eaf8f2;border:1px solid #c9eadc;color:#176e50;margin:14px 0;font-size:12px}.notice.error{background:#fff0f2;border-color:#f0cbd1;color:#a63343}.profile{display:grid;grid-template-columns:180px 1fr;gap:22px}.photo{width:160px;height:160px;border-radius:22px;object-fit:cover;background:#edf4ff;border:1px solid var(--line)}.photo-fallback{width:160px;height:160px;border-radius:22px;background:linear-gradient(135deg,var(--navy),var(--purple));color:#fff;display:grid;place-items:center;font-size:44px;font-weight:900}.kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kv div{padding:12px;border-radius:13px;background:#f7f9fc;border:1px solid #e7edf5}.kv span{display:block;color:#6c7b91;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.kv strong{display:block;margin-top:4px;font-size:12px;word-break:break-word}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-row{margin-bottom:12px}.form-row label{display:block;font-size:10px;font-weight:900;margin-bottom:5px;color:#53657f}.empty{text-align:center;padding:36px;color:#75849b}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-side{background:linear-gradient(145deg,#072356,#155ab6 65%,#6547d1);color:#fff;padding:60px;display:flex;flex-direction:column;justify-content:center}.login-side h1{font-size:48px;line-height:1.02;margin:12px 0}.login-side p{color:#dce8ff;line-height:1.7}.login-panel{display:grid;place-items:center;padding:28px}.login-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 22px 60px rgba(20,50,90,.12)}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.login-brand img{width:52px}.login-card h2{font-size:28px;margin:6px 0}.footer-note{text-align:center;color:#8491a6;font-size:10px;margin-top:16px}@media(max-width:980px){.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.profile{grid-template-columns:1fr}.login-page{grid-template-columns:1fr}.login-side{display:none}.nav a.hide-small{display:none}}@media(max-width:640px){.top{padding:0 14px;height:68px}.brand img{width:42px;height:42px}.nav{gap:9px}.who{margin-left:8px;padding-left:8px}.who .name{display:none}.main{width:min(100% - 22px,1180px);margin-top:16px}.hero{padding:24px 20px;border-radius:22px}.hero h1{font-size:28px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:14px}.stat strong{font-size:22px}.card{padding:17px}.toolbar{align-items:stretch;flex-direction:column}.search{flex-direction:column}.form-grid,.kv{grid-template-columns:1fr}.photo,.photo-fallback{width:120px;height:120px}.login-panel{padding:14px}.login-card{padding:22px}}

/* Faculty Note Writer v3.6.0 */
.note-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:18px;margin-top:18px;align-items:start}.note-editor-card{padding:24px}.note-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.note-editor-head h2{margin:5px 0 5px}.note-content-editor{min-height:430px;resize:vertical;line-height:1.65;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px}.editor-tools{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px;margin-top:6px}.note-save-bar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:5px}.inline-note-action{display:inline-flex}.note-guide{position:sticky;top:94px}.guide-step{padding:13px 0;border-bottom:1px solid #edf1f6;display:grid;gap:4px}.guide-step b{font-size:12px}.guide-step span{font-size:11px;color:var(--muted);line-height:1.45}.note-smart-reader{margin-top:16px;padding:14px;border-radius:14px;background:#eef5ff;border:1px solid #d7e6fb}.note-smart-reader strong{font-size:12px;color:#155ab6}.note-smart-reader p{font-size:11px;color:var(--muted);line-height:1.5;margin:6px 0 0}.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:28px 0 12px}.section-title-row h2{margin:5px 0 0;font-size:24px}@media(max-width:900px){.note-workspace{grid-template-columns:1fr}.note-guide{position:static}}@media(max-width:640px){.note-editor-head,.section-title-row{flex-direction:column;align-items:stretch}.editor-tools{flex-direction:column}.note-content-editor{min-height:340px}.note-save-bar .btn{flex:1 1 140px}.inline-note-action{flex:1 1 140px}.inline-note-action .btn{width:100%}}


/* Faculty Official Notes v3.7.0 */
.path-card{margin-top:18px;padding:24px}.path-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.path-head h2{margin:5px 0 5px}.path-badge{max-width:46%;padding:10px 13px;border-radius:13px;background:#eef5ff;border:1px solid #d7e6fb;color:#174f9e;font-size:10px;font-weight:900;line-height:1.45}.path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.path-grid .form-row{margin:0}.path-grid select{min-height:46px;font-weight:750}.public-course-help{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:13px 14px;border-radius:14px;background:linear-gradient(135deg,#f3f8ff,#f8f5ff);border:1px solid #dce7f8}.public-course-help>span{font-size:22px}.public-course-help strong{font-size:12px}.public-course-help p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.modern-writer{display:none}.modern-writer.is-visible{display:grid}.day-picker{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr);gap:20px;align-items:end;margin:0 0 16px;padding:16px;border-radius:16px;background:linear-gradient(135deg,#eef6ff,#f7f3ff);border:1px solid #d8e5f8}.day-picker h3{margin:5px 0 5px;font-size:18px}.day-picker p{margin:0;color:var(--muted);font-size:11px}.day-picker .form-row{margin:0}.day-picker small{display:block;margin-top:6px;color:#536b8e;font-size:10px;line-height:1.4}.rich-editor-shell{border:1px solid #cfdbea;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(22,55,101,.05)}.rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px;background:linear-gradient(180deg,#fbfdff,#eef4fb);border-bottom:1px solid #d9e3ef}.rich-toolbar button{min-height:32px;padding:6px 9px;border:1px solid #d4deeb;border-radius:8px;background:#fff;color:#29415f;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.rich-toolbar button:hover{border-color:#95b6e3;background:#f7fbff}.tool-sep{width:1px;height:24px;background:#d4deeb;margin:0 2px}.rich-editor{min-height:440px;padding:22px;font-size:14px;line-height:1.75;outline:none;color:#172033;overflow:auto}.rich-editor:empty:before{content:attr(data-placeholder);color:#8a98aa;pointer-events:none;white-space:pre-wrap}.rich-editor h2{font-size:24px;margin:20px 0 9px}.rich-editor h3{font-size:19px;margin:17px 0 8px}.rich-editor p{margin:0 0 12px}.rich-editor ul,.rich-editor ol{padding-left:25px}.rich-editor blockquote{margin:14px 0;padding:12px 15px;border-left:4px solid #246fd2;background:#f5f9ff;border-radius:0 10px 10px 0;color:#405574}.publish-info{margin:12px 0 4px;padding:13px 14px;border-radius:14px;background:#f7f9fc;border:1px solid #e1e8f2}.publish-info div{display:grid;gap:3px}.publish-info strong{font-size:11px;color:#244d86}.publish-info span{font-size:10px;color:var(--muted);line-height:1.45}.archive-form{margin-top:10px}.official-notes-table{min-width:1050px}.status.archived{background:#edf0f4;color:#657386}.status.rejected{background:#fff0f2;color:#bd4150}
@media(max-width:980px){.path-grid{grid-template-columns:1fr 1fr}.path-badge{max-width:none}.path-head{display:block}.path-badge{display:block;margin-top:12px}.day-picker{grid-template-columns:1fr}}
@media(max-width:640px){.path-card{padding:17px}.path-grid{grid-template-columns:1fr}.rich-editor{min-height:360px;padding:16px}.rich-toolbar{gap:4px}.rich-toolbar button{padding:6px 8px}.tool-sep{display:none}.public-course-help{padding:11px}.day-picker{padding:13px}}

/* Sterling Word-style Lesson Writer v4.7 */
.word-editor-topbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 13px;background:#123f87;color:#fff}.word-editor-topbar strong{display:block;font-size:11px;letter-spacing:.08em}.word-editor-topbar span{display:block;margin-top:2px;font-size:9px;opacity:.82}.word-actions{display:flex;gap:6px;flex-wrap:wrap}.word-action{border:1px solid rgba(255,255,255,.3)!important;background:rgba(255,255,255,.12)!important;color:#fff!important;border-radius:8px!important;padding:7px 9px!important;font-size:9px!important}.word-ribbon{padding:10px 12px;box-shadow:inset 0 -1px #d9e3ef}.word-ribbon select{height:34px;border:1px solid #d4deeb;border-radius:8px;background:#fff;padding:0 8px;font-size:10px}.rich-editor{max-width:860px;margin:22px auto;min-height:720px;border:1px solid #e2e7ee;box-shadow:0 4px 18px rgba(28,45,72,.10);background:#fff;padding:54px 62px}.rich-editor-shell{background:#e9edf3}.rich-editor table,.preview-paper table{width:100%;border-collapse:collapse;margin:14px 0}.rich-editor td,.rich-editor th,.preview-paper td,.preview-paper th{border:1px solid #cbd5e1;padding:8px}.editor-tools{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between}.lesson-preview{margin-top:16px;border:1px solid #d8e3f0;border-radius:16px;background:#eef2f7;padding:14px}.preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.preview-head button{border:1px solid #ccd8e8;background:#fff;border-radius:8px;padding:7px 12px}.preview-paper{max-width:860px;min-height:500px;margin:auto;background:#fff;padding:50px 60px;box-shadow:0 4px 18px rgba(28,45,72,.10);line-height:1.75}.editor-fullscreen{position:fixed!important;inset:0!important;z-index:99999!important;border-radius:0!important;overflow:auto!important}.editor-fullscreen .rich-editor{min-height:calc(100vh - 145px);margin:18px auto}.editor-fullscreen-open{overflow:hidden}.editor-fullscreen .word-editor-topbar{position:sticky;top:0;z-index:3}.editor-fullscreen .word-ribbon{position:sticky;top:52px;z-index:2}@media(max-width:760px){.word-editor-topbar{align-items:flex-start;flex-direction:column}.rich-editor{margin:10px;min-height:520px;padding:24px 18px}.preview-paper{padding:26px 20px}.word-ribbon select{width:auto;max-width:140px}}
