@font-face{font-family:ITP;src:url('assets/fonts/SourceHanSansCN-VF.woff2') format('woff2');font-weight:250 900;font-display:swap}
:root{--red:#A22E2D;--red-dark:#872724;--ink:#262522;--muted:#77716A;--line:#E8E0D7;--warm:#F7F3ED;--cream:#FBF9F5;--font:ITP,'Source Han Sans SC','Microsoft YaHei','PingFang SC'}
*{box-sizing:border-box}body{margin:0;background:#ECE7DF;color:var(--ink);font:15px/1.65 var(--font)}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--red);outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-size:26px;line-height:1.35;font-weight:650}h2{font-size:20px;line-height:1.5;font-weight:650}h3{font-size:17px;font-weight:600}p+p{margin-top:12px}.muted{color:var(--muted)}.small{font-size:12px}.red{color:var(--red)}.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.primary{background:var(--red);color:white;border:1px solid var(--red);border-radius:8px;padding:10px 18px;min-height:44px;font-weight:550}.primary:hover{background:var(--red-dark)}.secondary{border:1px solid var(--line);border-radius:8px;background:#FFFDF9;padding:9px 14px;min-height:44px}.text-btn{color:var(--red);min-height:44px;padding:8px}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.tag{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid var(--line);border-radius:5px;background:var(--cream);font-size:11px;color:#6B6259}.tags{display:flex;flex-wrap:wrap;gap:6px}.shell{max-width:480px;margin:auto;min-height:100dvh;background:var(--warm);position:relative;isolation:isolate;box-shadow:0 8px 50px #55443112}.watermark{position:fixed;inset:160px 0 120px;max-width:480px;margin:auto;z-index:-1;overflow:hidden;pointer-events:none}.watermark:after{content:'';position:absolute;width:370px;height:510px;right:-160px;top:10px;background:url('assets/brand/itp-unicorn-linework.svg') center/contain no-repeat;opacity:.065;mask-image:linear-gradient(90deg,transparent,#000)}.app-head{height:64px;position:sticky;top:0;z-index:15;background:var(--warm);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 10px}.head-name{text-align:center;line-height:1.3}.head-name strong{display:block;font-size:17px;font-weight:600;letter-spacing:.5px}.head-name span{font-size:10px;color:#8B8176;letter-spacing:1px}.capsule{display:flex;border:1px solid #DDD5CC;border-radius:18px;height:30px;background:#FFFCF780}.capsule button{width:35px;display:flex;align-items:center;justify-content:center}.capsule button+button{border-left:1px solid #DDD5CC}.capsule .ico{width:17px;height:17px}.head-left{width:72px}.badge-dot{position:absolute;right:8px;top:5px;width:7px;height:7px;border-radius:50%;background:var(--red);border:1px solid var(--warm)}.head-left button{position:relative}
.content{min-height:calc(100dvh - 124px);padding:20px 18px 110px}.auth-page{min-height:100dvh;padding:72px 28px 28px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-logo{width:76px;height:76px;border-radius:50%;object-fit:cover;margin-bottom:24px}.auth-page h1{font-size:30px}.auth-page .intro{margin:12px 0 36px;color:var(--muted)}.auth-form{display:grid;gap:18px}.auth-form label{display:grid;gap:7px;font-size:13px}.input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#FFFDF9}.auth-form .primary{margin-top:10px}.auth-foot{margin-top:auto;padding-top:60px;color:var(--muted);font-size:12px}.auth-art{position:absolute;width:380px;right:-200px;top:180px;opacity:.08;z-index:-1}
.time-label{text-align:center;font-size:11px;color:#968D83;margin:0 0 22px}.chat-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:24px}.chat-avatar{width:36px;height:36px;object-fit:cover;border-radius:7px;flex-shrink:0}.chat-stack{min-width:0;flex:1}.sender{font-size:11px;color:var(--muted);margin-bottom:5px}.bubble{background:#FFFDF9;border:1px solid #EAE2D8;border-radius:3px 12px 12px;padding:15px 16px;position:relative;overflow-wrap:anywhere}.bubble p{font-size:14px;line-height:1.8}.bubble-link{border-top:1px solid var(--line);padding-top:11px;margin-top:13px;display:flex;justify-content:space-between;align-items:center;color:var(--red);font-size:13px;min-height:44px;width:100%;text-align:left}.user-row{justify-content:flex-end}.user-row .bubble{background:#F2E1D5;border-color:#E7D2C2;max-width:86%;border-radius:12px 3px 12px 12px}.starter{margin:42px 0 22px;padding:0 4px}.starter-eyebrow{font-size:10px;color:#9E7D60;letter-spacing:2px;margin-bottom:10px}.starter h2{font-size:26px;line-height:1.6;letter-spacing:.2px}.starter p{font-size:13px;color:var(--muted);margin-top:8px}.quick-scenes{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.quick-scenes button{background:#FFFCF8;border:1px solid #E5DCD0;padding:8px 12px;border-radius:8px;min-height:44px;font-size:13px;display:flex;align-items:center;gap:6px}.quick-scenes .ico{width:15px;height:15px}.draft-banner{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);padding:12px;border:1px solid var(--line);border-radius:8px;background:#FFFFFF80;margin-top:24px}.condition-panel{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.condition-panel label{display:grid;gap:5px;font-size:12px;margin-bottom:12px}.condition-panel select{width:100%;background:var(--cream);border:1px solid var(--line);border-radius:6px;min-height:40px;padding:6px 8px}.topic-options{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 15px}.topic-options button{border:1px solid var(--line);font-size:12px;padding:7px 10px;min-height:38px;border-radius:6px;background:var(--cream)}.topic-options button.selected{background:#FAEEEB;color:var(--red);border-color:#CCA29A}.condition-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-label{display:flex!important;align-items:center;gap:8px!important;min-height:35px}.check-label input{accent-color:var(--red)}.condition-actions{display:flex;gap:8px;margin-top:16px}.condition-actions .primary{flex:1}.notice{font-size:12px;line-height:1.7;color:#7B6350;padding:10px 12px;background:#F5EBE1;border-radius:6px;margin:10px 0}.results-note{font-size:12px;color:var(--muted);margin:12px 0 20px}.result-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.result-heading h2{font-size:18px}.candidate{background:#FFFDF9;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:12px}.candidate-head{display:flex;gap:12px;margin-bottom:14px}.avatar{width:48px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0;background:#F2E7DB}.avatar-fallback{display:flex;align-items:center;justify-content:center;color:var(--red);font-size:18px}.candidate-head h3{font-size:19px}.candidate-head p{font-size:12px;color:var(--muted);line-height:1.6}.evidence-item{margin:8px 0;font-size:13px;line-height:1.8}.evidence-item strong{font-weight:550}.source-link{display:inline-block;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;padding:5px 0}.contact-line{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:10px;margin-top:8px}.candidate-actions{display:flex;gap:8px;margin-top:12px}.candidate-actions>*{flex:1;font-size:12px;padding:8px}.empty{padding:30px 14px;text-align:center;background:#FFFDF980;border:1px solid var(--line);border-radius:10px}.empty .ico{width:34px;height:34px;color:#AA8F79;margin-bottom:12px}.empty p{font-size:13px;color:var(--muted);margin:10px 0 20px}.empty .actions{display:flex;gap:8px;justify-content:center}.toolbar{position:fixed;bottom:0;left:0;right:0;max-width:480px;margin:auto;z-index:20;background:#F9F6F0;border-top:1px solid #DDD4C8;padding-bottom:env(safe-area-inset-bottom);min-height:62px;display:flex;align-items:center}.mode-btn{min-width:48px;align-self:stretch;display:flex;align-items:center;justify-content:center;border-right:1px solid #E5DCD2}.bottom-menu{display:grid;grid-template-columns:repeat(3,1fr);flex:1;min-width:0}.bottom-menu button{min-height:62px;font-size:13px;position:relative}.bottom-menu button+button{border-left:1px solid #E5DCD2}.bottom-menu button.active{color:var(--red);font-weight:600}.bottom-menu button.active:after{content:'';height:2px;position:absolute;left:24px;right:24px;bottom:8px;background:var(--red)}.composer{display:flex;align-items:center;gap:6px;flex:1;padding:9px 9px 9px 5px;min-width:0}.composer input{background:#FFFEFC;border:1px solid var(--line);border-radius:7px;height:42px;min-width:0;flex:1;width:0;padding:8px 10px;font-size:12px}.send-btn{padding:8px 10px;background:var(--red);color:#fff;border-radius:7px;min-height:42px;font-size:12px}.composer .icon-btn{width:33px;min-width:33px;height:42px}.voice-trigger{flex:1;background:#FFFEFC;border:1px solid var(--line);border-radius:7px;min-height:42px;font-size:13px}
.poster{width:100%;display:block;aspect-ratio:1672/941;object-fit:contain;border-radius:9px}.list-heading{display:flex;align-items:center;justify-content:space-between;margin:23px 0 12px}.list-heading h2{font-size:18px}.list-search{position:relative;margin:14px 0}.list-search input{font-size:13px;padding-left:37px}.list-search>.ico{position:absolute;left:11px;top:13px;width:19px;height:19px;color:var(--muted)}.member-list{background:#FFFDF9;border:1px solid var(--line);border-radius:9px;overflow:hidden}.member-row{display:flex;width:100%;text-align:left;gap:12px;padding:14px 12px;align-items:center;min-height:92px}.member-row+.member-row{border-top:1px solid var(--line)}.member-row .avatar{width:42px;height:46px}.member-row .row-info{flex:1;min-width:0}.member-row .row-name{font-size:15px;font-weight:550}.member-row .row-name span{font-size:11px;color:var(--muted);font-weight:400;margin-right:7px}.member-row .row-contact{font-size:11px;color:#8C8074;margin:2px 0}.member-row .row-role{font-size:11px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.chevron{width:16px;height:16px;color:#A19587}.page-back{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:13px;margin-bottom:16px;min-height:36px}.profile-hero{display:flex;align-items:center;gap:18px;margin:6px 0 22px}.profile-hero .avatar{width:72px;height:80px}.profile-hero h1{font-size:28px}.profile-hero p{font-size:12px;margin-top:5px;color:var(--muted)}.profile-contact{padding:14px 16px;background:#F2E8DD;border:1px solid #E5D6C5;border-radius:9px;font-size:13px;display:flex;justify-content:space-between}.profile-section{margin-top:28px}.profile-section h2{font-size:18px;margin-bottom:12px}.profile-section p{font-size:14px;line-height:1.9}.section-row{padding:13px 0;border-bottom:1px solid var(--line)}.section-row h3{font-size:14px;margin-bottom:5px}.section-row p{font-size:13px;color:var(--muted)}.timeline-item{display:grid;grid-template-columns:60px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.timeline-item time{color:#A18166;font-size:12px}.timeline-item h3{font-size:14px}.timeline-item p{font-size:12px;color:var(--muted);margin-top:4px}.profile-bottom{margin-top:28px;display:flex;gap:8px}.profile-bottom>*{flex:1}.page-intro{margin:4px 0 22px}.page-intro .eyebrow{font-size:10px;letter-spacing:1.5px;color:#A18166;margin-bottom:7px}.page-intro h1{font-size:27px}.page-intro p{font-size:13px;color:var(--muted);margin-top:6px}.compact-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.compact-filters select{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:6px;padding:6px 8px;min-height:38px;font-size:12px;background:var(--cream);flex:1}.project-row{display:flex;gap:12px;padding:18px 0;border-top:1px solid var(--line);width:100%;text-align:left}.project-mark{width:48px;height:48px;border-radius:10px;background:#F1E2D8;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:600;flex-shrink:0}.project-info{flex:1;min-width:0}.project-info h2{font-size:17px}.project-info p{font-size:12px;color:var(--muted);margin:6px 0 10px;line-height:1.8}.project-meta{display:flex;justify-content:space-between;font-size:11px;color:#938474;margin-top:10px}.project-detail h1{font-size:28px}.project-detail .description{margin:14px 0 16px;font-size:14px;color:var(--muted)}.detail-section{margin:30px 0}.detail-section h2{font-size:18px;margin-bottom:11px}.detail-section p,.detail-section li{font-size:13px;line-height:1.9}.detail-section ul{padding-left:19px}.detail-actions{display:flex;gap:8px;margin:22px 0}.detail-actions>*{flex:1;font-size:13px}.event-card{background:#FFFDF9;border:1px solid var(--line);border-radius:10px;margin-bottom:18px;overflow:hidden}.event-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.event-card-body{padding:16px}.event-card h2{font-size:19px;margin-top:9px}.event-card p{font-size:13px;color:var(--muted);margin:9px 0}.event-meta{font-size:12px;color:#8A7562;margin:12px 0 16px}.event-card .primary{width:100%}.event-caption{font-size:10px!important;color:#95887A!important}.section-label{display:flex;align-items:center;justify-content:space-between;margin:25px 0 15px}.section-label h2{font-size:17px}.history-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;align-items:center}.history-row img{width:84px;height:58px;object-fit:cover;border-radius:5px}.history-row h3{font-size:13px;line-height:1.6}.history-row p{font-size:11px;color:var(--muted);margin-top:5px}.history-detail img{width:100%;border-radius:8px;margin:15px 0}.history-detail p{font-size:14px;line-height:1.9}.history-detail h1{font-size:24px}.history-detail .small{font-size:12px}.foot-note{margin-top:25px;font-size:11px;color:#978A7C;line-height:1.8}
dialog{width:min(440px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:14px;background:var(--cream);padding:0;color:var(--ink);box-shadow:0 15px 65px #30251D24}dialog::backdrop{background:#261D1655}.sheet-head{position:sticky;top:0;background:var(--cream);display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);z-index:1}.sheet-head h2{font-size:18px}.sheet-body{padding:20px}.sheet-body>p{font-size:13px;color:var(--muted);margin-bottom:18px}.sheet-form{display:grid;gap:14px}.sheet-form label{display:grid;gap:6px;font-size:13px}.sheet-form textarea{min-height:135px;resize:vertical}.sheet-actions{display:flex;gap:8px;position:sticky;bottom:-20px;padding:16px 0 0;background:var(--cream)}.sheet-actions>*{flex:1}.error{font-size:12px;color:var(--red);padding:10px;background:#FAEEEB;border:1px solid #EAC6C0;border-radius:6px}.success{padding:28px 12px;text-align:center}.success .ico{width:44px;height:44px;color:var(--red);margin-bottom:15px}.success h3{font-size:20px;margin-bottom:9px}.success p{font-size:13px;color:var(--muted)}.success .primary{margin-top:25px;width:100%}.voice-orb{margin:20px auto;width:80px;height:80px;border-radius:50%;background:#F1E2D6;display:flex;align-items:center;justify-content:center;color:var(--red)}.voice-orb .ico{width:34px;height:34px}.voice-progress{width:100%;height:3px;background:#E5D9CC;overflow:hidden;margin:18px 0;border-radius:2px}.voice-progress span{display:block;height:100%;width:0;background:var(--red);transition:width 1.5s ease}.voice-copy{padding:14px;border:1px solid var(--line);border-radius:8px;background:white;font-size:13px;margin-bottom:15px}.draft-row{padding:14px 0;border-bottom:1px solid var(--line)}.draft-row h3{font-size:15px}.draft-row p{font-size:12px;color:var(--muted);margin:6px 0}.draft-row .actions{display:flex;gap:8px}.draft-row .actions button{font-size:12px}.view-switch{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:18px}.loading{padding:28px;text-align:center;color:var(--muted);font-size:13px}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,12px);background:#302A24;color:white;padding:11px 16px;border-radius:8px;max-width:calc(100vw - 34px);font-size:13px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:600px){body{padding:28px 0}.shell{min-height:calc(100dvh - 56px);border:1px solid #DAD2C7;border-radius:18px;overflow:clip}.app-head{border-radius:18px 18px 0 0}.toolbar{bottom:28px;max-width:478px;border-radius:0 0 18px 18px}.content{min-height:calc(100dvh - 180px)}.watermark{top:190px}.auth-page{min-height:calc(100dvh - 58px)}}
@media(max-width:359px){.content{padding-left:14px;padding-right:14px}.composer{gap:3px;padding-left:3px}.composer input{font-size:11px;padding:7px}.mode-btn{min-width:42px}.bottom-menu button{font-size:12px}.candidate-actions>*{font-size:11px}.starter h2{font-size:24px}.head-left{width:65px}.capsule button{width:30px}.condition-actions{flex-wrap:wrap}.condition-pair{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.head-name span{display:none}.head-name strong{font-size:18px}
.assistant-intro{margin-bottom:28px}.greeting-bubble{padding:15px 16px 8px}.greeting-bubble p{line-height:1.8}.welcome-options{list-style:none;padding:0;margin:14px 0 0;border-top:1px solid var(--line)}.welcome-options li+li{border-top:1px solid #EEE7DF}.welcome-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 0;text-align:left;color:var(--red);font-size:14px;border-radius:4px;transition:background .15s}.welcome-options button:hover{background:#F5EBE180}.option-number{width:16px;font-size:13px;font-variant-numeric:tabular-nums;color:#967761}.welcome-options .ico{width:15px;height:15px;margin-left:auto;color:#AA9482}.module-shell>.content{min-height:calc(100dvh - 108px);padding-bottom:calc(28px + env(safe-area-inset-bottom))}
.conversation-turn{margin-bottom:32px;scroll-margin-top:78px}.conversation-turn .chat-row.user-row{margin-bottom:18px}.history-reply{margin-left:44px;border:1px solid var(--line);border-radius:8px;background:#FFFDF9;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:8px}.history-reply .text-btn{font-size:12px;white-space:nowrap}
.chat-return-bar{position:sticky;top:64px;z-index:14;display:flex;justify-content:flex-end;background:var(--warm);padding:0 14px;border-bottom:1px solid var(--line);height:44px}.chat-return-bar .text-btn,.auth-top .text-btn{display:flex;align-items:center;gap:3px;font-size:12px}.chat-return-bar .ico,.auth-top .ico{width:16px;height:16px}
.auth-page-v2{padding:0;display:block;background:#F9F3EA;isolation:isolate}.auth-top{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#F9F3EA}.auth-top>span{font-size:12px;color:#9A826C}.auth-cover{position:relative;background:#F5E6D5}.auth-cover>img{display:block;width:100%;aspect-ratio:1672/941;object-fit:contain}.auth-body{padding:28px 26px 38px;position:relative;background:linear-gradient(#F9F3EA,#F7F3ED)}.auth-body:before{content:'';position:absolute;width:235px;height:300px;right:-105px;bottom:-45px;background:url('assets/brand/itp-unicorn-linework.svg') center/contain no-repeat;opacity:.07;pointer-events:none;z-index:-1}.auth-title{display:flex;align-items:center;gap:12px;margin-bottom:25px}.auth-title>img{width:44px;height:44px;border-radius:50%}.auth-title h1{font-size:25px;line-height:1.5}.auth-title p{font-size:12px;color:#96816D;margin-top:3px}.auth-page-v2 .auth-form{gap:16px}.auth-page-v2 .auth-form .input{background:#FFFDFA;border-color:#E3D7C8;min-height:48px}.auth-page-v2 .auth-form .primary{margin-top:8px;min-height:48px}.auth-page-v2 .auth-form>.small{text-align:center;font-size:11px;color:#9B8A7A}
@media(min-width:600px){.module-shell>.content{min-height:calc(100dvh - 166px)}}
@media(max-width:359px){.auth-body{padding:24px 20px 30px}.auth-title{margin-bottom:21px}}
