/* 智匯家 Site Kit：企業功能前台樣式（顏色優先使用佈景主題變數） */
.cwsk-social{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}
.cwsk-social__link{display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-width:40px;height:40px;padding:0 .6em;border-radius:999px;border:1px solid currentColor;color:inherit;text-decoration:none;opacity:.85;transition:opacity .2s ease,background-color .2s ease}
.cwsk-social__link:hover,.cwsk-social__link:focus-visible{opacity:1;text-decoration:none;background:rgba(127,127,127,.12)}
.cwsk-social__link svg{width:20px;height:20px;fill:currentColor}
.cwsk-social:not(.cwsk-social--labels) .cwsk-social__link{padding:0;width:40px}
.cwsk-social__label{font-size:.875em}
.cwsk-company-contact{margin:0}
.cwsk-company-contact dt{font-size:.8125em;opacity:.7}
.cwsk-company-contact dd{margin:0 0 .6em}
.cwsk-company-contact a{color:inherit}
.cwsk-credentials th[scope=row]{font-weight:600}
.cwsk-credentials table{width:100%;border-collapse:collapse}
.cwsk-credentials :is(th,td){padding:.6em .8em;border-bottom:1px solid var(--cw-border,#dfe5ec);text-align:left;vertical-align:top}

/* 聯絡按鈕（頁面內） */
.cwsk-contact-list{display:flex;flex-wrap:wrap;gap:.75rem;list-style:none;margin:0;padding:0}
.cwsk-contact-list li{position:relative}
.cwsk-ch{display:inline-flex;align-items:center;gap:.5em;padding:.6em 1.1em;border:0;border-radius:var(--cw-radius,8px);background:var(--cwsk-ch-bg,var(--cw-primary,#0f4c81));color:#fff;font:inherit;font-weight:600;line-height:1.3;text-decoration:none;cursor:pointer}
.cwsk-ch:hover,.cwsk-ch:focus-visible{color:#fff;text-decoration:none;filter:brightness(.92)}
.cwsk-ch__icon{display:inline-grid;place-items:center;width:22px;height:22px}
.cwsk-ch__icon svg{width:20px;height:20px;fill:currentColor}
.cwsk-ch__icon img{width:22px;height:22px;object-fit:contain}

/* 各管道代表色 */
.cwsk-ch--whatsapp{--cwsk-ch-bg:#1f9e57}
.cwsk-ch--line{--cwsk-ch-bg:#06a649}
.cwsk-ch--messenger{--cwsk-ch-bg:#1877f2}
.cwsk-ch--wechat{--cwsk-ch-bg:#07a35a}
.cwsk-ch--teams{--cwsk-ch-bg:#4b53bc}
.cwsk-ch--phone{--cwsk-ch-bg:var(--cw-primary,#0f4c81)}
.cwsk-ch--email{--cwsk-ch-bg:var(--cw-primary-dark,#0a3559)}
.cwsk-ch--link{--cwsk-ch-bg:var(--cw-accent,#e8812a)}

/* WeChat QR 碼 */
.cwsk-qr{position:absolute;z-index:5;bottom:calc(100% + 8px);left:0;display:grid;justify-items:center;gap:.4em;padding:12px;border-radius:12px;background:#fff;color:#17212e;box-shadow:0 12px 32px rgba(15,30,50,.18);font-size:13px;white-space:nowrap}
.cwsk-qr[hidden]{display:none}
.cwsk-qr img{display:block;width:180px;height:180px}

/* 浮動聯絡按鈕 */
.cwsk-float{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));z-index:95;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-size:15px}
.cwsk-float--right{right:max(16px,env(safe-area-inset-right))}
.cwsk-float--left{left:max(16px,env(safe-area-inset-left));align-items:flex-start}
.cwsk-float__list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.cwsk-float__list[hidden]{display:none}
.cwsk-float__list li{position:relative;display:flex;justify-content:flex-end}
.cwsk-float--left .cwsk-float__list li{justify-content:flex-start}
.cwsk-float__btn{display:inline-flex;align-items:center;gap:.5em;height:44px;padding:0 16px 0 12px;border:0;border-radius:999px;background:var(--cwsk-ch-bg,var(--cw-primary,#0f4c81));color:#fff;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;box-shadow:0 6px 18px rgba(15,30,50,.2)}
.cwsk-float__btn:hover,.cwsk-float__btn:focus-visible{color:#fff;text-decoration:none;filter:brightness(.92)}
.cwsk-float__btn .cwsk-ch__icon{width:24px;height:24px}
.cwsk-float__btn .cwsk-ch__icon svg{width:22px;height:22px}
.cwsk-float--right .cwsk-qr{left:auto;right:0}
.cwsk-float__toggle{display:inline-flex;align-items:center;justify-content:center;gap:.5em;height:56px;min-width:56px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--cw-accent,#e8812a);color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 8px 24px rgba(15,30,50,.25)}
.cwsk-float__toggle svg{width:26px;height:26px;fill:currentColor}
.cwsk-float__close{display:none}
.cwsk-float.is-open .cwsk-float__open{display:none}
.cwsk-float.is-open .cwsk-float__close{display:inline-flex}
.cwsk-float--single .cwsk-float__btn{height:52px;padding:0 20px 0 16px}
@media (max-width:600px){
	.cwsk-float__text{display:none}
	.cwsk-float__toggle{padding:0;width:56px}
	.cwsk-float--single .cwsk-ch__label{display:none}
	.cwsk-float--single .cwsk-float__btn{width:52px;padding:0;justify-content:center}
}
@media (max-width:782px){.cwsk-float--desktop{display:none}}
@media (min-width:783px){.cwsk-float--mobile{display:none}}
@media print{.cwsk-float{display:none}}
