@layer patterns{[data-subject=physics],[data-subject=natural_science]{--font-display:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);--font-body:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);--font-active-body:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif)}.phy-home-shortcuts{gap:8px;margin:0 0 12px;display:grid}.phy-home-shortcut-link{color:#1740a0;min-height:48px;font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);background:#fff;border:2px solid #2558c8;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;font-size:.92rem;font-weight:700;text-decoration:none;display:flex;box-shadow:0 4px #173b96}.phy-home-shortcut-link:hover{background:#f0f7ff}.phy-home-shortcut-link:active{transform:translateY(2px);box-shadow:0 2px #173b96}.phy-home-shortcut-main{color:#1e2438;align-items:center;gap:8px;display:inline-flex}.phy-home-shortcut-cta{color:#2558c8;align-items:center;gap:4px;font-weight:700;display:inline-flex}.phy-hub-page{color:#1e2438;min-height:100dvh;font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);background:#f0f7ff}.phy-hub-topbar{background:#fff;border-bottom:2px solid #c7dbf6;padding:10px 16px}.phy-hub-topbar-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;max-width:1180px;margin:0 auto;display:flex;position:relative}.phy-hub-brand-group{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.phy-hub-home-link{color:#1740a0;background:#f4f8fd;border:2px solid #c7dbf6;border-radius:12px;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:0 12px;font-size:.88rem;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 3px #c7dbf6}.phy-hub-home-link:active{transform:translateY(1px);box-shadow:0 2px #c7dbf6}.phy-switcher-wrap{position:relative}.phy-class-switcher{color:#fff;cursor:pointer;background:#2558c8;border:2px solid #1d4ed8;border-radius:12px;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:6px 14px;font-family:inherit;font-size:.9rem;font-weight:700;display:inline-flex;box-shadow:0 4px #173b96}.phy-class-switcher:active{transform:translateY(2px);box-shadow:0 2px #173b96}.phy-class-dropdown{z-index:30;background:#fff;border:2px solid #c7dbf6;border-radius:16px;gap:6px;width:min(340px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 5px #c7dbf6}.phy-switcher-item{color:#1e2438;cursor:pointer;text-align:left;background:#f4f8fd;border:2px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:46px;padding:8px 12px;font-family:inherit;font-size:.88rem;font-weight:600;text-decoration:none;display:flex}.phy-switcher-item:hover{border-color:#c7dbf6}.phy-switcher-item.is-active{color:#1740a0;background:#e8f0fe;border-color:#2558c8;font-weight:700}.phy-switcher-tag{color:#1740a0;background:#fff;border:1.5px solid #c7dbf6;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:.78rem;font-weight:700}.phy-hub-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.phy-stat-pill{color:#92400e;cursor:pointer;background:#fffbeb;border:2px solid #d99000;border-radius:12px;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:6px 12px;font-family:inherit;font-size:.86rem;font-weight:700;display:inline-flex;box-shadow:0 4px #b87400}.phy-stat-pill:active{transform:translateY(2px);box-shadow:0 2px #b87400}.phy-sync-btn{color:#1740a0;background:#fff;border:2px solid #c7dbf6;border-radius:12px;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:6px 12px;font-family:inherit;font-size:.86rem;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 4px #c7dbf6}.phy-sync-btn:active{transform:translateY(2px);box-shadow:0 2px #c7dbf6}.phy-hub-wrap{gap:16px;max-width:1180px;margin:0 auto;padding:16px 14px 40px;display:grid}@media (min-width:1024px){.phy-hub-wrap{grid-template-columns:288px minmax(0,1fr);align-items:start;padding:22px 20px 48px}}.phy-hub-rail{gap:14px;display:grid}.phy-hub-main{gap:16px;min-width:0;display:grid}.phy-card{background:#fff;border:2px solid #c7dbf6;border-radius:16px;gap:12px;padding:16px;display:grid;box-shadow:0 5px #c7dbf6}.phy-card--assigned{background:#fffbeb;border-color:#d99000;box-shadow:0 5px #b87400}.phy-profile-row{align-items:center;gap:12px;display:flex}.phy-badge-avatar{color:#1740a0;background:#e8f0fe;border:2px solid #2558c8;border-radius:14px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.phy-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.phy-summary-box{background:#f4f8fd;border:1.5px solid #c7dbf6;border-radius:12px;gap:2px;padding:10px 12px;display:grid}.phy-summary-lbl{color:#4e5670;font-size:.78rem;font-weight:600}.phy-summary-val{color:#1e2438;font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:700}.phy-section-title{color:#1e2438;margin:0;font-size:1.05rem;font-weight:700}.phy-section-sub{color:#4e5670;margin:0;font-size:.85rem}.phy-task-list{gap:10px;display:grid}.phy-lesson-row{background:#f4f8fd;border:1.5px solid #dce5f2;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:flex}.phy-card--assigned .phy-lesson-row{background:#fff;border-color:#fde68a}.phy-lesson-info{flex:200px;gap:3px;min-width:0;display:grid}.phy-lesson-name{color:#1e2438;font-size:.92rem;font-weight:700}.phy-lesson-meta{color:#4e5670;flex-wrap:wrap;align-items:center;gap:8px;font-size:.8rem;display:flex}.phy-stars-inline{align-items:center;gap:2px;display:inline-flex}.phy-open-btn{color:#1e2438;background:#ffc800;border:2px solid #d99000;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;min-width:92px;min-height:44px;padding:0 14px;font-family:inherit;font-size:.86rem;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 4px #b87400,inset 0 3px #ffffff73}.phy-open-btn:active{transform:translateY(2px);box-shadow:0 2px #b87400,inset 0 2px #ffffff73}.phy-open-btn.is-done{color:#fff;background:#15803d;border-color:#166534;box-shadow:0 4px #14532d,inset 0 3px #4ade80}.phy-open-btn.is-done:active{transform:translateY(2px);box-shadow:0 2px #14532d,inset 0 2px #4ade80}.phy-open-btn.is-cobalt{color:#fff;background:#2558c8;border-color:#1d4ed8;box-shadow:0 4px #173b96}.phy-chapter-list{gap:10px;display:grid}.phy-chapter-box{background:#fff;border:2px solid #c7dbf6;border-radius:14px;overflow:hidden}.phy-chapter-toggle{color:#1e2438;cursor:pointer;text-align:left;background:#f4f8fd;border:0;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 14px;font-family:inherit;font-size:.94rem;font-weight:700;display:flex}.phy-chapter-toggle[aria-expanded=true]{color:#1740a0;background:#e8f0fe;border-bottom:2px solid #c7dbf6}.phy-chapter-count{color:#1740a0;font-variant-numeric:tabular-nums;background:#fff;border:1.5px solid #c7dbf6;border-radius:999px;flex-shrink:0;padding:3px 10px;font-size:.8rem;font-weight:700}.phy-chapter-body{gap:8px;padding:10px;display:grid}.phy-stage-shell{color:#1e2438;background:#f0f7ff;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);width:100%;max-width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;display:grid;overflow:hidden}.phy-stage-shell.is-presenting{background:#0f172a;grid-template-rows:minmax(0,1fr)}.phy-exit-present-btn{z-index:10;opacity:.94;min-height:44px;padding:0 12px;font-size:.84rem;position:absolute;top:10px;right:12px}.phy-exit-present-btn:hover,.phy-exit-present-btn:focus-visible{opacity:1}@media (max-width:520px){.phy-exit-present-btn{padding:0 10px;font-size:.8rem;top:8px;right:8px}}.phy-stage-bar{background:#fff;border-bottom:2px solid #c7dbf6;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:6px 14px;display:flex}.phy-stage-title{color:#1e2438;text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;margin:0;font-size:.98rem;font-weight:700;overflow:hidden}@media (max-width:640px){.phy-stage-bar{gap:8px;padding:6px 10px}.phy-stage-title{display:none}}.phy-stage-btn{color:#1740a0;cursor:pointer;background:#f4f8fd;border:2px solid #c7dbf6;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:0 12px;font-family:inherit;font-size:.86rem;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 3px #c7dbf6}.phy-stage-btn.is-pri{color:#fff;background:#2558c8;border-color:#1d4ed8;box-shadow:0 3px #173b96}.phy-stage-frame-wrap{width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.phy-stage-shell.is-presenting .phy-stage-frame-wrap{min-height:0}.phy-stage-frame{background:#f6f2e9;border:0;width:100%;height:100%;display:block}.phy-gate-page{color:#1e2438;background:#f0f7ff;place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.phy-gate-card{text-align:center;background:#fff;border:2px solid #c7dbf6;border-radius:18px;justify-items:center;gap:14px;width:min(520px,100%);padding:28px 22px;display:grid;box-shadow:0 5px #c7dbf6}.lop-join[data-subject=physics]{color:#1e2438;background:#f0f7ff}.lop-join[data-subject=physics] .storybook-halo{text-shadow:none;-webkit-text-stroke:0}.phy-science-field{gap:8px;display:grid}.phy-science-prompt{color:#1e2438;font-size:.88rem;font-weight:700}.phy-science-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.phy-science-pick{color:#1e2438;cursor:pointer;background:#f4f8fd;border:2px solid #c7dbf6;border-radius:12px;place-items:center;min-width:44px;min-height:48px;padding:6px;font-family:inherit;display:grid;box-shadow:0 3px #c7dbf6}.phy-science-pick.is-on{color:#1740a0;background:#e8f0fe;border-color:#2558c8;box-shadow:0 3px #173b96}.lop-show[data-subject=physics]{font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);background:#ebf5ff}.lop-show[data-subject=physics] .sb-title,.lop-show[data-subject=physics] .sb-wait-title,.lop-show[data-subject=physics] .sb-ped-nm,.lop-show[data-subject=physics] .sb-spot-nm{font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif)}.phy-cert-banner{color:#1740a0;font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);background:0 0;border:0;border-radius:0;margin:2px 0 0;padding:0;font-size:.875rem;font-weight:700;line-height:1.35;display:inline-block}.sb-diploma-page[data-subject=physics]{background:#f0f7ff}.sb-diploma-page[data-subject=physics] .sb-diploma-hero-title{font-family:var(--font-ui,"Be Vietnam Pro", system-ui, -apple-system, sans-serif);text-shadow:none;-webkit-text-stroke:0}}
