:root{--navy:#14213d;--navy2:#1f3156;--ink:#17233d;--muted:#66758e;--line:#dfe5ee;--page:#f4f7fb;--white:#fff;--blue:#285ce6;--soft:#eff4ff;--green:#0d805e;--radius:16px;--shadow:0 8px 28px rgba(24,47,90,.045)}
*{box-sizing:border-box}html{font-size:15px}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5;color:var(--ink);background:var(--page)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.65rem,2.5vw,2.1rem);letter-spacing:-.035em;line-height:1.2}h2{font-size:1.08rem;letter-spacing:-.015em}h3{font-size:1rem}p{color:var(--muted)}.app-shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{background:var(--navy);color:#e8eeff;min-width:0;padding:26px 15px;display:flex;flex-direction:column;gap:18px}.brand{display:flex;align-items:center;gap:10px;color:#fff;padding:3px 10px 21px;border-bottom:1px solid rgba(255,255,255,.13);font-size:1.02rem;font-weight:760;letter-spacing:-.025em}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:#4c77ee;border-radius:10px;color:white;font-weight:800}.sidebar-label{margin:0 11px 8px;font-size:.69rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#94a7ce}.nav-group{margin-bottom:12px}.sidebar-link{display:flex;align-items:center;gap:11px;padding:9px 12px;margin:2px 0;border-radius:9px;color:#d1ddf5;font-weight:550;white-space:nowrap}.sidebar-link:hover,.sidebar-link.active{background:#2a3f70;color:#fff;text-decoration:none}.nav-dot{width:7px;height:7px;border-radius:50%;background:#6f8de3;flex:none}.sidebar-link.active .nav-dot{background:#a6d4ff}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding:18px 10px 0;font-size:.8rem;color:#9aafd1}.workspace{min-width:0}.topbar{min-height:72px;padding:14px clamp(20px,3vw,42px);background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar-title{font-weight:750;color:var(--navy);letter-spacing:-.015em}.topbar-subtitle{color:var(--muted);font-size:.8rem}.topbar-right{display:flex;align-items:center;gap:15px}.user-badge{width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--blue);font-weight:750;display:grid;place-items:center}.user-meta{line-height:1.2}.user-meta strong{font-size:.85rem;display:block}.user-meta span{font-size:.72rem;color:var(--muted)}.main-content{width:min(100%,1240px);margin:0 auto;padding:32px clamp(20px,3vw,42px) 70px}.page-intro{margin-bottom:25px}.page-intro p{margin:8px 0 0}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-weight:800;font-size:.7rem;color:var(--blue);margin:0 0 8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 14px}.section-heading h2{font-size:1.12rem;margin:0}.section-heading p{margin:0}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat-label{font-size:.82rem;color:var(--muted);font-weight:600}.stat-value{font-size:2rem;font-weight:780;letter-spacing:-.055em;line-height:1.1;margin:10px 0 3px;color:var(--navy)}.stat-foot{font-size:.75rem;color:var(--muted)}.stat-icon{float:right;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--soft);color:var(--blue);font-size:1.1rem}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.module-card{display:flex;flex-direction:column;min-height:170px}.module-card p{font-size:.86rem;margin:6px 0 14px}.module-card .module-links{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px}.module-card .module-links a,.pill-link{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:7px;background:var(--soft);color:#204cb2;font-size:.78rem;font-weight:680}.module-card .module-links a:hover,.pill-link:hover{background:#dfeaff;text-decoration:none}.module-top{display:flex;align-items:center;gap:10px}.module-icon{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:10px;background:var(--soft);color:var(--blue);font-weight:750}.module-top h3{margin:0}.muted{color:var(--muted)}.empty-state{padding:27px 20px;text-align:center;color:var(--muted);background:#f8faff;border:1px dashed #dbe4f2;border-radius:11px}.empty-state strong{display:block;color:var(--ink);margin-bottom:4px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.82rem;font-weight:680;color:#40516e}.field-wide{grid-column:1/-1}.field input,.field select,.field textarea,.toolbar input,.toolbar select{width:100%;min-width:0;border:1px solid #cdd7e5;border-radius:9px;background:white;padding:10px 12px;color:var(--ink);font-weight:450}.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus{border-color:#3b6cf1;outline:3px solid #e0e9ff}.field input[type=file]{padding:9px}.field textarea{min-height:80px;resize:vertical}.btn{border:1px solid transparent;background:var(--blue);color:white;padding:10px 15px;border-radius:9px;font-size:.84rem;font-weight:720;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{background:#194acb;color:#fff;text-decoration:none}.btn-secondary{background:#fff;border-color:#cad5e5;color:var(--navy)}.btn-secondary:hover{background:#f5f7fc;color:var(--navy)}.btn-small{padding:7px 10px;font-size:.76rem}.form-actions{margin-top:17px;display:flex;justify-content:flex-end}.operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.operation-grid .card{align-self:start}.operation-grid .card p{font-size:.83rem}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar input{max-width:290px}.notice{padding:12px 15px;border-radius:10px;margin-bottom:20px;border:1px solid}.notice-success{background:#eaf7f1;color:#126248;border-color:#b9e6d0}.notice-error{background:#fff1f0;color:#933737;border-color:#f6c9c5}.notice-error p{color:#933737;margin:0 0 5px}.table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th,td{padding:12px 14px;border-bottom:1px solid #e9eef5;vertical-align:middle}th{background:#f8faff;color:#66758e;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}td{font-size:.84rem}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.table-scroll input,.table-scroll select{border:1px solid #cdd7e5;border-radius:7px;padding:7px 8px;width:155px;max-width:100%}.table-scroll input[type=hidden]{display:none}.table-scroll form{margin:0}.status-pill{display:inline-block;padding:4px 9px;border-radius:999px;background:#eaf4ff;color:#2353ab;font-size:.72rem;font-weight:720}.panel-heading{margin-bottom:15px}.panel-heading p{margin:5px 0 0;font-size:.84rem}.disclosure summary{cursor:pointer;list-style:none;font-weight:750}.disclosure summary::-webkit-details-marker{display:none}.disclosure summary:after{content:'+';float:right;color:var(--blue)}.disclosure[open] summary:after{content:'−'}.disclosure-content{padding-top:19px;margin-top:17px;border-top:1px solid var(--line)}.pagination{margin-top:17px}.list-footer{margin-top:15px;color:var(--muted);font-size:.8rem}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,#304a80 0,transparent 35%),#14213d}.login-card{width:min(100%,440px);background:#fff;border-radius:20px;padding:36px;box-shadow:0 25px 80px rgba(0,0,0,.22)}.login-card h1{margin:18px 0 7px}.login-card .field{margin:17px 0}.login-card .btn{width:100%;margin-top:6px}.login-card .brand-mark{width:43px;height:43px}.login-card p{font-size:.86rem}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.app-shell{display:block}.sidebar{position:static;padding:14px 18px;gap:12px}.brand{padding:0 0 12px}.sidebar-nav{display:flex;overflow:auto;gap:15px}.sidebar-label{display:none}.nav-group{display:flex;gap:4px;white-space:nowrap;margin:0}.sidebar-link{padding:7px 10px}.sidebar-bottom{display:none}.main-content{padding:23px 18px 55px}.topbar{padding:12px 18px}.user-meta{display:none}}@media(max-width:610px){.stats-grid,.module-grid,.operation-grid,.form-grid,.form-grid.cols-3{grid-template-columns:1fr}.topbar-subtitle{display:none}.main-content{padding:20px 14px 50px}.card{padding:18px}.stat-value{font-size:1.8rem}.section-heading{align-items:flex-start;flex-direction:column}.login-card{padding:26px}}
.json-cell{max-width:280px;overflow:hidden;text-overflow:ellipsis}.table-scroll .toolbar{flex-wrap:nowrap}.table-scroll .toolbar input{width:145px;max-width:none}.table-scroll .toolbar select{width:130px}.pagination nav{max-width:100%;overflow:auto}.pagination svg{width:20px;height:20px}.pagination a,.pagination span{font-size:.82rem}.pagination p{margin:6px 0}.sidebar-nav{min-width:0}
/* Familiar AdminLTE-style admin chrome, without external CSS or icon dependencies. */
:root{--navy:#343a40;--navy2:#454d55;--blue:#007bff;--ink:#212529;--muted:#6c757d;--line:#dee2e6;--page:#f4f6f9;--soft:#e8f2ff;--radius:5px;--shadow:0 1px 3px rgba(0,0,0,.12)}
.sidebar{background:#343a40;padding:15px 9px}.brand{border-bottom:1px solid #4b545c;font-size:1.08rem;padding:8px 9px 19px;margin:0 4px}.brand-mark{background:#007bff;border-radius:50%;height:34px;width:34px}.sidebar-label{color:#a5acb1;font-weight:600;font-size:.76rem;letter-spacing:.03em;margin:14px 14px 7px}.nav-group{margin-bottom:7px}.sidebar-link{border-radius:4px;color:#c2c7d0;font-weight:450;padding:9px 12px}.sidebar-link:hover{background:#4b545c}.sidebar-link.active{background:#007bff;box-shadow:0 1px 3px rgba(0,0,0,.25)}.nav-dot{height:9px;width:9px;background:transparent;border:2px solid #aab2bc}.sidebar-link.active .nav-dot{background:#fff;border-color:#fff}.sidebar-bottom{color:#bbc2ca}.topbar{min-height:58px;box-shadow:0 1px 1px rgba(0,0,0,.06)}.topbar-title{font-weight:600}.main-content{padding-top:26px}.page-intro h1{font-weight:500}.page-intro{margin-bottom:19px}.eyebrow{color:#6c757d}.card{border-radius:4px}.section-heading{margin:25px 0 11px}.section-heading h2{font-weight:600}.stats-grid>.card{position:relative;color:white;background:#17a2b8;border-color:#17a2b8;padding:19px 20px;overflow:hidden;min-height:116px}.stats-grid>.card:nth-child(2){background:#28a745;border-color:#28a745}.stats-grid>.card:nth-child(3){background:#ffc107;border-color:#ffc107;color:#1f252b}.stats-grid>.card:nth-child(4){background:#dc3545;border-color:#dc3545}.stat-label,.stat-value,.stat-foot{color:inherit}.stat-label{font-weight:650}.stat-value{font-size:2.25rem;margin:7px 0 0}.stat-foot{font-size:.8rem;opacity:.86}.stat-icon{position:absolute;right:17px;top:14px;background:none;color:inherit;opacity:.28;font-size:3.2rem;font-weight:850;width:auto;height:auto}.module-card{border-top:3px solid #007bff;min-height:173px}.module-card:nth-child(2n){border-top-color:#17a2b8}.module-card:nth-child(3n){border-top-color:#28a745}.module-icon{background:#e8f2ff;color:#007bff}.module-card .module-links a,.pill-link{border-radius:4px}.btn{border-radius:4px;background:#007bff}.btn:hover{background:#0069d9}.btn-secondary{background:#fff}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.table-scroll input,.table-scroll select{border-radius:4px}.table-scroll{border-radius:4px}.notice{border-radius:4px}.disclosure{border-top:3px solid #17a2b8}.status-pill{border-radius:4px}.login-card{border-radius:6px}.login-shell{background:#e9ecef}.login-card h1{font-weight:550}
.record-image{display:flex;align-items:center;gap:9px;min-width:235px}.record-image img{height:45px;width:45px;object-fit:cover;border-radius:4px;border:1px solid #dee2e6}.table-scroll .record-image-input{width:185px;min-width:185px;max-width:none;padding:4px}.field small{font-size:.75rem;font-weight:400}
.content-guide{margin-bottom:16px;display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;border-left:4px solid #17a2b8;padding:14px 17px}.content-guide strong{font-size:.84rem;margin-right:5px}.content-guide a{font-size:.82rem;font-weight:650}.content-guide small{width:100%;color:#6c757d;font-size:.78rem}.content-guide span{color:#a1acba}
/* Guided content editing */
.learning-steps{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 23px}.learning-steps a{padding:9px 12px;border:1px solid #d8e1ed;border-radius:6px;background:white;color:#455671;font-size:.85rem;font-weight:650}.learning-steps a[aria-current=step]{border-color:#007bff;background:#e8f2ff;color:#0056ae}.learning-form{display:grid;gap:17px}.learning-form .card h2{margin:0 0 9px}.learning-form .card>p{font-size:.86rem;margin-bottom:16px}.learning-form .field-wide{grid-column:span 2}.learning-form textarea{min-height:85px;resize:vertical}.learning-help,.learning-meta{font-size:.8rem;color:#697789}.learning-help{margin:14px 0 0}.learning-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}.learning-toolbar .toolbar{margin:0}.learning-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid #e9eef5}.learning-row:last-of-type{border-bottom:0}.learning-row>div:first-child{min-width:0}.learning-row strong{display:block;overflow-wrap:anywhere;font-weight:680}.learning-meta{margin-top:5px;line-height:1.6}.learning-row-actions{display:flex;align-items:center;gap:10px;flex:none}.learning-actions{display:flex;justify-content:flex-end;gap:10px;padding:4px 0 12px}.answer-card{border:1px solid #dbe3ed;border-radius:7px;padding:15px;margin:13px 0;background:#fafcff}.answer-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.correct-choice{font-size:.85rem;font-weight:650;color:#216b31;display:flex;align-items:center;gap:7px;cursor:pointer}.correct-choice input{width:auto!important}.remove-answer{border:0;background:none;color:#a43d3d;padding:7px 0 0;font-size:.82rem}.learning-count{display:inline-block;vertical-align:middle;background:#e8f2ff;color:#0754a6;font-size:.75rem;padding:4px 9px;border-radius:999px;margin-left:8px}.question-choices{max-height:470px;overflow:auto;border:1px solid #e0e7f0;border-radius:7px}.question-choice{display:flex;align-items:start;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f6;cursor:pointer}.question-choice:last-child{border-bottom:0}.question-choice:has(input:checked){background:#eff6ff}.question-choice input{margin-top:5px;flex:none}.question-choice strong{display:block;font-size:.86rem}.question-choice small{display:block;color:#6d7a8e;font-size:.75rem;margin-top:4px}.field[hidden],.answer-card [hidden],.question-choice[hidden]{display:none!important}.resource-editor summary{font-size:.98rem;color:#0754a6}.resource-editor .form-actions{margin-top:20px}.resource-editor .field a{font-size:.78rem;margin-top:3px}@media(max-width:700px){.learning-form .field-wide{grid-column:auto}.learning-row{align-items:start;flex-direction:column}.learning-row-actions{width:100%;justify-content:space-between}.learning-actions{flex-wrap:wrap}.learning-toolbar .toolbar{width:100%}}
