[hidden]{display:none!important}
.ai-help{position:fixed;right:20px;bottom:20px;z-index:30}
.ai-help>button{border-radius:999px;box-shadow:0 10px 30px #0002}
.ai-help-panel{width:min(370px,calc(100vw - 32px));height:480px;background:#fff;border:1px solid #eaded7;border-radius:18px;box-shadow:0 18px 60px #0003;display:flex;flex-direction:column;overflow:hidden}
.ai-help-panel[hidden]{display:none}
.ai-help-head{padding:14px 16px;background:#633d34;color:#fff;display:flex;justify-content:space-between}
.ai-help-messages{padding:14px;overflow:auto;flex:1}
.ai-help-message{padding:10px 12px;margin:8px 0;border-radius:12px;background:#f6eeea;white-space:pre-wrap}
.ai-help-message.user{background:#633d34;color:#fff;margin-left:30px}
.ai-help-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eaded7}
.ai-help-form input{min-width:0;flex:1}
.phase6-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.phase6-card{padding:18px;border:1px solid #ddd;border-radius:14px;background:#fff}
.phase6-card textarea{min-height:100px;width:100%}
.line-ai-status{margin:18px max(4vw,24px) 0;padding:18px 22px;border:2px solid;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;box-shadow:0 8px 24px #00000012}.line-ai-status div{display:grid;gap:4px}.line-ai-status strong{font-size:1.15rem}.line-ai-status small{color:#625c59}.line-ai-status.active{border-color:#27a36a;background:#effbf5}.line-ai-status.active strong{color:#176b47}.line-ai-status.paused{border-color:#d08b34;background:#fff7e8}.line-ai-status.paused strong{color:#8a5315}.line-ai-status.loading{border-color:#aaa}.line-ai-status button{flex:none}
.faq-editor{display:grid;grid-template-columns:minmax(220px,1fr) 140px;gap:12px;background:#fff;padding:20px;border-radius:14px;border:1px solid #e4dcd5}.faq-editor label{margin:0}.faq-editor input:not([type=checkbox]),.faq-editor textarea{display:block;width:100%;margin-top:6px}.faq-editor textarea{min-height:110px}.faq-wide{grid-column:1/-1}.faq-actions{display:flex;align-items:center;gap:8px}.faq-list{margin-top:18px}.faq-list table{table-layout:fixed}.faq-list th:nth-child(1){width:75px}.faq-list th:nth-child(2){width:110px}.faq-list th:nth-child(6){width:155px}.faq-answer{white-space:pre-wrap}.faq-inactive{opacity:.66}
.recovery-codes{white-space:pre-wrap;background:#f3f3f3;padding:12px}
.production-state{font-family:ui-monospace,monospace;font-size:.85rem}
.turnstile-challenge{position:fixed;z-index:9999;right:20px;bottom:20px;min-width:300px}
.line-support{position:fixed;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;gap:.55rem;padding:.62rem .9rem .62rem .62rem;border-radius:999px;background:#06c755;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 10px 28px #0004;transition:transform .15s ease,box-shadow .15s ease}.line-support:hover,.line-support:focus-visible{transform:translateY(-2px);box-shadow:0 13px 32px #0005}.line-support:focus-visible{outline:3px solid #fff;outline-offset:2px}.line-support-mark{display:grid;place-items:center;width:2.45rem;height:2.45rem;border-radius:50%;background:#fff;color:#06a848;font-size:.68rem;font-weight:900;letter-spacing:-.04em}.line-support-label{white-space:nowrap}
.line-support.unconfigured{opacity:.78;cursor:not-allowed;background:#7a9185}.line-support.unconfigured:hover{transform:none;box-shadow:0 10px 28px #0004}
@media(max-width:640px){.line-ai-status{align-items:stretch;flex-direction:column;margin:14px 14px 0}.line-ai-status button{width:100%}.faq-editor{grid-template-columns:1fr}.faq-wide{grid-column:auto}.faq-list table{table-layout:auto}.line-support{right:.75rem;bottom:calc(4.75rem + env(safe-area-inset-bottom));padding:.45rem}.line-support-mark{width:2.7rem;height:2.7rem}.line-support-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ai-help{right:.75rem;bottom:calc(8.5rem + env(safe-area-inset-bottom))}}
