/* Planet+ ecosystem chatbot prototype */
:root{--pc-accent:#f28a2f;--pc-accent-2:#ffb36d;--pc-dark:#071827;--pc-text:#173043;--pc-muted:#6d7f8b;--pc-surface:#fff;--pc-soft:#f5f7f8;--pc-line:#dfe6ea}
.planet-chat-launcher{position:fixed;right:22px;bottom:22px;z-index:1200;border:0;border-radius:999px;background:linear-gradient(135deg,var(--pc-accent),var(--pc-accent-2));color:#102332;min-height:56px;padding:0 18px 0 14px;display:flex;align-items:center;gap:10px;box-shadow:0 16px 45px rgba(5,25,39,.28);cursor:pointer;font:800 13px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;transition:.22s ease}
.planet-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 20px 55px rgba(5,25,39,.34)}
.planet-chat-launcher .pc-orb{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(7,24,39,.93);color:white;font-size:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.planet-chat-launcher .pc-dot{position:absolute;width:9px;height:9px;right:7px;top:4px;background:#43d17a;border-radius:50%;border:2px solid white}
.planet-chat-panel{position:fixed;right:22px;bottom:90px;z-index:1199;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 120px));background:var(--pc-surface);border:1px solid rgba(13,45,66,.12);border-radius:26px;box-shadow:0 28px 90px rgba(3,18,30,.28);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(14px) scale(.985);pointer-events:none;transition:.22s ease;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--pc-text)}
.planet-chat-panel.open{opacity:1;transform:none;pointer-events:auto}
.pc-head{background:linear-gradient(145deg,var(--pc-dark),#0f3148);color:white;padding:18px 18px 16px;display:flex;align-items:center;gap:12px;position:relative;overflow:hidden}
.pc-head:after{content:"";position:absolute;right:-34px;top:-54px;width:145px;height:145px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 22px rgba(255,255,255,.035),0 0 0 44px rgba(255,255,255,.022)}
.pc-avatar{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--pc-accent),var(--pc-accent-2));color:#102332;font-size:19px;font-weight:900;flex:0 0 auto}
.pc-headcopy{position:relative;z-index:1;min-width:0;flex:1}.pc-headcopy strong{display:block;font-size:15px;letter-spacing:-.01em}.pc-headcopy small{display:block;color:#b7cad6;font-size:11px;margin-top:3px}.pc-demo{display:inline-flex;margin-left:7px;vertical-align:2px;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.11);color:#d6e2e9;font-size:8px;letter-spacing:.12em;text-transform:uppercase}
.pc-close{position:relative;z-index:2;width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:rgba(255,255,255,.06);color:white;font-size:20px;line-height:1;cursor:pointer}.pc-close:hover{background:rgba(255,255,255,.12)}
.pc-messages{flex:1;overflow-y:auto;padding:18px 16px 12px;background:linear-gradient(180deg,#f8fafb 0%,#fff 38%);scroll-behavior:smooth}.pc-messages::-webkit-scrollbar{width:7px}.pc-messages::-webkit-scrollbar-thumb{background:#d9e1e6;border-radius:99px}
.pc-row{display:flex;margin:0 0 12px}.pc-row.user{justify-content:flex-end}.pc-bubble{max-width:86%;padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.5;box-shadow:0 3px 10px rgba(10,36,52,.04)}.pc-row.bot .pc-bubble{background:white;border:1px solid var(--pc-line);border-top-left-radius:5px}.pc-row.user .pc-bubble{background:var(--pc-dark);color:white;border-top-right-radius:5px}.pc-bubble p{margin:0 0 8px}.pc-bubble p:last-child{margin-bottom:0}.pc-bubble strong{font-weight:850}.pc-bubble a{color:#215c83;font-weight:800;text-decoration:none}.pc-bubble a:hover{text-decoration:underline}.pc-bubble .pc-route{display:block;margin-top:9px;border:1px solid #dbe4ea;border-radius:12px;padding:9px 10px;background:#f8fafb;color:#24485f}.pc-bubble .pc-route span{display:block;font-size:10px;color:#7d8d97;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}.pc-bubble .pc-route b{font-size:12px}
.pc-typing{display:inline-flex;gap:4px;align-items:center;padding:5px 1px}.pc-typing i{width:6px;height:6px;border-radius:50%;background:#8fa1ad;animation:pcpulse 1s infinite}.pc-typing i:nth-child(2){animation-delay:.14s}.pc-typing i:nth-child(3){animation-delay:.28s}@keyframes pcpulse{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}
.pc-suggestions{padding:4px 16px 11px;display:flex;gap:7px;overflow-x:auto;background:white;scrollbar-width:none}.pc-suggestions::-webkit-scrollbar{display:none}.pc-chip{white-space:nowrap;border:1px solid #dbe3e8;background:white;color:#355467;border-radius:999px;padding:8px 10px;font:800 11px/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;cursor:pointer;transition:.18s}.pc-chip:hover{border-color:var(--pc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pc-accent) 12%,transparent);transform:translateY(-1px)}
.pc-form{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:11px 12px 10px;border-top:1px solid #e4eaee;background:white}.pc-input{width:100%;min-width:0;border:1px solid #dbe3e8;border-radius:14px;padding:11px 12px;font:500 13px/1.3 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--pc-text);outline:0;background:#fbfcfd}.pc-input:focus{border-color:var(--pc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pc-accent) 12%,transparent)}.pc-send{border:0;border-radius:14px;background:var(--pc-accent);color:#102332;font-size:19px;font-weight:900;cursor:pointer}.pc-send:hover{filter:brightness(1.04)}
.pc-foot{padding:0 14px 11px;background:white;color:#8a99a3;font-size:9.5px;line-height:1.35;text-align:center}.pc-foot strong{color:#657783}
@media(max-width:640px){.planet-chat-launcher{right:14px;bottom:14px;min-height:52px;padding-right:15px}.planet-chat-launcher .pc-label{display:none}.planet-chat-panel{right:10px;bottom:76px;width:calc(100vw - 20px);height:min(650px,calc(100vh - 92px));border-radius:22px}.pc-head{padding:15px}.pc-messages{padding:15px 13px 10px}.pc-suggestions{padding-left:13px;padding-right:13px}}
@media(prefers-reduced-motion:reduce){.planet-chat-launcher,.planet-chat-panel,.pc-typing i{transition:none;animation:none}}
