/* Conversation-first workspace. Official brand assets retain original colors. */
:root{--nav:#172c29;--nav-ink:#d4e2da;--nav-muted:#92aaa0;--chat-bg:#fff;--user-bubble:#eef5ef}html[data-theme=dark]{--nav:#10231d;--chat-bg:#18251e;--user-bubble:#293e30}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sidebar{width:218px;padding:24px 15px 14px;background:var(--nav);border-right:0;color:var(--nav-ink)}.main{margin-left:218px}.official-brand{display:block;padding:0 9px;margin-bottom:29px}.official-brand img{display:block;width:164px;height:62px;object-fit:contain}.official-brand span{display:block;font-size:8px;font-weight:650;letter-spacing:2.2px;color:var(--nav-muted);padding-left:12px;margin-top:2px}.official-brand:hover{text-decoration:none}.sidebar .nav-caption{font-size:9px;color:var(--nav-muted);padding:0 12px;margin-bottom:10px}.sidebar .nav-item{font-size:12px;padding:11px 12px;color:var(--nav-ink);gap:10px;margin:3px 0;font-weight:500}.sidebar .nav-item .icon{width:17px;height:17px}.sidebar .nav-item:hover{background:#ffffff0b}.sidebar .nav-item.active{background:#d4edcf19;color:#e4f5d9;box-shadow:inset 2px 0 #b7d89d}.source-rail{margin-top:auto;padding-top:30px}.rail-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px;margin-bottom:10px;color:var(--nav-muted);font-size:10px}.live-indicator{font-size:9px;border:1px solid #ffffff25;border-radius:4px;min-width:18px;text-align:center;color:var(--nav-ink)}.source-link{display:flex;align-items:center;gap:9px;width:100%;padding:11px 9px;text-align:left;border-radius:8px;color:var(--nav-ink)}.source-link:hover,.source-link.selected{background:#ffffff09}.site-icon{height:32px;width:32px;padding:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff;border:1px solid #e5e9e4;border-radius:8px;overflow:hidden}.site-icon img{width:100%;height:100%;object-fit:contain}.source-link b{display:block;font-size:10px;font-weight:550;white-space:nowrap}.source-link small{display:block;font-size:9px;color:var(--nav-muted);margin-top:3px}.source-led{height:5px;width:5px;border-radius:50%;background:#c4a86b;margin-left:auto;flex-shrink:0}.source-led.ok{background:#8fc69d}.rail-updated{font-size:9px;color:var(--nav-muted);display:flex;gap:6px;align-items:center;padding:10px}.rail-updated .icon{width:11px;height:11px}.rail-manage{font-size:10px;color:var(--nav-ink);padding:7px 10px;display:flex;align-items:center;justify-content:space-between;width:100%}.rail-manage .icon{width:13px;height:13px}.sidebar-account{display:flex;align-items:center;gap:9px;margin:20px 6px 0;padding-top:16px;border-top:1px solid #ffffff15}.sidebar-account b{display:block;font-size:11px;font-weight:550}.sidebar-account small{display:block;color:var(--nav-muted);font-size:9px;margin-top:2px}.workspace-dot{width:27px;height:27px;background:#ffffff12;border-radius:7px;display:grid;place-items:center;color:#d5e9c8;font-size:11px;font-weight:650}.sidebar-account button{margin-left:auto;padding:4px;color:var(--nav-muted)}.sidebar-account .icon{width:16px;height:16px}.topbar{height:64px;padding:0 26px}.workspace-private{border:1px solid var(--line);border-radius:4px;padding:1px 6px;font-size:9px;color:var(--muted)}.top-actions{font-size:10px;gap:14px}.assistant-shell .content{padding:22px 24px;max-width:none;height:calc(100dvh - 64px);min-height:640px}.assistant-workspace{height:100%;display:grid;grid-template-columns:minmax(330px,.88fr) minmax(410px,1.12fr);gap:24px}.chat-panel{border:1px solid var(--line);border-radius:13px;background:var(--chat-bg);display:flex;flex-direction:column;min-height:0;overflow:hidden;box-shadow:0 3px 12px #20352b03}.chat-top{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 18px}.chat-top .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:7px}.chat-top h1{font-size:21px;font-weight:650;letter-spacing:-.6px}.chat-top .icon-btn{font-size:22px;width:28px;height:28px;border:0;color:var(--muted)}.assistant-identity{display:flex;align-items:center;margin:0 23px;padding:12px;border:1px solid var(--line);border-radius:9px;gap:10px;background:var(--bg)}.model-glyph{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;background:var(--surface);border:1px solid var(--line);font-size:18px;color:var(--green);font-family:monospace;flex-shrink:0}.model-account{min-width:0;flex:1}.model-account select{padding:0 15px 0 0;border:0;background:transparent;font-size:12px;font-weight:650;height:22px;max-width:100%}.model-account small{display:block;font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:225px}.model-account .dot{width:4px;height:4px;margin-right:4px}.dot.offline{background:#a7b1a9}.account-connect{font-size:10px;display:flex;align-items:center;gap:4px;color:var(--green);padding:4px;white-space:nowrap}.account-connect .icon{width:12px;height:12px}.chat-context{display:flex;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted)}.chat-context span{display:flex;gap:4px;align-items:center;white-space:nowrap}.chat-context .icon{width:12px;height:12px}.chat-context button{display:flex;align-items:center;gap:4px;margin-left:auto;font-size:9px;color:var(--muted);padding:0}.chat-messages{flex:1;min-height:140px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:22px}.chat-welcome{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:12px 0}.welcome-emblem{width:58px;height:58px;background:#fff;border:1px solid #edf1eb;border-radius:16px;padding:6px;margin:0 0 19px;box-shadow:0 3px 15px #20352b06}.welcome-emblem img{width:100%;height:100%;object-fit:contain}.chat-welcome h2{font-size:22px;line-height:1.6;font-weight:590;letter-spacing:-.8px;margin-bottom:12px}.chat-welcome>p{font-size:11px;line-height:1.9;color:var(--muted)}.suggestions{display:flex;flex-direction:column;gap:8px;width:100%;max-width:360px;margin:25px 0 0}.suggestions button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:11px;color:var(--ink);padding:11px 12px;text-align:left}.suggestions button:hover{border-color:#93b6a1;background:var(--tint)}.suggestions .icon{width:14px;height:14px;color:var(--green)}.suggestions .icon:last-child{margin-left:auto;width:12px;color:var(--muted)}.welcome-account{font-size:9px;color:var(--muted);margin-top:17px;line-height:1.8}.chat-compose{margin:0 18px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:12px 13px 9px;box-shadow:0 2px 10px #20352b04}.chat-compose:focus-within{border-color:#77a890;box-shadow:0 0 0 3px #27765209}.chat-compose textarea{width:100%;border:0;padding:0;resize:none;outline:none;font-size:12px;line-height:1.8;min-height:64px;max-height:170px;background:transparent;border-radius:0}.chat-compose textarea:focus-visible{outline:none}.chat-compose textarea::placeholder{color:var(--muted)}.compose-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px}.refresh-choice{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);cursor:pointer}.refresh-choice input{accent-color:var(--green);width:12px;height:12px;margin:0}.refresh-choice .icon{width:12px;height:12px}.send-button{width:30px;height:30px;border-radius:7px;background:var(--green);color:var(--surface);display:grid;place-items:center}.send-button .icon{width:16px;height:16px;transform:rotate(-90deg)}.stop-send{font-size:10px;padding:7px 9px;border-radius:6px;background:var(--bg);color:var(--ink);border:1px solid var(--line)}.chat-footnote{font-size:8px;text-align:center;color:var(--muted);padding:10px 8px 12px}.opportunities-panel{display:flex;flex-direction:column;min-height:0;min-width:0}.opportunities-head{display:flex;align-items:center;justify-content:space-between;padding:5px 0 16px}.opportunities-head .eyebrow{font-size:8px;color:var(--muted);margin-bottom:7px}.opportunities-head h2{font-size:22px;font-weight:650;display:flex;align-items:center;gap:8px;letter-spacing:-.7px}.opportunities-head p{font-size:11px;color:var(--muted);margin-top:6px}.opportunities-head .icon-btn{width:30px;height:30px}.opportunities-head .icon-btn .icon{width:15px;height:15px}.opportunities-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:0 0 11px}.opportunities-controls .filters{gap:5px}.opportunities-controls .filters button{font-size:10px;padding:6px 9px;border-radius:6px}.opportunity-search{display:flex;align-items:center;gap:6px;max-width:155px;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:0 9px}.opportunity-search .icon{width:13px;height:13px;color:var(--muted)}.opportunity-search input{border:0;background:transparent;width:100%;font-size:10px;padding:7px 0;outline:0}.source-filter-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.source-filter-row button{font-size:9px;padding:4px 7px;color:var(--muted);border:1px solid transparent;border-radius:5px}.source-filter-row button.selected{background:var(--surface);border-color:var(--line);color:var(--ink)}.home-notices{flex:1;overflow:auto;min-height:0;scrollbar-width:thin;padding:0 3px 8px 0;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain}.business-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:20px 21px;box-shadow:0 2px 7px #20352b02}.business-meta{display:flex;align-items:center;gap:10px}.business-meta .site-icon{width:31px;height:31px}.business-meta b{font-size:10px;font-weight:600;display:block}.business-meta small{font-size:9px;color:var(--muted);display:block;margin-top:2px}.deadline-pill{margin-left:auto;white-space:nowrap;font-size:10px;font-weight:650;color:var(--green);background:var(--tint);padding:4px 7px;border-radius:5px}.deadline-pill.urgent{background:var(--amber-bg);color:var(--amber)}.business-title{text-align:left;font-size:17px;font-weight:630;line-height:1.65;letter-spacing:-.45px;padding:16px 0 15px;width:100%;word-break:keep-all;overflow-wrap:anywhere}.business-title:hover{color:var(--green)}.business-reason{background:var(--bg);border-radius:7px;padding:10px 11px;display:flex;align-items:center;gap:8px}.reason-mark{color:var(--green)}.reason-mark .icon{width:17px;height:17px}.business-reason p{font-size:10px;font-weight:550}.business-reason p small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.match-score{margin-left:auto;font-size:19px;color:var(--green);font-weight:600;line-height:1.2;text-align:right;letter-spacing:-.5px}.match-score small{display:block;font-size:8px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:3px}.business-details{display:grid;grid-template-columns:.85fr 1.15fr;gap:15px;padding:14px 0}.business-details small{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.business-details b{display:block;font-size:11px;font-weight:550}.business-card footer{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;gap:12px}.business-card footer a{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.business-card footer .icon{width:12px;height:12px}.ask-notice{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600;background:var(--tint);border-radius:6px;color:var(--green);padding:7px 10px;margin-left:auto}.ask-notice:hover{box-shadow:inset 0 0 0 1px var(--green)}.save-notice{font-size:22px;color:var(--muted);padding:0 2px;line-height:1}.save-notice.saved{color:var(--green)}.notice-conflict{font-size:10px;color:var(--amber);margin:0 0 13px;line-height:1.6}.opportunities-footer{font-size:9px;display:flex;align-items:center;gap:6px;color:var(--muted);padding:12px 0 0}.opportunities-footer .icon{width:12px;height:12px}.chat-message{margin-bottom:23px;font-size:12px;line-height:1.85}.message-byline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;font-weight:650;color:var(--green);margin-bottom:8px}.message-byline span{font-size:8px;font-weight:400;color:var(--muted)}.chat-message.user .message-text{background:var(--user-bubble);border:1px solid var(--line);border-radius:10px 10px 2px 10px;padding:12px 14px}.chat-message.user .message-byline{color:var(--muted)}.message-text{overflow-wrap:anywhere;word-break:keep-all}.message-text p{margin:0 0 12px}.message-text p:last-child{margin:0}.message-text a{word-break:break-word;text-decoration:underline;text-underline-offset:3px}.message-text code{background:var(--bg);border-radius:3px;font-size:11px;padding:2px 4px;word-break:break-word}.message-text pre{overflow:auto;white-space:pre-wrap;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:7px}.reply-heading{display:block;color:var(--ink);font-size:13px}.reply-table{overflow:auto;max-width:100%;margin:13px 0}.reply-table table{font-size:11px}.reply-table th,.reply-table td{padding:8px 10px;border:1px solid var(--line);min-width:95px}.message-activity{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-top:12px}.thinking-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;animation:breathe 1.5s infinite}.chat-error{padding:12px 13px;border:1px solid var(--amber-line);border-radius:7px;background:var(--amber-bg);color:var(--amber);font-size:11px;line-height:1.8;margin-top:14px}.connected-account{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:16px;margin:25px 0}.connected-account b{font-size:13px;display:block}.connected-account small{display:block;font-size:11px;margin-top:3px;color:var(--muted)}.auth-help{font-size:11px;color:var(--muted);line-height:1.85;margin-top:20px}.account-switch{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.account-switch button{color:var(--green);font-weight:550}.device-code{padding:20px;margin-top:18px;background:var(--bg);border:1px dashed var(--line);border-radius:9px;text-align:center}.device-code small{font-size:10px;color:var(--muted);display:block}.device-code strong{display:block;font-size:27px;letter-spacing:3px;margin-top:10px;font-family:monospace}.auth-wait{font-size:11px;color:var(--muted);margin:20px 0}.auth-success{display:flex;align-items:center;gap:9px;color:var(--green);font-size:13px;background:var(--tint);padding:20px;border-radius:8px}#claude-code-form{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}#claude-code-form label{font-size:11px;color:var(--muted);width:100%}#claude-code{flex:1;min-width:120px;font-size:12px}.history-list button{display:grid;grid-template-columns:1fr auto;gap:5px;width:100%;text-align:left;padding:17px 0;border-bottom:1px solid var(--line)}.history-list b{font-size:13px;font-weight:550}.history-list small{font-size:10px;grid-row:2;color:var(--muted)}.history-list .icon{grid-column:2;grid-row:1/3;align-self:center}.login-official-brand img{width:220px;height:84px;object-fit:contain}.orbit span img{width:48px;height:48px;object-fit:contain}.login-story{background:#172c29}.login-story .orbit span{background:#fff}.assistant-shell .nav-item.active{font-weight:600}@keyframes breathe{50%{opacity:.25}}
@media(min-width:1600px){.assistant-shell .content{padding:28px 32px}.assistant-workspace{gap:30px}.chat-top{padding:28px 28px 20px}.chat-top h1{font-size:24px}.business-title{font-size:19px}.business-card{padding:23px 25px}.business-details b{font-size:12px}.chat-messages{padding:27px}.chat-welcome h2{font-size:26px}.chat-compose textarea{font-size:13px}.chat-message{font-size:13px}}
@media(max-height:850px) and (min-width:1100px){.chat-welcome{padding:5px 0}.welcome-emblem{width:44px;height:44px;margin-bottom:12px}.chat-welcome h2{font-size:19px;line-height:1.55;margin-bottom:9px}.suggestions{margin-top:18px;gap:6px}.suggestions button{padding:8px 10px}.chat-top{padding-top:19px}.chat-context{padding-top:11px;padding-bottom:11px}.welcome-account{margin-top:12px}}
@media(max-width:1200px){.sidebar{width:190px;padding:20px 11px 13px}.official-brand{padding:0 4px}.official-brand img{width:154px;height:58px}.main{margin-left:190px}.source-link{padding:10px 6px;gap:7px}.source-link b{font-size:9px}.source-link .site-icon{width:27px;height:27px}.assistant-shell .content{padding:18px}.assistant-workspace{grid-template-columns:minmax(305px,.92fr) minmax(350px,1.08fr);gap:18px}.chat-top{padding:20px 18px 15px}.chat-top h1{font-size:19px}.assistant-identity{margin:0 17px;padding:10px}.chat-context{padding:12px 17px;gap:8px}.chat-context button{font-size:8px}.chat-messages{padding:18px}.chat-welcome h2{font-size:20px}.business-card{padding:16px}.business-title{font-size:15px}.opportunities-head h2{font-size:21px}.opportunity-search{max-width:125px}.opportunities-controls{flex-wrap:wrap}.opportunity-search{flex:1}.chat-compose{margin:0 14px}.model-account small{max-width:135px}.account-connect{font-size:9px}.source-rail{padding-top:20px}}
@media(max-width:1000px){.assistant-shell .content{height:auto;min-height:0}.assistant-workspace{grid-template-columns:1fr;gap:25px}.chat-panel{height:720px}.opportunities-panel{min-height:500px}.home-notices{max-height:900px}.chat-welcome h2{font-size:24px}.opportunities-head h2{font-size:23px}.business-title{font-size:18px}.model-account small{max-width:260px}.opportunities-controls{flex-wrap:nowrap}.opportunity-search{max-width:200px}.sidebar{z-index:30}.top-actions>span{display:none}}
@media(max-width:650px){.sidebar{width:230px;padding:22px 16px;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.official-brand img{width:174px;height:66px}.source-link b{font-size:11px}.source-link small{font-size:10px}.source-link .site-icon{width:31px;height:31px}.main{margin-left:0}.topbar{height:58px;padding:0 16px}.assistant-shell .content{padding:14px 12px 24px}.chat-panel{height:calc(100dvh - 88px);min-height:570px;max-height:830px}.chat-top{padding:18px 18px 13px}.chat-top h1{font-size:20px}.chat-top .eyebrow{font-size:8px}.assistant-identity{margin:0 16px}.chat-context{padding:12px 16px}.chat-welcome h2{font-size:22px}.chat-welcome>p{font-size:11px}.chat-messages{padding:18px}.suggestions{margin-top:21px}.suggestions button{padding:10px}.welcome-emblem{height:48px;width:48px}.welcome-account{font-size:9px}.opportunities-panel{padding:5px 4px 0}.opportunities-head h2{font-size:23px}.opportunities-controls .filters button{font-size:10px}.opportunity-search{max-width:140px}.business-card{padding:18px}.business-title{font-size:17px}.business-meta b{font-size:11px}.business-meta small{font-size:9px}.business-details b{font-size:11px}.business-reason p{font-size:11px}.model-account small{max-width:180px}.account-connect{font-size:10px}.home-notices{max-height:none;overflow:visible}.source-rail{padding-top:25px}.chat-footnote{font-size:8px}.sidebar-account{margin-top:20px}.sidebar .nav-item{font-size:13px}.chat-message{font-size:12px}.sidebar .nav-caption{font-size:10px}.opportunities-footer{font-size:9px}.top-actions{gap:8px}}

/* Main page: upper-middle conversation, lower-left sources, wider right results. */
.assistant-shell .sidebar{position:relative;inset:auto;width:100%;height:68px;padding:0 24px;display:flex;flex-direction:row;align-items:center;gap:26px;transform:none;box-shadow:none;z-index:20}
.assistant-shell .official-brand{padding:0;margin:0;flex-shrink:0}
.assistant-shell .official-brand img{width:118px;height:48px}
.assistant-shell .official-brand span,.assistant-shell .nav-caption,.assistant-shell .sidebar-account>div,.assistant-shell .workspace-dot{display:none}
.assistant-shell .sidebar nav{display:flex;align-items:center;gap:4px;flex:1}
.assistant-shell .sidebar .nav-item{padding:9px 12px;margin:0;font-size:11px;white-space:nowrap}
.assistant-shell .sidebar-account{margin:0;padding:0;border:0}
.assistant-shell .main{margin-left:0}
.assistant-shell .topbar{display:none}
.assistant-shell .content{height:calc(100dvh - 68px);min-height:710px;padding:22px 28px}
.assistant-workspace{display:grid;grid-template-columns:minmax(380px,.94fr) minmax(440px,1.06fr);grid-template-rows:minmax(420px,1fr) 220px;grid-template-areas:'chat opportunities' 'sources opportunities';gap:20px 26px}
.assistant-workspace>.chat-panel{grid-area:chat;height:auto;min-height:0;max-height:none}
.assistant-workspace>.opportunities-panel{grid-area:opportunities;min-height:0;padding:0}
.assistant-workspace>.source-rail{grid-area:sources;margin:0;padding:17px 20px;min-height:0;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:13px;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:3px 14px;color:var(--ink)}
.assistant-workspace .rail-heading{grid-column:1/-1;padding:0;margin-bottom:8px;color:var(--ink);font-size:12px;font-weight:600}
.assistant-workspace .live-indicator{color:var(--green);border-color:var(--line)}
.assistant-workspace .source-link{color:var(--ink);padding:8px;border:1px solid var(--line)}
.assistant-workspace .source-link:hover,.assistant-workspace .source-link.selected{background:var(--tint)}
.assistant-workspace .source-link b{font-size:11px}
.assistant-workspace .source-link small{color:var(--muted);font-size:10px}
.assistant-workspace .rail-updated{padding:8px 0;color:var(--muted);align-self:center}
.assistant-workspace .rail-manage{grid-column:2;padding:4px 0;color:var(--green)}
.assistant-shell .chat-top{padding:15px 20px 10px}
.assistant-shell .chat-top h1{font-size:19px}
.assistant-shell .chat-top .eyebrow{display:none}
.assistant-shell .assistant-identity{margin:0 19px;padding:8px 10px}
.assistant-shell .chat-context{padding:9px 20px}
.assistant-shell .chat-messages{padding:14px 20px;min-height:90px}
.assistant-shell .chat-welcome{padding:0;min-height:100%;align-items:flex-start;text-align:left}
.assistant-shell .welcome-emblem,.assistant-shell .welcome-account,.assistant-shell .chat-welcome>p{display:none}
.assistant-shell .chat-welcome h2{font-size:18px;line-height:1.4;margin:0 0 9px}
.assistant-shell .chat-welcome h2 br{display:none}
.assistant-shell .suggestions{margin:0;max-width:none;flex-direction:row;flex-wrap:wrap;gap:6px}
.assistant-shell .suggestions button{font-size:10px;padding:7px 9px}
.assistant-shell .suggestions .icon:last-child{display:none}
.assistant-shell .chat-compose{margin:0 18px;padding:10px 12px 8px}
.assistant-shell .chat-compose textarea{min-height:44px;height:44px}
.assistant-shell .chat-footnote{padding:7px}
.assistant-shell .home-notices{overflow:auto;max-height:none}
@media(max-width:1000px){
.assistant-shell .sidebar{padding:0 16px;gap:16px}.assistant-shell .sidebar .nav-item{font-size:10px;padding:8px}.assistant-shell .sidebar .nav-item .icon{display:none}
.assistant-shell .content{padding:18px;min-height:690px}.assistant-workspace{grid-template-columns:minmax(310px,.94fr) minmax(340px,1.06fr);gap:16px;grid-template-rows:minmax(390px,1fr) 220px}.assistant-workspace>.source-rail{padding:14px;gap:5px}.assistant-workspace .source-link b{font-size:9px}.assistant-workspace .source-link small{font-size:9px}.assistant-shell .opportunities-controls{flex-wrap:wrap}
}
@media(max-width:760px){
.assistant-shell .sidebar{height:auto;min-height:62px;flex-wrap:wrap;gap:4px;padding:8px 14px}.assistant-shell .official-brand img{width:94px;height:36px}.assistant-shell .sidebar nav{order:3;flex-basis:100%;overflow:auto;padding:3px 0}.assistant-shell .sidebar-account{margin-left:auto}.assistant-shell .content{height:auto;min-height:0;padding:14px}.assistant-workspace{grid-template-columns:1fr;grid-template-rows:430px auto auto;grid-template-areas:'chat' 'sources' 'opportunities';gap:16px}.assistant-workspace>.source-rail{min-height:190px}.assistant-workspace>.opportunities-panel{min-height:500px}.assistant-shell .home-notices{overflow:visible}.assistant-shell .chat-welcome h2{font-size:16px}.assistant-workspace .source-link b{font-size:10px}
}
.assistant-shell{flex-direction:column}.assistant-shell>.main{width:100%;flex:none}.assistant-shell .sidebar nav .nav-item{width:auto;flex:0 0 auto}.assistant-shell .chat-welcome h2 br:after{content:' '}

/* Compact working UI: no promotional copy or oversized cards. */
.assistant-shell .chat-panel{position:relative}
.assistant-shell .chat-top{padding:12px 18px 8px}
.assistant-shell .chat-top h1{font-size:14px}
.assistant-shell .assistant-identity{border:0;background:transparent;margin:0 16px;padding:0 0 10px;gap:8px}
.assistant-shell .model-glyph{display:none}
.assistant-shell .model-account select{font-size:12px}
.assistant-shell .chat-context{position:absolute;right:54px;top:15px;border:0;padding:0}
.assistant-shell .chat-context button{font-size:10px}
.assistant-shell .chat-compose{margin-bottom:16px;box-shadow:none}
.assistant-shell .opportunities-head{padding:9px 0 14px}
.assistant-shell .opportunities-head h2{font-size:16px;letter-spacing:0}
.assistant-shell .business-card{padding:14px 16px;border-radius:8px;box-shadow:none}
.assistant-shell .business-meta{gap:8px}
.assistant-shell .business-meta .site-icon{width:25px;height:25px;padding:3px;border-radius:5px}
.assistant-shell .business-meta>b{font-size:10px;font-weight:500;color:var(--muted)}
.assistant-shell .business-title{font-size:14px;line-height:1.5;padding:11px 0;letter-spacing:-.2px}
.notice-facts{display:flex;flex-wrap:wrap;gap:6px 15px;font-size:10px;color:var(--muted);margin-bottom:11px}
.assistant-shell .business-card footer{padding-top:8px;gap:10px}
.assistant-shell .ask-notice{padding:5px 8px;font-size:10px}
.assistant-shell .notice-conflict{font-size:10px;margin-bottom:8px}
.assistant-shell .home-notices{gap:10px}
.assistant-workspace>.source-rail{padding:14px 17px}
.assistant-workspace .rail-heading{font-size:11px}
/* Readable type and comfortable controls, without extra copy. */
.assistant-shell .sidebar{height:76px}
.assistant-shell .official-brand img{width:132px;height:52px}
.assistant-shell .sidebar .nav-item{font-size:14px;padding:12px 16px;gap:10px}
.assistant-shell .sidebar .nav-item .icon{width:21px;height:21px}
.assistant-shell .content{height:calc(100dvh - 76px);min-height:760px}
.assistant-workspace{grid-template-rows:minmax(430px,1fr) 250px}
.assistant-shell .chat-top{padding:17px 22px 12px}
.assistant-shell .chat-top h1,.assistant-shell .opportunities-head h2{font-size:20px}
.assistant-shell .chat-top .icon-btn{width:40px;height:40px;font-size:28px}
.assistant-shell .chat-context{top:29px;right:75px}
.assistant-shell .chat-context button{font-size:13px;gap:7px}
.assistant-shell .chat-context .icon{width:18px;height:18px}
.assistant-shell .assistant-identity{margin:0 22px;padding-bottom:14px}
.assistant-shell .model-account select{font-size:16px;height:30px}
.assistant-shell .model-account small{font-size:12px;max-width:300px}
.assistant-shell .account-connect{font-size:13px;padding:10px 6px;gap:7px}
.assistant-shell .account-connect .icon{width:17px;height:17px}
.assistant-shell .chat-message{font-size:16px;line-height:1.75}
.assistant-shell .message-byline{font-size:13px}
.assistant-shell .message-byline span{font-size:11px}
.assistant-shell .message-text code{font-size:14px}
.assistant-shell .reply-heading{font-size:17px}
.assistant-shell .chat-compose{padding:14px 16px 12px;margin:0 20px 20px}
.assistant-shell .chat-compose textarea{font-size:16px;min-height:64px;height:64px}
.assistant-shell .refresh-choice{font-size:12px;gap:8px}
.assistant-shell .refresh-choice input{width:17px;height:17px}
.assistant-shell .refresh-choice .icon{width:17px;height:17px}
.assistant-shell .send-button{width:42px;height:42px;border-radius:9px}
.assistant-shell .send-button .icon{width:22px;height:22px}
.assistant-shell .stop-send{font-size:13px;padding:11px}
.assistant-shell .opportunities-head .icon-btn{width:42px;height:42px}
.assistant-shell .opportunities-head .icon-btn .icon{width:21px;height:21px}
.assistant-shell .opportunities-controls .filters button{font-size:13px;padding:10px 12px}
.assistant-shell .opportunity-search{max-width:200px;padding:0 12px}
.assistant-shell .opportunity-search input{font-size:13px;padding:11px 0}
.assistant-shell .opportunity-search .icon{width:18px;height:18px}
.assistant-shell .source-filter-row button{font-size:12px;padding:7px 10px}
.assistant-shell .business-card{padding:18px 20px}
.assistant-shell .business-meta{gap:10px}
.assistant-shell .business-meta .site-icon{width:36px;height:36px;padding:5px;border-radius:7px}
.assistant-shell .business-meta>b{font-size:13px}
.assistant-shell .deadline-pill{font-size:13px;padding:6px 9px}
.assistant-shell .business-title{font-size:18px;padding:13px 0;line-height:1.55}
.assistant-shell .notice-facts{font-size:13px;gap:7px 16px;margin-bottom:14px}
.assistant-shell .notice-conflict{font-size:12px}
.assistant-shell .business-card footer a{font-size:13px;min-height:36px}
.assistant-shell .business-card footer .icon{width:17px;height:17px}
.assistant-shell .ask-notice{font-size:13px;padding:9px 12px;gap:8px}
.assistant-shell .save-notice{font-size:29px;min-width:40px;min-height:40px}
.assistant-workspace>.source-rail{padding:18px 20px;gap:7px 12px}
.assistant-workspace .rail-heading{font-size:14px;margin-bottom:5px}
.assistant-workspace .live-indicator{font-size:12px;padding:1px 5px}
.assistant-workspace .source-link{padding:10px;gap:10px}
.assistant-workspace .source-link .site-icon{width:38px;height:38px}
.assistant-workspace .source-link b{font-size:13px}
.assistant-workspace .source-link small{font-size:12px}
.assistant-workspace .rail-updated,.assistant-workspace .rail-manage{font-size:12px}
.assistant-workspace .rail-updated .icon,.assistant-workspace .rail-manage .icon{width:16px;height:16px}
@media(max-width:1000px){.assistant-shell .sidebar{gap:12px;padding:0 16px}.assistant-shell .sidebar .nav-item{font-size:12px;padding:10px}.assistant-workspace .source-link b{white-space:normal}.assistant-shell .opportunities-controls{flex-wrap:wrap}.assistant-shell .opportunity-search{max-width:none}}
@media(max-width:760px){.assistant-shell .sidebar{height:auto;padding:8px 14px}.assistant-shell .sidebar .nav-item{font-size:13px}.assistant-shell .content{height:auto;min-height:0}.assistant-workspace{grid-template-rows:480px auto auto}.assistant-workspace>.source-rail{grid-template-columns:1fr}.assistant-workspace .rail-manage{grid-column:1}.assistant-shell .model-account small{max-width:200px}.assistant-shell .chat-context{right:70px}.assistant-shell .chat-compose textarea{font-size:16px}}

.source-link:hover{text-decoration:none}.source-link>.icon{width:17px;height:17px;flex-shrink:0;color:var(--muted)}.source-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}

.assistant-shell .model-picker{min-width:0;max-width:210px;margin-left:auto}.assistant-shell .model-picker select{font-size:14px;padding:9px 28px 9px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);width:100%;min-height:42px}.assistant-shell .model-account{flex:1;min-width:80px}.assistant-shell .model-account small{max-width:190px}@media(max-width:1100px){.assistant-shell .assistant-identity{flex-wrap:wrap}.assistant-shell .model-picker{max-width:190px}.assistant-shell .account-connect{margin-left:auto}}
/* Compact chat chrome; preserve readable message text. */
.assistant-shell .chat-top{padding:8px 16px 4px;min-height:36px}
.assistant-shell .chat-top h1{font-size:15px}
.assistant-shell .chat-top .icon-btn{width:30px;height:30px;font-size:24px}
.assistant-shell .chat-context{top:16px;right:58px}
.assistant-shell .chat-context button{font-size:11px}
.assistant-shell .assistant-identity{margin:0 16px;padding:4px 0 9px;gap:10px;flex-wrap:nowrap;border-bottom:1px solid var(--line)}
.assistant-shell .model-account{display:flex;align-items:center;gap:9px;flex:1;min-width:0}
.assistant-shell .model-account select{font-size:13px;height:28px;max-width:105px;flex-shrink:0}
.assistant-shell .model-account small{font-size:10px;max-width:165px;min-width:0}
.assistant-shell .model-picker{max-width:160px;margin-left:0;flex:0 1 160px}
.assistant-shell .model-picker select{font-size:12px;min-height:30px;height:30px;padding:4px 22px 4px 8px}
.assistant-shell .account-connect{font-size:11px;padding:5px 0;gap:4px;margin-left:0}
.assistant-shell .account-connect .icon{width:14px;height:14px}
.assistant-shell .chat-messages{padding-top:14px}
@media(max-width:1100px){.assistant-shell .model-account{display:block}.assistant-shell .model-account small{max-width:135px}.assistant-shell .assistant-identity{gap:8px}.assistant-shell .model-picker{flex-basis:140px;max-width:140px}}

