:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#eef4ff;background:radial-gradient(circle at top left,rgba(249,115,22,.12),transparent 28%),radial-gradient(circle at bottom right,rgba(56,189,248,.1),transparent 32%),linear-gradient(160deg,#07111d,#0a1424 46%,#101a2d);line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;min-height:100%}body{min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}button,a,input,select,textarea,.list-card,.chat-list-item,.tree-nav__child,.tree-nav__section-button,.summary-tile,.workspace-panel,.meta-pill,.info-pill{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,opacity .16s ease,transform .16s ease}button:active:not(:disabled),.list-card:active,.chat-list-item:active,.tree-nav__child:active{transform:translateY(1px) scale(.995)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.list-card:focus-visible,.chat-list-item:focus-visible,.tree-nav__child:focus-visible,.tree-nav__section-button:focus-visible{outline:2px solid rgba(56,189,248,.86);outline-offset:3px}button:disabled,.primary-button:disabled,.ghost-button:disabled,.upload-button:has(input:disabled){cursor:not-allowed;opacity:.52}input,select,textarea{width:100%;border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:.95rem 1rem;color:#f8fafc;background:#0f172abd;outline:none}input:focus,select:focus,textarea:focus{border-color:#3b82f6b3;background:#0f172aeb}textarea{min-height:136px;resize:vertical}img{display:block;max-width:100%}.loading-screen{min-height:100vh;display:grid;place-items:center;color:#f8fafc}.eyebrow,.brand-card__eyebrow,.stage-header__eyebrow,.workspace-panel__eyebrow,.thread-header__eyebrow{margin:0 0 .35rem;color:#f7b267;font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700}.login-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem;position:relative;overflow:hidden}.login-shell__ambient{position:absolute;width:420px;height:420px;border-radius:999px;filter:blur(40px);opacity:.42;pointer-events:none}.login-shell__ambient--orange{top:-120px;left:-100px;background:#f9731657}.login-shell__ambient--blue{right:-120px;bottom:-120px;background:#3b82f647}.login-card,.brand-card,.workspace-panel,.summary-tile,.meta-pill,.sidebar-stat,.guide-card-lite,.execution-card,.status-tile,.info-pill,.sidebar-account{background:#080f1cd1;border:1px solid rgba(148,163,184,.14);box-shadow:0 24px 80px #0206175c;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.login-card{width:min(560px,100%);border-radius:32px;padding:1.4rem;display:grid;gap:1rem;position:relative;z-index:1}.login-card h1,.login-card p,.brand-card h1,.brand-card p,.stage-header h1,.stage-header p,.workspace-panel h2,.workspace-panel p{margin:0}.login-card__copy,.login-form,.form-stack,.stack-list,.label-editor{display:grid;gap:.8rem}.login-error,.feedback{border-radius:18px;padding:.95rem 1rem}.login-error,.feedback--error{background:#7f1d1d47;border:1px solid rgba(248,113,113,.34);color:#fecaca}.feedback--success{background:#14532d47;border:1px solid rgba(74,222,128,.3);color:#dcfce7}.form-field{display:grid;gap:.42rem}.form-field span{color:#dbe6f4;font-size:.92rem;font-weight:600}.primary-button,.ghost-button,.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border-radius:16px;padding:.88rem 1.1rem}.primary-button{color:#07111d;background:linear-gradient(135deg,#fbbf24,#fb923c);font-weight:700}.primary-button:hover:not(:disabled){box-shadow:0 16px 36px #fb923c3d;transform:translateY(-1px)}.ghost-button,.upload-button{color:#edf4ff;background:#0e1625c2;border:1px solid rgba(148,163,184,.16)}.ghost-button:hover:not(:disabled),.upload-button:hover{background:#1e293bdb;border-color:#94a3b852}.ghost-button--wide{width:100%}.ghost-button--tiny{padding:.55rem .8rem;border-radius:12px;font-size:.85rem}.user-shell{height:100vh;display:grid;grid-template-columns:420px minmax(0,1fr);overflow:hidden}.user-sidebar{padding:1.25rem;background:#040a14f0;border-right:1px solid rgba(148,163,184,.12);display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:1rem;position:sticky;top:0;height:100vh;overflow:hidden}.brand-card{border-radius:24px;padding:1.15rem}.brand-card p:last-child,.workspace-panel__header small,.sidebar-account small,.sidebar-stat span,.tree-nav__section-copy small,.tree-nav__child small,.summary-tile small,.detail-row span,.chat-list-item__sub,.chat-list-item__preview,.message-meta,.compact-row small,.info-pill,.stage-header p{color:#9fb0c8}.sidebar-account{border-radius:20px;padding:.95rem 1rem;display:grid;grid-template-columns:auto 1fr;gap:.8rem;align-items:center}.sidebar-account>div:last-child,.tree-nav__section-copy,.tree-nav__child,.sidebar-stat,.brand-card{min-width:0}.sidebar-account strong,.sidebar-account small,.tree-nav__section-copy strong,.tree-nav__section-copy small,.tree-nav__child strong,.tree-nav__child small{overflow-wrap:anywhere}.sidebar-account__icon,.tree-nav__section-icon,.chat-avatar{display:grid;place-items:center;border-radius:14px;background:#111b2be0}.sidebar-account__icon{width:44px;height:44px}.sidebar-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.sidebar-stat{border-radius:18px;padding:.9rem;display:grid;gap:.2rem}.tree-nav{display:grid;gap:.55rem;min-height:0;overflow:auto;padding-right:.2rem;align-content:start}.tree-nav__section{display:grid;gap:.3rem;align-content:start}.tree-nav__section-button,.tree-nav__child,.list-card,.chat-list-item{width:100%;text-align:left;color:#edf4ff}.tree-nav__section-button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;min-height:72px;padding:.8rem .95rem;border-radius:18px;background:#0f172a99;border:1px solid rgba(148,163,184,.1)}.tree-nav__section-icon{width:40px;height:40px}.tree-nav__section-copy,.tree-nav__child{display:grid;gap:.18rem}.tree-nav__children{display:grid;gap:.32rem;padding:.15rem 0 .2rem .85rem;align-content:start}.tree-nav__child{min-height:52px;padding:.7rem .9rem;border-radius:14px;background:#09111e94;border:1px solid rgba(148,163,184,.08)}.tree-nav__child--active{background:linear-gradient(135deg,#f673162e,#0ea5e924);border-color:#38bdf857}.tree-nav__section-button:hover,.tree-nav__child:hover,.list-card:hover,.chat-list-item:hover{border-color:#38bdf847;background:#111b2bdb}.sidebar-actions,.inline-actions,.chat-composer__actions,.action-row{display:flex;gap:.75rem;flex-wrap:wrap}.action-row{justify-content:flex-end;margin-top:1rem}.action-row--spread{justify-content:space-between}.user-main{padding:1.25rem;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:1rem;min-width:0;min-height:0;overflow:hidden}.stage-header{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem}.stage-header__meta{display:flex;gap:.75rem;flex-wrap:wrap}.meta-pill,.info-pill{border-radius:999px;padding:.72rem 1rem;display:inline-flex;align-items:center;gap:.55rem}.meta-pill--alert{border-color:#f871715c}.meta-pill__dot{width:10px;height:10px;border-radius:999px;background:#fb7185;box-shadow:0 0 0 4px #fb718529;flex:0 0 auto}.content-shell,.content-shell--user,.workspace-stack,.workspace-grid,.user-summary-grid,.task-status-grid,.chat-shell,.stack-list,.detail-stack{display:grid;gap:1rem}.content-shell--user{min-height:0;overflow:auto;align-content:start;padding-right:.2rem}.content-shell--chat{display:block;height:100%;min-height:0;overflow:hidden;align-content:stretch;padding-right:0}.workspace-grid--task,.workspace-grid--contacts,.workspace-grid--account{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.workspace-grid--task,.workspace-grid--contacts,.workspace-grid--account{min-height:0;align-items:start}.user-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-tile,.workspace-panel,.guide-card-lite,.execution-card{border-radius:26px}.summary-tile{padding:1rem;display:grid;gap:.3rem}.summary-tile span{color:#9fb0c8}.workspace-panel{padding:1.2rem;min-width:0}.workspace-panel--compact{padding:1rem}.workspace-panel--span-2{grid-column:1 / -1}.workspace-panel--side{align-self:start;display:grid;align-content:start;min-height:0}.workspace-panel--side .stack-list{min-height:0;overflow:auto}.workspace-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.search-field{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.65rem;padding:.05rem .9rem;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:#0f172abd}.search-field input{border:0;padding:.95rem 0;background:transparent}.table-shell,.chat-list,.chat-thread__messages{min-width:0;overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:.94rem}.data-table th,.data-table td{padding:.85rem .7rem;border-bottom:1px solid rgba(148,163,184,.12);text-align:left;vertical-align:top}.table-row--active,.data-table tbody tr:hover{background:#1e293b7a}.list-card{display:grid;gap:.3rem;padding:.95rem;border-radius:18px;background:#0f172a7a;border:1px solid rgba(148,163,184,.12)}.list-card--static{cursor:default}.compact-row,.detail-row{display:flex;justify-content:space-between;gap:.8rem;padding:.85rem .95rem;border-radius:16px;background:#0f172a75;border:1px solid rgba(148,163,184,.1)}.task-status-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.status-tile{border-radius:18px;padding:.95rem;display:grid;gap:.2rem}.guide-card-lite,.execution-card{padding:1rem;display:grid;gap:.35rem}.chat-shell{grid-template-columns:minmax(280px,.26fr) minmax(0,1fr) 210px;grid-template-rows:minmax(0,1fr);min-height:100%;height:100%;max-height:100%;align-items:stretch;gap:.75rem;overflow:hidden}.chat-sidebar,.chat-thread,.chat-detail{min-width:0;min-height:0;height:100%}.chat-sidebar,.chat-detail{display:grid;overflow:hidden}.chat-sidebar{grid-template-rows:minmax(0,1fr)}.chat-sidebar-panel,.chat-detail-panel{padding:0;overflow:hidden}.chat-sidebar>.workspace-panel,.chat-detail>.workspace-panel{display:grid;min-height:0;height:100%}.chat-sidebar>.workspace-panel{grid-template-rows:auto auto auto minmax(0,1fr)}.chat-sidebar__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1rem .85rem}.chat-filter-bar{display:inline-flex;gap:.55rem;padding:0 1rem .8rem}.chat-line-tabs{display:flex;gap:.5rem;padding:0 1rem .85rem;overflow-x:auto;scrollbar-width:thin}.chat-line-tabs--stage{padding:0 .15rem .2rem;margin-top:-.35rem}.chat-line-tab{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;padding:.58rem .9rem;border-radius:14px 14px 0 0;border:1px solid rgba(148,163,184,.12);background:#0f172a52;color:#b9c9df;transition:background .16s ease,border-color .16s ease,color .16s ease}.chat-line-tab:hover{border-color:#60a5fa38;color:#e5f0ff}.chat-line-tab--active{background:linear-gradient(180deg,#3b82f633,#1e293bc7);border-color:#60a5fa52;color:#f8fbff;box-shadow:inset 0 1px #bfdbfe1f}.chat-line-tab__count{min-width:1.45rem;height:1.45rem;padding:0 .35rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#94a3b826;font-size:.72rem}.chat-filter-pill{display:inline-flex;align-items:center;gap:.45rem;padding:.52rem .8rem;border-radius:999px;border:1px solid rgba(148,163,184,.12);background:#0f172a70;color:#dbeafe}.chat-filter-pill--active{background:#3b82f62e;border-color:#60a5fa57;color:#f8fbff}.chat-filter-pill__count{min-width:1.35rem;height:1.35rem;padding:0 .3rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#94a3b826;font-size:.74rem}.chat-search-field{margin:0 1rem .9rem}.chat-list{display:grid;gap:.15rem;min-height:0;height:100%;align-content:start;grid-auto-rows:max-content;padding:0 .45rem .5rem;overflow:auto}.chat-list-item{display:grid;grid-template-columns:46px minmax(0,1fr);gap:.8rem;padding:.85rem .8rem;border-radius:16px;background:transparent;border:1px solid transparent;box-shadow:none;align-self:start}.chat-list-item--active{background:#1e293bb3;border-color:#60a5fa3d}.chat-avatar{width:46px;height:46px;font-weight:700;color:#f8fbff;border-radius:14px}.chat-avatar--large{width:52px;height:52px;border-radius:16px}.chat-list-item__body,.chat-bubble__content{min-width:0}.chat-list-item__top{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.chat-list-item__top span{font-size:.76rem;color:#9fb0c8}.chat-list-item__subline{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.chat-list-item__meta{display:inline-flex;align-items:center;justify-content:space-between;gap:.55rem;flex-wrap:wrap}.chat-list-item__hint{font-size:.78rem;color:#8ea1be}.chat-list-item__unread-badge{min-width:1.7rem;height:1.7rem;padding:0 .45rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fb7185,#ef4444);color:#fff7fb;font-size:.74rem;font-weight:700;line-height:1;box-shadow:0 10px 20px #ef444438}.chat-list-item__preview,.message-body{white-space:pre-wrap;word-break:break-word}.line-selector-card{display:flex;align-items:center;gap:14px;padding-block:1.15rem}.line-selector-card__checkbox{width:24px;height:24px;flex:0 0 24px;accent-color:#3b82f6;cursor:pointer}.line-selector-card__checkbox:disabled{cursor:not-allowed}.line-selector-card__body{display:grid;gap:4px;min-width:0;flex:1 1 auto}.chat-line-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:999px;background:#3b82f61f;border:1px solid rgba(96,165,250,.2);color:#cfe5ff;font-size:.72rem}.chat-thread{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.75rem;min-height:0;height:100%;overflow:hidden}.chat-thread__header,.chat-composer{background:#080f1cd1;border:1px solid rgba(148,163,184,.12);box-shadow:0 18px 42px #02061738;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:22px;padding:.95rem 1rem}.chat-thread__header,.chat-thread__identity,.chat-thread__meta,.chat-composer__inner{display:flex;gap:1rem}.chat-thread__header,.chat-thread__meta{justify-content:space-between;align-items:center}.chat-thread__header--dense{padding-block:.85rem}.chat-thread__identity-copy{display:grid;gap:.32rem}.chat-thread__identity-copy h2{margin:0;font-size:1.08rem}.chat-thread__identity-meta{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;color:#9fb0c8;font-size:.82rem}.chat-thread__meta-dot{width:4px;height:4px;border-radius:999px;background:#94a3b88c}.chat-thread__messages{background:linear-gradient(180deg,#0f172a6b,#080f1cad),radial-gradient(circle at top left,rgba(14,165,233,.06),transparent 30%);border:1px solid rgba(148,163,184,.12);border-radius:22px;padding:1rem 1rem 1.15rem;display:flex;flex-direction:column;gap:.9rem;min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain}.chat-detail{align-self:stretch;grid-template-rows:minmax(0,1fr);gap:0;overflow:hidden}.chat-detail>.workspace-panel:first-child{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.chat-detail__stack,.chat-detail .stack-list{min-height:0;overflow:auto}.chat-bubble{max-width:min(76%,680px);align-self:flex-start;display:flex}.chat-bubble--outgoing{align-self:flex-end}.chat-bubble__content{width:fit-content;max-width:100%;border-radius:18px;background:#0f172ae6;border:1px solid rgba(148,163,184,.12);padding:.82rem .9rem}.chat-bubble--outgoing .chat-bubble__content{background:linear-gradient(135deg,#0ea5e938,#3b82f62e)}.message-image{width:min(320px,100%);border-radius:14px;margin-bottom:.65rem}.message-meta{margin-top:.45rem;font-size:.82rem;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.message-meta__icon{display:inline-flex;align-items:center}.message-error{margin-top:.55rem;color:#fecaca;font-size:.82rem;line-height:1.45}.status-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:999px;font-size:.76rem;border:1px solid rgba(148,163,184,.18)}.status-pill--success{background:#10b98124;color:#bbf7d0;border-color:#10b98147}.status-pill--danger{background:#ef444424;color:#fecaca;border-color:#ef444442}.status-pill--neutral{background:#94a3b81f;color:#dbeafe}.chat-day-divider{justify-self:center;padding:.32rem .85rem;border-radius:999px;background:#0f172ae0;border:1px solid rgba(148,163,184,.16);color:#cbd5e1;font-size:.78rem}.chat-composer__inner{flex-direction:column}.chat-composer--dense{padding-top:.8rem}.chat-composer__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.chat-composer__hint{color:#93a6c3;font-size:.78rem}.chat-composer textarea{min-height:96px;border-radius:16px}.chat-detail__stack{display:grid;gap:.7rem}.chat-detail-card{display:grid;gap:.3rem;padding:.85rem .9rem;border-radius:16px;background:#0f172a75;border:1px solid rgba(148,163,184,.1)}.chat-detail-card span{color:#8ea1be;font-size:.78rem}.chat-detail__editor{margin-top:.9rem}.empty-state{border-radius:18px;border:1px dashed rgba(148,163,184,.22);color:#9fb0c8;padding:1.2rem;text-align:center}@media(max-width:1440px){.chat-shell{grid-template-columns:minmax(260px,.24fr) minmax(0,1fr) 200px}}@media(max-width:1280px){.workspace-grid--task,.workspace-grid--contacts,.workspace-grid--account,.chat-shell,.user-summary-grid{grid-template-columns:1fr}.content-shell--chat{overflow:auto;display:grid;align-content:start;padding-right:.2rem}.chat-shell{height:auto;max-height:none;min-height:0}.chat-sidebar,.chat-thread,.chat-detail,.chat-sidebar>.workspace-panel,.chat-detail>.workspace-panel:first-child{height:auto}}@media(max-width:1100px){.user-shell{grid-template-columns:1fr;height:auto;overflow:visible}.user-sidebar{position:static;height:auto;overflow:visible;grid-template-rows:none}.stage-header,.chat-thread__header{flex-direction:column;align-items:flex-start}.chat-thread__meta,.chat-composer__toolbar,.chat-list-item__subline{width:100%}}@media(max-width:720px){.sidebar-stats,.stage-header__meta{grid-template-columns:1fr}.user-main,.user-sidebar,.workspace-panel,.login-card{padding:1rem}.chat-list-item{grid-template-columns:48px minmax(0,1fr)}.chat-avatar{width:48px;height:48px}.chat-bubble{max-width:88%}.chat-sidebar__header,.chat-filter-bar,.chat-line-tabs{padding-inline:.85rem}.chat-search-field,.chat-list{margin:0}}
