#jaha-chat-root{-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;position:relative;z-index:2147483644;isolation:isolate}
.jaha-chat-launcher-shell{box-sizing:border-box!important;position:fixed;right:var(--jaha-chat-launcher-right,20px);bottom:var(--jaha-chat-launcher-bottom,20px);z-index:2147483645;display:inline-block!important;isolation:isolate}.jaha-chat-launcher-shell.hidden,.jaha-chat-launcher-shell.dismissed{display:none!important}
.jaha-chat-launcher{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;position:relative!important;border:0;border-radius:999px;padding:14px 20px;background:#d9829e;color:#fff;font-size:15px;font-weight:700;box-shadow:0 6px 24px rgba(0,0,0,.18);cursor:pointer;z-index:1;transition:box-shadow .2s ease,transform .2s ease;white-space:nowrap}.jaha-chat-launcher:hover{box-shadow:0 8px 28px rgba(0,0,0,.22)}.jaha-chat-launcher:focus-visible{outline:3px solid rgba(217,130,158,.3);outline-offset:3px}.jaha-chat-launcher,.jaha-chat-launcher *{color:#fff!important}.jaha-chat-launcher-icon{margin-right:4px}
.jaha-chat-launcher-dismiss{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;right:-9px!important;top:-12px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid #e6b7c7!important;border-radius:50%!important;background:#fff!important;color:#9b4764!important;font:700 20px/26px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-align:center!important;box-shadow:0 3px 12px rgba(0,0,0,.18)!important;cursor:pointer!important;z-index:4!important}.jaha-chat-launcher-dismiss:hover,.jaha-chat-launcher-dismiss:focus-visible{background:#fff4f7!important;outline:none!important}
.jaha-chat-launcher-robot{position:absolute!important;left:50%!important;top:-55px!important;width:72px!important;height:58px!important;transform:translateX(-50%);pointer-events:none!important;z-index:0!important;filter:drop-shadow(0 4px 5px rgba(0,0,0,.14));animation:jaha-chat-robot-idle 11s ease-in-out 1.8s infinite}.jaha-chat-launcher-robot svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}.jaha-robot-head,.jaha-robot-body{fill:#fff;stroke:#c96f8c;stroke-width:2}.jaha-robot-face{fill:#5d5360}.jaha-robot-eye{fill:#fff}.jaha-robot-antenna,.jaha-robot-smile,.jaha-robot-arm,.jaha-robot-prayer,.jaha-robot-leg{fill:none;stroke:#c96f8c;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.jaha-robot-smile{stroke:#fff;stroke-width:1.8}.jaha-robot-arm,.jaha-robot-leg{stroke-width:3}
@keyframes jaha-chat-robot-idle{0%,7%,100%{transform:translateX(-50%) translateY(0) rotate(0)}1.5%{transform:translateX(-50%) translateY(-2px) rotate(-2deg)}3%{transform:translateX(-50%) translateY(0) rotate(2deg)}4.5%{transform:translateX(-50%) translateY(-1px) rotate(-1.5deg)}6%{transform:translateX(-50%) translateY(0) rotate(0)}}
.jaha-chat-panel{display:none;position:fixed;right:18px;bottom:18px;width:min(390px,calc(100vw - 24px));height:min(620px,calc(100vh - 36px));background:#fff;border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.22);overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto auto;z-index:2147483646;margin:0!important;padding:0!important;box-sizing:border-box!important;isolation:isolate}.jaha-chat-panel.open{display:grid}
.jaha-chat-header{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;float:none!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:88px!important;margin:0!important;padding:10px 12px 9px 18px!important;background:#fff5f8!important;border:0!important;border-bottom:1px solid #eee!important;font-size:17px!important;line-height:1.4!important;z-index:3!important}.jaha-chat-header-main{display:flex;min-width:0;flex:1;flex-direction:column;gap:6px}.jaha-chat-header-main>strong{display:block;color:#111;font-size:17px;line-height:1.35}.jaha-chat-header-contact-note{display:flex;align-items:center;flex-wrap:wrap;gap:4px 5px;color:#6b6266;font-size:10.5px;font-weight:600;line-height:1.45}.jaha-chat-header-contact-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:27px!important;padding:3px 10px!important;border:1px solid #2f7d45!important;border-radius:999px!important;background:linear-gradient(135deg,#3c9860 0%,#2f7d45 100%)!important;color:#fff!important;text-decoration:none!important;font-size:10.5px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important;box-shadow:0 0 0 3px rgba(47,125,69,.10),0 0 14px rgba(47,125,69,.34)!important;animation:jaha-chat-contact-glow 2.4s ease-in-out infinite}.jaha-chat-header-contact-button:hover,.jaha-chat-header-contact-button:focus-visible{background:#25683a!important;border-color:#25683a!important;box-shadow:0 0 0 4px rgba(47,125,69,.13),0 0 18px rgba(47,125,69,.48)!important;outline:none!important}.jaha-chat-close{flex:0 0 44px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#555;min-width:44px;min-height:44px;margin-top:-2px}@keyframes jaha-chat-contact-glow{0%,100%{box-shadow:0 0 0 3px rgba(47,125,69,.08),0 0 10px rgba(47,125,69,.24)}50%{box-shadow:0 0 0 4px rgba(47,125,69,.13),0 0 18px rgba(47,125,69,.42)}}@media(prefers-reduced-motion:reduce){.jaha-chat-header-contact-button{animation:none}}
.jaha-chat-messages{position:relative!important;margin:0!important;z-index:1!important;box-sizing:border-box!important;min-height:0;overflow:auto;padding:20px 18px 18px!important;background:#fff;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.jaha-chat-bubble{max-width:84%;white-space:pre-wrap;word-break:break-word;margin:0 0 12px;padding:11px 13px;border-radius:14px;line-height:1.6;font-size:14px}.jaha-chat-bubble.system{display:block!important;position:relative!important;max-width:100%;padding:0!important;margin:0 0 14px!important;background:transparent;color:#555}.jaha-chat-bubble.visitor{margin-left:auto;background:#d9829e;color:#fff;border-bottom-right-radius:4px}.jaha-chat-bubble.staff{margin-right:auto;background:#f4f4f4;color:#222;border-bottom-left-radius:4px}.jaha-chat-bubble a{color:#2f7d45!important;text-decoration:underline!important;font-weight:700!important;overflow-wrap:anywhere}.jaha-chat-bubble.visitor a{color:#fff!important}.jaha-chat-bubble a.jaha-chat-material-link{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;margin:4px 0;padding:0 16px;border-radius:999px;background:#2f7d45;color:#fff!important;text-decoration:none!important;font-weight:700!important;overflow-wrap:normal}.jaha-chat-bubble a.jaha-chat-material-link:hover,.jaha-chat-bubble a.jaha-chat-material-link:focus-visible{background:#25683a!important;outline:none!important}

.jaha-chat-resolution{max-width:88%;margin:4px 0 16px;padding:13px 14px;border:1px solid #efd5de;border-radius:14px;background:#fff8fa;color:#333;box-sizing:border-box}.jaha-chat-resolution-question{font-size:14px;font-weight:700;line-height:1.55;margin-bottom:10px}.jaha-chat-resolution-actions{display:flex;gap:8px}.jaha-chat-resolution-actions button{appearance:none;-webkit-appearance:none;border:1px solid #d9829e;border-radius:999px;background:#fff;color:#c65b82;font-size:14px;font-weight:700;min-width:82px;padding:9px 16px;cursor:pointer}.jaha-chat-resolution-actions button:hover,.jaha-chat-resolution-actions button:focus-visible{background:#fff0f5}.jaha-chat-resolution-actions button.selected{background:#d9829e;color:#fff}.jaha-chat-resolution-actions button:disabled{cursor:default;opacity:.75}.jaha-chat-resolution-contact{margin-top:12px;padding-top:12px;border-top:1px solid #efd5de}.jaha-chat-resolution-contact[hidden]{display:none!important}.jaha-chat-resolution-contact p{margin:0 0 10px;font-size:13px;line-height:1.6;color:#555}.jaha-chat-resolution-links{display:flex;flex-wrap:wrap;gap:8px}.jaha-chat-resolution-links a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:999px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;box-sizing:border-box}.jaha-chat-resolution-links .is-contact{border-color:#e99ab0;background:linear-gradient(135deg,#fffdfd 0%,#fff5f8 52%,#ffeaf0 100%);color:#bd5b78!important;box-shadow:0 5px 12px rgba(189,91,120,.10)}.jaha-chat-resolution-links .is-contact:hover,.jaha-chat-resolution-links .is-contact:focus-visible{border-color:#df7897;background:#fff0f5!important;color:#a84d6a!important;outline:none!important}.jaha-chat-resolution-links .is-line{border-color:#2f7d45;background:#2f7d45;color:#fff!important}.jaha-chat-resolution-links .is-line:hover,.jaha-chat-resolution-links .is-line:focus-visible{border-color:#25683a;background:#25683a!important;outline:none!important}

.jaha-chat-material-choices{max-width:94%;display:grid;grid-template-columns:1fr;gap:8px;margin:-2px 0 16px;padding:0;box-sizing:border-box}.jaha-chat-material-choices button{appearance:none;-webkit-appearance:none;width:100%;min-height:42px;padding:9px 12px;border:1px solid #d9829e;border-radius:12px;background:#fff;color:#b84e72;font-size:13px;font-weight:700;line-height:1.45;text-align:left;cursor:pointer}.jaha-chat-material-choices button:hover,.jaha-chat-material-choices button:focus-visible{background:#fff2f6;outline:none}.jaha-chat-material-choices button:disabled{cursor:default;opacity:.6}


/* M48: guided first-screen menu */
.jaha-chat-quick-menu{max-width:100%;margin:0 0 16px;padding:0;box-sizing:border-box}.jaha-chat-quick-heading{margin:0 0 10px;color:#555;font-size:13px;font-weight:700;line-height:1.55}.jaha-chat-quick-grid{display:grid;grid-template-columns:1fr;gap:8px}.jaha-chat-quick-button{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 13px;border:1px solid #dfe3e6;border-radius:12px;background:#fff;color:#333;font:inherit;font-size:13px;font-weight:700;line-height:1.45;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.jaha-chat-quick-button:hover,.jaha-chat-quick-button:focus-visible{background:#f7f8f9;border-color:#cfd5d9;box-shadow:0 2px 8px rgba(0,0,0,.05);outline:none}.jaha-chat-quick-button.secondary{background:#fff;color:#555;border-color:#d8dde0}.jaha-chat-quick-button.secondary:hover,.jaha-chat-quick-button.secondary:focus-visible{background:#f5f6f7;border-color:#c8ced2}.jaha-chat-quick-button:disabled{opacity:.6;cursor:default}
@media(max-width:600px){.jaha-chat-quick-menu{margin-bottom:14px}.jaha-chat-quick-heading{font-size:12.5px}.jaha-chat-quick-grid{gap:7px}.jaha-chat-quick-button{min-height:42px;padding:9px 13px;font-size:13px}}

.jaha-chat-error{min-height:0;color:#c62828;font-size:13px;padding:0 14px}.jaha-chat-error:not(:empty){padding-top:9px;padding-bottom:9px;border-top:1px solid #eee}
.jaha-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-top:1px solid #eee;background:#fff}.jaha-chat-form textarea{box-sizing:border-box;width:100%;resize:none;border:1px solid #ddd;border-radius:14px;padding:11px 12px;font:inherit;font-size:16px;line-height:1.5;min-height:48px;max-height:120px}.jaha-chat-form button{border:0;border-radius:14px;padding:0 17px;background:#d9829e;color:white;font-weight:700;font-size:15px;cursor:pointer;min-width:64px;min-height:48px}.jaha-chat-form button:disabled{opacity:.55}
html.jaha-chat-open,body.jaha-chat-open{overflow:hidden!important;overscroll-behavior:none!important}

@media(max-width:600px){.jaha-chat-header{min-height:82px!important;padding:8px 7px 7px 14px!important;gap:6px!important}.jaha-chat-header-main{gap:4px}.jaha-chat-header-main>strong{font-size:16px;line-height:1.25}.jaha-chat-header-contact-note{font-size:9px!important;line-height:1.35!important;gap:2px 4px!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}.jaha-chat-header-contact-note span{font-size:9px!important;line-height:1.35!important;white-space:nowrap!important}.jaha-chat-header-contact-button{min-height:23px!important;padding:2px 8px!important;font-size:9px!important;line-height:1.15!important}.jaha-chat-close{flex-basis:38px;min-width:38px;min-height:38px;font-size:26px}}

@media(max-width:600px){
  /* スマホ：右端の縦タブ。下部固定CTAとは別レーンにして重なりを避ける。 */
  .jaha-chat-launcher-shell{
    right:0!important;
    left:auto!important;
    top:69%!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    width:50px!important;
    height:164px!important;
  }
  .jaha-chat-launcher{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
    height:164px!important;
    padding:12px 0!important;
    border-radius:16px 0 0 16px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    background:#d9829e!important;
    color:#fff!important;
    box-shadow:0 5px 18px rgba(0,0,0,.22)!important;
    white-space:normal!important;
    animation:jaha-chat-mobile-nudge 10s ease-in-out 1.5s infinite;
    will-change:transform;
  }
  .jaha-chat-launcher-robot{
    display:block!important;
    left:36%!important;
    top:-50px!important;
    width:66px!important;
    height:54px!important;
    z-index:2!important;
  }
  .jaha-chat-launcher-dismiss{right:auto!important;left:-13px!important;top:-11px!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;font-size:19px!important;line-height:25px!important;animation:jaha-chat-mobile-nudge 10s ease-in-out 1.5s infinite;will-change:transform}
  .jaha-chat-launcher-label{
    display:block!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:.05em!important;
    writing-mode:vertical-rl!important;
    text-orientation:upright!important;
    white-space:nowrap!important;
  }
  .jaha-chat-launcher-icon{
    display:block!important;
    margin:0!important;
    font-size:18px!important;
    line-height:1!important;
  }
  .jaha-chat-panel{left:0!important;right:auto!important;bottom:auto!important;top:var(--jaha-chat-vv-top,0px);width:100vw;max-width:none;height:var(--jaha-chat-vv-height,100dvh);max-height:none;border-radius:0;grid-template-rows:auto minmax(0,1fr) auto auto}
  /* M83: the first guided screen should not leave a large dead zone above the composer. */
  .jaha-chat-panel.guided-home{grid-template-rows:auto auto auto auto;align-content:start}
  .jaha-chat-panel.guided-home .jaha-chat-messages{max-height:calc(var(--jaha-chat-vv-height,100dvh) - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}
  .jaha-chat-header{height:calc(58px + env(safe-area-inset-top))!important;min-height:calc(58px + env(safe-area-inset-top))!important;padding:env(safe-area-inset-top) 14px 0 16px!important;font-size:16px!important}
  .jaha-chat-messages{padding:20px 14px 12px!important}
  .jaha-chat-bubble{max-width:88%;font-size:14px;line-height:1.65}
  .jaha-chat-resolution{max-width:94%;margin-bottom:14px;padding:12px}
  .jaha-chat-resolution-actions button{min-width:76px;padding:9px 14px}
  .jaha-chat-form{gap:7px;padding:10px 9px calc(10px + env(safe-area-inset-bottom));align-items:end}
  .jaha-chat-form textarea{font-size:16px;min-height:82px;max-height:132px;padding:13px 14px}
  .jaha-chat-form button{padding:0 13px;font-size:15px;min-width:60px;min-height:82px}
}

@keyframes jaha-chat-mobile-nudge{
  0%,8%,100%{transform:translateX(0) rotate(0)}
  1.4%{transform:translateX(-3px) rotate(-2deg)}
  2.8%{transform:translateX(0) rotate(2deg)}
  4.2%{transform:translateX(-3px) rotate(-1.5deg)}
  5.6%{transform:translateX(0) rotate(1deg)}
  7%{transform:translateX(0) rotate(0)}
}
@media(prefers-reduced-motion:reduce){.jaha-chat-launcher,.jaha-chat-launcher-dismiss,.jaha-chat-launcher-robot{animation:none!important}.jaha-chat-launcher{transition:none!important}}

/* M30: optional question categories */

.jaha-chat-direct-contact .jaha-chat-resolution-contact{margin-top:0;padding-top:0;border-top:0}

.jaha-chat-course-page-link{max-width:88%;margin:-4px 0 12px;box-sizing:border-box}.jaha-chat-course-page-link a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #c9aa72;border-radius:999px;background:linear-gradient(135deg,#fffefa 0%,#fbf6eb 52%,#f4ead8 100%);color:#80633a!important;text-decoration:none!important;font-size:13px;font-weight:700;line-height:1.4;box-shadow:0 6px 14px rgba(128,99,58,.10)}.jaha-chat-course-page-link a:hover,.jaha-chat-course-page-link a:focus-visible{background:#f7ecd9;border-color:#b78e50;color:#72542d!important;outline:none}.jaha-chat-schedule-link{max-width:88%;margin:-4px 0 12px;box-sizing:border-box}.jaha-chat-schedule-open{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #d9829e;border-radius:999px;background:#fff7fa;color:#b94e78;font:700 13px/1.4 inherit;cursor:pointer;box-shadow:0 5px 12px rgba(185,78,120,.08)}.jaha-chat-schedule-open:hover,.jaha-chat-schedule-open:focus-visible{background:#fff0f5;border-color:#c96f8c;color:#a84469;outline:none}.jaha-chat-schedule-adjustment{border-color:#efd5de;background:#fff8fa}.jaha-chat-schedule-adjustment .jaha-chat-resolution-question{color:#9f4e6a}

/* M54: guided routing remains isolated, but the free-text composer is always available. */
.jaha-chat-form.guided-hidden{display:grid!important}
.jaha-chat-home-reset{grid-column:1/-1;justify-self:start;min-width:0!important;min-height:32px!important;padding:6px 10px!important;border:1px solid #e5c4cf!important;border-radius:10px!important;background:#fff7fa!important;color:#a94669!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important}
.jaha-chat-form.guided-mode .jaha-chat-home-reset{display:none!important}

.jaha-chat-quick-subheading{grid-column:1/-1;font-size:12px;font-weight:700;line-height:1.5;margin:8px 2px 2px;padding-top:8px;border-top:1px solid rgba(0,0,0,.08);}

/* M56: purpose-first progressive guided UI. 13 parent routes remain intact, but the first screen shows only four clear entrances. */
.jaha-chat-quick-menu{border:1px solid #e8ebed;border-radius:14px;background:#fff;padding:12px 12px 13px;box-shadow:0 2px 10px rgba(0,0,0,.025)}
.jaha-chat-quick-helper{margin:-3px 0 10px;color:#73777a;font-size:11.5px;line-height:1.55}
.jaha-chat-quick-section-title{grid-column:1/-1;margin:7px 2px 1px;padding-top:8px;border-top:1px solid #eee;color:#555;font-size:12px;font-weight:800;line-height:1.4}
.jaha-chat-quick-section-title:first-child{margin-top:0;padding-top:0;border-top:0}
.jaha-chat-guided-context{display:inline-flex;max-width:100%;box-sizing:border-box;margin:0 0 10px;padding:6px 10px;border:1px solid #e1e3e5;border-radius:999px;background:#f5f6f7;color:#555;font-size:11.5px;font-weight:700;line-height:1.4;word-break:break-word}
.jaha-chat-guided-choice-summary{display:flex;align-items:flex-start;gap:7px;max-width:94%;box-sizing:border-box;margin:2px 0 10px;padding:8px 10px;border:1px solid #e1e3e5;border-radius:10px;background:#f5f6f7;color:#555;font-size:12px;line-height:1.5}
.jaha-chat-guided-choice-summary-label{flex:0 0 auto;padding:1px 6px;border-radius:999px;background:#e6e8ea;color:#555;font-size:10.5px;font-weight:800}
.jaha-chat-guided-choice-summary-value{min-width:0;font-weight:700;word-break:break-word}

/* Category colors are accents only. Choice surfaces stay white so the screen is not an all-pink list. */
.jaha-chat-quick-menu.theme-family,.jaha-chat-quick-button.theme-family{--guided-accent:#b7657e;--guided-soft:#fff7f9;--guided-border:#ead2d9;--guided-icon-bg:#f9e9ee}
.jaha-chat-quick-menu.theme-wellness,.jaha-chat-quick-button.theme-wellness{--guided-accent:#4e806f;--guided-soft:#f4faf7;--guided-border:#cfe0d9;--guided-icon-bg:#e6f2ed}
.jaha-chat-quick-menu.theme-business,.jaha-chat-quick-button.theme-business{--guided-accent:#4d748b;--guided-soft:#f3f8fb;--guided-border:#cfdee6;--guided-icon-bg:#e6f0f5}
.jaha-chat-quick-menu.theme-support,.jaha-chat-quick-button.theme-support{--guided-accent:#76668c;--guided-soft:#f8f5fb;--guided-border:#ddd5e6;--guided-icon-bg:#eee9f3}
.jaha-chat-quick-menu.theme-neutral,.jaha-chat-quick-button.theme-neutral{--guided-accent:#687077;--guided-soft:#f6f7f8;--guided-border:#d9dde0;--guided-icon-bg:#eef0f1}

.jaha-chat-quick-button.category-choice{position:relative;display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 38px 10px 10px;border-color:var(--guided-border);background:#fff;color:#2f3335;border-radius:14px}
.jaha-chat-quick-button.category-choice:hover,.jaha-chat-quick-button.category-choice:focus-visible{background:var(--guided-soft);border-color:var(--guided-accent)}
.jaha-chat-quick-button.category-choice::after{content:'›';position:absolute;right:14px;top:50%;transform:translateY(-52%);font-size:22px;line-height:1;color:var(--guided-accent)}
.jaha-chat-quick-button.has-icon{display:flex;align-items:center;gap:10px}
.jaha-chat-choice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--guided-icon-bg,#f0f1f2);color:var(--guided-accent,#666)}
.jaha-chat-choice-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.jaha-chat-choice-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}
.jaha-chat-choice-title{display:block;color:#303335;font-size:13px;font-weight:800;line-height:1.4}
.jaha-chat-choice-subtitle{display:block;color:#777;font-size:10.5px;font-weight:600;line-height:1.4}

.jaha-chat-quick-button.course-choice{position:relative;min-height:52px;padding:8px 36px 8px 9px;border-color:var(--guided-border);background:#fff;border-radius:13px}
.jaha-chat-quick-button.course-choice:hover,.jaha-chat-quick-button.course-choice:focus-visible{background:var(--guided-soft);border-color:var(--guided-accent)}
.jaha-chat-quick-button.course-choice::after{content:'›';position:absolute;right:13px;top:50%;transform:translateY(-52%);font-size:20px;color:var(--guided-accent)}

.jaha-chat-quick-menu.children-view .jaha-chat-quick-button:not(.secondary):not(.tertiary){border-color:var(--guided-border,#dfe3e6);background:#fff;color:#333}
.jaha-chat-quick-menu.children-view .jaha-chat-quick-button:not(.secondary):not(.tertiary):hover,
.jaha-chat-quick-menu.children-view .jaha-chat-quick-button:not(.secondary):not(.tertiary):focus-visible{background:var(--guided-soft,#f7f8f9);border-color:var(--guided-accent,#9aa1a6)}

.jaha-chat-quick-button.group-choice{position:relative;padding-right:34px!important;font-weight:800}
.jaha-chat-quick-button.group-choice::after{content:'›';position:absolute;right:14px;top:50%;transform:translateY(-52%);font-size:20px;line-height:1;color:var(--guided-accent,#687077)}

.jaha-chat-quick-compact-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #eceff0}
.jaha-chat-quick-compact-actions .jaha-chat-quick-button.compact-action{width:auto;min-height:34px;padding:6px 10px;border-radius:999px;background:#fafafa;color:#606468;border-color:#e1e4e6;font-size:11px;font-weight:700}
.jaha-chat-quick-compact-actions .jaha-chat-quick-button.compact-action:hover,.jaha-chat-quick-compact-actions .jaha-chat-quick-button.compact-action:focus-visible{background:#f2f4f5;border-color:#d2d7da}

.jaha-chat-quick-menu.after-view{max-width:94%;margin-top:2px;background:#fff;border-color:#ececec;padding:11px}
.jaha-chat-quick-menu.after-view .jaha-chat-quick-heading{margin-bottom:8px;font-size:12px;color:#666}
.jaha-chat-quick-menu.after-view .jaha-chat-quick-grid{gap:7px}
.jaha-chat-quick-menu.after-view .jaha-chat-quick-button:first-child{border-color:var(--guided-border,#dfe3e6);background:var(--guided-soft,#f7f8f9);color:#333}
.jaha-chat-quick-button.tertiary{background:#f6f6f6!important;color:#666!important;border-color:#ddd!important}
.jaha-chat-quick-button.tertiary:hover,.jaha-chat-quick-button.tertiary:focus-visible{background:#ededed!important;border-color:#d3d3d3!important}

@media(max-width:600px){
  .jaha-chat-quick-menu{padding:11px 10px 12px;border-radius:13px}
  .jaha-chat-quick-helper{font-size:11px;margin-bottom:9px}
  .jaha-chat-quick-section-title{font-size:11.5px}
  .jaha-chat-guided-context{font-size:11px;margin-bottom:9px}
  .jaha-chat-guided-choice-summary{max-width:100%;margin-bottom:9px;padding:7px 9px;font-size:11.5px}
  .jaha-chat-quick-menu.after-view{max-width:100%;padding:10px}
  .jaha-chat-quick-button.category-choice{min-height:60px;padding-top:9px;padding-bottom:9px}
  .jaha-chat-choice-icon{flex-basis:32px;width:32px;height:32px}
  .jaha-chat-choice-icon svg{width:20px;height:20px}
  .jaha-chat-choice-title{font-size:12.5px}
  .jaha-chat-choice-subtitle{font-size:10px}
}

/* M57: priority-first nested question hierarchy. Only one quick-menu layer remains open. */
.jaha-chat-question-priority-title{grid-column:1/-1;margin:1px 2px 2px;color:var(--guided-accent,#555);font-size:11.5px;font-weight:900;line-height:1.4;letter-spacing:.01em}
.jaha-chat-question-more-divider{grid-column:1/-1;margin:7px 2px 1px;padding-top:9px;border-top:1px solid #edf0f1;color:#707579;font-size:11px;font-weight:800;line-height:1.4}
.jaha-chat-quick-button.priority-choice{position:relative;padding-right:34px;border-color:var(--guided-border,#dfe3e6)!important;background:var(--guided-soft,#f8f9f9)!important}
.jaha-chat-quick-button.priority-choice::after{content:'›';position:absolute;right:13px;top:50%;transform:translateY(-52%);font-size:19px;color:var(--guided-accent,#687077)}
.jaha-chat-quick-button.detail-entry{position:relative;padding-right:34px!important;border-style:dashed!important;background:#fff!important;color:#555!important;font-weight:800}
.jaha-chat-quick-button.detail-entry::after,.jaha-chat-quick-button.question-category-choice::after{content:'›';position:absolute;right:13px;top:50%;transform:translateY(-52%);font-size:19px;color:var(--guided-accent,#687077)}
.jaha-chat-quick-button.question-category-choice{position:relative;padding-right:34px!important;background:#fff!important;border-color:var(--guided-border,#dfe3e6)!important}
.jaha-chat-quick-menu.question-detail-view .jaha-chat-quick-button:not(.secondary):not(.tertiary){background:#fff;border-color:var(--guided-border,#dfe3e6);color:#333}
.jaha-chat-quick-menu.question-detail-view .jaha-chat-quick-button:not(.secondary):not(.tertiary):hover,.jaha-chat-quick-menu.question-detail-view .jaha-chat-quick-button:not(.secondary):not(.tertiary):focus-visible{background:var(--guided-soft,#f7f8f9);border-color:var(--guided-accent,#8b9296)}
@media(max-width:600px){.jaha-chat-question-priority-title{font-size:11px}.jaha-chat-question-more-divider{font-size:10.8px;margin-top:6px;padding-top:8px}}

/* M59: single-open answer accordion. Only the newest/reopened AI answer body stays open. */
.jaha-chat-bubble.staff.jaha-chat-answer-accordion{position:relative}
.jaha-chat-answer-body{display:block;min-width:0}
.jaha-chat-answer-toggle{display:none;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-height:42px;margin:0;padding:10px 12px;border:1px solid #dfe3e6;border-radius:12px;background:#fff;color:#4b5358;font:inherit;font-size:13px;font-weight:700;line-height:1.45;text-align:left;cursor:pointer}
.jaha-chat-answer-toggle:hover,.jaha-chat-answer-toggle:focus-visible{background:#f7f8f9;border-color:#c9d0d4;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.jaha-chat-bubble.staff.jaha-chat-answer-accordion.is-collapsed{max-width:94%;padding:0;background:transparent;border-radius:0;white-space:normal}
.jaha-chat-bubble.staff.jaha-chat-answer-accordion.is-collapsed .jaha-chat-answer-body{display:none}
.jaha-chat-bubble.staff.jaha-chat-answer-accordion.is-collapsed .jaha-chat-answer-toggle{display:block}
@media(max-width:600px){.jaha-chat-bubble.staff.jaha-chat-answer-accordion.is-collapsed{max-width:100%}.jaha-chat-answer-toggle{font-size:12.5px;min-height:40px;padding:9px 11px}}

/* M72: visit-scoped minimized launcher. Clicking the launcher X keeps a compact chat icon
   across JAHA internal page navigation; JavaScript resets it after leaving the site. */
.jaha-chat-launcher-shell.compact{width:54px!important;height:54px!important}
.jaha-chat-launcher-shell.compact .jaha-chat-launcher{display:flex!important;align-items:center!important;justify-content:center!important;width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;min-height:54px!important;padding:0!important;border-radius:50%!important;white-space:normal!important;animation:none!important}
.jaha-chat-launcher-shell.compact .jaha-chat-launcher-label,
.jaha-chat-launcher-shell.compact .jaha-chat-launcher-robot,
.jaha-chat-launcher-shell.compact .jaha-chat-launcher-dismiss{display:none!important}
.jaha-chat-launcher-shell.compact .jaha-chat-launcher-icon{display:block!important;margin:0!important;font-size:22px!important;line-height:1!important}

@media(max-width:600px){
  .jaha-chat-launcher-shell.compact{right:0!important;left:auto!important;top:69%!important;bottom:auto!important;width:50px!important;height:50px!important;transform:translateY(-50%)!important}
  .jaha-chat-launcher-shell.compact .jaha-chat-launcher{width:50px!important;min-width:50px!important;max-width:50px!important;height:50px!important;min-height:50px!important;padding:0!important;border-radius:16px 0 0 16px!important;animation:none!important}
  .jaha-chat-launcher-shell.compact .jaha-chat-launcher-icon{font-size:20px!important}
}

/* M71 safety flow retained in M72: ambiguity is handled before the generic solved/not-solved prompt. */
.jaha-chat-clarification{border-color:#e0d7ea;background:#fbf9fd}
.jaha-chat-clarification .jaha-chat-resolution-question{color:#655675}
/* M105: course introduction video modal. RYT200 and Baby Yoga use the same UI. */
.jaha-chat-bubble button.jaha-chat-video-link{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;margin:4px 0!important;padding:0 16px!important;border:0!important;border-radius:999px!important;background:#d9829e!important;color:#fff!important;font:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;cursor:pointer!important;box-shadow:none!important}.jaha-chat-bubble button.jaha-chat-video-link:hover,.jaha-chat-bubble button.jaha-chat-video-link:focus-visible{background:#c86f8d!important;outline:none!important}
.jaha-chat-video-modal{display:none;position:fixed;inset:0;z-index:2147483647;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}.jaha-chat-video-modal.open{display:flex}.jaha-chat-video-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}.jaha-chat-video-dialog{position:relative;z-index:1;width:min(880px,96vw);max-height:92vh;padding:14px 14px 16px;border-radius:16px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.35);box-sizing:border-box}.jaha-chat-video-title{padding:0 48px 10px 4px;color:#222;font-size:16px;font-weight:800;line-height:1.45}.jaha-chat-video-close{appearance:none;-webkit-appearance:none;position:absolute;right:10px;top:8px;z-index:2;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:#f4f4f4;color:#444;font:700 28px/38px sans-serif;cursor:pointer}.jaha-chat-video-close:hover,.jaha-chat-video-close:focus-visible{background:#e9e9e9;outline:none}.jaha-chat-video-frame-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#000}.jaha-chat-video-frame{position:absolute;inset:0;width:100%;height:100%;border:0}.jaha-chat-video-modal.open~*{}
@media(max-width:600px){.jaha-chat-video-modal{padding:10px}.jaha-chat-video-dialog{width:100%;padding:12px 10px 12px;border-radius:14px}.jaha-chat-video-title{font-size:14px;padding-bottom:9px}.jaha-chat-video-close{right:7px;top:6px}}

