:root{font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#183645;background:#f5f7f8;font-synthesis:none;font-size:14px;--ink:#183645;--muted:#819098;--teal:#1b7773;--teal-soft:#eaf4f1;--line:#e5ebed;--navy:#173f50;--gold:#a97936;--red:#b7665d;--shadow:0 4px 24px #173d4d04}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;transition:background .15s,box-shadow .15s}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled){filter:brightness(.975)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6bbdb8;outline-offset:3px}a{color:var(--teal)}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;line-height:1.4;font-weight:650;letter-spacing:-.7px}h2{font-size:17px;font-weight:600}h3{font-size:14px;font-weight:600}p{line-height:1.8}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;flex:none}.hidden{display:none!important}.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}.skip-link{position:fixed;top:-60px;left:250px;z-index:200;background:white;padding:15px}.skip-link:focus{top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:#fff;border-right:1px solid var(--line);z-index:30;padding:32px 18px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);padding:0 8px;margin-bottom:32px}.brand-symbol{display:grid;place-items:center;width:39px;height:39px;flex:none;background:var(--teal);color:white;border-radius:11px;font:36px/1 Arial}.brand strong{font:700 24px/1.2 Arial,system-ui;letter-spacing:-.8px;display:block}.brand-period{color:var(--teal)}.brand small{font:8px/1.4 Arial;letter-spacing:1.8px;color:#83979f;display:block;margin-top:6px}.workspace-label{border:1px solid var(--line);background:#fafcfb;display:flex;align-items:center;gap:8px;padding:11px 9px;border-radius:7px;font-size:12px;color:#57717b;margin-bottom:31px}.tiny-dot,.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#429a83;flex:none}.local-label{margin-left:auto;font:9px Arial;letter-spacing:1px;color:#99abae}.nav-caption{padding-left:12px;color:#a2adb2;font-size:10px;letter-spacing:1px;margin-bottom:12px}.nav-link{display:flex;align-items:center;width:100%;gap:13px;min-height:44px;padding:11px 13px;background:transparent;text-align:left;border-radius:7px;color:#71838b;font-size:12px;margin-bottom:6px;white-space:nowrap}.nav-link svg{width:18px;height:18px}.nav-link.selected{color:#176b64;background:#eaf3f0;font-weight:600}.nav-link .nav-code{font:9px Arial;margin-left:auto;color:#a1b2b6}.nav-link.selected .nav-code{color:#72a49a}.nav-link:hover{background:#f4f8f7}.secondary-caption{margin-top:32px}.sidebar-bottom{margin-top:auto;padding:26px 8px 0;display:flex;align-items:center;gap:10px}.privacy-symbol{color:#7ba198}.sidebar-bottom strong{font-size:10px;color:#68877f;font-weight:500}.sidebar-bottom p{font-size:9px;color:#a1b1b3;margin-top:2px}.app-shell{margin-left:234px}.topbar{height:76px;padding:0 34px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:12px;color:#8d9ca2}.breadcrumb strong{font-weight:500;color:#4a6571}.breadcrumb-divider{color:#c8d2d6}.topbar-actions{display:flex;align-items:center;gap:18px}.model-pill{display:flex;align-items:center;gap:7px;padding:8px 0;background:transparent;color:#647c84;font-size:11px;max-width:230px}.model-pill>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf0f3;color:#65818c;font:13px Arial}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:6px;font-size:12px;line-height:1.4;font-weight:500;white-space:nowrap}.button svg{width:16px;height:16px}.button.primary{background:var(--teal);color:white;border:1px solid var(--teal)}.button.secondary{background:white;color:#537079;border:1px solid #dce5e7}.button.quiet{background:#f5f8f9;color:#55717c;border:1px solid #edf0f1}.button.compact{padding:8px 12px;font-size:11px}.button.text{background:transparent;color:var(--teal);padding:5px 0}.button.danger{background:#fff1ee;color:var(--red)}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.icon-button{background:transparent;color:#83979f;border-radius:5px;width:30px;height:30px;display:grid;place-items:center;font-size:25px}.mobile-menu{display:none}.count-badge{border-radius:4px;background:#e6eeee;color:#658888;padding:1px 4px;font:10px/1.5 Arial}.eyebrow{font:9px/1.6 Arial;letter-spacing:2px;color:#819aa3;display:block;margin-bottom:9px}main{padding:32px 36px 0;max-width:1770px;margin:auto;min-height:calc(100vh - 150px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{font-size:12px;color:#88999f;margin-top:10px;max-width:800px}.page-heading .button-row{flex:none}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:24px;margin-bottom:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px;color:#8b9da5;margin-top:5px}.tag{font-size:10px;line-height:1.5;display:inline-flex;align-items:center;gap:5px;color:#83969d;background:#f0f4f5;padding:4px 7px;border-radius:4px;font-weight:400}.tag.teal{color:#43877c;background:#eaf5ef}.tag.amber{color:#a27a45;background:#fcf5e9}.tag.red{color:#b96d62;background:#fff1eb}.tag.blue{color:#6b8eab;background:#edf4f8}.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.muted{color:var(--muted);font-size:11px;line-height:1.7}.profile-overview{position:relative;display:grid;grid-template-columns:minmax(290px,1.7fr) repeat(3,minmax(90px,.6fr));gap:24px;align-items:center;background:linear-gradient(107deg,#edf5f3,#f5f9f8);border:1px solid #ddece7;border-radius:10px;padding:28px 29px;margin-bottom:28px;overflow:hidden}.profile-overview h2{font-size:17px;font-weight:500;margin-bottom:8px}.profile-overview p{font-size:11px;color:#7e9991;max-width:380px}.profile-overview .tag{margin-top:14px;background:#ffffffa1;color:#658b81}.overview-stat{padding-left:20px;border-left:1px solid #dce8e3}.overview-stat strong{font:500 27px/1.2 Arial;color:#2e5b58;display:block;letter-spacing:-1px}.overview-stat strong.stat-date{font-size:19px}.overview-stat span{font-size:10px;color:#91a8a2;display:block;margin-top:10px}.section-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:2px 0 17px}.section-title-row h2{font-size:15px}.section-title-row p{font-size:10px;color:#98a7ad}.section-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:26px}.section-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:1px solid var(--line);border-radius:9px;padding:19px 17px;min-height:160px;min-width:0}.section-card:hover{border-color:#b4d1c9;box-shadow:0 4px 15px #16664f08}.section-card.selected{border-color:#66a494;box-shadow:0 0 0 1px #66a49440;background:#fbfdfc}.section-card-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:16px}.section-icon{width:31px;height:31px;border-radius:8px;background:#f0f6f5;color:#6b998e;display:grid;place-items:center}.section-card:nth-child(3n+2) .section-icon{background:#eff4f7;color:#7899aa}.section-card:nth-child(3n) .section-icon{background:#f5f3ef;color:#a59a82}.section-icon svg{width:17px;height:17px}.section-count{font:11px Arial;color:#a2b1b4}.section-card h3{font-size:12px;font-weight:500;margin-bottom:7px}.section-card p{font-size:10px;color:#9caab0;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.section-card small{font-size:9px;color:#b2bec3;margin-top:auto;padding-top:13px}.record-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.search-field{display:flex;gap:9px;align-items:center;flex:1;min-width:190px;background:#f8fafb;border:1px solid #e5ebed;padding:0 11px;border-radius:6px;color:#93a5ac}.search-field input{border:0;background:transparent;min-width:0;width:100%;padding:10px 0;outline:none;font-size:11px}.search-field svg{width:15px;height:15px}.record-toolbar select{font-size:11px;max-width:180px;background:white;margin:0;padding:10px 12px}.table-scroll{overflow:auto}.record-table,.measure-table,.report-table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.record-table th,.measure-table th,.report-table th{font-weight:400;color:#9ba9af;background:#fafcfc;border-bottom:1px solid var(--line);padding:12px;white-space:nowrap}.record-table td,.measure-table td,.report-table td{padding:15px 12px;border-bottom:1px solid #edf1f2;color:#697f88;vertical-align:top;line-height:1.8}.record-table tr:last-child td,.measure-table tr:last-child td{border-bottom:0}.record-table th:first-child{width:40%}.record-table .record-title{color:#294f5f;font-size:12px;display:block}.record-table small{font-size:10px;color:#9eacb2;display:block;margin-top:5px}.record-table .tag{font-size:9px}.record-row{cursor:pointer}.record-row:hover td{background:#f9fcfb}.table-date{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}.source-button{border:0;background:transparent;color:#6d9e92;font-size:10px;padding:2px 0;max-width:150px;text-align:left}.empty-state{display:flex;align-items:center;justify-content:center;gap:18px;min-height:160px;padding:32px;text-align:left}.empty-icon{width:49px;height:49px;border-radius:15px;background:#f0f6f5;color:#9ebbb3;display:grid;place-items:center;flex:none}.empty-icon svg{width:24px;height:24px}.empty-state h3{font-size:13px;font-weight:500;color:#5b7783;margin-bottom:7px}.empty-state p{font-size:11px;color:#9babb2;max-width:450px}.notice{padding:13px 16px;border-radius:7px;background:#f0f6f8;color:#77949f;font-size:11px;line-height:1.9;margin-bottom:17px;border:1px solid #e2edf1}.notice.amber{color:#9c8157;background:#fcf8ef;border-color:#f1e8d5}.notice.error{color:#b46b63;background:#fff4f1;border-color:#f3d9d3}.summary-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:24px}.summary-card{padding:24px;background:white;border:1px solid var(--line);border-radius:9px;display:flex;justify-content:space-between;align-items:center}.summary-card strong{display:block;font:30px Arial;color:#496974;margin-bottom:8px}.summary-card span{font-size:11px;color:#879ba3}.summary-card .metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#72a38f;background:#eef6f1}.summary-card.abnormal .metric-icon{color:#b69a63;background:#fbf5e9}.summary-card.unknown .metric-icon{color:#92a4b4;background:#f1f5f9}.section-kicker{color:#99aaaF;font-size:10px;margin-bottom:8px}.explanation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.explanation-card{padding:19px;border:1px solid var(--line);border-radius:8px;background:#fcfefe;font-size:12px;line-height:1.9;color:#526f7c}.explanation-card .uncertainty{color:#a2967a;font-size:10px;margin-top:11px}.refs{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.ref-chip{background:#edf5f2;color:#6b9a8c;border-radius:4px;font-size:9px;padding:4px 6px;border:0}.two-column{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr);gap:22px;align-items:start}.two-column .panel{margin-bottom:20px}.timeline-item{display:grid;grid-template-columns:85px 1fr;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}.timeline-item time{font-size:10px;color:#9cabb1}.timeline-item:last-child{border:0}.record-snippet{padding:13px 0;border-bottom:1px solid #edf1f2;font-size:12px;line-height:1.8}.record-snippet:last-child{border:0}.record-snippet p{color:#4d6b78}.record-snippet small{color:#9baab0;font-size:10px}.plan-card{border:1px solid #e0eae6;background:#fcfefc;padding:20px;border-radius:8px;margin-bottom:14px}.plan-card h3{font-size:12px;line-height:1.9;font-weight:500}.plan-card .button-row{margin-top:13px}.plan-feedback{padding:12px;border-left:2px solid #bad4c9;margin:12px 0;background:#f5f9f6;font-size:11px;color:#7d9589}.plan-feedback p{font-size:11px;margin-top:6px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:22px;align-items:start}.chat-panel{padding:0;overflow:hidden}.chat-header{padding:19px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-header select{max-width:300px;margin:0;font-size:11px;padding:8px;border:0;background:#f7f9fa}.chat-messages{padding:26px;min-height:350px;max-height:calc(100vh - 360px);overflow:auto;scroll-behavior:smooth}.chat-empty{padding:35px 25px 45px;text-align:center}.chat-empty .hero-cross{width:48px;height:48px;border-radius:15px;background:#eef5f2;color:#71a496;display:grid;place-items:center;font-size:30px;margin:0 auto 20px}.chat-empty h2{font-size:20px;font-weight:500;margin-bottom:13px}.chat-empty p{font-size:12px;color:#92a3a9;max-width:470px;margin:auto}.prompt-suggestions{display:flex;flex-direction:column;gap:9px;margin:25px auto 0;max-width:390px}.prompt-suggestions button{padding:12px 15px;border:1px solid #e6eded;background:#fcfdfd;border-radius:6px;color:#7a939a;font-size:11px;text-align:left}.message{display:flex;gap:12px;margin-bottom:24px}.message-avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#eef5f2;color:#699f8d;font-size:17px;flex:none}.message.user{flex-direction:row-reverse}.message.user .message-avatar{background:#eff2f5;color:#8d9eac;font:11px Arial}.message-body{max-width:calc(100% - 42px);font-size:12px;line-height:1.95;color:#4b6b79}.message.user .message-body{padding:12px 17px;background:#edf4f2;border-radius:9px 0 9px 9px;white-space:pre-wrap}.message .explanation-grid{display:block}.message .explanation-card{border:0;padding:0;background:transparent;margin-bottom:15px}.message-meta{font-size:9px;color:#a0b0b6;margin-bottom:6px}.chat-composer{border-top:1px solid var(--line);padding:17px 23px;background:#fff}.chat-composer textarea{border:0;padding:3px 0;resize:none;background:transparent;font-size:12px;min-height:70px;margin:0}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.composer-footer small{color:#a7b4b7;font-size:9px}.context-aside .panel{padding:20px}.context-aside h3{font-size:12px;margin-bottom:12px}.context-stat{display:flex;gap:18px;margin-bottom:15px}.context-stat strong{font:22px Arial;color:#4e8477;display:block}.context-stat span{font-size:9px;color:#a0b4ad}.context-record{border-top:1px solid var(--line);padding:13px 0;font-size:10px;line-height:1.8;color:#788e98}.context-record button{background:transparent;padding:0;color:#638f83;font-size:10px;text-align:left}.context-record small{display:block;font-size:9px;color:#a9b8ba;margin-top:5px}.wait-box{background:#f9f5eb;border:1px solid #ece2cb;padding:16px;border-radius:8px;margin:15px 0}.wait-box h3{color:#997c4d;font-size:12px;margin-bottom:8px}.wait-box p{font-size:12px;color:#8a826e}.wait-box textarea{margin-top:12px;background:white;min-height:60px}.wait-box .button{margin-top:10px}.status-inline{display:flex;align-items:center;gap:8px;font-size:11px;color:#809ca1}.spinner{display:inline-block;border:2px solid #d8e8e3;border-top-color:#498e79;border-radius:50%;width:15px;height:15px;animation:spin 1s linear infinite;flex:none}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px;padding:120px 20px;color:#8ca2a9;font-size:12px}.app-footer{max-width:1770px;margin:26px auto 0;padding:0 36px 24px;display:flex;justify-content:space-between;color:#a7b6bb;font:8px Arial;letter-spacing:1px;gap:15px}.app-footer>span:last-child{font-family:inherit;font-size:9px;letter-spacing:0}.app-footer i{font-style:normal;margin:0 8px;color:#c1cccf}label{display:block;color:#708995;font-size:11px;margin-bottom:14px;line-height:1.7}input,select,textarea{display:block;border:1px solid #dfe7e9;border-radius:6px;padding:11px 12px;background:#fcfdfd;color:#3f5d69;width:100%;margin-top:7px;font-size:12px;outline:none}input::placeholder,textarea::placeholder{color:#afbdc2}input:focus,select:focus,textarea:focus{border-color:#85b1a5}textarea{resize:vertical;line-height:1.8}select{cursor:pointer}.form-row{display:flex;gap:16px}.form-row>label{flex:1;min-width:0}.field-note{font-size:10px;color:#a0b1b6;line-height:1.8;margin:6px 0 17px}.form-error{font-size:11px;line-height:1.8;color:#b46d65;margin-top:10px}.checkbox-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.checkbox-grid label,.check-line{display:flex;align-items:center;gap:8px;font-size:11px;color:#81989f}.checkbox-grid input,.check-line input{width:14px;height:14px;accent-color:var(--teal);margin:0}.check-line{margin-top:17px}.measurement-fields{background:#f6faf9;border:1px solid #e5eeeb;border-radius:8px;padding:18px;margin:10px 0 20px}.file-drop{text-align:center;border:1px dashed #abcbbf;background:#f8fcfa;border-radius:9px;padding:27px 20px;cursor:pointer;margin:20px 0}.file-drop .upload-symbol{font-size:29px;color:#79a496;display:block}.file-drop strong{display:block;color:#648779;font-size:12px;font-weight:500;margin:10px 0 6px}.file-drop span{font-size:10px;color:#9cb3aa}.file-drop input{font-size:10px;margin:16px auto 0;max-width:290px;border:0;background:transparent}.file-drop small{font-size:10px;display:block;margin-top:10px;color:#64887b}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.detail-grid dt{font-size:10px;color:#9cabb2;margin-bottom:6px}.detail-grid dd{margin:0;font-size:12px;color:#5d7b88;overflow-wrap:anywhere}.detail-text{font-size:13px;line-height:1.9;color:#4b6e7b;margin:20px 0;white-space:pre-wrap}.source-block{border-left:2px solid #c2d9d0;background:#f7faf8;padding:13px 16px;margin:15px 0;color:#84a195;font-size:11px;line-height:1.9}.source-block p{font-size:11px;white-space:pre-wrap}.version-line{padding:12px 0;border-bottom:1px solid var(--line);font-size:11px;color:#8a9da3;line-height:1.8}.json-details{margin:13px 0;border:1px solid var(--line);border-radius:6px}.json-details summary{padding:11px 14px;cursor:pointer;font-size:11px;color:#7c95a0}.json-details pre{font:10px/1.9 ui-monospace,monospace;padding:0 14px 14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;color:#76909d}.plugin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.plugin-card{padding:23px;background:white;border:1px solid var(--line);border-radius:9px;min-width:0}.plugin-card h3{font-size:13px;margin:18px 0 9px}.plugin-card p{font-size:11px;color:#92a5ac;min-height:40px}.plugin-card .tag-row{margin-top:19px}.plugin-card-top{display:flex;align-items:center;justify-content:space-between}.plugin-icon{display:grid;place-items:center;width:34px;height:34px;background:#edf5f2;color:#6b998d;border-radius:9px}.switch{height:21px;width:36px;border-radius:20px;background:#dce6e7;padding:3px;display:flex;justify-content:flex-start}.switch.on{background:#75a595;justify-content:flex-end}.switch:before{content:"";width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 2px #193b4110}.export-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.segment{display:inline-flex;background:#eaf0f1;padding:4px;border-radius:7px;gap:3px}.segment button{padding:10px 21px;color:#8b9fa6;background:transparent;border-radius:5px;font-size:12px}.segment button.active{background:white;color:#386f62;box-shadow:0 2px 6px #24513d08}.export-note{font-size:10px;color:#a1afb6;margin-bottom:16px}.report-page{background:white;border:1px solid var(--line);border-radius:10px;padding:38px;max-width:1050px;margin:auto;box-shadow:var(--shadow);font-size:12px;line-height:1.9}.report-page h1{font-size:24px;margin-bottom:12px}.report-page h2{font-size:16px;margin:28px 0 15px}.report-page h3{font-size:13px;margin:19px 0 10px}.report-section{margin:25px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}.report-item{padding:12px 0}.report-item p{font-size:12px}.report-page table{border-collapse:collapse;width:100%;font-size:11px}.report-page th,.report-page td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.report-page th{color:#8498a1;font-weight:400;background:#f7fafa}.report-page ul{padding-left:20px}.source-details{font-size:10px;border-left:2px solid #d7e9e1;padding-left:12px;margin-top:8px;color:#8daba0}.source-details summary{cursor:pointer;color:#6d9585}.report-page .unknown,.report-empty{font-size:11px;color:#9fadb3;background:#f8fafb;padding:12px;border-radius:5px}dialog{border:1px solid #dfe8e8;border-radius:12px;padding:29px;width:500px;max-width:calc(100vw - 32px);max-height:90vh;overflow:auto;box-shadow:0 20px 100px #17344130;color:var(--ink)}dialog::backdrop{background:#1b344964;backdrop-filter:blur(3px)}.wide-dialog{width:690px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:13px}.dialog-heading h2{font-size:20px;font-weight:500}.dialog-heading .eyebrow{font-size:8px}.dialog-intro{font-size:11px;color:#92a5ad;margin:14px 0 24px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.trace-dialog{width:1400px;padding:0;max-height:93vh}.trace-heading{padding:24px 28px 17px;margin:0}.trace-heading h2{font-size:19px;display:flex;align-items:center;gap:12px}.trace-toolbar{display:flex;align-items:center;gap:20px;padding:0 28px 21px}.trace-toolbar select{max-width:500px;font-size:11px;margin:0}.trace-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;border-top:1px solid var(--line)}.trace-left{min-width:0;background:#f8fafb}.trace-graph{padding:28px 22px 22px;overflow:auto}.graph-lanes{min-width:560px;display:grid;grid-template-columns:repeat(4,1fr);gap:24px 19px}.graph-node{position:relative;background:white;border:1px solid #e0e7eb;color:#8196a1;border-radius:8px;min-height:77px;padding:13px 10px;text-align:left;box-shadow:0 2px 4px #24425403}.graph-node:not(:nth-child(4n)):after{content:"→";position:absolute;right:-16px;top:27px;color:#c1cfd4;font-size:13px}.graph-node strong{display:block;font-size:11px;font-weight:500;margin-bottom:8px}.graph-node small{font-size:8px;color:#a6b4bb}.graph-node.completed{border-color:#9dcaba;background:#f0f8f3;color:#497f6d}.graph-node.running{border-color:#5a9f94;background:#e9f5f0;color:#397969;box-shadow:0 0 0 3px #d9eee6;animation:pulse 1.8s infinite}.graph-node.failed{border-color:#daa295;background:#fff4ef;color:#b57662}.graph-node.waiting{border-color:#d4bd87;background:#fbf7ee;color:#ac8c50}.graph-node.skipped{opacity:.55}.graph-node.selected{outline:2px solid #669489;outline-offset:3px}.graph-caption{font-size:9px;color:#a0b3ba;margin-top:20px;line-height:1.8}.trace-event-heading{padding:20px 22px 14px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);gap:20px}.trace-event-heading h3{font-size:11px}.trace-event-heading span{font-size:9px}.trace-events{max-height:290px;overflow:auto;padding:0 22px 20px}.trace-event{width:100%;padding:12px 0;background:transparent;border-bottom:1px solid var(--line);display:grid;grid-template-columns:23px 62px 84px 1fr;gap:10px;text-align:left;align-items:start;font-size:10px;color:#8ca0a9;line-height:1.8}.trace-event.selected{background:#edf5f2;color:#497e6d}.trace-event time{font:9px/2 ui-monospace,monospace;color:#a3b2ba}.trace-event strong{font-size:9px;font-weight:500;color:#638394}.trace-inspector{padding:26px;background:#193b4b;color:#b0c6ce;max-height:750px;overflow:auto}.trace-inspector h3{font-size:15px;color:#dce9ed;margin:20px 0}.trace-inspector .tag{background:#285061;color:#9dc5cd;font-size:9px}.trace-inspector h4{font-size:9px;letter-spacing:1px;color:#6a96a6;margin:25px 0 10px;font-weight:400}.trace-inspector p{font-size:11px;line-height:1.9;color:#acc7ce;overflow-wrap:anywhere}.trace-inspector .json-details{border-color:#365668}.trace-inspector .json-details summary{color:#9ebec8;font-size:10px}.trace-inspector .json-details pre{color:#9dbcca;font-size:9px}.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.usage-grid div{border:1px solid #365e6e;border-radius:6px;padding:13px}.usage-grid strong{display:block;font:21px Arial;color:#aacdd0}.usage-grid span{display:block;font-size:8px;color:#668e9c;margin-top:7px}.run-dock{position:fixed;bottom:20px;left:calc(50% + 117px);transform:translateX(-50%);min-width:390px;max-width:calc(100vw - 270px);z-index:40;display:flex;gap:12px;align-items:center;padding:12px 17px;background:#fff;border:1px solid #caddd5;box-shadow:0 6px 24px #17443c17;border-radius:9px;font-size:11px;color:#537d72}.run-dock p{font-size:10px;color:#96aca4;max-width:550px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.run-dock .button{margin-left:auto;flex:none}.run-dock .icon-button{font-size:20px;flex:none}.run-dock>div{min-width:0}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(15px);z-index:1000;opacity:0;pointer-events:none;background:#214453;color:#e1edf0;border-radius:8px;padding:13px 20px;box-shadow:0 5px 25px #17354120;max-width:min(650px,90vw);font-size:12px;line-height:1.8;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 5px #d9eee622}}@media(min-width:1750px){main{padding:42px 52px 0}.topbar{padding:0 52px}.section-card{min-height:177px;padding:22px}.section-card h3{font-size:13px}.section-card p{font-size:11px}.record-table td{padding:18px 12px}}@media(max-width:1400px){.sidebar{width:212px;padding-left:13px;padding-right:13px}.brand strong{font-size:22px}.brand small{font-size:7px}.brand-symbol{width:34px;height:34px}.app-shell{margin-left:212px}main{padding:28px 25px 0}.topbar{padding:0 25px}.section-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.section-card{padding:15px 12px}.section-card h3{font-size:11px}.section-card p{font-size:9px}.page-heading h1{font-size:26px}.profile-overview{padding:24px;gap:16px;grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(75px,.5fr))}.run-dock{left:calc(50% + 106px)}.chat-layout{grid-template-columns:minmax(0,1fr) 255px}.plugin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1150px){.section-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-card{min-height:135px}.section-card p{font-size:10px}.section-card h3{font-size:12px}.profile-overview{grid-template-columns:1.5fr 1fr 1fr}.overview-stat:last-child{display:none}.model-pill{max-width:165px}.page-heading{align-items:flex-start}.page-heading .button-row{flex-wrap:wrap;justify-content:flex-end;max-width:220px}.chat-layout{grid-template-columns:1fr}.context-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.chat-messages{max-height:550px}.two-column{grid-template-columns:1fr}.trace-layout{grid-template-columns:1fr}.trace-inspector{max-height:350px}.trace-inspector h3{margin-top:12px}.trace-inspector .usage-grid{max-width:350px}.explanation-grid{grid-template-columns:1fr}.topbar-actions{gap:10px}}@media(max-width:800px){.sidebar{width:205px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 30px #173b4520}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}.mobile-menu{display:grid;font-size:18px}.topbar{height:64px;padding:0 17px;gap:10px}.breadcrumb{font-size:10px;gap:9px}.topbar-actions{gap:10px}.profile-avatar{display:none}.model-pill{font-size:9px;max-width:130px}.topbar .button{font-size:10px;padding:7px 8px}.topbar .button svg{display:none}main{padding:25px 20px 0}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.profile-overview{grid-template-columns:1.7fr 1fr 1fr;gap:12px;padding:22px}.profile-overview p{font-size:10px}.profile-overview h2{font-size:15px}.overview-stat{padding-left:16px}.overview-stat strong{font-size:23px}.section-grid{grid-template-columns:repeat(3,1fr)}.app-footer{padding-left:20px;padding-right:20px}.run-dock{left:50%;max-width:calc(100vw - 28px);min-width:0;width:calc(100vw - 28px)}.export-toolbar{flex-wrap:wrap}.report-page{padding:25px}.summary-card{padding:18px}.summary-card .metric-icon{width:30px;height:30px}.summary-card .metric-icon svg{width:15px;height:15px}.summary-card strong{font-size:25px}.trace-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.trace-toolbar select{max-width:none}.trace-heading{padding:22px}.trace-dialog{max-width:calc(100vw - 20px)}.graph-lanes{min-width:550px}.trace-event{grid-template-columns:20px 57px 65px 1fr}}@media(max-width:540px){.breadcrumb>span:first-of-type,.breadcrumb-divider{display:none}.topbar{padding:0 12px}.model-pill{max-width:100px;font-size:8px}.topbar-actions{gap:8px}.topbar .button span:not(.count-badge){font-size:9px}.topbar .button{padding:7px}.page-heading{display:block;margin-bottom:20px}.page-heading .button-row{max-width:none;justify-content:flex-start;margin-top:17px}.page-heading h1{font-size:24px}.eyebrow{font-size:8px}main{padding:24px 14px 0}.profile-overview{grid-template-columns:1fr 1fr;padding:22px;gap:20px}.profile-overview>div:first-child{grid-column:1/-1}.profile-overview h2{font-size:16px}.profile-overview p{max-width:100%}.profile-overview .tag{margin-top:10px}.overview-stat{padding:0;border:0;border-top:1px solid #dce8e3;padding-top:17px}.overview-stat strong{font-size:27px}.overview-stat span{margin-top:7px}.section-grid{grid-template-columns:repeat(2,1fr);gap:10px}.section-card{min-height:145px;padding:16px}.section-card h3{font-size:11px}.section-card p{font-size:10px}.section-title-row{gap:10px}.section-title-row h2{font-size:13px}.section-title-row p{font-size:9px}.panel{padding:18px}.panel-heading{gap:10px;margin-bottom:16px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:10px}.record-toolbar{gap:9px}.record-toolbar .search-field{flex-basis:100%}.record-toolbar select{max-width:none;flex:1;width:0}.record-table{min-width:665px}.measure-table{min-width:650px}.summary-cards{gap:8px}.summary-card{padding:16px 12px;display:block}.summary-card .metric-icon{display:none}.summary-card span{font-size:9px}.summary-card strong{font-size:26px}.empty-state{padding:28px 7px;gap:12px;min-height:140px}.empty-icon{width:36px;height:36px;border-radius:11px}.empty-icon svg{width:18px;height:18px}.empty-state h3{font-size:12px}.empty-state p{font-size:10px}.chat-header{padding:15px}.chat-header select{max-width:200px}.chat-messages{padding:19px 15px;min-height:310px}.chat-empty{padding:24px 5px}.chat-empty h2{font-size:18px}.chat-empty p{font-size:11px}.chat-composer{padding:16px}.composer-footer small{font-size:8px}.context-aside{display:block}.message{gap:8px}.message-body{font-size:11px;max-width:calc(100% - 34px)}.message-avatar{width:26px;height:26px}.plugin-grid{grid-template-columns:1fr}.plugin-card{padding:22px}.export-toolbar{gap:15px}.export-toolbar .button-row{gap:7px}.export-toolbar .button{font-size:10px;padding:9px 11px}.report-page{padding:20px;overflow-wrap:anywhere}.report-page h1{font-size:21px}.report-page table{min-width:560px}.report-page .table-scroll{overflow:auto}.report-page>*{max-width:100%}.form-row{flex-wrap:wrap;gap:0 12px}.form-row>label{min-width:120px}.dialog-heading h2{font-size:18px}dialog{padding:23px;max-width:calc(100vw - 22px)}.trace-dialog{padding:0}.trace-heading h2{font-size:17px}.trace-heading .tag{display:none}.trace-heading .button{font-size:9px}.trace-toolbar{padding:0 22px 18px}.trace-event-heading{display:block}.trace-event-heading span{display:block;margin-top:7px}.trace-events{padding:0 14px 16px}.trace-event{grid-template-columns:18px 55px 65px 1fr;font-size:9px;gap:6px}.trace-inspector{padding:22px}.app-footer{display:block;padding:0 15px 95px;font-size:7px;line-height:2.2}.app-footer>span{display:block}.run-dock{padding:11px 13px;gap:8px;bottom:12px}.run-dock p{font-size:9px;max-width:175px}.run-dock>div>strong{font-size:10px}.detail-grid{gap:15px 10px}.detail-grid dd{font-size:11px}.checkbox-grid{grid-template-columns:1fr}.record-toolbar input{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.app-footer,.page-heading,.export-toolbar,.export-note,.run-dock,#toast,dialog{display:none!important}.app-shell{margin:0}main{padding:0;max-width:none}.report-page{border:0;padding:0;box-shadow:none;font-size:10pt;max-width:none}.report-section{break-inside:avoid}.report-page details[open]{display:block}.report-page h2{break-after:avoid}.report-page table{font-size:9pt;min-width:0!important}body{background:white}}

.task-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px}.task-summary strong{font-size:12px;font-weight:500;margin-left:10px}.task-summary p{font-size:10px;color:#93a7ad;margin-top:8px}.archive-extras{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.report-meta{color:#8c9da5;font-size:10px;padding-bottom:22px;border-bottom:2px solid #639d8e}.report-page nav{display:flex;flex-wrap:wrap;gap:8px 20px;padding:20px 0;border-bottom:1px solid var(--line)}.report-page nav a{text-decoration:none;font-size:10px;color:#799d90}.report-item-meta,.report-limitation{font-size:10px!important;color:#99a9b0;line-height:1.8}.report-measurement{display:flex;gap:15px;flex-wrap:wrap;margin:9px 0;font-size:11px;color:#648c80}.report-measurement strong{font-size:17px;color:#3d7764}.report-state{display:inline-block;font-size:9px;color:#7c9d90;background:#eef5f0;padding:3px 6px;margin:0 6px 6px 0;border-radius:3px}.report-warning{font-size:11px;color:#ad8b50;background:#fbf5e7;padding:12px}.report-question,.report-feedback{border-left:2px solid #d1e2da;padding-left:12px;margin-top:12px}.report-item>p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:540px){.task-summary{padding:16px;gap:12px}.task-summary strong{display:block;margin:9px 0 0}.task-summary p{font-size:9px}.task-summary .button{font-size:10px}.report-page nav{gap:8px 14px}}

@media(max-width:540px){.record-table{min-width:0;width:100%}.record-table thead{display:none}.record-table tbody{display:block}.record-table tr{display:grid;grid-template-columns:1fr 1fr;padding:15px 0;border-bottom:1px solid var(--line);gap:7px 10px}.record-table tr:last-child{border-bottom:0}.record-table td{border:0;padding:2px 0;white-space:normal;min-width:0}.record-table td:first-child{grid-column:1/-1;padding-bottom:8px}.record-table td:not(:first-child):before{font-size:9px;color:#acb9bf;display:block;margin-bottom:4px}.record-table td:nth-child(2):before{content:'发生 / 适用时间'}.record-table td:nth-child(3):before{content:'录入时间'}.record-table td:nth-child(4):before{content:'来源'}.record-table td:nth-child(5):before{content:'审核状态'}.record-table .record-title{font-size:12px;line-height:1.9}.record-table .tag{font-size:8px}.record-table .table-date{font-size:10px}.record-table small{font-size:9px}.record-table td:last-child small{display:inline;margin-left:6px}}

.graph-node:last-child:after{display:none}

.measurement-flag{display:block;font-size:9px;color:#9cadb2;margin-top:5px;max-width:150px}.measurement-flag.conflict{color:#b58d58}

/* Local account boundary and login layout. */
.auth-locked>.sidebar,.auth-locked>.app-shell,.auth-locked>.skip-link,.auth-locked>.run-dock{display:none!important}.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1fr) minmax(430px,1fr);background:#fff}.auth-intro{padding:48px 64px 30px;background:#eaf2ef;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-intro:after{content:"＋";position:absolute;font:500px/1 Arial;color:#deebe6;right:-86px;top:90px;pointer-events:none}.auth-brand{margin:0;position:relative;z-index:1;padding:0}.auth-intro-content{position:relative;z-index:1;margin:auto 0;max-width:480px;padding:62px 0}.auth-intro-content>.eyebrow{color:#528c7e;font-size:10px;letter-spacing:2px;margin-bottom:24px}.auth-intro h1{font-size:41px;line-height:1.55;letter-spacing:-1px;color:#234e4b;font-weight:600}.auth-intro-content>p{font-size:14px;color:#68867d;margin-top:22px;line-height:2}.auth-benefits{display:grid;gap:24px;margin-top:50px}.auth-benefits>div{display:flex;gap:20px;align-items:flex-start}.auth-benefits>div>span{color:#83a89c;font:11px/1.6 Arial;padding-top:3px}.auth-benefits h3{color:#416b61;font-size:13px;font-weight:550}.auth-benefits p{color:#7f9a91;font-size:11px;margin-top:5px}.auth-intro-footer{display:flex;gap:8px;align-items:center;color:#7fa297;font:8px/1.5 Arial;letter-spacing:1.5px;position:relative;z-index:1}.auth-intro-footer>span:last-child{margin-left:auto;letter-spacing:1px}.auth-form-side{padding:52px 55px;display:flex;align-items:center;justify-content:center}.auth-card{width:100%;max-width:385px}.auth-card>.eyebrow{font-size:9px;letter-spacing:1.8px;color:#9badb2;margin-bottom:16px}.auth-card h2{font-size:26px;font-weight:600;letter-spacing:-.5px}.auth-description{color:#8c9c9f;font-size:12px;margin-top:12px}.auth-tabs{display:flex;gap:3px;background:#f3f6f5;padding:4px;border-radius:7px;margin:29px 0 25px}.auth-tabs button{background:transparent;color:#8a9d97;border-radius:5px;flex:1;font-size:12px;padding:10px 6px}.auth-tabs button.selected{color:#23786a;background:#fff;box-shadow:0 1px 5px #1d443710}.auth-card fieldset{border:0;padding:0;margin:0;min-width:0}.auth-card label{display:block;color:#54716a;font-size:12px;margin-bottom:17px}.auth-card input:not([type=checkbox]){display:block;width:100%;margin-top:8px;min-height:45px;border:1px solid #dce6e2;background:#fff;border-radius:6px;padding:11px 13px;color:#27483f;outline-offset:2px;font-size:13px}.auth-card input::placeholder{color:#b1bfbb;font-size:12px}.auth-card input[type=checkbox]{width:15px;height:15px;accent-color:var(--teal);flex:none;margin:1px 0 0}.auth-card .check-line{display:flex;gap:9px;line-height:1.7;font-size:11px;margin:0}.auth-card .field-note{font-size:10px;margin:0 0 14px;color:#92a69d}.auth-card #auth-username-note{margin-top:-10px}.auth-card #auth-submit{width:100%;padding:13px 18px;justify-content:space-between;font-size:13px;margin-top:4px}.auth-legacy{border:1px solid #e4ebe6;background:#f8faf7;border-radius:7px;padding:13px;margin:9px 0 18px}.auth-legacy>p{font-size:10px;color:#9da894;padding-left:24px;margin-top:7px;line-height:1.8}.auth-footnote{font-size:10px;color:#aab6b3;text-align:center;line-height:1.8;margin-top:24px}.auth-card .form-error{margin:0 0 14px;font-size:11px;line-height:1.8}.workspace-identity{min-width:0;flex:1}.workspace-identity strong,.workspace-identity small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-identity strong{font-size:11px;font-weight:500}.workspace-identity small{font:9px/1.5 Arial;margin-top:4px;color:#94a7a1}.account-identity{max-width:145px;min-width:0;text-align:right}.account-identity strong,.account-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity strong{font-size:11px;font-weight:500;color:#59766f}.account-identity small{font:9px/1.5 Arial;color:#95a7a1;margin-top:4px}.topbar-actions{gap:15px}#account-logout{font-size:10px;padding:8px 10px}#model-settings:disabled{opacity:1;cursor:default}@media(max-width:1100px){.auth-intro{padding:40px 36px 28px}.auth-intro h1{font-size:34px}.auth-form-side{padding:45px 35px}.topbar .breadcrumb>span{display:none}.account-identity{max-width:95px}.topbar-actions{gap:10px}}@media(max-width:800px){.auth-screen{display:block}.auth-intro{padding:26px 26px 24px}.auth-intro:after{font-size:220px;right:7px;top:-25px}.auth-brand .brand-symbol{width:33px;height:33px;font-size:30px}.auth-brand strong{font-size:22px}.auth-intro-content{margin:27px 0 0;padding:0}.auth-intro-content>.eyebrow,.auth-intro-content>p,.auth-benefits,.auth-intro-footer{display:none}.auth-intro h1{font-size:25px;line-height:1.6;letter-spacing:-.5px}.auth-form-side{padding:35px 26px 40px}.auth-card{max-width:440px}.auth-card h2{font-size:23px}.auth-card>.eyebrow{font-size:8px;margin-bottom:13px}.auth-tabs{margin:25px 0 22px}.auth-footnote{font-size:9px}.account-identity{max-width:83px}.topbar-actions{gap:8px}.topbar .breadcrumb>strong{display:none}#account-logout{font-size:9px;padding:7px 8px}.topbar .button#trace-button{padding:7px}.topbar{gap:10px}.topbar-actions .model-pill{display:none}}
/* Source-backed references and observable local knowledge retrieval. */
.demo-banner{margin:0;padding:10px 34px;color:#927a46;background:#fbf7ec;border-bottom:1px solid #ede5d2;font-size:11px;line-height:1.8}.basis-label{display:block;font-size:9px;color:#8a9d99;margin:13px 0 6px}.reference-cell{min-width:175px;max-width:310px}.reference-value{font-size:11px;margin-top:8px;line-height:1.75;overflow-wrap:anywhere}.reference-caution{font-size:10px!important;color:#aa874e!important;line-height:1.8!important;margin-top:7px!important}.reference-details{margin-top:10px;font-size:10px;max-width:310px;overflow-wrap:anywhere}.reference-details>summary{cursor:pointer;color:#6e9488;line-height:1.8}.reference-details[open]>summary{margin-bottom:12px}.original-reference,.reference-reason{color:#91a09b;font-size:10px;margin:8px 0}.knowledge-source{font-size:10px;line-height:1.7;margin-top:10px;overflow-wrap:anywhere}.knowledge-source a{color:#518c7d;text-decoration:none}.knowledge-source a:hover{text-decoration:underline}.knowledge-source strong{font-weight:500;color:#62877b}.knowledge-source small{display:block;color:#9eaaa4;font-size:9px;margin-top:4px}.knowledge-list{font-size:10px;margin:12px 0;color:#7c9188}.knowledge-list>strong{font-size:10px;font-weight:500}.knowledge-list ul{padding-left:17px;margin:6px 0;line-height:1.9}.knowledge-list.warning{color:#aa8850}.reference-candidates{margin-top:14px}.reference-candidates h4{font-size:10px;color:#8a9a91;font-weight:500}.reference-candidate{border-left:2px solid #e3e8df;padding:9px 11px;margin:10px 0;background:#fafbf8;font-size:10px}.reference-candidate>strong{font-weight:500;color:#6b8578}.reference-candidate>p{margin-top:6px}.knowledge-stats{display:flex;flex-wrap:wrap;align-items:center;gap:15px 28px;padding:16px 0;border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee;margin-bottom:18px;font-size:10px;color:#87a092}.knowledge-stats strong{font-size:21px;font-weight:500;color:#527f6c;margin-right:6px}.knowledge-entries{display:grid;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.knowledge-entry{border:1px solid #e4ece5;border-radius:7px;background:#fafcf9;min-width:0;color:#537364}.knowledge-entry>summary{cursor:pointer;padding:13px 15px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:11px;line-height:1.7;list-style:none}.knowledge-entry>summary:before{content:'＋';font:15px/1.5 Arial;color:#96b3a4;flex:none}.knowledge-entry[open]>summary:before{content:'−'}.knowledge-entry>summary>span:first-child{flex:1}.knowledge-entry>summary>.tag{font-size:8px;max-width:100px;white-space:normal;text-align:center;flex:none}.knowledge-entry-body{padding:0 16px 16px;font-size:11px;line-height:1.8}.knowledge-entry-body>p{margin-top:10px}.knowledge-method{margin-top:16px;color:#8b9f93;font-size:10px}.knowledge-method>summary{cursor:pointer;line-height:1.8}.knowledge-method ul{padding-left:19px;line-height:1.9;margin-top:10px}.knowledge-method dl{display:grid;grid-template-columns:98px minmax(0,1fr);gap:8px 12px;line-height:1.8;margin-top:12px}.knowledge-method dt{color:#93a99c}.knowledge-method dd{margin:0;overflow-wrap:anywhere}.claim-knowledge{margin-top:13px}.claim-knowledge .knowledge-entry{margin-top:6px}.claim-knowledge .knowledge-entry>summary{padding:10px 12px;font-size:10px}.knowledge-overview.compact{padding:13px 15px;border:1px solid #e5ebe6;border-radius:7px;font-size:11px;margin-top:17px}.knowledge-overview.compact>summary{cursor:pointer;color:#6b8979;font-size:10px}.knowledge-overview.compact[open]>.knowledge-stats{margin-top:12px}.knowledge-overview.compact .knowledge-entries{grid-template-columns:1fr}.trace-reference-list{margin-top:18px}.trace-inspector .reference-cell,.trace-inspector .reference-details{max-width:none}.trace-inspector .reference-value,.trace-inspector .knowledge-entry-body>p{color:#9fc2bd}.trace-inspector .knowledge-entry,.trace-inspector .reference-candidate{background:#214b56;border-color:#396572;color:#b0cec5}.trace-inspector .knowledge-source a,.trace-inspector .knowledge-source strong{color:#baded0}.trace-inspector .knowledge-overview.compact,.trace-inspector .knowledge-stats{border-color:#3d6470}.report-demo{font-size:11px;color:#9e8348;background:#fbf6e9;padding:11px 14px;margin:0 0 20px!important;border:1px solid #eee7d3}.report-reference{padding:11px 14px;border-left:2px solid #b9d3c1;background:#f7faf6;margin:13px 0}.report-knowledge-item{padding:11px 0;border-bottom:1px solid #e6ece5}.report-knowledge-item>a,.source-details a{color:#5c8b72;overflow-wrap:anywhere}@media(max-width:800px){.demo-banner{padding:10px 16px;font-size:10px}.knowledge-entries{grid-template-columns:1fr}.knowledge-entry>summary{font-size:10px}.knowledge-stats{gap:10px 18px;font-size:9px}.knowledge-stats strong{font-size:19px}.knowledge-method dl{grid-template-columns:75px minmax(0,1fr);gap:6px 10px}.reference-cell{min-width:170px;max-width:245px}.knowledge-entry>summary>.tag{max-width:90px}.reference-value{font-size:10px}}@media print{.knowledge-entry,.reference-details,.knowledge-method{break-inside:avoid}}

.reference-kind{display:block;color:#9aa99f;font-size:9px;margin-top:7px}.knowledge-entry .tag{overflow-wrap:anywhere}

@media(max-width:540px){.measure-table{min-width:0!important;width:100%}.measure-table thead{display:none}.measure-table tbody{display:block}.measure-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px;padding:19px 0;border-bottom:1px solid var(--line)}.measure-table tr:last-child{border-bottom:0}.measure-table td{border:0;padding:0;min-width:0;white-space:normal;overflow-wrap:anywhere}.measure-table td:before{content:attr(data-label);display:block;font-size:9px;color:#8e9f9d;margin-bottom:6px}.measure-table td:first-child{grid-column:1/-1;font-weight:600;font-size:13px;color:#3c605d;padding-bottom:4px}.measure-table td:first-child:before{display:none}.measure-table td:nth-child(2){grid-column:1;grid-row:2}.measure-table td:nth-child(4){grid-column:2;grid-row:2}.measure-table td:nth-child(3){grid-column:1/-1;grid-row:3}.measure-table .reference-cell{min-width:0;max-width:none}.measure-table .reference-details{max-width:none}.measure-table .reference-value{font-size:11px}.knowledge-overview>.panel-heading>.tag{flex:none}}

/* Healseek identity, bilingual chrome and progressive disclosure. */
.healseek-mark{display:block;object-fit:contain}.brand-symbol.healseek-mark{border-radius:12px;background:none;font:inherit;width:40px;height:40px}.brand-wordmark strong{display:block;font:600 22px/1.15 Arial,sans-serif;letter-spacing:-.65px}.auth-brand .brand-wordmark strong{font-size:26px}.brand-wordmark small{font:7px/1.5 Arial,sans-serif;letter-spacing:.7px;margin-top:5px}.auth-intro:after{content:'';width:390px;height:390px;right:-95px;top:110px;background:url('/healseek-mark.svg') center/contain no-repeat;opacity:.08;transform:rotate(-14deg)}.auth-screen{position:relative}.auth-language{position:absolute;right:38px;top:25px;z-index:2}.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;background:#f1f6f4;border:1px solid #e3ece7;border-radius:7px;flex:none}.language-switch button{padding:6px 8px;min-width:29px;font:11px/1.3 system-ui,sans-serif;color:#82978d;background:transparent;border-radius:4px}.language-switch button.selected{color:#216f61;background:white;box-shadow:0 1px 4px #244c3910}.topbar-actions{gap:11px}.brand{padding:0 4px}.message-avatar .healseek-mark{width:29px;height:29px;border-radius:9px}.hero-cross .healseek-mark{width:52px;height:52px}.chat-layout{grid-template-columns:minmax(0,1fr);max-width:1120px;margin:0 auto;gap:16px}.chat-messages{min-height:360px;max-height:calc(100vh - 350px)}.context-disclosure{border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px 20px}.context-disclosure>summary{cursor:pointer;font-size:11px;color:#7d968b;line-height:1.8}.context-disclosure[open]>summary{margin-bottom:18px}.context-disclosure>.panel{box-shadow:none;border:0;padding:12px 0}.context-disclosure>.panel:last-child{margin-bottom:0;border-top:1px solid var(--line);padding-top:22px}.answer-evidence,.supporting-analysis,.answer-process{font-size:11px;margin-top:16px;border-top:1px solid #eaf0ed;padding-top:11px}.answer-evidence>summary,.supporting-analysis>summary,.answer-process>summary{cursor:pointer;font-size:10px;color:#76968a;line-height:1.8}.supporting-analysis[open]>.explanation-grid{margin-top:13px}.answer-process .notice{margin:15px 0 0}.message .explanation-card p{font-size:13px;line-height:2;white-space:pre-wrap}.message .explanation-card .uncertainty{font-size:10px;line-height:1.8}.report-detail-toggle{margin-left:auto}.export-toolbar{flex-wrap:wrap}.recovery-box{padding:20px;border:1px solid #e7dfc8;border-radius:8px;background:#fdfbf5;margin-top:16px;color:#746b50;max-width:740px}.recovery-box h3{font-size:13px;color:#806c40;margin-bottom:10px}.recovery-box>p{font-size:11px}.recovery-box label{display:block;font-size:11px;margin:16px 0 7px}.recovery-box textarea{width:100%;margin:0 0 10px;background:white;font-size:12px;min-height:85px}.recovery-box .field-note{font-size:10px;line-height:1.8;margin:0 0 13px}.recovery-issues{padding-left:18px;font-size:11px;line-height:1.9;margin:12px 0}.task-summary:has(.recovery-box){flex-wrap:wrap}.task-summary>.recovery-box{flex:0 0 100%;max-width:none;margin-top:0}.trace-inspector .recovery-box{background:#254750;border-color:#617267;color:#d1dcc9;padding:17px}.trace-inspector .recovery-box h3,.trace-inspector .recovery-box p{color:#d1dcc9}.trace-inspector .recovery-box textarea{background:#fff;color:#314b4b}.run-lineage{border:1px solid #486775;border-radius:7px;padding:10px 12px;margin:16px 0;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.run-lineage .button{font-size:10px;color:#acd4c1}.graph-node strong,.trace-event strong{overflow-wrap:anywhere}.graph-node small{overflow-wrap:anywhere}.graph-node strong [data-original]{display:block}.ui-original-note{font-size:10px;color:#94a49c;margin-top:5px}
html[lang=en] .nav-link{white-space:normal;font-size:11px;line-height:1.5}html[lang=en] .nav-link .nav-code{flex:none}html[lang=en] .summary-card span{font-size:10px}html[lang=en] .section-card h3{line-height:1.5}html[lang=en] .graph-node strong{font-size:12px;line-height:1.6}html[lang=en] .button{white-space:normal}html[lang=en] .topbar .button{white-space:nowrap}html[lang=en] .trace-event{grid-template-columns:28px 75px 120px minmax(0,1fr)}
@media(max-width:800px){.auth-language{top:27px;right:24px}.auth-brand{max-width:235px}.auth-intro{padding-top:24px}.auth-brand .brand-symbol{width:34px;height:34px}.auth-brand .brand-wordmark strong{font-size:22px}.auth-intro:after{width:220px;height:220px;right:10px;top:-30px}.topbar{gap:7px}.topbar-actions{gap:7px}.language-switch button{padding:5px 7px;font-size:10px}.context-disclosure{padding:15px 17px}.report-detail-toggle{margin-left:0}.recovery-box{padding:16px}.recovery-box textarea{font-size:11px}.message .explanation-card p{font-size:12px}html[lang=en] .trace-event{grid-template-columns:18px 54px 85px minmax(0,1fr)}}
@media(max-width:540px){.topbar{height:auto;min-height:76px;padding:10px 13px;align-items:flex-start}.topbar .breadcrumb{padding-top:10px}.topbar-actions{justify-content:flex-end;flex-wrap:wrap;max-width:320px;gap:7px}.topbar .account-identity{max-width:75px}.topbar .account-identity strong{font-size:9px}.topbar #account-logout{padding:7px 6px;font-size:9px}.topbar #trace-button{font-size:9px;gap:4px}.language-switch button{padding:5px 6px;min-width:24px}.brand-wordmark small{font-size:6px}.auth-language{right:19px;top:26px}.auth-brand .brand-symbol{width:30px;height:30px}.auth-brand{gap:8px}.auth-brand .brand-wordmark strong{font-size:22px}.auth-intro{padding-left:23px}.export-toolbar .segment{font-size:10px}.report-detail-toggle button{font-size:10px}.chat-messages{max-height:none}.message .message-body{max-width:calc(100% - 37px)}.recovery-box .button{font-size:10px}.task-summary .recovery-box{padding:15px}.source-button{white-space:normal}}

.dialog-heading>.language-switch{margin-left:auto;margin-right:5px}.dialog-heading .language-switch{flex:none}.trace-heading .language-switch button{font-size:10px}

/* File recognition remains a review step before record import. */
.import-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh;overflow:auto}.import-metadata{border:0;padding:0;margin:0;min-width:0}.import-metadata:disabled{opacity:.7}.import-file-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:#f7faf9;border-radius:8px;padding:12px;margin:12px 0 20px}.import-file-card img{width:72px;height:72px;object-fit:contain;border-radius:5px;background:#fff;flex:none}.import-file-badge{display:grid;place-items:center;width:54px;height:62px;border-radius:6px;background:#e5efeb;color:#477e6a;font:600 13px system-ui;flex:none}.import-file-card>div{min-width:0}.import-file-card strong{font-size:12px;display:block;overflow-wrap:anywhere;font-weight:500}.import-file-card small{display:block;font-size:10px;color:#83988f;margin-top:6px}.import-preview{padding:18px;border:1px solid #dce9e2;background:#f7faf8;border-radius:8px;margin:18px 0}.import-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.import-preview-heading h3{font-size:13px}.import-preview-heading>span{font-size:11px;color:#5c8a77}.import-preview-warnings{padding-left:18px;font-size:11px;line-height:1.8;color:#94703d;margin:0 0 14px}.import-preview label{display:block;font-size:11px;color:#5c766a;margin-bottom:8px}.import-preview textarea{width:100%;height:min(38vh,320px);min-height:240px;resize:vertical;line-height:1.8;background:#fff;font-size:13px;margin:0 0 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"PingFang SC",monospace;white-space:pre;overflow:auto;tab-size:4}.import-preview .field-note{display:block;margin:6px 0 0}#import-preview-count{text-align:right}@media(max-width:600px){.import-dialog{width:calc(100vw - 20px);padding:22px 16px;max-height:92vh}.import-preview{padding:13px}.import-preview textarea{font-size:16px;min-height:260px}.import-file-card img{width:60px;height:60px}.import-dialog .dialog-actions{gap:10px;position:sticky;bottom:-22px;background:#fff;padding:12px 0 18px;border-top:1px solid var(--line);z-index:1}.import-dialog .dialog-actions .button.primary{flex:1;white-space:normal}}
