@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/newsreader-vietnamese-wght-normal-Czsa-EzN.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/newsreader-latin-ext-wght-normal-C-3rgBeH.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/newsreader-latin-wght-normal-CCVVNp6i.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f7f7f5;--sidebar: #efeeea;--panel: #f2f1ed;--surface: #ffffff;--text: #1a1a19;--muted: #5c5b57;--border: #e0dfd9;--chip: #efeeea;--hover: #e6e5df;--user-bubble: #e9e8e3;--accent: #2b5fd9;--accent-soft: #a9bef0;--accent-text: #ffffff;--high: #14804a;--medium: #b36f00;--low: #c9352b;--warn: #7a4e00;--warn-bg: #fff3d6;--bad: #b3261e;--bad-bg: #fde8e6;--rag: #5b34a8;--rag-bg: #f1ebfb;--rag-border: #8b67d1;--shadow: 0 2px 12px rgb(0 0 0 / 6%);--composer: #ffffff;--new-chat: #e6e5df;--composer-border: #dcdbd4;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #191919;--sidebar: #1f1f1f;--panel: #1f1f1f;--surface: #262626;--text: #ecebe6;--muted: #a3a29c;--border: #383838;--chip: #2a2a2a;--hover: #333333;--user-bubble: #2e2e2e;--accent: #7ea6ff;--accent-soft: #34466e;--accent-text: #0b1220;--high: #3ddc84;--medium: #ffc44d;--low: #ff7a70;--warn: #f2c063;--warn-bg: #3a2e12;--bad: #ff8a80;--bad-bg: #3d1a18;--rag: #cdb6ff;--rag-bg: #2b2140;--rag-border: #8b67d1;--shadow: none;--composer: #303030;--composer-border: #414141;--new-chat: #404040;color-scheme:dark}}:root[data-theme=dark]{--bg: #191919;--sidebar: #1f1f1f;--panel: #1f1f1f;--surface: #262626;--text: #ecebe6;--muted: #a3a29c;--border: #383838;--chip: #2a2a2a;--hover: #333333;--user-bubble: #2e2e2e;--accent: #7ea6ff;--accent-soft: #34466e;--accent-text: #0b1220;--high: #3ddc84;--medium: #ffc44d;--low: #ff7a70;--warn: #f2c063;--warn-bg: #3a2e12;--bad: #ff8a80;--bad-bg: #3d1a18;--rag: #cdb6ff;--rag-bg: #2b2140;--rag-border: #8b67d1;--shadow: none;--composer: #303030;--composer-border: #414141;--new-chat: #404040;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);font:15px/1.55 Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:12.5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.err{color:var(--bad);font-size:13.5px;margin:4px 2px 0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes blink{50%{opacity:0}}.spin{animation:spin .8s linear infinite}@media (prefers-reduced-motion: reduce){.spin,.caret{animation:none!important}}.icon-btn{width:40px;height:40px;flex-shrink:0;display:inline-grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--muted)}.icon-btn:hover:not(:disabled){background:var(--hover);color:var(--text)}.icon-btn.on{color:var(--accent);background:var(--chip)}.icon-btn.small{width:30px;height:30px;border-radius:8px}.btn{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:4px 12px;min-height:34px;display:inline-flex;align-items:center;gap:6px}.btn:hover:not(:disabled){background:var(--hover)}.btn.primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.btn.small{font-size:13.5px}.shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "photo" "chat";grid-template-rows:auto auto 1fr}.sidebar{grid-area:side;display:none}.topbar{grid-area:top}.photo-panel{grid-area:photo}.chat{grid-area:chat}@media (min-width: 900px){.shell{grid-template-columns:minmax(0,1fr) minmax(340px,420px);grid-template-areas:"top photo" "chat photo";grid-template-rows:auto 1fr}.photo-panel{position:sticky;top:0;height:100vh;overflow-y:auto;border-left:1px solid var(--border)}}@media (min-width: 1180px){.shell{grid-template-columns:264px minmax(0,1fr) minmax(380px,460px);grid-template-areas:"side top photo" "side chat photo"}.sidebar{display:block;position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--sidebar);border-right:1px solid var(--border)}.narrow-only{display:none!important}.shell.no-side{grid-template-columns:minmax(0,1fr) minmax(380px,460px);grid-template-areas:"top photo" "chat photo"}.shell.no-side .sidebar{display:none}.shell.no-photo{grid-template-columns:264px minmax(0,1fr);grid-template-areas:"side top" "side chat"}.shell.no-side.no-photo{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "chat"}}.sidebar-inner{display:flex;flex-direction:column;gap:14px;padding:16px 12px;min-height:100%}.brand{display:flex;align-items:flex-start;gap:10px;padding:2px 8px}.new-chat{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border-radius:10px;border:0;background:var(--new-chat);font-size:15.5px;font-weight:500;text-align:left}.new-chat:hover:not(:disabled){background:var(--chip);filter:brightness(.97)}.history ul{list-style:none;margin:0;padding:0}.history-label{font-size:12px;font-weight:600;color:var(--muted);padding:10px 10px 4px}.history li{display:flex;align-items:center;border-radius:8px}.history li:hover,.history li.current{background:var(--hover)}.history-item{flex:1;min-width:0;text-align:left;min-height:40px;padding:8px 10px;border:0;background:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-forget{width:30px;height:30px;border:0;background:transparent;color:var(--muted);border-radius:6px;opacity:0}.history li:hover .history-forget,.history-forget:focus-visible{opacity:1}@media (hover: none){.history-forget{opacity:1}}.sidebar-foot{margin-top:auto;display:flex;flex-direction:column;gap:6px;padding:0 4px}.theme-btn{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:transparent}.theme-btn:hover{background:var(--hover)}.drawer-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:40}.drawer{position:fixed;top:0;left:0;bottom:0;width:min(320px,88vw);z-index:41;overflow-y:auto;background:var(--sidebar);border-right:1px solid var(--border)}.topbar{display:flex;align-items:center;gap:4px;padding:3px 12px;min-height:44px;border-bottom:1px solid var(--border);background:var(--bg);position:sticky;top:0;z-index:20}.topbar-title{flex:1;min-width:0;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14.5px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 1180px){.topbar{padding:3px 24px}.topbar.empty{display:none}}.bar-toggle{display:none;position:fixed;top:6px;z-index:25;width:36px;height:36px}.side-toggle{left:10px}.photo-toggle{right:10px}@media (min-width: 900px){.photo-toggle{display:inline-grid}.shell.no-photo .photo-panel{display:none}.photo-panel{padding-top:6px}.photo-head{padding-right:40px;min-height:36px}.topbar{padding-right:52px}}@media (min-width: 1180px){.side-toggle{display:inline-grid}.sidebar-inner{padding-top:6px}.brand{padding-left:44px;padding-top:2px}.shell.no-side .topbar{padding-left:56px}}@media (min-width: 900px) and (max-width: 1179px){.shell.no-photo{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "chat"}}.topbar.empty{border-bottom-color:transparent}.topbar .icon-btn{width:36px;height:36px}.chat{display:flex;flex-direction:column;min-width:0}.chat>.notice{margin:12px 16px 0}.thread{flex:1;width:100%;max-width:780px;margin:0 auto;padding:24px 16px 8px;display:flex;flex-direction:column;gap:26px}.turn{display:flex;flex-direction:column;gap:14px}.msg-user{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.user-photo{padding:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);line-height:0}.user-photo img{width:168px;height:126px;object-fit:cover;display:block}.user-photo.selected{outline:2px solid var(--accent);outline-offset:1px}.bubble{max-width:82%;background:var(--user-bubble);padding:10px 14px;border-radius:18px 18px 4px;overflow-wrap:anywhere;white-space:pre-wrap}.msg-bot{display:flex;flex-direction:column;gap:10px;min-width:0}.answer{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}.caret{display:inline-block;width:7px;height:1.05em;background:var(--text);vertical-align:-2px;margin-left:2px;animation:blink 1s step-end infinite}.stats{font-size:13px;color:var(--muted)}.pills{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:13px}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--chip);color:var(--muted)}.pill .ok{color:var(--high);display:inline-flex}.pill.pending{background:transparent;border:1px solid var(--accent);color:var(--accent)}.notice{border-radius:10px;padding:8px 12px;font-size:14px}.notice.warn{background:var(--warn-bg);color:var(--warn)}.notice.bad{background:var(--bad-bg);color:var(--bad)}.notice ul{margin:4px 0 0;padding-left:18px}.rag-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:10px;border:1px solid var(--rag-border);background:var(--rag-bg);color:var(--rag);font-weight:600;font-size:13.5px}.rag-box{border:1px dashed var(--rag-border);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.rag-box details{padding:4px 0}.rag-box summary{cursor:pointer;font-size:14px}.law-text{white-space:pre-wrap;font-size:13.5px;margin-top:6px;padding:8px 10px;background:var(--chip);border-radius:8px;max-height:320px;overflow:auto}.section-title{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}.evidence-toggle{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:transparent;font-size:13.5px;font-weight:500}.evidence-toggle:hover{background:var(--hover)}.evidence{border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:14px;background:var(--surface)}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:13px;padding:3px 9px;border-radius:6px;background:var(--chip);border:1px solid var(--border)}.stages{list-style:none;margin:0;padding:0;font-size:13.5px;color:var(--muted)}.stages li{display:flex;justify-content:space-between;gap:12px;padding:1px 0}.stages .t{font-variant-numeric:tabular-nums;white-space:nowrap}details.block>summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--muted)}.proof{font-size:13.5px;margin-top:6px}.proof ul{list-style:none;margin:0;padding-left:16px;border-left:1px solid var(--border)}.proof>ul{padding-left:0;border-left:0}.proof li{margin:2px 0}.proof summary{cursor:pointer}.proof code{font-size:12.5px;overflow-wrap:anywhere;font-family:ui-monospace,Menlo,Consolas,monospace}.ptype{font-size:11px;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:0 4px;margin-right:4px}.truth-true{color:var(--high)}.truth-false{color:var(--bad)}.truth-unknown{color:var(--warn)}.feedback{display:flex;flex-direction:column;gap:6px}.feedback-icons{display:flex;align-items:center;gap:2px;margin-left:-8px}.fix-form{display:flex;flex-direction:column;gap:6px;max-width:560px}.fix-form textarea{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:8px 10px;resize:vertical}.fix-actions{display:flex;gap:6px;justify-content:flex-end}.composer{width:100%;border:1px solid var(--composer-border);border-radius:20px;background:var(--composer);padding:14px 12px 10px 16px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow)}.composer-photo{display:flex;align-items:center;gap:10px;padding-bottom:2px}.composer-photo img{width:52px;height:40px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.composer-photo-text{display:flex;flex-direction:column;line-height:1.3;min-width:0;font-size:13.5px}.composer-photo-text span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer textarea{width:100%;min-height:48px;max-height:200px;border:0;outline:none;resize:none;background:transparent;font-size:16px;line-height:1.5;padding:0 2px}.composer textarea::placeholder{color:var(--muted)}.composer-actions{display:flex;align-items:center;gap:2px;margin-left:-6px}.composer-spacer{flex:1}.send-btn{width:36px;height:36px;flex-shrink:0;margin-left:4px;border:0;border-radius:10px;display:inline-grid;place-items:center;background:var(--accent);color:var(--accent-text)}.send-btn:disabled{background:var(--accent-soft);opacity:1}.composer-dock{position:sticky;bottom:0;z-index:10;width:100%;max-width:780px;margin:0 auto;padding:10px 16px 14px;background:linear-gradient(to bottom,transparent,var(--bg) 22px)}.footnote{text-align:center;font-size:12px;color:var(--muted);margin:8px 0 0}.hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 16px;max-width:760px;width:100%;margin:0 auto}.hero h2{margin:0;font-size:28px;font-weight:600;letter-spacing:-.01em;text-align:center;line-height:1.25}.hero p{margin:0;text-align:center}.hero-anchor{width:100%;display:flex;flex-direction:column;align-items:center;gap:16px}@media (min-width: 900px){.hero{justify-content:flex-start;padding-top:max(120px,44vh)}.hero-anchor{position:relative}.hero-anchor>h2{position:absolute;left:0;right:0;bottom:calc(100% + 16px)}}.examples{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.example{border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:8px 14px;min-height:40px;font-size:14px}.example:hover:not(:disabled){background:var(--hover)}@media (max-width: 899px){.hero h2{font-size:24px}.examples{flex-direction:column;align-items:stretch;width:100%}.example{border-radius:12px;text-align:left}}.photo-panel{background:var(--panel);padding:16px;display:flex;flex-direction:column;gap:12px}.photo-head{display:flex;align-items:center;gap:8px}.photo-title{font-weight:600;margin-right:auto}.collapse-btn{display:none}.photo-empty{border:2px dashed var(--border);border-radius:14px;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);text-align:center;padding:24px}.photo-empty.drag,.photo-wrap.drag{border-color:var(--accent);background:var(--chip)}.photo-body{display:flex;flex-direction:column;gap:12px}.photo-wrap{position:relative;border-radius:12px;overflow:hidden;line-height:0;border:2px solid transparent}.photo-wrap img{width:100%;height:auto;display:block;max-height:70vh;object-fit:contain;background:#000}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.overlay .box{fill:transparent;cursor:pointer;vector-effect:non-scaling-stroke;stroke-width:3}.overlay .box.active{stroke-width:5;fill:#ffffff24}.overlay .box.conf-high{stroke:var(--high)}.overlay .box.conf-medium{stroke:var(--medium);stroke-dasharray:10 6}.overlay .box.conf-low{stroke:var(--low);stroke-dasharray:2 5;stroke-linecap:round}.overlay .box.conf-none{stroke:var(--muted);stroke-dasharray:2 5}.overlay .tag{pointer-events:none}.sign-caption{position:absolute;left:50%;bottom:10px;transform:translate(-50%);max-width:calc(100% - 20px);background:#141413db;color:#fff;padding:6px 10px;border-radius:8px;line-height:1.35;font-size:12.5px;display:flex;flex-direction:column;text-align:center;pointer-events:none}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12.5px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:6px}.legend .line{display:inline-block;width:22px;border-top:3px solid}.legend .line.high{border-color:var(--high)}.legend .line.medium{border-top-style:dashed;border-color:var(--medium)}.legend .line.low{border-top-style:dotted;border-color:var(--low)}.sign-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.sign-list button{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;padding:6px 12px;text-align:left;border-radius:10px;border:1px solid var(--border);background:var(--surface)}.sign-list button.active{border-color:var(--accent)}.sign-name{flex:1;min-width:0}.num{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:11px;padding:0 5px;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}.num.conf-high{background:var(--high)}.num.conf-medium{background:var(--medium)}.num.conf-low{background:var(--low)}.num.conf-none{background:var(--muted)}:root[data-theme=dark] .num,:root[data-theme=dark] .overlay text{fill:#111;color:#111}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .num,:root:not([data-theme=light]) .overlay text{fill:#111;color:#111}}@media (max-width: 899px){.photo-panel{padding:10px 12px;border-bottom:1px solid var(--border);gap:8px}.collapse-btn{display:inline-grid}.photo-panel.no-photo,.photo-panel.collapsed .photo-body{display:none}.photo-wrap img{max-height:34vh}.photo-empty{min-height:0;padding:12px;flex-direction:row}.photo-empty .small,.legend{display:none}.sign-list{flex-direction:row;flex-wrap:wrap}.sign-list button{width:auto;min-height:36px;border-radius:999px;padding:4px 10px;font-size:13px}.sign-list .sign-name{white-space:nowrap;max-width:46vw;overflow:hidden;text-overflow:ellipsis}.user-photo img{width:128px;height:96px}.thread{padding-top:16px}.composer-dock{padding:8px 10px 12px}.footnote{display:none}}.brand-text{display:flex;flex-direction:column;gap:2px;line-height:1.15}.brand-name{font-family:Newsreader Variable,Georgia,Times New Roman,serif;font-weight:500;letter-spacing:-.01em}.brand .brand-name{font-size:28px}.brand-tag{font-size:11.5px;font-weight:400;color:var(--muted)}@media (hover: hover) and (pointer: fine){.touch-only{display:none!important}}.mic.listening{color:#fff;background:var(--low)}.mic.listening:hover:not(:disabled){color:#fff;background:var(--low)}@keyframes pulse{0%{box-shadow:0 0 #c9352b73}to{box-shadow:0 0 0 10px #c9352b00}}.mic.listening{animation:pulse 1.2s ease-out infinite}@media (prefers-reduced-motion: reduce){.mic.listening{animation:none}}.listening-hint{margin:0 2px;font-size:13px;color:var(--low)}
