*{box-sizing:border-box}html{font-family:Poppins,system-ui,-apple-system,sans-serif;background:var(--page-bg,#f6f8fc);color:#2d2430}body{margin:0;background:var(--page-bg,#f6f8fc);font-size:13px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{stroke-width:1.7}::selection{background:rgba(255,177,2,.25)}:root{--wine:#4A003C;--gold:#FFB102;--page-bg:#F6F8FC;--white:#fff;--text:#2d2430;--muted:#827987;--line:#e7eaf0;--soft:#f8f9fc;--soft-wine:#f8f0f6;--soft-gold:#fff8e7;--danger:#b4233f;--success:#267452;--shadow:0 14px 38px rgba(30,20,32,.07);--shadow-sm:0 6px 18px rgba(30,20,32,.05);--radius:18px}
/* shared */
.brand-mark{display:flex;align-items:center;gap:11px;min-width:0}.brand-logo-fallback,.brand-logo-image{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.brand-logo-fallback{background:linear-gradient(145deg,var(--gold),#ffd86a);color:var(--wine);font-weight:600;box-shadow:0 8px 20px rgba(255,177,2,.2)}.brand-logo-image{overflow:hidden;background:#fff}.brand-logo-image img{width:100%;height:100%;object-fit:contain}.brand-copy{display:grid;min-width:0}.brand-copy strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-copy small{font-size:8px;opacity:.65;margin-top:1px}.avatar{width:38px;height:38px;border-radius:12px;background:var(--wine);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:600;flex:0 0 auto}.avatar.small{width:34px;height:34px;border-radius:11px}.eyebrow{display:inline-block;font-size:8px;letter-spacing:.15em;text-transform:uppercase;color:#a17a92;font-weight:500}.btn{border:0;border-radius:11px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:500;transition:.2s;white-space:nowrap}.btn svg{width:15px;height:15px}.btn-primary{background:var(--wine);color:#fff;box-shadow:0 8px 18px color-mix(in srgb,var(--wine) 18%,transparent)}.btn-primary:hover{transform:translateY(-1px);filter:brightness(1.06)}.btn-light{background:#fff;color:var(--wine);border:1px solid var(--line)}.btn-light:hover{border-color:#d7dbe5;background:#fbfbfd}.btn-gold{background:var(--gold);color:var(--wine)}.btn-danger{background:#fff3f5;color:var(--danger);border:1px solid #f3d3da}.btn-sm{padding:7px 9px;border-radius:9px;font-size:9px}.btn-compact{height:40px}.icon-only{width:32px;height:32px;padding:0}.icon-btn{width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:#fff;color:var(--wine);display:grid;place-items:center}.icon-btn svg{width:16px;height:16px}.alert{display:flex;align-items:flex-start;gap:9px;border-radius:12px;padding:11px 13px;margin:0 0 16px;font-size:10px;line-height:1.55}.alert svg{width:15px;height:15px;flex:0 0 auto;margin-top:1px}.alert.success{background:#effaf4;color:#256746;border:1px solid #d3f0df}.alert.error{background:#fff2f4;color:#a7243f;border:1px solid #f3d2d9}.alert.compact{margin-bottom:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.panel-head{min-height:58px;padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-head h3{margin:0;font-size:12px;font-weight:600;color:var(--wine)}.panel-head p{margin:3px 0 0;font-size:9px;color:var(--muted)}.panel-body{padding:14px}.page-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.page-intro h2{font-size:18px;line-height:1.25;font-weight:600;color:var(--wine);margin:0}.page-intro p{font-size:10px;color:var(--muted);margin:5px 0 0}.action-cluster{display:flex;gap:8px;align-items:center}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grow{flex:1}.empty{padding:32px 20px;text-align:center;color:var(--muted);font-size:10px}.empty svg{width:24px;height:24px;color:#b5a8b0;margin-bottom:9px}.empty h3{font-size:12px;color:var(--wine);font-weight:500;margin:0 0 4px}.empty p{margin:0}.compact-empty{padding:15px}
/* login */
.clean-login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f5f7fb}.clean-login-card{width:min(390px,calc(100vw - 34px));background:#fff;border:1px solid #e7eaf0;border-radius:22px;padding:30px 30px 22px;box-shadow:0 22px 55px rgba(31,25,32,.09)}.login-brand{text-align:center;margin-bottom:24px}.login-brand .login-logo{width:62px;height:62px;border-radius:18px;margin:0 auto 12px}.login-brand h1{margin:0;color:var(--wine);font-size:18px;font-weight:600}.field{display:grid;gap:6px}.field label{font-size:9px;font-weight:500;color:#5f5560}.field label span{font-weight:400;color:#9a909b;margin-left:4px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe3eb;border-radius:11px;background:#fff;color:#2f2731;padding:10px 12px;outline:0;transition:.2s;font-size:11px}.field input:focus,.field select:focus,.field textarea:focus{border-color:color-mix(in srgb,var(--wine) 45%,#ddd);box-shadow:0 0 0 3px color-mix(in srgb,var(--wine) 7%,transparent)}.field textarea{min-height:112px;resize:vertical}.clean-login-card .field{margin-bottom:13px}.clean-login-card .field input{background:#f4f7fd;border-color:#e6eaf2;height:45px}.field-label-row{display:flex;justify-content:space-between;align-items:center}.field-label-row a{font-size:8px;color:var(--wine);font-weight:500}.password-field{display:grid;grid-template-columns:1fr auto;background:#f4f7fd;border:1px solid #e6eaf2;border-radius:11px;overflow:hidden}.password-field input{border:0!important;border-radius:0!important;box-shadow:none!important}.password-field button{border:0;background:#fff;color:var(--wine);padding:0 12px;font-size:8px}.login-submit{width:100%;height:45px;margin-top:1px}.login-credit{text-align:center;font-size:7px;color:#a69ca6;margin-top:22px}.otp-copy{text-align:center;margin-bottom:18px}.otp-copy h2{font-size:15px;color:var(--wine);margin:7px 0 5px}.otp-copy p{font-size:9px;line-height:1.55;color:var(--muted);margin:0}.otp-icon{width:42px;height:42px;border-radius:14px;background:var(--soft-gold);color:var(--wine);display:grid;place-items:center;margin:auto}.otp-input{text-align:center;font-size:18px!important;letter-spacing:.35em;font-weight:600}.otp-actions{display:flex;justify-content:space-between;margin-top:13px;font-size:8px}.otp-actions.centered{justify-content:center}.otp-actions a,.text-button{color:var(--wine);font-weight:500}.text-button{border:0;background:none;padding:0}
/* admin layout */
.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--wine);color:#fff;position:sticky;top:0;height:100vh;padding:15px 13px;display:flex;flex-direction:column;z-index:90}.sidebar-brand{padding:4px 8px 21px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:14px}.sidebar-brand .brand-logo-fallback{width:34px;height:34px;border-radius:10px}.sidebar-brand .brand-copy strong{font-size:12px}.sidebar-brand .brand-copy small{font-size:7px}.sidebar-nav{display:grid;gap:4px}.nav-item{height:42px;border-radius:10px;display:flex;align-items:center;gap:11px;padding:0 12px;color:rgba(255,255,255,.78);font-size:10px;font-weight:400}.nav-item svg{width:15px;height:15px}.nav-item:hover{background:rgba(255,255,255,.08);color:#fff}.nav-item.active{background:#fff;color:var(--wine);font-weight:500;box-shadow:0 7px 18px rgba(0,0,0,.08)}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.14);padding-top:11px;display:grid;gap:4px}.main-area{min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;position:sticky;top:0;z-index:70}.topbar-left{display:flex;align-items:center;gap:11px;min-width:0}.topbar-left h1{font-size:17px;font-weight:600;color:var(--wine);margin:0}.topbar-left p{font-size:8px;color:#9b919c;margin:2px 0 0}.mobile-menu{display:none}.topbar-actions{display:flex;align-items:center;gap:8px}.global-search{width:285px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 11px}.global-search svg{width:14px;height:14px;color:#8c828d}.global-search input{border:0;outline:0;width:100%;font-size:9px;color:#4c424e;background:transparent}.quick-wrap,.notice-wrap,.profile-wrap{position:relative}.admin-profile{height:40px;border:0;background:transparent;display:flex;align-items:center;gap:8px;padding:0 2px 0 0}.admin-profile>svg{width:13px;height:13px;color:#8c828d}.admin-profile-copy{display:grid;text-align:left}.admin-profile-copy strong{font-size:9px;font-weight:500}.admin-profile-copy small{font-size:7px;color:#9b919c}.notice-button{position:relative}.notice-badge{position:absolute;right:-4px;top:-4px;min-width:16px;height:16px;border-radius:99px;background:var(--gold);color:var(--wine);display:grid;place-items:center;font-size:7px;font-weight:600;border:2px solid #fff}.dropdown-card{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px rgba(32,22,32,.13);border-radius:14px;z-index:120;display:none}.dropdown-card.open{display:block}.quick-menu{width:180px;padding:6px}.quick-menu a,.profile-menu a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;font-size:9px}.quick-menu a:hover,.profile-menu a:hover{background:var(--soft)}.quick-menu svg,.profile-menu svg{width:14px;height:14px;color:var(--wine)}.profile-menu{width:145px;padding:6px}.notice-menu{width:330px;overflow:hidden}.dropdown-head,.dropdown-foot{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid var(--line)}.dropdown-head strong{display:block;font-size:10px;color:var(--wine)}.dropdown-head small{font-size:7px;color:var(--muted)}.dropdown-head a,.dropdown-foot a{font-size:8px;color:var(--wine);font-weight:500}.notice-list{max-height:330px;overflow:auto}.notice-row{display:grid;grid-template-columns:8px 1fr;gap:7px;padding:10px 12px;border-bottom:1px solid #f1f2f6}.notice-row.unread{background:#fffbf1}.notice-dot{width:6px;height:6px;border-radius:50%;background:#d7dae2;margin-top:5px}.notice-row.unread .notice-dot{background:var(--gold)}.notice-row strong{font-size:9px;font-weight:500;color:#3b303a}.notice-row p{font-size:8px;color:var(--muted);margin:2px 0;line-height:1.45}.notice-row small{font-size:7px;color:#a49aa4}.dropdown-empty{padding:25px;text-align:center;font-size:9px;color:var(--muted)}.dropdown-foot{border-top:1px solid var(--line);border-bottom:0;gap:10px}.content-area{padding:18px 22px 30px;flex:1}.admin-footer{text-align:right;font-size:7px;color:#b0a8b1;padding:0 22px 8px}
/* metrics & dashboard */
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:15px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;min-height:100px;display:flex;align-items:flex-start;justify-content:space-between;box-shadow:var(--shadow-sm)}.metric-card strong{font-size:23px;line-height:1;color:var(--wine);font-weight:600;display:block;margin:10px 0 5px}.metric-kicker{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#908691}.metric-card small{font-size:7px;color:#9b919c}.metric-icon{width:38px;height:38px;border-radius:12px;background:#f3f5fa;color:var(--wine);display:grid;place-items:center}.metric-icon svg{width:16px;height:16px}.dashboard-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:15px}.span-7{grid-column:span 7}.span-5{grid-column:span 5}.span-12{grid-column:span 12}.course-summary-list{padding:7px 13px 13px}.course-summary-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 2px;border-bottom:1px solid #f1f2f5}.course-summary-row:last-child{border-bottom:0}.course-summary-icon,.result-icon{width:34px;height:34px;border-radius:11px;background:var(--soft-gold);display:grid;place-items:center;color:var(--wine)}.course-summary-icon svg,.result-icon svg{width:14px;height:14px}.course-summary-row strong{font-size:9px;font-weight:500;display:block}.course-summary-row small{font-size:7px;color:var(--muted)}.quick-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px}.quick-action-grid a{border:1px solid var(--line);border-radius:13px;padding:14px;display:grid;grid-template-columns:32px 1fr;gap:2px 10px;align-items:center}.quick-action-grid a:hover{border-color:#dacbd5;box-shadow:var(--shadow-sm)}.quick-action-grid svg{grid-row:1/3;width:16px;height:16px;color:var(--wine)}.quick-action-grid strong{font-size:9px;font-weight:500}.quick-action-grid span{font-size:7px;color:var(--muted)}
/* tables */
.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:680px}.data-table th{text-align:left;padding:10px 12px;font-size:7px;font-weight:500;text-transform:uppercase;letter-spacing:.07em;color:#958a96;background:#fbfbfd;border-bottom:1px solid var(--line)}.data-table td{padding:11px 12px;border-bottom:1px solid #eef0f4;font-size:9px;color:#514651;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table td>strong{display:block;font-size:9px;font-weight:500;color:#342934}.data-table td>small{display:block;font-size:7px;color:#9b919c;margin-top:2px}.user-cell{display:flex;gap:9px;align-items:center}.user-cell strong{display:block;font-size:9px;font-weight:500}.user-cell small{display:block;font-size:7px;color:#968b96;margin-top:2px}.status{display:inline-flex;align-items:center;border-radius:99px;padding:4px 7px;font-size:7px;font-weight:500}.status.active{background:#eaf8f0;color:#24704d}.status.inactive{background:#f0f1f4;color:#777079}.status.blocked{background:#fff0f3;color:#a62640}.actions{display:flex;align-items:center;gap:5px}.actions form{margin:0}.inline-search{height:34px;display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.inline-search svg{width:13px;height:13px;margin-left:10px;color:#958b96}.inline-search input{border:0;outline:0;padding:0 8px;width:170px;font-size:8px}.inline-search .btn{border-radius:0;border-width:0 0 0 1px;height:100%}
/* forms */
.form-panel{overflow:visible}.form-section{padding:18px}.form-section+.form-section{border-top:1px solid var(--line)}.form-section.slim{padding:13px 18px}.form-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.form-section-title h3{font-size:11px;font-weight:600;color:var(--wine);margin:0}.form-section-title span{font-size:8px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field.full{grid-column:1/-1}.form-actions{display:flex;gap:8px;padding:13px 18px;border-top:1px solid var(--line);background:#fcfcfd;border-radius:0 0 var(--radius) var(--radius)}.toggle-line{display:flex;align-items:center;gap:8px;font-size:9px;color:#554b55}.toggle-line input{accent-color:var(--wine)}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.check-card{border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;align-items:center;gap:9px;cursor:pointer}.check-card input{position:absolute;opacity:0}.check-box{width:18px;height:18px;border:1px solid #d6dae3;border-radius:6px;display:grid;place-items:center;color:#fff;flex:0 0 auto}.check-box svg{width:12px;height:12px}.check-card input:checked+.check-box{background:var(--wine);border-color:var(--wine)}.check-card strong{font-size:9px;font-weight:500;display:block}.check-card small{font-size:7px;color:var(--muted);display:block;margin-top:1px}.upload-zone{position:relative;border:1px dashed #cfd4df;border-radius:14px;padding:20px;display:flex;align-items:center;gap:13px;background:#fbfcfe}.upload-zone>svg{width:26px;height:26px;color:var(--wine)}.upload-zone strong{display:block;font-size:10px}.upload-zone span{display:block;font-size:8px;color:var(--muted);margin-top:3px}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer}.color-input{height:42px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:10px;padding:5px 8px}.color-input input{width:30px;height:30px;border:0;padding:0;background:none}.color-input code{font-size:9px;color:#605660}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.settings-grid .panel:last-child{grid-column:1/-1}
/* notifications & search */
.notification-card{display:flex;gap:10px;padding:12px;border-bottom:1px solid #f0f1f4}.notification-card:last-child{border-bottom:0}.notification-icon{width:34px;height:34px;border-radius:11px;background:var(--soft-gold);color:var(--wine);display:grid;place-items:center;flex:0 0 auto}.notification-icon svg{width:14px;height:14px}.notification-card h3{font-size:9px;font-weight:500;color:var(--wine);margin:0}.notification-card p{font-size:8px;color:var(--muted);line-height:1.55;margin:3px 0}.notification-card time{font-size:7px;color:#a49aa5}.admin-notice-page{padding:4px 14px}.admin-notice-item{display:grid;grid-template-columns:40px 1fr 38px;gap:10px;align-items:start;padding:13px 2px;border-bottom:1px solid #eff1f4}.admin-notice-item:last-child{border-bottom:0}.admin-notice-item.unread{background:linear-gradient(90deg,#fffaf0,transparent)}.notice-type{width:36px;height:36px;border-radius:11px;background:#f4f5f9;color:var(--wine);display:grid;place-items:center}.notice-type svg{width:15px;height:15px}.notice-title-line{display:flex;align-items:center;gap:6px}.notice-title-line h3{font-size:10px;font-weight:500;color:#392f39;margin:0}.notice-title-line span{font-size:6px;padding:3px 5px;background:var(--gold);color:var(--wine);border-radius:99px}.admin-notice-item p{font-size:8px;color:var(--muted);margin:3px 0}.admin-notice-item small{font-size:7px;color:#9c929d}.search-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.result-list{padding:7px}.result-list>a{display:grid;grid-template-columns:34px 1fr 15px;gap:9px;align-items:center;padding:9px;border-radius:11px}.result-list>a:hover{background:var(--soft)}.result-list>a>svg{width:13px;height:13px;color:#a297a1}.result-list strong{display:block;font-size:9px;font-weight:500}.result-list small{display:block;font-size:7px;color:var(--muted)}.certificate-list{padding:5px 13px}.certificate-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #eff0f4}.certificate-row:last-child{border-bottom:0}.certificate-icon{width:34px;height:34px;border-radius:11px;background:var(--soft-gold);display:grid;place-items:center;color:var(--wine)}.certificate-icon svg{width:15px;height:15px}.certificate-row strong{display:block;font-size:9px;font-weight:500}.certificate-row small{font-size:7px;color:var(--muted)}
/* student */
.student-shell{min-height:100vh;display:flex;flex-direction:column}.student-header{height:70px;padding:0 max(20px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;position:sticky;top:0;z-index:70}.student-brand{margin-right:auto}.student-brand .brand-copy small{display:none}.student-nav{display:flex;height:100%;align-items:center;gap:4px;margin:0 25px}.student-nav a{height:100%;display:flex;align-items:center;gap:7px;padding:0 12px;font-size:9px;color:#786e79;position:relative}.student-nav a svg{width:14px;height:14px}.student-nav a.active{color:var(--wine);font-weight:500}.student-nav a.active:after{content:"";position:absolute;height:2px;background:var(--gold);left:12px;right:12px;bottom:0}.notification-link b{min-width:15px;height:15px;border-radius:99px;background:var(--gold);color:var(--wine);display:grid;place-items:center;font-size:7px}.student-profile{display:flex;align-items:center;gap:8px}.profile-copy{display:grid}.profile-copy strong{font-size:9px;font-weight:500}.profile-copy small{font-size:7px;color:var(--muted)}.student-main{width:min(1180px,100%);margin:0 auto;padding:26px 20px 80px;flex:1}.student-footer{text-align:center;padding:0 20px 10px;font-size:7px;color:#aaa1aa}.student-hero{background:linear-gradient(120deg,var(--wine),color-mix(in srgb,var(--wine) 82%,#8f467c));border-radius:22px;padding:27px 30px;color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 16px 38px color-mix(in srgb,var(--wine) 15%,transparent);margin-bottom:22px;overflow:hidden;position:relative}.student-hero:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-70px;top:-80px}.student-hero .eyebrow{color:var(--gold)}.student-hero h1{font-size:22px;font-weight:500;margin:5px 0}.student-hero p{font-size:10px;color:rgba(255,255,255,.68);margin:0}.student-hero-count{position:relative;z-index:2;min-width:90px;text-align:center}.student-hero-count strong{font-size:28px;font-weight:500;display:block;color:var(--gold)}.student-hero-count span{font-size:8px;color:rgba(255,255,255,.65)}.student-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.student-page-head.compact{margin-bottom:12px}.student-page-head h1,.student-page-head h2{font-size:17px;font-weight:500;color:var(--wine);margin:3px 0}.student-page-head p{font-size:9px;color:var(--muted);margin:3px 0}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.course-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.2s}.course-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.course-cover{height:165px;position:relative;background:linear-gradient(135deg,var(--wine),#7e2769);overflow:hidden}.course-cover img{width:100%;height:100%;object-fit:cover}.course-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(35,0,29,.35))}.course-cover-fallback{width:100%;height:100%;display:grid;place-items:center;color:rgba(255,255,255,.6)}.course-cover-fallback svg{width:42px;height:42px}.course-tag{position:absolute;z-index:2;left:12px;top:12px;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.93);color:var(--wine);font-size:7px;font-weight:500}.course-body{padding:15px}.course-body h3{font-size:12px;font-weight:500;color:var(--wine);margin:0 0 5px}.course-body p{font-size:8px;line-height:1.55;color:var(--muted);min-height:25px;margin:0 0 12px}.course-meta{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #f0f1f4;font-size:8px;color:#807581}.course-meta span{display:flex;align-items:center;gap:5px}.course-meta svg{width:12px;height:12px}.course-page-head{display:flex;align-items:center;gap:11px;margin-bottom:16px}.back-link{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--wine)}.back-link svg{width:15px;height:15px}.course-page-head h1{font-size:18px;font-weight:500;color:var(--wine);margin:2px 0}.course-page-head p{font-size:8px;color:var(--muted);margin:0}.course-intro-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;margin-bottom:14px}.course-intro-card p{font-size:9px;line-height:1.7;color:var(--muted);margin:0}.topic-label{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#9b6e8d;font-weight:500;margin:16px 2px 7px}.lesson{display:grid;grid-template-columns:42px 1fr 34px;gap:11px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin-bottom:7px}.lesson:hover{border-color:#d9cbd5;box-shadow:var(--shadow-sm)}.lesson-number{width:36px;height:36px;border-radius:11px;background:var(--soft-gold);display:grid;place-items:center;color:var(--wine);font-size:8px;font-weight:600}.lesson strong{display:block;font-size:9px;font-weight:500}.lesson small{font-size:7px;color:var(--muted)}.lesson-action{width:30px;height:30px;border-radius:50%;background:var(--wine);color:#fff;display:grid;place-items:center}.lesson-action svg{width:12px;height:12px;fill:currentColor}.certificate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.student-certificate{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:grid;grid-template-columns:48px 1fr auto;gap:13px;align-items:center}.certificate-seal{width:46px;height:46px;border-radius:15px;background:var(--soft-gold);color:var(--wine);display:grid;place-items:center}.certificate-seal svg{width:20px;height:20px}.student-certificate h3{font-size:11px;font-weight:500;color:var(--wine);margin:3px 0}.student-certificate p,.student-certificate small{font-size:8px;color:var(--muted);margin:0}.member-notification-list{max-width:760px}.member-notification-list .notification-card{background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:9px;padding:14px}
/* video */
.video-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:15px}.video-panel{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.video-stage{aspect-ratio:16/9;background:#10000d;position:relative;overflow:hidden}.video-stage iframe{width:100%;height:100%;border:0;display:block}.moving-watermark{position:absolute;z-index:10;pointer-events:none;color:rgba(255,255,255,.68);background:rgba(10,0,8,.22);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(2px);border-radius:8px;padding:5px 8px;font-size:8px;white-space:nowrap;transition:left 1.2s ease,top 1.2s ease}.video-fullscreen-btn{position:absolute;right:10px;top:10px;z-index:12;width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(15,0,12,.55);color:#fff;display:grid;place-items:center;backdrop-filter:blur(8px)}.video-fullscreen-btn svg{width:15px;height:15px}.capture-shield{position:absolute;inset:0;z-index:20;background:#10000d;color:#fff;display:none;place-items:center;align-content:center;gap:8px;text-align:center}.capture-shield svg{width:28px;height:28px}.capture-shield span{font-size:9px;opacity:.7}.capture-shield.show{display:grid}.video-info{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 17px}.video-info .topic{font-size:7px;text-transform:uppercase;letter-spacing:.1em;color:#9a6d8b}.video-info h2{font-size:13px;font-weight:500;color:var(--wine);margin:4px 0}.video-info p{font-size:8px;color:var(--muted);line-height:1.6;margin:3px 0 0}.playlist-panel{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;height:max-content}.playlist-head{padding:14px;border-bottom:1px solid var(--line)}.playlist-head h3{font-size:10px;font-weight:500;color:var(--wine);margin:0}.playlist-head p{font-size:7px;color:var(--muted);margin:3px 0 0}.playlist{padding:6px;max-height:560px;overflow:auto}.playlist a{display:grid;grid-template-columns:25px 1fr;gap:7px;padding:9px;border-radius:9px}.playlist a:hover,.playlist a.current{background:var(--soft)}.playlist a.current{box-shadow:inset 2px 0 var(--gold)}.playlist .num{font-size:7px;color:#9d929d;padding-top:2px}.playlist strong{display:block;font-size:8px;font-weight:500}.playlist small{display:block;font-size:7px;color:var(--muted);margin-top:2px}.video-stage:fullscreen,.video-stage.secure-fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;aspect-ratio:auto;background:#000;position:fixed!important;inset:0!important;z-index:9999}.video-stage:fullscreen iframe,.video-stage.secure-fullscreen iframe{width:100%;height:100%}.video-stage:fullscreen .moving-watermark,.video-stage.secure-fullscreen .moving-watermark{font-size:10px}.video-stage.secure-fullscreen .video-fullscreen-btn{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}
/* modal + blocked */
.modal-backdrop{position:fixed;inset:0;z-index:500;background:rgba(25,10,22,.55);backdrop-filter:blur(6px);display:none;place-items:center;padding:20px}.modal-backdrop.show{display:grid}.warning-modal{width:min(480px,100%);background:#fff;border-radius:22px;padding:27px;box-shadow:0 25px 70px rgba(0,0,0,.22);text-align:center}.warning-icon{width:54px;height:54px;border-radius:17px;background:var(--soft-gold);color:var(--wine);display:grid;place-items:center;margin:0 auto 14px}.warning-icon svg{width:22px;height:22px}.warning-modal h2{font-size:16px;font-weight:600;color:var(--wine);margin:0 0 12px}.warning-modal p{font-size:9px;line-height:1.75;color:#6f6570;text-align:left;margin:8px 0}.warning-modal .btn{margin-top:12px;min-width:190px}.blocked-page{min-height:100vh;display:grid;place-items:center;padding:25px}.blocked-card{width:min(480px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;text-align:center;box-shadow:var(--shadow)}.blocked-icon{width:56px;height:56px;border-radius:17px;background:#fff0f3;color:var(--danger);display:grid;place-items:center;margin:0 auto 15px}.blocked-card h1{font-size:17px;font-weight:500;color:var(--wine);margin:0 0 8px}.blocked-card p{font-size:9px;line-height:1.7;color:var(--muted);margin:0 0 18px}
/* protection */
body[data-protected="video"]{-webkit-user-select:none;user-select:none}body[data-protected="video"] img{pointer-events:none}@media print{body[data-protected="video"] *{display:none!important}}
/* responsive */
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.span-7,.span-5,.span-12{grid-column:auto}.quick-action-grid{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}.settings-grid .panel:last-child{grid-column:auto}.course-grid{grid-template-columns:repeat(2,1fr)}.video-layout{grid-template-columns:1fr}.playlist-panel{order:2}.search-result-grid{grid-template-columns:1fr}.check-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-250px;width:230px;transition:.22s}.sidebar.open{left:0;box-shadow:25px 0 60px rgba(0,0,0,.2)}.mobile-menu{display:grid}.topbar{padding:0 14px}.global-search{display:none}.admin-profile-copy{display:none}.content-area{padding:16px 14px 28px}.student-header{padding:0 15px}.student-nav{position:fixed;left:12px;right:12px;bottom:10px;height:58px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 14px 35px rgba(40,20,38,.13);z-index:100;margin:0;padding:0 6px;justify-content:space-around}.student-nav a{height:100%;flex:1;justify-content:center;display:grid;place-items:center;align-content:center;gap:3px;padding:0;font-size:7px}.student-nav a svg{width:15px;height:15px}.student-nav a.active:after{left:30%;right:30%;bottom:5px}.student-profile .profile-copy{display:none}.student-main{padding:20px 14px 92px}.student-footer{padding-bottom:74px}.certificate-grid{grid-template-columns:1fr}}
@media(max-width:620px){body{font-size:12px}.topbar-left h1{font-size:15px}.quick-wrap .btn span{display:none}.quick-wrap .btn{width:38px;padding:0}.notice-menu{position:fixed;left:12px;right:12px;top:72px;width:auto}.profile-menu{right:0}.page-actions{align-items:flex-start;flex-direction:column}.action-cluster{width:100%;flex-wrap:wrap}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:92px;padding:12px}.metric-card strong{font-size:20px}.metric-icon{width:32px;height:32px}.quick-action-grid{grid-template-columns:1fr 1fr;padding:10px}.grid-2{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.check-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.clean-login-card{padding:25px 20px 20px}.course-grid{grid-template-columns:1fr}.student-hero{padding:23px 20px}.student-hero h1{font-size:18px}.student-hero-count{min-width:60px}.student-certificate{grid-template-columns:42px 1fr}.student-certificate .btn{grid-column:1/-1}.video-info{display:block}.video-fullscreen-secondary{margin-top:10px}.video-stage{aspect-ratio:16/9}.moving-watermark{font-size:7px;padding:4px 6px}.course-page-head h1{font-size:15px}.admin-footer{display:none}}
