:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#e9eef7;background:#0b1020}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#17203a 0,#0b1020 48%);min-height:100vh}.app{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{border-right:1px solid #26314f;background:#0b1020dd;padding:22px 16px;display:flex;flex-direction:column;gap:10px}.brand{display:flex;gap:11px;align-items:center;margin-bottom:22px}.logo{width:38px;height:38px;border-radius:12px;background:#6c7cff;display:grid;place-items:center;font-weight:800}.brand strong,.brand span{display:block}.brand span{font-size:12px;color:#9ba8c7}.nav{border:0;background:transparent;cursor:pointer;color:#b9c4de;text-align:left;padding:11px 12px;border-radius:10px;font-size:14px}.nav.active,.nav:hover{background:#18213a;color:#fff}.status-card{margin-top:auto;border:1px solid #273454;border-radius:12px;padding:12px;display:flex;gap:10px;align-items:center}.status-card b,.status-card small{display:block}.status-card small{color:#8997ba;font-size:11px;margin-top:2px}.dot{width:9px;height:9px;border-radius:50%;background:#f0a43c}.dot.ok{background:#4ed392}.main{max-width:1220px;width:100%;margin:0 auto;padding:24px 30px;display:grid;grid-template-rows:auto minmax(280px,1fr) auto auto auto;gap:14px}header{display:flex;justify-content:space-between;align-items:center}h1{margin:0;font-size:25px}header p{margin:5px 0 0;color:#9eabc9;font-size:13px}.pair{border:1px solid #2c3a60;background:#121a30;border-radius:12px;padding:9px 14px;text-align:center}.pair span,.pair small{display:block;color:#8f9dbd;font-size:10px}.pair b{font-size:21px;letter-spacing:4px}.chat{overflow:auto;border:1px solid #273454;border-radius:16px;background:#0f1629;padding:16px;min-height:300px;max-height:52vh}.msg{max-width:820px;padding:12px 14px;border-radius:13px;margin:8px 0;white-space:pre-wrap;line-height:1.45}.msg.user{margin-left:auto;background:#5367e8}.msg.system{background:#1b263f;color:#c7d1e8}.msg.tool{background:#122c2c;color:#bfe8dc;border:1px solid #25504a}.msg.assistant{background:#202b45}.meta{font-size:10px;opacity:.65;margin-bottom:5px}.monitor{border:1px solid #273454;border-radius:14px;background:#10182b;padding:12px}.monitor-head{display:flex;justify-content:space-between;color:#cbd5eb}.monitor-head span{font-size:12px;color:#9faccc}.plans,.commands{display:flex;gap:8px;overflow:auto;margin-top:9px}.card{min-width:250px;border:1px solid #2b3a5d;background:#141e34;border-radius:10px;padding:10px;font-size:12px}.card b{display:block;margin-bottom:4px}.card small{color:#93a0bf}.card button{margin-top:8px;border:0;border-radius:8px;padding:7px 10px;background:#6074ef;color:white}.composer{display:grid;grid-template-columns:1fr auto;gap:10px}.composer textarea{resize:none;border:1px solid #334267;border-radius:14px;background:#11192d;color:#fff;padding:14px;font:inherit}.composer button{border:0;border-radius:14px;background:#6578f3;color:#fff;padding:0 22px;font-weight:700}.notice{font-size:11px;color:#8491af;text-align:center}@media(max-width:800px){.app{grid-template-columns:1fr}.sidebar{display:none}.main{padding:14px}.pair{display:none}.chat{max-height:48vh}}

