:root{--grey-gray-0:#f7f7f8;--grey-gray-1:#f2f2f4;--grey-gray-2:#e8e8eb;--grey-gray-3:#d4d4d8;--grey-gray-4:#a1a1a6;--grey-gray-5:#737378;--grey-gray-6:#6e6e73;--grey-gray-7:#3f3f46;--grey-gray-8:#1f1f24;--grey-gray-9:#1d1d1f;--grey-primary-0:#f0f4f8;--grey-primary-1:#dce6ef;--grey-primary-2:#c0d0e0;--grey-primary-3:#9bb4c9;--grey-primary-4:#7a98b3;--grey-primary-5:#526f8f;--grey-primary-6:#435f7e;--grey-primary-7:#354d66;--grey-primary-8:#2a3d52;--grey-primary-9:#1f2e3d;--grey-red-0:#fce8ec;--grey-red-1:#f7c5cf;--grey-red-2:#ef9aa9;--grey-red-3:#e56e82;--grey-red-4:#d6455f;--grey-red-5:#b00020;--grey-red-6:#9a001c;--grey-red-7:#7e0017;--grey-red-8:#620012;--grey-red-9:#46000d;--grey-yellow-6:#fab005;--grey-orange-6:#f76707;--grey-white:#fff;--grey-black:#1d1d1f;--grey-text:var(--grey-black);--grey-dimmed:var(--grey-gray-6);--grey-faint:#8a8a8f;--grey-paper:var(--grey-gray-0);--grey-surface:#fff;--grey-border:#d7dbe0;--grey-border-soft:#d7dbe0a6;--grey-accent:var(--grey-primary-5);--grey-accent-hover:var(--grey-primary-6);--grey-accent-soft:#52708e14;--grey-accent-ring:#52708e38;--grey-error:var(--grey-red-5);--grey-font-family:-apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;--grey-font-size-xs:12px;--grey-font-size-sm:13px;--grey-font-size-md:15px;--grey-font-size-lg:17px;--grey-font-size-xl:22px;--grey-line-height:1.55;--grey-h1-size:22px;--grey-h1-line-height:1.25;--grey-h1-weight:650;--grey-h2-size:17px;--grey-h2-line-height:1.3;--grey-h3-size:15px;--grey-h3-line-height:1.35;--grey-h4-size:13px;--grey-h4-line-height:1.4;--grey-heading-weight:600;--grey-radius-xs:2px;--grey-radius-sm:4px;--grey-radius-md:8px;--grey-radius-lg:16px;--grey-radius-xl:32px;--grey-radius-default:10px;--grey-space-xs:4px;--grey-space-sm:8px;--grey-space-md:12px;--grey-space-lg:16px;--grey-space-xl:24px;--grey-shadow-xs:0 1px 2px #1d1d200f;--grey-shadow-sm:0 2px 6px #1d1d2014;--grey-shadow-md:0 8px 24px #1d1d201f;--grey-shadow-lg:0 16px 48px #1d1d202e;--grey-shadow-xl:0 24px 64px #1d1d2038;--grey-sidebar-width:288px;--grey-chat-column-max:640px}*,:before,:after{box-sizing:border-box}html{font-size:100%}body{font-size:var(--grey-font-size-md)}html,body{background:var(--grey-paper);min-height:100%;color:var(--grey-text);font-family:var(--grey-font-family);line-height:var(--grey-line-height);-webkit-font-smoothing:antialiased;margin:0}button,input,textarea{font:inherit;color:inherit}a{color:inherit}.app-shell{grid-template-columns:var(--grey-sidebar-width) minmax(0, 1fr);background:var(--grey-paper);grid-template-rows:62px minmax(0,1fr);grid-template-areas:"header header""navbar main";height:100dvh;display:grid}.app-shell[data-sidebar=closed]{grid-template-columns:minmax(0,1fr);grid-template-areas:"header""main"}.app-header{align-items:center;gap:var(--grey-space-md);min-width:0;padding:0 var(--grey-space-lg);background:var(--grey-gray-0);border-bottom:1px solid var(--grey-border-soft);grid-area:header;display:flex}.app-header-start,.app-header-end{align-items:center;gap:var(--grey-space-sm);flex:0 0 76px;display:flex}.app-header-end{justify-content:flex-end;position:relative}.app-header-title{text-align:center;flex-direction:column;flex:1;align-items:center;gap:4px;min-width:0;display:flex}.app-header-heading{max-width:100%;font-size:var(--grey-font-size-md);font-weight:var(--grey-heading-weight);text-overflow:ellipsis;white-space:nowrap;margin:0;line-height:1.25;overflow:hidden}.app-header-title p:not(.app-header-heading){font-size:var(--grey-font-size-xs);color:var(--grey-dimmed);margin:0;line-height:1.2}.icon-button{width:36px;height:36px;color:var(--grey-gray-7);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{background:var(--grey-gray-2)}.icon-button-filled{background:var(--grey-accent);color:var(--grey-white)}.icon-button-filled:hover{background:var(--grey-accent-hover)}.app-navbar{gap:var(--grey-space-lg);min-height:0;padding:var(--grey-space-lg);background:var(--grey-gray-0);border-right:1px solid var(--grey-border-soft);flex-direction:column;grid-area:navbar;display:flex}.app-navbar[hidden]{display:none}.app-main{grid-area:main;min-width:0;min-height:0;overflow-y:auto}.sidebar-brand{font-size:var(--grey-font-size-xl);letter-spacing:-.03em;white-space:nowrap;font-weight:650;line-height:1.2}.sidebar-brand small{margin-left:var(--grey-space-sm);font-size:var(--grey-font-size-xs);letter-spacing:.04em;color:var(--grey-dimmed);vertical-align:middle;font-weight:500}.sidebar-body{gap:var(--grey-space-lg);flex-direction:column;flex:1;min-height:0;display:flex}.sidebar-nav{gap:var(--grey-space-xs);flex-direction:column;display:flex}.sidebar-link{padding:var(--grey-space-sm);border-radius:var(--grey-radius-default);font-size:var(--grey-font-size-sm);font-weight:500;line-height:calc(var(--grey-font-size-md) * var(--grey-line-height));color:var(--grey-text);text-decoration:none;display:block}.sidebar-link:hover{background:var(--grey-gray-1)}.sidebar-link[aria-current=page]{background:var(--grey-primary-1);color:var(--grey-primary-9);font-weight:600}.sidebar-history{gap:var(--grey-space-sm);flex-direction:column;flex:1;min-height:0;display:flex}.sidebar-history h2{font-size:var(--grey-font-size-xs);letter-spacing:.06em;text-transform:uppercase;color:var(--grey-dimmed);margin:0;font-weight:500}.sidebar-history-scroll{flex:1;min-height:0;overflow-y:auto}.sidebar-empty{font-size:var(--grey-font-size-sm);color:var(--grey-faint);margin:0}.sidebar-error{align-items:flex-start;gap:var(--grey-space-sm);flex-direction:column;display:flex}.sidebar-error p{font-size:var(--grey-font-size-sm);color:var(--grey-error);margin:0}.session-list{gap:var(--grey-space-xs);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.session-row{align-items:flex-start;display:flex;position:relative}.session-item{border-radius:var(--grey-radius-default);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;gap:2px;min-width:0;padding:8px 32px 8px 12px;text-decoration:none;display:flex}.session-item:hover{background:var(--grey-gray-1)}.session-item[aria-selected=true]{background:var(--grey-primary-0)}.session-label{font-size:var(--grey-font-size-sm);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.session-item[aria-selected=true] .session-label{color:var(--grey-primary-9);font-weight:600}.session-meta{gap:2px var(--grey-space-sm);font-size:var(--grey-font-size-xs);color:var(--grey-dimmed);flex-wrap:wrap;line-height:1.4;display:flex}.session-times{color:var(--grey-faint)}.session-status{border-radius:var(--grey-radius-sm);background:var(--grey-gray-2);color:var(--grey-gray-7);padding:0 6px}.session-menu-anchor{position:absolute;top:6px;right:6px}.session-menu-button{width:24px;height:24px;color:var(--grey-dimmed);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.session-menu-button:hover{background:var(--grey-gray-2)}.popover-menu{z-index:8;gap:var(--grey-space-xs);min-width:140px;margin-top:var(--grey-space-xs);padding:var(--grey-space-xs);border-radius:var(--grey-radius-default);background:var(--grey-white);box-shadow:var(--grey-shadow-md);flex-direction:column;display:flex;position:absolute;top:100%;right:0}.popover-menu button{border-radius:var(--grey-radius-md);font-size:var(--grey-font-size-sm);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:6px 12px}.popover-menu button:hover{background:var(--grey-gray-1)}.popover-menu .danger{color:var(--grey-red-6)}.chat{width:100%;min-width:0;height:100%;max-width:var(--grey-chat-column-max);padding:var(--grey-space-lg) var(--grey-space-lg) var(--grey-space-md);flex-direction:column;flex:1;margin-inline:auto;display:flex}.chat-log{gap:var(--grey-space-lg);min-height:0;padding:var(--grey-space-xs) var(--grey-space-xs) var(--grey-space-md);flex-direction:column;flex:1;display:flex;overflow-y:auto}.chat-empty{text-align:center;max-width:28rem;color:var(--grey-dimmed);font-size:var(--grey-font-size-sm);margin:auto}.chat-empty h1{margin:0 0 var(--grey-space-sm);font-size:var(--grey-font-size-lg);line-height:1.3;font-weight:var(--grey-heading-weight);color:var(--grey-text)}.chat-empty p{margin:0}.chat-error{color:var(--grey-error);font-size:var(--grey-font-size-sm);margin:auto}.bubble{max-width:85%;padding:12px var(--grey-space-lg);border-radius:var(--grey-radius-default);font-size:var(--grey-font-size-md);line-height:var(--grey-line-height);overflow-wrap:anywhere}.bubble p{white-space:pre-wrap;margin:0}.bubble[data-role=seller]{background:var(--grey-primary-0);color:var(--grey-primary-9);align-self:flex-end}.bubble[data-role=system]{background:var(--grey-surface);box-shadow:var(--grey-shadow-xs);align-self:flex-start}.bubble-edit{margin:var(--grey-space-xs) 0 0 auto;font-size:var(--grey-font-size-xs);color:inherit;opacity:.8;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;display:block}.bubble.bubble-editing[data-role=seller]{gap:var(--grey-space-sm);background:var(--grey-surface);width:85%;color:var(--grey-text);border:1px solid var(--grey-border);flex-direction:column;display:flex}.bubble-editing textarea{border:1px solid var(--grey-border);border-radius:var(--grey-radius-md);resize:vertical;width:100%;font-size:var(--grey-font-size-md);line-height:var(--grey-line-height);padding:8px}.bubble-error,.composer-error{font-size:var(--grey-font-size-xs);color:var(--grey-error);margin:0}.bubble-actions{justify-content:flex-end;gap:var(--grey-space-sm);display:flex}.button-primary,.button-secondary,.button-light{justify-content:center;align-items:center;gap:var(--grey-space-sm);border-radius:var(--grey-radius-default);height:36px;font-size:var(--grey-font-size-sm);white-space:nowrap;cursor:pointer;padding:0 18px;font-weight:500;display:inline-flex}.button-primary{border:1px solid var(--grey-accent);background:var(--grey-accent);color:var(--grey-white)}.button-primary:hover:not(:disabled){background:var(--grey-accent-hover)}.button-secondary{border:1px solid var(--grey-gray-4);background:var(--grey-surface);color:var(--grey-black)}.button-light{background:var(--grey-primary-1);color:var(--grey-primary-9);border:1px solid #0000}.button-light:hover:not(:disabled){background:var(--grey-primary-2)}.button-primary:disabled,.button-secondary:disabled,.button-light:disabled{background:var(--grey-gray-2);color:var(--grey-gray-5);cursor:not-allowed;border-color:#0000}.composer{align-items:center;gap:var(--grey-space-sm);padding:var(--grey-space-sm) var(--grey-space-sm) var(--grey-space-sm) var(--grey-space-md);background:var(--grey-surface);border-radius:var(--grey-radius-default);box-shadow:var(--grey-shadow-sm), inset 0 0 0 1px var(--grey-border-soft);flex-wrap:wrap;display:flex}.composer:focus-within{box-shadow:var(--grey-shadow-sm), inset 0 0 0 1.5px var(--grey-primary-3)}.composer textarea{resize:none;min-height:2.25rem;max-height:10rem;font-size:var(--grey-font-size-md);line-height:var(--grey-line-height);background:0 0;border:0;outline:0;flex:1;padding:6px 0}.composer-error{flex-basis:100%;order:-1}.composer[data-state=working],.composer[data-state=waiting],.composer[data-state=exhausted]{background:var(--grey-gray-1)}.composer-stage{align-items:center;gap:var(--grey-space-sm);min-height:2.25rem;font-size:var(--grey-font-size-md);color:var(--grey-dimmed);flex:1;display:flex}.spin{animation:1s linear infinite grey-spin}@keyframes grey-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation-duration:3s}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.composer textarea::placeholder{color:var(--grey-faint)}.composer button{border-radius:var(--grey-radius-default);background:var(--grey-accent);width:64px;height:36px;color:var(--grey-white);font-size:var(--grey-font-size-sm);cursor:pointer;border:0;justify-content:center;align-items:center;padding:0;font-weight:500;display:inline-flex}.composer button:hover:not(:disabled){background:var(--grey-accent-hover)}.composer button:disabled{background:var(--grey-gray-2);color:var(--grey-gray-5);cursor:not-allowed}@media (width<=720px){.app-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"header""main"}.app-navbar{display:none}}.grill-card{gap:var(--grey-space-md);flex-direction:column;align-self:stretch;display:flex}.grill-group{align-items:stretch;gap:var(--grey-space-sm);flex-wrap:wrap;display:flex}.grill-chip{max-width:100%;min-height:36px;padding:var(--grey-space-sm) 18px;border:1px solid var(--grey-gray-4);border-radius:var(--grey-radius-md);background:var(--grey-surface);font-size:var(--grey-font-size-sm);text-align:left;overflow-wrap:anywhere;cursor:pointer;font-weight:500}.grill-chip[aria-pressed=true]{background:var(--grey-accent);border-color:var(--grey-accent);color:var(--grey-white)}.grill-chip:disabled{cursor:not-allowed;opacity:.6}.grill-custom{min-width:0;max-width:100%;padding:var(--grey-space-xs) var(--grey-space-sm);border-radius:var(--grey-radius-default);background:var(--grey-gray-0);box-shadow:inset 0 0 0 1px var(--grey-gray-2);flex:12rem;align-items:center;transition:box-shadow .12s,background .12s;display:flex}.grill-custom[data-filled=true]{background:var(--grey-white);box-shadow:inset 0 0 0 1.5px var(--grey-primary-3)}.grill-custom input{min-width:0;min-height:2rem;font-size:var(--grey-font-size-md);background:0 0;border:0;outline:0;flex:1;padding:0}.grill-custom input::placeholder{color:var(--grey-dimmed)}.grill-gauge{background:var(--grey-gray-2);border-radius:9999px;height:4px;overflow:hidden}.grill-gauge-fill{background:var(--grey-accent);transform-origin:0;width:100%;height:100%;transition:transform .1s linear}.flow-card{gap:var(--grey-space-md);width:100%;padding:var(--grey-space-lg);background:var(--grey-surface);border-radius:var(--grey-radius-default);box-shadow:var(--grey-shadow-sm);flex-direction:column;align-self:stretch;display:flex}.flow-card-plain{box-shadow:none;background:0 0;padding-inline:0}.flow-card-head{gap:var(--grey-space-xs);flex-direction:column;display:flex}.flow-kicker{font-size:var(--grey-font-size-xs);letter-spacing:.02em;color:var(--grey-dimmed);margin:0;font-weight:500;line-height:1.4}.flow-card-head h3{font-size:var(--grey-font-size-lg);font-weight:var(--grey-heading-weight);letter-spacing:-.01em;color:var(--grey-gray-9);margin:0;line-height:1.3}.flow-card-head p:not(.flow-kicker){max-width:42ch;font-size:var(--grey-font-size-sm);color:var(--grey-dimmed);margin:0}.flow-search{border:1px solid var(--grey-gray-4);border-radius:var(--grey-radius-default);background:var(--grey-white);height:36px;font-size:var(--grey-font-size-sm);outline:0;padding:0 12px}.flow-search:focus{border-color:var(--grey-accent)}.region-options{gap:var(--grey-space-xs);height:256px;padding:var(--grey-space-sm);border-radius:var(--grey-radius-default);background:var(--grey-gray-0);box-shadow:inset 0 0 0 1px var(--grey-gray-2);flex-direction:column;display:flex;overflow-y:auto}.region-option{align-items:center;gap:var(--grey-space-sm);min-height:2.25rem;padding:var(--grey-space-xs) var(--grey-space-sm);border-radius:var(--grey-radius-md);color:var(--grey-gray-8);font-size:var(--grey-font-size-sm);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;display:flex}.region-option:hover:not(:disabled){background:var(--grey-gray-1)}.region-option[aria-selected=true]{background:var(--grey-primary-0);font-weight:600}.region-option:disabled{cursor:not-allowed;opacity:.6}.region-check{border:1px solid var(--grey-gray-4);border-radius:var(--grey-radius-sm);background:var(--grey-white);width:20px;height:20px;color:var(--grey-white);flex:none;justify-content:center;align-items:center;font-size:12px;line-height:1;display:inline-flex}.region-option[aria-selected=true] .region-check{border-color:var(--grey-accent);background:var(--grey-accent)}.region-chosen{gap:var(--grey-space-sm);flex-wrap:wrap;display:flex}.region-empty{padding:var(--grey-space-sm) var(--grey-space-md);font-size:var(--grey-font-size-sm);color:var(--grey-faint);margin:0}.start-warning{gap:var(--grey-space-xs);padding:var(--grey-space-sm) var(--grey-space-md);border:1px solid var(--grey-error);border-radius:var(--grey-radius-md);font-size:var(--grey-font-size-sm);flex-direction:column;display:flex}.start-warning p{color:var(--grey-error);margin:0}.flow-actions{align-items:center;gap:var(--grey-space-sm);flex-wrap:wrap;display:flex}.flow-actions>.button-primary:only-child{flex:1}.button-subtle{border-radius:var(--grey-radius-default);height:36px;color:var(--grey-gray-7);font-size:var(--grey-font-size-sm);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0 18px;font-weight:500;display:inline-flex}.button-subtle:hover:not(:disabled){background:var(--grey-gray-1)}.button-subtle:disabled{color:var(--grey-gray-5);cursor:not-allowed}.run-panel{gap:var(--grey-space-md)}.run-heading{justify-content:space-between;align-items:center;gap:var(--grey-space-md);display:flex}.run-heading strong{font-size:var(--grey-font-size-md);font-weight:var(--grey-heading-weight);color:var(--grey-gray-9)}.run-label{padding:var(--grey-space-xs) var(--grey-space-sm);background:var(--grey-primary-0);color:var(--grey-accent);font-size:var(--grey-font-size-xs);border-radius:9999px;font-weight:500}.run-meta,.run-empty{font-size:var(--grey-font-size-sm);color:var(--grey-dimmed);margin:0}.run-timeline{gap:var(--grey-space-sm);padding:0 0 0 var(--grey-space-lg);font-size:var(--grey-font-size-sm);flex-direction:column;margin:0;list-style:none;display:flex}.run-timeline li{gap:2px var(--grey-space-sm);color:var(--grey-faint);flex-wrap:wrap;display:flex}.run-timeline li[data-done=true]{color:var(--grey-text)}.run-phase{font-weight:var(--grey-heading-weight)}.run-message{color:var(--grey-dimmed)}.prospect-list{gap:var(--grey-space-sm);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.prospect{padding:var(--grey-space-lg);border-radius:var(--grey-radius-default);background:var(--grey-surface);box-shadow:var(--grey-shadow-xs);flex-direction:column;gap:2px;display:flex}.prospect-head{align-items:center;gap:var(--grey-space-sm);display:flex}.prospect-name{font-size:var(--grey-font-size-md);letter-spacing:-.01em;overflow-wrap:anywhere;font-weight:600}.prospect-badge{background:var(--grey-primary-0);color:var(--grey-primary-7);font-size:var(--grey-font-size-xs);border-radius:9999px;padding:1px 8px}.prospect-meta{font-size:var(--grey-font-size-xs);color:var(--grey-dimmed)}.composer-rerun{gap:var(--grey-space-sm);flex-direction:column;display:flex}.composer-rerun-entry{width:100%}
