/* FTH PATCH234 — Portal-specific icons and in-place expanded login, building on PATCH233. */
.fth233-modal-open { overscroll-behavior: none; }
.fth233-overlay { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; padding:clamp(14px,3.5vh,32px) 14px; box-sizing:border-box; isolation:isolate; color:var(--fth-text,#102442); }
.fth233-overlay * { box-sizing:border-box; }
.fth233-shade { position:absolute; inset:0; background:rgba(2,13,34,.51); backdrop-filter: blur(9px) saturate(.8); -webkit-backdrop-filter: blur(9px) saturate(.8); }
.fth233-dialog { position:relative; width:min(100%,490px); max-height:calc(100dvh - 28px); overflow:hidden; border:1px solid var(--fth-border,rgba(140,172,220,.35)); border-radius:24px; background:var(--fth-surface,#fff); box-shadow:0 32px 100px rgba(0,9,26,.33),0 0 0 1px rgba(255,255,255,.07); transform-origin:center top; animation:fth233-slide .48s cubic-bezier(.2,.8,.2,1) both; display:flex;flex-direction:column; }
.fth233-dialog::before {content:"";position:absolute;left:10%;right:10%;top:0;height:3px;background:linear-gradient(90deg,transparent,var(--fth-accent,#3178ee),#8e78ef,transparent);z-index:4;}
.fth233-dialog-header { min-height:53px; display:flex; align-items:center; justify-content:space-between; flex:0 0 auto; padding:8px 13px 8px 21px; border-bottom:1px solid var(--fth-border,rgba(145,171,209,.3)); }
.fth233-header-title {display:flex;align-items:center;gap:10px;font-weight:760;letter-spacing:-.02em;font-size:15px;color:var(--fth-text,#173357);}
.fth233-lock {width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--fth-accent,#3178ee) 13%,transparent);color:var(--fth-accent,#3178ee);font-size:15px;}
.fth233-close {appearance:none;border:0;background:color-mix(in srgb,var(--fth-accent,#3178ee) 7%,transparent);color:var(--fth-text,#223a60);width:32px;height:32px;border-radius:10px;font-size:23px;cursor:pointer;line-height:1;}
.fth233-close:hover {background:color-mix(in srgb,var(--fth-accent,#3178ee) 16%,transparent);transform:translateY(-1px)}
.fth233-close:focus-visible {outline:3px solid var(--fth-accent,#3178ee);outline-offset:3px;}
.fth233-iframe {width:100%;height:min(660px,calc(100dvh - 135px));min-height:365px;border:0;background:transparent;display:block;}
.fth233-loading {position:absolute;top:70px;left:20px;right:20px;text-align:center;font-size:12px;color:var(--fth-muted,#60718a);pointer-events:none;}
.fth233-ready .fth233-loading {display:none;}
.fth233-fallback {font-size:11px;text-align:center;padding:7px 12px;border-top:1px solid var(--fth-border,rgba(145,171,209,.3));}
.fth233-fallback a {color:var(--fth-accent,#2161d5);text-decoration:none;font-weight:650;}
.fth233-fallback a:hover {text-decoration:underline;}
@keyframes fth233-slide {from{opacity:0;transform:translate3d(0,-85px,0) scale(.97);}to{opacity:1;transform:translate3d(0,0,0) scale(1);}}
/* Framed route: original React auth form, without its redundant two-column hero. */
html.fth233-framed,html.fth233-framed body {background:transparent!important;overflow:auto!important;margin:0!important;}
html.fth233-framed .fth-site-header,html.fth233-framed .fth-auth-feature,html.fth233-framed .fth-auth-page-footer,html.fth233-framed .fth-topbar,html.fth233-framed .fth-site-topbar {display:none!important;}
html.fth233-framed .fth-auth-app {background:transparent!important;min-height:0!important;padding:0!important;}
html.fth233-framed .fth-auth-container {display:block!important;max-width:none!important;width:100%!important;min-height:0!important;padding:0!important;margin:0!important;}
html.fth233-framed .fth-auth-form-column {display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;}
html.fth233-framed .fth-auth-form-card,html.fth233-framed .fth-auth-app--login .fth-auth-form-card {max-width:none!important;width:100%!important;min-height:0!important;padding:clamp(18px,4vw,29px)!important;margin:0!important;border:none!important;box-shadow:none!important;border-radius:0!important;background:var(--fth-surface,#fff)!important;}
html.fth233-framed .fth-auth-form-card h2 {font-size:clamp(25px,4vw,32px)!important;line-height:1.15!important;}
html.fth233-framed .fth-auth-intro {margin-bottom:15px!important;}
html.fth233-framed .fth137-back-link {display:none!important;}
html.fth233-framed .fth-auth-panel-footer {margin-top:15px!important;}
/* Direct login / forgotten password URLs get the same compact centered card. */
html.fth233-direct .fth-auth-feature,html.fth233-direct .fth-auth-page-footer {display:none!important;}
html.fth233-direct .fth-auth-app {min-height:100dvh!important;background:radial-gradient(circle at 24% 4%,color-mix(in srgb,var(--fth-accent,#307beb) 14%,transparent),transparent 43%),var(--fth-bg,#edf3fb)!important;}
html.fth233-direct .fth-auth-app > .fth-site-header {filter:blur(3px);pointer-events:none;opacity:.55;}
html.fth233-direct .fth-auth-container {width:min(100% - 28px,505px)!important;max-width:505px!important;min-height:calc(100dvh - 120px)!important;margin:0 auto!important;padding:clamp(22px,5vh,62px) 0!important;display:flex!important;align-items:center!important;justify-content:center!important;}
html.fth233-direct .fth-auth-form-column {display:block!important;width:100%!important;max-width:none!important;min-width:0!important;}
html.fth233-direct .fth-auth-form-card,html.fth233-direct .fth-auth-app--login .fth-auth-form-card {position:relative;max-width:none!important;width:100%!important;padding:clamp(24px,5vw,38px)!important;border-radius:25px!important;box-shadow:0 26px 90px rgba(3,20,43,.19)!important;animation:fth233-slide .48s cubic-bezier(.2,.8,.2,1) both;}
.fth233-direct-close {position:absolute;top:10px;right:13px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--fth-accent,#3178ee) 10%,transparent);font-size:25px;font-weight:400;text-decoration:none;color:var(--fth-text,#18304b);z-index:2;}
.fth233-direct-close:hover {background:color-mix(in srgb,var(--fth-accent,#3178ee) 18%,transparent);}
@media(max-width:540px) {
 .fth233-overlay {padding:12px 10px;}
 .fth233-dialog {border-radius:18px;width:100%;max-height:calc(100dvh - 20px);}
 .fth233-dialog-header {min-height:47px;padding:6px 11px 6px 16px;}
 .fth233-iframe {height:calc(100dvh - 90px);min-height:min(365px,calc(100dvh - 90px));}
 html.fth233-framed .fth-auth-form-card,html.fth233-framed .fth-auth-app--login .fth-auth-form-card {padding:22px 18px!important;}
}
@media(prefers-reduced-motion:reduce){.fth233-dialog,html.fth233-direct .fth-auth-form-card{animation:none!important;}.fth233-close:hover{transform:none!important;}}

/* PATCH234: portal symbols replicate the live dropdown's five distinct icon families. */
.fth233-lock svg {width:18px;height:18px;display:block;}
.fth233-dialog[data-fth-portal="admin"] {--fth234-symbol:#a68aff;}
.fth233-dialog[data-fth-portal="employee"] {--fth234-symbol:#3bd4c3;}
.fth233-dialog[data-fth-portal="instructor"] {--fth234-symbol:#a495f8;}
.fth233-dialog[data-fth-portal="student"] {--fth234-symbol:#60b5ff;}
.fth233-dialog[data-fth-portal="client"] {--fth234-symbol:#ac92ee;}
.fth233-dialog .fth233-lock {color:var(--fth234-symbol,var(--fth-accent,#3178ee));background:color-mix(in srgb,var(--fth234-symbol,var(--fth-accent,#3178ee)) 16%,transparent);}
.fth234-actions {display:flex;align-items:center;gap:8px;}
.fth234-size-button {appearance:none;display:grid;place-items:center;cursor:pointer;width:34px;height:34px;border-radius:10px;border:1px solid var(--fth-border,rgba(145,171,209,.34));background:color-mix(in srgb,var(--fth-accent,#3178ee) 7%,transparent);color:var(--fth-text,#223a60);}
.fth234-size-button svg {width:17px;height:17px;}
.fth234-size-button:hover {background:color-mix(in srgb,var(--fth-accent,#3178ee) 15%,transparent);}
.fth234-size-button:focus-visible,.fth234-size-link:focus-visible,.fth234-direct-fallback:focus-visible {outline:3px solid var(--fth-accent,#3178ee);outline-offset:2px;}
.fth233-fallback {display:flex;gap:16px;align-items:center;justify-content:center;min-height:31px;}
.fth234-size-link {border:0;background:none;padding:3px 10px;cursor:pointer;color:var(--fth-accent,#2161d5);font:inherit;font-size:12px;font-weight:750;}
.fth234-size-link:hover {text-decoration:underline;}
.fth234-direct-fallback[hidden] {display:none!important;}
.fth234-direct-fallback {font-size:11px;}
/* Expand in place: keep iframe (and its password fields) mounted; never navigate or reload. */
.fth233-overlay.fth234-expanded {padding:clamp(9px,2.5vw,26px);}
.fth234-expanded .fth233-dialog {width:min(100%,1160px);height:calc(100dvh - clamp(18px,5vw,52px));max-height:calc(100dvh - clamp(18px,5vw,52px));border-radius:22px;animation:none;transition:width .25s cubic-bezier(.2,.8,.2,1),height .25s cubic-bezier(.2,.8,.2,1);}
.fth234-expanded .fth233-iframe {height:auto;min-height:0;flex:1 1 auto;}
.fth234-expanded .fth233-dialog-header {padding-inline:clamp(16px,2vw,27px);}
/* Frame content remains the original secure React login, but receives generous centered spacing when expanded. */
html.fth233-framed.fth234-frame-wide body {background:radial-gradient(circle at 19% 24%,color-mix(in srgb,var(--fth-accent,#3178ee) 13%,transparent),transparent 47%),var(--fth-bg,transparent)!important;min-height:100dvh!important;}
html.fth233-framed.fth234-frame-wide .fth-auth-app {min-height:100dvh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important;}
html.fth233-framed.fth234-frame-wide .fth-auth-container {max-width:560px!important;min-height:0!important;margin:auto!important;}
html.fth233-framed.fth234-frame-wide .fth-auth-form-column {margin:auto!important;}
html.fth233-framed.fth234-frame-wide .fth-auth-form-card {border:1px solid var(--fth-border,rgba(145,171,209,.3))!important;border-radius:20px!important;padding:clamp(22px,3vw,35px)!important;box-shadow:0 24px 65px rgba(0,10,28,.13)!important;}
@media(max-width:600px) {
 .fth233-overlay.fth234-expanded {padding:8px;}
 .fth234-expanded .fth233-dialog {width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:15px;}
 html.fth233-framed.fth234-frame-wide .fth-auth-app {padding:12px!important;}
 html.fth233-framed.fth234-frame-wide .fth-auth-form-card {padding:19px!important;}
}
@media(prefers-reduced-motion:reduce){.fth234-expanded .fth233-dialog {transition:none!important;}}
html[data-fth234-portal="admin"] .fth117-auth-target::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");}
html[data-fth234-portal="employee"] .fth117-auth-target::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20width%3D%2220%22%20height%3D%2214%22%20x%3D%222%22%20y%3D%227%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V5a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2M2%2012a20%2020%200%200%200%2020%200M12%2012v2%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20width%3D%2220%22%20height%3D%2214%22%20x%3D%222%22%20y%3D%227%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V5a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2M2%2012a20%2020%200%200%200%2020%200M12%2012v2%22%2F%3E%3C%2Fsvg%3E");}
html[data-fth234-portal="instructor"] .fth117-auth-target::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%2010%2010-5%2010%205-10%205-10-5Z%22%2F%3E%3Cpath%20d%3D%22M6%2012v5c4%203%208%203%2012%200v-5M22%2010v7%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%2010%2010-5%2010%205-10%205-10-5Z%22%2F%3E%3Cpath%20d%3D%22M6%2012v5c4%203%208%203%2012%200v-5M22%2010v7%22%2F%3E%3C%2Fsvg%3E");}
html[data-fth234-portal="student"] .fth117-auth-target::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%207v14M3%2018V5a2%202%200%200%201%202-2h3a4%204%200%200%201%204%204v14a4%204%200%200%200-4-4H5a2%202%200%200%200-2%201ZM21%2018V5a2%202%200%200%200-2-2h-3a4%204%200%200%200-4%204v14a4%204%200%200%201%204-4h3a2%202%200%200%201%202%201Z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%207v14M3%2018V5a2%202%200%200%201%202-2h3a4%204%200%200%201%204%204v14a4%204%200%200%200-4-4H5a2%202%200%200%200-2%201ZM21%2018V5a2%202%200%200%200-2-2h-3a4%204%200%200%200-4%204v14a4%204%200%200%201%204-4h3a2%202%200%200%201%202%201Z%22%2F%3E%3C%2Fsvg%3E");}
html[data-fth234-portal="client"] .fth117-auth-target::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2M9%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208ZM22%2021v-2a4%204%200%200%200-3-3.87M16%203.13a4%204%200%200%201%200%207.75%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2M9%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208ZM22%2021v-2a4%204%200%200%200-3-3.87M16%203.13a4%204%200%200%201%200%207.75%22%2F%3E%3C%2Fsvg%3E");}

html[data-fth234-portal] .fth117-auth-target > svg:first-child {display:none!important;}
html[data-fth234-portal] .fth117-auth-target::before {content:"";display:inline-block;flex:0 0 17px;width:17px;height:17px;background:currentColor;mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;vertical-align:middle;margin-right:3px;}

/* PATCH235 — branded logo upgrade, expanded background art, and modal chatbot suppression. */
html.fth233-modal-open .fth223,
html.fth233-modal-open .fth-chat111,
html.fth233-modal-open [title="Chat with FAS Techno Hub"]{
  display:none!important;
}

:root{
  --fth235-logo-dark:url('./logo-dark.webp');
  --fth235-logo-light:url('./logo-light.webp');
  --fth235-active-logo:var(--fth235-logo-dark);
  --fth235-brand-surface:rgba(255,255,255,.06);
  --fth235-brand-stroke:rgba(255,255,255,.12);
}
html[data-theme="light"],
html[data-theme="default"],
html[data-theme="plain"],
html[data-theme="white"],
body[data-theme="light"],
body.light,
html.light{
  --fth235-active-logo:var(--fth235-logo-light);
  --fth235-brand-surface:rgba(255,255,255,.88);
  --fth235-brand-stroke:rgba(65,92,146,.18);
}

.fth233-dialog{
  position:relative;
  overflow:hidden;
}
.fth233-header-title{
  gap:12px;
}
.fth233-header-title::before{
  content:"";
  width:88px;
  height:32px;
  display:block;
  flex:0 0 88px;
  background:var(--fth235-active-logo) center/contain no-repeat;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.04));
}
.fth233-dialog::before{
  content:"";
  position:absolute;
  top:54px;
  right:-28px;
  width:200px;
  height:200px;
  pointer-events:none;
  opacity:.08;
  background:var(--fth235-active-logo) center/contain no-repeat;
}
.fth233-fallback{
  position:relative;
}
.fth233-fallback::before{
  content:"";
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  width:90px;
  height:28px;
  background:var(--fth235-active-logo) left center/contain no-repeat;
  opacity:.92;
}
.fth233-fallback{
  padding-left:118px;
}

.fth234-expanded .fth233-dialog{
  padding-right:min(31vw,340px);
  background:
    linear-gradient(180deg,rgba(24,15,61,.96),rgba(36,22,74,.98));
}
.fth234-expanded .fth233-dialog::after{
  content:"";
  position:absolute;
  top:66px;
  right:0;
  bottom:46px;
  width:min(31vw,340px);
  border-left:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg,rgba(11,16,49,.92),rgba(18,28,74,.88)),
    radial-gradient(circle at 24% 20%, rgba(61,113,255,.26), transparent 36%),
    radial-gradient(circle at 68% 74%, rgba(136,92,255,.24), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 60%);
}
.fth234-expanded .fth233-dialog::before{
  top:110px;
  right:32px;
  width:min(24vw,250px);
  height:min(24vw,250px);
  opacity:.86;
  z-index:0;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--fth235-active-logo) center/88% auto no-repeat;
  box-shadow:0 20px 60px rgba(0,0,0,.24);
}
.fth234-expanded .fth233-loading,
.fth234-expanded .fth233-iframe,
.fth234-expanded .fth233-fallback,
.fth234-expanded .fth233-dialog-header{
  position:relative;
  z-index:1;
}
.fth234-expanded .fth233-iframe{
  width:min(100%,720px);
}
.fth234-expanded .fth233-loading,
.fth234-expanded .fth233-fallback{
  width:min(100%,720px);
}
.fth234-expanded .fth233-fallback::before{
  left:22px;
}

@media(max-width:860px){
  .fth233-header-title::before{
    width:76px;
    flex-basis:76px;
    height:28px;
  }
  .fth233-dialog::before{
    width:150px;
    height:150px;
    top:62px;
  }
  .fth233-fallback::before{
    width:78px;
    height:24px;
  }
  .fth233-fallback{
    padding-left:100px;
  }
  .fth234-expanded .fth233-dialog{
    padding-right:0;
  }
  .fth234-expanded .fth233-dialog::after,
  .fth234-expanded .fth233-dialog::before{
    display:none;
  }
  .fth234-expanded .fth233-iframe,
  .fth234-expanded .fth233-loading,
  .fth234-expanded .fth233-fallback{
    width:100%;
  }
}
@media(max-width:560px){
  .fth233-header-title::before{
    display:none;
  }
  .fth233-fallback::before{
    display:none;
  }
  .fth233-fallback{
    padding-left:0;
  }
  .fth233-dialog::before{
    opacity:.06;
    right:-40px;
  }
}

/* FTH Patch236: One readable login logo, no chatbot in the embedded login form,
   and an actual technology illustration in expanded mode. Scoped to login only. */
html.fth233-framed .fth223, html.fth233-framed .fth-chat111,
html.fth233-framed .fth225-backdrop,
html.fth233-direct .fth223, html.fth233-direct .fth-chat111,
html.fth233-direct .fth225-backdrop,
html.fth233-framed [title="Chat with FAS Techno Hub"],
html.fth233-direct [title="Chat with FAS Techno Hub"],
html.fth233-framed [aria-label="Open FAS Techno Hub AI and live chat"],
html.fth233-direct [aria-label="Open FAS Techno Hub AI and live chat"] {
  display:none!important; visibility:hidden!important; pointer-events:none!important;
}
html.fth233-modal-open .fth223,
html.fth233-modal-open .fth-chat111 {display:none!important;}

/* Remove the previous three decorative logos/watermarks entirely. */
.fth233-dialog .fth233-header-title::before,
.fth233-dialog::before,
.fth233-dialog .fth233-fallback::before,
.fth234-expanded .fth233-dialog::before { content:none!important;display:none!important; }
.fth233-dialog .fth233-fallback,
.fth234-expanded .fth233-dialog .fth233-fallback {
  padding:7px 12px!important;justify-content:center;
}
.fth233-dialog .fth233-header-title {gap:9px!important;}

/* Exactly one logo, inside the form, ABOVE its heading; independent of header/footer. */
.fth236-form-brand {
  display:block!important;
  width:178px!important;
  max-width:min(60%,178px)!important;
  height:56px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}
html.fth233-framed .fth-auth-form-card .fth236-form-brand,
html.fth233-direct .fth-auth-form-card .fth236-form-brand {margin-bottom:12px!important;}

/* Modal typography follows the actual card background, not a guessed theme label. */
.fth233-overlay.fth236-modal-light .fth233-dialog {
  --fth-text:#142951;--fth-border:rgba(101,126,181,.25);--fth-accent:#265de3;
  background:#fff;color:#142951;border-color:#ced9ed;
}
.fth233-overlay.fth236-modal-light .fth233-dialog-header,
.fth233-overlay.fth236-modal-light .fth233-fallback {background:#fff;}
.fth233-overlay.fth236-modal-light .fth233-header-title,
.fth233-overlay.fth236-modal-light .fth233-close,
.fth233-overlay.fth236-modal-light .fth234-size-button {color:#142951;}
.fth233-overlay.fth236-modal-dark .fth233-dialog {
  --fth-text:#f1f5ff;--fth-border:rgba(150,164,222,.27);--fth-accent:#b29bff;
  background:#201939;color:#f1f5ff;border-color:rgba(163,153,233,.3);
}
.fth233-overlay.fth236-modal-dark .fth233-dialog-header,
.fth233-overlay.fth236-modal-dark .fth233-fallback {background:#201939;}
.fth233-overlay.fth236-modal-dark .fth233-header-title,
.fth233-overlay.fth236-modal-dark .fth233-close,
.fth233-overlay.fth236-modal-dark .fth234-size-button {color:#f1f5ff;}
.fth233-overlay.fth236-modal-dark .fth234-size-link{color:#c7b3ff;}

/* True illustrated expanded layout. Previous empty decorative panel replaced.
   The header and footer span both columns; center form stays in the left column. */
.fth233-overlay.fth234-expanded .fth233-dialog {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,32%)!important;
  grid-template-rows:53px minmax(0,1fr) minmax(35px,auto)!important;
  padding:0!important;
  overflow:hidden;
}
.fth233-overlay.fth234-expanded .fth233-dialog-header {
  grid-column:1 / -1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0;
  z-index:3;
}
.fth233-overlay.fth234-expanded .fth233-dialog::after {
  content:""!important;
  display:block!important;
  grid-column:2!important;
  grid-row:2!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;height:100%!important;
  min-height:0;
  border-left:1px solid rgba(128,151,225,.24);
  background:
    linear-gradient(180deg,rgba(3,12,39,.12),rgba(4,12,38,.08)),
    url('./tech-background.webp') center center/cover no-repeat!important;
  opacity:1!important;
  box-shadow:inset 10px 0 40px rgba(9,22,67,.1);
  z-index:0!important;
  pointer-events:none!important;
}
.fth233-overlay.fth234-expanded .fth233-iframe {
  grid-column:1!important;grid-row:2!important;
  position:relative;z-index:1;
  width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;
  flex:none!important;display:block;
  background:transparent!important;
}
.fth233-overlay.fth234-expanded .fth233-loading {
  grid-column:1!important;grid-row:2!important;
  top:80px!important;width:auto!important;
}
.fth233-overlay.fth234-expanded .fth233-fallback {
  grid-column:1 / -1!important;grid-row:3!important;
  z-index:3!important;width:100%!important;
}
.fth233-overlay.fth234-expanded .fth233-dialog::before{content:none!important;display:none!important;}

/* Avoid excessive empty space in short browser heights. */
html.fth233-framed.fth234-frame-wide .fth-auth-app {
  min-height:100%!important;
  padding:clamp(12px,2vw,24px)!important;
}
html.fth233-framed.fth234-frame-wide .fth-auth-container{
  max-width:560px!important;
  width:min(100%,560px)!important;
  margin:auto!important;
}
html.fth233-framed.fth234-frame-wide .fth-auth-form-card{
  padding:clamp(18px,2.4vw,27px)!important;
}
@media(max-width:850px) {
  /* No wasted half-panel on tablets and phones. */
  .fth233-overlay.fth234-expanded .fth233-dialog{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:53px minmax(0,1fr) minmax(35px,auto)!important;
  }
  .fth233-overlay.fth234-expanded .fth233-dialog::after {content:none!important;display:none!important;}
  .fth233-overlay.fth234-expanded .fth233-iframe {grid-column:1!important;}
}
@media(max-width:540px){
  .fth236-form-brand{width:148px!important;max-width:58%!important;height:44px!important;margin-bottom:9px!important;}
  .fth233-overlay.fth234-expanded .fth233-dialog{grid-template-rows:47px minmax(0,1fr) minmax(35px,auto)!important;}
}

/* FTH237: one background image, behind the expanded form — no side column. */
:root{--fth237-background-image:url('./tech-background.webp')}
.fth233-overlay.fth234-expanded .fth233-dialog{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:53px minmax(0,1fr) minmax(35px,auto)!important;
  padding:0!important;overflow:hidden!important;
  isolation:isolate;
}
.fth233-overlay.fth234-expanded .fth233-dialog::after{
  content:""!important;display:block!important;position:absolute!important;
  grid-column:1!important;grid-row:2!important;
  inset:53px 0 35px!important;
  width:auto!important;height:auto!important;
  z-index:0!important;pointer-events:none!important;
  border:0!important;box-shadow:none!important;
  background-image:
    linear-gradient(90deg,rgba(8,24,59,.28),rgba(8,24,59,.12)),
    var(--fth237-background-image)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  filter:blur(5px) saturate(.95)!important;
  transform:scale(1.035)!important;
}
.fth233-overlay.fth234-expanded .fth233-iframe{
  grid-column:1!important;grid-row:2!important;
  position:relative!important;z-index:1!important;
  width:100%!important;height:100%!important;min-width:0!important;
  min-height:0!important;max-height:none!important;
  justify-self:center;align-self:stretch;
  border:0!important;overflow:hidden!important;
  background:transparent!important;
}
.fth233-overlay.fth234-expanded .fth233-loading{
  grid-column:1!important;grid-row:2!important;z-index:2!important;
}
.fth233-overlay.fth234-expanded .fth233-fallback{
  grid-column:1!important;grid-row:3!important;z-index:3!important;
}
.fth233-overlay.fth234-expanded .fth233-dialog-header{
  grid-column:1!important;grid-row:1!important;z-index:3!important;
}
/* Keep the form readable while showing the image behind it. */
html.fth233-framed.fth234-frame-wide,
html.fth233-framed.fth234-frame-wide body,
html.fth233-framed.fth234-frame-wide #root {min-height:0!important;height:100%!important;}
html.fth233-framed.fth234-frame-wide .fth-auth-app{
  min-height:0!important;height:100%!important;width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:8px!important;background:transparent!important;
}
html.fth233-framed.fth234-frame-wide .fth-auth-container{
  max-width:565px!important;min-height:0!important;width:100%!important;
  margin:auto!important;padding:0!important;
}
html.fth233-framed.fth234-frame-wide .fth-auth-form-column{
  margin:auto!important;width:100%!important;
}
html.fth233-framed.fth234-frame-wide .fth-auth-form-card{
  border:1px solid rgba(149,169,210,.35)!important;
  border-radius:20px!important;
  padding:clamp(13px,2.1vh,22px)!important;
  box-shadow:0 24px 62px rgba(4,13,42,.31)!important;
  background:var(--fth-surface,#fff)!important;
  margin:0 auto!important;
}
/* Compact mode: slightly tighter form without sacrificing readable input sizes. */
html.fth233-framed:not(.fth234-frame-wide) .fth-auth-form-card{
  padding:clamp(14px,2.4vh,22px)!important;
}
html.fth233-framed .fth236-form-brand{
  height:42px!important;margin-bottom:7px!important;
}
html.fth233-framed .fth-auth-intro{margin-bottom:8px!important;}
html.fth233-framed .fth-auth-panel-footer{margin-top:7px!important;}
html.fth233-framed,html.fth233-framed body,
html.fth233-direct,html.fth233-direct body{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html.fth233-framed::-webkit-scrollbar, html.fth233-framed body::-webkit-scrollbar,
html.fth233-direct::-webkit-scrollbar,html.fth233-direct body::-webkit-scrollbar{
  width:0!important;height:0!important;display:none!important;
}
.fth233-iframe{scrollbar-width:none!important;}
.fth233-overlay.fth234-expanded .fth233-dialog{max-height:calc(100dvh - 20px)!important;}
@media(max-width:680px){
  .fth233-overlay.fth234-expanded .fth233-dialog::after{filter:blur(8px) brightness(.72)!important;}
  html.fth233-framed.fth234-frame-wide .fth-auth-app{padding:5px!important;}
  html.fth233-framed.fth234-frame-wide .fth-auth-form-card{padding:13px!important;}
}
@media(max-height:650px){
  .fth233-overlay{padding:7px!important;}
  .fth233-dialog{max-height:calc(100dvh - 14px)!important;}
  html.fth233-framed .fth-auth-form-card{padding:10px 16px!important;}
  html.fth233-framed .fth236-form-brand{height:34px!important;margin-bottom:2px!important;}
}
/* Admin branding editor, independent of main React styles. */
.fth237-admin-launcher{position:fixed;top:160px;right:20px;z-index:2147482901;
  border:1px solid #9bbcf2;background:#1b63c6;color:#fff;border-radius:11px;
  padding:10px 16px;box-shadow:0 5px 18px #172d6050;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer}
.fth237-admin-shade{position:fixed;inset:0;z-index:2147483500;display:flex;justify-content:center;align-items:center;
  padding:16px;background:rgba(4,15,37,.62);backdrop-filter:blur(5px)}
.fth237-admin-dialog{background:#fff;color:#162945;width:min(550px,100%);max-height:calc(100dvh - 32px);
  overflow:auto;border-radius:18px;padding:22px;box-shadow:0 18px 80px #0007;font:14px/1.5 system-ui,sans-serif}
.fth237-admin-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fth237-admin-head h2{font-size:21px;margin:0}
.fth237-admin-head button{font-size:26px;background:#edf2fa;border:0;border-radius:9px;padding:0 9px;cursor:pointer}
.fth237-help{font-size:12px;color:#486078;margin:13px 0}
.fth237-preview{display:block;width:100%;height:210px;border-radius:12px;object-fit:cover;border:1px solid #d2deee;background:#edf3fa}
.fth237-input-row{padding:13px 0}.fth237-input-row label{display:flex;flex-direction:column;gap:8px;font-weight:650}
.fth237-input-row input{max-width:100%;border:1px solid #cbd7e7;border-radius:7px;padding:9px}
.fth237-status{font-size:12px;color:#315881;min-height:20px}
.fth237-buttons{display:flex;gap:10px;flex-wrap:wrap}
.fth237-buttons button{padding:10px 14px;border:0;border-radius:9px;font-weight:650;cursor:pointer}
.fth237-save{background:#1569d2;color:white}.fth237-reset{background:#edf2f9;color:#173a63}
.fth237-buttons button:disabled{opacity:.55;cursor:not-allowed}
.fth237-admin-dialog button:focus-visible,.fth237-admin-launcher:focus-visible{outline:3px solid #64b9fc;outline-offset:2px}
/* The embedded document must itself be transparent for the backdrop image to
   remain visible around the centered form. Overrides Patch234's opaque body. */
html.fth233-framed.fth234-frame-wide,
html.fth233-framed.fth234-frame-wide body,
html.fth233-framed.fth234-frame-wide #root,
html.fth233-framed.fth234-frame-wide .fth-auth-app{
  background:transparent!important;
}
