#kakomaru-guide-root{--kmg-ink:#193d49;--kmg-teal:#126c67;--kmg-line:#dce8e5;--kmg-muted:#627a7c;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--kmg-ink);font-size:14px;line-height:1.7}
#kakomaru-guide-root *{box-sizing:border-box}#kakomaru-guide-root [hidden]{display:none!important}
#kakomaru-guide-root button,#kakomaru-guide-root textarea,#kakomaru-guide-root select{font:inherit}
#kakomaru-guide-root button{cursor:pointer;border:0;box-shadow:none;margin:0;width:auto}#kakomaru-guide-root button:disabled{cursor:wait;opacity:.55}
#kakomaru-guide-root button:focus-visible,#kakomaru-guide-root a:focus-visible,#kakomaru-guide-root input:focus-visible,#kakomaru-guide-root textarea:focus-visible,#kakomaru-guide-root select:focus-visible,#kakomaru-guide-root summary:focus-visible{outline:3px solid #e5af67;outline-offset:3px}
.kmg-launch{position:fixed;right:26px;bottom:26px;display:flex;align-items:center;gap:13px;background:#126c67;color:white;padding:12px 20px 12px 12px;border-radius:60px;z-index:99998;box-shadow:0 10px 35px #1e535935!important;text-align:left;font-weight:700!important}.kmg-launch small{display:block;font-size:10px;font-weight:400;letter-spacing:.06em;opacity:.85}.kmg-avatar{width:49px;height:49px;object-fit:cover;border-radius:50%;background:#eff7f0;flex-shrink:0}.kmg-panel{position:fixed;right:26px;bottom:24px;width:440px;height:min(800px,calc(100dvh - 48px));background:#fffefa;border:1px solid #d0e2dc;border-radius:23px;box-shadow:0 18px 80px #203c4b25;z-index:99999;display:flex;flex-direction:column;overflow:hidden}
.kmg-header{display:flex;align-items:center;gap:13px;padding:21px 23px 17px;background:linear-gradient(120deg,#f7fbf5,#e7f4ef);border-bottom:1px solid var(--kmg-line)}.kmg-eyebrow{font-size:8px;letter-spacing:.17em;color:var(--kmg-teal);font-weight:700}.kmg-header h2{font-size:19px!important;padding:0!important;margin:0!important;background:none!important;border:0!important;color:var(--kmg-ink)!important;line-height:1.5!important}.kmg-header p{font-size:10px;margin:4px 0 0!important;color:var(--kmg-muted)}.kmg-dot{display:inline-block;width:6px;height:6px;background:#4aa68c;border-radius:50%;margin-right:5px}.kmg-close{margin-left:auto!important;color:var(--kmg-muted);align-self:flex-start;background:transparent;padding:0 5px;font-size:25px!important;line-height:1.3}
.kmg-tabs{display:flex;padding:10px 19px 0;gap:18px;border-bottom:1px solid var(--kmg-line)}.kmg-tabs button{background:none;color:var(--kmg-muted);padding:9px 7px 12px;border-radius:0;font-size:12px!important;border-bottom:2px solid transparent!important}.kmg-tabs button[aria-selected=true]{color:var(--kmg-teal);border-bottom-color:var(--kmg-teal)!important;font-weight:700}
.kmg-chat{display:flex;flex-direction:column;min-height:0;flex:1}.kmg-thread{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:23px 23px 12px;scroll-behavior:smooth}.kmg-note{display:block;color:var(--kmg-teal);font-size:11px;font-weight:600}.kmg-welcome h3,.kmg-feedback-form h3{font-size:23px!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;line-height:1.65!important;padding:0!important;margin:11px 0!important;background:none!important;border:0!important;font-weight:600!important;letter-spacing:.035em}.kmg-welcome p{font-size:12px;color:var(--kmg-muted);margin:10px 0 17px}.kmg-suggestions{display:flex;flex-direction:column;gap:7px;margin-bottom:20px}.kmg-suggestions button{background:#f6f8f3;border:1px solid #e3e9df!important;border-radius:9px;padding:9px 12px;text-align:left;color:#315c60;font-size:11px!important}.kmg-suggestions button:after{content:'↗';float:right;color:#6f9284}
.kmg-message{white-space:pre-wrap;font-size:12px;margin:15px 0;overflow-wrap:anywhere}.kmg-user{background:#e6f0ed;padding:10px 14px;border-radius:13px 13px 2px 13px;margin-left:35px;color:#275e59}.kmg-assistant{padding:0 2px}.kmg-source{background:white;border:1px solid var(--kmg-line);border-left:3px solid #81b3a8;border-radius:10px;margin:11px 0;padding:13px 14px;white-space:normal}.kmg-source>small{color:#6b8e80;font-size:9px;letter-spacing:.08em}.kmg-source a{display:block;color:var(--kmg-ink)!important;text-decoration:none!important;font-weight:700;line-height:1.65;margin:4px 0}.kmg-source p{font-size:10px;color:var(--kmg-muted);margin:6px 0;line-height:1.8}.kmg-source button{font-size:10px!important;background:none;text-decoration:underline;color:var(--kmg-teal);padding:0}.kmg-feedback-invite{color:var(--kmg-muted);font-size:10px;margin:14px 0 0;padding:10px 0;border-top:1px dashed var(--kmg-line)}.kmg-status-note{font-size:10px;color:#9b7138}
.kmg-compose{margin:0!important;padding:13px 23px 9px;border-top:1px solid var(--kmg-line);background:#fffefa}.kmg-compose>label{font-size:10px;font-weight:700;color:#526f70;display:block;margin-bottom:5px}.kmg-input-row{display:flex;align-items:flex-end;border:1px solid #c9dcd5;border-radius:12px;background:white;padding:5px}.kmg-input-row textarea{width:100%;resize:none;border:0!important;box-shadow:none!important;background:transparent!important;font-size:12px!important;color:var(--kmg-ink);padding:7px 8px;max-height:95px;min-height:50px;line-height:1.7}.kmg-input-row button{border-radius:9px;background:var(--kmg-teal);color:white;flex-shrink:0;width:35px!important;height:35px;font-size:21px!important}.kmg-compose-meta{display:flex;justify-content:space-between;color:#8b9a97;font-size:9px;margin-top:5px}.kmg-ai-consent,.kmg-save-consent{display:flex!important;gap:7px;align-items:flex-start;font-size:10px!important;font-weight:400!important;margin:10px 0 0!important;color:var(--kmg-muted)}.kmg-ai-consent input,.kmg-save-consent input{margin:4px 0 0;flex-shrink:0}
#kmg-feedback{flex:1;overflow-y:auto;overscroll-behavior:contain}.kmg-feedback-form{padding:22px 23px;margin:0!important}.kmg-context{font-size:10px;background:#edf4ee;padding:9px 11px;border-radius:7px;color:#617c6c;line-height:1.65}.kmg-feedback-form fieldset{padding:0;margin:15px 0;border:0}.kmg-feedback-form legend{font-size:11px;font-weight:600;margin-bottom:8px}.kmg-ratings{display:flex;gap:7px}.kmg-ratings label{position:relative;flex:1;cursor:pointer}.kmg-ratings input{position:absolute;opacity:0;top:0}.kmg-ratings span{display:block;border:1px solid #dbe4d9;background:white;border-radius:9px;text-align:center;padding:9px 4px;color:#719784;font-size:22px;line-height:1.3}.kmg-ratings small{display:block;font-size:9px;margin-top:5px;color:#496763}.kmg-ratings input:checked+span{background:#e1f1e8;border-color:#449583;color:#126c67}.kmg-ratings input:focus-visible+span{outline:3px solid #e5af67}.kmg-feedback-form>label:not(.kmg-save-consent){display:block;font-size:11px;margin:12px 0 6px;font-weight:600}.kmg-feedback-form select,.kmg-feedback-form textarea{width:100%;padding:9px 10px;background:white;border:1px solid #d0ded6;border-radius:8px;font-size:11px!important;color:var(--kmg-ink)}.kmg-feedback-form textarea{resize:vertical}.kmg-feedback-form label small{font-weight:400;color:#8c9993;font-size:9px}.kmg-privacy{font-size:9px;color:#8a9791;line-height:1.7}.kmg-submit-feedback{display:flex;justify-content:space-between;background:var(--kmg-teal);color:white;width:100%!important;border-radius:9px;padding:11px 14px;font-size:12px!important}.kmg-feedback-result{color:var(--kmg-teal);font-size:12px}
.kmg-error{margin:0;padding:9px 23px;color:#9a4438;background:#fff1eb;font-size:11px}.kmg-footer{padding:8px 23px 12px;border-top:1px solid #eef0e9;font-size:9px;color:#8b9993;background:#fafbf7}.kmg-footer summary{cursor:pointer;font-size:9px;color:#70877d}.kmg-footer p{font-size:9px;line-height:1.8}.kmg-trial-label{display:block;margin-top:5px;font-size:8px;letter-spacing:.07em}
@media(max-width:600px){.kmg-launch{right:15px;bottom:max(16px,env(safe-area-inset-bottom));font-size:12px}.kmg-panel{right:10px;bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 20px);height:min(780px,calc(100dvh - 28px));border-radius:18px}.kmg-header{padding:15px 18px 12px}.kmg-thread{padding:17px 18px 10px}.kmg-compose{padding:10px 18px 7px}.kmg-feedback-form{padding:17px 18px}.kmg-footer{padding:7px 18px 10px}.kmg-welcome h3{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){.kmg-thread{scroll-behavior:auto}}
.kmg-avatar-text{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#ecf5ed;color:#126c67;font-family:"Yu Mincho",serif;font-size:25px;flex-shrink:0}
.kmg-message{font-size:13px}.kmg-source p{font-size:11px}.kmg-note{font-size:12px}.kmg-header p{font-size:11px}.kmg-feedback-form>label:not(.kmg-save-consent),.kmg-feedback-form legend{font-size:12px}.kmg-welcome p{font-size:13px}
@media(max-width:600px){#kakomaru-guide-root textarea,#kakomaru-guide-root select{font-size:16px!important}.kmg-message{font-size:14px}.kmg-source p{font-size:12px}.kmg-ai-consent,.kmg-save-consent{font-size:11px!important}}
