:root{--bg:#fff;--sidebar-bg:#f7f8fa;--surface:#fff;--surface-subtle:#f7f8fa;--surface-hover:#f1f3f6;--lane:#f7f8fa;--border:#e6e8ee;--border-strong:#d9dce4;--ink:#1b1d23;--ink-2:#454955;--muted:#6b7080;--brand-cyan:#03c2fc;--brand-blue:#397dfc;--brand-violet:#9b5ff9;--brand-gradient:linear-gradient(90deg, #03c2fc 0%, #397dfc 47%, #9b5ff9 100%);--accent:#2f6be0;--accent-hover:#1f4fb0;--accent-soft:#edf3ff;--accent-ink:#fff;--primary:#1b1d23;--primary-hover:#2c2f38;--primary-ink:#fff;--hero-bg:#1b1d23;--hero-ink:#fff;--hero-ink-2:#d5d8e0;--hero-muted:#9aa0ae;--hero-kicker:#7fd9ff;--danger:#c8322b;--danger-soft:#fdeeed;--warn:#9a5b0c;--warn-soft:#fcf4e4;--ok:#0b7a3b;--ok-soft:#e8f6ee;--info:#2f6be0;--info-soft:#edf3ff;--radius-sm:9px;--radius:12px;--radius-lg:18px;--shadow-xs:0 1px 2px #1b1d230d;--shadow-sm:0 1px 3px #1b1d2312, 0 1px 2px #1b1d230a;--shadow-modal:0 24px 60px -12px #1b1d2347, 0 4px 12px #1b1d2314;--font-sans:"Inter", "IBM Plex Sans Thai", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;--font-serif:var(--font-sans);--font-mono:ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;--topbar-h:58px;--sidebar-w:272px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#121317;--sidebar-bg:#16171c;--surface:#1a1b21;--surface-subtle:#202128;--surface-hover:#272932;--lane:#18191e;--border:#2a2d36;--border-strong:#3a3e49;--ink:#eceef2;--ink-2:#c4c7d0;--muted:#9095a3;--accent:#7aa8ff;--accent-hover:#a2c2ff;--accent-soft:#1c2640;--accent-ink:#0d1424;--primary:#eceef2;--primary-hover:#fff;--primary-ink:#121317;--hero-bg:#0b0c0f;--hero-ink:#fff;--hero-ink-2:#d5d8e0;--hero-muted:#8a90a0;--hero-kicker:#7fd9ff;--danger:#f2837c;--danger-soft:#35191a;--warn:#e9b45b;--warn-soft:#2e2414;--ok:#5fd08f;--ok-soft:#132a1d;--info:#7aa8ff;--info-soft:#1c2640;--shadow-xs:0 1px 2px #0000004d;--shadow-sm:0 2px 8px #00000059;--shadow-modal:0 24px 60px #0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#121317;--sidebar-bg:#16171c;--surface:#1a1b21;--surface-subtle:#202128;--surface-hover:#272932;--lane:#18191e;--border:#2a2d36;--border-strong:#3a3e49;--ink:#eceef2;--ink-2:#c4c7d0;--muted:#9095a3;--accent:#7aa8ff;--accent-hover:#a2c2ff;--accent-soft:#1c2640;--accent-ink:#0d1424;--primary:#eceef2;--primary-hover:#fff;--primary-ink:#121317;--hero-bg:#0b0c0f;--hero-ink:#fff;--hero-ink-2:#d5d8e0;--hero-muted:#8a90a0;--hero-kicker:#7fd9ff;--danger:#f2837c;--danger-soft:#35191a;--warn:#e9b45b;--warn-soft:#2e2414;--ok:#5fd08f;--ok-soft:#132a1d;--info:#7aa8ff;--info-soft:#1c2640;--shadow-xs:0 1px 2px #0000004d;--shadow-sm:0 2px 8px #00000059;--shadow-modal:0 24px 60px #0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.c-blue{--c:#397dfc;--c-ink:#2f6be0}.c-teal{--c:#0896c4;--c-ink:#0679a0}.c-purple{--c:#9b5ff9;--c-ink:#7a3fe0}.c-green{--c:#12a150;--c-ink:#0b7a3b}.c-orange{--c:#ef7d2f;--c-ink:#c25a12}.c-pink{--c:#e0559a;--c-ink:#b8357a}.c-red{--c:#e5484d;--c-ink:#c32a2f}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .c-blue{--c:#6ea1ff;--c-ink:#8cb4ff}:root:not([data-theme=light]) .c-teal{--c:#3cc4ec;--c-ink:#6fd3f2}:root:not([data-theme=light]) .c-purple{--c:#b38cff;--c-ink:#c5a6ff}:root:not([data-theme=light]) .c-green{--c:#4fcf86;--c-ink:#6fdc9d}:root:not([data-theme=light]) .c-orange{--c:#f59a5a;--c-ink:#f7b07e}:root:not([data-theme=light]) .c-pink{--c:#ee84b6;--c-ink:#f3a2c8}:root:not([data-theme=light]) .c-red{--c:#f07b7f;--c-ink:#f4999c}}:root[data-theme=dark] .c-blue{--c:#6ea1ff;--c-ink:#8cb4ff}:root[data-theme=dark] .c-teal{--c:#3cc4ec;--c-ink:#6fd3f2}:root[data-theme=dark] .c-purple{--c:#b38cff;--c-ink:#c5a6ff}:root[data-theme=dark] .c-green{--c:#4fcf86;--c-ink:#6fdc9d}:root[data-theme=dark] .c-orange{--c:#f59a5a;--c-ink:#f7b07e}:root[data-theme=dark] .c-pink{--c:#ee84b6;--c-ink:#f3a2c8}:root[data-theme=dark] .c-red{--c:#f07b7f;--c-ink:#f4999c}
*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--topbar-h) + 16px)}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.6}h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.25}h1{letter-spacing:-.03em;font-size:1.9rem;font-weight:600;line-height:1.15}h2{letter-spacing:-.01em;font-size:1.05rem;font-weight:600}h3{font-size:.96rem;font-weight:600}p{margin:0 0 .5rem}p:last-child{margin-bottom:0}a{color:var(--accent);text-underline-offset:2px}a:hover{color:var(--accent-hover)}code{font-family:var(--font-mono);background:var(--surface-subtle);border:1px solid var(--border);border-radius:5px;padding:.1em .38em;font-size:.86em}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.muted{color:var(--muted)}.small{font-size:.84rem}.xs{font-size:.76rem}.tnum{font-variant-numeric:tabular-nums}.grow{flex:1;min-width:0}.ico{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--ink);cursor:pointer;white-space:nowrap;box-shadow:var(--shadow-xs);justify-content:center;align-items:center;gap:.42rem;padding:.45rem .95rem;font-family:inherit;font-size:.88rem;font-weight:500;text-decoration:none;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong);color:var(--ink)}.btn:active:not(:disabled){transform:translateY(.5px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--primary-ink)}.btn-primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover);color:var(--primary-ink)}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){filter:brightness(.92);color:#fff}.btn-danger-ghost{color:var(--danger);box-shadow:none;background:0 0;border-color:#0000}.btn-danger-ghost:hover:not(:disabled){background:var(--danger-soft);border-color:#0000}.btn-ghost{color:var(--ink-2);box-shadow:none;background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){background:var(--surface-hover);color:var(--ink);border-color:#0000}.btn-sm{min-height:34px;padding:.28rem .68rem;font-size:.82rem}.btn-icon{width:38px;min-height:38px;padding:0}.btn-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tag{white-space:nowrap;background:var(--surface-subtle);color:var(--ink-2);border-radius:999px;align-items:center;gap:.25rem;padding:.14rem .55rem;font-size:.74rem;font-weight:500;line-height:1.4;display:inline-flex}.tag-accent{background:var(--accent-soft);color:var(--accent)}.tag-ok{background:var(--ok-soft);color:var(--ok)}.tag-warn{background:var(--warn-soft);color:var(--warn)}.tag-danger{background:var(--danger-soft);color:var(--danger)}.tag-info{background:var(--info-soft);color:var(--info)}.dot{background:var(--c,var(--accent));border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.35rem}.card-tight{padding:.85rem 1rem}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.list-row{border-top:1px solid var(--border);align-items:center;gap:.85rem;padding:.8rem 1.05rem;display:flex}.list-row:first-child{border-top:0}.list-row:hover{background:var(--surface-subtle)}.empty-box{text-align:center;color:var(--muted);background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius);padding:1.75rem 1.25rem;font-size:.92rem}.notice{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-subtle);padding:.75rem .95rem;font-size:.9rem}.notice-warn{background:var(--warn-soft);color:var(--ink);border-color:#0000}.notice-ok{background:var(--ok-soft);border-color:#0000}.notice-danger{background:var(--danger-soft);color:var(--danger);border-color:#0000}.field{flex-direction:column;gap:.3rem;margin-bottom:.9rem;display:flex}.field:last-child{margin-bottom:0}.field-label{color:var(--ink-2);font-size:.84rem;font-weight:500}input[type=text],input[type=email],input[type=password],input[type=url],input[type=date],input[type=search],select,textarea{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:40px;color:var(--ink);padding:.5rem .75rem;font-family:inherit;font-size:.92rem;transition:border-color .12s,box-shadow .12s}textarea{resize:vertical;min-height:82px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}input[type=file]{border-radius:var(--radius-sm);border:1px dashed var(--border-strong);background:var(--surface-subtle);cursor:pointer;width:100%;padding:.55rem;font-family:inherit;font-size:.86rem}.seg{flex-wrap:wrap;gap:.35rem;display:inline-flex}.radio-pill{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;align-items:center;gap:.45rem;padding:.38rem .78rem;font-size:.86rem;font-weight:500;display:inline-flex}.radio-pill input{accent-color:var(--accent);margin:0}.radio-pill:has(input:checked){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.grid-2,.grid-3{gap:0 .85rem;display:grid}@media (min-width:600px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:1.25fr 1fr 1fr}}.time-select{align-items:center;gap:.3rem;display:flex}.time-select select{width:auto;min-width:4.3rem}.color-swatches{flex-wrap:wrap;gap:.45rem;padding-top:.15rem;display:flex}.swatch{background:var(--c);cursor:pointer;border:2px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex;position:relative}.swatch input{opacity:0;cursor:pointer;position:absolute;inset:0}.swatch:has(input:checked){box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--ink)}.form-err{border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);margin:.75rem 0 0;padding:.6rem .8rem;font-size:.88rem}.form-err[hidden]{display:none}dialog#dlg{border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:var(--shadow-modal);border:0;padding:0;overflow:auto}dialog#dlg::backdrop{background:#1b1d236b}.dlg-pad{padding:1.4rem 1.5rem 1.5rem}.dlg-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.dlg-head h2{letter-spacing:-.02em;font-size:1.25rem;font-weight:600}.dlg-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:.5rem;margin-top:1.1rem;padding-top:.85rem;display:flex}.toast{z-index:60;border-radius:var(--radius);background:var(--ink);max-width:min(440px,100vw - 24px);color:var(--bg);box-shadow:var(--shadow-modal);align-items:center;gap:.5rem;padding:.6rem 1rem;font-size:.88rem;font-weight:500;display:inline-flex;position:fixed;bottom:76px;left:50%;transform:translate(-50%)}.toast[hidden]{display:none}@media (min-width:900px){.toast{bottom:24px}}
.shell{flex-direction:column;width:100%;min-height:100dvh;display:flex}.topbar{z-index:30;height:var(--topbar-h);background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;width:100%;padding:0 .75rem;display:flex;position:sticky;top:0}.topbar-left,.topbar-right{align-items:center;gap:.4rem;display:flex}.brand{color:var(--ink);align-items:center;gap:.6rem;text-decoration:none;display:inline-flex}.brand:hover{color:var(--ink)}.logo-emblem,.logo-wordmark{flex:none;display:block}.wordmark{letter-spacing:-.03em;color:var(--ink);font-size:1.4rem;font-weight:700;text-decoration:none}.wordmark-dot{display:none}.lang-bar{background:var(--surface-hover);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.lang-btn{color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.24rem .5rem;font-family:inherit;font-size:.72rem;font-weight:500}.lang-btn:hover{color:var(--ink)}.lang-btn.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-xs);font-weight:600}.user-chip{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:2px;display:inline-grid}.avatar{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:.74rem;font-weight:600;display:inline-grid}.avatar-student{background:color-mix(in srgb, var(--brand-violet) 14%, var(--surface));color:color-mix(in srgb, var(--brand-violet) 80%, var(--ink))}.body-grid{flex:1;width:100%;min-width:0;display:flex}.sidebar,.side-scrim{display:none}.main{width:100%;min-width:0;padding:1.25rem 1rem calc(84px + env(safe-area-inset-bottom));flex:1}.mobile-bar{z-index:25;background:var(--surface);border-top:1px solid var(--border);padding:.28rem .25rem env(safe-area-inset-bottom);justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-bar a{min-height:52px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;font-weight:500;text-decoration:none;display:flex}.mobile-bar a.is-active{color:var(--accent);font-weight:600}@media (max-width:899px){.shell.is-mobile-open .sidebar{z-index:45;width:min(300px,86vw);box-shadow:var(--shadow-modal);display:flex;position:fixed;top:0;bottom:0;left:0}.shell.is-mobile-open .side-scrim{z-index:44;background:#1b1d2366;display:block;position:fixed;inset:0}}@media (min-width:900px){.topbar,.mobile-bar{display:none}.sidebar{height:100dvh;width:var(--sidebar-w);flex:none;display:flex;position:sticky;top:0}.main{padding:2rem 2.5rem 2.75rem}}.sidebar{background:var(--sidebar-bg);border-right:1px solid var(--border);flex-direction:column;gap:1.05rem;padding:1.5rem .9rem 1.15rem;overflow-y:auto}.side-brand{padding:0 .6rem}.side-nav{flex-direction:column;gap:2px;display:flex}.side-link{border-radius:var(--radius-sm);min-height:42px;color:var(--ink-2);align-items:center;gap:.75rem;padding:0 .7rem;font-size:.92rem;font-weight:500;text-decoration:none;transition:background .12s,color .12s;display:flex}.side-link .ico{color:var(--muted)}.side-link:hover{background:var(--surface-hover);color:var(--ink)}.side-link.is-active{background:var(--accent-soft);color:var(--ink);font-weight:600}.side-link.is-active .ico{color:var(--brand-blue)}.side-label{flex:1;min-width:0}.side-count{color:var(--muted);font-size:.78rem}.side-badge{margin-left:auto}.side-divider{background:var(--border);flex:none;height:1px}.side-classes-wrap{flex-direction:column;gap:2px;display:flex}.side-section-btn{border-radius:var(--radius-sm);width:100%;min-height:38px;color:var(--ink-2);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:.75rem;padding:0 .7rem;font-family:inherit;font-size:.9rem;font-weight:600;display:flex}.side-section-btn .ico{color:var(--muted)}.side-section-btn:hover{background:var(--surface-hover);color:var(--ink)}.side-caret{color:var(--muted);margin-left:auto;display:inline-flex}.side-caret .ico{width:16px;height:16px}.side-class-list{flex-direction:column;gap:2px;display:flex}.side-class-item{border-radius:var(--radius-sm);color:var(--ink);align-items:center;gap:.7rem;padding:.45rem .7rem;text-decoration:none;transition:background .12s;display:flex}.side-class-item:hover{background:var(--surface-hover);color:var(--ink)}.side-class-item.is-active{background:var(--accent-soft)}.side-class-dot{background:var(--c,var(--accent));color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:.8rem;font-weight:600;display:inline-grid}.side-class-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.side-class-name{white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.side-class-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.side-empty{color:var(--muted);padding:.35rem .7rem;font-size:.82rem}.side-bottom{flex-direction:column;gap:.85rem;margin-top:auto;padding-top:.5rem;display:flex}.storage-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--ink-2);flex-direction:column;gap:.6rem;padding:.8rem .85rem;text-decoration:none;display:flex}.storage-card:hover,.storage-card.is-active{border-color:var(--border-strong);color:var(--ink)}.storage-card-head{align-items:center;gap:.5rem;font-size:.84rem;display:flex}.storage-card-head .ico{width:16px;height:16px;color:var(--muted)}.storage-card-label{flex:1;font-weight:500}.storage-text{color:var(--muted);font-size:.74rem}.storage-track{background:var(--border);border-radius:999px;width:100%;height:4px;display:block;overflow:hidden}.storage-fill{background:var(--brand-blue);border-radius:999px;height:100%;transition:width .25s;display:block}.storage-fill.is-warn{background:var(--warn)}.storage-fill.is-danger{background:var(--danger)}.side-user{border-radius:var(--radius-sm);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.65rem;padding:.35rem .5rem;font-family:inherit;display:flex}.side-user:hover{background:var(--surface-hover)}.side-user .avatar{width:34px;height:34px}.side-user-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.side-user-name{font-size:.86rem;font-weight:600}.side-user-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.72rem;overflow:hidden}.side-status{justify-content:space-between;align-items:center;gap:.5rem;padding:0 .5rem;display:flex}.mode-badge{color:var(--muted);white-space:nowrap;align-items:center;gap:.4rem;font-size:.72rem;display:inline-flex}.mode-dot{background:var(--ok);border-radius:50%;width:6px;height:6px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.9rem 1rem;margin-bottom:1.6rem;display:flex}.page-sub{color:var(--muted);margin-top:.4rem;font-size:.92rem}.page-sub-list{flex-wrap:wrap;align-items:center;gap:.25rem .55rem;display:flex}.page-sub-list .sep{color:var(--border-strong)}.page-sub-strong{color:var(--ink-2)}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.85rem;display:flex}.back-link{color:var(--muted);align-items:center;gap:.3rem;margin-bottom:.9rem;font-size:.86rem;font-weight:500;text-decoration:none;display:inline-flex}.back-link:hover{color:var(--ink)}.next-card{background:var(--hero-bg);color:var(--hero-ink);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.1rem 1.5rem;margin-bottom:2rem;padding:1.6rem 1.75rem;display:flex;position:relative;overflow:hidden}.next-card:before{content:"";background:var(--brand-gradient);height:3px;position:absolute;inset:0 0 auto}.next-card.is-conflict:before{background:var(--danger)}.next-main{flex-direction:column;flex:420px;gap:.7rem;min-width:0;display:flex}.next-kicker-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.next-kicker{background:var(--brand-blue);color:#fff;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:.3rem .8rem;font-size:.78rem;font-weight:700;display:inline-flex}.next-rel{color:var(--hero-kicker);font-size:.92rem;font-weight:500}.next-title{letter-spacing:-.025em;font-size:1.75rem;font-weight:600;line-height:1.15}.next-meta{color:var(--hero-ink-2);flex-wrap:wrap;gap:.55rem 1.6rem;font-size:.92rem;display:flex}.next-meta-item{align-items:center;gap:.5rem;min-width:0;display:inline-flex}.next-meta-item .ico{width:16px;height:16px;color:var(--hero-muted)}.next-tags{flex-wrap:wrap;gap:.4rem;display:flex}.next-actions{flex-wrap:wrap;gap:.5rem;display:flex}.next-card .btn{min-height:40px}.next-card .btn:not(.btn-on-dark){color:#1b1d23;background:#fff;border-color:#fff}.next-card .btn:not(.btn-on-dark):hover{color:#1b1d23;background:#eef0f4}.btn-on-dark{color:#fff;box-shadow:none;background:0 0;border-color:#ffffff3d}.btn-on-dark:hover:not(:disabled){color:#fff;background:#ffffff14;border-color:#fff6}.week-cal{flex-direction:column;gap:1rem;display:flex}.cal-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;display:flex}.cal-title{flex-wrap:wrap;align-items:baseline;gap:.35rem .8rem;display:flex}.cal-range{letter-spacing:-.015em;font-size:1.15rem;font-weight:600}.cal-summary{color:var(--muted);font-size:.86rem}.week-switcher{align-items:center;gap:.4rem;display:inline-flex}.week-switcher a{border:1px solid var(--border);background:var(--surface);min-width:38px;height:38px;color:var(--ink-2);border-radius:10px;justify-content:center;align-items:center;padding:0 .55rem;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-flex}.week-switcher a.ws-today{color:var(--ink);padding:0 1.05rem}.week-switcher a:hover{border-color:var(--border-strong);color:var(--ink)}.week-switcher a.is-current{border-color:var(--border-strong)}.cal-filters{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding-bottom:.75rem;display:flex}.filter-pills{flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.9rem;display:flex}.cal-filters .filter-pills{margin-bottom:0}.pill{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--ink-2);cursor:pointer;border-radius:9px;align-items:center;gap:.4rem;padding:0 .85rem;font-family:inherit;font-size:.84rem;font-weight:500;display:inline-flex}.pill:hover{border-color:var(--border-strong);color:var(--ink)}.pill.is-active{background:var(--primary);border-color:var(--primary);color:var(--primary-ink);font-weight:600}.pill-plain:not(.is-active){background:0 0;border-color:#0000}.filter-toggle{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--ink-2);cursor:pointer;border-radius:9px;align-items:center;gap:.45rem;padding:0 .7rem;font-family:inherit;font-size:.8rem;font-weight:500;display:inline-flex}.filter-toggle .ico{width:14px;height:14px}.filter-toggle:hover{border-color:var(--border-strong);color:var(--ink)}.filter-dots{gap:3px;display:inline-flex}.filter-dots .dot{width:6px;height:6px}.week-scroll{overflow-x:auto}.week-grid{gap:.75rem;display:grid}@media (min-width:1024px){.week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:.55rem;min-width:860px}}.day-col{flex-direction:column;gap:.6rem;min-width:0;display:flex}.day-head{align-items:center;gap:.45rem;min-height:30px;padding:0 .3rem;display:flex}.day-dow{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.72rem;font-weight:600}.day-num{min-width:28px;height:28px;color:var(--ink);place-items:center;font-size:.95rem;font-weight:600;display:inline-grid}.day-num.is-today{background:var(--brand-blue);color:#fff;border-radius:50%}.day-col.is-today .day-dow{color:var(--accent)}.day-count{color:var(--muted);margin-left:auto;font-size:.72rem}.day-lane{border-radius:var(--radius);background:var(--lane);flex-direction:column;flex:1;gap:.5rem;padding:.5rem;display:flex}@media (min-width:1024px){.day-lane{min-height:max(380px,100dvh - 430px)}.week-grid.is-compact .day-lane{min-height:220px}}.day-col.is-today .day-lane{background:var(--accent-soft)}.day-none{text-align:center;color:var(--muted);padding:.6rem 0;font-size:.8rem}.day-col.is-today .day-none{color:var(--accent)}.day-add{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);min-height:38px;color:var(--muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:.35rem;font-family:inherit;font-size:.8rem;font-weight:500;display:none}.day-add .ico{width:14px;height:14px}.day-add.is-today{border-color:color-mix(in srgb, var(--brand-blue) 45%, transparent);color:var(--accent);display:flex}.day-col:hover .day-add,.day-add:focus-visible{display:flex}.day-add:hover{border-color:var(--accent);color:var(--accent)}.lesson-item{border:1px solid var(--border);border-left:3px solid var(--c,var(--accent));background:var(--surface);width:100%;color:var(--ink);text-align:left;cursor:pointer;box-shadow:var(--shadow-xs);border-radius:10px;flex-direction:column;align-items:stretch;gap:.25rem;padding:.7rem .7rem .7rem .75rem;font-family:inherit;text-decoration:none;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.lesson-item:hover{border-color:var(--border-strong);border-left-color:var(--c,var(--accent));box-shadow:var(--shadow-sm);color:var(--ink)}.lesson-item.is-canceled{background:var(--surface-subtle);border-left-style:dashed}.lesson-item.is-canceled .lesson-title,.lesson-item.is-canceled .lesson-time>span:first-child{color:var(--muted);text-decoration:line-through}.lesson-item.is-conflict{border-color:var(--danger);border-left-color:var(--danger);background:var(--danger-soft)}.lesson-item.is-conflict .lesson-time{color:var(--danger)}.next-card.is-conflict,.lesson-hero.is-conflict{border-color:var(--danger);border-left-color:var(--danger)}.lesson-time{color:var(--c-ink,var(--accent));font-variant-numeric:tabular-nums;align-items:center;gap:.4rem;font-size:.82rem;font-weight:700;display:flex}.lesson-time>span:first-child{flex:1;min-width:0}.lesson-done{color:var(--ok);display:inline-flex}.lesson-done .ico{stroke-width:2.4px;width:14px;height:14px}.lesson-title{overflow-wrap:anywhere;font-size:.9rem;font-weight:700;line-height:1.3}.lesson-place{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.lesson-students{min-width:0;color:var(--ink-2);align-items:center;gap:.35rem;margin-top:.1rem;font-size:.76rem;font-weight:600;display:flex}.lesson-students .ico{width:13px;height:13px;color:var(--muted)}.lesson-students span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lesson-students.is-none{color:var(--muted);font-style:italic;font-weight:400}.lesson-tags{flex-wrap:wrap;gap:.25rem;margin-top:.25rem;display:flex}.lesson-preview{position:relative}.lesson-preview:before{content:"";background:var(--c,var(--brand-blue));height:4px;position:absolute;inset:0 0 auto}.lp-when{color:var(--c-ink,var(--accent));margin:-.6rem 0 1rem;font-size:.9rem;font-weight:700}.lp-rows{color:var(--ink-2);flex-direction:column;gap:.75rem;font-size:.94rem;display:flex}.lp-row{align-items:flex-start;gap:.6rem;display:flex}.lp-row>.ico,.lp-row>span>.ico{color:var(--muted);margin-top:2px}.lp-status{color:var(--ink-2);font-weight:600}.lp-status.is-ok{color:var(--ok)}.lp-status.is-danger{color:var(--danger)}.lp-status.is-accent{color:var(--accent)}.lp-tags{flex-wrap:wrap;gap:.35rem;display:flex}.class-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.gc-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;transition:border-color .14s,box-shadow .14s;display:flex;overflow:hidden}.gc-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.gc-banner{color:var(--ink);flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:.85rem;padding:1.15rem 1.2rem .35rem;text-decoration:none;display:flex}.gc-banner:hover{color:var(--ink)}.gc-banner-text{min-width:0}.gc-title{letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:1.05rem;font-weight:600;line-height:1.3;overflow:hidden}.gc-sub,.gc-teacher{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;overflow:hidden}.gc-avatar{background:var(--c,var(--accent));color:#fff;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:.95rem;font-weight:600;display:inline-grid}.gc-body{color:var(--ink-2);flex-direction:column;flex:1;gap:.45rem;padding:.75rem 1.2rem 1rem;font-size:.86rem;text-decoration:none;display:flex}.gc-body:hover{color:var(--ink-2)}.gc-line{align-items:center;gap:.45rem;min-width:0;display:flex}.gc-line .ico{width:15px;height:15px;color:var(--muted)}.gc-line span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gc-next{color:var(--c-ink,var(--accent));margin-top:.2rem;font-size:.82rem;font-weight:600}.gc-foot{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding:.5rem .75rem .5rem 1.2rem;display:flex}.gc-actions{align-items:center;gap:.1rem;display:inline-flex}.gc-icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:.25rem;padding:.4rem .5rem;font-family:inherit;font-size:.76rem;font-weight:500;text-decoration:none;display:inline-flex}.gc-icon-btn:hover{background:var(--surface-hover);color:var(--ink)}.gc-icon-btn .ico{width:17px;height:17px}.gc-count{font-variant-numeric:tabular-nums}.tabs{border-bottom:1px solid var(--border);gap:1.4rem;margin:1.25rem 0 1.5rem;display:flex;overflow-x:auto}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;margin-bottom:-1px;padding:.6rem .1rem;font-size:.92rem;font-weight:500;text-decoration:none;display:inline-flex}.tabs a:hover{color:var(--ink)}.tabs a.is-active{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.stack{flex-direction:column;gap:.75rem;display:flex}.assign-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.15rem 1.3rem}.assign-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.45rem;display:flex}.assign-title{letter-spacing:-.01em;font-size:1rem;font-weight:600}.assign-body{color:var(--ink-2);white-space:pre-wrap;margin:.4rem 0 .75rem;font-size:.92rem}.sub-box{border-top:1px solid var(--border);margin-top:.85rem;padding-top:.85rem}.feedback-box{border-left:3px solid var(--brand-blue);background:var(--accent-soft);border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin-top:.55rem;padding:.65rem .85rem;font-size:.88rem}.dropzone{border:1.5px dashed var(--border-strong);border-radius:var(--radius);text-align:center;background:var(--surface-subtle);padding:1.35rem;transition:border-color .15s,background .15s}.dropzone.is-drag{border-color:var(--accent);background:var(--accent-soft)}.file-icon-box{background:var(--surface-hover);width:38px;height:38px;color:var(--ink-2);border-radius:10px;flex:none;place-items:center;display:inline-grid}.lesson-hero{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--c,var(--accent));border-radius:var(--radius-lg);padding:1.4rem 1.5rem;position:relative;overflow:hidden}.lesson-hero .next-meta{color:var(--ink-2);align-items:center}.lesson-hero .next-meta .ico{color:var(--muted)}.lesson-big-time{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:.35rem 0;font-size:1.5rem;font-weight:600}.line-box{background:var(--ok-soft);border:1px solid color-mix(in srgb, var(--ok) 25%, transparent);border-radius:var(--radius);margin-bottom:1.25rem;padding:1rem 1.15rem}.line-pre{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);white-space:pre-wrap;font-family:var(--font-sans);margin:.6rem 0 0;padding:.8rem .9rem;font-size:.88rem}.auth-page{background:var(--sidebar-bg);place-items:center;min-height:100dvh;padding:2.5rem 1rem;display:grid}.auth-wrap{width:100%;max-width:660px}.auth-header{justify-content:space-between;align-items:center;margin-bottom:1.75rem;display:flex}.auth-intro h1{margin-bottom:.5rem;font-size:2.1rem}.auth-intro p{color:var(--muted);max-width:52ch}.account-grid{gap:.6rem;margin-top:.6rem;display:grid}@media (min-width:560px){.account-grid{grid-template-columns:1fr 1fr}}.account-btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--ink);text-align:left;cursor:pointer;align-items:center;gap:.75rem;padding:.8rem .9rem;font-family:inherit;transition:border-color .12s,box-shadow .12s;display:flex}.account-btn:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.account-name{font-size:.92rem;font-weight:600}.account-sub{color:var(--muted);font-size:.78rem}.qr-wrap{flex-wrap:wrap;align-items:flex-start;gap:1.25rem;display:flex}.qr-frame{border:1px solid var(--border);border-radius:var(--radius);background:#fff;flex:none;width:168px;height:168px;padding:8px}.qr-frame svg{width:100%;height:100%;display:block}.preview-img{border-radius:var(--radius-sm);max-width:100%;max-height:65vh;margin:0 auto;display:block}.preview-text{white-space:pre-wrap;word-break:break-word;font-family:var(--font-mono);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);max-height:60vh;padding:.9rem;font-size:.84rem;overflow:auto}.preview-pdf{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;height:65vh}.request-card{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--warn);border-radius:var(--radius);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem 1.05rem;display:flex}.loc-fields[data-kind=online] .only-place,.loc-fields[data-kind=place] .only-online,.loc-fields[data-kind=default] .only-custom{display:none}.topic-section{margin-bottom:1.6rem}.topic-head{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:.5rem .1rem .6rem;font-family:inherit;display:flex}.topic-head h2{letter-spacing:-.01em;color:var(--ink);font-size:1.05rem;font-weight:600}.topic-head-right{color:var(--muted);align-items:center;gap:.45rem;display:inline-flex}.tag-chip{color:var(--ink-2);background:var(--surface-hover);border-radius:999px;align-items:center;padding:.08rem .5rem;font-size:.72rem;font-weight:500;display:inline-flex}.todo-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:.75rem 1rem;padding:.9rem 1.1rem;display:flex}.todo-check{cursor:pointer;align-items:center;display:inline-flex}.todo-check input{width:18px;height:18px;accent-color:var(--brand-blue);cursor:pointer;margin:0}.todo-title{margin-top:.15rem;font-size:.96rem;font-weight:600}.todo-inline-check{cursor:pointer;align-items:center;gap:.35rem;display:inline-flex}.todo-inline-check input{width:16px;height:16px;accent-color:var(--brand-blue);cursor:pointer;margin:0}.check-row{cursor:pointer;align-items:flex-start;gap:.65rem;font-size:.9rem;display:flex}.check-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand-blue);cursor:pointer;flex:none;margin-top:2px}.inline-add{align-items:center;gap:.45rem;display:flex}.inline-add select,.inline-add input[type=text]{flex:1;min-width:0}.pick-pills{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.pick-pill{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink-2);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:999px;align-items:center;gap:.32rem;padding:.26rem .7rem;font-size:.8rem;font-weight:500;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.pick-pill input{width:14px;height:14px;accent-color:var(--brand-blue);margin:0}.pick-pill:hover{border-color:var(--accent)}.pick-pill:has(input:checked){background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.label-chip-row{border:1px solid var(--border);background:var(--surface-subtle);color:var(--ink);border-radius:999px;align-items:center;gap:.35rem;padding:.22rem .55rem .22rem .75rem;font-size:.82rem;display:inline-flex}.label-chip-row button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0 .15rem;font-size:1rem;line-height:1}.label-chip-row button:hover{color:var(--danger);background:var(--danger-soft)}.side-brand{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.bell{width:38px;height:38px;color:var(--ink-2);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:none;place-items:center;display:inline-grid;position:relative}.bell:hover,.bell.is-open{background:var(--surface-hover);color:var(--ink)}.bell.is-open{border-color:var(--border)}.bell .ico{width:19px;height:19px}.bell-badge{background:var(--brand-blue);color:#fff;text-align:center;min-width:17px;height:17px;box-shadow:0 0 0 2px var(--sidebar-bg);border-radius:999px;padding:0 4px;font-size:.66rem;font-weight:700;line-height:17px;position:absolute;top:3px;right:3px}.notif-panel{z-index:50;top:calc(var(--topbar-h) + 6px);width:min(380px,100vw - 16px);max-height:min(560px, calc(100dvh - var(--topbar-h) - 24px));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);flex-direction:column;display:flex;position:fixed;right:8px;overflow:hidden}@media (min-width:900px){.notif-panel{top:1rem;left:calc(var(--sidebar-w) - 8px);max-height:calc(100dvh - 2rem);right:auto}}.notif-head{border-bottom:1px solid var(--border);align-items:center;gap:.6rem;padding:.9rem .75rem .75rem 1.15rem;display:flex}.notif-head h2{font-size:1rem}.notif-scroll{padding:.35rem .5rem .75rem;overflow-y:auto}.notif-group{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:.75rem .65rem .35rem;font-size:.7rem;font-weight:600}.notif-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.notif{border-radius:var(--radius-sm);color:var(--ink);align-items:flex-start;gap:.75rem;padding:.65rem;text-decoration:none;display:flex}.notif:hover{background:var(--surface-hover);color:var(--ink)}.notif.is-unread{background:color-mix(in srgb, var(--accent-soft) 70%, transparent)}.notif-ico{background:var(--surface-hover);width:32px;height:32px;color:var(--ink-2);border-radius:50%;flex:none;place-items:center;display:inline-grid}.notif-ico .ico{width:16px;height:16px}.notif.tone-danger .notif-ico{background:var(--danger-soft);color:var(--danger)}.notif.tone-warn .notif-ico{background:var(--warn-soft);color:var(--warn)}.notif.tone-info .notif-ico{background:var(--info-soft);color:var(--info)}.notif.tone-ok .notif-ico{background:var(--ok-soft);color:var(--ok)}.notif-main{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.notif-title{font-size:.88rem;font-weight:600;line-height:1.35}.notif-body{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.notif-meta{color:var(--muted);align-items:center;gap:.35rem;font-size:.74rem;display:flex}.notif-meta .dot{width:6px;height:6px}.notif-dot{background:var(--brand-blue);border-radius:50%;flex:none;width:8px;height:8px;margin-top:.4rem}.notif-empty{color:var(--muted);flex-direction:column;align-items:center;gap:.5rem;padding:2.25rem 1rem;font-size:.9rem;display:flex}.notif-empty .ico{width:28px;height:28px}.notif-empty strong{color:var(--ink-2)}@media (min-width:900px){.main{padding:2.5rem 3rem 3rem}}.page-head{margin-bottom:2rem}.section{margin-top:2.5rem}.section-head{margin-bottom:1rem}.stack{gap:1rem}.list-row{padding:.95rem 1.2rem}.class-grid{gap:1.25rem}.tabs{margin:1.5rem 0 1.75rem}.lesson-hero+.tabs{margin-top:1.75rem}.week-cal{gap:1.25rem}.week-grid{gap:.85rem}@media (min-width:1024px){.week-grid{gap:.65rem}}.day-lane{gap:.6rem;padding:.55rem}.next-card{margin-bottom:2.5rem}.empty-box{padding:2.25rem 1.5rem}.lesson-time>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lesson-item{padding:.65rem .6rem .65rem .7rem}.tabs{scrollbar-width:none;overflow-y:hidden}.tabs::-webkit-scrollbar{display:none}.lang-btn{white-space:nowrap}.storage-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:.9rem;margin-bottom:1.75rem;padding:1.15rem 1.3rem;display:flex}.st-row{align-items:center;gap:.75rem;display:flex}.st-ico{background:var(--accent-soft);width:38px;height:38px;color:var(--brand-blue);border-radius:11px;flex:none;place-items:center;display:grid}.st-totals{align-items:baseline;gap:.35rem;display:flex}.st-used{letter-spacing:-.02em;font-size:1.35rem;font-weight:700}.st-of{color:var(--muted);font-size:.9rem}.st-left{color:var(--muted);margin-left:auto;font-size:.84rem}.st-left.is-warn{color:var(--warn)}.st-left.is-danger{color:var(--danger)}.st-meter{background:var(--border);border-radius:999px;gap:2px;height:12px;display:flex;overflow:hidden}.st-seg{background:var(--c);height:100%}.st-seg.is-other{background:var(--muted)}.st-legend{flex-wrap:wrap;gap:.5rem 1.4rem;margin:0;padding:0;list-style:none;display:flex}.st-legend li{align-items:center;gap:.45rem;font-size:.84rem;display:inline-flex}.st-legend i{background:var(--c);border-radius:3px;flex:none;width:10px;height:10px}.st-legend i.is-other{background:var(--muted)}.st-legend li.is-free i{background:var(--border-strong)}.st-name{color:var(--ink-2)}.st-size{color:var(--muted)}.st-kinds{border-top:1px solid var(--border);flex-wrap:wrap;gap:.5rem;padding-top:.85rem;display:flex}.st-kind{background:var(--surface-subtle);border:1px solid var(--border);color:var(--ink-2);border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .75rem;font-size:.8rem;display:inline-flex}.st-kind .ico{width:14px;height:14px;color:var(--muted)}.st-kind b{color:var(--ink);font-weight:600}.empty-box{border-style:solid;border-color:var(--border);color:var(--ink-2);flex-direction:column;align-items:center;gap:.85rem;display:flex}.empty-box:before{content:"";background:linear-gradient(90deg, var(--brand-blue) 0 4px, transparent 4px) 14px 14px / 76px 16px no-repeat, linear-gradient(var(--border-strong), var(--border-strong)) 26px 19px / 46px 6px no-repeat, linear-gradient(90deg, var(--brand-violet) 0 4px, transparent 4px) 14px 42px / 76px 16px no-repeat, linear-gradient(var(--border), var(--border)) 26px 47px / 34px 6px no-repeat, linear-gradient(var(--surface), var(--surface)) 10px 10px / 84px 24px no-repeat, linear-gradient(var(--surface), var(--surface)) 10px 38px / 84px 24px no-repeat, var(--surface-hover);width:104px;height:72px;box-shadow:inset 0 0 0 1px var(--border);border-radius:14px;display:block}.empty-box[data-empty-art]:before{background:var(--empty-art) center / contain no-repeat;box-shadow:none}.empty-box[data-empty-art=schedule]{--empty-art:url(/assets/empty/schedule.png)}.empty-box[data-empty-art=classes]{--empty-art:url(/assets/empty/classes.png)}.empty-box[data-empty-art=assignments]{--empty-art:url(/assets/empty/assignments.png)}.empty-box[data-empty-art=files]{--empty-art:url(/assets/empty/files.png)}.empty-box[data-empty-art=students]{--empty-art:url(/assets/empty/students.png)}.next-card+.empty-box:before,.empty-box.is-plain:before{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .empty-box[data-empty-art]:before{background-color:#f7f8fa;border-radius:16px}}:root[data-theme=dark] .empty-box[data-empty-art]:before{background-color:#f7f8fa;border-radius:16px}
.btn-lg{border-radius:12px;min-height:50px;padding:0 1.45rem;font-size:.98rem}.btn-lg .ico{width:16px;height:16px}.sp{background:var(--bg);min-height:100dvh;display:grid}@media (min-width:960px){.sp{grid-template-columns:minmax(380px,.9fr) 1.1fr}}.sp-brand{background:var(--hero-bg) url(/assets/auth/brand-panel.png) center top / cover no-repeat;color:#fff;flex-direction:column;justify-content:space-between;gap:2rem;padding:2.5rem;display:none;position:relative;overflow:hidden}@media (min-width:960px){.sp-brand{display:flex}}.sp-brand-line{z-index:1;letter-spacing:-.035em;max-width:12ch;font-size:1.9rem;font-weight:700;line-height:1.1;position:relative}.sp-panel{flex-direction:column;padding:1.25rem;display:flex}.sp-top{justify-content:space-between;align-items:center;gap:1rem;display:flex}.sp-top .back-link{margin:0}.sp-body{flex-direction:column;gap:1.5rem;width:100%;max-width:460px;margin:auto;padding:2.5rem 0;display:flex}.sp-body h1{font-size:1.9rem}.sp-logo{margin-bottom:.25rem}.sp-demo h2{align-items:center;gap:.5rem;margin-bottom:.85rem;font-size:1rem;display:flex}.sp-demo h2 .ico{width:15px;height:15px;color:var(--brand-blue)}.demo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem;display:grid}.demo-btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;align-items:center;gap:.6rem;padding:.6rem .7rem;font-family:inherit;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.demo-btn:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.demo-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.demo-text .account-name{white-space:nowrap;text-overflow:ellipsis;font-size:.86rem;overflow:hidden}.sp-or{color:var(--muted);align-items:center;gap:.75rem;font-size:.8rem;display:flex}.sp-or:before,.sp-or:after{content:"";background:var(--border);flex:1;height:1px}.sp-google{width:100%}.sp-tabs{background:var(--surface-hover);border-radius:12px;gap:4px;padding:4px;display:flex}.sp-tabs a{text-align:center;color:var(--ink-2);border-radius:9px;flex:1;padding:.55rem;font-size:.9rem;font-weight:500;text-decoration:none}.sp-tabs a.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-xs);font-weight:600}.sp-form .field{margin-bottom:1rem}.sp-submit{width:100%;margin-top:.25rem}.role-seg{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.role-opt{cursor:pointer;position:relative}.role-opt input{opacity:0;position:absolute;inset:0}.role-opt span{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);justify-content:center;align-items:center;gap:.5rem;min-height:46px;font-size:.9rem;font-weight:500;display:flex}.role-opt .ico{width:16px;height:16px;color:var(--muted)}.role-opt input:checked+span{border-color:var(--brand-blue);background:var(--accent-soft);color:var(--accent);font-weight:600}.role-opt input:checked+span .ico{color:var(--brand-blue)}.role-opt input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.sp-roles{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.role-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);color:var(--ink);cursor:pointer;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 1rem;font-family:inherit;display:flex}.role-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.role-ico{background:var(--accent-soft);width:52px;height:52px;color:var(--brand-blue);border-radius:50%;place-items:center;display:grid}.role-ico.is-student{background:color-mix(in srgb, var(--brand-violet) 14%, var(--surface));color:var(--brand-violet)}.role-ico .ico{width:24px;height:24px}@media (min-width:960px){.sp-brand{height:100dvh;position:sticky;top:0}}
:root{--ease-out:cubic-bezier(.2, .8, .2, 1);--ease-spring:cubic-bezier(.34, 1.56, .64, 1)}@keyframes rise-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes pop-in{0%{opacity:0;transform:scale(.94)translateY(6px)}to{opacity:1;transform:none}}@keyframes drop-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:none}}@keyframes slide-right{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:none}}@keyframes grow-width{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes shimmer{0%{background-position:0 0}to{background-position:200% 0}}@keyframes ring{0%,to{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}75%{transform:rotate(2deg)}}@keyframes badge-pop{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes today-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--brand-blue) 45%, transparent)}to{box-shadow:0 0 0 10px #0000}}@keyframes gentle-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.route-enter #main>*{animation:rise-in .55s var(--ease-out) both}.route-enter #main>:nth-child(2){animation-delay:60ms}.route-enter #main>:nth-child(3){animation-delay:.12s}.route-enter #main>:nth-child(4){animation-delay:.18s}.route-enter #main>:nth-child(5){animation-delay:.24s}.route-enter #main>:nth-child(n+6){animation-delay:.28s}.route-enter .day-col{animation:rise-in .5s var(--ease-out) both}.route-enter .day-col:first-child{animation-delay:.2s}.route-enter .day-col:nth-child(2){animation-delay:.24s}.route-enter .day-col:nth-child(3){animation-delay:.28s}.route-enter .day-col:nth-child(4){animation-delay:.32s}.route-enter .day-col:nth-child(5){animation-delay:.36s}.route-enter .day-col:nth-child(6){animation-delay:.4s}.route-enter .day-col:nth-child(7){animation-delay:.44s}.route-enter .lesson-item{animation:pop-in .45s var(--ease-spring) .5s both}.route-enter .gc-card,.route-enter .todo-row,.route-enter .assign-card,.route-enter .list-row,.route-enter .request-card,.route-enter .topic-section{animation:rise-in .5s var(--ease-out) both}.route-enter .class-grid>:nth-child(2),.route-enter .stack>:nth-child(2),.route-enter .list>:nth-child(2){animation-delay:60ms}.route-enter .class-grid>:nth-child(3),.route-enter .stack>:nth-child(3),.route-enter .list>:nth-child(3){animation-delay:.12s}.route-enter .class-grid>:nth-child(4),.route-enter .stack>:nth-child(4),.route-enter .list>:nth-child(4){animation-delay:.18s}.route-enter .class-grid>:nth-child(n+5),.route-enter .stack>:nth-child(n+5),.route-enter .list>:nth-child(n+5){animation-delay:.22s}.route-enter .storage-fill,.route-enter .st-seg{transform-origin:0;animation:grow-width .9s var(--ease-out) .25s both}.storage-fill,.st-seg{transform-origin:0}.route-enter .side-class-item{animation:slide-right .4s var(--ease-out) both}.side-link,.side-class-item,.side-row,.side-user,.storage-card{transition:background .2s,color .2s,border-color .2s,transform .2s}.side-link:hover,.side-class-item:hover{transform:translate(2px)}.side-link.is-active .ico{transition:transform .3s var(--ease-spring)}.side-link.is-active:hover .ico{transform:scale(1.12)}.bell .ico{transform-origin:50% 10%}.route-enter .bell:has(.bell-badge) .ico{animation:1s ease-in-out .6s ring}.bell-badge{animation:badge-pop .35s var(--ease-spring) both}.bell:hover .ico{animation:.8s ease-in-out ring}.notif-panel{animation:drop-in .28s var(--ease-out) both;transform-origin:0 0}.notif-list li{animation:rise-in .35s var(--ease-out) both}.notif-list li:nth-child(2){animation-delay:40ms}.notif-list li:nth-child(3){animation-delay:80ms}.notif-list li:nth-child(n+4){animation-delay:.12s}.next-card:before{background-image:linear-gradient(90deg,#03c2fc,#397dfc,#9b5ff9,#397dfc,#03c2fc);background-size:200% 100%;animation:6s linear infinite shimmer}.next-card .btn{transition:transform .2s var(--ease-out), background .2s, border-color .2s}.next-card .btn:hover{transform:translateY(-1px)}.day-num.is-today{animation:2.4s ease-out infinite today-pulse}.btn{transition:background .15s, border-color .15s, color .15s, transform .15s var(--ease-out), box-shadow .15s}.btn:active:not(:disabled){transform:scale(.97)}.lesson-item{transition:border-color .15s, box-shadow .2s, transform .2s var(--ease-out)}.lesson-item:hover{transform:translateY(-2px)}.gc-card{transition:border-color .2s, box-shadow .25s, transform .25s var(--ease-out)}.gc-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px -22px #1b1d2359}.gc-avatar{transition:transform .3s var(--ease-spring)}.gc-card:hover .gc-avatar{transform:scale(1.08)rotate(-4deg)}.account-btn,.demo-btn,.role-card{transition:border-color .2s, box-shadow .2s, transform .2s var(--ease-out)}.account-btn:hover,.demo-btn:hover,.role-card:hover{transform:translateY(-2px)}.pill,.filter-toggle,.tag-chip{transition:background .15s,border-color .15s,color .15s,transform .15s}.pill:active,.filter-toggle:active{transform:scale(.96)}.tabs a{transition:color .2s,border-color .25s}.todo-row,.assign-card,.list-row{transition:background .2s, box-shadow .2s, transform .2s var(--ease-out)}.todo-row:hover,.assign-card:hover{box-shadow:var(--shadow-sm)}.day-add{transition:border-color .2s,color .2s,background .2s}.day-add:hover{background:color-mix(in srgb, var(--accent-soft) 60%, transparent)}.empty-box:before{animation:5s ease-in-out infinite gentle-float}dialog#dlg[open]{animation:pop-in .28s var(--ease-spring) both}dialog#dlg[open]::backdrop{animation:.25s both fade-in}.lesson-preview .lp-rows>*{animation:rise-in .35s var(--ease-out) both}.lesson-preview .lp-rows>:nth-child(2){animation-delay:50ms}.lesson-preview .lp-rows>:nth-child(3){animation-delay:.1s}.toast:not([hidden]){animation:pop-in .3s var(--ease-spring) both}.shell.is-mobile-open .sidebar{animation:slide-right .28s var(--ease-out) both}.shell.is-mobile-open .side-scrim{animation:.25s both fade-in}.sp-body>*{animation:rise-in .6s var(--ease-out) both}.sp-body>:nth-child(2){animation-delay:60ms}.sp-body>:nth-child(3){animation-delay:.12s}.sp-body>:nth-child(4){animation-delay:.18s}.sp-body>:nth-child(n+5){animation-delay:.24s}.sp-brand-line{animation:rise-in .9s var(--ease-out) .2s both}.sp-brand{animation:.6s both fade-in}.demo-btn{animation:pop-in .4s var(--ease-spring) both}.demo-grid>:nth-child(2){animation-delay:40ms}.demo-grid>:nth-child(3){animation-delay:80ms}.demo-grid>:nth-child(4){animation-delay:.12s}.demo-grid>:nth-child(n+5){animation-delay:.16s}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}}
:root{--fs-xs:.8rem;--fs-sm:.867rem;--fs-md:.933rem;--fs-base:1rem;--fs-lg:1.2rem;--fs-xl:1.467rem;--fs-2xl:2rem;--track-tight:-.02em;--dur-1:.15s;--dur-2:.24s;--dur-3:.42s}h1{font-size:var(--fs-2xl);letter-spacing:-.025em}h2{font-size:var(--fs-lg);letter-spacing:var(--track-tight)}h3{font-size:var(--fs-base)}.small{font-size:var(--fs-sm)}.xs{font-size:var(--fs-xs)}.tnum{font-variant-numeric:tabular-nums}.topic-head h2{font-size:var(--fs-base)}.dlg-head h2,.pv-heading{font-size:var(--fs-lg);letter-spacing:var(--track-tight);font-weight:600}html[lang=th] body{line-height:1.7}html[lang=th] h1,html[lang=th] h2{letter-spacing:0;line-height:1.35}.is-clickable{cursor:pointer}.is-clickable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.row-title{font-weight:500;font-size:var(--fs-md);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.row-sub{font-size:var(--fs-xs);color:var(--muted);white-space:nowrap;align-items:center;gap:.35rem;margin-top:.1rem;display:flex;overflow:hidden}.file-icon-box.is-link{background:var(--accent-soft);color:var(--accent)}.list-row .btn-ghost{color:var(--muted)}.list-row .btn-ghost:hover{color:var(--ink)}.stack:has(>.a-row){gap:.5rem}.a-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:60px;transition:border-color var(--dur-1), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);align-items:center;gap:.85rem;padding:.6rem 1rem .6rem .85rem;display:flex}.a-row:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.a-bar{background:var(--c);border-radius:4px;flex:none;align-self:stretch;width:4px}.a-main{flex:1;min-width:0}.a-title{font-weight:600;font-size:var(--fs-md);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.a-sub{font-size:var(--fs-xs);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.a-check{width:18px;height:18px;accent-color:var(--brand-blue);cursor:pointer;flex:none;margin:0}.a-due{font-size:var(--fs-xs);color:var(--ink-2);white-space:nowrap;justify-content:flex-end;align-items:center;gap:.3rem;min-width:4.5rem;font-weight:600;display:inline-flex}.a-due .ico{width:13px;height:13px;color:var(--muted)}.a-due.is-late,.a-due.is-late .ico{color:var(--danger)}.a-due.is-none{color:var(--muted);font-weight:400}.a-state{font-size:var(--fs-xs);color:var(--muted);white-space:nowrap;align-items:center;gap:.25rem;font-weight:600;display:inline-flex}.a-state .ico{width:13px;height:13px}.a-state.is-ok{color:var(--ok)}.a-state.is-info{color:var(--info)}.a-progress{display:inline-flex;position:relative}.a-dot-warn{background:var(--warn);width:8px;height:8px;box-shadow:0 0 0 2px var(--surface);z-index:1;border-radius:50%;position:absolute;top:-1px;right:-1px}@media (max-width:560px){.hide-sm{display:none}.a-row{gap:.65rem;padding-right:.75rem}.a-due{min-width:0}}.ring{flex:none;place-items:center;display:inline-grid;position:relative}.ring svg{position:absolute;inset:0}.ring-track{fill:none;stroke:var(--border);stroke-width:3px}.ring-fill{fill:none;stroke:var(--brand-blue);stroke-width:3px;stroke-linecap:round;transition:stroke-dasharray var(--dur-3) var(--ease-out)}.ring.is-full .ring-fill{stroke:var(--ok)}.ring-num{color:var(--ink-2);font-size:.7rem;font-weight:700;position:relative}.assign-card.is-plain{box-shadow:none;background:0 0;border:0;padding:0}.assign-card.is-plain:hover{box-shadow:none}.assign-card.is-plain .assign-title{font-size:var(--fs-lg);letter-spacing:var(--track-tight)}.filter-area{margin-bottom:1.1rem}.filter-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.filter-bar .filter-pills{margin-bottom:0}.filter-tools{align-items:center;gap:.5rem;display:flex}.filter-toggle.is-on{border-color:var(--ink);color:var(--ink);font-weight:600}.filter-pills.is-sub{border-top:1px dashed var(--border);animation:drop-in var(--dur-2) var(--ease-out) both;margin:.6rem 0 0;padding-top:.6rem}.search-sm{width:200px;min-height:32px;font-size:var(--fs-sm);padding-top:.3rem;padding-bottom:.3rem}@media (max-width:560px){.search-sm,.filter-tools{width:100%}}.storage-bar{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color var(--dur-1), box-shadow var(--dur-2);align-items:center;gap:.85rem;margin-bottom:1.5rem;padding:.7rem .9rem;display:flex}.storage-bar:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.storage-bar .st-ico{border-radius:9px;width:32px;height:32px}.storage-bar .st-used{font-size:var(--fs-base)}.storage-bar .st-of{font-size:var(--fs-xs)}.storage-bar .st-meter{flex:1;min-width:60px;height:8px}.storage-bar .st-left{font-size:var(--fs-xs);white-space:nowrap;margin-left:0}.storage-bar .st-more{width:16px;height:16px;color:var(--muted)}@media (max-width:560px){.storage-bar .st-left{display:none}}.storage-panel.is-plain{background:0 0;border:0;margin:0;padding:0}dialog.preview-dlg{border-radius:var(--radius-lg);background:var(--surface);width:min(560px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:var(--shadow-modal);border:0;padding:0;overflow:auto}dialog.preview-dlg::backdrop{background:#1b1d236b}dialog.preview-dlg[open]{animation:grow-in var(--dur-2) var(--ease-out) both}dialog.preview-dlg[open]::backdrop{animation:fade-in var(--dur-2) ease both}.preview-dlg .dlg-pad{position:relative}.pv-close{z-index:1;position:absolute;top:.75rem;right:.75rem}.pv-heading{margin-bottom:1rem;padding-right:2.5rem}.preview-dlg .assign-head,.pv-hero{padding-right:2.5rem}.pv-hero{align-items:center;gap:.85rem;margin-bottom:1rem;display:flex}.pv-hero-text{min-width:0}.pv-title{font-size:var(--fs-lg);letter-spacing:var(--track-tight);overflow-wrap:anywhere;font-weight:600}.pv-sub{font-size:var(--fs-sm);color:var(--muted)}.pv-file-ico{background:var(--surface-hover);width:48px;height:48px;color:var(--ink-2);border-radius:14px;flex:none;place-items:center;display:grid}.pv-file-ico.is-link{background:var(--accent-soft);color:var(--accent)}.pv-file-ico .ico{width:22px;height:22px}.pv-desc{font-size:var(--fs-md);color:var(--ink-2);white-space:pre-wrap;margin-bottom:1rem}.pv-facts{font-size:var(--fs-sm);grid-template-columns:max-content 1fr;gap:.45rem 1.2rem;margin:0;display:grid}.pv-facts dt{color:var(--muted)}.pv-facts dd{color:var(--ink);overflow-wrap:anywhere;align-items:center;gap:.4rem;min-width:0;margin:0;display:flex}.preview-dlg .dlg-foot .grow{flex:1}@keyframes grow-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}dialog#dlg[open]{animation:grow-in var(--dur-2) var(--ease-out) both}.gc-people{align-items:center;display:inline-flex}.gc-people .avatar-xs{width:24px;height:24px;box-shadow:0 0 0 2px var(--surface);margin-left:-6px;font-size:.6rem}.gc-people .avatar-xs:first-child{margin-left:0}.gc-people .xs{margin-left:.4rem}@media (max-width:560px){.filter-bar>.filter-pills{scrollbar-width:none;flex-wrap:nowrap;width:100%;margin-inline:-2px;padding:2px;overflow-x:auto}.filter-bar>.filter-pills::-webkit-scrollbar{display:none}.filter-bar>.filter-pills .pill{flex:none}}
.tr-overlay{z-index:200;color:#1b1d23;font-family:Inter,IBM Plex Sans Thai,Noto Sans SC,system-ui,sans-serif;transition:background-color .5s;position:fixed;inset:0;overflow-y:auto}.tr-col{box-sizing:border-box;flex-direction:column;gap:14px;max-width:440px;min-height:100%;margin:0 auto;padding:14px 20px 28px;display:flex}.tr-top{justify-content:space-between;align-items:center;min-height:44px;display:flex}.tr-brand,.tr-brand *,.tr-overlay h1{color:#1b1d23}.tr-skip{color:#1b1d23;cursor:pointer;background:#1b1d2312;border:0;border-radius:10px;min-height:40px;padding:0 14px;font:600 14px/1 inherit}.tr-segs{gap:6px;display:flex}.tr-segs>div{background:#1b1d231a;border-radius:999px;flex:1;height:6px;overflow:hidden}.tr-segs>div>div{background:linear-gradient(90deg,#03c2fc 0%,#397dfc 47%,#9b5ff9 100%);border-radius:999px;height:100%;transition:width .35s}.tr-body{flex-direction:column;flex:1;gap:20px;display:flex}.tr-sc{justify-content:center;display:flex}.tr-scene svg{width:100%;height:100%;display:block;overflow:visible}.tr-text{flex-direction:column;gap:8px;display:flex}.tr-text.center{text-align:center}.tr-text h1{letter-spacing:-.03em;text-wrap:balance;margin:0;font-size:32px;font-weight:700;line-height:1.12}.tr-text p{color:#454955;margin:0;font-size:18px;line-height:1.45}.tr-step{letter-spacing:.06em;text-transform:uppercase;color:#454955;font-size:13px;font-weight:700}.tr-stack{flex-direction:column;gap:12px;display:flex}.tr-stack.tight{gap:8px}.tr-row{gap:10px;display:flex}.tr-row .tr-btn{flex:1}.tr-end{margin-top:auto}.tr-btn{color:#fff;cursor:pointer;background:#1b1d23;border:0;border-radius:14px;justify-content:center;align-items:center;min-height:54px;padding:0 22px;font:600 16.5px/1 inherit;transition:transform 80ms,box-shadow 80ms;display:inline-flex;box-shadow:0 3px #1b1d234d}.tr-btn.ghost{color:#1b1d23;box-shadow:none;background:#1b1d2312}.tr-btn:active,.tr-side:active{transform:translateY(2px)}.tr-side{color:#1b1d23;text-align:left;width:100%;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:18px;align-items:center;gap:14px;padding:12px 16px;display:flex;box-shadow:0 3px #1b1d231a}.tr-side>span:last-child{flex-direction:column;display:flex}.tr-side strong{font-size:17px}.tr-side span span{color:#6b7080;font-size:14px}.tr-fine{text-align:center;color:#6b7080;font-size:13.5px}.tr-card{background:#fff;border:1px solid #e6e8ee;border-radius:18px;flex-direction:column;gap:12px;padding:16px;display:flex}.tr-card-head{justify-content:space-between;font-weight:600;display:flex}.tr-card-head span:last-child{color:#454955;font-size:13.5px}.tr-todo{background:#f7f8fa;border-radius:12px;align-items:center;gap:12px;min-height:46px;padding:6px 12px;font-weight:600;display:flex}.tr-todo.is-done{color:#454955;font-weight:500}.tr-todo.is-next{background:#edf3ff;box-shadow:inset 0 0 0 1.5px #397dfc}.tr-dot{box-sizing:border-box;border:1.5px solid #d9dce4;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.tr-todo.is-next .tr-dot{border-color:#397dfc}.tr-todo.is-done .tr-dot{color:#0b7a3b;background:#e8f6ee;border:0}.tr-dot svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.tr-pop{animation:.5s cubic-bezier(.2,.9,.3,1.2) backwards tr-pop}.tr-rise{animation:.45s backwards tr-rise}@keyframes tr-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.06)}to{transform:scale(1)}}@keyframes tr-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.tr-scene .a-bob,.tr-scene .a-bob2,.tr-scene .a-wig,.tr-scene .a-wig2,.tr-scene .a-tw,.tr-scene .a-ring,.tr-scene .a-ring2,.tr-scene .a-wave,.tr-scene .a-hop,.tr-scene .a-dot{transform-box:fill-box;transform-origin:50%}.tr-scene .a-bob{animation:3.6s ease-in-out infinite trs-bob}.tr-scene .a-bob2{animation:4.4s ease-in-out .6s infinite trs-bob}.tr-scene .a-wig,.tr-scene .a-wig2{animation:3s ease-in-out infinite trs-wig}.tr-scene .a-tw{animation:2.4s ease-in-out infinite trs-tw}.tr-scene .a-ring2{animation:2.4s ease-in-out infinite trs-bell}.tr-scene .a-ring{animation:2.6s ease-out infinite trs-rg}.tr-scene .a-hop{animation:2.4s ease-in-out infinite trs-hop}.tr-scene .a-dot{animation:1.4s ease-in-out infinite trs-dot}.tr-scene .a-wave{transform-origin:0;animation:1.8s ease-in-out infinite trs-wave}@keyframes trs-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes trs-wig{0%,to{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}@keyframes trs-tw{0%,to{opacity:.5;transform:scale(.65)}50%{opacity:1;transform:scale(1.12)}}@keyframes trs-bell{0%,40%,to{transform:rotate(0)}10%{transform:rotate(-9deg)}20%{transform:rotate(8deg)}30%{transform:rotate(-5deg)}}@keyframes trs-rg{0%{opacity:.7;transform:scale(.7)}to{opacity:0;transform:scale(1.5)}}@keyframes trs-hop{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-9px)}}@keyframes trs-dot{0%,to{opacity:.3}50%{opacity:1}}@keyframes trs-wave{0%,to{transform:skewY(-5deg)}50%{transform:skewY(5deg)}}@media (max-height:720px){.tr-sc{zoom:.78}}@media (prefers-reduced-motion:reduce){.tr-overlay *,.tr-overlay{transition:none!important;animation:none!important}}
.scene .a-bob,.scene .a-bob2,.scene .a-wig,.scene .a-wig2,.scene .a-tw,.scene .a-steam,.scene .a-flick,.scene .a-wave,.scene .a-slide-r,.scene .a-slide-l,.scene .a-hop,.scene .a-dot,.scene .a-ring,.scene .a-ring2{transform-box:fill-box;transform-origin:50%}.scene .a-bob{animation:3.6s ease-in-out infinite sc-bob}.scene .a-bob2{animation:4.4s ease-in-out .6s infinite sc-bob}.scene .a-wig{animation:3s ease-in-out infinite sc-wig}.scene .a-wig2{animation:3.6s ease-in-out .5s infinite sc-wig}.scene .a-tw{animation:2.4s ease-in-out infinite sc-tw}.scene .a-steam{animation:2.6s ease-in-out infinite sc-steam}.scene .a-flick{transform-origin:50% 100%;animation:.9s ease-in-out infinite sc-flick}.scene .a-wave{transform-origin:0;animation:1.8s ease-in-out infinite sc-wave}.scene .a-slide-r{animation:2.6s ease-in-out infinite sc-sr}.scene .a-slide-l{animation:2.6s ease-in-out infinite sc-sl}.scene .a-hop{animation:2.4s ease-in-out infinite sc-hop}.scene .a-dot{animation:1.4s ease-in-out infinite sc-dot}.scene .a-ring{animation:2.6s ease-out infinite sc-rg}.scene .a-ring2{animation:2.4s ease-in-out infinite sc-bell}@keyframes sc-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes sc-wig{0%,to{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}@keyframes sc-tw{0%,to{opacity:.5;transform:scale(.65)}50%{opacity:1;transform:scale(1.12)}}@keyframes sc-steam{0%{opacity:0;transform:translateY(5px)}40%{opacity:.85}to{opacity:0;transform:translateY(-9px)}}@keyframes sc-flick{0%,to{transform:scaleY(.88)}50%{transform:scaleY(1.12)}}@keyframes sc-wave{0%,to{transform:skewY(-5deg)}50%{transform:skewY(5deg)}}@keyframes sc-sr{0%,to{transform:translate(0)}50%{transform:translate(7px)}}@keyframes sc-sl{0%,to{transform:translate(0)}50%{transform:translate(-7px)}}@keyframes sc-hop{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-9px)}}@keyframes sc-dot{0%,to{opacity:.3}50%{opacity:1}}@keyframes sc-rg{0%{opacity:.7;transform:scale(.7)}to{opacity:0;transform:scale(1.5)}}@keyframes sc-bell{0%,40%,to{transform:rotate(0)}10%{transform:rotate(-9deg)}20%{transform:rotate(8deg)}30%{transform:rotate(-5deg)}}@media (prefers-reduced-motion:reduce){.scene .a-bob,.scene .a-bob2,.scene .a-wig,.scene .a-wig2,.scene .a-tw,.scene .a-steam,.scene .a-flick,.scene .a-wave,.scene .a-slide-r,.scene .a-slide-l,.scene .a-hop,.scene .a-dot,.scene .a-ring,.scene .a-ring2{animation:none!important}}.scene{flex:none;display:block}.scene svg{width:100%;height:100%;display:block;overflow:visible}
:root{--page:#fff;--rail-w:256px;--card-r:18px;--card-pad:22px;--line:var(--border);--ok-bg:#e7f7ee;--ok-fg:#0b7a3b;--warn-bg:#fff5d9;--warn-fg:#8a5a00;--late-bg:#fdeeed;--late-fg:#c32a2f;--info-bg:#eaf1ff;--info-fg:#2557c9;--new-bg:#f1eaff;--new-fg:#6d34d4;--quiet-bg:#f1f3f6;--quiet-fg:#454955;--link:#2f6be0;--btn-press:0 3px 0 #1b1d2347}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--page:#121317;--ok-bg:#132a1d;--ok-fg:#6fdc9d;--warn-bg:#2e2414;--warn-fg:#f0c06a;--late-bg:#35191a;--late-fg:#f4999c;--info-bg:#1c2640;--info-fg:#9ec0ff;--new-bg:#261c3d;--new-fg:#c5a6ff;--quiet-bg:#23252d;--quiet-fg:#c4c7d0;--link:#8cb4ff;--btn-press:0 3px 0 #0000008c}}:root[data-theme=dark]{--page:#121317;--ok-bg:#132a1d;--ok-fg:#6fdc9d;--warn-bg:#2e2414;--warn-fg:#f0c06a;--late-bg:#35191a;--late-fg:#f4999c;--info-bg:#1c2640;--info-fg:#9ec0ff;--new-bg:#261c3d;--new-fg:#c5a6ff;--quiet-bg:#23252d;--quiet-fg:#c4c7d0;--link:#8cb4ff;--btn-press:0 3px 0 #0000008c}body{background:var(--page);font-size:15px;line-height:1.6}.min0{min-width:0}.grow{flex:1}.app{grid-template-columns:var(--rail-w) minmax(0, 1fr);min-height:100dvh;display:grid}.app-col{flex-direction:column;min-width:0;display:flex}.app-main{box-sizing:border-box;flex:1;width:100%;max-width:1320px;padding:4px 44px 64px}.app-main.is-public{max-width:none;padding:0}.rail{border-right:1px solid var(--line);background:var(--page);scrollbar-width:thin;flex-direction:column;gap:22px;height:100dvh;padding:24px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.rail-logo{padding:0 8px}.rail-logo .brand{color:var(--ink);align-items:center;gap:10px;text-decoration:none;display:inline-flex}.rail-nav{flex-direction:column;gap:4px;display:flex}.rail-link{min-height:44px;color:var(--ink-2);transition:background var(--dur-1), color var(--dur-1);border-radius:12px;align-items:center;gap:12px;padding:0 12px;font-size:14.5px;font-weight:500;text-decoration:none;display:flex}.rail-link .ico{flex:none;width:20px;height:20px}.rail-link:hover{background:var(--quiet-bg);color:var(--ink)}.rail-link.is-active{background:var(--quiet-bg);color:var(--ink);font-weight:600}.rail-label{flex:1;min-width:0}.rail-count{color:var(--muted);font-size:12.5px;font-weight:600}.rail-head{color:var(--muted);letter-spacing:.02em;padding:0 12px 6px;font-size:12px;font-weight:600}.rail-classes{flex-direction:column;gap:2px;display:flex}.rail-class{min-height:40px;color:var(--ink-2);border-radius:10px;align-items:center;gap:10px;padding:0 12px;font-size:13.5px;font-weight:500;text-decoration:none;display:flex}.rail-class:hover,.rail-class.is-active{background:var(--quiet-bg);color:var(--ink)}.rail-class-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rail-empty{color:var(--muted);padding:0 12px;font-size:13px}.rail-bottom{flex-direction:column;gap:14px;margin-top:auto;display:flex}.rail-storage{background:var(--surface-subtle);color:var(--ink);border-radius:14px;padding:12px 14px;text-decoration:none;display:block}.rail-storage:hover,.rail-storage.is-active{background:var(--quiet-bg)}.rail-storage-head{align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.rail-storage-head .ico{width:16px;height:16px}.rail-storage-num{color:var(--muted);margin-left:auto;font-size:12.5px;font-weight:500}.rail-storage .meter{background:var(--border);margin-top:10px}.rail-me{color:var(--ink);border-radius:12px;align-items:center;gap:12px;padding:6px 4px;text-decoration:none;display:flex}.rail-me:hover,.rail-me.is-active{background:var(--quiet-bg)}.rail-me .avatar{width:40px;height:40px;font-size:17px}.rail-me-text{flex-direction:column;min-width:0;display:flex}.rail-me-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden}.rail-me-sub{color:var(--muted);font-size:12.5px}.app-top{box-sizing:border-box;align-items:center;gap:12px;width:100%;max-width:1320px;min-height:68px;padding:12px 44px 8px;display:flex}.app-top-logo,.app-top-me{display:none}.app-top-me{justify-content:center;align-items:center;min-width:44px;min-height:44px;text-decoration:none}.app-top .bell{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink);border-radius:12px}.app-top .bell:hover,.app-top .bell.is-open{background:var(--quiet-bg)}.tabbar{display:none}@media (min-width:761px){.notif-panel{max-height:calc(100dvh - 88px);top:64px;left:auto;right:44px}}@media (max-width:1180px){.app{grid-template-columns:76px minmax(0,1fr)}.rail{align-items:stretch;padding:24px 12px}.rail-logo{justify-content:center;padding:0;display:flex}.rail-logo .logo-wordmark,.rail-label,.rail-count,.rail-classes,.rail-storage,.rail-me-text{display:none!important}.rail-link{justify-content:center;padding:0}.rail-me{justify-content:center}.app-main{padding:4px 28px 56px}.app-top{padding:12px 28px 8px}.notif-panel{right:28px}}@media (max-width:760px){.app{grid-template-columns:minmax(0,1fr)}.rail{display:none}.app-top{z-index:20;background:color-mix(in srgb, var(--page) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-height:60px;padding:10px 16px 6px;position:sticky;top:0}.app-top-logo,.app-top-me{display:inline-flex}.app-main{padding:8px 16px calc(96px + env(safe-area-inset-bottom))}.tabbar{z-index:30;padding:6px 6px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{min-width:0;min-height:48px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:11.5px;font-weight:500;text-decoration:none;display:flex;overflow:hidden}.tabbar a .ico{width:22px;height:22px}.tabbar a.is-active{color:var(--ink);font-weight:600}.notif-panel{width:auto;top:64px;left:8px;right:8px}.mobile-bar{display:none!important}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 20px;margin:12px 0 24px;display:flex}.page-head h1,.auth-card h1{letter-spacing:-.03em;margin:0;font-size:32px;font-weight:600;line-height:1.15}.page-sub{color:var(--ink-2);margin:8px 0 0;font-size:15px}html[lang=th] .page-head h1,html[lang=th] .auth-card h1{letter-spacing:0;line-height:1.35}.btn-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (max-width:760px){.page-head{margin:4px 0 20px}.page-head h1{font-size:28px}.page-head>.btn-row{width:100%}}.btn{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);box-shadow:var(--shadow-xs);border-radius:10px;gap:8px;padding:0 16px;font-size:14px;font-weight:500}.btn .ico{width:17px;height:17px}.btn-sm{border-radius:9px;min-height:36px;padding:0 12px;font-size:13.5px}.btn-icon{justify-content:center;width:44px;padding:0}.btn-sm.btn-icon{width:36px}.btn-primary{background:var(--primary);min-height:48px;color:var(--primary-ink);box-shadow:var(--btn-press);transition:transform 80ms ease, box-shadow 80ms ease, background var(--dur-1);border:0;border-radius:12px;padding:0 22px;font-size:15px}.btn-primary.btn-sm{border-radius:10px;min-height:38px;padding:0 16px;font-size:14px}.btn-primary:hover:not(:disabled){background:var(--primary-hover);color:var(--primary-ink);border-color:#0000}.btn-primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #1b1d2347}.btn-ghost{box-shadow:none;color:var(--ink-2);background:0 0;border-color:#0000}.btn-danger-text{color:var(--danger)}.btn-danger-text:hover:not(:disabled){background:var(--late-bg);color:var(--late-fg)}.btn-lg{min-height:48px;font-size:15px}.btn-block{box-sizing:border-box;justify-content:center;width:100%}.link-btn{min-height:44px;color:var(--link);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:4px;margin-right:-10px;padding:0 10px;font-size:13.5px;font-weight:600;text-decoration:none;display:inline-flex}a.link-btn:hover{color:var(--accent-hover);background:var(--quiet-bg)}@media (prefers-reduced-motion:reduce){.btn-primary{transition:none}}.chip,.tag{white-space:nowrap;background:var(--quiet-bg);color:var(--quiet-fg);border:0;border-radius:999px;align-items:center;gap:5px;padding:2px 10px;font-size:12.5px;font-weight:600;line-height:1.5;display:inline-flex}.chip .ico,.tag .ico{width:13px;height:13px}.chip-ok,.tag-ok{background:var(--ok-bg);color:var(--ok-fg)}.chip-warn,.tag-warn{background:var(--warn-bg);color:var(--warn-fg)}.chip-danger,.tag-danger{background:var(--late-bg);color:var(--late-fg)}.chip-info,.tag-info,.tag-accent{background:var(--info-bg);color:var(--info-fg)}.chip-new{background:var(--new-bg);color:var(--new-fg)}.chip-ok-solid{background:var(--surface);color:var(--ok-fg);padding:3px 11px}.chip-row{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.btn .chip{margin-left:2px;padding:0 7px;font-size:11.5px}.live-dot{background:#12a150;border-radius:50%;flex:none;width:7px;height:7px}.dot{background:var(--c,var(--brand-blue));border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.dot-lg{width:11px;height:11px}.class-tile{background:color-mix(in srgb, var(--c,var(--brand-blue)) 13%, var(--surface));width:44px;height:44px;color:var(--c-ink,var(--accent));border-radius:14px;flex:none;justify-content:center;align-items:center;font-size:17px;font-weight:600;display:inline-flex}.class-tile.is-lg{border-radius:16px;width:52px;height:52px;font-size:20px}.avatar{border-radius:50%;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:15px;font-weight:600;line-height:1;display:inline-flex}.avatar-xs{width:24px;height:24px;font-size:10px}.avatar-sm{width:28px;height:28px;font-size:12px}.avatar-lg{width:40px;height:40px;font-size:17px}.avatar-xl{width:72px;height:72px;font-size:30px}.av-0{color:#2557c9;background:#e9f0ff}.av-1{color:#a22c6c;background:#fbe5f0}.av-2{color:#9a4a0c;background:#fdeadb}.av-3{color:#0b7a3b;background:#e0f4e8}.av-4{color:#06678a;background:#e0f3fa}.av-5{color:#7a5200;background:#fdf1d3}.av-6{color:#6d34d4;background:#f1eaff}.av-7{color:#087066;background:#e0f6f3}.av-more{background:var(--quiet-bg);color:var(--quiet-fg)}.av-stack{flex:none;align-items:center;display:inline-flex}.av-stack .avatar{box-shadow:0 0 0 2px var(--surface)}.av-stack .avatar+.avatar{margin-left:-7px}.avatar .ico{width:16px;height:16px}.d-card,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--card-r);padding:var(--card-pad);box-shadow:none;min-width:0}.d-card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.d-card h2,.section-head h2{letter-spacing:-.01em;margin:0;font-size:17px;font-weight:600;line-height:1.3}.d-card-sub{color:var(--muted);margin:2px 0 0;font-size:13px}.d-quiet{color:var(--muted);align-items:center;gap:8px;margin:0;padding:6px 0 2px;font-size:14px;display:flex}.d-quiet .ico{width:16px;height:16px;color:var(--ok-fg)}.d-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.d-grid.is-even{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}.d-col{flex-direction:column;gap:24px;min-width:0;display:flex}@media (max-width:1180px){.d-grid{grid-template-columns:minmax(0,1fr)}.d-grid:not(.is-even)>.d-col{display:contents}.o-1{order:1}.o-2{order:2}.o-3{order:3}.o-4{order:4}.o-6{order:6}}.d-list{margin:0;padding:0;list-style:none}.d-list>li+li{border-top:1px solid var(--line)}.row-btn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;min-height:60px;color:var(--ink);align-items:center;gap:14px;padding:12px 2px;text-decoration:none;display:flex}.row-btn:hover .row-title{color:var(--accent)}.row-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-title{text-overflow:ellipsis;white-space:nowrap;transition:color var(--dur-1);font-size:14.5px;font-weight:600;line-height:1.4;overflow:hidden}.row-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;font-size:13px;line-height:1.45;display:flex;overflow:hidden}.row-meta{color:var(--muted);white-space:nowrap;font-size:12.5px}.row-chev{width:16px;height:16px;color:var(--muted);flex:none}.row-btn.is-conflict .row-title{color:var(--danger)}.need-ico{border-radius:14px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.need-ico .ico{width:20px;height:20px}.tone-warn{background:var(--warn-bg);color:var(--warn-fg)}.tone-info{background:var(--info-bg);color:var(--info-fg)}.tone-new{background:var(--new-bg);color:var(--new-fg)}.meter{background:var(--quiet-bg);border-radius:999px;flex:1;height:6px;display:block;overflow:hidden}.meter-fill{background:var(--brand-blue);height:100%;transition:width var(--dur-3) var(--ease-out);border-radius:999px;display:block}.meter-fill.is-class{background:var(--c,var(--brand-blue))}.meter-fill.is-warn{background:#e9a23b}.meter-fill.is-danger{background:var(--danger)}.mini-progress{flex-direction:column;flex:none;gap:5px;width:124px;display:flex}.mp-top{color:var(--muted);justify-content:space-between;font-size:12.5px;display:flex}.mp-top b{color:var(--ink-2);font-weight:600}@media (max-width:760px){.hide-md{display:none!important}}.facts{color:var(--ink-2);flex-direction:column;gap:6px;margin:14px 0 0;padding:0;font-size:14px;list-style:none;display:flex}.facts li,.facts li>span{align-items:center;gap:8px;min-width:0;display:flex}.facts .ico{width:16px;height:16px;color:var(--muted);flex:none}.kpis{background:var(--line);border:1px solid var(--line);border-radius:var(--card-r);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:24px;display:grid;overflow:hidden}.kpi{background:var(--surface);min-width:0;padding:18px 20px 16px}.kpi-label{color:var(--muted);font-size:13px;font-weight:500}.kpi-value{letter-spacing:-.02em;margin-top:6px;font-size:28px;font-weight:600;line-height:1.15}.kpi-note{color:var(--muted);margin-top:4px;font-size:12.5px}.kpi-note b{color:var(--muted);font-weight:600}.kpi-note b.up{color:var(--ok-fg)}@media (max-width:760px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{padding:14px 16px}.kpi-value{font-size:24px}}.next-up{background:var(--ok-bg);border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex;overflow:hidden}.next-up-title{letter-spacing:-.02em;align-items:center;gap:10px;margin:12px 0 0;font-size:22px;font-weight:600;line-height:1.25;display:flex}.next-up-facts{color:var(--ink-2);flex-direction:column;gap:6px;margin-top:10px;font-size:14px;display:flex}.next-up-facts>span{align-items:center;gap:8px;min-width:0;display:inline-flex}.next-up-facts .ico{flex:none;width:16px;height:16px}.next-up-facts .av-stack .avatar{box-shadow:0 0 0 2px var(--ok-bg)}.next-up-orig{color:var(--muted);margin:8px 0 0;font-size:12.5px}.next-up-actions{margin-top:18px}.next-up-art{margin-right:-6px}@media (max-width:760px){.next-up{padding:18px}.next-up-art{display:none}}.lessons .lesson-row{min-height:64px}.lr-time{flex-direction:column;flex:none;width:58px;display:flex}.lr-time b{font-size:14px;font-weight:600}.lr-time span{color:var(--muted);font-size:12.5px}.lr-bar{background:var(--c);border-radius:4px;flex:none;align-self:stretch;width:4px}.lesson-row.is-canceled .row-title{color:var(--muted);text-decoration:line-through}.hw-row{flex-direction:column;align-items:stretch;gap:8px}.hw-top,.hw-bottom{align-items:center;gap:10px;min-width:0;display:flex}.hw-top .row-title{flex:1}.date-badge{background:var(--quiet-bg);width:52px;color:var(--ink);text-align:center;border-radius:14px;flex:none;padding:6px 0;line-height:1.2}.date-badge span{letter-spacing:.04em;text-transform:uppercase;opacity:.8;font-size:11.5px;font-weight:600;display:block}.date-badge b{font-size:19px;font-weight:600;display:block}.date-badge.is-today{background:var(--primary);color:var(--primary-ink)}.todo-line{align-items:center;gap:14px;display:flex}.todo-check{appearance:none;border:2px solid var(--border-strong);cursor:pointer;background:var(--surface);border-radius:50%;flex:none;width:24px;height:24px;margin:0}.todo-check:hover{border-color:var(--ok-fg)}.todo-check:checked{background:var(--ok-fg);border-color:var(--ok-fg)}.todo-check:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.first-day{justify-content:space-between;align-items:center;gap:20px;padding:28px;display:flex}.first-day h2{font-size:22px}.first-day .btn{margin-top:16px}@media (max-width:760px){.first-day .scene{display:none}}.empty-box,.empty-box.has-scene{text-align:center;border:1px dashed var(--border-strong);border-radius:var(--card-r);background:var(--surface);color:var(--ink-2);flex-direction:column;align-items:center;gap:10px;padding:28px 20px;display:flex}.empty-box.has-scene:before{display:none}.d-card .empty-box{border:0;padding:12px 8px 6px}.empty-title{color:var(--ink);font-size:17px;font-weight:600}.empty-body{color:var(--muted);max-width:420px;font-size:14px}.empty-body p{margin:0}.empty-action{margin-top:6px}.week-switcher{align-items:center;gap:6px;display:inline-flex}.week-switcher .btn{text-decoration:none}.week-switcher .ws-today{padding:0 18px;font-weight:600}.cal-filters.filter-pills{flex-wrap:wrap;gap:10px;margin:0 0 20px;display:flex}.pill{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink-2);border-radius:999px;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:500;display:inline-flex}.pill:hover{border-color:var(--border-strong);color:var(--ink)}.pill.is-active{background:var(--primary);border-color:var(--primary);color:var(--primary-ink)}.pill.is-active .dot{box-shadow:0 0 0 2px var(--surface)}.week-scroll{margin:0 -4px;padding:0 4px 4px;overflow-x:auto}.week-grid,.week-grid.is-compact{grid-template-columns:repeat(7,minmax(128px,1fr));align-items:start;gap:8px;min-width:0;display:grid}.day-col{border-radius:var(--card-r);background:var(--surface-subtle);gap:10px;min-width:0;padding:10px}.day-col.is-today{background:var(--surface-subtle);box-shadow:inset 0 0 0 1.5px var(--line)}.day-head{align-items:center;gap:8px;margin:0;padding:2px 2px 0;display:flex}.day-dow{color:var(--muted);text-transform:none;letter-spacing:0;width:34px;font-size:13px;font-weight:600}.day-col.is-today .day-dow{color:var(--ink)}.day-num{width:32px;height:32px;color:var(--ink);background:0 0;border-radius:50%;justify-content:center;align-items:center;font-size:15px;font-weight:600;display:inline-flex}.day-num.is-today{background:var(--primary);color:var(--primary-ink)}.day-lane,.day-col.is-today .day-lane{background:0 0;border:0;flex-direction:column;gap:10px;min-height:0;padding:0;display:flex}.day-none{text-align:left;color:var(--muted);padding:6px 2px;font-size:13px}.day-col.is-today .day-none{color:var(--muted)}.day-add,.day-add.is-today{border:1px dashed var(--border-strong);min-height:40px;color:var(--muted);background:0 0;border-radius:12px;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex}.day-add:hover{border-color:var(--ink-2);color:var(--ink);background:var(--surface)}.lesson-item{text-align:left;border:1px solid var(--line);border-left:1px solid var(--line);background:var(--surface);box-shadow:none;border-radius:14px;flex-direction:column;gap:5px;padding:10px;transition:border-color .12s,box-shadow .12s,background .12s;display:flex}.lesson-item:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);transform:none}.lesson-time{color:var(--ink-2);white-space:nowrap;align-items:center;gap:7px;font-size:13px;font-weight:600;display:flex}.lesson-time .dot{background:var(--c)}.lesson-title{color:var(--ink);white-space:normal;font-size:13.5px;font-weight:600;line-height:1.35}.lesson-place{color:var(--muted);font-size:12.5px;line-height:1.4}.lesson-students{margin-top:2px}.lesson-students .av-stack .avatar{box-shadow:0 0 0 2px var(--surface)}.lesson-tags{flex-wrap:wrap;gap:6px;margin-top:2px;display:flex}.lesson-item.is-canceled{background:0 0;border-style:dashed}.lesson-item.is-canceled .lesson-title{color:var(--muted)}.lesson-item.is-conflict{border:1.5px solid var(--danger);background:var(--late-bg)}.lesson-item.is-past:not(.is-canceled){opacity:.72}.lesson-done{color:var(--ok-fg)}.legend{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.notice-row{align-items:center;gap:8px;margin-bottom:16px;display:flex}@media (max-width:760px){.week-grid,.week-grid.is-compact{grid-template-columns:minmax(0,1fr)}.day-col{flex-direction:column}.cal-filters.filter-pills{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-16px;padding-inline:16px;overflow-x:auto}.cal-filters.filter-pills .pill{flex:none}}.class-grid.is-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:20px;display:grid}.class-card{flex-direction:column;display:flex}.class-card-main{color:var(--ink);align-items:center;gap:14px;text-decoration:none;display:flex}.class-card-main h2{font-size:18px}.class-card-main:hover h2{color:var(--accent)}.class-card-people{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.class-card-links{border-top:0;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:18px;display:flex}.class-card .facts{margin-bottom:0}.class-card .class-card-links{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.class-head{margin-bottom:4px}.class-head .page-head{margin-bottom:10px}.class-head-title{align-items:center;gap:16px;min-width:0;display:flex}.class-head .next-meta{color:var(--ink-2);flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px;display:flex}.class-head .next-meta .ico{width:16px;height:16px;color:var(--muted)}.lesson-hero.class-head{background:0 0;border:0;padding:0}.tabs{border-bottom:1px solid var(--line);gap:4px;margin:20px 0 24px;display:flex;overflow-x:auto}.tabs a{min-height:44px;color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:0 14px;font-size:14.5px;font-weight:500;text-decoration:none;display:inline-flex}.tabs a:hover{color:var(--ink)}.tabs a.is-active{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.tabs .chip,.tabs .tag{padding:0 8px;font-size:12px;margin-left:0!important}.back-link{min-height:40px;color:var(--muted);align-items:center;gap:4px;margin:8px 0 4px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.back-link .ico{width:16px;height:16px}.list{border:1px solid var(--line);border-radius:var(--card-r);background:var(--surface);overflow:hidden}.list-row{gap:14px;min-height:60px}.list-row:hover{background:var(--surface-subtle)}.a-row{border-radius:14px;min-height:64px;padding:10px 16px 10px 14px}.a-row:hover{transform:none}.section{margin-top:32px}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.storage-bar{border-radius:var(--card-r);padding:14px 16px}.filter-toggle{border-radius:999px;min-height:40px}.search-sm{background:var(--surface-subtle);border-radius:12px;min-height:40px}input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],input[type=date],input[type=time],select,textarea{border-color:var(--line);border-radius:12px}input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],input[type=date],select{min-height:44px}.field-label{color:var(--ink-2);font-size:13.5px;font-weight:600}dialog#dlg,dialog.preview-dlg{border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 60px #1b1d232e}dialog#dlg{width:min(640px,100vw - 24px)}dialog#dlg::backdrop,dialog.preview-dlg::backdrop{background:#1b1d236b}.dlg-pad{padding:24px 28px 26px}.dlg-head{align-items:center;margin-bottom:8px}.dlg-head h2,.pv-heading{letter-spacing:-.02em;font-size:22px;font-weight:600}.dlg-head .btn-icon{box-shadow:none;margin:-8px -10px 0 0}.dlg-foot{border-top:0;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;padding-top:20px;display:flex}@media (max-width:760px){dialog#dlg,dialog.preview-dlg{border-radius:22px 22px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}.dlg-pad{padding:20px 18px calc(22px + env(safe-area-inset-bottom))}}.lesson-preview .dlg-head h2{color:var(--ink-2);letter-spacing:0;align-items:center;gap:8px;font-size:13.5px;font-weight:600;display:inline-flex}.lesson-preview .dlg-head h2:before{content:"";background:var(--c);border-radius:50%;flex:none;width:10px;height:10px}.lp-date{letter-spacing:-.025em;font-size:28px;font-weight:600;line-height:1.2}html[lang=th] .lp-date{letter-spacing:0;line-height:1.35}.lp-sec{border-bottom:1px solid var(--line);padding:18px 0}.lp-sec h3{color:var(--muted);letter-spacing:.02em;margin:0 0 10px;font-size:13px;font-weight:600}.lp-fact{align-items:flex-start;gap:14px;padding:4px 0;display:flex}.lp-fact>.ico{width:19px;height:19px;color:var(--muted);flex:none;margin-top:3px}.lp-fact-main{font-size:15px;font-weight:600}.lp-fact-main .muted{font-weight:500}.lp-fact-sub{color:var(--muted);font-size:13.5px}.lp-text{color:var(--ink-2);margin:0;font-size:14.5px;line-height:1.55}.lp-people{margin:0;padding:0;list-style:none}.lp-people li{align-items:center;gap:12px;min-height:52px;font-size:14.5px;font-weight:600;display:flex}.lp-people li+li{border-top:1px solid var(--line)}.profile-id{align-items:center;gap:18px;margin-bottom:18px;display:flex}.profile-id h2{font-size:22px}.kv{margin:0}.kv>div{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:12px 0;display:flex}.kv dt{color:var(--muted);font-size:13.5px;font-weight:600}.kv dd{text-align:right;flex-direction:column;align-items:flex-end;margin:0;font-size:14.5px;font-weight:500;display:flex}.kv-note{color:var(--muted);font-size:12.5px;font-weight:400}.pref{border-top:1px solid var(--line);padding:14px 0}.pref:first-of-type{border-top:0;padding-top:0}.pref-label{margin-bottom:10px;font-size:14.5px;font-weight:600}.pref-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.pref-row .pref-label{margin-bottom:0}.seg{background:var(--quiet-bg);border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.seg button{min-height:38px;color:var(--ink-2);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:14px;font-weight:500}.seg button:hover{color:var(--ink)}.seg button.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-xs);font-weight:600}.switch{background:var(--border-strong);cursor:pointer;width:46px;height:28px;transition:background var(--dur-1);border:0;border-radius:999px;flex:none;position:relative}.switch span{width:22px;height:22px;transition:transform var(--dur-2) var(--ease-out);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch.is-on{background:var(--ok-fg)}.switch.is-on span{transform:translate(18px)}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth{box-sizing:border-box;background:var(--surface-subtle);flex-direction:column;align-items:center;gap:22px;min-height:100dvh;padding:clamp(20px,5vw,56px) 16px;display:flex}.auth-top{justify-content:center;width:100%;max-width:440px;margin-top:8px;display:flex;position:relative}.auth-top .back-link{margin:0;position:absolute;top:50%;left:0;transform:translateY(-50%)}.auth-top .brand{color:var(--ink);align-items:center;gap:10px;text-decoration:none;display:inline-flex}.auth-card{box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:22px;width:100%;max-width:440px;padding:clamp(22px,4vw,34px)}.auth-card h1{letter-spacing:-.025em;font-size:26px}.auth-sub{color:var(--muted);margin:4px 0 22px;font-size:14.5px}.auth-card .sp-form{flex-direction:column;gap:14px;display:flex}.auth-card .sp-form .field{margin:0}.auth-card .sp-form input{min-height:48px}.auth-card .sp-submit{justify-content:center;width:100%;margin-top:4px}.auth-card .sp-google{justify-content:center;width:100%;margin-bottom:16px}.auth-or{color:var(--muted);align-items:center;gap:12px;margin:24px 0 16px;font-size:13px;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--line);flex:1;height:1px}.demo-list{flex-direction:column;gap:10px;display:flex}.demo-row{all:unset;box-sizing:border-box;cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:64px;color:var(--ink);border-radius:14px;align-items:center;gap:14px;padding:8px 14px;transition:border-color .12s,box-shadow .12s;display:flex}.demo-row:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.demo-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.demo-row>.ico{width:18px;height:18px;color:var(--muted)}.demo-text{flex-direction:column;flex:1;min-width:0;display:flex}.demo-text .account-name{font-size:14.5px;font-weight:600}.demo-text .account-sub{color:var(--muted);font-size:13px}.auth-switch{text-align:center;color:var(--ink-2);margin:22px 0 0;font-size:14px}.auth-switch a{color:var(--link);font-weight:600;text-decoration:none}.auth .lang-bar{gap:4px;display:flex}.auth .lang-btn{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;padding:0 12px;font-size:13.5px;font-weight:500}.auth .lang-btn.is-active{background:var(--quiet-bg);color:var(--ink);font-weight:600}.auth .sp-roles{margin-top:18px}.join-from{align-items:center;gap:12px;margin-bottom:20px;font-size:14.5px;display:flex}.join-class{align-items:center;gap:14px;display:flex}.join-class h1{font-size:24px}.join-class .auth-sub{margin:2px 0 0}.join-action{margin-top:22px}.join-action .notice{margin-bottom:12px}.join-scene{margin:0 auto 8px}.skel-block{background:linear-gradient(90deg, var(--quiet-bg) 0%, var(--surface-subtle) 50%, var(--quiet-bg) 100%);background-size:200% 100%;border-radius:14px;height:220px;animation:1.4s ease-in-out infinite skel}@keyframes skel{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skel-block{animation:none}}.toast{border-radius:14px;box-shadow:0 12px 32px #1b1d232e}@media (max-width:760px){.toast{bottom:calc(84px + env(safe-area-inset-bottom))}}.route-enter .d-card,.route-enter .kpis{animation:rise-in .42s var(--ease-out) both}.route-enter .d-col>:nth-child(2){animation-delay:60ms}.route-enter .d-col>:nth-child(3){animation-delay:.12s}@media (prefers-reduced-motion:reduce){.route-enter .d-card,.route-enter .kpis{animation:none}}.lesson-item .lesson-time>span.dot{flex:none;width:9px}.lesson-time>span:nth-child(2){text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.cal-filters.filter-pills{border:0;padding-bottom:0}.lesson-preview:before{display:none}.todo-line .row-btn{flex:1;width:auto;min-width:0}.app-main:not(.is-public) .auth{background:0 0;min-height:0;padding-top:24px}.app-main:not(.is-public) .auth-top{display:none}
.role-seg.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}.role-ico.is-parent{background:var(--ok-soft);color:var(--ok)}.link-btn{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;align-self:center;padding:6px 4px;font-size:14px;font-weight:500}.link-btn.quiet{color:var(--muted);font-size:13px}.link-btn:hover{text-decoration:underline}.managed-note{gap:2px;display:grid}.billing-fields{gap:8px;margin-bottom:10px;display:grid}.seg.seg-fill{grid-template-columns:1fr 1fr;display:grid}.seg.seg-fill label{min-height:38px;color:var(--ink-2);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;font-size:14px;font-weight:500;display:flex}.seg.seg-fill label input{opacity:0;pointer-events:none;position:absolute}.seg.seg-fill label.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-xs);font-weight:600}.pay-head{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.pay-note{color:var(--muted);font-size:14px}.pay-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pay-stat{border-radius:var(--radius);background:var(--surface-subtle);gap:2px;padding:12px 14px;display:grid}.pay-stat-n{letter-spacing:-.02em;color:var(--ink);font-size:24px;font-weight:700}.pay-stat-l{color:var(--muted);font-size:12.5px}.pay-stat.is-due{background:var(--danger-soft)}.pay-stat.is-due .pay-stat-n{color:var(--danger)}.pay-stat.is-ok{background:var(--ok-soft)}.pay-stat.is-ok .pay-stat-n{color:var(--ok)}@media (max-width:520px){.pay-stat-n{font-size:20px}}.pause-note{align-items:flex-start;gap:10px;margin:0 0 16px;display:flex}.notice-warn{background:var(--warn-soft);border-color:#0000}.list-row.is-paused .row-title{color:var(--muted)}.family-child{gap:14px;display:grid}.family-child-id{align-items:center;gap:12px;min-width:0;display:flex}.family-tutors .list-row{flex-wrap:wrap}.family-tutors .btn-row{margin-left:auto}.family-next{border-top:1px solid var(--border);gap:4px;padding-top:10px;display:grid}.family-next-row{min-height:40px;color:var(--ink);border-radius:10px;align-items:center;gap:10px;padding:0 6px;font-size:14px;text-decoration:none;display:flex}.family-next-row:hover{background:var(--surface-hover)}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.steps-mini{color:var(--ink-2);gap:4px;margin:10px 0 14px;padding-left:20px;display:grid}.safety-points{gap:10px;margin:0;padding:0;list-style:none;display:grid}.safety-points li{color:var(--ink-2);align-items:flex-start;gap:10px;font-size:14px;display:flex}.safety-points .icon{color:var(--accent);flex:none;margin-top:2px}.family-safety{margin-top:18px}.link-parent{border:1px solid var(--accent-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.consent-list{color:var(--ink-2);gap:6px;margin:0 0 12px;padding-left:20px;font-size:14px;line-height:1.5;display:grid}.consent{text-align:left}.radio-list{border:0;gap:6px;margin:0 0 12px;padding:0;display:grid}.join-card .scene{margin:0 auto}@media (prefers-reduced-motion:reduce){.family-next-row{transition:none}}
