@font-face{font-family:'GERI KR';src:url('/static/fonts/pretendard-regular.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:'GERI TC';src:url('/static/fonts/noto-sans-tc-ui.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#1f302b;--muted:#6a776f;--green:#244b42;--paper:#f6f7f4;--line:#e0e5df;--app-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","Noto Sans KR",Arial,"GERI KR","GERI TC",sans-serif;font-size:17px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button{border:0;background:none}button,select,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #537b6c}input,textarea,select{font-size:17px}input{width:100%;min-height:52px;background:white;border:1px solid #d6ddd6;border-radius:12px;padding:12px 14px}label{display:block}label>span:first-child{display:block;font-size:15px;font-weight:600;margin-bottom:8px}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-.045em}h2{font-size:26px}a{color:inherit}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.full{width:100%}.primary,.secondary{min-height:52px;border-radius:14px;padding:12px 22px;font-weight:650}.primary{background:var(--green);color:white}.primary:hover{background:#183b32}.secondary{background:#edf0eb}.error{font-size:15px;color:#a3312c;line-height:1.6;min-height:0;margin:10px 0}.error:empty{display:none}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:750;color:#6d7d70}.login-screen{min-height:100svh;display:grid;place-items:center;padding:32px 22px;background:radial-gradient(ellipse at 15% 0%,#e5ede4,transparent 60%),var(--paper)}.login-card{width:100%;max-width:420px}.brand-mark{width:68px;height:68px;border-radius:22px;background:var(--green);color:#fff;font-size:43px;font-weight:700;letter-spacing:-.1em;position:relative;padding-left:12px;margin-bottom:35px}.brand-mark span{position:absolute;font-size:22px;top:4px;right:6px;letter-spacing:0}.login-card h1{font-size:32px;line-height:1.35;margin-bottom:12px}.intro{color:var(--muted);font-size:16px;margin-bottom:27px}.language-tabs{display:flex;gap:5px;background:#e9ede6;padding:5px;border-radius:14px;margin-bottom:30px}.language-tabs button{flex:1;min-height:43px;border-radius:10px;font-size:16px;white-space:nowrap}.language-tabs button.active{background:white;box-shadow:0 2px 8px #20382a0c;font-weight:700}.login-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 25px}.institution{font-size:14px;line-height:1.8;color:var(--muted);margin:30px 0 0}.institution span{font-size:13px}.app{height:var(--app-height);display:flex;overflow:hidden;max-width:1800px;margin:auto}.sidebar{width:280px;flex:none;background:#eef1eb;display:flex;flex-direction:column;padding:32px 20px 18px}.sidebar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px;padding:0 9px}.wordmark{font-size:30px;font-weight:750;letter-spacing:-.07em;text-decoration:none;line-height:1.2}.wordmark span{font-weight:400;margin-left:4px}.wordmark small{display:block;font-size:9px;letter-spacing:.15em;margin-top:8px;font-weight:650;color:var(--muted)}.new-room{display:flex;align-items:center;gap:12px;min-height:52px;border-radius:14px;background:white;text-align:left;padding:10px 15px;font-size:16px;font-weight:600}.new-room>span:first-child{font-size:25px;font-weight:400}.section-label{color:var(--muted);font-size:12px;margin:32px 12px 12px}.room-list{overflow-y:auto;flex:1;min-height:50px}.room-button{display:block;width:100%;text-align:left;min-height:50px;padding:13px 14px;font-size:16px;border-radius:12px;overflow-wrap:anywhere;margin-bottom:4px}.room-button.active{background:#dce6da;font-weight:650}.room-button:hover{background:#e1e7dd}.sidebar-footer{margin-top:20px}.menu-item{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;width:100%;text-align:left;min-height:48px;font-size:16px}.menu-item:hover{background:#e0e7dc}.menu-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted{color:var(--muted)}.sidebar-credit{font-size:10px;letter-spacing:.14em;color:#7a867a;margin:25px 14px 0}.main{min-width:0;display:flex;flex-direction:column;flex:1;background:#f8f9f6;position:relative}.chat-header{display:flex;align-items:center;gap:15px;min-height:88px;padding:18px 34px;background:#f8f9f6;flex:none}.room-heading{min-width:0;flex:1}.room-heading h1{font-size:20px;letter-spacing:-.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 6px}.connection{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:#afb5af}.status-dot.online{background:#398564}.display-language select{max-width:140px;min-height:44px;padding:10px 30px 10px 13px;border:1px solid var(--line);border-radius:12px;background:transparent;font-size:15px}.room-tools{padding:8px 34px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#eef2ec;flex:none;min-height:44px}.room-tools>span{font-size:12px;color:#6e7b70}.switch-label{display:flex;align-items:center;gap:7px;font-size:12px;position:relative;min-height:30px;cursor:pointer}.switch-label>span:first-child,.switch-label span{display:inline;margin:0;font-size:12px;font-weight:500}.switch-label input{position:absolute;opacity:0;width:30px;min-height:28px;margin:0}.switch{display:inline-block!important;width:28px;height:16px;flex:none;border-radius:20px;background:#bcc7bc;position:relative}.switch:after{content:"";position:absolute;width:12px;height:12px;background:white;border-radius:50%;left:2px;top:2px;transition:transform .15s}.switch-label input:checked+.switch{background:var(--green)}.switch-label input:checked+.switch:after{transform:translateX(12px)}.switch-label input:focus-visible+.switch{outline:3px solid #537b6c;outline-offset:4px}.messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;padding:28px 34px 12px;scroll-padding-bottom:20px}.message-list{max-width:840px;margin:auto;display:flex;flex-direction:column;gap:25px;padding-bottom:15px}.message{max-width:83%;width:fit-content;align-self:flex-start;min-width:100px}.message.same-language{align-self:flex-end}.message-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:0 4px 8px;flex-wrap:wrap}.same-language .message-meta{justify-content:flex-end}.speaker{font-weight:650;font-size:13px;color:#425748}.source-tag{font-size:11px;background:#edf0e9;border-radius:5px;padding:3px 5px}.bubble{padding:15px 18px;border-radius:20px 20px 20px 5px;background:white;box-shadow:0 2px 8px #172f1d04;overflow-wrap:anywhere}.same-language .bubble{border-radius:20px 20px 5px 20px;background:#dfeadd}.guide-message .bubble{background:#e9edf0;border-radius:20px}.message-text{white-space:pre-wrap;font-size:18px;line-height:1.65;margin:0}.message.pending .message-text{opacity:.7}.message-state{font-size:12px;color:var(--muted);margin:8px 0 0}.message-state.failed{color:#a3312c}.message-state button{color:inherit;text-decoration:underline;margin-left:7px;min-height:30px}.message-note{background:#fbefce;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.55;margin-top:12px;white-space:pre-wrap}.message-details{font-size:14px;color:#657366;margin-top:10px}.message-details summary{cursor:pointer;min-height:32px;display:list-item;padding-top:5px}.message-details p{white-space:pre-wrap;line-height:1.6;margin:8px 0 0}.message-details a{display:block;margin-top:10px;line-height:1.5;overflow-wrap:anywhere}.message-actions{display:flex;justify-content:flex-end;gap:3px;margin-top:5px}.text-action{font-size:12px;color:#6b796d;min-height:32px;padding:6px 9px;border-radius:8px}.text-action:hover{background:#e7ece3}.empty-state{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px 10px}.conversation-symbol{display:flex;position:relative;width:98px;height:85px;margin-bottom:27px}.conversation-symbol span{position:absolute;display:grid;place-items:center;width:61px;height:61px;border-radius:20px;background:#e0eadb;color:#325241;font-size:25px;font-weight:600;left:0;top:0;transform:rotate(-8deg)}.conversation-symbol span+span{left:38px;top:26px;background:#2b4d42;color:white;transform:rotate(8deg)}.empty-state h2{font-size:30px;margin:0 0 12px}.empty-state>p:not(.eyebrow){font-size:16px;color:var(--muted);line-height:1.7;margin-bottom:25px}.empty-state .primary{font-size:16px}.composer-area{flex:none;padding:14px 34px max(16px,env(safe-area-inset-bottom));background:#f8f9f6}.composer{max-width:840px;margin:auto;display:flex;align-items:flex-end;gap:10px;border:1px solid #d9e1d6;border-radius:22px;padding:10px 10px 10px 18px;background:#fff;box-shadow:0 5px 18px #183d2310}.composer textarea{border:0;background:transparent;resize:none;min-height:40px;max-height:150px;line-height:1.5;padding:7px 0;flex:1;width:0;font-size:18px;outline:none}.composer:focus-within{outline:2px solid #78917b;outline-offset:1px}.composer-actions{display:flex;gap:4px;align-items:center}.icon-button{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;font-size:30px;line-height:1}.icon-button:hover{background:#e6ece1}.mic{color:#6a7c6c}.mic.active{background:#fbe2da;color:#b1392b}.send-button{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:var(--green);color:#fff;flex:none}.send-button svg{width:25px;height:25px;stroke-width:2}.composer-caption{max-width:822px;margin:10px auto 0;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7d887b}.voice-status{display:flex;align-items:center;gap:8px;max-width:822px;margin:0 auto 10px;font-size:14px}.voice-status button{margin-left:auto;background:#e9eee3;padding:9px 16px;border-radius:10px;font-size:14px}.record-dot{width:8px;height:8px;border-radius:50%;background:#b64a39;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}.toast{position:absolute;bottom:155px;left:50%;transform:translateX(-50%);background:#263e33;color:white;padding:12px 18px;border-radius:14px;font-size:14px;max-width:90%;z-index:10;box-shadow:0 5px 20px #0002}.older{display:block;margin:0 auto 24px;background:#e8ede3;border-radius:12px;padding:11px 18px;font-size:14px}.dialog{border:0;border-radius:26px;padding:36px 28px 28px;background:#fff;max-width:calc(100% - 32px);width:410px;max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 20px 100px #15302130;color:var(--ink)}.dialog::backdrop{background:#1c302866;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:10px;top:10px}.dialog h2{margin:12px 0 25px}.qr-dialog{text-align:center}.qr-dialog h2{margin-bottom:10px}.qr-image{display:block;width:min(260px,100%);height:auto;aspect-ratio:1;margin:0 auto;background:white}.qr-url{font-size:15px;letter-spacing:.02em;color:var(--muted);margin:5px 0 22px}.credentials{background:#f0f3ec;border-radius:18px;padding:18px 20px;margin:0 0 20px}.credentials>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0}.credentials dt{font-size:14px;color:var(--muted)}.credentials dd{font-size:25px;font-weight:700;margin:0;letter-spacing:.03em;user-select:all;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.check-row{display:flex;align-items:center;gap:10px;margin:20px 0 6px;min-height:30px}.check-row input{width:20px;height:20px;min-height:20px;accent-color:var(--green)}.check-row span{font-size:16px;font-weight:500;margin:0!important}.field-note{font-size:14px;color:var(--muted);line-height:1.5;margin:0 0 25px}.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}.mobile-only{display:none}[hidden]{display:none!important}
@media(min-width:1200px){.chat-header{padding-left:50px;padding-right:50px}.messages{padding-left:50px;padding-right:50px}.composer-area{padding-left:50px;padding-right:50px}}
@media(max-width:760px){:root{font-size:17px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:min(320px,87vw);z-index:30;transform:translateX(-101%);transition:transform .2s;padding-top:max(25px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));box-shadow:8px 0 45px #13251618}.sidebar.open{transform:translateX(0)}.drawer-shade{position:fixed;inset:0;background:#172b254d;z-index:25;width:100%;height:100%}.mobile-only{display:grid}.chat-header{min-height:78px;padding:max(14px,env(safe-area-inset-top)) 14px 12px 8px;gap:8px}.room-heading h1{font-size:18px;max-width:calc(100vw - 190px)}.display-language select{font-size:15px;max-width:105px;padding:9px 18px 9px 9px}.connection{font-size:11px;gap:5px}.room-tools{padding:5px 16px;min-height:40px;gap:6px}.room-tools>span{font-size:10px}.switch-label span:last-child{font-size:11px}.messages{padding:22px 15px 8px}.message-list{gap:21px}.message{max-width:90%}.bubble{padding:13px 15px}.message-text{font-size:18px;line-height:1.65}.message-meta{font-size:11px;gap:6px}.speaker{font-size:12px}.composer-area{padding:9px 12px max(12px,env(safe-area-inset-bottom))}.composer{border-radius:20px;padding:7px 7px 7px 14px;gap:5px}.composer textarea{font-size:18px}.composer-actions{gap:0}.mic{width:40px;height:44px}.send-button{width:43px;height:43px}.composer-caption{font-size:10px;margin:8px 5px 0}.empty-state h2{font-size:27px}.empty-state>p:not(.eyebrow){font-size:15px}.login-screen{padding:30px 24px}.brand-mark{margin-bottom:25px}.login-card h1{font-size:30px}.login-fields{gap:10px}.dialog{padding:35px 22px 25px;border-radius:23px}.qr-image{width:min(250px,100%)}.toast{bottom:145px}.sidebar-footer{margin-top:15px}.sidebar-head{margin-bottom:25px}.login-card .eyebrow{margin-bottom:12px}}
@media(max-width:360px){.room-tools>span{display:none}.room-tools{justify-content:flex-end}.login-fields{grid-template-columns:1fr}.login-card h1{font-size:27px}.chat-header{gap:3px}.room-heading h1{max-width:calc(100vw - 170px)}.message{max-width:94%}.mic{width:35px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
