/* SundayFront public chat widget */
#sfpc{--pc-blue:#2563EB;--pc-blue-d:#1D4FB8;--pc-ink:#15213B;--pc-soft:#566179;--pc-rule:#E3DED3;--pc-paper:#FBF9F5;--pc-sky:#E6EFFB;position:fixed;right:20px;bottom:20px;z-index:99990;font-family:inherit;color:var(--pc-ink);line-height:1.45}
#sfpc *{box-sizing:border-box}
#sfpc .sfpc-vh,#sfpc .sfpc-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
.sfpc-launch{position:relative;display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 20px 0 17px;border:0;border-radius:999px;background:var(--pc-blue);color:#fff;font-weight:600;font-size:15px;line-height:1;font-family:inherit;cursor:pointer;box-shadow:0 14px 32px -12px rgba(21,33,59,.55);transition:transform .2s,background .2s}
.sfpc-launch:hover{background:var(--pc-blue-d);transform:translateY(-2px)}
.sfpc-launch:focus-visible{outline:3px solid #9DB8F5;outline-offset:3px}
#sfpc.is-open .sfpc-launch{display:none}
.sfpc-dot{position:absolute;top:-2px;right:-2px;width:14px;height:14px;border-radius:50%;background:#F2B347;border:2px solid #fff}
.sfpc-panel{position:absolute;right:0;bottom:0;width:384px;height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;background:var(--pc-paper);border-radius:22px;overflow:hidden;box-shadow:0 30px 70px -24px rgba(21,33,59,.55),0 0 0 1px rgba(21,33,59,.06)}
.sfpc-panel[hidden]{display:none}
.sfpc-head{display:flex;align-items:center;gap:12px;padding:16px 14px 16px 18px;background:#fff;border-bottom:1px solid var(--pc-rule)}
.sfpc-head .sfpc-logo,.sfpc-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--pc-sky);color:var(--pc-blue);flex:none}
.sfpc-head div{flex:1;min-width:0}
.sfpc-head b{display:block;font-size:16px;font-weight:650}
.sfpc-head span{display:block;font-size:13px;color:var(--pc-soft)}
.sfpc-x{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--pc-soft);cursor:pointer;flex:none}
.sfpc-x:hover{background:var(--pc-sky);color:var(--pc-ink)}
.sfpc-body{flex:1;overflow-y:auto;padding:18px 16px 10px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.sfpc-msg{max-width:86%;display:flex;flex-direction:column}
.sfpc-msg p{margin:0;padding:11px 14px;border-radius:18px;font-size:15px;text-wrap:pretty;overflow-wrap:anywhere}
.sfpc-msg.is-us{align-self:flex-start}
.sfpc-msg.is-us p{background:#fff;border:1px solid var(--pc-rule);border-bottom-left-radius:6px}
.sfpc-msg.is-me{align-self:flex-end}
.sfpc-msg.is-me p{background:var(--pc-blue);color:#fff;border-bottom-right-radius:6px}
.sfpc-msg a{color:var(--pc-blue-d);font-weight:600}
.sfpc-msg.is-me a{color:#fff}
.sfpc-who{font-size:12px;color:var(--pc-soft);margin:4px 0 0 6px}
.sfpc-sys{align-self:center;margin:4px 0;font-size:13px;color:var(--pc-soft);text-align:center;max-width:90%;text-wrap:balance}
.sfpc-ideas{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.sfpc-ideas button{padding:8px 13px;border:1.5px solid var(--pc-sky);border-radius:999px;background:#fff;color:var(--pc-blue-d);font-weight:600;font-size:14px;line-height:1.25;font-family:inherit;cursor:pointer;text-align:left}
.sfpc-ideas button:hover{border-color:var(--pc-blue)}
.is-typing p{display:flex;gap:4px;padding:15px 16px}
.is-typing i{width:7px;height:7px;border-radius:50%;background:#A9B4C8;animation:sfpc-b 1.2s infinite}
.is-typing i:nth-child(2){animation-delay:.15s}.is-typing i:nth-child(3){animation-delay:.3s}
@keyframes sfpc-b{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.sfpc-email{display:grid;gap:8px;padding:14px;background:#fff;border:1.5px solid var(--pc-sky);border-radius:18px;margin-top:4px}
.sfpc-email p{margin:0;font-size:14px;font-weight:600;text-wrap:pretty}
.sfpc-email input{width:100%;height:42px;padding:0 12px;border:1.5px solid var(--pc-rule);border-radius:10px;font:inherit;font-size:15px;color:var(--pc-ink);background:#fff}
.sfpc-email input:focus,.sfpc-form textarea:focus{outline:none;border-color:var(--pc-blue)}
.sfpc-email button{height:42px;border:0;border-radius:999px;background:var(--pc-blue);color:#fff;font-weight:600;font-size:15px;font-family:inherit;cursor:pointer}
.sfpc-err{color:#9A2B21;font-size:13px;font-weight:600}
.sfpc-form{display:flex;align-items:flex-end;gap:8px;margin:0 12px;padding:8px 8px 8px 14px;background:#fff;border:1.5px solid var(--pc-rule);border-radius:20px}
.sfpc-form:focus-within{border-color:var(--pc-blue)}
.sfpc-form textarea{flex:1;min-width:0;border:0;resize:none;font:inherit;font-size:15px;line-height:1.4;padding:7px 0;max-height:120px;background:transparent;color:var(--pc-ink)}
.sfpc-form textarea:focus{border:0}
.sfpc-send{display:grid;place-items:center;width:38px;height:38px;flex:none;border:0;border-radius:50%;background:var(--pc-blue);color:#fff;cursor:pointer}
.sfpc-send:hover{background:var(--pc-blue-d)}
.sfpc-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 18px 14px;font-size:13px}
.sfpc-foot a{color:var(--pc-soft);text-decoration:none;margin-left:auto}
.sfpc-foot a:hover{color:var(--pc-ink);text-decoration:underline}
.sfpc-more{border:0;background:none;padding:0;color:var(--pc-blue-d);font-weight:600;font-size:13px;font-family:inherit;cursor:pointer}
.sfpc-more:hover{text-decoration:underline}
@media (max-width:640px){
	#sfpc{right:14px;bottom:14px}
	.sfpc-launch{height:54px;width:54px;padding:0;justify-content:center}
	.sfpc-launch__t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
	#sfpc.is-open{inset:0;right:0;bottom:0}
	.sfpc-panel{position:fixed;inset:0;width:auto;height:auto;border-radius:0}
}
@media (prefers-reduced-motion:reduce){.sfpc-launch{transition:none}.is-typing i{animation:none}}
