.cgy-faq-page,.cgy-faq-floating{--cgy-faq-accent:#000000;font-family:Inter,"Segoe UI",Arial,sans-serif}.cgy-faq-page{max-width:1180px;margin:0 auto 40px;color:#172033}.cgy-faq-page *,.cgy-faq-floating *{box-sizing:border-box}.cgy-faq-page>header{min-height:210px;padding:38px 46px;display:flex;align-items:center;justify-content:space-between;gap:28px;overflow:hidden;border-radius:24px;background:linear-gradient(135deg,#101827,#1d2b43 58%,var(--cgy-faq-accent));box-shadow:0 20px 50px rgba(15,34,64,.2)}.cgy-faq-page>header span{color:#bcd7ff;font-size:11px;font-weight:900;letter-spacing:.14em}.cgy-faq-page>header h1{margin:12px 0 8px;color:#fff;font-size:clamp(31px,5vw,48px);font-weight:900}.cgy-faq-page>header p{max-width:700px;margin:0;color:#e6eef9;font-size:17px;line-height:1.55}.cgy-faq-page>header img{width:210px;height:130px;object-fit:contain;filter:drop-shadow(0 18px 18px rgba(0,0,0,.3))}.cgy-faq-page__layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:20px;margin-top:20px}.cgy-faq-chat,.cgy-faq-page__topics{min-width:0;border:1px solid #d8e0ea;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(15,34,64,.08)}.cgy-faq-chat__messages{height:430px;padding:20px;overflow:auto;background:#f1f5f9}.cgy-faq-message{max-width:86%;margin:0 0 14px;padding:13px 15px;border:1px solid #d8e0ea;border-radius:14px;background:#fff;color:#172033;overflow-wrap:anywhere}.cgy-faq-message.is-user{margin-left:auto;border-color:#b8d5fb;background:#e8f2ff}.cgy-faq-message strong{display:block;color:var(--cgy-faq-accent);font-size:12px}.cgy-faq-message p{margin:5px 0 0;white-space:pre-wrap;line-height:1.5}.cgy-faq-message__related{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.cgy-faq-message__related button{padding:6px 9px;border:1px solid #b8d5fb;border-radius:999px;background:#f5f9ff;color:#0f5fc9;font-size:11px}.cgy-faq-chat>form{padding:16px;background:#fff}.cgy-faq-chat>form label{display:block;margin-bottom:7px;font-weight:800}.cgy-faq-chat>form textarea{width:100%;padding:12px;border:1px solid #c8d2df;border-radius:11px;resize:vertical}.cgy-faq-chat>form>button{min-height:46px;margin-top:10px;padding:10px 17px;border:0;border-radius:11px;background:var(--cgy-faq-accent);color:#fff;font-weight:900;box-shadow:0 8px 20px rgba(24,119,242,.22)}.cgy-faq-chat>form>button.is-working:before{content:"";display:inline-block;width:19px;height:19px;margin-right:9px;vertical-align:middle;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:cgyFaqSpin .8s linear infinite}.cgy-faq-page__topics{padding:22px}.cgy-faq-page__topics>span{color:var(--cgy-faq-accent);font-size:10px;font-weight:900;letter-spacing:.13em}.cgy-faq-page__topics h2{margin:7px 0 15px;font-size:22px}.cgy-faq-page__topics>button{width:100%;margin-bottom:9px;padding:12px;text-align:left;border:1px solid #d8e0ea;border-radius:10px;background:#f8fafc;color:#172033;font-weight:800}.cgy-faq-page__topics>button:hover{border-color:var(--cgy-faq-accent);background:#edf5ff}.cgy-faq-page__topics small{display:block;margin-bottom:4px;color:#64748b;font-weight:600}.cgy-faq-floating{position:fixed;right:22px;bottom:22px;z-index:1055;color:#172033}.cgy-faq-floating__toggle{min-width:72px;min-height:52px;padding:0 17px;border:0;border-radius:999px;background:var(--cgy-faq-accent);color:#fff;font-weight:900;box-shadow:0 15px 35px rgba(15,34,64,.3)}.cgy-faq-floating__toggle i{margin-right:7px}.cgy-faq-floating__panel{position:absolute;right:0;bottom:64px;width:min(380px,calc(100vw - 28px));overflow:hidden;border:1px solid #cad5e3;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(15,34,64,.3)}.cgy-faq-floating__panel[hidden]{display:none}.cgy-faq-floating__panel>header{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;background:#111827;color:#fff}.cgy-faq-floating__panel>header strong,.cgy-faq-floating__panel>header small{display:block}.cgy-faq-floating__panel>header small{margin-top:2px;color:#b8c5d6}.cgy-faq-floating__panel>header button{border:0;background:transparent;color:#fff;font-size:24px}.cgy-faq-floating .cgy-faq-chat__messages{height:310px;padding:14px}.cgy-faq-floating .cgy-faq-message{max-width:92%;font-size:13px}.cgy-faq-floating form{display:grid;grid-template-columns:1fr 46px;gap:8px;padding:11px;border-top:1px solid #d8e0ea}.cgy-faq-floating textarea{min-width:0;padding:9px;border:1px solid #c8d2df;border-radius:9px;resize:none}.cgy-faq-floating form button{border:0;border-radius:9px;background:var(--cgy-faq-accent);color:#fff}.cgy-faq-floating__panel>a{display:block;padding:0 12px 12px;color:var(--cgy-faq-accent);font-size:12px;font-weight:900;text-align:center}.cgy-faq-sidebar img{width:54px;height:42px;object-fit:contain;float:right}.cgy-faq-sidebar strong{font-size:17px}.cgy-faq-sidebar p{clear:both;margin:10px 0 14px;color:#64748b}.cgy-faq-sidebar .btn{background:var(--cgy-faq-accent,#1877f2)}@keyframes cgyFaqSpin{to{transform:rotate(360deg)}}@media(max-width:800px){.cgy-faq-page>header{padding:28px 24px}.cgy-faq-page>header img{display:none}.cgy-faq-page__layout{grid-template-columns:1fr}.cgy-faq-chat__messages{height:380px}}@media(max-width:520px){.cgy-faq-floating{right:12px;bottom:12px}.cgy-faq-floating__panel{width:calc(100vw - 24px)}.cgy-faq-page__topics{padding:16px}}

/* Keep the launcher and open panel clear of UPKWorld's fixed mobile toolbar. */
@media(max-width:800px){.cgy-faq-floating{right:14px;bottom:calc(88px + env(safe-area-inset-bottom,0px))}.cgy-faq-floating__panel{max-height:calc(100dvh - 170px)}.cgy-faq-floating .cgy-faq-chat__messages{height:clamp(180px,calc(100dvh - 350px),310px)}}
@media(max-width:520px){.cgy-faq-floating{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px))}}
.cgy-faq-floating__toggle{min-width:62px;min-height:40px;padding:0 13px;font-size:12px;box-shadow:0 8px 20px rgba(15,34,64,.24)}.cgy-faq-floating__toggle i{margin-right:5px}.cgy-faq-floating__panel{bottom:50px}
.cgy-faq-floating__toggle{min-width:54px;min-height:32px;padding:0 10px;font-size:11px;line-height:32px;box-shadow:0 5px 14px rgba(15,34,64,.2)}.cgy-faq-floating__toggle i{margin-right:4px}.cgy-faq-floating__panel{bottom:42px}

