/* V630: scoped chat; leave hero and site-wide styles untouched. */
#v507.v630-chat{--chat-green:#194e3f;--chat-ink:#19392e;display:flex;flex-direction:column;box-sizing:border-box;max-width:900px;margin:16px auto;padding:0!important;height:min(780px,84dvh);min-height:380px;background:#fffdf9;color:var(--chat-ink);border:1px solid #d5e0d7;border-radius:20px;overflow:hidden;box-shadow:0 12px 40px #173a3020;font:15px/1.5 system-ui,sans-serif;text-align:left}#v507.v630-chat *{box-sizing:border-box}#v507 .v630-top{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--chat-green);color:#fff;flex:none}#v507 .v630-avatar{width:38px;height:38px;border-radius:12px;background:#ffffff20;display:grid;place-items:center;flex:none;font-size:21px}#v507 .v630-brand{flex:1;min-width:0}#v507 .v630-brand strong,#v507 .v630-brand small{display:block;color:white}#v507 .v630-brand small{font-size:11px;color:#d5e9dd}#v507 .v630-top button,#v507 .v630-top a{color:white;background:transparent;border:1px solid #ffffff65;border-radius:10px;padding:6px 10px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font:inherit;cursor:pointer}#v507 .v630-notice{flex:none;padding:6px 12px;background:#edf5ee;border-bottom:1px solid #d8e6db;font-size:12px;color:#315b49;max-height:34%;overflow:auto}#v507 .v630-notice summary{font-weight:650;cursor:pointer}#v507 .v630-notice p{margin:5px 0}#v507 .v630-notice label{display:flex;gap:8px;align-items:flex-start;font-size:12px;margin:7px 0}#v507 .v630-notice input{width:18px;height:18px;flex:none;margin:1px 0}#v507 .v630-notice select{width:auto;max-width:100%;font-size:13px;padding:5px 8px;display:inline-block}#v507 .v630-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;scrollbar-width:thin}#v507 .v630-welcome{max-width:530px;margin:15px auto;text-align:center}#v507 .v630-welcome h2{color:#19392e;font:700 clamp(23px,4vw,32px)/1.2 system-ui,sans-serif;margin:12px 0}#v507 .v630-welcome p{margin:8px 0;color:#526c60}#v507 .v630-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:14px 0}#v507 .v630-chips button{background:#f3f6f1;color:#194e3f;border:1px solid #d6e1d8;padding:8px 11px;font-size:13px;min-height:40px;border-radius:12px}#v507 .v630-msg{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 16px;gap:5px}#v507 .v630-msg.user{align-items:flex-end}#v507 .v630-bubble{max-width:95%;padding:11px 14px;border:1px solid #e0e8e1;background:#f3f6f2;border-radius:4px 16px 16px 16px;color:#19392e;white-space:pre-wrap;overflow-wrap:anywhere}#v507 .user .v630-bubble{background:#1d5746;color:white;border:0;border-radius:16px 4px 16px 16px}#v507 .v630-meta{font-size:11px;color:#597166;margin:0 3px}#v507 .v630-links{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}#v507 .v630-links a{font-size:12px;padding:7px 9px;border:1px solid #ccdcd0;background:white;color:#194e3f;border-radius:9px;text-decoration:none;overflow-wrap:anywhere}#v507 .v630-compose{flex:none;margin:0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce5dc}#v507 .v630-row{display:flex;align-items:flex-end;gap:8px}#v507 .v630-row textarea{flex:1;min-width:0;resize:none;min-height:48px;max-height:100px;border:1px solid #c8d8ce;border-radius:15px;padding:12px;font:16px/1.4 system-ui,sans-serif;color:#19392e;background:#fff}#v507 .v630-row button{flex:none;min-width:48px;min-height:48px;background:#194e3f;color:white;border-radius:14px;padding:9px;font-size:20px;justify-content:center}#v507 .v630-foot{font-size:11px;color:#526c60;margin:6px 0 0;text-align:center}#v507 .v630-weather{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:7px;width:min(100%,520px);margin:4px 0}#v507 .v630-weather div{background:#e7f2f8;border:1px solid #d5e4ec;border-radius:12px;padding:9px;min-width:0;color:#225a79;font-size:12px}#v507 .v630-weather strong{display:block;font-size:24px;color:#225a79}#v507 :focus-visible{outline:2px solid #ba914c;outline-offset:2px}#v509-dialog[open]{display:flex;flex-direction:column;overflow:hidden;width:min(520px,calc(100vw - 24px));height:min(760px,88dvh);max-height:88dvh;padding:0}#v509-dialog .v509-head{flex:none;padding:7px 12px}#v509-dialog #v507.v630-chat{flex:1;min-height:0;height:auto;max-width:none;margin:0!important;border:0;border-radius:0;box-shadow:none;padding:0!important;overflow:hidden}#v509-dialog .v630-top{background:#f0f6f1;color:#194e3f;padding:8px 12px}#v509-dialog .v630-top .v630-brand strong,#v509-dialog .v630-top .v630-brand small{color:#194e3f}#v509-dialog .v630-top button{color:#194e3f;border-color:#aac5b4}#v509-dialog .v630-avatar{background:#dcebe0}#v509-dialog.v630-full[open]{inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;max-width:100%!important;border-radius:0!important}#v509-dialog .v509-full{display:none!important}@media(max-width:600px){#v507.v630-chat{margin:8px auto;height:78dvh;min-height:360px;border-radius:14px}#v507 .v630-log{padding:10px}#v507 .v630-top{padding:9px 10px;gap:7px}#v507 .v630-top button{font-size:12px;padding:6px}#v509-dialog[open]{inset:auto 6px 6px auto;width:calc(100vw - 12px);height:90dvh;max-height:90dvh}#v507 .v630-notice{max-height:38%}} 
#v509-dialog #v509-close{min-width:36px;min-height:38px;line-height:1;font-size:21px;padding:4px 8px}#v507 .v630-welcome .v630-links{justify-content:center}@media(max-width:390px){#v507 .v630-avatar{display:none}#v507 .v630-top{gap:5px}#v507 .v630-brand strong{font-size:13px}#v507 .v630-brand small{font-size:10px}}
