.clf-app{--font-display:"Saira","Noto Sans TC",sans-serif;--font-body:"IBM Plex Sans","Noto Sans TC",sans-serif;--accent:#bb0415;--radius:4px;--maxw:760px}.clf-app[data-type=neutral]{--font-display:"IBM Plex Sans","Noto Sans TC",sans-serif}.clf-app[data-theme=light]{--bg:#f1f1f1;--surface:#fff;--surface-2:#f6f6f6;--surface-3:#efefef;--line:#2d2c301f;--line-2:#2d2c3038;--text:#2d2c30;--text-2:#595959;--text-3:#9fa0a0;--user-bg:#2d2c30;--user-text:#fff}.clf-app[data-theme=dark]{--bg:#1a191c;--surface:#232227;--surface-2:#2a2930;--surface-3:#302f36;--line:#ffffff1a;--line-2:#fff3;--text:#f1f1f1;--text-2:#bdbdc0;--text-3:#86868a;--user-bg:#3a3942;--user-text:#fff}*{box-sizing:border-box}html,body{height:100%;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background:#000;font-family:IBM Plex Sans,sans-serif}#root{height:100%}.clf-app{background:var(--bg);height:100dvh;color:var(--text);font-family:var(--font-body);flex-direction:column;display:flex;overflow:hidden}.ic,.ic-send,.ic-reset,.ic-report,.ic-doc,.ic-web,.ic-cite,.ic-term,.ic-video{background-color:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.ic-term{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.5 5.5 8 5 4 5v12c4 0 6.5.5 8 1.5'/%3E%3Cpath d='M12 6.5C13.5 5.5 16 5 20 5v12c-4 0-6.5.5-8 1.5'/%3E%3Cpath d='M12 6.5v12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.5 5.5 8 5 4 5v12c4 0 6.5.5 8 1.5'/%3E%3Cpath d='M12 6.5C13.5 5.5 16 5 20 5v12c-4 0-6.5.5-8 1.5'/%3E%3Cpath d='M12 6.5v12'/%3E%3C/svg%3E")}.ic-send{width:17px;height:17px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h14M12 6l6 6-6 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h14M12 6l6 6-6 6'/%3E%3C/svg%3E")}.ic-reset{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0-.7 4.3'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0-.7 4.3'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E")}.ic-report{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V4h11l-1.5 4L15 12H4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V4h11l-1.5 4L15 12H4'/%3E%3C/svg%3E")}.ic-doc{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M10 13h5M10 17h5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M10 13h5M10 17h5'/%3E%3C/svg%3E")}.ic-web{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.5 2.4 14.5 0 17M12 3.5c-2.4 2.5-2.4 14.5 0 17'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.5 2.4 14.5 0 17M12 3.5c-2.4 2.5-2.4 14.5 0 17'/%3E%3C/svg%3E")}.ic-cite{width:13px;height:13px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 15l6-6'/%3E%3Cpath d='M11 7l1.5-1.5a4 4 0 0 1 5.7 5.7L16.5 13'/%3E%3Cpath d='M13 17l-1.5 1.5a4 4 0 0 1-5.7-5.7L7.5 11'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 15l6-6'/%3E%3Cpath d='M11 7l1.5-1.5a4 4 0 0 1 5.7 5.7L16.5 13'/%3E%3Cpath d='M13 17l-1.5 1.5a4 4 0 0 1-5.7-5.7L7.5 11'/%3E%3C/svg%3E")}.ic-video{width:15px;height:15px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='13' height='14' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='13' height='14' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3'/%3E%3C/svg%3E")}.chev{border-bottom:1.6px solid;border-right:1.6px solid;width:9px;height:9px;display:inline-block;transform:rotate(-45deg)}.app-header{background:var(--surface);border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;height:74px;padding:0 26px;display:flex}.brand{align-items:center;gap:14px;min-width:0;display:flex}.brand-mark{font-family:var(--font-display);letter-spacing:.1em;color:var(--text);align-items:center;gap:11px;font-size:25px;font-weight:700;display:flex}.brand-mark-bar{background:var(--accent);width:4px;height:26px;display:inline-block}.brand-meta{border-left:1px solid var(--line);flex-direction:column;gap:2px;min-width:0;padding-left:14px;display:flex;overflow:hidden}.brand-product{font-family:var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;overflow:hidden}.brand-tagline{letter-spacing:.04em;color:var(--text-3);white-space:nowrap;font-size:11px}.header-actions{flex-shrink:0;align-items:center;gap:14px;display:flex}.btn-ghost{border:1px solid var(--line-2);height:38px;color:var(--text-2);font-family:var(--font-display);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border-radius:var(--radius);white-space:nowrap;background:0 0;align-items:center;gap:8px;padding:0 14px;font-size:12.5px;font-weight:500;transition:all .16s;display:inline-flex}.btn-ghost:hover{background:var(--surface-2);color:var(--text);border-color:var(--text-3)}.btn-theme{padding:0 12px;font-size:15px;line-height:1}.lang-toggle{border:1px solid var(--line-2);border-radius:var(--radius);display:flex;overflow:hidden}.lang-opt{width:46px;height:38px;color:var(--text-2);font-family:var(--font-display);letter-spacing:.04em;cursor:pointer;background:0 0;border:0;font-size:14px;font-weight:600;transition:all .16s}.lang-opt+.lang-opt{border-left:1px solid var(--line)}.lang-opt.is-active{background:var(--accent);color:#fff}.presence-bar{letter-spacing:.04em;color:var(--text-3);background:var(--surface);border-bottom:1px solid var(--line);flex:none;align-items:center;gap:6px;padding:5px 16px;font-size:12px;display:flex}.presence-bar.is-busy{color:#7a4a00;background:#fff4e0;border-bottom-color:#f0d9a8}.app-body{flex:auto;min-height:0;display:flex}.app-main{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}.chat-scroll{flex:auto;overflow:hidden auto}.chat-inner{max-width:var(--maxw);margin:0 auto;padding:38px 26px 28px}.rail{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;flex:0 0 250px;padding:24px 0 18px;display:flex}.rail-head{font-family:var(--font-display);letter-spacing:.16em;text-transform:uppercase;color:var(--text-3);padding:0 24px 14px;font-size:11px;font-weight:600}.rail-list{flex-direction:column;display:flex}.rail-item{color:var(--text-2);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;border:0;border-left:2px solid #0000;align-items:center;gap:12px;padding:12px 22px;font-size:15px;transition:all .15s;display:flex}.rail-item:hover{background:var(--surface-2);color:var(--text)}.rail-item.is-active{background:var(--surface-2);color:var(--text);border-left-color:var(--accent);font-weight:500}.rail-dot{background:var(--line-2);width:7px;height:7px;transition:all .15s;transform:rotate(45deg)}.rail-item.is-active .rail-dot{background:var(--accent)}.rail-foot{color:var(--text-3);border-top:1px solid var(--line);margin-top:auto;padding:16px 24px 0;font-size:11px;line-height:1.5}.ctxpanel{background:var(--surface);border-left:1px solid var(--line);flex-direction:column;flex:0 0 372px;width:372px;min-height:0;transition:flex-basis .28s,width .28s,max-height .28s;display:flex;position:relative}.ctxpanel[data-collapsed=true]{flex-basis:54px;width:54px}.ctx-railbtn{display:none}.ctxpanel[data-collapsed=true] .ctx-railbtn{cursor:pointer;width:100%;height:100%;color:var(--text-2);background:0 0;border:0;flex-direction:column;align-items:center;gap:14px;padding:18px 0;display:flex}.ctxpanel[data-collapsed=true] .ctx-head,.ctxpanel[data-collapsed=true] .ctx-scroll{display:none}.ctx-railbtn-chev{border-bottom:1.6px solid;border-left:1.6px solid;width:9px;height:9px;transform:rotate(45deg)}.ctx-railbtn-label{writing-mode:vertical-rl;font-family:var(--font-display);letter-spacing:.22em;text-transform:uppercase;color:var(--text-3);font-size:11px;font-weight:600}.ctx-head{border:0;border-bottom:1px solid var(--line);cursor:pointer;text-align:left;background:0 0;flex:none;align-items:center;gap:10px;height:54px;padding:0 18px;display:flex}.ctx-head-kicker{background:var(--accent);flex:none;width:4px;height:18px}.ctx-head-label{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--text);white-space:nowrap;text-overflow:ellipsis;flex:auto;font-size:13px;font-weight:600;overflow:hidden}.ctx-collapse{width:26px;height:26px;color:var(--text-3);flex:none;justify-content:center;align-items:center;display:flex}.ctx-chev{border-bottom:1.6px solid;border-right:1.6px solid;width:8px;height:8px;transition:all .2s;transform:rotate(-45deg)}.ctx-scroll{flex:auto;min-height:0;overflow:hidden auto}.ctx-blocks{flex-direction:column;gap:16px;padding:18px;animation:.4s both rise;display:flex}.ctx-img{aspect-ratio:16/10;border:1px solid var(--line);border-radius:var(--radius);background-color:var(--surface-2);background-image:repeating-linear-gradient(135deg,#0000 0 11px,#2d2c300b 11px 12px);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.ctx-img-photo{object-fit:contain;width:100%;height:100%;padding:6%;position:absolute;inset:0}.clf-app[data-theme=dark] .ctx-img{background-image:repeating-linear-gradient(135deg,#0000 0 11px,#ffffff0d 11px 12px)}.ctx-img-label{letter-spacing:.1em;color:var(--text-3);text-align:center;padding:0 16px;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:10.5px;line-height:1.5}.ctx-play{border:1.5px solid var(--text-3);border-radius:50%;width:46px;height:46px;display:flex;position:absolute}.ctx-play:after{content:"";border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent var(--text-3);position:absolute;top:50%;left:54%;transform:translate(-50%,-50%)}.ctx-card-note{color:var(--text-3);margin:-4px 0 10px;font-size:12px;line-height:1.4}.ctx-specs{flex-direction:column;display:flex}.ctx-spec-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:14px;padding:9px 0;display:flex}.ctx-spec-row:last-child{border-bottom:0}.ctx-spec-k{color:var(--text-2);flex:auto;min-width:0;font-size:13.5px}.ctx-spec-v{font-family:var(--font-display);color:var(--text);text-align:right;flex:none;max-width:58%;font-size:14px;font-weight:600}.ctx-table{border-collapse:collapse;width:100%}.ctx-table th{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);text-align:left;border-bottom:1px solid var(--line-2);padding:0 0 9px;font-size:10.5px;font-weight:600}.ctx-table th:last-child,.ctx-table td:last-child{text-align:right}.ctx-table td{color:var(--text);border-bottom:1px solid var(--line);padding:10px 0;font-size:13.5px}.ctx-table tr:last-child td{border-bottom:0}.ctx-table td:last-child{font-family:var(--font-display);font-weight:600}.ctx-xscroll{overflow-x:auto}.ctx-xscroll>.ctx-table{min-width:max-content}.ctx-xscroll .ctx-table th,.ctx-xscroll .ctx-table td{white-space:nowrap;padding-right:16px}.ctx-xscroll .ctx-table th:last-child,.ctx-xscroll .ctx-table td:last-child{padding-right:0}.ctx-xscroll .ctx-spec-k{color:var(--text-2)}.ctx-cmp td,.ctx-cmp th{text-align:center}.ctx-cmp.ctx-table td:last-child,.ctx-cmp.ctx-table th:last-child{text-align:center;font-family:inherit;font-weight:inherit}.ctx-cmp .ctx-cmp-k{text-align:left;color:var(--text-2);white-space:nowrap}.ctx-chips{flex-wrap:wrap;gap:6px;padding:10px 12px;display:flex}.ctx-chip{border:1px solid var(--line);color:var(--text-2);white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:12px}.ctx-list td:first-child,.ctx-list th:first-child{text-align:left}.ctx-list th,.ctx-list td{text-align:center}.ctx-list.ctx-table td:last-child,.ctx-list.ctx-table th:last-child{text-align:center;font-family:inherit;font-weight:inherit}.ctx-cmp th:first-child{text-align:left}.ctx-alarm{border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:var(--radius);background:var(--surface-2);padding:14px 16px}.ctx-alarm-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.ctx-alarm-code{font-family:var(--font-display);letter-spacing:.04em;color:var(--accent);white-space:nowrap;flex:none;font-size:22px;font-weight:700}.ctx-alarm-sev{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--text-2);border:1px solid var(--line-2);white-space:nowrap;border-radius:2px;flex:none;padding:3px 7px;font-size:10px;font-weight:600}.ctx-alarm-title{color:var(--text);font-size:15px;font-weight:500}.ctx-steps{counter-reset:none;flex-direction:column;gap:11px;margin:0;padding:0;list-style:none;display:flex}.ctx-step{align-items:flex-start;gap:11px;display:flex}.ctx-step-n{border:1px solid var(--line-2);width:22px;height:22px;font-family:var(--font-display);color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;margin-top:1px;font-size:11.5px;font-weight:600;display:flex}.ctx-step-t{color:var(--text-2);font-size:14px;line-height:1.5}.ctx-doc-list{flex-direction:column;gap:9px;margin:0;padding:0;list-style:none;display:flex}.ctx-doc-list li{color:var(--text-2);padding-left:18px;font-size:14px;line-height:1.5;position:relative}.ctx-doc-list li:before{content:"";background:var(--line-2);width:6px;height:6px;position:absolute;top:8px;left:2px;transform:rotate(45deg)}.ctx-doc-action{font-family:var(--font-display);letter-spacing:.04em;color:var(--accent);margin-top:12px;font-size:12.5px;font-weight:600}.ctx-note{color:var(--text-2);border-left:2px solid var(--line-2);padding-left:13px;font-size:13px;line-height:1.6}.welcome{text-align:center;max-width:660px;margin:0 auto;padding-top:14px;animation:.45s both rise}.welcome-emblem{justify-content:center;align-items:center;width:60px;height:60px;margin:0 auto 26px;display:flex;position:relative}.emblem-ring{border:1.5px solid var(--line-2);border-radius:50%;position:absolute;inset:0}.emblem-ring:after{content:"";border:1px solid var(--line);border-radius:50%;position:absolute;inset:9px}.emblem-core{background:var(--accent);width:12px;height:12px;transform:rotate(45deg)}.welcome-title{font-family:var(--font-display);letter-spacing:-.005em;color:var(--text);text-wrap:balance;margin:0 0 14px;font-size:33px;font-weight:600;line-height:1.2}.welcome-sub{color:var(--text-2);text-wrap:pretty;max-width:500px;margin:0 auto 34px;font-size:16px;line-height:1.6}.sugg-head{align-items:center;gap:14px;max-width:560px;margin:0 auto 16px;display:flex}.sugg-head-line{background:var(--line);flex:1;height:1px}.sugg-head-label{font-family:var(--font-display);letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);font-size:11px;font-weight:600}.sugg-grid{text-align:left;grid-template-columns:1fr 1fr;gap:12px;display:grid}.sugg-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:17px 18px;transition:all .16s;animation:.45s both rise;display:flex}.sugg-card:hover{border-color:var(--text-3);transform:translateY(-2px);box-shadow:0 6px 20px -12px #0000004d}.sugg-q{font-family:var(--font-display);color:var(--text);font-size:16px;font-weight:500;line-height:1.35}.sugg-arrow{color:var(--text-3);flex:none;transition:all .16s}.sugg-arrow:before{content:"";border-top:1.6px solid;border-right:1.6px solid;width:8px;height:8px;display:inline-block;transform:rotate(45deg)}.sugg-card:hover .sugg-arrow{color:var(--accent);transform:translate(3px)}.row{margin-bottom:22px;display:flex}.row-user{justify-content:flex-end}.bubble-user{background:var(--user-bg);max-width:80%;color:var(--user-text);border-radius:var(--radius);padding:13px 17px;font-size:16px;line-height:1.5}.row-asst{align-items:flex-start;gap:13px}.asst-avatar{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex:none;justify-content:center;align-items:center;width:36px;height:36px;margin-top:1px;display:flex}.asst-avatar-bar{background:var(--accent);width:4px;height:17px}.asst-col{flex:auto;min-width:0;max-width:calc(100% - 50px)}.bubble-asst{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:17px 20px}.asst-para{color:var(--text);text-wrap:pretty;margin:0 0 12px;font-size:16px;line-height:1.62}.asst-para:last-child{margin-bottom:0}.btn-retry{border:1px solid var(--line);color:var(--text);cursor:pointer;background:0 0;border-radius:8px;margin-top:8px;padding:4px 12px;font-size:13px}.btn-retry:hover{background:var(--surface-2)}.caret{background:var(--accent);vertical-align:-2px;width:2px;height:1.05em;margin-left:2px;animation:1s steps(2,end) infinite blink;display:inline-block}.typing{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:11px;padding:13px 17px;display:inline-flex}.typing-dots{gap:5px;display:inline-flex}.typing-dots i{background:var(--text-3);border-radius:50%;width:7px;height:7px;animation:1.1s ease-in-out infinite bounce}.typing-dots i:nth-child(2){animation-delay:.16s}.typing-dots i:nth-child(3){animation-delay:.32s}.typing-label{color:var(--text-3);letter-spacing:.01em;font-size:13.5px}.sources{margin-top:14px}.sources-head{cursor:pointer;width:100%;font-family:var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:11px;font-weight:600;display:flex}.sources[data-open=true] .sources-head{margin-bottom:9px}.sources-head:hover{color:var(--text-2)}.sources-count{border:1px solid var(--line);letter-spacing:0;min-width:17px;height:17px;color:var(--text-3);border-radius:9px;justify-content:center;align-items:center;padding:0 5px;font-size:10px;display:inline-flex}.sources-chev{border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin-bottom:2px;margin-left:auto;transition:transform .2s;transform:rotate(45deg)}.sources[data-open=true] .sources-chev{margin-bottom:-2px;transform:rotate(-135deg)}.sources-list,.source-group{flex-direction:column;gap:8px;display:flex}.source-group-heading{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);padding:2px 2px 0;font-size:11px;font-weight:600}.chip{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);transition:all .16s;overflow:hidden}.chip-internal{border-left:2px solid var(--accent)}.chip:hover{border-color:var(--line-2)}.chip-internal:hover{border-left-color:var(--accent)}.chip-term{background:0 0;border-style:dashed}.chip-term:hover{border-color:var(--line)}.chip-term .chip-head{cursor:default}.chip-term .chip-icon{color:var(--text-3);background:0 0;border-style:dashed}.chip-term .chip-title{color:var(--text-2);font-weight:400}.chip-head{cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:11px 14px;display:flex}.chip-icon{background:var(--surface);border:1px solid var(--line);width:28px;height:28px;color:var(--text-3);border-radius:3px;flex:none;justify-content:center;align-items:center;display:flex}.chip-internal .chip-icon{color:var(--accent)}.chip-body{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.chip-kind{font-family:var(--font-display);letter-spacing:.13em;text-transform:uppercase;color:var(--text-3);font-size:10px;font-weight:600}.chip-internal .chip-kind{color:var(--accent)}.chip-title{font-family:var(--font-display);color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.chip-ref,.chip-locator{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.chip-toggle{color:var(--text-3);flex:none}.chip-toggle:before{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:8px;height:8px;margin-bottom:3px;transition:all .2s;display:inline-block;transform:rotate(45deg)}.chip.is-open .chip-toggle:before{margin-bottom:-3px;transform:rotate(-135deg)}.chip-excerpt{transition:max-height .26s;overflow:hidden}.chip-excerpt-inner{flex-direction:column;gap:8px;padding:0 14px 13px;display:flex}.chip-quote{border-left:2px solid var(--line-2);color:var(--text-2);padding-left:12px;font-size:13.5px;line-height:1.55;display:block}.chip-url{letter-spacing:.02em;color:var(--text-3);font-size:12px}.chip-thumb{border:1px solid var(--line);cursor:zoom-in;background:0 0;border-radius:4px;max-width:120px;margin:0 14px 10px 54px;padding:0;display:block;overflow:hidden}.chip-thumb img{width:100%;height:auto;display:block}.follow{margin-top:16px}.follow-head{font-family:var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);margin-bottom:9px;font-size:11px;font-weight:600;display:block}.follow-chips{flex-wrap:wrap;gap:8px;display:flex}.follow-chip{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--text-2);font-family:var(--font-body);cursor:pointer;align-items:center;gap:7px;padding:9px 14px;font-size:14px;transition:all .15s;display:inline-flex}.follow-chip:hover{border-color:var(--text-3);color:var(--text)}.follow-chip-arrow{color:var(--text-3)}.follow-chip-arrow:before{content:"";border-top:1.5px solid;border-right:1.5px solid;width:7px;height:7px;display:inline-block;transform:rotate(45deg)}.follow-chip:hover .follow-chip-arrow{color:var(--accent)}.inputbar{background:var(--surface);border-top:1px solid var(--line);flex:none;padding:15px 24px 13px}.inputbar-inner{gap:10px;max-width:880px;margin:0 auto;display:flex}.input-field{background:var(--surface-2);border:1px solid var(--line-2);border-radius:var(--radius);min-width:0;height:50px;font-family:var(--font-body);color:var(--text);flex:auto;padding:0 18px;font-size:16px;transition:all .16s}.input-field::placeholder{color:var(--text-3)}.input-field:focus{border-color:var(--accent);background:var(--surface);outline:none}.btn-send{background:var(--accent);color:#fff;border-radius:var(--radius);height:50px;font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;white-space:nowrap;border:0;flex:none;align-items:center;gap:9px;padding:0 24px;font-size:14px;font-weight:600;transition:all .16s;display:inline-flex}.btn-send:hover:not(:disabled){filter:brightness(1.08)}.btn-send:disabled{background:var(--surface-3);color:var(--text-3);cursor:default}.inputbar-note{text-align:center;letter-spacing:.02em;max-width:880px;color:var(--text-3);margin:8px auto 0;font-size:11px}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes fadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes rise{0%{transform:translateY(9px)}to{transform:none}}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes bounce{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}@media (prefers-reduced-motion:reduce){*{animation:none!important}}@media (width<=900px){.app-body{flex-direction:column}.ctxpanel{border-left:0;border-bottom:1px solid var(--line);order:-1;max-height:48vh;flex-basis:auto!important;width:auto!important}.ctxpanel[data-collapsed=true]{max-height:55px;flex-basis:auto!important;width:auto!important}.ctxpanel[data-collapsed=true] .ctx-head{display:flex!important}.ctx-railbtn{display:none!important}.ctx-chev{transform:rotate(45deg)}.ctxpanel[data-collapsed=false] .ctx-chev{transform:rotate(-135deg)}}@media (width<=860px){.rail{display:none}.app-header{height:64px;padding:0 16px}.brand-tagline{display:none}.chat-inner{padding:26px 16px 22px}.welcome-title{font-size:27px}.sugg-grid{grid-template-columns:1fr}.inputbar{padding:12px 14px 11px}.btn-send-label,.btn-ghost-label{display:none}.header-actions{gap:8px}.btn-ghost{padding:0 11px}.lang-opt{width:42px}.btn-send{padding:0 18px}.bubble-user,.asst-para,.bubble-asst .md,.bubble-asst .md p{font-size:15.5px}}.ctx-img-btn{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.ctx-lightbox{z-index:50;cursor:zoom-out;background:#000000c7;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.ctx-lightbox img{object-fit:contain;background:#fff;border-radius:8px;max-width:92vw;max-height:88vh;padding:2%}.landing{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.landing-card{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:14px;max-width:420px;padding:40px}.landing-card .brand-mark{justify-content:center}.landing-title{font-size:20px;font-family:var(--font-display);color:var(--text);margin:16px 0 8px}.landing-body{color:var(--text-2);margin:0;font-size:14px;line-height:1.6}.boot-card{max-width:460px}.boot-groups{text-align:left;gap:10px;margin:20px 0 12px;padding:0;list-style:none;display:grid}.boot-group{color:var(--text);align-items:center;gap:10px;font-size:14px;display:flex}.boot-group-label{flex:auto;min-width:0}.boot-group-status{color:var(--text-2);margin-left:auto;font-size:13px}.boot-dot{background:var(--line);border-radius:50%;flex:none;width:10px;height:10px}.boot-group[data-status=ok] .boot-dot{background:var(--ok,#2e9e5b)}.boot-group[data-status=starting] .boot-dot{background:var(--accent);animation:1.2s ease-in-out infinite boot-pulse}.boot-group[data-status=down] .boot-dot{background:var(--danger,#c0392b)}.boot-waited{color:var(--text-2);font-variant-numeric:tabular-nums;margin:0 0 10px;font-size:13px}@keyframes boot-pulse{0%,to{opacity:1}50%{opacity:.35}}.service-banner{background:var(--accent-soft,#e6960024);color:var(--text);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px 14px;padding:6px 16px;font-size:13px;display:flex}.service-banner[data-locked=true]{background:var(--danger-soft,#c0392b1f)}.service-banner-note{color:var(--text-2)}.bubble-asst .md{text-align:left;color:var(--text);font-size:16px;line-height:1.62}.bubble-asst .md>:first-child{margin-top:0}.bubble-asst .md>:last-child{margin-bottom:0}.bubble-asst .md p{margin:0 0 12px}.bubble-asst .md h1,.bubble-asst .md h2,.bubble-asst .md h3,.bubble-asst .md h4{font-family:var(--font-display);margin:16px 0 8px;font-weight:700;line-height:1.3}.bubble-asst .md h1{font-size:21px}.bubble-asst .md h2{font-size:18px}.bubble-asst .md h3{font-size:16px}.bubble-asst .md h4{font-size:15px}.bubble-asst .md ul,.bubble-asst .md ol{margin:0 0 12px;padding-left:22px}.bubble-asst .md li,.bubble-asst .md li>ul,.bubble-asst .md li>ol{margin:3px 0}.bubble-asst .md strong{color:var(--text);font-weight:700}.bubble-asst .md em{font-style:italic}.bubble-asst .md a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.bubble-asst .md code{background:var(--surface-2);border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:.88em}.bubble-asst .md pre{background:var(--surface-2);border:1px solid var(--line);border-radius:6px;margin:0 0 12px;padding:12px 14px;overflow-x:auto}.bubble-asst .md pre code{background:0 0;border:0;padding:0;font-size:13.5px}.bubble-asst .md blockquote{border-left:3px solid var(--line-2);color:var(--text-2);margin:0 0 12px;padding:2px 0 2px 13px}.bubble-asst .md table{border-collapse:collapse;width:100%;margin:0 0 12px;font-size:14px}.bubble-asst .md th,.bubble-asst .md td{border:1px solid var(--line);text-align:left;padding:6px 10px}.bubble-asst .md th{background:var(--surface-2);font-family:var(--font-display);font-weight:600}.bubble-asst .md hr{border:0;border-top:1px solid var(--line);margin:14px 0}.ctx-card-title{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);margin-bottom:9px;font-size:11px;font-weight:600}.feedback-overlay{z-index:50;background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.feedback-panel{background:var(--surface,#fff);width:min(28rem,100%);max-height:90vh;color:var(--text,#111);border-radius:12px;padding:1.25rem;overflow:auto;box-shadow:0 12px 40px #00000040}.feedback-head{justify-content:space-between;align-items:center;display:flex}.feedback-title{margin:0;font-size:1.05rem}.feedback-x{cursor:pointer;color:inherit;background:0 0;border:0;font-size:1.4rem;line-height:1}.feedback-chips{flex-wrap:wrap;gap:.5rem;margin:.9rem 0;display:flex}.feedback-chip{border:1px solid var(--line,#d0d0d0);color:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:.35rem .8rem;font-size:.9rem}.feedback-chip.is-active{background:var(--accent,#1f6feb);color:#fff;border-color:var(--accent,#1f6feb)}.feedback-note{resize:vertical;box-sizing:border-box;border:1px solid var(--line,#d0d0d0);width:100%;min-height:4.5rem;font:inherit;border-radius:8px;padding:.6rem}.feedback-err{color:var(--danger,#c0392b);margin:.5rem 0 0;font-size:.85rem}.feedback-thanks{margin:.3rem 0 1rem;font-size:1.05rem}.feedback-actions{justify-content:flex-end;gap:.6rem;margin-top:1rem;display:flex}.ctx-media{flex-direction:column;gap:12px;padding:12px;display:flex;overflow-y:auto}.ctx-media-card{border:1px solid var(--line);background:var(--surface);border-radius:6px;margin:0;overflow:hidden}.ctx-media-card img{cursor:zoom-in;width:100%;height:auto;display:block}.ctx-media-card .ctx-media-zoom{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.ctx-media-card figcaption{color:var(--text-3);border-top:1px solid var(--line);padding:6px 10px;font-size:12px}