.browser-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.browser-actions button{border:1px solid #40517d;border-radius:9px;background:#1a2540;color:#dfe7fb;padding:9px 12px;font-weight:700;cursor:pointer}.browser-actions button.primary{background:#5d72ef;border-color:#6c7fff;color:#fff}.browser-actions button:disabled{opacity:.45;cursor:not-allowed}.browser-actions span{color:#8795b6;font-size:11px}.browser-result{margin-top:10px;border:1px solid #2b3a5d;border-radius:10px;padding:11px 12px;background:#121b30;font-size:12px;line-height:1.45}.browser-result b{display:block;margin-bottom:4px}.browser-result div{color:#9dabc9}.browser-result.ok{border-color:#315d4d;background:#102821}.browser-result.error{border-color:#6b3541;background:#2a151d}.browser-result.working{border-color:#5b5431;background:#282411}.read-preview{margin-top:8px;padding:9px;border-radius:8px;background:#0d1425;max-height:135px;overflow:auto;white-space:pre-wrap;color:#aebbd5!important}@media(max-width:800px){.browser-actions button{flex:1;min-width:140px}}
.msg.local-router{border:1px solid #3a4f79;background:#1a2945}.prompt-chips{display:flex;gap:8px;flex-wrap:wrap}.prompt-chips button{border:1px solid #33466f;background:#111b31;color:#bfcbe5;border-radius:999px;padding:7px 11px;cursor:pointer;font-size:12px}.prompt-chips button:hover{background:#182642;color:#fff}.notice b{color:#aab7d3}@media(max-width:800px){.prompt-chips button{flex:1;min-width:150px}}
.host-card{border:1px solid #263554;background:#101a30;border-radius:16px;padding:14px;margin-bottom:14px}.host-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:10px 0}.host-grid>div{background:#0c1426;border:1px solid #263554;border-radius:12px;padding:10px}.host-grid small{display:block;color:#9aabd0;margin-bottom:6px}.host-grid code{word-break:break-all;color:#c9d5ff}.host-grid b{font-size:22px}
.web-host-card{border:1px solid #4b3f78;background:linear-gradient(180deg,#17142d,#11182b);border-radius:16px;padding:14px;margin-bottom:14px}.web-grid{display:grid;grid-template-columns:1.4fr 1.4fr .8fr;gap:10px;margin:10px 0}.web-grid>div{background:#0c1426;border:1px solid #2f355d;border-radius:12px;padding:10px;min-width:0}.web-grid small{display:block;color:#9aabd0;margin-bottom:6px}.web-grid b{display:block;color:#d8dcff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.web-instructions{margin-top:10px;border:1px dashed #5d5680;border-radius:10px;padding:9px 10px;color:#aab5d3;font-size:11px;line-height:1.5}.web-instructions code,.notice code{color:#d4dcff}.msg.chatgpt-web{border:1px solid #6755a8;background:#241d42}.host-card summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;color:#cbd5eb}.host-card summary span{font-size:12px;color:#9faccc;font-weight:400}.host-card[open] summary{margin-bottom:10px}@media(max-width:800px){.web-grid{grid-template-columns:1fr}.web-grid b{white-space:normal}}

/* V012 — resultado visível do teste MCP e prevenção de overflow horizontal */
html,body{max-width:100%;overflow-x:hidden}.main,.monitor,.web-host-card,.host-card{min-width:0}.monitor-head{gap:12px}.monitor-head span{overflow-wrap:anywhere;text-align:right}.commands{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));overflow:visible;width:100%}.commands .card{min-width:0;overflow-wrap:anywhere}.plans{display:flex;overflow:auto}.mcp-test-result{margin-top:10px;border:1px solid #2b3a5d;border-radius:10px;padding:12px 14px;background:#121b30;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.mcp-test-result b{display:block;margin-bottom:4px}.mcp-test-result div{color:#aab6d1}.mcp-test-result.ok{border-color:#315d4d;background:#102821}.mcp-test-result.error{border-color:#6b3541;background:#2a151d}.mcp-test-result.working{border-color:#5b5431;background:#282411}.mcp-test-result.idle{border-style:dashed;color:#aab6d1}@media(max-width:800px){.host-grid{grid-template-columns:1fr}.commands{grid-template-columns:1fr}.monitor-head{align-items:flex-start;flex-direction:column}.monitor-head span{text-align:left}}

#sectionApp,#sectionCatalog,#sectionBrowser{scroll-margin-top:18px} #sectionApp:focus,#sectionCatalog:focus{outline:none}

/* V022 — bancada local do primeiro anúncio real */
#sectionPilot{scroll-margin-top:18px;outline:none}.pilot-card{border:1px solid #5b466e;background:linear-gradient(180deg,#161329,#10172a);border-radius:16px;padding:14px}.pilot-warning{margin:10px 0 14px;padding:10px 12px;border:1px solid #795d32;border-radius:10px;background:#2a2111;color:#e8d3a0;font-size:12px;line-height:1.45}.pilot-step{border:1px solid #2d3b5e;background:#0f182b;border-radius:12px;padding:12px;margin:10px 0}.pilot-step-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}.pilot-step-head>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#5b6ff0;color:white;font-weight:800;flex:0 0 auto}.pilot-step-head b,.pilot-step-head small{display:block}.pilot-step-head small{color:#94a3c4;font-size:11px;margin-top:3px}.pilot-grid{display:grid;gap:10px}.pilot-grid.two{grid-template-columns:1fr 1fr}.pilot-grid.three{grid-template-columns:1fr 1fr 1fr}.pilot-step label{display:block;color:#aab7d4;font-size:11px;margin:8px 0}.pilot-step input,.pilot-step select,.pilot-step textarea{width:100%;margin-top:5px;border:1px solid #344467;background:#0c1426;color:#eef3ff;border-radius:9px;padding:9px 10px;font:inherit}.pilot-step textarea{resize:vertical}.pilot-step code{color:#d8e0ff}.pilot-actions{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0}.pilot-actions button,.pilot-create button{border:1px solid #40517d;border-radius:9px;background:#1a2540;color:#e4ebff;padding:9px 12px;font-weight:700;cursor:pointer}.pilot-actions button.primary{background:#5d72ef;border-color:#7285ff}.pilot-actions button.danger{background:#6c4520;border-color:#9d6b35}.pilot-actions button.save-danger{background:#812b37;border-color:#b84b5a}.pilot-result{border:1px dashed #354568;border-radius:9px;padding:10px 11px;background:#0d1527;color:#aab6d1;font-size:12px;line-height:1.45}.pilot-result b{color:#eff3ff}.pilot-result.ok{border-style:solid;border-color:#315d4d;background:#102821}.pilot-result.error{border-style:solid;border-color:#6b3541;background:#2a151d}.pilot-result.working{border-style:solid;border-color:#5b5431;background:#282411}.pilot-create{margin:10px 0;border:1px dashed #354568;border-radius:9px;padding:9px}.pilot-create summary{cursor:pointer;color:#b9c5df}.pilot-check{display:flex!important;gap:8px;align-items:flex-start}.pilot-check input{width:auto!important;margin-top:2px!important}.save-zone{border-color:#704451;background:#21131a}.pilot-log-wrap{margin-top:10px}.pilot-log-wrap summary{cursor:pointer;color:#aebad5}.pilot-log-wrap pre{white-space:pre-wrap;max-height:320px;overflow:auto;background:#090f1d;border:1px solid #293655;border-radius:9px;padding:10px;color:#9fb1d4;font-size:11px}
@media(max-width:800px){.pilot-grid.two,.pilot-grid.three{grid-template-columns:1fr}.pilot-actions button{flex:1;min-width:150px}}

/* V023 — intenção e objetivo primeiro; Produto Mestre fica como memória interna */
#sectionOrchestrator{scroll-margin-top:18px;outline:none}.orchestrator-card{border:1px solid #47638f;background:linear-gradient(180deg,#101b32,#0f1729);border-radius:16px;padding:14px}.orchestrator-note{margin:10px 0 12px;padding:11px 12px;border:1px solid #36557b;border-radius:10px;background:#10233b;color:#b9c9e5;font-size:12px;line-height:1.5}.orchestrator-label{display:block;color:#aebbd5;font-size:12px}.orchestrator-label textarea,.orchestrator-card input{width:100%;margin-top:6px;border:1px solid #3a4c72;background:#0b1427;color:#eef3ff;border-radius:10px;padding:10px 11px;font:inherit;resize:vertical}.orchestrator-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.orchestrator-actions button{border:1px solid #40517d;border-radius:9px;background:#1a2540;color:#e4ebff;padding:9px 12px;font-weight:700;cursor:pointer}.orchestrator-actions button.primary{background:#5270e8;border-color:#6e86ef}.intent-examples{margin-top:12px;color:#aebbd5;font-size:12px}.intent-examples b{display:block;margin-bottom:7px}.intent-examples div{display:flex;gap:7px;flex-wrap:wrap}.intent-examples span{border:1px solid #344a70;background:#101d33;border-radius:999px;padding:6px 9px;color:#c5d1ea;font-size:11px}@media(max-width:800px){.orchestrator-actions button{flex:1}.intent-examples span{flex:1;text-align:center;min-width:120px}}

/* V024 — o painel local é console de desenvolvimento; a experiência principal fica no ChatGPT */
.integration-banner{display:flex;gap:8px;flex-direction:column;margin:10px 0 12px;padding:12px 13px;border:1px solid #4e5f9c;border-radius:11px;background:#121d3b;color:#bfcbed;line-height:1.5;font-size:12px}.integration-banner b{color:#eef2ff;font-size:13px}.integration-banner span{color:#aebada}.web-host-card{scroll-margin-top:18px}#sectionApp:focus{outline:none}
