*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f0faf5;color:#111827;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}button,input,select,textarea{font-family:inherit}img,video{max-width:100%}:focus-visible{outline:2px solid #059669;outline-offset:2px}.page-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40vh;color:#64748b;font-size:15px}.page-loading-spinner{width:22px;height:22px;border:3px solid #dbe4ee;border-top-color:#2563eb;border-radius:50%;animation:page-loading-spin .8s linear infinite}@keyframes page-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.page-loading-spinner{animation-duration:2.4s}}.pcb-floating{--pcb-color: #dc2626;--pcb-bg: #fef2f2;--pcb-border: #fecaca;position:fixed;right:20px;bottom:20px;z-index:800;display:flex;align-items:center;gap:2px;padding:4px 4px 4px 6px;border:1px solid var(--pcb-border);border-radius:999px;background:var(--pcb-bg);box-shadow:0 6px 20px #0f172a1f;font-family:inherit}.pcb-mid{--pcb-color: #d97706;--pcb-bg: #fffbeb;--pcb-border: #fde68a}.pcb-high{--pcb-color: #ea580c;--pcb-bg: #fff7ed;--pcb-border: #fed7aa}.pcb-done{--pcb-color: #059669;--pcb-bg: #f0fdf4;--pcb-border: #bbf7d0}.pcb-main{display:flex;align-items:center;gap:10px;min-height:40px;padding:4px 8px 4px 4px;border:0;border-radius:999px;background:transparent;color:#1e293b;text-align:left;cursor:pointer}.pcb-main:hover .pcb-text strong{text-decoration:underline}.pcb-ring{display:block;flex-shrink:0}.pcb-ring-track{stroke:#e2e8f0}.pcb-ring-value{stroke:var(--pcb-color);transition:stroke-dashoffset .5s ease}.pcb-text{display:flex;flex-direction:column;line-height:1.2}.pcb-text strong{font-size:13px;font-weight:600}.pcb-text span{font-size:12px;color:var(--pcb-color);font-weight:600}.pcb-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#64748b;font-size:20px;line-height:1;cursor:pointer}.pcb-close:hover{background:#0f172a0f;color:#1e293b}body.has-pcb #root{padding-bottom:72px}@media (max-width: 600px){.pcb-floating{right:12px;bottom:12px}.pcb-text strong{font-size:12px}}@media (prefers-reduced-motion: reduce){.pcb-ring-value{transition:none}}.app-shell{--shell-green: #059669;--shell-green-dark: #047857;--shell-green-soft: #e7f6ef;--shell-bg: #f0faf5;--shell-text: #1e293b;--shell-muted: #64748b;--shell-line: #e2e8f0;--shell-sidebar: 252px;--shell-rail: 76px;--shell-topbar: 64px;min-height:100vh;background:var(--shell-bg);color:var(--shell-text)}.shell-skip-link{position:absolute;left:12px;top:-48px;z-index:2000;padding:10px 14px;border-radius:8px;background:var(--shell-green);color:#fff;font-weight:600;text-decoration:none}.shell-skip-link:focus{top:12px}.shell-sidebar{position:fixed;inset:0 auto 0 0;z-index:1000;display:flex;flex-direction:column;width:var(--shell-sidebar);padding:14px 12px 12px;background:#fff;border-right:1px solid var(--shell-line);transition:width .22s ease,transform .25s ease}.shell-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-bottom:14px;padding:0 4px 0 6px}.shell-logo img,.shell-topbar-logo img{display:block;height:34px;width:auto}.shell-collapse-btn,.shell-drawer-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid var(--shell-line);border-radius:10px;background:#fff;color:var(--shell-muted);font-size:18px;cursor:pointer}.shell-collapse-btn:hover,.shell-drawer-close:hover{background:var(--shell-green-soft);color:var(--shell-green);border-color:#c6ebd9}.shell-drawer-close,.shell-drawer-user{display:none}.shell-nav{display:flex;flex:1;flex-direction:column;gap:2px;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -4px;padding:0 4px}.shell-nav-link{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#475569;font-size:14px;font-weight:500;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease}.shell-nav-link:hover{background:#f1f5f9;color:var(--shell-text)}.shell-nav-link.active,.shell-group.has-active>.shell-group-toggle{background:var(--shell-green-soft);color:var(--shell-green-dark);font-weight:600}.shell-nav-icon{flex-shrink:0;width:19px;height:19px}.shell-nav-label{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.shell-nav-badge,.shell-count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:700;line-height:1}.shell-group-caret{flex-shrink:0;width:16px;height:16px;color:#94a3b8;transition:transform .2s ease}.shell-group.open>.shell-group-toggle .shell-group-caret{transform:rotate(180deg)}.shell-group-items{display:none;flex-direction:column;gap:2px;margin:2px 0 6px 21px;padding-left:12px;border-left:1px solid var(--shell-line)}.shell-group.open .shell-group-items{display:flex}.shell-sub-link{display:flex;align-items:center;min-height:38px;padding:0 12px;border-radius:8px;color:var(--shell-muted);font-size:13.5px;font-weight:500;text-decoration:none}.shell-sub-link:hover{background:#f1f5f9;color:var(--shell-text)}.shell-sub-link.active{color:var(--shell-green-dark);background:var(--shell-green-soft);font-weight:600}.shell-flyout{display:none}.shell-logout{flex-shrink:0;margin-top:10px;color:#b91c1c}.shell-logout:hover{background:#fef2f2;color:#991b1b}.shell-main{min-width:0;margin-left:var(--shell-sidebar);transition:margin-left .22s ease}.shell-topbar{position:sticky;top:0;z-index:900;display:flex;align-items:center;gap:12px;height:var(--shell-topbar);padding:0 24px;background:#f0faf5e0;backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid rgba(226,232,240,.8)}.shell-topbar .shell-menu-btn,.shell-topbar .shell-topbar-logo{display:none}.shell-page-title{display:flex;flex:1;align-items:baseline;gap:8px;min-width:0;overflow:hidden;white-space:nowrap}.shell-crumb{color:var(--shell-muted);font-size:13px;font-weight:500}.shell-crumb:after{content:"/";margin-left:8px;color:#cbd5e1}.shell-title{overflow:hidden;text-overflow:ellipsis;color:var(--shell-text);font-size:15px;font-weight:600}.shell-topbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.shell-icon-btn{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--shell-line);border-radius:12px;background:#fff;color:#334155;font-size:19px;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.shell-icon-btn:hover,.shell-icon-btn[aria-expanded=true]{background:var(--shell-green-soft);border-color:#c6ebd9;color:var(--shell-green-dark)}.shell-icon-btn .shell-count-badge{position:absolute;top:-6px;right:-6px;border:2px solid #fff;height:22px}.shell-account-btn{display:flex;align-items:center;gap:10px;height:42px;max-width:240px;padding:0 10px 0 4px;border:1px solid var(--shell-line);border-radius:999px;background:#fff;color:var(--shell-text);cursor:pointer}.shell-account-btn:hover,.shell-account-btn[aria-expanded=true]{border-color:#c6ebd9;background:#fbfefc}.shell-account-name{overflow:hidden;max-width:150px;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}.shell-account-caret{flex-shrink:0;color:#94a3b8}.shell-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;overflow:hidden;border-radius:50%;background:var(--shell-green);color:#fff;font-size:13px;font-weight:700}.shell-avatar.large{width:44px;height:44px;font-size:15px}.shell-avatar img{width:100%;height:100%;object-fit:cover}.shell-content{min-width:0;outline:none}.shell-popover-wrap{position:relative}.shell-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:1200;overflow:hidden;border:1px solid var(--shell-line);border-radius:16px;background:#fff;box-shadow:0 18px 48px #0f172a29;animation:shellPop .16s ease}@keyframes shellPop{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.shell-notifications{width:380px}.shell-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #f1f5f9}.shell-popover-head h3{margin:0;font-size:15px;font-weight:700}.shell-link-btn{min-height:32px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--shell-green);font-size:13px;font-weight:600;cursor:pointer}.shell-link-btn:hover{background:var(--shell-green-soft)}.shell-notif-list{max-height:min(420px,60vh);overflow-y:auto;overscroll-behavior:contain}.shell-notif-item{display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px 16px;border:0;border-bottom:1px solid #f8fafc;background:#fff;color:inherit;text-align:left;cursor:pointer}.shell-notif-item:hover{background:#f8fafc}.shell-notif-item.unread{background:#f6fcf9}.shell-notif-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#eef2ff;color:#4f46e5;font-size:16px}.shell-notif-icon.type-course_completed,.shell-notif-icon.type-certificate_ready{background:#dcfce7;color:#15803d}.shell-notif-icon.type-course_removed{background:#fee2e2;color:#b91c1c}.shell-notif-icon.type-quiz_updated{background:#fef3c7;color:#b45309}.shell-notif-text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.shell-notif-text strong{font-size:13.5px;font-weight:600}.shell-notif-text span{display:-webkit-box;overflow:hidden;color:#475569;font-size:13px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.shell-notif-text small{color:#94a3b8;font-size:12px}.shell-unread-dot{flex-shrink:0;width:8px;height:8px;margin-top:6px;border-radius:50%;background:var(--shell-green)}.shell-notif-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px 16px;color:#94a3b8;font-size:14px}.shell-notif-empty svg{font-size:26px}.shell-popover-foot{display:block;width:100%;min-height:46px;border:0;border-top:1px solid #f1f5f9;background:#fff;color:var(--shell-green);font-size:14px;font-weight:600;cursor:pointer}.shell-popover-foot:hover{background:var(--shell-green-soft)}.shell-account-menu{width:260px;padding:8px}.shell-account-head{display:flex;align-items:center;gap:12px;margin-bottom:6px;padding:8px 8px 12px;border-bottom:1px solid #f1f5f9}.shell-account-head>span:last-child{display:flex;flex-direction:column;min-width:0}.shell-account-head strong,.shell-account-head small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.shell-account-head small{color:var(--shell-muted);font-size:12.5px}.shell-menu-item{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:#334155;font-size:14px;font-weight:500;text-align:left;cursor:pointer}.shell-menu-item:hover{background:#f1f5f9}.shell-menu-item.danger{color:#b91c1c}.shell-menu-item.danger:hover{background:#fef2f2}@media (min-width: 1025px){.app-shell.is-collapsed .shell-sidebar{width:var(--shell-rail);padding-inline:12px}.app-shell.is-collapsed .shell-main{margin-left:var(--shell-rail)}.app-shell.is-collapsed .shell-brand{justify-content:center;padding:0}.app-shell.is-collapsed .shell-logo{display:none}.app-shell.is-collapsed .shell-nav,.app-shell.is-collapsed .shell-sidebar{overflow:visible}.app-shell.is-collapsed .shell-nav-link{justify-content:center;padding:0}.app-shell.is-collapsed .shell-nav-label,.app-shell.is-collapsed .shell-group-caret{display:none}.app-shell.is-collapsed .shell-nav-badge{position:absolute;top:3px;right:6px;min-width:18px;height:18px;font-size:10px}.app-shell.is-collapsed .shell-nav-link[data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:calc(100% + 12px);top:50%;z-index:1100;padding:6px 10px;border-radius:8px;background:#0f172a;color:#fff;font-size:12.5px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(-4px,-50%);transition:opacity .12s ease,transform .12s ease}.app-shell.is-collapsed .shell-nav-link:hover:after,.app-shell.is-collapsed .shell-nav-link:focus-visible:after{opacity:1;transform:translateY(-50%)}.app-shell.is-collapsed .shell-group{position:relative}.app-shell.is-collapsed .shell-group-toggle:after{display:none}.app-shell.is-collapsed .shell-flyout{position:absolute;left:calc(100% + 8px);top:0;z-index:1100;display:flex;flex-direction:column;gap:2px;min-width:210px;padding:8px;border:1px solid var(--shell-line);border-radius:14px;background:#fff;box-shadow:0 16px 40px #0f172a29;opacity:0;visibility:hidden;transform:translate(-4px);transition:opacity .12s ease,transform .12s ease,visibility .12s}.app-shell.is-collapsed .shell-flyout:before{content:"";position:absolute;left:-12px;top:0;width:12px;height:100%}.app-shell.is-collapsed .shell-group:hover .shell-flyout,.app-shell.is-collapsed .shell-group:focus-within .shell-flyout{opacity:1;visibility:visible;transform:none}.shell-flyout-title{padding:6px 12px 8px;color:#94a3b8;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}}@media (max-width: 1024px){.shell-sidebar{z-index:1300;width:min(300px,86vw);box-shadow:none;transform:translate(-100%);visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}.app-shell.drawer-open .shell-sidebar{transform:none;visibility:visible;box-shadow:8px 0 32px #0f172a33;transition:transform .25s ease,visibility 0s}.shell-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1250;background:#0f172a73;animation:shellFade .2s ease}@keyframes shellFade{0%{opacity:0}}body.shell-drawer-open{overflow:hidden}.shell-collapse-btn{display:none}.shell-drawer-close{display:grid}.shell-drawer-user{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:10px;border-radius:12px;background:#f6fcf9;color:var(--shell-text);text-decoration:none}.shell-drawer-user>span:last-child{display:flex;flex-direction:column;min-width:0}.shell-drawer-user strong,.shell-drawer-user small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.shell-drawer-user strong{font-size:14px}.shell-drawer-user small{color:var(--shell-muted);font-size:12.5px}.shell-nav-link{min-height:46px;font-size:15px}.shell-sub-link{min-height:44px;font-size:14.5px}.shell-main{margin-left:0}.shell-topbar{height:60px;padding:0 16px;gap:10px;background:#ffffffeb}.shell-topbar .shell-menu-btn{display:grid}.shell-topbar .shell-topbar-logo{display:flex;align-items:center;min-height:44px}.shell-topbar-logo img{height:30px}.shell-page-title{visibility:hidden}.shell-account-name,.shell-account-caret{display:none}.shell-account-btn{padding:0;width:42px;justify-content:center;border-radius:50%}.shell-content{padding:16px}.shell-notifications{position:fixed;top:68px;right:12px;left:12px;width:auto;max-width:440px;margin-left:auto}.shell-notif-list{max-height:calc(100dvh - 200px)}}@media (min-width: 700px) and (max-width: 1024px){.shell-page-title{visibility:visible;padding-left:12px;margin-left:4px;border-left:1px solid var(--shell-line)}}@media (max-width: 600px){.shell-topbar{padding:0 12px;gap:8px}.shell-icon-btn,.shell-account-btn{width:40px;height:40px}.shell-content{padding:16px}}@media (prefers-reduced-motion: reduce){.shell-sidebar,.shell-main,.shell-popover,.shell-backdrop{transition:none;animation:none}}@media print{.shell-sidebar,.shell-topbar,.pcb-floating{display:none!important}.shell-main{margin-left:0}}
