html,body{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}.chat-root{--chat-primary:#2e5bff;--chat-primary-strong:#1f47e6;--chat-primary-weak:#eef2ff;--chat-primary-deep:#1a3bc4;--chat-surface:#f8fafc;--chat-line:#e2e8f0;--chat-text:#1e293b;--chat-muted:#94a3b8;-webkit-font-smoothing:antialiased;height:100dvh;color:var(--chat-text);background:#e2e8f0;font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,Yu Gothic,system-ui,sans-serif;overflow:hidden}.chat-frame{background:var(--chat-surface);flex-direction:column;width:100%;max-width:420px;height:100%;margin:0 auto;display:flex;overflow:hidden}@media (width>=640px){.chat-frame{box-shadow:0 25px 50px -12px #00000040}}.chat-header{border-bottom:1px solid var(--chat-line);text-align:center;background:#fff;flex-shrink:0;padding:12px 16px;font-size:15px;font-weight:700}.chat-logo{object-fit:contain;max-width:60%;height:28px;margin:0 auto;display:block}.chat-log{overscroll-behavior:contain;flex:1;min-height:0;padding:16px 12px;overflow-y:auto}.chat-footer{border-top:1px solid var(--chat-line);color:var(--chat-muted);text-align:center;background:#fff;flex-shrink:0;padding:10px;font-size:11px}@keyframes chat-bubble-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.chat-row{min-width:0;margin-bottom:8px;padding:0 4px;display:flex}.chat-row-bot{justify-content:flex-start;align-items:flex-end;gap:8px}.chat-avatar{box-sizing:border-box;background:#fff;border:1px solid #f1f5f9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;padding:5px;display:flex;overflow:hidden;box-shadow:0 1px 2px #0000000d}.chat-avatar img{object-fit:contain;width:100%;height:100%;display:block}.chat-row-applicant{justify-content:flex-end}.chat-bubble{white-space:pre-line;overflow-wrap:anywhere;border-radius:16px;min-width:0;max-width:85%;padding:10px 16px;font-size:14px;line-height:1.7;animation:.2s ease-out chat-bubble-in;box-shadow:0 1px 2px #0000000d}.chat-row-bot .chat-bubble{background:#fff;border:1px solid #f1f5f9;border-bottom-left-radius:4px}.chat-row-applicant .chat-bubble{background:var(--chat-primary);color:#fff;border-bottom-right-radius:4px}@keyframes chat-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.chat-typing{align-items:center;gap:4px;height:16px;display:flex}.chat-typing span{background:var(--chat-muted);border-radius:50%;width:6px;height:6px;animation:.9s infinite chat-bounce}.chat-typing span:nth-child(2){animation-delay:.12s}.chat-typing span:nth-child(3){animation-delay:.24s}.chat-card{border:1px solid var(--chat-line);background:#fff;border-radius:16px 16px 16px 4px;max-width:90%;animation:.2s ease-out chat-bubble-in;overflow:hidden;box-shadow:0 1px 2px #0000000d}.chat-card-text{white-space:pre-line;padding:12px 16px;font-size:14px;line-height:1.7}.chat-card-choices{border-top:1px solid #f1f5f9}.chat-card-choice{width:100%;min-height:48px;font:inherit;color:var(--chat-primary-strong);text-align:center;cursor:pointer;background:0 0;border:none;border-top:1px solid #f1f5f9;padding:12px 16px;font-size:14px;font-weight:600;display:block}.chat-card-choices>.chat-card-choice:first-child{border-top:none}.chat-card-choice:hover:not(:disabled){background:var(--chat-primary-weak)}.chat-card-choice-selected:disabled{background:var(--chat-primary-weak);color:var(--chat-primary-deep);cursor:default}.chat-card-choice:disabled{color:#cbd5e1;cursor:not-allowed}.chat-modal-backdrop{background:#0f172a73;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.chat-modal{background:#fff;border-radius:20px 20px 0 0;flex-direction:column;width:100%;max-width:420px;max-height:85dvh;display:flex}@media (width>=640px){.chat-modal-backdrop{align-items:center}.chat-modal{border-radius:16px}}.chat-modal-header{border-bottom:1px solid var(--chat-line);padding:16px 16px 12px}.chat-modal-title{margin:0;font-size:16px;font-weight:700}.chat-modal-note{color:#64748b;margin:4px 0 0;font-size:12px}.chat-modal-body{flex:1;padding:8px 16px;overflow-y:auto}.chat-date-group{margin:12px 0}.chat-date-label{color:#64748b;margin-bottom:8px;font-size:13px;font-weight:700}.chat-slot-list{flex-wrap:wrap;gap:8px;display:flex}.chat-slot{min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:8px 14px;font-size:14px}.chat-slot[aria-pressed=true]{background:var(--chat-primary);color:#fff;border-color:#0000}.chat-slot:disabled{opacity:.4;cursor:not-allowed}.chat-modal-footer{border-top:1px solid var(--chat-line);align-items:center;gap:8px;padding:12px 16px 20px;display:flex}.chat-modal-count{color:#64748b;flex:1;font-size:13px}.chat-button{border:1px solid var(--chat-line);min-height:44px;font:inherit;cursor:pointer;background:#fff;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:600}.chat-button-primary{background:var(--chat-primary);color:#fff;border-color:#0000}.chat-button:disabled{opacity:.5;cursor:not-allowed}.chat-empty{color:var(--chat-muted);text-align:center;padding:24px 0;font-size:14px}.chat-status{height:100%;color:var(--chat-muted);justify-content:center;align-items:center;font-size:14px;display:flex}.chat-notice{flex-direction:column;align-items:center;gap:8px;margin:8px 0;display:flex}.chat-alert{color:#b42318}.chat-link{color:inherit;word-break:break-all;text-decoration:underline}
