:root{color-scheme:light dark;--brand: #f08a0d;--brand-hover: #ef766d;--brand-soft: #fff4e6;--gradient-from: #f83062;--gradient-to: #f08a0d;--bg: #ffffff;--bg-translucent: rgba(255, 255, 255, .95);--surface: #ffffff;--surface-muted: #f8fafc;--bubble-ai: #f1f5f9;--bubble-ai-text: #0f172a;--bubble-user: #3b82f6;--bubble-user-text: #ffffff;--text: #1e293b;--text-strong: #0f172a;--text-body: #334155;--text-muted: #64748b;--text-faint: #94a3b8;--border: #e2e8f0;--border-strong: #cbd5e1;--link: #2563eb;--link-hover: #1e40af;--link-on-user: #bfdbfe;--green: #22c55e;--green-hover: #16a34a;--error-bg: #fee2e2;--error-border: #fca5a5;--error-text: #b91c1c;--error-button: #ef4444;--error-button-hover: #dc2626;--badge-live-bg: #fef3c7;--badge-live-text: #92400e;--badge-flip-bg: #f3e8ff;--badge-flip-text: #6b21a8;--badge-recorded-bg: #dcfce7;--badge-recorded-text: #166534;--badge-offline-bg: #e0f2fe;--badge-offline-text: #075985;--badge-default-bg: #f1f5f9;--badge-default-text: #1e293b;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .1), 0 2px 4px -2px rgba(15, 23, 42, .1);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1);--shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .1), 0 8px 10px -6px rgba(15, 23, 42, .1);--shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, .25);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Apple SD Gothic Neo,Malgun Gothic,Noto Sans KR,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}@media(prefers-color-scheme:dark){:root{--brand-soft: rgba(240, 138, 13, .14);--bg: #0f172a;--bg-translucent: rgba(15, 23, 42, .95);--surface: #1e293b;--surface-muted: #0f172a;--bubble-ai: #334155;--bubble-ai-text: #f1f5f9;--text: #f1f5f9;--text-strong: #f8fafc;--text-body: #cbd5e1;--text-muted: #94a3b8;--text-faint: #64748b;--border: #334155;--border-strong: #475569;--link: #60a5fa;--link-hover: #93c5fd;--error-bg: rgba(127, 29, 29, .5);--error-border: #b91c1c;--error-text: #fca5a5;--badge-live-bg: rgba(120, 53, 15, .5);--badge-live-text: #fcd34d;--badge-flip-bg: rgba(88, 28, 135, .5);--badge-flip-text: #d8b4fe;--badge-recorded-bg: rgba(20, 83, 45, .5);--badge-recorded-text: #86efac;--badge-offline-bg: rgba(12, 74, 110, .5);--badge-offline-text: #7dd3fc;--badge-default-bg: #334155;--badge-default-text: #cbd5e1}}*{box-sizing:border-box}html{min-width:320px;min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:var(--bg)}button,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{min-height:100vh;background:var(--bg)}.site-header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--border);background:var(--bg-translucent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.site-header__inner{width:min(896px,calc(100% - 32px));min-height:56px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;gap:10px;padding:0;border:0;color:var(--text);background:transparent;cursor:pointer;text-align:left}.brand img{width:32px;height:32px;border-radius:50%;object-fit:contain;background:#fff;box-shadow:var(--shadow-sm)}.brand__copy{display:flex;flex-direction:column;line-height:1.2}.brand__copy strong{font-size:16px;font-weight:700}.brand__copy small{color:var(--text-muted);font-size:11px}.new-chat{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--border-strong);border-radius:999px;color:var(--text-body);background:var(--surface);cursor:pointer;font-size:13px;font-weight:600;transition:background .15s ease,border-color .15s ease,color .15s ease}.new-chat:hover{border-color:var(--brand);color:var(--brand)}.welcome{width:min(896px,100%);min-height:600px;margin:0 auto;padding:40px 16px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center}.welcome__intro{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.welcome__mark{width:80px;height:80px;margin-bottom:16px;overflow:hidden;border-radius:50%;background:#fff;box-shadow:var(--shadow-lg)}.welcome__mark img{display:block;width:100%;height:100%;object-fit:contain}.welcome h1{margin:0;color:var(--text);font-size:30px;font-weight:700;line-height:36px}.welcome__subtitle{margin:4px 0 0;color:var(--text-muted);font-size:16px}.welcome__hello{margin:32px 0;padding:8px 0;background:linear-gradient(to right,var(--gradient-from),var(--gradient-to));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:48px;font-weight:800;line-height:1;letter-spacing:-.02em}.welcome__greeting{width:100%;max-width:672px;margin:0 0 40px;color:var(--text-body);font-size:18px;line-height:1.7;white-space:pre-line;word-break:keep-all}.starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(768px,100%);margin:0 0 24px}.starter-grid__card{display:flex;flex-direction:column;align-items:flex-start;min-height:150px;padding:22px 24px;border:1px solid var(--border);border-radius:16px;color:var(--text);background:var(--surface);box-shadow:var(--shadow-md);cursor:pointer;text-align:left;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.starter-grid__card:hover{border-color:var(--brand);box-shadow:var(--shadow-lg);transform:translateY(-2px)}.starter-grid__eyebrow{display:block;margin-bottom:14px;color:var(--brand);font-size:13px;font-weight:700}.starter-grid strong{display:block;color:var(--text);font-size:18px;font-weight:700;line-height:1.4;word-break:keep-all}.starter-grid small{display:block;margin-top:8px;color:var(--text-muted);font-size:14px;line-height:1.6;word-break:keep-all}.welcome__composer{width:min(768px,100%)}.composer{position:relative;display:flex;align-items:flex-start;gap:8px;width:100%;padding:8px;border:1px solid var(--border-strong);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color .2s ease,box-shadow .2s ease}.composer:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand)}.composer textarea{display:block;flex:1 1 auto;width:100%;min-height:44px;max-height:144px;padding:10px 8px;overflow-y:auto;border:0;outline:0;resize:none;color:var(--text-strong);background:transparent;font-size:16px;line-height:24px;scrollbar-width:none}.composer textarea::-webkit-scrollbar{display:none}.composer textarea::placeholder{color:var(--text-muted)}.composer textarea:disabled{color:var(--text-muted)}.composer button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:flex-end;width:40px;height:40px;margin-bottom:2px;padding:0;border:0;border-radius:50%;color:#fff;background:var(--brand);cursor:pointer;transition:background .2s ease,opacity .2s ease}.composer button:hover:not(:disabled){background:var(--brand-hover)}.composer button:disabled{cursor:not-allowed;background:var(--text-faint);opacity:.6}.composer button svg{width:20px;height:20px}.composer__count{position:absolute;right:12px;bottom:-20px;color:var(--text-muted);font-size:11px}.privacy-note{margin:8px 16px 0;color:var(--text-muted);font-size:12px;line-height:1.5;text-align:center;white-space:pre-line;word-break:keep-all}.site-footer{width:min(896px,calc(100% - 32px));margin:0 auto;padding:16px 0 28px;display:flex;justify-content:center;gap:12px;color:var(--text-muted);font-size:12px}.site-footer a{color:var(--link);text-decoration:underline;text-underline-offset:2px}.conversation{width:min(896px,100%);margin:0 auto;padding:32px 16px 0}.message-list{display:flex;flex-direction:column;gap:24px}.message{display:flex;align-items:flex-start;gap:14px;scroll-margin-top:72px;animation:fade-in-up .4s ease-out both}.message--user{justify-content:flex-end}.message__avatar{flex:0 0 auto;width:32px;height:32px;margin-top:4px;overflow:hidden;border-radius:50%;background:#fff}.message__avatar img{display:block;width:100%;height:100%;object-fit:cover}.message__content{min-width:0;max-width:85%;font-size:15px;line-height:1.75}.message__bubble{padding:12px 16px;border-radius:24px;box-shadow:var(--shadow-md);overflow-wrap:anywhere;word-break:keep-all}.message--assistant .message__bubble{border-bottom-left-radius:12px;color:var(--bubble-ai-text);background:var(--bubble-ai)}.message--user .message__bubble{border-bottom-right-radius:12px;color:var(--bubble-user-text);background:var(--bubble-user);white-space:pre-line}.message--user .message__bubble p{margin:0}.message__bubble>:first-child{margin-top:0}.message__bubble>:last-child{margin-bottom:0}.message__bubble p{margin:8px 0;white-space:pre-wrap}.message__bubble ul,.message__bubble ol{margin:8px 0;padding-left:22px}.message__bubble li+li{margin-top:4px}.message__bubble a{color:var(--link);text-decoration:underline;text-underline-offset:2px}.message__bubble a:hover{color:var(--link-hover)}.message--user .message__bubble a{color:var(--link-on-user)}.markdown-table{max-width:100%;margin:8px 0;overflow-x:auto}.markdown-table table{min-width:100%;border-collapse:collapse;border:1px solid var(--border-strong)}.markdown-table th,.markdown-table td{padding:8px 12px;border:1px solid var(--border-strong);text-align:left;vertical-align:top}.markdown-table th{color:var(--text-muted);background:var(--surface-muted);font-size:12px;font-weight:600;letter-spacing:.05em}.faq-card{width:100%;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-lg)}.faq-card__header{display:flex;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid var(--border);background:var(--brand-soft)}.faq-card__header svg{flex:0 0 auto;width:20px;height:20px;color:var(--brand)}.faq-card__header strong{color:var(--text-strong);font-size:14px;font-weight:700;letter-spacing:-.01em}.faq-card__header small{margin-left:auto;color:var(--text-muted);font-size:12px;white-space:nowrap}.faq-card__answer{padding:20px;color:var(--text-strong);font-size:17px;font-weight:500;line-height:1.85;letter-spacing:-.01em;word-break:keep-all;overflow-wrap:anywhere}.faq-card__answer>:first-child{margin-top:0}.faq-card__answer>:last-child{margin-bottom:0}.faq-card__answer p{margin:12px 0;white-space:pre-wrap}.faq-card__answer ul,.faq-card__answer ol{margin:10px 0;padding-left:24px}.faq-card__answer li+li{margin-top:6px}.faq-card__answer a{color:var(--link);text-decoration:underline;text-underline-offset:3px}.faq-card__answer strong{font-weight:700}.faq-card__links{display:flex;flex-direction:column;gap:8px;padding:0 20px 20px}.faq-card__links a{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid var(--border-strong);border-radius:12px;color:var(--text-strong);background:var(--surface-muted);font-size:15px;font-weight:600;text-decoration:none;transition:border-color .15s ease,background .15s ease}.faq-card__links a:hover{border-color:var(--brand);background:var(--brand-soft)}.faq-card__links a svg{flex:0 0 auto;width:18px;height:18px;color:var(--brand)}.faq-card__links a span:first-of-type{flex:1 1 auto;min-width:0;word-break:keep-all}.faq-card__links a svg:last-child{width:16px;height:16px;color:var(--text-muted)}.course-results{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%;margin:16px 0;animation:fade-in-up .4s ease-out both}.course-results__featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}.course-results__featured>*{justify-self:center}.course-card{display:flex;flex-direction:column;width:100%;max-width:448px;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-xl);transition:box-shadow .3s ease}.course-card:hover{box-shadow:var(--shadow-2xl)}.course-card__visual{width:100%;aspect-ratio:4 / 3;overflow:hidden;background:var(--surface-muted)}.course-card__visual img{display:block;width:100%;height:100%;object-fit:cover}.course-card__fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;background:linear-gradient(135deg,var(--brand-soft),var(--surface-muted))}.course-card__fallback img{width:64px;height:64px;border-radius:50%;object-fit:contain;background:#fff;box-shadow:var(--shadow-md)}.course-card__fallback span{color:var(--text-muted);font-size:13px;font-weight:600}.course-card__body{display:flex;flex:1 1 auto;flex-direction:column;padding:20px}.course-card__badge{display:inline-block;align-self:flex-start;margin-bottom:8px;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.4}.course-card__badge--live{color:var(--badge-live-text);background:var(--badge-live-bg)}.course-card__badge--flip{color:var(--badge-flip-text);background:var(--badge-flip-bg)}.course-card__badge--recorded{color:var(--badge-recorded-text);background:var(--badge-recorded-bg)}.course-card__badge--offline{color:var(--badge-offline-text);background:var(--badge-offline-bg)}.course-card__badge--default{color:var(--badge-default-text);background:var(--badge-default-bg)}.course-card h3{margin:0 0 8px;color:var(--text);font-size:20px;font-weight:600;line-height:1.4;word-break:keep-all}.course-card__field{margin:0;color:var(--text-muted);font-size:14px;line-height:1.6;word-break:keep-all}.course-card__field+.course-card__field{margin-top:4px}.course-card__field strong{color:var(--text);font-weight:500}.course-card__field--summary{min-height:60px;margin:12px 0;color:var(--text-body);line-height:1.65}.course-card__footer{display:flex;align-items:center;margin-top:auto;padding-top:16px}.course-link{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;color:#fff;background:var(--green);font-size:14px;font-weight:500;text-decoration:none;transition:background .3s ease}.course-link:hover{background:var(--green-hover)}.course-link svg{width:16px;height:16px}.course-link--disabled{cursor:not-allowed;opacity:.5}.course-link--small{padding:6px 12px;border-radius:6px;font-size:12px;box-shadow:var(--shadow-sm)}.course-more{width:100%;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.course-more__scroll{max-width:100%;overflow-x:auto}.course-more table{width:100%;min-width:560px;border-collapse:collapse;table-layout:fixed}.course-more__intro{margin:0;padding:12px 16px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:14px;font-weight:500;text-align:center;word-break:keep-all}.course-more thead{background:var(--surface-muted)}.course-more th,.course-more td{padding:12px 16px;border-bottom:1px solid var(--border);font-size:14px;line-height:1.5;vertical-align:middle}.course-more thead th{color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.05em;text-align:center}.course-more thead th:first-child{width:50%;text-align:left}.course-more thead th:nth-child(2),.course-more thead th:nth-child(3),.course-more thead th:nth-child(4){width:16.66%}.course-more tbody tr{transition:background .15s ease}.course-more tbody tr:hover{background:var(--surface-muted)}.course-more tbody tr:last-child th,.course-more tbody tr:last-child td{border-bottom:0}.course-more tbody th{color:var(--text);font-weight:500;text-align:left;word-break:keep-all}.course-more tbody td{color:var(--text-muted);text-align:center;word-break:keep-all}.course-more tbody td:nth-child(2){white-space:nowrap}.course-more__none{color:var(--text-faint);font-size:12px}.message--loading .message__bubble{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:14px}.spinner{flex:0 0 auto;width:24px;height:24px;border:2px solid var(--brand);border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite}.request-error{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:576px;margin:16px auto;padding:12px;border:1px solid var(--error-border);border-radius:8px;color:var(--error-text);background:var(--error-bg);font-size:14px;text-align:center;animation:fade-in-up .4s ease-out both}.request-error p{margin:0;line-height:1.6}.request-error button{margin-top:8px;padding:6px 16px;border:0;border-radius:6px;color:#fff;background:var(--error-button);cursor:pointer;font-size:14px;font-weight:600;transition:background .15s ease}.request-error button:hover{background:var(--error-button-hover)}.chat-footer{position:fixed;z-index:30;right:0;bottom:0;left:0;display:flex;justify-content:center;border-top:1px solid var(--border);background:var(--bg-translucent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.chat-footer__inner{width:100%;max-width:768px;padding:12px 16px max(16px,env(safe-area-inset-bottom))}.scroll-to-latest{position:absolute;z-index:1;top:-44px;left:50%;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 14px;transform:translate(-50%);border:1px solid var(--border-strong);border-radius:999px;color:var(--text-body);background:var(--surface);box-shadow:var(--shadow-md);cursor:pointer;font-size:12px;font-weight:600}.scroll-to-latest:hover{border-color:var(--brand);color:var(--brand)}@keyframes fade-in-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:640px){.chat-footer__inner{padding-right:0;padding-left:0}}@media(max-width:768px){.course-results__featured{grid-template-columns:1fr}}@media(max-width:640px){.welcome{min-height:0;padding-top:32px}.welcome__hello{margin:24px 0;font-size:40px}.welcome__greeting{margin-bottom:28px;font-size:17px}.starter-grid{grid-template-columns:1fr;gap:12px}.starter-grid__card{min-height:0;padding:18px 20px}.message{gap:10px}.message__content{max-width:calc(100% - 42px)}.message--user .message__content{max-width:88%}.faq-card__header{padding:10px 16px}.faq-card__header small{display:none}.faq-card__answer{padding:16px;font-size:16px;line-height:1.8}.faq-card__links{padding:0 16px 16px}.faq-card__links a{font-size:14px}.course-card h3{font-size:18px}.scroll-to-latest{width:40px;min-height:40px;padding:0;justify-content:center}.scroll-to-latest span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.spinner{animation-duration:1s!important;animation-iteration-count:infinite!important}}
