:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;color:#1f1f1f;background:#fff;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fff;color:#1f1f1f}button,input,textarea{font:inherit}.eyebrow{margin:0 0 12px;letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:#c56b2b}.landing-shell,.workspace-shell{min-height:100vh;padding:32px 24px 48px}.agent-shell{height:100vh;padding:0;display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;overflow:hidden;background:#fff}.agent-shell.has-detail-drawer{grid-template-columns:260px minmax(0,1fr) 360px}.landing-hero,.landing-chat-card,.landing-feature-grid,.workspace-topbar,.workspace-hero,.placeholder-window{width:min(1100px,100%);margin:0 auto}.landing-hero{text-align:center;padding-top:28px}.landing-hero h1{margin:0 auto;max-width:900px;font-size:clamp(34px,6vw,64px);line-height:.98}.landing-copy{max-width:760px;margin:18px auto 0;color:#4f627a;font-size:18px}.landing-chat-card,.feature-card,.auth-modal,.hero-copy,.hero-card,.placeholder-window{background:#fffc;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(20,33,61,.08);box-shadow:0 24px 80px #14213d1a}.landing-chat-card{margin-top:36px;border-radius:34px;overflow:hidden}.landing-chat-head,.landing-chat-body,.placeholder-header,.placeholder-body,.placeholder-input{padding:22px 28px}.landing-chat-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid rgba(20,33,61,.08);font-weight:600}.ghost-button,.close-button{border:1px solid rgba(20,33,61,.14);background:#ffffffb8;color:#14213d;border-radius:999px;padding:12px 18px;cursor:pointer}.landing-suggestions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.suggestion-chip,.placeholder-body button{width:fit-content;border:1px solid rgba(20,33,61,.08);background:#f8f4ec;color:#14213d;border-radius:999px;padding:10px 14px;cursor:pointer}.landing-compose{border:1px solid rgba(20,33,61,.08);border-radius:24px;background:#ffffffeb;overflow:hidden}.landing-compose textarea,.placeholder-input input,.field input{width:100%;border:0;outline:none;background:transparent}.landing-compose textarea{min-height:150px;padding:22px 22px 0;resize:vertical}.landing-compose-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px 18px}.landing-compose-bar p,.auth-modal-copy,.subcopy,.hint,.message,.field span{margin:0;color:#4f627a;font-size:14px}.inline-action-row{display:flex;gap:12px;align-items:end}.field-grow{flex:1}.code-button{white-space:nowrap}.text-link-button{margin-top:12px;padding:0;border:0;background:transparent;color:#294c7a;cursor:pointer;text-align:left}.submit-button{border:0;border-radius:16px;padding:14px 18px;background:linear-gradient(135deg,#14213d,#294c7a);color:#fff;cursor:pointer}.submit-button:disabled{cursor:wait;opacity:.7}.landing-feature-grid{margin-top:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.feature-card{border-radius:24px;padding:22px}.feature-card h2{margin:0 0 10px;font-size:20px}.feature-card p{margin:0;color:#4f627a}.auth-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14213d57;display:grid;place-items:center;padding:24px}.auth-modal{width:min(100%,500px);border-radius:28px;padding:28px}.auth-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auth-modal-head h2{margin:0;font-size:30px;line-height:1.05}.auth-modal-copy{margin-top:14px}.auth-modal-copy span{color:#14213d;font-weight:600}.auth-tabs{display:flex;gap:8px;margin-top:22px;padding:6px;border-radius:999px;background:#14213d0f}.tab{flex:1;border:0;background:transparent;padding:10px 14px;border-radius:999px;color:#4f627a;cursor:pointer}.tab.active{background:#14213d;color:#fff}.auth-form{display:grid;gap:14px;margin-top:18px}.field{display:grid;gap:6px}.field input{border:1px solid rgba(20,33,61,.12);background:#ffffffe6;border-radius:14px;padding:14px 16px}.field input:focus,.placeholder-input input:focus,.landing-compose textarea:focus{box-shadow:0 0 0 4px #c56b2b1f}.divider{position:relative;margin:24px 0 16px;text-align:center;color:#66768d;font-size:14px}.divider:before{content:"";position:absolute;inset:50% 0 auto;height:1px;background:#14213d1f}.divider span{position:relative;padding:0 12px;background:#ffffffd6}.google-slot{min-height:44px}.error{color:#b42318}.success{color:#047857}.workspace-shell{display:grid;gap:24px}.agent-sidebar{border-right:1px solid #ececf1;padding:10px 8px 12px;display:flex;flex-direction:column;gap:8px;height:100vh;overflow:hidden;background:#f9f9f9}.agent-brand{display:flex;align-items:center;gap:10px;padding:8px 8px 10px}.agent-brand h1{margin:0;font-size:15px;font-weight:600}.agent-brand-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#202123;color:#fff;font-size:11px;font-weight:600;letter-spacing:.04em}.sidebar-primary-button{border:1px solid #e6e6e8;border-radius:10px;padding:11px 12px;background:transparent;color:#202123;cursor:pointer;text-align:left;font-weight:500;margin:0 4px}.sidebar-section{display:grid;gap:8px}.sidebar-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px}.sidebar-history-section{min-height:0;flex:1}.sidebar-history{display:grid;gap:4px;overflow:auto;min-height:0;padding:0 4px 0 0}.sidebar-history-item{border:0;background:transparent;color:#202123;border-radius:10px;padding:9px 10px;cursor:pointer;text-align:left;display:grid;gap:3px}.sidebar-history-item strong,.sidebar-history-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-history-item strong{font-size:13px;font-weight:500}.sidebar-history-item span,.sidebar-empty{font-size:12px;color:#6b7280;margin:0}.sidebar-history-item.active{background:#ececf1;color:#111827}.sidebar-history-item.active span{color:#6b7280}.sidebar-label{margin:0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}.sidebar-section-meta{font-size:11px;color:#9ca3af}.sidebar-item,.sidebar-link,.rightbar-prompt{border:0;background:transparent;color:#202123;border-radius:10px;padding:10px 12px;cursor:pointer;text-align:left}.sidebar-link{width:100%}.sidebar-item{display:grid;gap:4px}.sidebar-item strong{font-size:14px}.sidebar-item span{color:#6b7280;font-size:12px}.sidebar-item.active{background:#fff;color:#111827;box-shadow:inset 0 0 0 1px #e5e7eb}.sidebar-item.active span{color:#6b7280}.sidebar-footer{position:relative;margin-top:auto;padding:0 4px}.user-menu{position:relative}.user-menu-trigger{width:100%;border:1px solid #e7e7e9;background:#fff;border-radius:12px;padding:10px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left}.user-avatar{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;background:#202123;color:#fff;font-size:13px;font-weight:600;flex-shrink:0}.user-avatar.large{width:48px;height:48px;font-size:18px}.user-menu-text{display:grid;min-width:0}.user-menu-text strong,.user-menu-text span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-text strong{font-size:13px;color:#111827}.user-menu-text span{font-size:12px;color:#6b7280}.user-menu-popover{position:absolute;left:0;right:0;bottom:calc(100% + 8px);border:1px solid #e7e7e9;background:#fff;border-radius:12px;box-shadow:0 12px 32px #00000014;padding:6px;display:grid;gap:2px}.user-menu-item{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:10px;color:#202123;cursor:pointer}.user-menu-item:hover{background:#f3f4f6}.user-menu-item.danger{color:#b42318}.settings-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182752;display:grid;place-items:center;padding:24px}.settings-modal{width:min(100%,560px);background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 24px 80px #0f172a1f;padding:24px}.settings-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.settings-modal-head h3{margin:8px 0 0;font-size:28px;font-weight:600}.settings-tabs{margin-top:20px}.settings-panel{margin-top:18px}.settings-profile-row{display:flex;align-items:center;gap:14px}.settings-profile-row p{margin:4px 0 0;color:#6b7280}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.agent-topbar p,.agent-composer-bar p{color:#4f627a}.agent-main{display:grid;gap:0;min-width:0;height:100vh;overflow:hidden;background:#fff}.agent-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #ececf1}.agent-topbar-title h2{margin:0;font-size:15px;line-height:1.3;font-weight:600;color:#202123}.model-select-wrap{display:grid;gap:4px;justify-items:end}.model-select-wrap span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}.model-select{min-width:220px;border:1px solid #e4e4e7;border-radius:10px;padding:8px 10px;background:#fff;color:#111827}.agent-thread-card{background:#fff;border-radius:0;min-height:0;display:grid;grid-template-rows:1fr auto;overflow:hidden}.agent-thread{padding:18px 0 12px;display:grid;gap:0;align-content:start;overflow:auto}.prompt-grid{width:min(768px,calc(100% - 40px));margin:28px auto 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prompt-card{border:1px solid #e5e7eb;background:#fff;color:#202123;border-radius:14px;padding:16px;text-align:left;cursor:pointer;display:grid;gap:8px}.prompt-card strong{font-size:15px}.prompt-card span{color:#6b7280;font-size:13px;line-height:1.45}.agent-message{width:min(1080px,calc(100% - 56px));margin:0 auto;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;padding:20px 0}.agent-avatar{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#ececf1;color:#202123;font-size:11px;font-weight:600}.agent-message-user .agent-avatar{background:#202123;color:#fff}.agent-bubble{max-width:100%;padding:2px 0 0;border-radius:0;background:transparent;border:0}.agent-message-user .agent-bubble{background:transparent;color:#202123;border-color:transparent}.agent-bubble p{margin:12px 0 0;white-space:pre-wrap}.markdown-body p,.markdown-body ul,.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body hr{margin:12px 0 0}.markdown-body h1,.markdown-body h2,.markdown-body h3{color:#111827;line-height:1.4}.markdown-body h1{font-size:26px}.markdown-body h2{font-size:21px}.markdown-body h3{font-size:18px}.markdown-body ul{padding-left:22px}.markdown-body li+li{margin-top:8px}.markdown-body a{color:#1f4d8f;text-decoration:none}.markdown-body code{padding:2px 6px;border-radius:6px;background:#ececf1;font-size:.92em}.markdown-body hr{border:0;border-top:1px solid #e5e7eb}.agent-message-user .markdown-body h1,.agent-message-user .markdown-body h2,.agent-message-user .markdown-body h3,.agent-message-user .markdown-body a{color:#fff}.agent-message-user .markdown-body code{background:#ffffff24}.agent-message-user .markdown-body hr{border-top-color:#ffffff2e}.streaming-indicator{margin-top:8px;display:inline-flex;align-items:center;gap:6px}.streaming-indicator span{width:8px;height:8px;border-radius:999px;background:#9ca3af;animation:pulseDots 1.1s infinite ease-in-out}.streaming-indicator span:nth-child(2){animation-delay:.15s}.streaming-indicator span:nth-child(3){animation-delay:.3s}@keyframes pulseDots{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.result-card{margin-top:18px;border-radius:16px;padding:20px;background:#fff;border:1px solid #e5e7eb;color:#202123}.result-card-head h3{margin:8px 0 0;font-size:21px;line-height:1.35}.result-tag{display:inline-block;padding:6px 10px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.result-grid{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.result-panel{border-radius:14px;padding:14px;background:#f9fafb;border:1px solid #ececf1}.result-panel h4{margin:0 0 10px}.result-panel a{display:block;color:#1f4d8f;text-decoration:none;margin-bottom:8px;overflow-wrap:anywhere}.result-panel ul{margin:0;padding-left:18px}.merchant-filters{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}.merchant-filters span{padding:8px 11px;border-radius:999px;background:#f7f7f8;color:#556070;font-size:12px}.merchant-overview{max-width:760px;margin:10px 0 0;color:#596273;font-size:14px;line-height:1.7}.analysis-brief{margin-top:16px;padding:16px 18px;border-radius:14px;background:#fafafa;border:1px solid #ececf1;display:grid;gap:12px}.analysis-brief.prominent{border-color:#dbe3f0;background:#fbfcfe}.analysis-brief-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.analysis-brief-summary{margin:0;color:#374151;font-size:14px;line-height:1.7}.analysis-brief-block{display:grid;gap:8px}.analysis-brief-block h4{margin:0;font-size:13px;line-height:1.45;color:#202123}.analysis-brief-block ul,.company-profile-list{margin:0;padding-left:18px;color:#596273;font-size:13px;line-height:1.75}.merchant-results{margin-top:16px;display:grid;gap:0;min-width:1200px}.merchant-table-wrap{margin-top:16px;overflow-x:auto;padding-bottom:4px}.merchant-debug-details{margin-top:14px}.merchant-debug-details summary{cursor:pointer;color:#6b7280;font-size:13px;list-style:none}.merchant-debug-details summary::-webkit-details-marker{display:none}.merchant-json-block{margin-top:10px;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fbfbfc}.merchant-json-block pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#374151}.merchant-result-card{border:1px solid #e5e7eb;border-top:0;border-radius:0;padding:14px 16px;background:#fff}.merchant-result-grid{display:grid;grid-template-columns:56px minmax(360px,3fr) 88px 130px 110px 110px 120px 120px;gap:18px;align-items:center}.company-research-grid{grid-template-columns:56px minmax(220px,2fr) minmax(200px,2fr) minmax(200px,2fr) 120px 120px 130px}.trade-detail-grid{grid-template-columns:56px minmax(220px,2fr) minmax(180px,1.8fr) minmax(180px,1.8fr) 100px 120px 120px 130px}.merchant-result-grid-header{padding:0 16px 12px;color:#748091;font-size:10px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #e5e7eb}.merchant-name-cell{display:grid;gap:4px}.merchant-name-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.merchant-name-cell strong,.merchant-name-text{font-size:15px;color:#111827;line-height:1.4}.merchant-name-button{padding:0;border:0;background:transparent;color:#111827;cursor:pointer;text-align:left;font-size:15px;font-weight:600;line-height:1.4}.merchant-name-button.is-link{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.merchant-name-button.is-ai-link{color:#1d4ed8;text-decoration-style:dashed}.merchant-name-hint{font-size:12px;color:#6b7280}.merchant-name-hint.is-ai{color:#1d4ed8}.merchant-inline-link{padding:0;border:0;background:transparent;color:#2563eb;font-size:12px;line-height:1.4;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.merchant-result-grid span,.merchant-result-card p{color:#6b7280;font-size:14px;line-height:1.5}.merchant-results .merchant-result-card+.merchant-result-card{margin-top:-1px}.merchant-results .merchant-result-card:first-of-type{border-top:0}.merchant-results .merchant-result-card:last-of-type{border-bottom-left-radius:14px;border-bottom-right-radius:14px}.merchant-result-card p{margin:0}.merchant-detail-meta{display:grid;gap:8px}.merchant-detail-meta a{color:#1f4d8f;text-decoration:none}.merchant-contact-block{margin-top:0}.merchant-contact-block h4{margin:0 0 8px}.merchant-contact-block ul{margin:0;padding-left:18px}.merchant-next-actions{margin-top:18px;padding-top:14px;border-top:1px solid #e5e7eb}.merchant-next-actions p{margin:0 0 10px;color:#6b7280;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.merchant-next-action-list{margin:0 0 12px;padding-left:18px;color:#5b6575;font-size:13px;line-height:1.75}.company-research-table-wrap,.trade-detail-table-wrap{margin-top:18px}.merchant-next-actions-row{display:flex;flex-wrap:wrap;gap:10px}.merchant-detail-drawer{width:360px;height:100vh;border-left:1px solid #ececf1;background:#fff;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.merchant-detail-drawer-head{padding:18px 18px 14px;border-bottom:1px solid #ececf1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.merchant-detail-drawer-head h3{margin:8px 0 0;font-size:20px;line-height:1.35}.merchant-profile-source{margin:8px 0 0;color:#6b7280;font-size:12px;line-height:1.5}.merchant-profile-source.is-ai{color:#1d4ed8}.merchant-detail-drawer-body{overflow:auto;padding:20px;display:grid;gap:12px}.merchant-detail-drawer-body p{margin:0;color:#374151;line-height:1.65;font-size:14px}.merchant-detail-note{color:#526075}.merchant-detail-drawer-body a{color:#1f4d8f;text-decoration:none}.analysis-drawer-body{gap:18px}.analysis-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a47;display:grid;place-items:center;padding:24px;z-index:40}.analysis-modal{width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 48px);background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 24px 80px #0f172a2e;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.analysis-modal-head{padding:20px 22px 16px;border-bottom:1px solid #ececf1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.analysis-modal-head h3{margin:8px 0 0;font-size:24px;line-height:1.35;font-weight:600;color:#202123}.analysis-modal-body{overflow:auto;padding:20px 22px 24px;display:grid;gap:18px}.analysis-modal-table-wrap{overflow:auto;padding-bottom:4px}.analysis-drawer-summary{margin:0;color:#4b5563;font-size:14px;line-height:1.7}.analysis-drawer-state{border:1px solid #e5e7eb;border-radius:14px;background:#fafafa;padding:14px 16px}.analysis-drawer-state.is-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.analysis-drawer-section{display:grid;gap:10px}.analysis-drawer-section h4{margin:0;font-size:13px;line-height:1.4;font-weight:600;color:#202123}.analysis-chip-row{display:flex;flex-wrap:wrap;gap:8px}.analysis-chip{padding:7px 10px;border-radius:999px;background:#f7f7f8;color:#596273;font-size:12px;line-height:1.4}.analysis-drawer-table{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.analysis-table-head,.analysis-table-row>div{display:grid;gap:12px;align-items:start;padding:12px 14px}.analysis-table-head{border-bottom:1px solid #e5e7eb;color:#748091;font-size:10px;letter-spacing:.06em;text-transform:uppercase;background:#fbfbfc}.analysis-table-row+.analysis-table-row{border-top:1px solid #f0f1f3}.analysis-table-row span,.analysis-table-row strong{font-size:13px;line-height:1.55;color:#374151}.analysis-table-row strong{color:#111827}.supplier-mapping-grid{grid-template-columns:44px minmax(0,2.2fr) 56px 90px 78px 78px}.trade-detail-side-grid{grid-template-columns:44px minmax(0,1.8fr) 72px 88px 88px 92px}.trade-detail-modal-grid{grid-template-columns:44px minmax(180px,1.7fr) minmax(170px,1.6fr) minmax(170px,1.6fr) 90px 110px 96px 110px}.analysis-entity-cell{display:grid;gap:4px}.analysis-entity-actions{display:flex;gap:10px;flex-wrap:wrap}.analysis-next-actions{margin:0;padding-left:18px;color:#596273;font-size:13px;line-height:1.75}.agent-message-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#6b7280;align-items:center}.message-inline-action{border:0;background:transparent;color:#6b7280;cursor:pointer;padding:0;font-size:12px;opacity:0;transition:opacity .15s ease}.agent-message:hover .message-inline-action,.message-inline-action:focus-visible{opacity:1}.thinking-label{color:#1f4d8f;font-weight:600}.stream-status-text{margin:8px 0 0;font-size:13px;color:#526075}.stream-timeline{margin:12px 0 0;padding:12px 14px;list-style:none;display:grid;gap:8px;border:1px solid #ececf1;border-radius:14px;background:#f8f8f9}.stream-timeline-title{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin-bottom:2px}.stream-timeline-item{display:flex;align-items:center;gap:9px;font-size:13px;color:#6b7280;position:relative;padding-left:2px}.stream-timeline-item.is-active{color:#1f2937;font-weight:600}.stream-timeline-item.is-done{color:#526075}.stream-timeline-dot{width:8px;height:8px;border-radius:999px;background:#cbd5e1;flex:0 0 auto}.stream-timeline-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:22px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:11px;font-weight:700}.stream-timeline-item.is-active .stream-timeline-dot{background:#1f4d8f;box-shadow:0 0 0 4px #1f4d8f1f}.stream-timeline-item.is-active .stream-timeline-badge{background:#dbeafe;color:#1d4ed8}.stream-timeline-item.is-done .stream-timeline-dot{background:#7c8da6}.stream-timeline-item.is-done .stream-timeline-badge{background:#dcfce7;color:#166534}.stream-timeline-item.is-error{color:#991b1b;font-weight:600}.stream-timeline-item.is-error .stream-timeline-dot{background:#dc2626;box-shadow:0 0 0 4px #dc26261f}.stream-timeline-item.is-error .stream-timeline-badge{background:#fee2e2;color:#b91c1c}.agent-message-user .agent-message-meta{color:#6b7280}.agent-composer{border-top:1px solid #ececf1;padding:16px 20px 20px;background:#fff}.agent-composer textarea{width:min(1080px,100%);display:block;margin:0 auto;border:1px solid #d9d9e3;border-radius:24px;padding:16px 18px;resize:vertical;outline:none;background:#fff;min-height:96px}.agent-composer textarea:focus{box-shadow:0 0 0 3px #0000000d}.agent-composer-bar{width:min(1080px,100%);margin:14px auto 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.message-edit-shell{margin-top:10px;display:grid;gap:10px}.message-edit-textarea{width:100%;min-height:96px;border:1px solid #d9d9e3;border-radius:16px;padding:12px 14px;resize:vertical;outline:none;background:#fff}.message-edit-actions{display:flex;justify-content:flex-end;gap:10px}.composer-actions{display:flex;align-items:center;gap:10px}.workspace-topbar,.workspace-hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.topbar-actions{display:flex;gap:10px}.workspace-topbar h1,.workspace-hero h2{margin:8px 0 0}.hero-copy{flex:1.4;padding:28px;border-radius:28px}.hero-card{flex:.8;padding:28px;border-radius:28px}.hero-label{display:inline-block;margin-bottom:12px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#c56b2b}.warning-text{color:#b45309}.account-shell,.admin-shell{min-height:100vh;padding:32px 24px 48px}.account-card{width:min(980px,100%);margin:0 auto;background:#fffc;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(20,33,61,.08);box-shadow:0 24px 80px #14213d1a;border-radius:28px;padding:28px}.admin-card{width:min(1180px,100%);margin:0 auto;background:#fffc;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(20,33,61,.08);box-shadow:0 24px 80px #14213d1a;border-radius:28px;padding:28px}.account-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.account-head h1{margin:6px 0 0}.account-grid{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-stats-grid{margin-top:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-table-wrap{margin-top:24px;overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;background:#f8f4ec4d;border-radius:18px;overflow:hidden}.admin-table th,.admin-table td{text-align:left;padding:14px 16px;border-bottom:1px solid rgba(20,33,61,.08);vertical-align:top}.table-actions{display:flex;gap:8px}.small-button{padding:8px 12px}.danger-button{color:#b42318;border-color:#b423182e}.account-panel{border:1px solid rgba(20,33,61,.08);border-radius:24px;padding:22px;background:#f8f4ec73}.account-panel h2{margin:0 0 10px}.account-form{display:grid;gap:12px}.chat-placeholder{width:min(1100px,100%);margin:0 auto}.placeholder-window{border-radius:32px;overflow:hidden}.placeholder-header{border-bottom:1px solid rgba(20,33,61,.08);font-weight:600}.placeholder-body{display:grid;gap:12px;min-height:260px}.placeholder-chip-row{display:flex;flex-wrap:wrap;gap:10px}.chat-thread{display:grid;gap:14px;min-height:280px}.chat-message{max-width:82%;padding:14px 16px;border-radius:20px}.chat-message p{margin:6px 0 0;white-space:pre-wrap}.chat-message-assistant{background:#14213d0f;border:1px solid rgba(20,33,61,.08)}.chat-message-user{margin-left:auto;background:#14213d;color:#fff}.chat-message-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#66768d}.chat-message-user .chat-message-meta{color:#ffffffc2}.placeholder-input{display:flex;gap:12px;border-top:1px solid rgba(20,33,61,.08)}.placeholder-input input,.placeholder-input textarea{flex:1;border:1px solid rgba(20,33,61,.12);border-radius:14px;padding:14px 16px;resize:vertical}.placeholder-input button{border:0;border-radius:14px;padding:14px 18px;background:linear-gradient(135deg,#14213d,#294c7a);color:#fff}.placeholder-input button:disabled{opacity:.7;cursor:wait}@media(max-width:900px){.landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-shell{grid-template-columns:1fr;height:auto;overflow:visible}.agent-sidebar,.agent-main{height:auto}.agent-thread-card{min-height:70vh}.workspace-topbar,.workspace-hero{flex-direction:column;align-items:stretch}}@media(max-width:640px){.landing-shell,.workspace-shell{padding:20px 16px 32px}.landing-chat-head,.landing-compose-bar,.auth-modal-head,.placeholder-input,.agent-composer-bar,.inline-action-row,.account-head{flex-direction:column;align-items:stretch}.landing-feature-grid,.prompt-grid,.result-grid,.account-grid,.admin-stats-grid{grid-template-columns:1fr}.table-actions{flex-direction:column}.landing-hero h1{font-size:34px}.auth-modal{padding:22px}}
