.flc{position:fixed;right:24px;bottom:24px;z-index:10000;color:#000;font:16px/1.5 "DM Sans",Arial,sans-serif;text-align:left;width:auto;max-width:calc(100vw - 24px)}
.flc *{box-sizing:border-box}.flc [hidden]{display:none!important}
.flc button{font:600 15px/1.3 "DM Sans",Arial,sans-serif;cursor:pointer;min-height:44px;border:0;border-radius:80px;padding:12px 18px;background:#ff9337;color:#000;letter-spacing:normal;text-transform:none}
.flc button:hover{background:#f58220}.flc button:disabled{opacity:.6;cursor:default}.flc button:focus-visible,.flc input:focus-visible,.flc textarea:focus-visible{outline:3px solid #943f0b;outline-offset:3px}
.flc .flc-toggle{box-shadow:0 3px 16px #0003;display:flex;align-items:center;margin-left:auto;min-height:56px;padding:12px 18px 12px 74px;position:relative;overflow:visible}.flc-toggle-mascot{position:absolute;left:8px;bottom:-2px;width:60px;height:60px;object-fit:contain;background:#fff;border:2px solid #000;border-radius:999px;padding:3px}.flc-panel{width:390px;max-width:calc(100vw - 24px);height:min(760px,calc(100dvh - 122px));display:flex;flex-direction:column;background:#fff;border:1px solid #cacbcd;border-radius:16px;box-shadow:0 8px 36px #0003;overflow:hidden;margin-bottom:12px}
.flc:has(.flc-panel:not([hidden])){display:flex;flex-direction:column-reverse}
.flc-header{background:#000;color:#fff;padding:20px;display:flex;align-items:flex-start;gap:12px}.flc-header .flc-header-copy{flex:1;min-width:0}.flc-mascot-card{flex:0 0 62px;align-self:center;height:62px;background:#fff;border:2px solid #ff9337;border-radius:50%;padding:3px;display:grid;place-items:center;overflow:hidden}.flc-mascot-card img{display:block;width:100%;height:100%;object-fit:contain}.flc-header span{font-size:11px;letter-spacing:.08em;color:#ff9337}.flc-header h2{font:700 27px/1.2 "Playfair Display",Georgia,serif;margin:6px 0;color:#fff;letter-spacing:normal}.flc-header p{font-size:15px;margin:6px 0 0;color:#fff}.flc-header .flc-close{padding:0;min-width:44px;font-size:28px;background:transparent;color:#fff;border-radius:8px;flex:0 0 44px}
.flc-content{overflow:auto;padding:20px;min-height:0}.flc-status{font-size:14px;padding:12px;background:#f2f2f2;border-radius:8px;margin:0 0 16px}.flc-log{display:grid;gap:12px;margin-bottom:16px}.flc-message{padding:12px;background:#ededed;border-radius:8px;overflow-wrap:anywhere}.flc-message--staff{background:#fff3e8;border-left:3px solid #b45414}.flc-message strong{font-size:13px}.flc-message p{margin:4px 0 0;white-space:pre-wrap}
.flc label,.flc legend{font-size:14px;font-weight:600;display:block}.flc input:not([type=checkbox]),.flc textarea{display:block;width:100%;min-height:44px;font:inherit;color:#000;background:#fff;border:1px solid #777;border-radius:6px;padding:8px;margin:6px 0 12px;max-width:100%}.flc textarea{resize:vertical}.flc fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}.flc legend{margin-bottom:10px}.flc-notice,.flc-footnote{font-size:12px;line-height:1.5;margin:12px 0}.flc-consent{display:flex!important;align-items:flex-start;gap:8px;line-height:1.45}.flc-consent input{flex:0 0 auto;width:18px;height:18px;margin:2px 0}.flc-actions{display:flex;gap:8px;flex-wrap:wrap}.flc .flc-new{background:#ededed}.flc-error{font-size:14px;color:#943f0b;margin:12px 0;overflow-wrap:anywhere}
@media(max-width:480px){.flc{right:12px;bottom:12px;width:calc(100% - 24px)}.flc-panel{width:100%;height:calc(100dvh - 106px)}.flc-header{padding:16px;gap:10px}.flc-mascot-card{flex-basis:54px;height:54px}.flc-header h2{font-size:24px}.flc-content{padding:16px}}
body.admin-bar .flc-panel{max-height:calc(100dvh - 134px)}
.flc-preview-notice{font-size:13px;line-height:1.5;padding:12px;border:1px solid #b45414;border-radius:8px;background:#fff3e8;margin:0 0 12px}
.flc-toggle-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.flc-toggle-mode{font-size:12px;font-weight:400}
.flc-ended{font-size:14px;font-weight:600;line-height:1.5;margin:12px 0 16px;padding-top:12px;border-top:1px solid #cacbcd;color:#000}
.flc-typing{font-size:14px;line-height:1.5;margin:10px 0 16px;color:#943f0b}
.flc-test-controls{padding:24px;background:#fff3e8;border:1px solid #cacbcd;border-radius:12px;margin:28px 0;font:16px/1.5 "DM Sans",Arial,sans-serif;color:#000}
.flc-test-controls h2{margin-top:0}.flc-test-actions{display:flex;flex-wrap:wrap;gap:12px}.flc-test-actions button{font:600 15px/1.3 "DM Sans",Arial,sans-serif;min-height:44px;padding:12px 18px;border:2px solid transparent;border-radius:80px;background:#ff9337;color:#000;cursor:pointer;text-transform:none;letter-spacing:normal;white-space:normal}
.flc-test-actions button:hover{background:#f58220}.flc-test-actions button[aria-pressed=true]{border-color:#000}.flc-test-actions button:focus-visible{outline:3px solid #943f0b;outline-offset:3px}.flc-test-actions button:disabled{opacity:.6;cursor:default}.flc-test-actions [data-flc-real]{background:#ededed}.flc-test-controls [data-flc-test-status]{font-size:14px;margin-bottom:0}

/* Compact side chat on the two admissions pilot pages. Only its body scrolls. */
.flc.flc--side-popup{--flc-popup-top:16px;--flc-popup-bottom:max(16px,env(safe-area-inset-bottom));position:fixed;right:max(16px,env(safe-area-inset-right));bottom:var(--flc-popup-bottom);width:360px;max-width:calc(100vw - 32px);z-index:10000}
.flc.flc--side-popup .flc-panel{width:100%;max-width:100%;height:min(520px,calc(100dvh - var(--flc-popup-top) - var(--flc-popup-bottom)));max-height:calc(100dvh - var(--flc-popup-top) - var(--flc-popup-bottom));margin-bottom:0}
.flc.flc--side-popup:has(.flc-panel:not([hidden]))>.flc-toggle{display:none}
.flc.flc--side-popup .flc-header{flex:0 0 auto;padding:14px;gap:10px}
.flc.flc--side-popup .flc-mascot-card{flex-basis:48px;height:48px}
.flc.flc--side-popup .flc-header h2{font-size:24px;margin:4px 0}
.flc.flc--side-popup .flc-header p{font-size:13px;line-height:1.4;margin:4px 0 0}
.flc.flc--side-popup .flc-header span{font-size:10px}
.flc.flc--side-popup .flc-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px}
body.admin-bar .flc.flc--side-popup{--flc-popup-top:48px}
@media(max-width:782px){body.admin-bar .flc.flc--side-popup{--flc-popup-top:62px}}
@media(max-width:480px){.flc.flc--side-popup{--flc-popup-top:12px;--flc-popup-bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));max-width:calc(100vw - 24px)}}
