@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap";:root{font-family:Poppins,Montserrat,PingFang SC,Helvetica Neue,Arial,sans-serif;line-height:1.5;color:#333;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--xh-red: #ff2442;--xh-red-soft: #fff0f2;--xh-text: #333333;--xh-text-secondary: #888888;--xh-border: #f0d7dc;--xh-card: #ffffff;--xh-shadow: 0 2px 8px rgba(0, 0, 0, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:1280px;background:radial-gradient(circle at top right,rgba(255,36,66,.06),transparent 22%),linear-gradient(180deg,#fffaf9,#fff 18%,#fff);color:var(--xh-text)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{border:none;background:none}.app-shell{display:grid;grid-template-columns:304px 1fr;min-height:100vh;background:#fff;transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:88px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:20px 14px 16px;border-right:1px solid #f2f2f2;background:#fffffff5;display:flex;flex-direction:column;gap:12px}.sidebar.collapsed{align-items:center;padding-inline:10px}.main-content{padding:20px 28px}.main-content.main-content-wide{padding-left:32px}.page-frame{max-width:1380px;margin:0 auto}.page{display:flex;flex-direction:column;gap:20px}.section-heading h3,.welcome-block h1,.candidate-card-copy h4,.drawer-head h3,.drawer-profile h4{margin:0;letter-spacing:-.02em}.brand-block p,.muted,.candidate-card-copy span,.history-empty span{color:var(--xh-text-secondary)}.section-step{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:var(--xh-red-soft);color:var(--xh-red);font-size:.8rem;font-weight:600}.brand-block{display:flex;align-items:flex-start}.sidebar-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-logo{display:inline-flex;align-items:center;justify-content:center;color:var(--xh-red)}.brand-logo svg{display:block;width:100%;height:100%}.brand-logo-small{width:30px;height:30px}.brand-logo-large{width:44px;height:44px}.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-copy strong{color:var(--xh-red);font-family:Poppins,Montserrat,PingFang SC,sans-serif;font-size:2rem;line-height:1;letter-spacing:.04em;font-weight:800}.brand-copy span{color:var(--xh-text-secondary);font-size:.76rem;letter-spacing:.02em;white-space:nowrap}.sidebar-toggle{width:28px;height:28px;border-radius:999px;border:1px solid #f0d7dc;background:#fff8f9;color:var(--xh-red);cursor:pointer;flex:0 0 auto}.sidebar-toggle:hover{background:#fff0f2}.sidebar-action{width:100%;justify-content:center;min-height:42px}.sidebar-action.icon-only{width:42px;min-width:42px;padding:10px;border-radius:14px}.sidebar-section{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.sidebar-section-header{display:flex;align-items:center;justify-content:space-between}.sidebar-section-header h2{margin:0;font-size:.86rem}.sidebar-section-header span{padding:3px 7px;border-radius:999px;background:var(--xh-red-soft);color:var(--xh-red);font-size:.72rem}.history-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding-right:2px}.history-item{display:flex;flex-direction:column;gap:6px;border:1px solid #f3f3f3;border-radius:10px;background:#fff;box-shadow:var(--xh-shadow);padding:8px 9px}.history-item.active{border-color:#ff244247;background:#fff8f9}.history-select{width:100%;text-align:left;padding:0;cursor:pointer}.history-item-head,.history-item-foot,.candidate-card-top,.candidate-footer,.drawer-head,.section-heading-spread,.timeline-head,.timeline-copy,.action-row,.message-tabs,.board-tabs,.candidate-link-row,.candidate-tag-row,.timeline-tags,.board-stats{display:flex;align-items:center;gap:10px}.history-item-head,.history-item-foot,.section-heading-spread,.candidate-card-top,.candidate-footer,.drawer-head,.timeline-head{justify-content:space-between}.history-item p{margin:0;color:var(--xh-text);line-height:1.3;font-size:.78rem;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.history-delete{color:var(--xh-red);cursor:pointer;padding:0;font-size:.74rem}.phase-pill{border-radius:999px;padding:2px 6px;background:#f7f7f7;color:var(--xh-text-secondary);font-size:.62rem}.history-item-head strong,.history-item-foot,.history-item-foot span{font-size:.72rem}.sidebar-collapsed-state{width:100%;margin-top:4px;padding:12px 6px;border-radius:16px;background:#fff8f9;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--xh-text-secondary);text-align:center}.collapsed-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:999px;background:var(--xh-red);color:#fff;font-size:.88rem;font-weight:700}.phase-results,.phase-running{background:var(--xh-red-soft);color:var(--xh-red)}.history-empty,.empty-state{border:1px dashed var(--xh-border);border-radius:12px;padding:14px;background:#fffafb}.history-empty p,.empty-state p{margin:0 0 6px;font-weight:600}.search-flow{display:flex;flex-direction:column;gap:18px}.search-flow-empty{min-height:calc(100vh - 180px);justify-content:center}.composer-shell{display:flex;justify-content:center}.composer-shell.compact{justify-content:stretch}.composer-card,.conversation-card,.drawer-card{background:var(--xh-card);border-radius:12px;box-shadow:var(--xh-shadow)}.composer-card{width:min(860px,100%);padding:24px;border:1px solid #f5f5f5}.composer-shell.compact .composer-card{width:100%;padding:20px 22px}.composer-input-wrap{position:relative;padding:16px;border:1px solid #f1d7dc;border-radius:20px;background:#fff}.welcome-block{margin-bottom:16px;text-align:center}.welcome-kicker{display:inline-block;margin-bottom:0;color:var(--xh-red);font-size:2rem;letter-spacing:.01em;font-weight:700}.composer-input{width:100%;resize:none;border:none;outline:none;background:transparent;color:var(--xh-text);font-size:1.04rem;line-height:1.7;padding-right:140px}.composer-input::placeholder,.revision-input::placeholder,.message-editor::placeholder{color:#b5b5b5}.composer-submit{position:absolute;right:16px;bottom:16px}.prompt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.prompt-card,.board-tab,.message-tab,.ghost-button,.link-chip{border:1px solid rgba(255,36,66,.2);border-radius:12px;background:#fff;color:var(--xh-text);cursor:pointer;transition:all .16s ease}.prompt-card{min-height:82px;padding:16px;text-align:left;color:var(--xh-red);line-height:1.55}.prompt-card:hover,.board-tab:hover,.message-tab:hover,.ghost-button:hover,.link-chip:hover{border-color:var(--xh-red);color:var(--xh-red);background:#fff9fa}.conversation-card{padding:22px;border:1px solid #f5f5f5}.plan-loading-card{border-color:#ff244224;background:linear-gradient(180deg,#fff,#fffafb)}.plan-loading-body{display:flex;align-items:center;gap:12px;min-height:88px}.plan-loading-body p{margin:0;font-size:.96rem;color:var(--xh-text)}.plan-loading-pulse{position:relative;width:12px;height:12px;border-radius:999px;background:var(--xh-red);flex:0 0 auto}.user-query-card p,.candidate-summary,.timeline-content p,.drawer-card p,.warning-card p{margin:0}.section-heading{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.plan-grid div,.drawer-meta-grid div{padding:14px 16px;border-radius:12px;background:#fffafb}.plan-grid dt,.field-label,.drawer-meta-grid strong{font-size:.88rem;color:var(--xh-text-secondary);margin-bottom:6px}.plan-grid dd{margin:0;color:var(--xh-text)}.warning-card{margin-top:18px;padding:14px 16px;border-radius:12px;border:1px solid rgba(255,36,66,.16);background:var(--xh-red-soft)}.warning-card strong{display:block;margin-bottom:6px;color:var(--xh-red)}.error-card{border-color:#ff244238;background:#fff4f6}.revision-panel{margin-top:18px}.revision-input,.message-editor{width:100%;border-radius:12px;border:1px solid #f0d7dc;outline:none;resize:vertical;background:#fff;color:var(--xh-text);padding:14px 16px;line-height:1.6}.action-row{flex-wrap:wrap;margin-top:16px}.primary-button,.ghost-button,.board-tab,.message-tab,.link-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;font-weight:600}.primary-button{background:var(--xh-red);color:#fff;border-radius:12px;cursor:pointer;box-shadow:var(--xh-shadow)}.primary-button:hover{background:#eb1839}.primary-button:disabled,.ghost-button:disabled{opacity:.6;cursor:not-allowed}.ghost-button{color:var(--xh-red)}.small-button{padding:10px 14px;font-size:.9rem}.timeline-shell{display:flex;flex-direction:column;gap:14px}.timeline-step{width:100%;display:grid;grid-template-columns:44px 1fr;gap:14px;text-align:left;padding:0;cursor:pointer}.timeline-marker{position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:4px}.timeline-marker:after{content:"";position:absolute;top:28px;left:50%;width:2px;height:calc(100% + 14px);background:#f0d7dc;transform:translate(-50%)}.timeline-step:last-child .timeline-marker:after{display:none}.timeline-marker span:first-child{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#fff1f3;color:var(--xh-red);font-size:.74rem;font-weight:700}.timeline-content{padding-bottom:6px}.timeline-copy{flex-direction:column;align-items:flex-start;gap:4px}.timeline-copy span,.timeline-content p,.drawer-profile span,.board-stats span,.candidate-card-copy span,.candidate-confidence{color:var(--xh-text-secondary)}.timeline-tags{flex-wrap:wrap;margin-top:12px}.source-tag,.candidate-tag,.score-pill,.candidate-confidence{border-radius:999px;padding:6px 10px;background:#fff0f2;color:var(--xh-red);font-size:.82rem;font-weight:600}.timeline-pulse{position:absolute;top:-2px;width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,36,66,.18);animation:pulse 1.4s ease infinite}.candidate-board{display:flex;flex-direction:column;gap:18px}.board-tabs{flex-wrap:wrap}.board-tab.active,.message-tab.active{background:var(--xh-red);color:#fff;border-color:var(--xh-red)}.candidate-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.candidate-card-v2{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #f3f3f3;border-radius:12px;background:#fff;box-shadow:var(--xh-shadow)}.candidate-card-copy{flex:1;min-width:0}.candidate-card-copy h4{font-size:1rem}.candidate-card-copy p{margin:4px 0}.candidate-tag-row,.candidate-link-row,.board-stats{flex-wrap:wrap}.candidate-summary{line-height:1.6;color:#4f4f4f}.link-chip{padding:10px 12px;color:var(--xh-red)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000002e;display:flex;justify-content:flex-end;z-index:100}.one-page-drawer{width:min(520px,100%);height:100vh;background:#fff;box-shadow:-10px 0 30px #00000014;padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.drawer-body{display:flex;flex-direction:column;gap:16px}.drawer-card{padding:18px;border:1px solid #f3f3f3}.drawer-profile{display:flex;align-items:center;gap:14px;margin-bottom:16px}.drawer-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.drawer-timeline,.drawer-links{display:flex;flex-direction:column;gap:12px}.drawer-timeline-item{display:flex;align-items:center;gap:12px}.timeline-dot-mini{width:10px;height:10px;border-radius:999px;background:var(--xh-red)}.evidence-link{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;background:#fffafb}.evidence-link span{color:var(--xh-text-secondary)}.message-tabs{flex-wrap:wrap}.drawer-loading{padding:20px 0;color:var(--xh-text-secondary)}.avatar,.hero-avatar{border-radius:999px;object-fit:cover;background:#ffe1e6}.avatar{width:52px;height:52px}.hero-avatar{width:72px;height:72px}.avatar-fallback{display:inline-flex;align-items:center;justify-content:center;color:var(--xh-red);font-weight:700}@keyframes pulse{0%{transform:scale(.88);opacity:.8}to{transform:scale(1.2);opacity:0}}@media (max-width: 1400px){body{min-width:1080px}.prompt-grid,.candidate-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
