:root{color:#162033;font-synthesis:none;text-rendering:optimizelegibility;--ink:#162033;--muted:#697386;--line:#dce1e8;--paper:#fbfcfe;--navy:#111827;--blue:#1d4ed8;--blue-soft:#e8efff;--orange:#ee7d32;--green:#0b8f68;--shadow:0 18px 55px #1c273a17;background:#eef1f5;font-family:Inter,Noto Sans TC,Microsoft JhengHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:radial-gradient(circle at 10% 0,#1d4ed814,#0000 26rem),#eef1f5;min-width:320px}button,textarea,input{font:inherit}button{color:inherit}:is(button:focus-visible,textarea:focus-visible,input:focus-visible,a:focus-visible){outline-offset:2px;outline:3px solid #1d4ed840}.app-shell{min-height:100vh}.topbar{z-index:30;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#111827f7;border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:center;min-height:74px;padding:12px clamp(18px,3vw,42px);display:flex;position:sticky;top:0}.brand-lockup,.topbar-actions,.report-panel-header,.message-meta,.composer-help,.report-card-topline,.report-sheet>header,.report-sheet>footer{align-items:center;display:flex}.brand-lockup{gap:12px}.brand-lockup h1,.brand-lockup p,.chat-heading h2,.chat-heading p,.report-panel h2,.report-panel p,.report-sheet h2,.report-sheet p{margin:0}.brand-lockup h1{letter-spacing:.03em;font-size:19px;line-height:1.08}.eyebrow{color:#8894a8;letter-spacing:.17em;font-size:9px;font-weight:800;line-height:1.4}.aperture-mark{border:2px solid #ffffffc7;border-radius:50%;width:38px;height:38px;position:relative;box-shadow:inset 0 0 0 6px #ffffff0f}.aperture-mark:before,.aperture-mark:after,.aperture-mark span{content:"";border:2px solid var(--orange);border-radius:45% 55% 48% 52%;position:absolute;inset:8px;transform:rotate(38deg)}.aperture-mark:after{transform:rotate(98deg)}.aperture-mark span{transform:rotate(158deg)}.version-chip{color:#f6b385;border:1px solid #ee7d3266;border-radius:999px;align-self:flex-end;margin-bottom:1px;padding:3px 7px;font-size:10px;font-weight:700}.topbar-actions{gap:10px}.connection-pill{color:#cbd3df;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-weight:650;display:inline-flex}.status-dot{background:#8490a4;border-radius:50%;flex:none;width:7px;height:7px}.connected .status-dot,.report-footer .status-dot{background:#31d29a;box-shadow:0 0 0 4px #31d29a1a}.mobile-report-button{color:#fff;background:0 0;border:1px solid #ffffff38;border-radius:9px;padding:8px 11px;display:none}.workspace-grid{grid-template-columns:214px minmax(500px,1fr) 330px;max-width:1680px;min-height:calc(100vh - 74px);margin:0 auto;display:grid}.query-rail,.report-panel{height:calc(100vh - 74px);position:sticky;top:74px;overflow:auto}.query-rail{border-right:1px solid var(--line);background:#f7f9fcc7;padding:34px 20px 28px clamp(18px,2.5vw,32px)}.rail-heading{color:var(--ink);letter-spacing:.04em;flex-direction:column;gap:3px;margin-bottom:17px;font-size:13px;font-weight:800;display:flex}.rail-heading small{color:#8992a2;letter-spacing:0;font-size:11px;font-weight:500}.quick-list{gap:9px;display:grid}.quick-list button{text-align:left;cursor:pointer;background:#ffffffb8;border:1px solid #e0e5ec;border-radius:11px;grid-template-columns:28px 1fr;align-items:start;gap:8px;width:100%;padding:12px 10px;transition:all .16s;display:grid}.quick-list button:hover{background:#fff;border-color:#b9c8e8;transform:translateY(-1px);box-shadow:0 8px 22px #25355212}.quick-index{color:var(--blue);letter-spacing:.06em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:800}.quick-list strong,.quick-list small{display:block}.quick-list strong{margin-bottom:3px;font-size:12px}.quick-list small{color:#7a8494;font-size:10px;line-height:1.45}.rail-note{border-top:1px solid var(--line);grid-template-columns:23px 1fr;gap:8px;margin-top:23px;padding-top:20px;display:grid}.rail-note p{color:#6f7989;margin:0;font-size:11px;line-height:1.65}.note-symbol{width:20px;height:20px;color:var(--blue);background:var(--blue-soft);border-radius:50%;place-items:center;font-size:11px;font-weight:800;display:grid}.capability-button{width:100%;color:var(--blue);cursor:pointer;background:0 0;border:1px solid #bfcbea;border-radius:9px;margin-top:20px;padding:10px 12px;font-size:11px;font-weight:800}.cloud-limit-card{background:#fff;border:1px solid #dce2ea;border-radius:11px;margin-top:22px;padding:14px 12px}.cloud-limit-card .eyebrow{margin:0 0 8px}.cloud-limit-card div{color:#6f7989;border-top:1px dashed #e0e5ec;justify-content:space-between;padding:6px 0;font-size:10px;display:flex}.cloud-limit-card strong{color:#334057;font-family:ui-monospace,Consolas,monospace}.cloud-limit-card small{color:#8b95a5;margin-top:7px;font-size:9px;line-height:1.55;display:block}.chat-panel{background:var(--paper);flex-direction:column;min-width:0;min-height:calc(100vh - 74px);display:flex}.chat-heading{border-bottom:1px solid #e4e8ee;justify-content:space-between;align-items:flex-end;padding:30px clamp(22px,4vw,54px) 18px;display:flex}.chat-heading h2,.report-panel h2{letter-spacing:-.02em;margin-top:3px;font-size:18px}.text-button,.message-tools button{color:#778196;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.text-button:hover,.message-tools button:hover{color:var(--blue)}.thread{flex:1;min-height:360px;padding:28px clamp(22px,4vw,54px) 34px}.welcome-card{color:#fff;background:linear-gradient(135deg, #1d4ed8d9, #111827f7), var(--navy);max-width:720px;box-shadow:var(--shadow);border-radius:18px;margin:clamp(30px,9vh,100px) auto 30px;padding:clamp(25px,4vw,42px);position:relative;overflow:hidden}.welcome-card:after{content:"";border:26px solid #ffffff0f;border-radius:50%;width:210px;height:210px;position:absolute;bottom:-76px;right:-52px}.welcome-kicker{z-index:1;color:#ffd0af;background:#ee7d3229;border:1px solid #ee7d3261;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex;position:relative}.welcome-card h3{z-index:1;letter-spacing:-.045em;margin:20px 0 10px;font-size:clamp(28px,4vw,44px);position:relative}.welcome-card p{z-index:1;color:#d4dbea;max-width:590px;margin:0;font-size:14px;line-height:1.8;position:relative}.example-row{z-index:1;flex-wrap:wrap;gap:8px;margin-top:24px;display:flex;position:relative}.example-row button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff2e;border-radius:8px;padding:8px 11px;font-size:11px}.example-row button:hover{background:#ffffff29}.message{max-width:880px;margin:0 auto 28px}.message.user{width:min(82%,680px);margin-right:0}.message-meta{color:#8a94a4;gap:8px;margin-bottom:8px;font-size:10px}.message-author{color:#3d485c;font-size:11px;font-weight:800}.result-status{color:#5f6c7d;background:#edf0f5;border-radius:999px;margin-left:auto;padding:3px 7px;font-size:9px;font-weight:800}.status-resolved{color:#087457;background:#e3f7ef}.status-ambiguous{color:#956021;background:#fff1dc}.status-error,.status-not_found{color:#a14242;background:#fde9e9}.message-bubble{background:#fff;border:1px solid #dfe4eb;border-radius:5px 16px 16px;padding:20px 22px;box-shadow:0 10px 30px #1a273d0e}.message.user .message-bubble{color:#fff;box-shadow:none;background:#1a263a;border:0;border-radius:16px 5px 16px 16px}.message.user .message-bubble p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.7}.answer-text{color:#28354a;font-size:13px;line-height:1.75}.answer-line{overflow-wrap:anywhere;gap:8px;min-width:0;display:flex}.answer-line.heading{color:#17243a;margin-top:8px;font-weight:800}.camera-key-field{color:#17243a;font-weight:850}.answer-line a{color:#174fbd;text-underline-offset:3px;font-weight:680;-webkit-text-decoration:underline #174fbd40;text-decoration:underline #174fbd40}.answer-line a:hover{text-decoration-color:currentColor}.answer-gap{height:10px}.answer-divider{border:0;border-top:1px dashed #d4dbe5;margin:16px 0}.line-mark{color:var(--orange);flex:none;font-weight:900}.line-number{width:20px;height:20px;color:var(--blue);background:var(--blue-soft);border-radius:6px;flex:none;place-items:center;margin-top:2px;font-size:9px;font-weight:900;display:inline-grid}.loading-row{color:#6f7b8e;align-items:center;gap:5px;display:flex}.loading-row span{background:var(--blue);border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite pulse}.loading-row span:nth-child(2){animation-delay:.12s}.loading-row span:nth-child(3){animation-delay:.24s}.loading-row p{margin:0 0 0 6px;font-size:12px}@keyframes pulse{0%,70%,to{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.candidate-grid button{text-align:left;cursor:pointer;background:#f6f8fc;border:1px solid #d9e0ec;border-radius:10px;grid-template-columns:29px minmax(0,1fr) 18px;align-items:center;gap:9px;min-width:0;padding:11px 12px;transition:all .15s;display:grid}.candidate-grid button:hover{background:var(--blue-soft);border-color:#aebfe7}.candidate-number{color:#fff;background:var(--blue);border-radius:8px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:900;display:grid}.candidate-grid strong,.candidate-grid small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.candidate-grid strong{font-size:11px}.candidate-grid small{color:#788396;margin-top:3px;font-size:9px}.candidate-arrow{color:#8490a2}.message-tools{gap:12px;margin-top:8px;padding-left:4px;display:flex}.composer{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfcfef0;border-top:1px solid #e1e6ed;padding:15px clamp(22px,4vw,54px) 18px;position:sticky;bottom:0}.composer>label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.composer-box{background:#fff;border:1px solid #cfd7e3;border-radius:15px;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:880px;margin:0 auto;padding:8px 8px 8px 14px;display:grid;box-shadow:0 10px 30px #212d4314}.composer-box:focus-within{border-color:#8ca6e4;box-shadow:0 0 0 4px #1d4ed812,0 10px 30px #212d4314}.composer textarea{resize:vertical;width:100%;min-height:54px;max-height:140px;color:var(--ink);background:0 0;border:0;outline:none;padding:8px 0;font-size:13px;line-height:1.6}.composer textarea::placeholder{color:#98a1af}.send-button{color:#fff;background:var(--blue);cursor:pointer;border:0;border-radius:10px;justify-content:center;align-self:stretch;align-items:center;gap:8px;min-width:84px;padding:0 14px;display:flex}.send-button:hover:not(:disabled){background:#163fae}.send-button:disabled{opacity:.36;cursor:not-allowed}.send-button span{font-size:11px;font-weight:800}.send-button strong{font-size:16px}.composer-help{color:#8b95a5;justify-content:space-between;max-width:880px;margin:7px auto 0;font-size:9px}.report-panel{z-index:10;border-left:1px solid var(--line);background:#f1f4f8;flex-direction:column;padding:30px 20px 0;display:flex}.report-panel-header{gap:10px;margin-bottom:17px}.report-panel-header>div{flex:1}.report-count{color:#fff;background:var(--navy);border-radius:999px;place-items:center;min-width:29px;height:25px;padding:0 8px;font-size:10px;font-weight:800;display:grid}.clear-history-button{color:#667287;cursor:pointer;background:#fff;border:1px solid #d3dae5;border-radius:8px;padding:6px 8px;font-size:9px;font-weight:800}.clear-history-button:hover:not(:disabled){color:#a14242;border-color:#e2bcbc}.clear-history-button:disabled{opacity:.45;cursor:not-allowed}.close-mobile-panel{display:none}.report-search{background:#fff;border:1px solid #d7dde7;border-radius:9px;grid-template-columns:22px 1fr;align-items:center;gap:5px;margin-bottom:13px;padding:9px 11px;display:grid}.report-search span{color:#818c9d;font-size:18px}.report-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:11px}.report-list{gap:9px;padding-bottom:20px;display:grid;overflow:auto}.report-card{text-align:left;cursor:pointer;background:#ffffffd4;border:1px solid #dce2ea;border-radius:11px;width:100%;padding:13px;transition:all .15s;display:block}.report-card:hover{background:#fff;border-color:#b6c4df;transform:translateY(-1px);box-shadow:0 8px 20px #2331490f}.report-card-topline{color:#8b95a5;gap:6px;margin-bottom:7px;font-size:9px}.mini-status{background:#a3adba;border-radius:50%;width:6px;height:6px}.mini-status.status-resolved{background:var(--green)}.mini-status.status-ambiguous{background:var(--orange)}.mini-status.status-not_found{background:#c65353}.report-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.report-card p{color:#727e90;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:7px 0 9px;font-size:10px;line-height:1.5;display:-webkit-box;overflow:hidden}.report-open{color:var(--blue);font-size:9px;font-weight:800}.empty-reports{color:#8993a3;text-align:center;border:1px dashed #cdd5e0;border-radius:11px;padding:32px 18px;font-size:11px;line-height:1.7}.report-footer{color:#798496;border-top:1px solid #d9e0e8;align-items:center;gap:8px;margin-top:auto;padding:14px 2px 18px;font-size:9px;display:flex}.report-modal{z-index:100;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal-scrim,.panel-scrim{cursor:default;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0c121e94;border:0;width:100%;height:100%;position:absolute;inset:0}.report-sheet{z-index:1;background:#fff;border-radius:16px;flex-direction:column;width:min(880px,100%);max-height:calc(100vh - 44px);display:flex;position:relative;overflow:hidden;box-shadow:0 30px 90px #080f1d52}.report-sheet>header{color:#fff;background:var(--navy);justify-content:space-between;gap:20px;padding:22px 25px}.report-sheet>header h2{margin:4px 0 5px;font-size:21px}.report-sheet>header p:last-child{color:#aeb8c8;font-size:10px}.report-sheet>header button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:50%;flex:none;width:34px;height:34px;font-size:20px}.report-answer{padding:clamp(22px,4vw,42px);overflow:auto}.report-sheet>footer{background:#f4f6f9;border-top:1px solid #dde3eb;justify-content:flex-end;gap:8px;padding:14px 22px}.report-sheet>footer button{color:#334057;cursor:pointer;background:#fff;border:1px solid #cbd4e1;border-radius:8px;padding:9px 12px;font-size:10px;font-weight:800}.panel-scrim{display:none}@media (max-width:1180px){.workspace-grid{grid-template-columns:190px minmax(480px,1fr) 290px}.query-rail{padding-right:15px}}@media (max-width:980px){.workspace-grid{grid-template-columns:172px minmax(0,1fr)}.report-panel{z-index:80;width:min(360px,88vw);height:100vh;transition:transform .2s;position:fixed;top:0;right:0;transform:translate(105%);box-shadow:-20px 0 55px #0a13212e}.report-panel.mobile-open{transform:translate(0)}.mobile-report-button,.close-mobile-panel{place-items:center;display:inline-grid}.close-mobile-panel{background:#fff;border:1px solid #d4dbe5;border-radius:50%;width:30px;height:30px;font-size:18px}.panel-scrim{z-index:70;display:block}}@media (max-width:720px){.topbar{min-height:66px;padding:10px 14px}.brand-lockup{gap:8px}.aperture-mark{width:32px;height:32px}.brand-lockup h1{font-size:15px}.brand-lockup .eyebrow,.version-chip,.connection-pill{display:none}.workspace-grid{min-height:calc(100vh - 66px);display:block}.query-rail{display:none;position:static}.chat-panel{min-height:calc(100vh - 66px)}.chat-heading{padding:20px 17px 14px}.thread{padding:18px 14px 26px}.welcome-card{margin-top:22px}.welcome-card h3{font-size:31px}.message.user{width:90%}.message-bubble{padding:16px}.candidate-grid{grid-template-columns:1fr}.composer{padding:11px 12px 12px}.composer-box{padding-left:11px}.send-button{min-width:54px;padding:0 12px}.send-button span,.composer-help span:last-child{display:none}.report-modal{padding:0}.report-sheet{border-radius:0;width:100%;height:100%;max-height:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{body{background:#fff}.topbar,.workspace-grid,.modal-scrim,.report-sheet>header button,.report-sheet>footer{display:none!important}.report-modal{padding:0;display:block;position:static}.report-sheet{width:100%;max-height:none;box-shadow:none;border-radius:0;overflow:visible}.report-sheet>header{color:#111827;background:#fff;border-bottom:2px solid #111827}.report-sheet>header p:last-child,.report-sheet .eyebrow{color:#5e6878}.report-answer{overflow:visible}}
