:root{color:#1a1a1a;font-synthesis:none;--primary:#1f7a63;--primary-light:#2fa78a;--primary-dark:#1b5e55;--primary-soft:#e6f7f3;--surface:#fff;--surface-subtle:#f8f9fa;--border:#e5e7eb;--text-muted:#6b7280;--danger:#dc2626;--shadow:0 12px 32px #0f172a14;background:#f8f9fa;font-family:Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}body{background:var(--surface-subtle);min-width:320px;min-height:100vh;margin:0}.install-gate{width:min(100%,720px);min-height:100dvh;padding:calc(40px + env(safe-area-inset-top)) 16px 32px;align-content:start;gap:20px;margin:auto;display:grid}.install-gate__intro{text-align:center}.install-gate__mark{object-fit:cover;border-radius:22px;width:64px;height:64px;margin:0 auto 16px;display:block;box-shadow:0 13px 32px #1f7a6340}.install-gate__intro h1{margin:0 0 10px}.install-gate__intro>span{color:var(--text-muted);line-height:1.55;display:block}.install-gate__action{background:var(--primary);color:#fff;border:0;border-radius:14px;width:min(100%,20rem);margin:20px auto 0;padding:14px 20px;font-size:1rem;font-weight:800}.install-guides{gap:12px;display:grid}.install-guide{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:18px}.install-guide__title{align-items:center;gap:12px;display:flex}.install-guide__title h2{margin:0;font-size:1.08rem}.browser-icon{object-fit:contain;flex:none;width:42px;height:42px;display:block}.install-guide ol{color:var(--text-muted);gap:7px;margin:14px 0 0;padding-left:22px;font-size:.9rem;line-height:1.45;display:grid}.install-guide__warning{color:#9a3412;background:#fff4ed;border-radius:10px;gap:7px;margin:14px 0 0;padding:10px 12px;font-size:.82rem;line-height:1.45;display:flex}.install-guide__warning strong{flex:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}.pull-to-refresh{overscroll-behavior-y:contain;min-height:0}.pull-to-refresh__indicator{color:var(--text-muted);justify-content:center;align-items:center;gap:8px;font-size:.78rem;font-weight:700;transition:height .16s ease-out;display:flex;overflow:hidden}.pull-to-refresh__indicator>span{border:2px solid #cbd5e1;border-top-color:var(--primary);border-radius:50%;width:18px;height:18px}.pull-to-refresh__indicator--refreshing>span{animation:.7s linear infinite pull-to-refresh-spin}@keyframes pull-to-refresh-spin{to{transform:rotate(360deg)}}.app-page{width:min(100%,1120px);min-height:100vh;padding:22px 24px calc(118px + env(safe-area-inset-bottom));margin:0 auto}.app-topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.app-topbar h1{margin:0}.app-topbar__actions{gap:8px;display:flex}.app-topbar__actions button{border:1px solid var(--border);color:#374151;background:#fff;border-radius:50%;place-items:center;width:44px;height:44px;padding:10px;display:grid;position:relative;box-shadow:0 5px 16px #0f172a12}.notification-trigger>span{border:2px solid var(--surface-subtle);background:var(--danger);color:#fff;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:.62rem;font-weight:800;display:grid;position:absolute;top:-4px;right:-4px}.app-topbar__actions button[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-dark)}.app-topbar__actions svg{width:22px;height:22px}.liquid-nav{z-index:70;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));background:linear-gradient(#f5f7f6,#e9eeec);border:1px solid #d7dedb;border-radius:27px;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:min(100% - 28px,430px);padding:7px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 16px 34px #0f172a2e,inset 0 1px #fff}.liquid-nav button{color:#68736f;background:0 0;border:0;border-radius:21px;place-items:center;gap:3px;min-height:58px;padding:7px 10px 6px;font-size:.72rem;font-weight:700;display:grid}.liquid-nav button[aria-current=page]{color:var(--primary-dark);background:#fff;box-shadow:0 5px 13px #0f172a1f,inset 0 0 0 1px #e4e9e7}.liquid-nav svg{width:23px;height:23px}.liquid-nav--admin{grid-template-columns:repeat(2,minmax(0,1fr))}.app-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.app-brand,.login-brand{align-items:center;gap:12px;display:flex}.app-brand__mark,.login-brand>span{background:var(--primary-dark);color:#fff;border-radius:13px;place-items:center;width:44px;height:44px;font-size:1.25rem;font-weight:800;display:grid;box-shadow:0 8px 18px #1b5e5533}.eyebrow{color:var(--primary);letter-spacing:.12em;margin:0;font-size:.72rem;font-weight:800}h1{letter-spacing:-.03em;margin:2px 0 0;font-size:1.65rem;line-height:1.15}.menu-button,.icon-button{background:var(--primary);color:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 14px;font-weight:700;display:inline-flex}.menu-button:hover{background:var(--primary-dark)}.icon-button{width:40px;min-height:40px;padding:0}.icon-button--inverse{background:#ffffff1f}.filter-card{background:var(--surface);border:1px solid #1f7a631f;border-radius:14px;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px;padding:20px 22px;display:flex;box-shadow:0 4px 16px #0f172a0a}.filter-card>div{gap:4px;display:grid}.filter-card>div strong{font-size:1rem}.filter-card>div span,.section-heading p{color:var(--text-muted);font-size:.82rem}.date-filter{min-width:210px;color:var(--text-muted);cursor:pointer;font-size:.78rem;font-weight:600;display:block;position:relative}.date-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.date-row strong{color:var(--text-muted);font-size:.85rem}.date-picker-group{flex:1;align-items:center;min-width:0;max-width:230px;display:flex}.date-picker-group .date-filter{flex:1;min-width:0}.date-filter__display{border:1px solid var(--border);min-height:44px;color:var(--text-muted);white-space:nowrap;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:10px;padding:.65rem .85rem;font-size:.88rem;font-weight:700;display:flex;overflow:hidden}.date-filter__display strong{color:inherit;font:inherit;flex:none}.date-picker-group .date-filter input{opacity:0;cursor:pointer;width:100%;min-width:0;height:100%;padding:0;position:absolute;inset:0}.date-filter:focus-within .date-filter__display{border-color:var(--primary);box-shadow:0 0 0 3px #1f7a631f}input,textarea,select{border:1px solid var(--border);width:100%;min-height:44px;color:inherit;background:#fff;border-radius:9px;outline:none;padding:.65rem .85rem}input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1f7a631f}.lesson-section{border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:22px;box-shadow:0 4px 16px #0f172a0a}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:0 0 3px;font-size:1.1rem}.section-heading p{margin:0}.section-heading>strong{background:var(--primary-soft);color:var(--primary-dark);border-radius:999px;padding:6px 10px;font-size:.8rem}.lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.lessons article{border:1px solid var(--border);background:#fff;border-radius:12px;height:100%;transition:border-color .15s,box-shadow .15s,transform .15s}.lessons article:hover{box-shadow:var(--shadow);border-color:#1f7a6361;transform:translateY(-1px)}.lesson-open{border-radius:inherit;width:100%;min-height:100%;color:inherit;text-align:left;background:0 0;border:0;padding:18px;display:block}.lesson-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.lesson-heading>span:first-child,.lesson-time{color:var(--primary-dark);font-size:.86rem;font-weight:700}.lesson-open h2{overflow-wrap:anywhere;margin:14px 0 10px;font-size:1.05rem;line-height:1.3}.lesson-open p{color:var(--text-muted);overflow-wrap:anywhere;margin:5px 0;font-size:.88rem}.lesson-instructor{color:#374151;font-weight:600}.badge{border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:.74rem;font-weight:600;display:inline-flex}.badge--green{color:#065f46;background:#d1fae5}.badge--blue{color:#1e40af;background:#dbeafe}.badge--yellow{color:#92400e;background:#fef3c7}.badge--red{color:#991b1b;background:#fee2e2}.badge--gray{color:#374151;background:#f3f4f6}.pagination{justify-content:center;align-items:center;gap:16px;margin-top:20px;display:flex}.pagination button,.retry-button,.notification-settings button{border:1px solid var(--border);min-height:40px;color:inherit;background:#fff;border-radius:9px;padding:.55rem .9rem;font-weight:600}.pagination button:not(:disabled):hover,.retry-button:hover{border-color:var(--primary);color:var(--primary)}.pagination span{color:var(--text-muted);font-size:.85rem}.section-status,.section-empty{color:var(--text-muted);text-align:center;padding:36px 16px;font-size:.9rem}.section-description{color:var(--text-muted);margin:0 0 18px;font-size:.9rem}.section-error{color:var(--danger);text-align:center;justify-items:center;gap:12px;padding:28px 16px;display:grid}.section-error p{margin:0}.offline-banner{color:#92400e;text-align:center;background:#fffbeb;margin:-28px -24px 22px;padding:.65rem 1rem;font-size:.85rem}.screen-message{min-height:100vh;color:var(--text-muted);place-items:center;margin:0;display:grid}.login-page{background:linear-gradient(145deg,#edf8f5 0%,#f8f9fa 52%,#e8f2ef 100%);place-items:center;min-height:100dvh;margin:0;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #1f7a6324;border-radius:18px;gap:16px;width:min(100%,390px);padding:30px;display:grid;box-shadow:0 18px 50px #1b5e551f}.login-brand{margin-bottom:4px}.login-brand strong{color:var(--text-muted);letter-spacing:.18em;margin-top:2px;font-size:.72rem;display:block}.login-card h1{margin:8px 0 2px;font-size:1.5rem}.login-card label{color:#374151;gap:6px;font-size:.85rem;font-weight:600;display:grid}.login-card button[type=submit]{background:var(--primary);color:#fff;border:0;border-radius:10px;min-height:46px;margin-top:4px;font-weight:700}.login-card [role=alert]{color:var(--danger);margin:0;font-size:.85rem}.login-card .session-notice{color:#9a3412;background:#fff7ed;border-radius:10px;padding:12px;line-height:1.45}.session-check-error>p{color:var(--text-muted);margin:0;line-height:1.5}.session-check-error>button{background:var(--primary);color:#fff;border:0;border-radius:10px;min-height:46px;font-weight:700}.panel-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a75;border:0;width:100%;position:fixed;inset:0}.notification-settings{z-index:110;background:#fff;width:min(100%,430px);padding:0 20px 32px;position:fixed;inset:0 0 0 auto;overflow:auto;box-shadow:-20px 0 50px #0f172a2e}.notification-settings>.pull-to-refresh{min-height:calc(100% - 76px)}.notification-toolbar{z-index:2;border-bottom:1px solid var(--border);background:#fff;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);align-items:center;min-height:68px;margin:0 -20px 8px;padding:10px 14px;display:grid;position:sticky;top:0}.notification-toolbar h2{grid-column:2;margin:0;font-size:1.05rem}.notification-toolbar>.notification-icon-button{grid-column:1;justify-self:start}.notification-toolbar__actions{grid-column:3;justify-self:end;align-items:center;gap:4px;display:flex}.notification-toolbar button{min-height:38px;color:var(--primary-dark);background:0 0;border:0;border-radius:10px;padding:0 9px;font-size:.82rem;font-weight:700}.notification-toolbar .notification-icon-button{width:38px;padding:0;font-size:1.25rem}.notification-error{color:var(--danger);background:#fff1f2;border-radius:10px;padding:10px 12px;font-size:.84rem}.notification-empty{color:var(--text-muted);text-align:center;padding:30dvh 0 0}.notification-list{margin:0;padding:0;list-style:none}.notification-list li{border-bottom:1px solid var(--border);position:relative}.notification-list li.unread:before{background:var(--primary);content:"";border-radius:50%;width:7px;height:7px;position:absolute;top:20px;left:0}.notification-list li.urgent:before{background:var(--danger)}.notification-item-button{width:100%;color:inherit;text-align:left;gap:5px;display:grid;background:0 0!important;border:0!important;min-height:0!important;padding:16px 2px 16px 16px!important}.notification-item__heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.notification-item__heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.92rem;overflow:hidden}.notification-item__heading time{color:var(--text-muted);flex:none;font-size:.72rem;font-weight:500}.notification-item__body{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.4;display:-webkit-box;overflow:hidden}.notification-item-button small{color:var(--danger);justify-self:start;margin-top:2px;font-size:.72rem;font-weight:800}.notification-detail{padding:18px 2px}.notification-detail--urgent{border-top:3px solid var(--danger)}.notification-urgent-label{color:var(--danger);margin-bottom:8px;font-size:.75rem;font-weight:800;display:inline-block}.notification-detail h3{margin:0 0 10px;font-size:1.25rem;line-height:1.35}.notification-detail__body{color:#374151;white-space:pre-wrap;margin:0 0 8px;font-size:.92rem;line-height:1.55}.notification-detail__time{color:var(--text-muted);margin-bottom:18px;font-size:.76rem;display:block}.notification-preferences{gap:14px;display:grid}.notification-setting-row,.notification-preferences fieldset{background:var(--surface-subtle);border:0;border-radius:14px}.notification-setting-row{justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.notification-setting-row span{gap:3px;font-weight:700;display:grid}.notification-setting-row small{color:var(--danger);font-size:.72rem;font-weight:500}.notification-setting-row button{background:var(--primary);color:#fff;border:0;border-radius:18px;min-height:36px;padding:0 14px;font-weight:700}.notification-preferences fieldset{margin:0;padding:0 16px;display:grid}.notification-preferences legend{color:var(--text-muted);padding:14px 0 6px;font-size:.75rem;font-weight:700}.notification-preferences label{border-top:1px solid var(--border);justify-content:space-between;align-items:center;min-height:50px;display:flex}.notification-preferences label:first-of-type{border-top:0}.notification-preferences input{width:20px;min-height:20px;accent-color:var(--primary)}.notification-detail__meta dl{grid-template-columns:max-content 1fr;gap:6px 12px;margin:10px 0;font-size:.84rem;display:grid}.notification-detail__meta dt{color:var(--text-muted);font-weight:700}.notification-detail__meta dd{overflow-wrap:anywhere;margin:0}.notification-sublist{border-top:1px solid #1f7a632e;margin-top:12px;padding-top:12px;font-size:.84rem}.notification-sublist ul{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.notification-sublist li{background:#fff;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.notification-sublist li div{gap:3px;display:grid}.notification-sublist li span{color:var(--text-muted);font-size:.78rem}.notification-detail__actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.detail-panel{z-index:110;border:1px solid var(--border);background:#fff;border-radius:16px;width:min(100% - 32px,440px);padding:22px;position:fixed;inset:16px 16px 16px auto;overflow:auto;box-shadow:-12px 0 40px #0f172a2e}.detail-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.detail-header h2{margin:0;font-size:1.25rem}.icon-button--ghost{border:1px solid var(--border);width:36px;min-height:36px;color:var(--text-muted);background:#fff;border-radius:9px;padding:0;font-size:1rem}.icon-button--ghost:hover{border-color:var(--primary);color:var(--primary)}.detail-title{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.detail-title strong{overflow-wrap:anywhere;font-size:1.1rem}.detail-status,.detail-empty{color:var(--text-muted);font-size:.85rem}.detail-alert{color:var(--danger);font-size:.85rem}.detail-panel dl{border-top:1px solid var(--border);grid-template-columns:4.5rem minmax(0,1fr);gap:11px 12px;margin-top:16px;padding:16px 0;display:grid}.detail-panel dt{color:var(--text-muted);font-size:.83rem}.detail-panel dd{overflow-wrap:anywhere;margin:0;font-size:.9rem}.detail-sep{color:var(--text-muted);margin:0 4px}.detail-section{border-top:1px solid var(--border);margin-top:10px;padding-top:18px}.detail-section h3{margin:0 0 12px;font-size:.95rem}.history-list{gap:10px;margin:0;padding:0 0 0 18px;display:grid}.history-list li strong{font-size:.88rem}.history-list li span{color:var(--text-muted);margin-top:3px;font-size:.8rem;display:block}.material-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.material-list li{background:var(--surface-subtle);border-radius:9px;gap:2px;padding:10px 12px;display:grid}.material-list li strong{font-size:.88rem}.material-list li span{color:var(--text-muted);font-size:.8rem}.fitness-scores{border:1px solid var(--border);background:#fff;border-radius:14px;padding:22px}.score-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.score-list button{border:1px solid var(--border);width:100%;color:inherit;text-align:left;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:15px;display:flex}.score-list button>span{gap:4px;display:grid}.score-list small{color:var(--text-muted);font-size:.78rem}.score-value{color:var(--primary-dark);text-align:right;font-size:1.1rem;font-weight:800}.assessment-list{gap:12px;padding:0;list-style:none;display:grid}.assessment-list>li{background:var(--surface-subtle);border-radius:12px;padding:14px}.assessment-list>li>div,.assessment-list dl div{justify-content:space-between;gap:12px;display:flex}.assessment-list dl{grid-template-columns:1fr;display:grid}.settings-page{border:1px solid var(--border);width:min(100%,540px);box-shadow:var(--shadow);background:#fff;border-radius:18px;gap:18px;margin:0 auto;padding:22px;display:grid}.settings-account{border-bottom:1px solid var(--border);align-items:center;gap:13px;padding-bottom:18px;display:flex}.settings-account>span{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.settings-account div{gap:3px;display:grid}.settings-account small{color:var(--text-muted)}.settings-page dl{grid-template-columns:1fr auto;gap:12px;margin:0;display:grid}.settings-page dt{color:var(--text-muted)}.settings-page dd{margin:0;font-weight:700}.settings-logout{color:#b91c1c;background:#fff7f7;border:1px solid #fecaca;border-radius:11px;min-height:46px;font-weight:700}.agent-placeholder{border:1px solid var(--border);text-align:center;min-height:330px;box-shadow:var(--shadow);background:#fff;border-radius:20px;align-content:center;place-items:center;padding:38px 24px;display:grid}.agent-placeholder__icon{background:var(--primary-soft);width:72px;height:72px;color:var(--primary-dark);border-radius:25px;place-items:center;margin-bottom:18px;font-size:2rem;display:grid}.agent-placeholder p{color:var(--primary);letter-spacing:.12em;margin:0;font-size:.75rem;font-weight:800}.agent-placeholder h2{margin:7px 0 9px}.agent-placeholder span{max-width:22rem;color:var(--text-muted);line-height:1.55}.notification-opt-in{z-index:75;min-height:calc(58px + env(safe-area-inset-bottom));padding:10px 18px calc(10px + env(safe-area-inset-bottom));color:#fff;text-align:left;background:#163f35;border:0;border-radius:0;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0f172a29}.notification-opt-in strong{font-size:.85rem}.notification-opt-in span{color:#d8ebe5;font-size:.78rem}.notification-opt-in b{font-size:1.4rem;font-weight:400}.app-page:has(.notification-opt-in) .liquid-nav{bottom:calc(72px + env(safe-area-inset-bottom))}.app-page:has(.notification-opt-in){padding-bottom:calc(176px + env(safe-area-inset-bottom))}@media (width<=700px){.app-page{padding:18px 14px calc(112px + env(safe-area-inset-bottom))}.app-header{margin-bottom:18px}.app-brand__mark{border-radius:11px;width:40px;height:40px}h1{font-size:1.4rem}.menu-button{width:44px;padding:0}.menu-button span{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.filter-card{gap:14px;padding:16px;display:grid}.date-filter{min-width:0}.notification-settings{width:100%;padding-bottom:calc(32px + env(safe-area-inset-bottom));box-shadow:none;inset:0}.lesson-section{padding:16px}.lessons{grid-template-columns:1fr}.offline-banner{margin:-18px -14px 16px}.detail-panel{width:100%;max-height:88dvh;padding-bottom:calc(22px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;inset:auto 0 0}}