/* Compact composer controls stay centered instead of stretching to textarea height. */
.cgy-faq-floating form > button{height:36px;min-height:36px;max-height:36px;align-self:center;padding:0;display:inline-flex;align-items:center;justify-content:center}
.cgy-faq-floating form > [data-cgy-faq-voice-status]{grid-column:1 / -1;margin:0;font-size:12px;line-height:1.4}
/* Readable, safe walkthrough formatting for FAQ answers. */
.cgy-faq-message__content{margin-top:7px;line-height:1.55}.cgy-faq-message__content p{margin:0 0 9px;white-space:pre-wrap}.cgy-faq-message__content p:last-child{margin-bottom:0}.cgy-faq-message__content ol,.cgy-faq-message__content ul{margin:8px 0 3px;padding-left:25px}.cgy-faq-message__content li{margin:0 0 9px;padding-left:4px;line-height:1.55}.cgy-faq-message__content li:last-child{margin-bottom:0}.cgy-faq-message__content ol li::marker{color:var(--cgy-faq-accent);font-weight:900}.cgy-faq-message__content ul li::marker{color:var(--cgy-faq-accent)}

/* Voice typing and browser-local draft recovery. */
.cgy-faq-voice{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 11px;border:1px solid #b8d5fb;border-radius:9px;background:#edf5ff;color:#0f5fc9;font-weight:800}.cgy-faq-voice.is-listening{border-color:#b91c1c;background:#fff0f0;color:#991019;box-shadow:0 0 0 3px rgba(185,28,28,.12)}.cgy-faq-voice.is-listening i{animation:cgyFaqVoicePulse .9s ease-in-out infinite alternate}.cgy-faq-voice:disabled{opacity:.55;cursor:not-allowed}.cgy-faq-floating form{grid-template-columns:minmax(0,1fr) 42px 46px}.cgy-faq-floating .cgy-faq-voice{padding:0}.cgy-faq-floating .cgy-faq-voice span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@keyframes cgyFaqVoicePulse{to{transform:scale(1.25)}}

/* Two-way FAQ conversation controls. */
.cgy-faq-read-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 11px;border:1px solid #c8d2df!important;border-radius:9px;background:#f8fafc!important;color:#475569!important;font-weight:800}.cgy-faq-read-toggle.is-active{border-color:var(--cgy-faq-accent)!important;background:color-mix(in srgb,var(--cgy-faq-accent) 12%,#fff)!important;color:var(--cgy-faq-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--cgy-faq-accent) 14%,transparent)}.cgy-faq-read-toggle:disabled{opacity:.55;cursor:not-allowed}.cgy-faq-message__speak{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:5px 8px;border:1px solid #c8d2df;border-radius:999px;background:#fff;color:#475569;font-size:11px;font-weight:800}.cgy-faq-message__speak:hover,.cgy-faq-message__speak:focus{border-color:var(--cgy-faq-accent);color:var(--cgy-faq-accent)}.cgy-faq-floating form{grid-template-columns:minmax(0,1fr) 40px 40px 44px}.cgy-faq-floating .cgy-faq-read-toggle,.cgy-faq-floating .cgy-faq-voice{padding:0}.cgy-faq-floating .cgy-faq-read-toggle span,.cgy-faq-floating .cgy-faq-voice span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cgy-faq-voice-disclosure{display:block;margin:7px 0 0;color:#64748b;font-size:10px}.cgy-faq-floating>.cgy-faq-floating__panel>.cgy-faq-voice-disclosure{padding:6px 12px 0;text-align:center}

/* Roomy, responsive conversation controls on the full FAQ desk. */
.cgy-faq-chat>form .cgy-faq-form__actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.cgy-faq-chat>form .cgy-faq-form__actions>button{min-height:46px;margin:0;padding:10px 17px;border-radius:11px;font-weight:900}.cgy-faq-chat>form .cgy-faq-form__actions>[data-cgy-faq-submit]{border:0;background:var(--cgy-faq-accent);color:#fff;box-shadow:0 8px 20px rgba(24,119,242,.22)}.cgy-faq-chat>form .cgy-faq-form__actions>[data-cgy-faq-submit].is-working:before{content:"";display:inline-block;width:19px;height:19px;margin-right:9px;vertical-align:middle;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:cgyFaqSpin .8s linear infinite}.cgy-faq-chat>form .cgy-faq-voice-disclosure{margin-top:10px;padding-top:2px;line-height:1.45}.cgy-faq-chat>form textarea{display:block;margin-bottom:0}
@media(max-width:460px){.cgy-faq-chat>form .cgy-faq-form__actions{align-items:stretch}.cgy-faq-chat>form .cgy-faq-form__actions>button{flex:1 1 auto}.cgy-faq-chat>form .cgy-faq-form__actions>[data-cgy-faq-submit]{flex-basis:100%}}

/* Direct task link returned with each managed UPK module tutorial. */
.cgy-faq-message__action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin-top:12px;padding:8px 13px;border-radius:9px;background:var(--cgy-faq-accent);color:#fff!important;font-weight:900;text-decoration:none!important;box-shadow:0 7px 16px rgba(24,119,242,.2)}.cgy-faq-message__action:after{content:"\2192";margin-left:8px}.cgy-faq-message__action:hover,.cgy-faq-message__action:focus{filter:brightness(.92);color:#fff!important}

#topbar-second .cgy-faq-skyfall-disabled,.cgy-faq-skyfall-disabled{display:none!important}

.cgy-faq-floating__toggle{background:var(--cgy-faq-accent,#000)!important;color:#fff!important}.cgy-faq-floating__toggle span,.cgy-faq-floating__toggle i{color:#fff!important}

.cgy-faq-page.cgy-setup .module-section{background:#fff;border:1px solid #dbe5ef;border-radius:10px;margin:12px 0}.cgy-faq-page.cgy-setup .section-heading{display:flex;align-items:center;gap:12px;padding:16px;color:#142d59;cursor:pointer}.cgy-faq-page.cgy-setup .section-body{padding:16px}.cgy-faq-page.cgy-setup .cgy-faq-chat{width:100%;min-width:0}.cgy-faq-page.cgy-setup .setup-header img{width:70px;height:70px;object-fit:contain}.cgy-faq-page.cgy-setup .setup-header strong{color:#142d59}

/* Compact Assistant workspace; isolate it from inherited legacy FAQ hero/button rules. */
.cgy-faq-page.cgy-setup>header.setup-header{min-height:0!important;padding:18px!important;background:#f6f9fc!important;border:1px solid #dbe5ef;border-radius:12px;box-shadow:none;gap:14px}
.cgy-faq-page.cgy-setup>header.setup-header span{color:#536780}.cgy-faq-page.cgy-setup>header.setup-header h1{font:700 25px/1.3 system-ui!important;color:#142d59!important;margin:6px 0!important}.cgy-faq-page.cgy-setup>header.setup-header p{font:14px/1.5 system-ui;color:#42546c!important}
.cgy-faq-page .assistant-version{font:600 11px system-ui;display:inline-block;padding:4px 7px;background:#e7eef7;border-radius:5px;vertical-align:middle;color:#42546c}.cgy-faq-page .assistant-back{display:inline-block;margin-top:8px;font:600 12px system-ui;color:#164d91;text-decoration:underline}
.cgy-faq-page.cgy-setup .section-heading>.section-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;background:#111!important;color:#fff!important;border-radius:5px;font:700 11px system-ui}
.cgy-faq-page.cgy-setup .cgy-workspace-tab{background:#f5f8fc!important;color:#536780!important;box-shadow:none!important;border-bottom:3px solid transparent!important}.cgy-faq-page.cgy-setup .cgy-workspace-tab[aria-selected=true]{background:#fff!important;color:#142d59!important;border-bottom-color:#1677ff!important}
.cgy-faq-page.cgy-setup .cgy-workspace-tab .section-number{background:#e2eaf3!important;color:#61758f!important}.cgy-faq-page.cgy-setup .cgy-workspace-tab[aria-selected=true] .section-number{background:#1677ff!important;color:#fff!important}
.cgy-faq-page.cgy-setup .cgy-faq-chat__messages{height:clamp(220px,35vh,360px)}.cgy-faq-page.cgy-setup .cgy-faq-chat textarea{font:16px/1.5 system-ui}.cgy-faq-page.cgy-setup .section-body{padding:12px}.cgy-faq-page.cgy-setup .section-heading{font:600 14px system-ui}
