.jma-chat-section{padding:24px 0 28px;background:#f5f7fb}.jma-chat-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:36px;align-items:center;max-width:1000px}.jma-chat-intro h2{font-size:clamp(28px,4vw,42px);line-height:1.5;color:#0b1f44;margin:8px 0 12px}.jma-chat-intro p{max-width:350px;font-size:15px;line-height:1.9;color:#526179;margin:0 0 18px}.jma-chat-note{font-size:12px;color:#526179;display:flex;gap:8px;align-items:center}.jma-chat-card{border:1px solid #e1e7f1;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 32px #0b1f440b}.jma-chat-header{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#0b1f44;color:#fff}.jma-chat-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffb800;color:#0b1f44;font-size:13px;font-weight:800}.jma-chat-header strong{display:block;font-size:14px}.jma-chat-header small{display:flex;align-items:center;gap:5px;font-size:11px;color:#ccd8ed}.jma-chat-header small span{width:6px;height:6px;border-radius:50%;background:#ffb800}.jma-chat-header>a{margin-inline-start:auto;display:grid;place-items:center;width:44px;height:44px;color:#fff;font-size:24px}.jma-chat-thread{padding:16px 18px 2px;background:#f8faff;max-height:270px;overflow:auto;scroll-behavior:smooth}.jma-chat-bubble{width:fit-content;max-width:92%;padding:11px 14px;background:#fff;border:1px solid #e4eaf4;border-radius:14px 3px 14px 14px;margin:0 0 12px;font-size:13px;line-height:1.9;color:#25364f;white-space:pre-line;overflow-wrap:anywhere}.jma-chat-bubble.is-user{margin-inline-start:auto;background:#eaf0ff;border-color:#d6e2ff;border-radius:3px 14px 14px 14px}.jma-chat-form{padding:12px 18px 16px}.jma-chat-options{display:flex;flex-wrap:wrap;gap:8px}.jma-chat-options button{background:#fff;border:1px solid #c9d7f3;border-radius:10px;color:#153b9c;padding:8px 12px;font-size:12px;min-height:42px;cursor:pointer;line-height:1.8}.jma-chat-options button:hover{background:#edf3ff;border-color:#1e4fd8}.jma-chat-step[hidden],.jma-chat-error[hidden],.jma-chat-restart[hidden]{display:none!important}.jma-chat-step label{display:block;font-size:12px;color:#34445f;margin-bottom:6px}.jma-chat-step input:not([type=checkbox]),.jma-chat-step textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #ccd7e8;border-radius:10px;background:#fff;padding:10px 12px;font-size:14px;color:#0b1f44;margin-bottom:12px}.jma-chat-step textarea{resize:vertical;min-height:85px}.jma-chat-next,.jma-chat-submit{display:flex;gap:10px;justify-content:center;align-items:center;min-height:44px;border:0;border-radius:10px;background:#ffb800;color:#0b1f44;font-size:13px;font-weight:700;padding:10px 18px;cursor:pointer;width:100%}.jma-chat-form button:disabled{opacity:.65;cursor:wait}.jma-chat-step .jma-chat-consent{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.8;margin-bottom:12px}.jma-chat-consent input{margin-top:4px;flex-shrink:0;accent-color:#1e4fd8}.jma-chat-consent a{color:#1e4fd8;text-decoration:underline}.jma-chat-trap{display:none!important}.jma-chat-error{font-size:12px;color:#a12128;background:#fff2f2;padding:8px;border-radius:6px;margin:10px 0}.jma-chat-restart{display:block;background:none;border:0;color:#1e4fd8;font-size:11px;min-height:38px;padding:8px 0;margin:3px auto -8px;cursor:pointer}.jma-chat-card :focus-visible{outline:3px solid #1e4fd8;outline-offset:2px}@media(max-width:767px){.jma-chat-section{padding:18px 0 22px}.jma-chat-layout{grid-template-columns:1fr;gap:16px}.jma-chat-intro h2 br{display:none}.jma-chat-intro h2{font-size:26px;margin:4px 0 8px}.jma-chat-intro p{max-width:none;font-size:13px;margin-bottom:8px}.jma-chat-note{display:none}.jma-chat-header{padding:10px 14px}.jma-chat-thread{padding:14px 14px 2px;max-height:240px}.jma-chat-form{padding:10px 14px 14px}.jma-chat-card{border-radius:16px}.jma-chat-options button{font-size:11px;padding:7px 10px}}@media(prefers-reduced-motion:reduce){.jma-chat-thread{scroll-behavior:auto}}
