@import url('./fonts/fonts.css');
:root{--bg:#f8fafc;--surface:#fff;--low:#f2f4f6;--border:#e2e8f0;--ink:#0f172a;--muted:#475569;--accent:#4f46e5;--soft:#eef2ff;--success:#15803d;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.55}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}input,textarea{color:var(--ink)}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #a5b4fc;outline-offset:1px}[hidden]{display:none!important}.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:white;z-index:50;display:flex;flex-direction:column;box-shadow:0 1px 8px #0000000a}.brand{height:64px;padding:0 16px;display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;letter-spacing:-.5px}.brand img{width:32px;height:32px}.nav-label{padding:14px 24px 8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1.2px}.sidebar nav{padding:0 12px;display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;border-radius:8px;color:#464555;font-size:14px}.nav-link.active{background:var(--soft);color:var(--accent);font-weight:600}.nav-count{margin-left:auto;background:var(--accent);color:white;font-size:11px;border-radius:999px;min-width:20px;height:20px;padding:1px 6px;text-align:center}.unavailable{color:#64748b}.nav-link.unavailable{gap:10px}.unavailable small{font-size:9px;color:#64748b;margin-left:auto}.workspace-card{margin:auto 12px 12px;background:var(--low);padding:12px;border-radius:12px;font-size:11px;color:var(--muted)}.workspace-card>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.workspace-card strong{font-size:11px;font-weight:600;color:var(--ink)}.workspace-card .icon{width:14px;height:14px}.workspace-rule{height:1px;background:var(--border);margin:10px 0}.shell{margin-left:232px}.topbar{position:fixed;inset:0 0 auto 232px;height:64px;padding:0 24px;background:#ffffffed;backdrop-filter:blur(12px);z-index:40;box-shadow:0 1px 8px #0000000a;display:flex;align-items:center;justify-content:space-between;gap:16px}.global-search{position:relative;width:288px}.global-search>.icon{position:absolute;left:12px;top:11px;width:18px;height:18px;color:var(--muted)}.global-search input{border:0;border-radius:8px;background:var(--low);height:40px;width:100%;padding:0 12px 0 36px;font-size:12px}.global-search input::placeholder{color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:24px}.workspace-name{font-size:12px;color:#64748b}.profile-menu{position:relative}.profile-menu summary{list-style:none;display:flex;gap:12px;align-items:center;cursor:pointer}.profile-menu summary::-webkit-details-marker{display:none}.avatar{width:32px;height:32px;border-radius:50%;background:#e0e7ff;color:#4338ca;display:grid;place-items:center;font-size:13px;font-weight:600}.profile-copy{display:flex;flex-direction:column;font-size:12px;line-height:18px;min-width:96px}.profile-copy strong{font-weight:500}.profile-copy small{font-size:11px;color:var(--muted)}.profile-menu summary>.icon{width:15px;height:15px;color:#64748b}.profile-popover{position:absolute;right:0;top:46px;width:235px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 25px #0f172a12;padding:14px;font-size:12px}.profile-popover>span{display:block;padding:4px 0 12px;color:var(--muted)}.logout-button{display:flex;gap:10px;align-items:center;background:var(--low);border-radius:8px;width:100%;padding:10px 12px;color:var(--ink)}main{max-width:1440px;margin:0 auto;padding:88px 24px 32px;min-height:100vh}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.heading-copy{max-width:720px}.eyebrow-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.pill{display:inline-flex;align-items:center;gap:6px;background:var(--soft);color:var(--accent);padding:2px 10px;font-size:11px;font-weight:500;border-radius:999px;white-space:nowrap}.pill i,.status-pill i,.assistant-badge i,.dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.subtle{color:var(--muted);font-size:11px;font-weight:400}h1{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.02em;margin:0 0 4px}h2,h3,p{margin:0}h2{font-size:18px;line-height:26px;font-weight:600;letter-spacing:-.01em}.muted{color:var(--muted);line-height:1.65}.heading-actions{display:flex;gap:8px;flex-shrink:0;margin-bottom:2px}.button{height:44px;padding:0 16px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;white-space:nowrap;transition:background .16s,box-shadow .16s}.button .icon{width:18px;height:18px}.primary{background:var(--accent);color:#fff;box-shadow:0 2px 4px #0f172a15}.primary:not(:disabled):hover{background:#4338ca;box-shadow:0 4px 8px #4f46e526}.white{background:white;box-shadow:0 1px 2px #0000000d;color:var(--ink);border:1px solid #eef0f3}.white:hover{background:var(--low)}.soft{background:var(--soft);color:var(--accent)}.soft:hover{background:#e0e7ff}.neutral{background:var(--low);color:var(--ink)}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}.metric{background:white;border-radius:12px;padding:16px;box-shadow:0 1px 2px #0000000d;min-height:136px}.metric-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;text-transform:uppercase;letter-spacing:.6px;font-weight:500;margin-bottom:8px}.metric-icon{height:32px;width:32px;border-radius:8px;display:grid;place-items:center;background:var(--soft);color:var(--accent);flex-shrink:0}.metric-icon .icon{width:18px;height:18px}.metric-value{display:flex;align-items:baseline;gap:5px;font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.02em}.metric-value small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.metric p{font-size:11px;color:var(--muted);margin-top:8px}.metric p.metric-note{color:var(--success);display:flex;align-items:center;gap:6px}.metric-note .icon{width:14px;height:14px}.project-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:16px}.segmented{display:inline-flex;flex-wrap:wrap;gap:4px;background:white;padding:4px;border-radius:12px;box-shadow:0 1px 2px #00000008}.segmented button{background:transparent;border-radius:8px;padding:8px 16px;min-height:36px;color:var(--ink);font-size:12px}.segmented button span{margin-left:5px}.segmented button.selected{background:var(--accent);color:white;font-weight:500;box-shadow:0 1px 3px #4f46e52b}.search-row{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.project-search{position:relative;flex:1;max-width:512px;min-width:220px}.project-search>.icon{position:absolute;left:14px;top:13px;width:18px;height:18px;color:var(--muted)}.project-search input{width:100%;height:44px;border:1px solid #f1f3f6;border-radius:12px;padding:0 16px 0 40px;font-size:12px;background:white}.project-search input::placeholder{color:var(--muted)}.client-filters{display:flex;gap:8px;align-items:center;font-size:11px;flex-wrap:wrap}.client-filters>span{margin-right:4px}.client-pill{height:32px;padding:0 12px;border-radius:8px;background:white;border:1px solid #f1f3f6;color:var(--muted);font-size:11px}.client-pill.selected{color:white;background:var(--accent);border-color:var(--accent)}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.project-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 1px 2px #0000000d;transition:box-shadow .18s;min-width:0;display:flex;flex-direction:column;min-height:460px}.project-card:hover{box-shadow:0 4px 12px -2px #0f172a0f,0 2px 4px -2px #0f172a0a}.project-card-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}.client-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:var(--low);color:var(--accent);flex:none}.client-icon.green{background:#e7f3eb;color:#15803d}.client-icon .icon{width:23px;height:23px}.project-card-title{flex:1;min-width:0}.client-title{display:flex;align-items:center;gap:8px}.client-title h2{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-category{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.client-category:before{content:'';background:#c7c4d8;width:5px;height:5px;border-radius:50%}.project-card h3{font-size:13px;line-height:20px;font-weight:500;margin-top:3px}.status-pill{font-size:10px;line-height:15px;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;max-width:120px;flex-shrink:0}.status-pill.green{background:#e7f3eb;color:#15803d}.status-pill.warm{color:#92400e;background:#f5ece5}.project-brief{background:#f7f8fa;border-radius:12px;padding:12px;font-size:13px;line-height:20px;color:var(--muted);min-height:66px;margin-bottom:16px}.project-section{margin-bottom:20px}.section-caption{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:10px}.section-caption>span:first-child{text-transform:uppercase;letter-spacing:.25px;display:flex;align-items:center;gap:5px}.section-caption .icon{width:15px;height:15px;color:var(--accent)}.empty-personas{display:inline-flex;gap:7px;align-items:center;border-radius:8px;background:var(--soft);color:#6366f1;padding:7px 10px;font-size:11px}.empty-dot{width:6px;height:6px;border:1.5px solid #818cf8;border-radius:50%;flex-shrink:0}.conversation-preview{display:flex;align-items:center;gap:10px;background:#f7f8fa;padding:12px;border-radius:12px}.conversation-icon{width:32px;height:32px;border-radius:50%;background:#eef2ff;color:var(--accent);display:grid;place-items:center;flex:none}.conversation-icon .icon{width:17px;height:17px}.conversation-preview>div{display:flex;flex-direction:column;gap:2px}.conversation-preview strong{font-size:12px;font-weight:500}.conversation-preview small{font-size:10px;color:var(--muted)}.conversation-preview>.dot{margin-left:auto;color:var(--success)}.dot.busy{color:var(--accent)}.project-card-meta{margin-top:auto;display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);padding:3px 0 14px;border-bottom:1px solid #eef0f3}.project-card-meta strong{font-weight:500;color:var(--ink)}.project-card-actions{display:flex;gap:8px;margin-top:16px}.project-card-actions .button{height:40px;font-size:12px;flex:1}.project-card-actions .icon{width:16px;height:16px}.project-card-actions .open-project{flex:1.3}.page-footnote{font-size:11px;color:#64748b;display:flex;align-items:center;gap:6px;margin:24px 0}.page-footnote .icon{width:14px;height:14px}.no-results{padding:64px 24px;text-align:center;background:white;border-radius:16px}.no-results>.icon{width:32px;height:32px;color:#94a3b8;margin-bottom:12px}.no-results h2{margin-bottom:8px}.no-results .button{margin-top:20px}.breadcrumb{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-bottom:20px}.breadcrumb .icon{width:15px;height:15px}.breadcrumb span{color:#cbd5e1;margin:0 4px}.project-heading{margin-bottom:24px}.scope-badge{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap;margin-bottom:8px}.scope-badge .icon{width:15px;height:15px}.project-tabs{display:flex;gap:28px;border-bottom:1px solid var(--border);margin-bottom:24px}.tab{display:flex;align-items:center;gap:8px;padding:0 0 14px;font-size:13px;position:relative}.tab .icon{width:18px;height:18px}.tab.active{color:var(--accent);font-weight:600}.tab.active:after{content:'';height:2px;background:var(--accent);position:absolute;inset:auto 0 -1px}.tab small{font-size:10px;background:#edf0f3;padding:1px 5px;border-radius:4px}.chat-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:24px}.chat-sidebar,.chat{background:#fff;border-radius:16px;box-shadow:0 1px 2px #0000000d}.chat-sidebar{padding:20px 16px;display:flex;flex-direction:column;min-width:0}.chat-sidebar-title{display:flex;align-items:center;justify-content:space-between;padding:0 4px;margin-bottom:16px}.chat-sidebar-title h2{font-size:15px}.count{font-size:11px;color:var(--muted);background:var(--low);border-radius:6px;padding:2px 7px}.chat-sidebar>.button{height:40px;font-size:12px;margin-bottom:16px}.chat-link{display:flex;align-items:center;gap:10px;background:transparent;border-radius:8px;padding:12px;color:var(--muted);text-align:left;width:100%;margin-bottom:4px;font-size:12px}.chat-link>span{display:flex;flex-direction:column;gap:2px}.chat-link small{font-size:10px;color:#64748b;font-weight:400}.chat-link>.icon{width:17px;height:17px}.chat-link.active{background:var(--soft);color:var(--accent);font-weight:500}.chat-link:hover:not(.active){background:var(--low)}#conversation-list{max-height:420px;overflow:auto}.dialogue-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#64748b;padding:18px 8px 0;margin-top:auto}.dialogue-note>.icon{width:15px;height:15px}.chat{padding:24px;min-width:0}.chat-heading{display:flex;align-items:center;gap:12px}.assistant-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);color:var(--accent);border-radius:12px}.chat-heading h2{font-size:16px;line-height:24px}.chat-heading p{font-size:11px;color:var(--muted)}.assistant-badge{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:11px;color:var(--success);background:#eaf5ed;border-radius:999px;padding:4px 9px}.chat-info{display:flex;align-items:center;gap:8px;background:#f7f8fa;border-radius:8px;padding:10px 12px;font-size:11px;color:var(--muted);margin-top:20px}.chat-info>.icon{color:var(--accent);width:16px;height:16px}#messages{height:340px;overflow:auto;padding:16px 0;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.empty-chat{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:100%;padding:24px}.empty-chat-icon{width:52px;height:52px;border-radius:16px;background:var(--soft);color:var(--accent);display:grid;place-items:center;margin-bottom:16px}.empty-chat h3{font-size:16px;font-weight:500;margin-bottom:8px}.empty-chat p{font-size:12px;line-height:20px;color:var(--muted)}.message{font-size:13px;line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 16px;border-radius:12px;background:#f7f8fa;margin:8px 0 16px;max-width:92%}.message.user{background:var(--soft);margin-left:auto}.message .role{font-size:10px;font-weight:600;color:#64748b;display:block;margin-bottom:5px;letter-spacing:.2px}.chat-feedback{display:flex;align-items:center;justify-content:space-between;min-height:28px;gap:8px}#job-status{font-size:11px;color:var(--accent)}.text-button{background:none;padding:4px 0;color:var(--muted);font-size:11px}.error{font-size:12px;color:#b91c1c;line-height:20px}.error:not(:empty){margin:8px 0;background:#fef2f2;padding:10px;border-radius:8px}.composer{border:1px solid var(--border);border-radius:12px;margin-top:8px;overflow:hidden;transition:border-color .15s}.composer:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #eef2ff}.composer textarea{border:0;background:white;width:100%;resize:vertical;min-height:80px;max-height:200px;padding:14px 16px;font-size:13px;line-height:22px;display:block;outline:none}.composer textarea::placeholder{color:#94a3b8}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px 16px;gap:12px}.composer-toolbar>span{display:flex;gap:5px;align-items:center;font-size:10px;color:#94a3b8}.composer-toolbar .icon{width:12px;height:12px}.composer-toolbar .button{height:36px;border-radius:8px;font-size:12px}.composer-note{font-size:10px;color:#94a3b8;margin-top:10px;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-button{width:36px;height:36px;display:grid;place-items:center;background:var(--low);border-radius:8px;color:var(--muted)}.mobile-menu{display:none}.nav-backdrop{position:fixed;inset:0;z-index:49;background:#0f172a55}
@media(min-width:1600px){main{padding-left:32px;padding-right:32px}}
@media(max-width:1199px){.page-heading{align-items:flex-start}.heading-actions{margin-top:24px}.heading-copy .desktop-break{display:none}.metric-value{flex-wrap:wrap;gap:0 5px}.metric-label{font-size:10px;letter-spacing:.15px}.project-card{padding:20px}.client-category{display:none}.status-pill{max-width:90px}.project-card-meta{flex-wrap:wrap}.workspace-name{display:none}.chat-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}}
@media(max-width:1023px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.shell{margin-left:0}.topbar{left:0}.mobile-menu{display:grid}.global-search{margin-right:auto}.topbar-right{gap:12px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-label{font-size:11px}.metric{min-height:132px}.page-heading{gap:16px}.heading-actions{flex-direction:column;align-items:stretch;margin-top:0}.project-card{padding:24px}.scope-badge{display:none}.chat-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:767px){.topbar{padding:0 16px;gap:12px}.global-search{width:auto;flex:1;min-width:0}.profile-copy{display:none}.profile-menu summary{gap:4px}.profile-menu summary>.icon{display:none}.profile-menu .avatar{width:30px;height:30px}main{padding:84px 16px 24px}.page-heading{flex-direction:column;gap:16px;margin-bottom:24px}.heading-actions{flex-direction:row;align-self:stretch}.heading-actions .button{flex:1;font-size:12px;height:40px}.eyebrow-row>.subtle{display:none}h1{font-size:22px;line-height:28px;margin:8px 0}.muted{font-size:13px}.metrics-grid{gap:12px;margin-bottom:24px}.metric{padding:14px;min-height:144px}.metric-label{font-size:9px;align-items:flex-start;gap:4px;letter-spacing:.2px;min-height:32px}.metric-icon{height:26px;width:26px}.metric-icon>.icon{width:15px;height:15px}.metric-value{font-size:26px;line-height:32px}.metric-value small{font-size:9px}.metric p{font-size:10px;margin-top:7px}.segmented{width:100%;gap:2px}.segmented button{flex:1;padding:8px 6px;font-size:10px}.segmented button span{margin-left:3px}.project-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:12px}.search-row{margin-bottom:20px;gap:12px}.project-search{max-width:none;min-width:100%;}.client-filters{font-size:10px}.client-pill{font-size:10px}.project-grid{grid-template-columns:1fr;gap:20px}.project-card{padding:20px;min-height:442px}.project-card-heading{gap:10px}.client-icon{width:40px;height:40px}.client-title h2{font-size:16px}.project-card h3{font-size:12px}.status-pill{font-size:9px;padding:5px 8px;max-width:85px}.section-caption{font-size:10px}.section-caption .subtle{font-size:10px}.empty-personas{font-size:10px}.project-card-meta{font-size:9px}.project-card-actions .button{font-size:11px;padding:0 10px;gap:5px}.project-card-actions .icon{width:14px;height:14px}.page-footnote{font-size:10px;align-items:flex-start}.page-footnote>.icon{margin-top:2px}.breadcrumb{font-size:11px;margin-bottom:14px}.project-heading{margin-bottom:20px}.project-tabs{gap:18px;overflow:auto;margin-bottom:20px}.tab{font-size:11px;gap:5px;white-space:nowrap}.tab>.icon{width:16px;height:16px}.tab small{display:none}.chat-layout{grid-template-columns:minmax(0,1fr);gap:16px}.chat-sidebar{padding:16px}.chat-sidebar-title{margin-bottom:10px}.chat-sidebar>.button{margin-bottom:10px}.chat-sidebar #conversation-list{display:flex;gap:4px;max-height:none;overflow:auto}.chat-link{width:auto;flex:none;padding:8px 12px}.chat-link small{display:none}.dialogue-note{display:none}.chat{padding:18px}.chat-heading{gap:10px}.chat-heading h2{font-size:15px}.chat-heading p{font-size:10px}.chat-info{font-size:10px;margin-top:16px;align-items:flex-start}.chat-info>.icon{margin-top:2px}#messages{height:330px}.message{font-size:12px;line-height:20px;max-width:96%;padding:12px}.composer-toolbar>span{font-size:9px}.composer-toolbar{padding-left:10px;gap:5px}.composer-toolbar .button{font-size:11px;padding:0 12px}.composer-note{font-size:9px}.empty-chat{padding:16px}.empty-chat p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.filters-focused .project-search input{border-color:#a5b4fc;box-shadow:0 0 0 3px #eef2ff}

.nav-link>span:not(.nav-count){white-space:nowrap}.nav-link.unavailable small{display:none}
.nav-backdrop{left:232px}body.nav-open{overflow:hidden}
