.host-page{min-height:100vh;background:#f4f6fb;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.host-nav{display:flex;align-items:center;gap:32px;padding:16px 32px;background:#fff;border-bottom:1px solid #e5e7eb}.host-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:#1a1d29;white-space:nowrap;flex-shrink:0}.host-logo-mark{width:26px;height:26px;border-radius:6px;background:#2f5bff}.host-nav nav{display:flex;gap:24px;flex:1}.host-nav nav a{color:#374151;text-decoration:none;font-size:14px;font-weight:500}.host-nav-right{display:flex;align-items:center;gap:12px}.host-search{width:220px;height:34px;border-radius:8px;background:#f1f3f9}.host-avatar{width:34px;height:34px;border-radius:50%;background:#e5e7eb}.host-hero{margin:24px 32px;padding:40px;border-radius:16px;background:linear-gradient(135deg,#4a6bff,#2f5bff);display:flex;flex-direction:column;gap:14px;align-items:flex-start}.host-hero-line{height:14px;border-radius:6px;background:#ffffff8c}.host-hero-line-lg{width:220px}.host-hero-line-md{width:340px;height:12px;background:#fff6}.host-hero-btn{margin-top:8px;width:96px;height:34px;border-radius:8px;border:none;background:#fff}.host-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:0 32px 60px}@media(max-width:900px){.host-grid{grid-template-columns:repeat(2,1fr)}}.host-card{background:#fff;border-radius:12px;padding:12px;box-shadow:0 1px 2px #0000000a}.host-card-thumb{height:120px;border-radius:8px;background:#e9edf7;margin-bottom:10px}.host-card-title{height:10px;width:80%;border-radius:4px;background:#dde3f0;margin-bottom:8px}.host-card-sub{height:8px;width:50%;border-radius:4px;background:#e9edf7;margin-bottom:12px}.host-card-btn{height:30px;border-radius:8px;background:#e9edf7}.host-test-banner{padding:8px 16px;background:#fff7e0;color:#7a4b00;font-size:13px;text-align:center;border-bottom:1px solid #f3dca6}.host-test-banner-error{background:#fdecec;color:#a61b1b;border-color:#f5c2c2}.lpc-widget{--lpc-primary: #2f5bff;--lpc-primary-dark: #1e40c0;--lpc-primary-light: #eef2ff;--lpc-text: #1a1d29;--lpc-muted: #6b7280;--lpc-border: #e5e7eb;--lpc-bg: #ffffff;--lpc-danger: #ef4444;--lpc-success: #16a34a;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;position:fixed;right:24px;bottom:24px;z-index:999999;color:var(--lpc-text)}.lpc-widget *{box-sizing:border-box}.lpc-fab{width:60px;height:60px;border-radius:50%;border:none;background:var(--lpc-primary);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px #2f5bff59;transition:transform .15s ease,box-shadow .15s ease;position:relative}.lpc-fab:hover{transform:translateY(-2px);box-shadow:0 12px 28px #2f5bff6b}.lpc-fab svg{width:26px;height:26px}.lpc-badge{position:absolute;top:-4px;right:-4px;background:var(--lpc-danger);color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff}.lpc-proactive{position:absolute;bottom:72px;right:0;width:260px;background:#fff;border-radius:14px;box-shadow:0 10px 30px #00000026;padding:12px;display:flex;gap:10px;align-items:flex-start;animation:lpc-pop-in .2s ease}.lpc-proactive .lpc-avatar{flex-shrink:0}.lpc-proactive-body{font-size:13px;line-height:1.4}.lpc-proactive-name{font-weight:600;font-size:13px;margin-bottom:2px}.lpc-proactive-close{position:absolute;top:6px;right:8px;border:none;background:transparent;color:var(--lpc-muted);cursor:pointer;font-size:14px;line-height:1}.lpc-avatar{width:32px;height:32px;border-radius:50%;background:var(--lpc-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600}@keyframes lpc-pop-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.lpc-panel{position:absolute;bottom:76px;right:0;width:360px;height:560px;max-height:80vh;background:var(--lpc-bg);border-radius:16px;box-shadow:0 20px 60px #0003;display:flex;flex-direction:column;overflow:hidden;animation:lpc-pop-in .18s ease}@media(max-width:420px){.lpc-panel{width:calc(100vw - 24px);right:-12px;height:calc(100vh - 140px)}}.lpc-header{background:linear-gradient(135deg,var(--lpc-primary),var(--lpc-primary-dark));color:#fff;padding:16px;display:flex;align-items:center;gap:10px;flex-shrink:0}.lpc-header .lpc-avatar{background:#fff3}.lpc-header-text{flex:1;min-width:0}.lpc-header-title{font-weight:600;font-size:15px}.lpc-header-subtitle{font-size:12px;opacity:.85;display:flex;align-items:center;gap:6px}.lpc-online-status{display:inline-flex;align-items:center;gap:4px}.lpc-online-dot{width:6px;height:6px;border-radius:50%;background:#4ade80;flex-shrink:0}.lpc-header-btn{border:none;background:#ffffff26;color:#fff;width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.lpc-header-btn:hover{background:#ffffff47}.lpc-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.lpc-welcome-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:8px 8px 4px}.lpc-welcome-icon{width:56px;height:56px;border-radius:16px;background:var(--lpc-primary);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.lpc-welcome-title{font-weight:700;font-size:16px}.lpc-welcome-subtitle{font-size:13px;color:var(--lpc-muted)}.lpc-menu-item{display:flex;align-items:center;gap:12px;width:100%;border:1px solid var(--lpc-border);background:#fff;border-radius:12px;padding:12px;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease}.lpc-menu-item:hover{border-color:var(--lpc-primary);background:var(--lpc-primary-light)}.lpc-menu-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}.lpc-menu-title{font-weight:600;font-size:14px}.lpc-menu-subtitle{font-size:12px;color:var(--lpc-muted)}.lpc-menu-chevron{margin-left:auto;color:var(--lpc-muted)}.lpc-status-line{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--lpc-muted);margin-top:auto;padding-top:8px}.lpc-dot{width:8px;height:8px;border-radius:50%;background:var(--lpc-success)}.lpc-bubble-row{display:flex;gap:8px;align-items:flex-end}.lpc-bubble-row.lpc-from-customer{flex-direction:row-reverse}.lpc-bubble{max-width:78%;padding:10px 13px;border-radius:14px;font-size:13.5px;line-height:1.45}.lpc-bubble-row.lpc-from-agent .lpc-bubble{background:var(--lpc-primary-light);border-bottom-left-radius:4px}.lpc-bubble-row.lpc-from-customer .lpc-bubble{background:var(--lpc-primary);color:#fff;border-bottom-right-radius:4px}.lpc-system-message{align-self:center;background:#f1f3f9;color:var(--lpc-muted);font-size:11.5px;padding:6px 12px;border-radius:999px;text-align:center;max-width:90%}.lpc-bubble-meta{font-size:10px;color:var(--lpc-muted);margin-top:2px}.lpc-file-chip{display:flex;align-items:center;gap:6px;font-size:12px}.lpc-quick-replies{display:flex;flex-direction:column;gap:8px}.lpc-quick-reply{border:1px solid var(--lpc-primary);color:var(--lpc-primary);background:#fff;border-radius:10px;padding:10px 12px;font-size:13.5px;font-weight:600;cursor:pointer;text-align:left}.lpc-quick-reply:hover{background:var(--lpc-primary-light)}.lpc-typing{display:flex;gap:4px;padding:10px 13px;background:var(--lpc-primary-light);border-radius:14px 14px 14px 4px;width:fit-content}.lpc-typing span{width:6px;height:6px;border-radius:50%;background:var(--lpc-muted);animation:lpc-blink 1.2s infinite ease-in-out}.lpc-typing span:nth-child(2){animation-delay:.15s}.lpc-typing span:nth-child(3){animation-delay:.3s}@keyframes lpc-blink{0%,80%,to{opacity:.25}40%{opacity:1}}.lpc-form{display:flex;flex-direction:column;gap:12px}.lpc-field label{display:block;font-size:12.5px;font-weight:600;margin-bottom:5px;color:var(--lpc-text)}.lpc-field input,.lpc-field select,.lpc-field textarea{width:100%;border:1px solid var(--lpc-border);border-radius:10px;padding:10px 12px;font-size:13.5px;font-family:inherit}.lpc-field input:focus,.lpc-field select:focus,.lpc-field textarea:focus{outline:none;border-color:var(--lpc-primary)}.lpc-hint{font-size:12px;color:var(--lpc-muted);margin:0 0 4px}.lpc-btn{border:none;border-radius:10px;padding:11px 16px;font-size:13.5px;font-weight:600;cursor:pointer}.lpc-btn-primary{background:var(--lpc-primary);color:#fff}.lpc-btn-primary:hover{background:var(--lpc-primary-dark)}.lpc-btn-primary:disabled{opacity:.5;cursor:not-allowed}.lpc-btn-secondary{background:#fff;border:1px solid var(--lpc-border);color:var(--lpc-text)}.lpc-btn-secondary:hover{border-color:var(--lpc-primary);color:var(--lpc-primary)}.lpc-btn-secondary:disabled{opacity:.5;cursor:not-allowed}.lpc-btn-block{width:100%}.lpc-btn-link{background:none;border:none;color:var(--lpc-primary);font-weight:600;cursor:pointer;font-size:13px;padding:4px 0}.lpc-back{display:flex;align-items:center;gap:6px;border:none;background:none;color:#ffffffe6;cursor:pointer;font-size:13px}.lpc-center-screen{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:24px 8px}.lpc-center-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:6px}.lpc-center-title{font-weight:700;font-size:15px}.lpc-center-text{font-size:13px;color:var(--lpc-muted);max-width:260px}.lpc-spinner{width:36px;height:36px;border-radius:50%;border:3px solid var(--lpc-primary-light);border-top-color:var(--lpc-primary);animation:lpc-spin .8s linear infinite}@keyframes lpc-spin{to{transform:rotate(360deg)}}.lpc-composer-area{flex-shrink:0;border-top:1px solid var(--lpc-border)}.lpc-field-error{color:var(--lpc-danger);font-size:11.5px;padding:6px 12px 0}.lpc-composer-ended{padding:12px 16px;text-align:center;color:var(--lpc-muted);font-size:12.5px}.lpc-composer{display:flex;align-items:center;gap:6px;padding:6px 8px}.lpc-composer input{flex:1;border:none;outline:none;font-size:13.5px;padding:8px 4px;font-family:inherit}.lpc-icon-btn{border:none;background:none;color:var(--lpc-muted);width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.lpc-icon-btn:hover{background:var(--lpc-primary-light);color:var(--lpc-primary)}.lpc-send-btn{background:var(--lpc-primary);color:#fff}.lpc-send-btn:hover{background:var(--lpc-primary-dark);color:#fff}.lpc-send-btn:disabled{opacity:.4;cursor:not-allowed}.lpc-history-item{display:block;width:100%;border:1px solid var(--lpc-border);background:#fff;border-radius:12px;padding:12px;cursor:pointer;text-align:left;font-family:inherit}.lpc-history-item:hover{border-color:var(--lpc-primary)}.lpc-history-top{display:flex;justify-content:space-between;font-size:12px;color:var(--lpc-muted);margin-bottom:4px}.lpc-history-topic{font-weight:600;font-size:13.5px;margin-bottom:3px}.lpc-history-preview{font-size:12.5px;color:var(--lpc-muted)}.lpc-empty{color:var(--lpc-muted);font-size:13px;text-align:center;margin-top:24px}.lpc-field select{background:#fff;color:var(--lpc-text);-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}.lpc-field select:disabled{background-color:#f3f4f6;color:var(--lpc-muted);cursor:not-allowed}.lpc-field-other{margin-top:8px}.lpc-field-note{margin-top:4px;font-size:11.5px;color:var(--lpc-muted)}.lpc-ss{position:relative}.lpc-ss input{width:100%;padding-right:34px;cursor:pointer;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.lpc-ss-open input{cursor:text;border-color:var(--lpc-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}.lpc-ss-disabled input{background-color:#f3f4f6;color:var(--lpc-muted);cursor:not-allowed}.lpc-ss-list{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;max-height:220px;overflow-y:auto;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid var(--lpc-border);border-radius:10px;box-shadow:0 10px 24px #0f172a24}.lpc-ss-list ul{margin:0;padding:0;list-style:none}.lpc-ss-group{padding:8px 10px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--lpc-muted)}.lpc-ss-option{padding:8px 10px;border-radius:7px;font-size:13.5px;color:var(--lpc-text);cursor:pointer}.lpc-ss-active{background:#eef2ff}.lpc-ss-selected{font-weight:600;color:var(--lpc-primary)}.lpc-ss-custom{font-weight:600;color:var(--lpc-primary);border-bottom:1px dashed var(--lpc-border);border-radius:7px 7px 0 0;margin-bottom:2px}.lpc-ss-empty{padding:10px;font-size:13px;color:var(--lpc-muted)}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