.notice-summary{margin:18px 0 22px;padding:16px 18px;border:1px solid var(--line);border-radius:9px;background:var(--tint);font-size:15px;line-height:1.8;overflow-wrap:anywhere}.notice-summary p{margin:0 0 8px}.notice-summary p:last-child{margin:0}

.assistant-shell .chat-compose .assistant-identity{margin:6px 0 8px;padding:8px 0 0;border-bottom:0;border-top:1px solid var(--line)}.assistant-shell .chat-compose .model-picker select{background:var(--bg)}.assistant-shell .chat-top{border-bottom:1px solid var(--line);padding-bottom:10px}
/* Give the conversation priority over composer and source chrome. */
.assistant-workspace{grid-template-rows:minmax(470px,1fr) 200px}
.assistant-workspace>.source-rail{padding:12px 16px;gap:4px 10px}
.assistant-workspace .source-link{padding:7px 9px}
.assistant-workspace .source-link .site-icon{width:30px;height:30px}
.assistant-workspace .rail-updated{padding:3px 0}
.assistant-shell .chat-compose{position:relative;margin:0 14px 12px;padding:10px 12px 7px}
.assistant-shell .chat-compose textarea{height:40px;min-height:40px;font-size:16px;line-height:1.5;padding-right:42px}
.assistant-shell .chat-compose .assistant-identity{margin:4px 0 0;padding:5px 0 0;gap:8px;border:0}
.assistant-shell .chat-compose .compose-toolbar{position:static}
.assistant-shell .chat-compose .send-button,.assistant-shell .chat-compose .stop-send{position:absolute;right:10px;top:9px;width:34px;height:34px}
.assistant-shell .chat-compose .refresh-choice{font-size:11px;margin-top:6px;gap:5px}
.assistant-shell .chat-compose .refresh-choice input{width:13px;height:13px}
.assistant-shell .chat-compose .refresh-choice .icon{width:13px;height:13px}
.assistant-shell .chat-compose .model-account select{height:24px;font-size:12px}
.assistant-shell .chat-compose .model-account small{font-size:10px}
.assistant-shell .chat-compose .model-picker select{height:28px;min-height:28px;font-size:11px}
.assistant-shell .chat-messages{flex:1;min-height:180px}
@media(max-width:760px){.assistant-workspace{grid-template-rows:minmax(530px,75dvh) auto auto}.assistant-workspace>.source-rail{min-height:0}.assistant-shell .chat-compose .model-account small{max-width:110px}.assistant-shell .chat-compose .model-picker{max-width:125px;flex-basis:125px}.assistant-shell .chat-compose .account-connect{font-size:10px}}
/* Requested side swap: opportunities left, conversation right. */
@media(min-width:761px){.assistant-workspace{grid-template-columns:minmax(440px,1.06fr) minmax(380px,.94fr);grid-template-areas:'opportunities chat' 'opportunities sources'}}
@media(min-width:761px) and (max-width:1000px){.assistant-workspace{grid-template-columns:minmax(340px,1.06fr) minmax(310px,.94fr)}}
/* Sites above opportunities on the left; full-height conversation on the right. */
@media(min-width:761px){.assistant-workspace{grid-template-rows:200px minmax(470px,1fr);grid-template-areas:'sources chat' 'opportunities chat'}}
@media(max-width:760px){.assistant-workspace{grid-template-rows:auto auto minmax(530px,75dvh);grid-template-areas:'sources' 'opportunities' 'chat'}.assistant-shell .home-notices{max-height:600px;overflow:auto}}
/* Larger workspace text outside the LLM panel only. */
.assistant-shell .sidebar .nav-item{font-size:18px;padding:12px 16px}
.assistant-shell .sidebar .nav-item .icon{width:24px;height:24px}
.assistant-workspace>.source-rail{padding:16px 20px;gap:8px 14px}
.assistant-workspace .rail-heading{font-size:20px}
.assistant-workspace .live-indicator{font-size:16px}
.assistant-workspace .source-link{padding:10px 12px;gap:12px}
.assistant-workspace .source-link b{font-size:18px;white-space:normal;line-height:1.4}
.assistant-workspace .source-link small{font-size:16px;line-height:1.4}
.assistant-workspace .source-link .site-icon{width:42px;height:42px}
.assistant-workspace .source-link>.icon{width:21px;height:21px}
.assistant-workspace .rail-updated,.assistant-workspace .rail-manage{font-size:15px}
.assistant-shell .opportunities-head h2{font-size:28px}
.assistant-shell .opportunities-head .number{font-size:18px}
.assistant-shell .opportunities-controls .filters button{font-size:18px;padding:11px 14px}
.assistant-shell .opportunity-search{max-width:230px}
.assistant-shell .opportunity-search input{font-size:18px;padding:12px 0}
.assistant-shell .source-filter-row button{font-size:16px;padding:8px 11px}
.assistant-shell .business-meta>b{font-size:17px;line-height:1.4}
.assistant-shell .business-meta .site-icon{width:42px;height:42px}
.assistant-shell .deadline-pill{font-size:17px;padding:7px 10px}
.assistant-shell .business-title{font-size:24px;line-height:1.5;padding:15px 0}
.assistant-shell .notice-facts{font-size:17px;line-height:1.6}
.assistant-shell .notice-conflict{font-size:16px;line-height:1.5}
.assistant-shell .business-card footer a,.assistant-shell .ask-notice{font-size:17px}
.assistant-shell .business-card footer .icon{width:20px;height:20px}
.assistant-shell .business-card{padding:20px 22px}
.assistant-shell .opportunities-controls{flex-wrap:wrap}
@media(min-width:761px){.assistant-workspace{grid-template-rows:260px minmax(420px,1fr)}}
@media(max-width:1200px){.assistant-shell .sidebar nav{overflow-x:auto}.assistant-shell .sidebar .nav-item{font-size:16px}.assistant-workspace .source-link b{font-size:16px}.assistant-workspace .source-link small{font-size:15px}.assistant-workspace .source-link .site-icon{width:36px;height:36px}.assistant-workspace .rail-updated{font-size:13px}}
@media(max-width:760px){.assistant-shell .sidebar .nav-item{font-size:16px}.assistant-shell .business-title{font-size:22px}.assistant-workspace .source-link b{font-size:18px}.assistant-workspace .source-link small{font-size:16px}}
/* Many real sources: compact institution selector, readable recommendation cards. */
.source-filter-row[hidden]{display:none}
.source-filter-row select{width:100%;font-size:18px;padding:10px 14px;background:var(--surface,#fff);color:inherit;border:1px solid var(--border,#dce5e0);border-radius:10px}
.recommended-site header{display:flex;align-items:center;gap:14px}
.recommended-site header>a{flex:1;font-size:23px;font-weight:650;color:inherit;text-decoration:none}
.recommended-site header>a svg{width:20px;height:20px}
.recommended-site p{font-size:20px;margin:16px 0 0}
.recommended-site small{display:block;font-size:16px;margin-top:12px;color:var(--muted)}
.opportunities-controls .filters{flex-wrap:wrap}
.source-rail .site-icon>svg{width:24px;height:24px}
/* Three independent columns: sources, opportunities, conversation. */
@media(min-width:761px){
 .assistant-shell .content{height:calc(100dvh - 68px);min-height:0;padding:16px;max-width:none;overflow-x:auto}
 .assistant-workspace{height:100%;min-height:0;min-width:1050px;grid-template-columns:minmax(230px,.65fr) minmax(360px,1fr) minmax(420px,1.25fr);grid-template-rows:minmax(0,1fr);grid-template-areas:'sources opportunities chat';gap:16px}
 .assistant-workspace>.source-rail{display:flex;flex-direction:column;gap:10px;padding:16px;overflow-y:auto}
 .assistant-workspace .source-link{flex-shrink:0}
 .assistant-workspace .rail-heading{flex-shrink:0}
 .assistant-workspace .rail-manage{margin-top:auto}
 .assistant-workspace>.opportunities-panel{display:flex;flex-direction:column;overflow:hidden}
 .assistant-shell .home-notices{flex:1;min-height:0;overflow-y:auto}
 .assistant-shell .opportunities-controls{gap:10px}
 .assistant-shell .opportunity-search{max-width:none;width:100%}
 .assistant-shell .opportunities-controls .filters{gap:6px}
 .assistant-shell .opportunities-controls .filters button{padding:8px 10px}
 .assistant-workspace>.chat-panel{overflow:hidden}
}
.site-recommendations{flex-shrink:0;border-top:1px solid var(--line);padding-top:12px}
.site-recommendations summary{cursor:pointer;font-size:18px;font-weight:600;padding:10px 0;color:var(--green)}
.site-recommendations summary span{font-size:15px;margin-left:8px}
.site-recommendations .recommended-site{padding:12px;margin:10px 0;border:1px solid var(--line);border-radius:10px}
.site-recommendations .recommended-site header{flex-wrap:wrap;gap:8px}
.site-recommendations .recommended-site header>a{font-size:18px;min-width:120px}
.site-recommendations .recommended-site p{font-size:16px;margin-top:8px}
.site-recommendations .recommended-site small{font-size:14px}
/* Shared navigation and readable content across every workspace tab. */
.workspace-page .content{height:auto;min-height:calc(100dvh - 68px);max-width:none;padding:24px;overflow:visible}
.workspace-page .heading{margin-bottom:24px}
.workspace-page .heading h1{font-size:28px}
.workspace-page .heading p{font-size:16px}
.workspace-page .filters button,.workspace-page .btn,.workspace-page .searchbox input{font-size:17px}
.workspace-page table{font-size:18px}
.workspace-page th{font-size:16px}
.workspace-page td.title-cell small{font-size:16px}
.workspace-page .tag{font-size:15px}
.workspace-page .table-foot{font-size:15px}
.workspace-page .source-list h3{font-size:22px}
.workspace-page .source-list p,.workspace-page .source-list a{font-size:17px}
@media(max-width:760px){.workspace-page .content{padding:16px}.workspace-page .heading{flex-wrap:wrap}.workspace-page .toolbar{gap:14px}}
/* Keep long institution names and external-link icons inside each site row. */
.source-link{min-width:0;max-width:100%;overflow:hidden}
.source-link>span:not(.site-icon){flex:1;min-width:0}
.source-link b,.source-link small{overflow-wrap:anywhere;white-space:normal}
.source-link>.site-icon,.source-link>.source-led,.source-link>.icon{flex-shrink:0}
