.ff-assistant{--ff-navy:#102f4c;--ff-accent:#a64d36;--ff-cream:#f6f3ed;--ff-border:#dedfdc;font-family:Manrope,Arial,sans-serif;color:#23323d;font-size:13px;line-height:1.6}.ff-assistant *{box-sizing:border-box}.ff-assistant [hidden]{display:none!important}.ff-assistant button,.ff-assistant input,.ff-assistant select,.ff-assistant textarea{font:inherit}.ff-assistant button{cursor:pointer}.ff-assistant button:disabled{opacity:.55;cursor:wait}.ff-assistant a{color:var(--ff-navy);text-underline-offset:3px}.ff-assistant :focus-visible{outline:3px solid #b87550;outline-offset:3px}.ff-launcher{position:fixed;right:24px;bottom:24px;z-index:110;display:flex;gap:12px;align-items:center;border:0;background:var(--ff-navy);color:#fff;border-radius:32px;padding:8px 8px 8px 21px;box-shadow:0 6px 25px #102f4c30;font-size:12px!important;font-weight:650!important}.ff-launcher-icon{display:grid;place-items:center;background:#ffffff15;border-radius:50%;width:40px;height:40px}.ff-chat{position:fixed;inset:auto 22px 90px auto;margin:0;width:430px;height:min(720px,calc(100dvh - 120px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 30px);border:1px solid #d5dce0;border-radius:16px;background:#fff;box-shadow:0 24px 80px #102f4c35;padding:0;z-index:120;color:#23323d;overflow:hidden}.ff-chat[open]{display:flex;flex-direction:column}.ff-chat-header{padding:18px;display:flex;align-items:center;gap:12px;background:var(--ff-navy);color:#fff;flex-shrink:0}.ff-chat-header>div{flex:1}.ff-chat-header h2{font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.4;margin:0;letter-spacing:0}.ff-chat-header small{font-size:10px;color:#e0e8ed}.ff-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff40;border-radius:10px}.ff-chat-header button{display:grid;place-items:center;background:none;color:#fff;border:0;padding:7px;border-radius:5px}.ff-chat-header button:hover{background:#ffffff18}.ff-chat-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;background:linear-gradient(#fcfbf8,#fff 220px)}.ff-intro{padding:28px 25px}.ff-eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--ff-accent)}.ff-intro h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:40px;line-height:1.03;font-weight:400;letter-spacing:-1px;margin:14px 0 17px}.ff-intro h3 em{color:var(--ff-accent);font-weight:400}.ff-intro>p{font-size:12px;color:#5a6974;margin:0 0 18px}.ff-topic-preview{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.ff-topic-preview>span{display:flex;align-items:center;gap:5px;background:#eff1ef;padding:5px 8px;border-radius:5px;font-size:9px}.ff-assistant label{display:block;font-size:11px;font-weight:600;margin:11px 0}.ff-assistant label input:not([type=checkbox]),.ff-assistant select,.ff-assistant label textarea{display:block;width:100%;margin-top:5px;background:#fff;border:1px solid #cdd5d9;border-radius:6px;padding:10px;min-height:40px;font-size:12px}.ff-assistant select[multiple]{height:125px}.ff-assistant textarea{resize:vertical}.ff-assistant .ff-consent{display:flex;align-items:flex-start;gap:9px;font-size:10px;font-weight:400;margin:17px 0;line-height:1.6}.ff-consent input{margin:3px 0 0;flex-shrink:0;accent-color:var(--ff-navy)}.ff-primary,.ff-secondary{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--ff-navy);padding:11px 15px;border-radius:6px;background:var(--ff-navy);color:#fff;width:100%;font-size:12px!important;font-weight:600!important;margin-top:12px}.ff-secondary{background:#fff;color:var(--ff-navy)}.ff-messages{display:flex;flex-direction:column;gap:16px;padding:22px 18px 12px}.ff-message{max-width:94%;align-self:flex-start}.ff-message>small{font-size:9px;display:block;color:#7a8790;margin:0 0 5px 3px}.ff-message>div{padding:12px 14px;border:1px solid #e2e7e8;background:#fff;border-radius:2px 12px 12px 12px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px}.ff-message.visitor{align-self:flex-end}.ff-message.visitor>div{background:var(--ff-navy);color:#fff;border-color:var(--ff-navy);border-radius:12px 2px 12px 12px}.ff-message.staff>div{border-left:3px solid var(--ff-accent);background:#faf6f1}.ff-message.system>div{font-size:11px;background:#f1f4f5;color:#516473}.ff-message .ff-sources{white-space:normal;display:flex;flex-direction:column;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid #e8ecec}.ff-sources a{font-size:11px}.ff-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;white-space:normal}.ff-actions button{border:1px solid #ccd8df;background:#fff;color:var(--ff-navy);font-size:10px;padding:7px 9px;border-radius:5px}.ff-actions button:hover{background:#eef3f6}.ff-composer{border-top:1px solid #e5eaec;display:flex;gap:10px;padding:13px 16px;background:#fff;flex-shrink:0;margin:0}.ff-composer textarea{flex:1;border:0;outline:none;padding:7px 0;min-height:35px;max-height:100px;font-size:12px;resize:none;background:#fff;color:#23323d}.ff-composer button{background:var(--ff-navy);color:#fff;display:grid;place-items:center;border:0;width:37px;height:37px;border-radius:8px}.ff-chat-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;padding:8px 17px;border-top:1px solid #edf0f1;color:#77838a;background:#fbfcfc;flex-shrink:0}.ff-chat-footer a{font-size:9px}.ff-feedback{margin:0;padding:9px 17px;font-size:11px;color:#8f402c;background:#fbf0e9;border-top:1px solid #eed8cb;flex-shrink:0}.ff-tools,.ff-rating{margin:12px 18px 20px;background:var(--ff-cream);border:1px solid #e7e1d7;border-radius:10px;padding:16px}.ff-tools h3,.ff-rating h3{font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:700;line-height:1.4;margin:0 0 8px}.ff-tools p,.ff-rating p{font-size:11px;margin:6px 0;color:#68747b}.ff-tool-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.ff-tool-heading button{background:none;border:0;padding:4px;color:#5e6b73}.ff-tools .ff-checkbox{display:flex;align-items:flex-start;gap:9px;font-weight:400}.ff-checkbox input{margin-top:3px;accent-color:var(--ff-navy)}.ff-estimate{background:#f6f8f8;padding:12px;margin-top:12px;border-radius:7px;font-size:11px;white-space:normal}.ff-estimate-row{padding:9px 0;border-bottom:1px solid #dfe5e7}.ff-estimate-row strong{display:block}.ff-estimate-row small{display:block;font-size:10px;margin-top:4px;color:#5c6d77}.ff-estimate-total{display:flex;justify-content:space-between;gap:12px;font-weight:700;padding-top:12px}.ff-class-result{white-space:normal;padding:10px 0;border-top:1px solid #e4e9eb;font-size:11px}.ff-class-result small{display:block;font-size:10px;color:#5a6b77}.ff-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ff-draft-notice{padding:15px 18px;background:#edf3f5;border:1px solid #cedce2;border-radius:8px;margin:15px 0 25px;color:#173b53;font-size:13px}.ff-draft-notice strong{display:block}.ff-review-lines{font-size:11px}.ff-review-lines>div{padding:7px 0;border-bottom:1px solid #e1ddd5;overflow-wrap:anywhere}.ff-review-lines strong{display:block;color:#596671;font-size:10px}.ff-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.ff-admin-metrics>.panel{padding:22px;margin:0}.ff-admin-metrics strong{display:block;font-size:32px;margin-top:10px}.ff-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ff-admin-links{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ff-chat-summary{display:flex;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e6eaec;overflow-wrap:anywhere}.ff-chat-summary small{display:block;color:#77838b;font-size:10px;margin-top:4px}.ff-chat-summary.selected{background:#eef3f6;border-left:3px solid #a64d36}.ff-inbox{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(300px,1.5fr) minmax(210px,1fr);gap:18px;align-items:start}.ff-conversation-list{max-height:850px;overflow:auto}.ff-inbox-empty{grid-column:span 2;text-align:center;padding:90px 30px;color:#6a7b87}.ff-conversation>.panel-heading{display:block}.ff-admin-transcript{height:480px;overflow:auto;padding:18px;overscroll-behavior:contain}.ff-admin-message{padding:12px;margin-bottom:14px;background:#f4f6f7;border-radius:7px;overflow-wrap:anywhere}.ff-admin-message p{white-space:pre-wrap;font-size:12px}.ff-admin-message small{font-size:10px;color:#7c8991}.ff-admin-message.visitor{background:#edf2f6;margin-left:20px}.ff-admin-message.staff{border-left:3px solid #a64d36}.ff-admin-message pre,.ff-test-answer pre{overflow:auto;max-width:100%;font-size:10px;white-space:pre-wrap}.ff-admin-reply{padding:18px;border-top:1px solid #e3e7e9}.ff-chat-filters{padding:16px;display:flex;flex-wrap:wrap;gap:12px;align-items:end}.ff-chat-filters>label{display:block;font-size:10px;flex:1;min-width:120px}.ff-chat-filters input,.ff-chat-filters select{display:block;width:100%;padding:9px;border:1px solid #d3dadd;border-radius:5px;background:#fff;margin-top:4px}.ff-delete-chat{margin-top:14px}.ff-delete-chat small{display:block;margin-top:7px;color:#7e898f}.ff-knowledge-entry>summary{cursor:pointer;padding:20px;display:flex;justify-content:space-between;gap:15px;font-weight:650}.ff-test-answer{padding:22px;background:#f4f6f5;margin-top:22px;border-radius:7px}.ff-test-answer p{white-space:pre-wrap;margin:12px 0}.ff-admin-chat-notice{font-size:11px;color:#8c402d}.ff-inbox aside .detail-list dd{overflow-wrap:anywhere}.ff-inbox aside .field{margin-bottom:14px}
@media(max-width:1250px){.ff-inbox{grid-template-columns:minmax(200px,.8fr) minmax(320px,1.6fr)}.ff-inbox>aside{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.ff-admin-metrics{gap:12px}.ff-inbox-empty{grid-column:auto}}
@media(max-width:700px){.ff-launcher{right:14px;bottom:calc(82px + env(safe-area-inset-bottom));padding:6px 6px 6px 15px;gap:8px;font-size:11px!important}.ff-launcher-icon{width:35px;height:35px}.ff-chat{inset:auto 10px calc(80px + env(safe-area-inset-bottom)) 10px;width:auto;height:min(680px,calc(100dvh - 110px));max-width:none;max-height:calc(100dvh - 100px);border-radius:12px}.ff-chat-header{padding:14px}.ff-intro{padding:21px}.ff-intro h3{font-size:35px}.ff-admin-metrics,.ff-admin-grid{grid-template-columns:1fr 1fr}.ff-inbox{grid-template-columns:minmax(0,1fr)}.ff-conversation-list{max-height:250px}.ff-inbox>aside{grid-column:auto;grid-template-columns:minmax(0,1fr)}.ff-admin-transcript{height:390px}.ff-admin-metrics>.panel{padding:15px}.ff-admin-metrics strong{font-size:26px}.ff-inbox-empty{padding:45px 15px}.ff-admin-grid{display:block}}
@media(prefers-reduced-motion:reduce){.ff-assistant *{scroll-behavior:auto!important}}
.ff-countdown{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f8eee2;border-top:1px solid #e8d6bf;padding:10px 16px;font-size:11px;flex-shrink:0}.ff-countdown button{border:1px solid #c8ab88;border-radius:5px;padding:6px 8px;background:#fff;color:#6e4823;font-size:10px}.ff-stars{border:0;padding:0;margin:15px 0;display:flex;gap:12px;justify-content:center}.ff-assistant .ff-stars label{position:relative;margin:0;cursor:pointer}.ff-stars input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%;height:100%;margin:0}.ff-stars span{font-size:32px;line-height:1.4;color:#c4c9ca;transition:color .15s}.ff-stars .selected span{color:#aa693c}.ff-stars input:focus-visible+span{outline:2px solid #102f4c;border-radius:3px}
.ff-chat-header>div{min-width:0}.ff-chat-header [data-ff-end]{font-size:10px;white-space:nowrap;border:1px solid #ffffff50;padding:7px 9px}.ff-countdown>span{font-variant-numeric:tabular-nums}.ff-rating{text-align:center}.ff-rating .ff-primary{margin-top:5px}
@media(max-width:420px){.ff-chat-header{gap:8px;padding:12px}.ff-chat-header h2{font-size:12px}.ff-chat-header small{font-size:9px}.ff-avatar{width:30px;height:33px;flex-shrink:0}.ff-chat-header [data-ff-end]{font-size:10px;padding:6px}.ff-chat-header [data-ff-close]{padding:4px}}
.ff-rating-stage{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#fcfaf6,#f2f5f6)}.ff-assistant .ff-rating{width:100%;margin:0;padding:38px 27px;border:0;border-radius:0;background:transparent;text-align:center}.ff-rating>.ff-eyebrow{display:block;margin:0 0 18px;font-size:9px}.ff-assistant .ff-rating h3{font-family:'Libre Caslon Display',Georgia,serif;font-size:33px;line-height:1.2;letter-spacing:-.7px;font-weight:400;margin:0 0 12px}.ff-assistant .ff-rating>p{max-width:280px;margin:0 auto 18px;color:#71808a;font-size:12px;line-height:1.8}.ff-assistant .ff-stars{margin:23px 0 5px;gap:5px}.ff-assistant .ff-stars label{display:grid;place-items:center;width:48px;height:48px;margin:0;border-radius:7px}.ff-assistant .ff-stars label:hover{background:#e8eceb}.ff-assistant .ff-stars label input[type=radio]{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0}.ff-stars svg{width:32px;height:32px;fill:transparent;stroke:#82949f;stroke-width:1.4}.ff-stars .selected svg{fill:#c49349;stroke:#a37231}.ff-assistant .ff-rating-value{min-height:24px;color:#74828c;font-size:11px;margin:8px 0 18px}.ff-rating .ff-primary{min-height:44px;margin-top:0}.ff-rating-skip{border:0;background:none;color:#72828c;text-decoration:underline;text-underline-offset:3px;font-size:10px!important;margin-top:19px;padding:5px}.ff-complete-check{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#315c54;background:#e2eee9;margin:0 auto 22px}.ff-complete .ff-primary{margin-top:26px}
.ff-chat-footer .ff-powered{display:inline-flex;align-items:center;gap:7px;text-decoration:none;min-height:20px}.ff-powered>span{font-size:9px;color:#78868f;white-space:nowrap}.ff-powered img{display:block;width:104px;height:auto;filter:grayscale(1);opacity:.34;transition:filter .2s ease,opacity .2s ease}.ff-powered:hover img,.ff-powered:focus-visible img{filter:grayscale(0);opacity:1}

.ff-robot{overflow:visible;flex-shrink:0;transform-origin:50% 75%;animation:ff-robot-float 3.6s ease-in-out infinite}.ff-robot-eyes{transform-box:fill-box;transform-origin:center;animation:ff-robot-blink 5.4s ease-in-out infinite}.ff-launcher:hover .ff-robot{animation-duration:1.8s}.ff-launcher[aria-expanded=true] .ff-robot{animation-play-state:paused}@keyframes ff-robot-float{0%,100%{transform:translateY(1px) rotate(-3deg)}50%{transform:translateY(-2px) rotate(3deg)}}@keyframes ff-robot-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.14)}}@media(prefers-reduced-motion:reduce){.ff-robot,.ff-robot-eyes{animation:none!important}}
