:root{--agent-navy: #16324A;--agent-navy-soft: #234A66;--agent-gold: #B08A4F;--agent-gold-soft: #F3EAD7;--agent-paper: #FAF8F2;--agent-bg: #F3F5F4;--agent-ink: #1C2B26;--agent-muted: #647269;--agent-faint: #95A19A;--agent-line: #E2E7E4;--agent-line-soft: #EDF1EE;--agent-shadow: 0 10px 30px rgba(22, 50, 74, .07);--agent-radius: 18px}*{margin:0;padding:0;box-sizing:border-box}html,body,#app{height:100%}body{font-family:Microsoft YaHei,PingFang SC,Noto Sans SC,system-ui,sans-serif;background:var(--agent-bg);color:var(--agent-ink);-webkit-font-smoothing:antialiased;overflow:hidden}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--agent-gold);outline-offset:2px}.agent-icon{display:block;flex:none}.agent-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.agent-topbar{height:56px;flex:none;display:flex;align-items:center;gap:8px;padding:0 10px;background:#faf8f2f0;border-bottom:1px solid var(--agent-line-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:relative;z-index:20}.icon-button{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--agent-navy)}.icon-button:hover{background:#16324a0f}.agent-brand{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.agent-brand-mark{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--agent-navy);color:#f8f4ea;font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:15px;line-height:1;position:relative}.agent-brand-mark:after{content:"";position:absolute;left:7px;right:7px;bottom:3px;height:1px;background:var(--agent-gold);opacity:.9}.agent-brand-name{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:18px;font-weight:700;color:var(--agent-navy);white-space:nowrap}.agent-brand-sub{font-size:10px;color:var(--agent-faint);letter-spacing:.08em;white-space:nowrap}.topbar-actions{display:flex;align-items:center}.agent-searchbar{flex:none;display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--agent-paper);border-bottom:1px solid var(--agent-line-soft);color:var(--agent-muted)}.agent-searchbar input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:14px;padding:6px 0}.agent-content{flex:1;min-height:0;overflow:auto;position:relative}.agent-home{height:100%;display:flex;flex-direction:column}.home-scroll{flex:1;min-height:0;overflow-y:auto;padding:28px 20px 18px}.home-empty{max-width:640px;margin:6vh auto 30px;text-align:center}.home-eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--agent-gold);font-weight:700;margin-bottom:14px}.home-title{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:clamp(25px,7vw,32px);line-height:1.35;font-weight:700;color:var(--agent-navy);letter-spacing:.01em;margin-bottom:22px}.mode-switch{display:inline-flex;padding:4px;border-radius:999px;background:#e8edea;gap:2px}.mode-tab{min-width:92px;padding:9px 18px;border-radius:999px;color:var(--agent-muted);font-size:14px;transition:all .2s ease}.mode-tab.active{background:#fff;color:var(--agent-navy);font-weight:600;box-shadow:0 2px 8px #16324a14}.recommend{max-width:720px;margin:0 auto 24px}.home-search-results{max-width:720px;margin:0 auto 24px;display:flex;flex-direction:column;gap:8px}.home-search-empty{font-size:12px;color:var(--agent-faint);padding:12px 4px}.home-section-title{font-size:12px;color:var(--agent-muted);font-weight:500;margin-bottom:10px;padding-left:2px}.recommend-list{display:flex;flex-direction:column;gap:8px}.recommend-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--agent-line-soft);text-align:left;font-size:14px;line-height:1.5;color:var(--agent-ink);transition:border-color .18s ease,transform .18s ease}.recommend-card:hover{border-color:#d6c7a8;transform:translateY(-1px)}.recommend-card .agent-icon{color:var(--agent-faint)}.quick-actions{max-width:720px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.quick-action{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 8px;border-radius:12px;background:#fff;border:1px solid var(--agent-line-soft);font-size:12px;color:var(--agent-navy);white-space:nowrap}.quick-action:hover{border-color:#d6c7a8}.quick-icon{display:grid;place-items:center;color:var(--agent-gold)}.composer{flex:none;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(243,245,244,0),var(--agent-bg) 26%)}.composer-files{display:flex;flex-wrap:wrap;gap:6px;max-width:760px;margin:0 auto 8px}.composer-file{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 8px;border-radius:8px;background:#fff;border:1px solid var(--agent-line);font-size:11px;color:var(--agent-muted)}.composer-file span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-file button{color:var(--agent-faint);width:16px;height:16px;line-height:1}.composer-box{max-width:760px;margin:0 auto;display:flex;align-items:flex-end;gap:2px;padding:7px 8px;border-radius:20px;background:#fff;border:1px solid var(--agent-line);box-shadow:var(--agent-shadow)}.composer-box:focus-within{border-color:#cdbb95}.composer-tool{width:36px;height:38px;border-radius:10px;flex:none;display:grid;place-items:center;color:var(--agent-muted)}.composer-tool:hover:not(:disabled){background:var(--agent-paper);color:var(--agent-navy)}.composer-tool.recording{background:#fef2f2;color:#b42318}.composer-tool:disabled{opacity:.35;cursor:default}.composer-input{flex:1;min-width:0;max-height:120px;resize:none;border:0;outline:0;padding:9px 4px;background:transparent;font-size:15px;line-height:1.5}.composer-input::placeholder{color:#a5afa9}.composer-send{width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--agent-navy);color:#fff}.composer-send:disabled{background:#d8dfdb;color:#fff;cursor:default}.composer-hidden{display:none}.composer-hint{text-align:center;font-size:10px;color:var(--agent-faint);margin-top:7px}.chat-view{height:100%;display:flex;flex-direction:column;background:var(--agent-bg)}.chat-head{flex:none;height:48px;display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:1px solid var(--agent-line-soft);background:#faf8f2f0}.chat-head h1{flex:1;min-width:0;text-align:center;font-size:15px;font-weight:600;color:var(--agent-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.back-icon{transform:rotate(180deg)}.chat-messages{flex:1;min-height:0;overflow-y:auto;padding:18px 16px 10px}.chat-welcome{max-width:560px;margin:12vh auto 0;text-align:center;color:var(--agent-muted)}.chat-welcome-mark{width:48px;height:48px;margin:0 auto 16px;border-radius:13px;display:grid;place-items:center;background:var(--agent-navy);color:#f8f4ea;font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:24px;position:relative}.chat-welcome-mark:after{content:"";position:absolute;left:12px;right:12px;bottom:6px;height:1px;background:var(--agent-gold)}.chat-welcome h2{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:24px;color:var(--agent-navy);margin-bottom:8px}.chat-welcome p{font-size:13px;line-height:1.7}.chat-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:18px}.chat-row.is-user{justify-content:flex-end}.chat-avatar{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--agent-navy);color:#f8f4ea;font-family:Songti SC,serif;font-size:14px}.chat-bubble-wrap{max-width:min(86%,720px);display:flex;flex-direction:column;min-width:0}.chat-row.is-user .chat-bubble-wrap{max-width:82%;align-items:flex-end}.chat-bubble{padding:13px 15px;border-radius:4px 14px 14px;background:#fff;border:1px solid var(--agent-line);box-shadow:0 2px 8px #16324a0a;font-size:14px;line-height:1.75;color:var(--agent-ink);word-break:break-word}.chat-row.is-user .chat-bubble{background:var(--agent-navy);border-color:var(--agent-navy);color:#fff;border-radius:14px 4px 14px 14px}.chat-bubble.is-error{border-color:#e7c7c3;background:#fff9f8}.chat-content{white-space:pre-wrap}.chat-content.is-rich{white-space:normal;font-size:14px;line-height:1.78}.chat-content.is-rich p{margin:0 0 8px}.chat-content.is-rich p:last-child{margin-bottom:0}.chat-content.is-rich strong{font-weight:700;color:var(--agent-navy)}.chat-row.is-user .chat-content.is-rich strong{color:#fff}.chat-content.is-rich em{font-style:italic}.chat-content.is-rich h1,.chat-content.is-rich h2,.chat-content.is-rich h3,.chat-content.is-rich h4{margin:14px 0 7px;color:var(--agent-navy);line-height:1.45}.chat-content.is-rich h1{font-size:17px}.chat-content.is-rich h2{font-size:16px}.chat-content.is-rich h3{font-size:15px}.chat-content.is-rich h4{font-size:14px}.chat-content.is-rich ul,.chat-content.is-rich ol{margin:4px 0 9px;padding-left:19px}.chat-content.is-rich li{margin:2px 0;padding-left:1px}.chat-content.is-rich li::marker{color:var(--agent-gold)}.chat-content.is-rich code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:#16324a12;border-radius:4px;padding:1px 4px}.chat-content.is-rich pre{margin:8px 0;padding:10px 11px;border-radius:9px;background:#f3f5f4;border:1px solid var(--agent-line-soft);overflow-x:auto;white-space:pre}.chat-content.is-rich pre code{background:transparent;padding:0}.chat-content.is-rich blockquote{margin:8px 0;padding:6px 10px;border-left:3px solid var(--agent-gold);background:#faf8f2;color:var(--agent-muted);border-radius:0 8px 8px 0}.chat-content.is-rich hr{border:0;border-top:1px solid var(--agent-line);margin:12px 0}.chat-content.is-rich a{color:var(--agent-gold);text-decoration:underline;text-underline-offset:2px;word-break:break-all}.chat-table-wrap{overflow-x:auto;margin:8px 0 10px;border:1px solid var(--agent-line);border-radius:9px}.chat-content.is-rich table{width:100%;border-collapse:collapse;font-size:12px;min-width:360px}.chat-content.is-rich th,.chat-content.is-rich td{border-bottom:1px solid var(--agent-line-soft);padding:7px 8px;text-align:left;vertical-align:top}.chat-content.is-rich th{background:#faf8f2;color:var(--agent-navy);font-weight:600;white-space:nowrap}.chat-content.is-rich tr:last-child td{border-bottom:0}.chat-attachments{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}.chat-attachments span{padding:3px 7px;border-radius:6px;background:#ffffff1f;font-size:10px;color:inherit;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-row.is-ai .chat-attachments span{background:var(--agent-gold-soft);color:var(--agent-gold)}.composer-error{max-width:760px;margin:0 auto 6px;font-size:11px;color:#b42318}.chat-meta{font-size:10px;color:var(--agent-faint);margin-top:5px;padding:0 3px}.chat-thinking{margin-bottom:8px;border-bottom:1px dashed var(--agent-line);padding-bottom:6px}.chat-thinking summary{font-size:11px;color:var(--agent-gold);cursor:pointer}.chat-thinking p{margin-top:6px;font-size:12px;line-height:1.7;color:var(--agent-muted);white-space:pre-wrap;max-height:180px;overflow-y:auto}.chat-sources{margin-top:12px;padding-top:10px;border-top:1px solid var(--agent-line-soft);display:flex;flex-direction:column;gap:4px}.chat-sources-title{font-size:10px;color:var(--agent-faint);margin-bottom:2px}.chat-source{display:flex;gap:5px;font-size:11px;color:var(--agent-muted);line-height:1.5}.chat-source span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-retry{margin-top:10px;padding:5px 10px;border:1px solid #E7C7C3;border-radius:8px;color:#b42318;font-size:11px;background:#fff}.chat-typing{display:flex;gap:4px;padding:4px 2px}.chat-typing i{width:5px;height:5px;border-radius:50%;background:var(--agent-gold);animation:typing 1s infinite ease-in-out}.chat-typing i:nth-child(2){animation-delay:.15s}.chat-typing i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media (max-width: 720px){.chat-messages{padding:14px 12px 8px}.chat-bubble-wrap{max-width:calc(100% - 38px)}.chat-row.is-user .chat-bubble-wrap{max-width:84%}.chat-bubble{font-size:14px}.chat-welcome{margin-top:9vh}.chat-welcome h2{font-size:22px}}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0c182459;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.agent-drawer{position:fixed;top:0;bottom:0;left:0;z-index:50;width:min(86vw,340px);display:flex;flex-direction:column;background:#fff;transform:translate(-102%);transition:transform .24s ease;box-shadow:18px 0 50px #0c182429;padding-top:env(safe-area-inset-top)}.agent-drawer.open{transform:translate(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px}.drawer-brand{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:21px;font-weight:700;color:var(--agent-navy)}.drawer-nav{display:flex;flex-direction:column;gap:2px;padding:6px 10px 14px}.drawer-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;border-radius:11px;color:var(--agent-ink);font-size:15px;text-align:left}.drawer-link .agent-icon{color:var(--agent-navy)}.drawer-link:hover{background:var(--agent-paper)}.drawer-section{padding:12px 18px 2px;border-top:1px solid var(--agent-line-soft)}.drawer-section-title{font-size:10px;color:var(--agent-faint);letter-spacing:.08em;margin-bottom:6px}.drawer-session{display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:0 8px;border-radius:9px;font-size:13px;color:var(--agent-ink);text-align:left}.drawer-session:hover{background:var(--agent-paper)}.drawer-session-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-session-time{flex:none;font-size:10px;color:var(--agent-faint)}.drawer-session-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--agent-gold-soft);color:var(--agent-gold)}.drawer-recent{flex:1;min-height:0;overflow-y:auto}.drawer-empty{font-size:12px;color:var(--agent-faint);padding:10px 8px}.drawer-user{display:flex;align-items:center;gap:10px;padding:14px 18px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--agent-line-soft);text-align:left}.drawer-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9efeb;color:var(--agent-navy);font-size:13px;font-weight:600}.drawer-user-name{flex:1;min-width:0;font-size:14px;color:var(--agent-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-user .agent-icon{color:var(--agent-faint)}.placeholder-page{padding:64px 24px;max-width:640px;margin:0 auto}.placeholder-page h1{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:28px;color:var(--agent-navy);margin-bottom:10px}.placeholder-page p{font-size:14px;line-height:1.8;color:var(--agent-muted)}.placeholder-page .placeholder-note{margin-top:20px;padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--agent-line);font-size:12px}@media (max-width: 720px){.agent-brand-sub{display:none}.home-scroll{padding:22px 14px 14px}.home-empty{margin-top:4vh;margin-bottom:24px}.home-title{font-size:27px}.recommend{margin-bottom:18px}.recommend-card{padding:13px 14px;font-size:13px}.quick-actions{gap:6px}.quick-action{flex-direction:column;gap:4px;min-height:58px;font-size:11px}.composer{padding-left:10px;padding-right:10px}.drawer-user-name{font-size:13px}.placeholder-page{padding:48px 18px}}@media (max-width: 360px){.quick-action span:last-child{font-size:10px}.composer-tool{width:32px}.composer-send{width:34px;height:34px}}.tx-page{height:100%;display:flex;flex-direction:column;background:var(--agent-bg)}.tx-head{height:52px;flex:none;display:flex;align-items:center;gap:6px;padding:0 8px;background:#faf8f2f5;border-bottom:1px solid var(--agent-line-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.tx-back{transform:rotate(180deg)}.tx-head-main{flex:1;min-width:0;text-align:center}.tx-head-main h1{font-size:15px;font-weight:600;color:var(--agent-navy);line-height:1.2}.tx-head-main span{display:block;margin-top:2px;font-size:9px;color:var(--agent-faint);letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-scroll{flex:1;min-height:0;overflow-y:auto;padding:20px 16px 46px;max-width:860px;margin:0 auto;width:100%}.tx-hero{margin-bottom:16px}.tx-eyebrow{font-size:9px;letter-spacing:.2em;color:var(--agent-gold);font-weight:700;margin-bottom:8px}.tx-hero h2{font-family:Songti SC,"Noto Serif SC",STSong,serif;font-size:clamp(24px,6.8vw,32px);line-height:1.35;color:var(--agent-navy);margin-bottom:8px}.tx-hero p{font-size:12.5px;line-height:1.8;color:var(--agent-muted);max-width:620px}.tx-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:none;position:sticky;top:0;background:var(--agent-bg);box-shadow:0 5px 12px #16324a0d;z-index:5}.tx-tabs::-webkit-scrollbar{display:none}.tx-tab{flex:none;padding:8px 13px;border-radius:999px;border:1px solid var(--agent-line);background:#fff;color:var(--agent-muted);font-size:12px;transition:all .18s ease}.tx-tab.active{background:var(--agent-navy);color:#fff;border-color:var(--agent-navy);box-shadow:0 6px 14px #16324a29}.tx-mode{display:flex;flex-direction:column;gap:12px}.tx-card{background:#fff;border:1px solid var(--agent-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:11px;box-shadow:0 6px 18px #16324a0a;scroll-margin-top:64px}.tx-card-head{display:flex;align-items:flex-start;gap:9px}.tx-card-num{width:24px;height:24px;flex:none;border-radius:50%;background:var(--agent-gold-soft);color:var(--agent-gold);font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.tx-card-head h2{margin:0;font-size:14px;color:var(--agent-navy);line-height:1.35}.tx-card-head p{margin:2px 0 0;font-size:10.5px;line-height:1.5;color:var(--agent-faint)}.tx-card h3{font-size:12px;color:var(--agent-navy)}.tx-subtitle{margin:0 0 2px;font-size:12.5px;color:var(--agent-navy)}.tx-uploader{display:flex;flex-direction:column;gap:8px}.tx-upload-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tx-upload-btn{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:8px 12px;border:1px dashed #D6C7A8;border-radius:10px;background:#fcfbf7;color:var(--agent-gold);font-size:12px;font-weight:600}.tx-upload-btn:disabled{opacity:.55}.tx-upload-hint{font-size:10.5px;line-height:1.55;color:var(--agent-faint)}.tx-file-list{display:flex;flex-wrap:wrap;gap:6px}.tx-file-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 8px;border-radius:8px;background:var(--agent-gold-soft);color:var(--agent-navy);font-size:10.5px}.tx-file-name{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-file-chip button{font-size:14px;line-height:1;color:var(--agent-muted);padding:0 1px}.tx-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tx-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:10.5px;color:var(--agent-muted)}.tx-field input,.tx-field select{min-height:38px;border:1px solid var(--agent-line);border-radius:9px;background:#fcfbf8;padding:7px 9px;font-size:12px;color:var(--agent-ink);outline:none;min-width:0;width:100%}.tx-field input:focus,.tx-field select:focus{border-color:var(--agent-gold);box-shadow:0 0 0 3px #b08a4f1f;background:#fff}.tx-source{font-size:9px;color:var(--agent-faint);line-height:1.4;overflow:hidden;text-overflow:ellipsis}.tx-field-group{display:flex;flex-direction:column;gap:6px;padding-top:2px}.tx-field-group h3{font-size:10.5px;letter-spacing:.6px;color:var(--agent-gold)}.tx-details{border:1px solid var(--agent-line-soft);border-radius:9px;background:#fcfbf8;padding:8px 10px}.tx-details summary{cursor:pointer;font-size:10.5px;color:var(--agent-muted);-webkit-user-select:none;user-select:none}.tx-details[open] summary{margin-bottom:6px}.tx-details p{margin:4px 0;font-size:10.5px;line-height:1.65;color:var(--agent-muted)}.tx-details b{color:var(--agent-navy)}.tx-primary,.tx-secondary{min-height:42px;border-radius:10px;font-size:12.5px;font-weight:600;padding:9px 15px}.tx-primary{background:var(--agent-navy);color:#fff;box-shadow:0 8px 18px #16324a29}.tx-primary:disabled{opacity:.5;box-shadow:none}.tx-secondary{background:#fff;border:1px solid var(--agent-line);color:var(--agent-navy)}.tx-link{color:var(--agent-gold);font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:6px 2px}.tx-block{width:100%}.tx-row-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.tx-hint{font-size:10px;line-height:1.65;color:var(--agent-faint)}.tx-error{font-size:11px;line-height:1.55;color:#b91c1c;background:#fef2f2;border:1px solid #FECACA;border-radius:9px;padding:8px 10px}.tx-notice{font-size:10.5px;line-height:1.6;color:#92400e;background:#fffbeb;border:1px solid #FDE68A;border-radius:9px;padding:8px 10px}.tx-notice p{margin:2px 0}.tx-notice.is-warn{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.tx-chip-line{display:flex;flex-wrap:wrap;gap:6px}.tx-chip{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:9.5px;background:#f1f5f9;color:#475569;white-space:nowrap}.tx-chip.is-ok{background:#ecfdf5;color:#047857}.tx-chip.is-issue{background:#fef2f2;color:#b91c1c}.tx-chip.is-checked{background:#fffbeb;color:#b45309}.tx-chip.is-na{background:#f3f4f6;color:#6b7280}.tx-chip.is-pass{background:#ecfdf5;color:#047857}.tx-result{display:flex;flex-direction:column;gap:12px;scroll-margin-top:64px}.tx-score-card{display:flex;align-items:center;gap:16px;padding:17px;border-radius:16px;background:linear-gradient(135deg,#16324a,#274e6b);color:#fff;box-shadow:0 14px 28px #16324a2e}.tx-score{width:78px;height:78px;flex:none;border-radius:50%;border:3px solid rgba(255,255,255,.22);display:grid;place-items:center;font-size:28px;font-weight:700}.tx-score-card.is-high .tx-score{border-color:#fcd34d}.tx-score-card.is-medium .tx-score{border-color:#93c5fd}.tx-score-card.is-low .tx-score{border-color:#6ee7b7}.tx-score-card.is-extreme .tx-score{border-color:#fca5a5}.tx-score-card.is-unknown .tx-score{border-color:#cbd5e1}.tx-score-card strong{display:block;font-size:14px;margin-bottom:3px}.tx-score-card p{margin:0;font-size:11px;line-height:1.6;color:#ffffffd1}.tx-score-card small{display:block;margin-top:3px;font-size:9.5px;line-height:1.5;color:#ffffff8c}.tx-dims{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.tx-dim{display:grid;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:6px;font-size:10px;color:var(--agent-muted)}.tx-dim i{display:block;height:5px;border-radius:99px;background:#eef1ef;overflow:hidden}.tx-dim b{display:block;height:100%;border-radius:99px;background:var(--agent-gold)}.tx-dim em{font-style:normal;text-align:right;color:var(--agent-gold);font-weight:700}.tx-table-wrap{overflow-x:auto;margin:0 -2px}.tx-table{width:100%;border-collapse:collapse;font-size:10.5px;min-width:520px}.tx-table th{text-align:left;padding:6px;border-bottom:1px solid var(--agent-line);color:var(--agent-faint);font-weight:600;font-size:9px;letter-spacing:.4px;white-space:nowrap}.tx-table td{padding:7px 6px;border-bottom:1px solid var(--agent-line-soft);color:var(--agent-muted);vertical-align:top}.tx-table tr:last-child td{border-bottom:0}.tx-table td:nth-child(2){color:var(--agent-navy);font-weight:600}.tx-table-metrics{min-width:0}.tx-table-metrics th,.tx-table-metrics td{padding:6px 4px;font-size:10px}.tx-table-compact{min-width:0}.tx-table-compact th,.tx-table-compact td{white-space:normal;word-break:break-word;padding:6px 4px;font-size:10px}.tx-secondary:disabled{opacity:.5}.tx-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:9px;border-radius:10px;background:#fcfbf8;border:1px solid var(--agent-line-soft)}.tx-flow span{display:flex;flex-direction:column;gap:2px;font-size:9px;color:var(--agent-faint)}.tx-flow strong{font-size:18px;color:var(--agent-navy)}.tx-risk{border:1px solid var(--agent-line);border-left:3px solid #D1D5DB;border-radius:11px;padding:10px 11px;display:flex;flex-direction:column;gap:6px;background:#fff}.tx-risk.is-high{border-left-color:#dc2626;background:linear-gradient(90deg,#fef2f2 0,#fff 22%)}.tx-risk.is-medium{border-left-color:#d97706;background:linear-gradient(90deg,#fffbeb 0,#fff 22%)}.tx-risk.is-low,.tx-risk.is-pass{border-left-color:#059669;background:linear-gradient(90deg,#ecfdf5 0,#fff 22%)}.tx-risk.is-unknown{border-left-color:#9ca3af}.tx-risk-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tx-risk-no{font-size:9px;color:var(--agent-faint);font-weight:700}.tx-risk-head strong{font-size:12px;color:var(--agent-navy);line-height:1.4;flex:1;min-width:0}.tx-risk-head em{font-style:normal;font-size:9px;padding:2px 6px;border-radius:999px;background:#f3f4f6;color:#6b7280;white-space:nowrap}.tx-risk.is-high .tx-risk-head em{background:#fee2e2;color:#b91c1c}.tx-risk.is-medium .tx-risk-head em{background:#fef3c7;color:#b45309}.tx-risk.is-low .tx-risk-head em,.tx-risk.is-pass .tx-risk-head em{background:#d1fae5;color:#047857}.tx-risk-evidence{margin:0;font-size:10.5px;line-height:1.65;color:var(--agent-muted)}.tx-empty{margin:0;font-size:11px;line-height:1.65;color:var(--agent-faint)}.tx-list{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:4px}.tx-list li{font-size:10.5px;line-height:1.65;color:var(--agent-muted)}.tx-list b{color:var(--agent-navy)}.tx-export-card{background:linear-gradient(180deg,#fcfbf8,#fff)}.tx-export-actions{display:flex;gap:8px;flex-wrap:wrap}.tx-footer-note{margin-top:18px;font-size:9.5px;line-height:1.65;color:var(--agent-faint);text-align:center}.tx-check-block{border-top:1px solid var(--agent-line-soft);padding-top:10px;display:flex;flex-direction:column;gap:8px}.tx-check-block h3{font-size:12px;color:var(--agent-navy)}.tx-tax-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tx-tax-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 9px;border:1px solid var(--agent-line-soft);border-radius:9px;background:#fcfbf8;font-size:10.5px;color:var(--agent-muted)}.tx-tax-row select{border:1px solid var(--agent-line);border-radius:7px;padding:5px 6px;font-size:10px;background:#fff;color:var(--agent-navy);max-width:96px}.tx-issue-row{display:grid;grid-template-columns:92px minmax(0,1fr) 100px auto;gap:6px;align-items:center}.tx-issue-row select,.tx-issue-row input{min-height:36px;border:1px solid var(--agent-line);border-radius:8px;padding:6px 8px;font-size:10.5px;background:#fcfbf8;min-width:0;width:100%}.tx-quant{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tx-quant>div{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:10px;background:#fcfbf8;border:1px solid var(--agent-line-soft)}.tx-quant span{font-size:9.5px;color:var(--agent-faint)}.tx-quant strong{font-size:15px;color:var(--agent-navy)}.tx-quant-4{grid-template-columns:repeat(4,1fr)}.tx-quant-4 strong{font-size:18px}.tx-steps{list-style:none;display:flex;flex-direction:column;gap:7px;padding:0;margin:0}.tx-steps li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:9px;background:#fcfbf8;border:1px solid var(--agent-line-soft)}.tx-steps li span{font-size:11px;color:var(--agent-navy);font-weight:600}.tx-steps li small{font-size:10px;color:var(--agent-muted);line-height:1.5}.tx-steps li.is-done{border-left:3px solid #059669}.tx-steps li.is-partial{border-left:3px solid #D97706}.tx-steps li.is-ready{border-left:3px solid var(--agent-gold)}.tx-risk-cell{min-width:180px}.tx-reason{border-top:1px solid var(--agent-line-soft);padding-top:6px;margin-top:4px}.tx-reason:first-child{border-top:0;padding-top:0;margin-top:0}.tx-reason p{margin:2px 0}.tx-sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#16324a52;z-index:80;display:flex;align-items:flex-end;justify-content:center}.tx-sheet{width:100%;max-width:720px;max-height:82vh;overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;padding:16px 16px 26px;box-shadow:0 -12px 36px #16324a2e}.tx-sheet header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.tx-sheet h2{font-size:15px;color:var(--agent-navy)}.tx-sheet p{margin:2px 0 0;font-size:10.5px;color:var(--agent-faint)}.tx-skill-list{display:flex;flex-direction:column;gap:8px}.tx-skill-item{border:1px solid var(--agent-line-soft);border-radius:11px;padding:10px 11px;background:#fcfbf8;display:flex;flex-direction:column;gap:3px}.tx-skill-item strong{font-size:12px;color:var(--agent-navy)}.tx-skill-item p{margin:0;font-size:10.5px;line-height:1.6;color:var(--agent-muted)}.tx-skill-item small{font-size:9.5px;line-height:1.5;color:var(--agent-faint)}.tx-skill-item em{align-self:flex-start;font-style:normal;margin-top:3px;font-size:9px;padding:2px 6px;border-radius:999px;background:var(--agent-gold-soft);color:var(--agent-gold)}@media (max-width:620px){.tx-scroll{padding:16px 12px 42px}.tx-grid-2,.tx-tax-grid{grid-template-columns:1fr}.tx-issue-row{grid-template-columns:1fr 1fr;gap:6px}.tx-issue-row input:nth-child(2){grid-column:1/-1}.tx-quant-4{grid-template-columns:1fr 1fr}.tx-score-card{align-items:flex-start}.tx-score{width:68px;height:68px;font-size:24px}.tx-flow{grid-template-columns:1fr 1fr}}
