/* IA TechBridge: a branded assistant and a reviewable blueprint, scoped to the new section. */
#techbridge-generative{display:inline-flex;align-items:center;gap:9px;padding:5px 11px 5px 5px;border:1px solid #335c8c;border-radius:12px;background:#132c48;color:#f5fbff;white-space:nowrap;box-shadow:0 3px 9px #071b3015;min-height:48px;flex-shrink:0}
#techbridge-generative:hover{background:#1b3e61;border-color:#69a4d9}#techbridge-generative .gen-mark{width:37px;height:37px}#techbridge-generative>span{text-align:left;display:flex;flex-direction:column;gap:1px}#techbridge-generative strong{font-size:11px;font-weight:650}#techbridge-generative small{font-size:7px;letter-spacing:1.7px;color:#9fc7e7}#techbridge-generative:disabled{opacity:.45;cursor:default}
.operations-active #techbridge-generative{background:#f3f7ff;border-color:#c5d8f0;color:#244f82}.operations-active #techbridge-generative small{color:#7191b8}
.gen-mark{width:42px;height:42px;flex-shrink:0;display:block}
#gen-drawer{position:fixed;right:24px;bottom:20px;width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px);z-index:600;background:#fff;color:#213b57;border:1px solid #c6d8eb;border-radius:17px;box-shadow:0 18px 80px #0d294744;overflow:auto;color-scheme:light;font:13px/1.7 'Segoe UI',sans-serif}
#gen-drawer[hidden]{display:none}.gen-drawer-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4ebf4;padding:10px 17px;font-size:10px;letter-spacing:.8px;color:#6987a9;background:#f7faff}.gen-drawer-toolbar button{border:1px solid #d8e4f1;border-radius:7px;background:#fff;color:#6e87a6;padding:1px 8px;font-size:19px;line-height:1.4}
.gen-choice-heading{display:flex;gap:15px;align-items:flex-start;padding:26px 25px 17px}.gen-choice-heading .gen-mark{width:52px;height:52px}.gen-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#7190b2;line-height:1.6}.gen-choice-heading h2{font-size:24px;letter-spacing:-.6px;margin:7px 0 5px;color:#213e5f}.gen-choice-heading p{margin:0;font-size:12px;color:#7a8fa9}
.gen-mode-options{display:grid;gap:12px;padding:0 24px 17px}.gen-mode-options>button{display:flex;gap:14px;align-items:center;padding:18px 16px;border:1px solid #d9e4f1;border-radius:12px;background:#f8faff;color:#294e78;text-align:left}.gen-mode-options>button:hover{background:#eef5ff;border-color:#9ebde2}.gen-mode-options>button:disabled{opacity:.45;cursor:default}.gen-mode-symbol{display:grid;place-items:center;width:39px;height:42px;border:1px solid #cfe0f6;background:#eaf2ff;border-radius:10px;color:#5381bb;font-size:24px;flex-shrink:0}.gen-mode-options strong{display:block;font-size:14px}.gen-mode-options small{display:block;font-size:11px;line-height:1.8;color:#7a8fa9;margin-top:5px}.gen-mode-options b{margin-left:auto;font-weight:400;color:#7f9fc6}.gen-footnote{margin:0;padding:0 25px 23px;font-size:10px;color:#8a9eb7}
.gen-page-heading h1{max-width:850px!important}.gen-page-heading>button{align-self:flex-start;white-space:nowrap}
.gen-roster-summary{display:flex;align-items:center;gap:15px;font-size:12px;color:#7088a3;margin:0 0 12px}.gen-roster-summary strong{color:#315777;font-size:13px}.gen-roster-summary>span{border-left:1px solid #cbd9e9;padding-left:15px}.gen-roster-summary small{margin-left:auto;font-size:10px;color:#8a9eb4}
.gen-roster-details{margin:0 0 20px!important;border:1px solid #dce6f1!important;padding:12px 18px!important;border-radius:10px;background:#fff}.gen-roster-details summary{font-size:11px!important;color:#5c7ba2!important}.gen-roster-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;max-height:290px;overflow:auto}.gen-roster-list article{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid #e4ebf3;border-radius:8px;min-width:0}.gen-agent-id{display:grid;place-items:center;width:31px;height:31px;background:#edf3fb;border-radius:8px;color:#6b89af;font:12px Consolas,monospace;flex-shrink:0}.gen-roster-list article>div{flex:1;min-width:0}.gen-roster-list strong{display:block;font-size:11px;line-height:1.6;color:#3b5d83}.gen-roster-list small{display:block;font-size:9px;color:#8a9eb6;margin-top:3px}.gen-roster-list button{font-size:10px!important;padding:6px 9px!important;min-height:31px!important}.gen-roster-list .gen-retire{color:#af6d6c!important;min-width:29px}
.gen-builder-layout{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(330px,.97fr);gap:23px;align-items:start}.gen-chat{display:flex;flex-direction:column;min-width:0;height:clamp(550px,calc(100dvh - 320px),760px);background:#fff;border:1px solid #d8e4f2;border-radius:15px;box-shadow:0 2px 6px #17396004;overflow:hidden;color:#274b72;color-scheme:light}.gen-chat-header{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #e3ebf5;background:#fbfcff}.gen-chat-header>div{flex:1;min-width:0}.gen-chat-header strong{display:block;font-size:14px;color:#284c76}.gen-chat-header small{display:block;font-size:10px;color:#8b9fb8;line-height:1.7;margin-top:3px}.gen-chat-header>button{width:31px;height:31px;padding:0!important;min-height:31px!important;border:1px solid #dce7f5;border-radius:8px;background:#fff;color:#7396c0;font-size:20px!important}
.gen-history-label{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;padding:8px 19px;margin:0!important;color:#91a3b9!important;font-size:10px!important;border-bottom:1px solid #eef2f8}.gen-history-label select{border:0!important;background:none!important;padding:3px 7px!important;color:#6a86a9!important;font-size:10px!important;flex:1;min-width:0;outline-offset:0}
.gen-thread{flex:1;min-height:190px;overflow:auto;padding:20px;scrollbar-color:#cad8e9 transparent}.gen-message{margin-bottom:22px;line-height:1.9;font-size:12px;overflow-wrap:anywhere}.gen-message>span{display:block;font-size:8px;letter-spacing:1.4px;font-weight:700;color:#7d98ba;margin-bottom:7px}.gen-message>div{padding:14px 17px;border-radius:11px;background:#f1f6fd;color:#45688f}.gen-message-user{margin-left:28px}.gen-message-user>span{text-align:right}.gen-message-user>div{background:#e9f1fc;color:#355a86;border:1px solid #dce7f8}.gen-message-assistant>div{background:#f9fbfe;border:1px solid #e1eaf6;color:#4e6f95}.gen-message strong{color:#2d527e}.gen-message>button{font-size:10px!important;min-height:31px!important;padding:6px 10px!important;margin-top:7px;border:1px solid #d7e4f4;background:#fff;border-radius:7px;color:#5a7ea9}
.gen-chat form{border-top:1px solid #e1eaf5;padding:16px 19px;background:#fff}.gen-input-label{display:block!important;color:#5f80a7!important;font-size:10px!important;margin:0 0 7px!important;font-weight:600}.gen-chat textarea{display:block;width:100%;background:#f9fbfe!important;border:1px solid #cdddef!important;border-radius:10px!important;color:#335982!important;resize:vertical;min-height:76px;max-height:180px;padding:12px!important;font:12px/1.8 'Segoe UI',sans-serif!important}.gen-chat textarea::placeholder{color:#9aadc4}.gen-send-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:11px}.gen-send-row small{font-size:9px;color:#95a7bc;line-height:1.7;max-width:280px}.gen-send-row button{display:flex;align-items:center;gap:20px;flex-shrink:0;border:1px solid #265dc8;border-radius:8px;padding:9px 16px;font-size:11px;background:#265dc8;color:#fff}
.gen-error{font-size:11px;color:#a85656;padding:0 20px 12px;line-height:1.8}.gen-error:empty{display:none}.gen-welcome{display:flex;flex-direction:column;align-items:flex-start;padding:13px 4px 20px}.gen-welcome-symbol{display:grid;place-items:center;width:49px;height:49px;border:1px solid #d3e2f5;background:#edf4ff;border-radius:13px;color:#88a7ce;font-size:30px;margin-bottom:14px}.gen-welcome h3{font-size:20px!important;line-height:1.4!important;letter-spacing:-.4px;max-width:370px;margin:0 0 11px;color:#32557d}.gen-welcome p{font-size:12px!important;color:#859ab5!important;line-height:1.9!important;margin:0 0 17px!important}.gen-starters{display:flex;flex-direction:column;gap:7px;width:100%}.gen-starters button{text-align:left;padding:9px 12px!important;font-size:10px!important;min-height:36px!important;background:#fff;border:1px solid #e0e9f5;border-radius:8px;color:#6282aa;font-weight:400!important}.gen-starters button:hover{background:#f3f8ff!important}
.gen-thinking{display:flex;align-items:center;gap:4px;color:#91a7c0;font-size:10px;padding:2px 0 6px}.gen-thinking>span{width:5px;height:5px;background:#8cafda;border-radius:50%;animation:gen-breathe 1.5s infinite}.gen-thinking>span:nth-child(2){animation-delay:.2s}.gen-thinking>span:nth-child(3){animation-delay:.4s}.gen-thinking p{font-size:10px!important;color:#91a7c0!important;margin:0 0 0 9px!important}@keyframes gen-breathe{50%{opacity:.25}}
.gen-blueprint{background:#fff;border:1px solid #dce6f1;border-radius:15px;overflow:hidden;min-height:430px}.gen-blueprint-empty{padding:34px;display:flex;flex-direction:column;align-items:flex-start}.gen-drawing{position:relative;display:grid;place-items:center;width:92px;height:85px;font-size:62px;color:#9fb7d7;background:linear-gradient(#e3ebf644 1px,transparent 1px),linear-gradient(90deg,#e3ebf644 1px,transparent 1px),#f7faff;background-size:13px 13px;border:1px solid #dce7f5;border-radius:13px;margin-bottom:27px}.gen-drawing i{position:absolute;bottom:-8px;right:-8px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #bed5f1;background:#e6effd;color:#719bcf;font-size:20px;font-style:normal;border-radius:8px}.gen-blueprint-empty h2{font-size:24px!important;letter-spacing:-.5px;margin:10px 0 13px}.gen-blueprint-empty p{font-size:12px;line-height:1.9;color:#8298b3!important;margin:0 0 24px}.gen-blueprint-empty ol{list-style:none;padding:0;margin:0;width:100%;border-top:1px solid #e4ebf5}.gen-blueprint-empty li{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #e8eef6;font-size:11px;color:#7590af}.gen-blueprint-empty li b{font:11px Consolas,monospace;color:#a4b8d1}
.gen-plan-heading{padding:25px 25px 21px;border-bottom:1px solid #e0e9f5;background:#f5f9ff}.gen-plan-heading h2{font-size:23px!important;line-height:1.4;letter-spacing:-.5px;margin:11px 0 10px}.gen-plan-heading p{font-size:12px;color:#7690b0!important;line-height:1.9;margin:0}.gen-status{display:block;width:fit-content;background:#fff6df;border:1px solid #f0ddb2;border-radius:5px;padding:4px 8px;font-size:9px;color:#a0803b;margin-top:10px}.gen-status-applied{background:#e8f7ee;border-color:#bedfce;color:#4a8b6c}.gen-status-rejected,.gen-status-undone,.gen-status-superseded{background:#eef2f8;border-color:#d6e0ed;color:#8399b4}.gen-plan-changes{padding:5px 25px}.gen-plan-changes article{display:flex;align-items:flex-start;gap:15px;padding:20px 0;border-bottom:1px solid #e6edf6}.gen-plan-changes article:last-child{border-bottom:0}.gen-change-symbol{display:grid;place-items:center;flex-shrink:0;width:32px;height:33px;background:#edf4fd;border:1px solid #d8e5f6;border-radius:8px;color:#7299c9;font-size:21px}.gen-plan-changes h3{font-size:14px!important;line-height:1.6!important;margin:0 0 4px}.gen-plan-changes small{font-size:9px;color:#8b9fba}.gen-plan-changes ul{padding:0 0 0 15px;margin:9px 0 0}.gen-plan-changes li{font-size:11px!important;line-height:1.85!important;color:#7892b0!important;margin:5px 0;overflow-wrap:anywhere}.gen-skill-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.gen-skill-chips span{background:#f1f6fd;border:1px solid #dce8f7;border-radius:5px;font-size:9px;color:#6b8db6;padding:4px 7px}
.gen-approval-note{display:flex;align-items:flex-start;gap:12px;padding:18px 24px;background:#f7faff;border-top:1px solid #e4edf8}.gen-approval-note .gen-mark{width:28px;height:28px}.gen-approval-note p{font-size:10px!important;line-height:1.9!important;color:#88a0bd!important;margin:0!important}.gen-plan-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:20px 24px;background:#fff}.gen-plan-actions button{width:100%;font-size:11px!important;min-height:43px!important}.gen-muted{padding:22px;font-size:11px;color:#8ba1bc!important;line-height:1.9}.gen-chat-compact{height:min(690px,calc(100dvh - 160px));min-height:400px;border:0;box-shadow:none;border-radius:0}.gen-chat-compact .gen-chat-header{padding:18px}.gen-chat-compact .gen-chat-header small{max-width:260px}
.gen-custom-navigation{padding:8px 0;border-top:1px solid #ffffff15;margin-top:15px}.gen-custom-navigation>span{font-size:8px;letter-spacing:1px;color:#6f8dad;padding:8px 12px;display:block}.gen-custom-navigation button{display:flex!important;align-items:center;width:100%;gap:9px!important;background:transparent!important;color:#a9c2de!important;border:0!important;text-align:left;padding:10px 12px!important;font-size:11px!important}.gen-custom-navigation i{width:6px;height:6px;display:block;flex-shrink:0;border-radius:50%;margin:0}
.gen-spec-review{font-size:11px;line-height:1.9;color:#6784a6}.gen-spec-review summary{font-size:10px!important}.gen-spec-review h4{font-size:12px;margin:17px 0 8px;color:#41658e}.gen-spec-review>div{white-space:normal;overflow-wrap:anywhere}.gen-spec-review p{font-size:11px!important;color:#8a9eb8!important}
.gen-blueprint.gen-has-plan{height:clamp(550px,calc(100dvh - 320px),760px);display:flex;flex-direction:column}.gen-has-plan .gen-plan-heading{flex-shrink:0;max-height:220px;overflow:auto}.gen-has-plan .gen-plan-changes{flex:1;min-height:90px;overflow:auto;scrollbar-color:#cedcec transparent}.gen-has-plan .gen-approval-note,.gen-has-plan .gen-plan-actions{flex-shrink:0}.gen-has-plan .gen-plan-actions{padding-top:14px;padding-bottom:14px}.gen-has-plan .gen-approval-note{padding-top:13px;padding-bottom:13px}
#gen-drawer :is(button,a,input,textarea,select):focus-visible,.gen-builder-layout :is(button,input,textarea,select):focus-visible{outline:3px solid #97baf1;outline-offset:3px}
@media(max-width:1250px){#techbridge-generative>span{display:none}#techbridge-generative{padding:3px;border-radius:11px;min-height:41px}#techbridge-generative .gen-mark{width:34px;height:34px}.gen-builder-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:17px}.gen-chat-header small{font-size:9px}.gen-plan-heading,.gen-plan-changes{padding-left:19px;padding-right:19px}.gen-roster-summary small{display:none}}
@media(max-width:950px){.gen-builder-layout{grid-template-columns:1fr}.gen-chat{height:610px}.gen-blueprint{min-height:0}.gen-roster-list{grid-template-columns:1fr}.gen-blueprint-empty{padding:25px}.gen-blueprint-empty ol{display:flex;gap:13px;flex-wrap:wrap}.gen-blueprint-empty li{border:0;font-size:10px;gap:8px}.gen-blueprint-empty p{margin-bottom:15px}.gen-drawing{display:none}.gen-page-heading{gap:13px!important}.gen-chat-compact{height:min(690px,calc(100dvh - 160px))}}
@media(max-width:600px){#gen-drawer{right:9px;bottom:9px;width:calc(100vw - 18px);max-width:none;max-height:calc(100dvh - 90px);border-radius:14px}.gen-chat-compact{height:calc(100dvh - 145px);min-height:330px}.gen-choice-heading{padding:23px 19px 17px}.gen-choice-heading h2{font-size:23px}.gen-mode-options{padding:0 18px 16px}.gen-mode-options>button{padding:15px 13px}.gen-mode-options small{font-size:10px}.gen-footnote{padding-left:19px;font-size:9px}.gen-roster-summary{gap:10px;font-size:10px}.gen-roster-summary strong{font-size:12px}.gen-roster-summary>span{padding-left:10px}.gen-roster-details{padding:10px 13px!important}.gen-roster-list article{gap:8px}.gen-roster-list strong{font-size:10px}.gen-roster-list button{font-size:9px!important;padding:5px 7px!important}.gen-roster-list .gen-agent-id{width:26px;height:28px;font-size:10px}.gen-chat{height:570px;min-height:460px}.gen-chat-compact{height:calc(100dvh - 145px)}.gen-chat-header{padding:15px}.gen-chat-header strong{font-size:13px}.gen-chat-header .gen-mark{width:35px;height:35px}.gen-chat-header small{font-size:9px}.gen-thread{padding:17px}.gen-chat form{padding:13px 15px}.gen-send-row small{font-size:8px;max-width:200px}.gen-input-label{font-size:9px!important}.gen-message{font-size:11px}.gen-message-user{margin-left:17px}.gen-plan-heading h2{font-size:21px!important}.gen-plan-actions{padding:17px 19px}.gen-custom-navigation{display:flex;margin:0;padding:0;border:0;flex-shrink:0}.gen-custom-navigation>span{display:none}.gen-custom-navigation button{white-space:nowrap;width:auto}body>header{gap:10px}#techbridge-generative{min-height:37px;padding:2px}#techbridge-generative .gen-mark{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.gen-thinking>span{animation:none}}
