/* P2-04w — Chat-first Project Discovery. Brand-owned, white, responsive, accessible. */
.project-chat{--pc-border:#e2e7ef;--pc-ink:#142338;--pc-muted:#526275;--pc-accent:#18559b;display:grid;grid-template-columns:minmax(215px,265px) minmax(0,1fr);min-height:690px;max-width:1520px;margin:26px auto 22px;background:#fff;color:var(--pc-ink);border:1px solid var(--pc-border);border-radius:22px;box-shadow:0 24px 65px rgba(11,34,68,.07);overflow:hidden}
.project-chat *, .project-chat *::before,.project-chat *::after{box-sizing:border-box}
.project-chat-side{background:#f5f7fb;border-right:1px solid var(--pc-border);display:flex;flex-direction:column;padding:27px 17px;gap:12px}
.project-chat-side-title{display:flex;align-items:center;gap:11px;color:#2c4663;font-size:.69rem;font-weight:800;letter-spacing:.13em;padding:0 10px 10px}
.project-chat-star,.project-chat-avatar{display:inline-flex;align-items:center;justify-content:center;background:#e0ecff;color:#174b8f;border-radius:11px;width:33px;height:33px;font-size:1.2rem;flex:none}
.project-chat-new{width:100%;text-align:left;background:#fff;border:1px solid #cad5e2;border-radius:12px;padding:12px 14px;color:#153d72;font-weight:750;cursor:pointer}
.project-chat-label{font-size:.68rem;letter-spacing:.12em;color:#60718a;font-weight:800;padding:10px 9px 0;margin:0}
.project-chat-templates{display:flex;flex-direction:column;gap:5px}
.project-chat-templates button{border:0;text-align:left;background:transparent;color:#31425a;border-radius:10px;padding:11px 12px;font-size:.87rem;line-height:1.42;cursor:pointer}
.project-chat-templates button:hover,.project-chat-templates button:focus-visible,.project-chat-new:hover{background:#e9eef7}
.project-chat-side-footer{margin-top:auto;border-top:1px solid var(--pc-border);padding:18px 10px 0}
.project-chat-side-footer strong{font-size:.79rem;color:#2d4765}
.project-chat-side-footer p{font-size:.77rem;line-height:1.6;color:#52677e;margin:7px 0}
.project-chat-main{display:flex;flex-direction:column;min-width:0;padding:22px clamp(18px,3vw,46px) 25px;min-height:690px}
.project-chat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:6px 0 18px;border-bottom:1px solid var(--pc-border)}
.project-chat-kicker{font-size:.71rem;letter-spacing:.12em;font-weight:800;color:#2263a1}
.project-chat-top h1{font-size:clamp(1.55rem,2.5vw,2.45rem);letter-spacing:-.035em;line-height:1.17;color:#15263e;margin:11px 0}
.project-chat-top p{color:var(--pc-muted);font-size:.92rem;line-height:1.65;margin:0;max-width:64ch}
.project-chat-offline{flex:none;font-size:.64rem;letter-spacing:.085em;font-weight:800;color:#45688b;background:#ecf3fb;border:1px solid #d9e7f7;padding:9px 11px;border-radius:50px;margin-top:3px}
.project-chat-conversation{min-height:260px;max-height:470px;overflow:auto;overscroll-behavior:contain;flex:1;padding:25px 4px 20px;scrollbar-color:#b6c9df transparent}
.project-chat-message{display:flex;align-items:flex-start;gap:12px;max-width:760px;margin:0 0 20px}
.project-chat-message .project-chat-avatar{margin-top:1px}
.project-chat-bubble{font-size:.94rem;line-height:1.69;min-width:0;overflow-wrap:anywhere}
.project-chat-bubble strong{font-size:.82rem;font-weight:800;color:#254d82;display:block;margin-bottom:6px}
.project-chat-bubble p{margin:0 0 9px}
.project-chat-bubble p:last-child{margin-bottom:0}
.project-chat-bubble .project-chat-hint{font-size:.78rem;color:#62758d}
.project-chat-user{margin-left:auto;justify-content:flex-end;max-width:min(86%,600px)}
.project-chat-user .project-chat-bubble{padding:12px 17px;background:#eef2f8;border:1px solid #e2e8f2;border-radius:18px 18px 5px 18px;color:#273b55;white-space:pre-wrap}
.project-chat-action-area{margin-top:auto}
.project-chat-prompt-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:2px 0 17px}
.project-chat-prompt-chips[hidden],.project-chat-summary[hidden],.project-chat-notice[hidden]{display:none!important}
.project-chat-prompt-chips button{font-size:.78rem;color:#2b527c;background:#fff;border:1px solid #d3dfeb;border-radius:40px;padding:10px 13px;cursor:pointer}
.project-chat-composer{max-width:860px;margin:auto;background:#fff;border:1px solid #b5c8dd;border-radius:18px;padding:14px 17px 10px;box-shadow:0 7px 28px rgba(28,51,90,.06);width:100%}
.project-chat-input-label{display:block;color:#315175;font-size:.75rem;font-weight:750;margin-bottom:5px}
.project-chat-composer textarea{width:100%;border:0;outline:0;resize:vertical;min-height:55px;max-height:170px;padding:5px 0;color:#172d49;font:inherit;line-height:1.55;background:transparent}
.project-chat-composer textarea:focus-visible{outline:2px solid #286aca;outline-offset:4px;border-radius:5px}
.project-chat-composer-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5;padding-top:10px}
#project-chat-progress{color:#687d92;font-size:.76rem;line-height:1.35}
.project-chat-controls{display:flex;gap:7px;align-items:center}
.project-chat-controls button{cursor:pointer;border:1px solid #d7e0ea;color:#335575;background:#fff;font-weight:750;font-size:.79rem;padding:10px 14px;border-radius:10px;white-space:nowrap}
#project-chat-send{background:#174e91;color:white;border-color:#174e91;padding:10px 18px}
#project-chat-send:disabled{opacity:.6;cursor:default}
.project-chat-footnote{font-size:.77rem;color:#687b8f;line-height:1.6;margin:12px 0 0;text-align:center}
.project-chat-notice{color:#96352e;font-size:.83rem;line-height:1.5;margin:12px auto;max-width:860px}
.project-chat-summary{margin:20px auto 0;width:100%;max-width:860px;background:#f7faff;border:1px solid #d6e4f5;padding:20px;border-radius:16px}
.project-chat-summary-header span{font-size:.7rem;letter-spacing:.13em;color:#2e608e;font-weight:800}
.project-chat-summary-header h2{font-size:1.4rem;color:#15365a;margin:10px 0}
.project-chat-summary-header p{font-size:.88rem;color:#4c657e}
#project-chat-summary-text{font:inherit;font-size:.83rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:1px solid #dbe4f0;border-radius:10px;color:#263c53;padding:16px;max-height:390px;overflow:auto}
.project-chat-summary-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.project-chat-summary-actions a,.project-chat-summary-actions button{border:1px solid #c6d6ea;border-radius:9px;padding:11px 14px;background:#fff;color:#204f81;font-size:.8rem;font-weight:750;text-decoration:none;cursor:pointer}
#project-chat-email{background:#19549d;border-color:#19549d;color:white}
#project-chat-copy-status{font-size:.83rem;color:#315e86}
.project-chat button:focus-visible,.project-chat-summary a:focus-visible,.project-chat-alternative summary:focus-visible{outline:3px solid #1c69c4;outline-offset:2px}
.project-chat-alternative{max-width:1520px;margin:0 auto 30px;border:1px solid #d9e4ef;border-radius:14px;background:#f7faff;overflow:hidden}
.project-chat-alternative>summary{cursor:pointer;padding:16px 22px;font-size:.88rem;color:#2a5584;font-weight:750}
.project-chat-alternative[open]>summary{border-bottom:1px solid #e3e9f2}
.project-chat-alternative .subhero{margin-top:0}
.project-chat-alternative .brief-section{padding-top:35px}
@media(max-width:900px){.project-chat{grid-template-columns:1fr;margin:14px 12px 22px;min-height:auto}.project-chat-side{border-right:0;border-bottom:1px solid #dfe7f0;padding:14px 18px;display:grid;grid-template-columns:1fr auto;gap:6px}.project-chat-side-title{grid-column:1}.project-chat-new{grid-column:2;grid-row:1;width:auto;padding:9px 12px}.project-chat-label{grid-column:1 / -1}.project-chat-templates{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap}.project-chat-templates button{font-size:.75rem;padding:8px 10px;background:#eaf0f8}.project-chat-side-footer{display:none}.project-chat-main{min-height:630px;padding:20px}.project-chat-alternative{margin:0 12px 30px}}
@media(max-width:620px){.project-chat{border-radius:0;margin:0;box-shadow:none;border-inline:0}.project-chat-side{grid-template-columns:1fr auto;padding:12px}.project-chat-label,.project-chat-templates{display:none}.project-chat-main{min-height:calc(100svh - 230px);padding:15px 14px 23px}.project-chat-top{flex-wrap:wrap;padding-bottom:14px;gap:9px}.project-chat-top h1{font-size:1.55rem;margin:4px 0}.project-chat-offline{margin:0}.project-chat-conversation{min-height:220px;max-height:50svh;padding:18px 0}.project-chat-message{gap:7px;margin-bottom:15px}.project-chat-user{max-width:92%}.project-chat-prompt-chips{justify-content:flex-start;gap:6px}.project-chat-prompt-chips button{font-size:.72rem;padding:8px 10px}.project-chat-composer{padding:11px 12px}.project-chat-alternative{border-radius:0;margin:0 0 20px}}
@media(prefers-reduced-motion:reduce){.project-chat *{scroll-behavior:auto!important;transition:none!important}}

.project-chat-alternative .subhero h2{font-size:clamp(36px,5.4vw,72px);line-height:1.12;margin:0 0 25px;color:#fff}

.project-action-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}.project-action-shortcuts a{display:block;border:1px solid #b5c9df;border-radius:11px;padding:12px 9px;background:#fff;color:#174c84;font-size:.8rem;font-weight:800;text-align:center;text-decoration:none;line-height:1.35}.project-action-shortcuts a:hover{background:#e9f2fc}.project-action-shortcuts a:focus-visible{outline:3px solid #1c69c4;outline-offset:2px}@media(max-width:900px){.project-action-shortcuts{grid-column:1/-1;grid-row:2}}@media(max-width:620px){.project-action-shortcuts a{padding:10px 6px;font-size:.74rem}}
