/* FYZL modern financial workspace. Presentation only; state/permissions remain in controllers. */
html:has(#fyzl-shell){font-family:var(--font-workspace);font-size:16px;scroll-padding-block:88px 32px}
body:has(#fyzl-shell){margin:0;display:block;background:var(--background);color:var(--foreground);font-family:var(--font-workspace);line-height:1.5}
#fyzl-shell *{box-sizing:border-box}#fyzl-shell [hidden]{display:none!important}
#fyzl-shell{min-height:100dvh;font-family:var(--font-workspace);font-size:14px;line-height:1.5;--ink:#172b4d;--text:#253753;--text-muted:#57677d;--line:#dce3ec;--paper:#f4f6fa;--shadow-card:none}
#fyzl-shell button,#fyzl-shell input,#fyzl-shell select,#fyzl-shell textarea{font-family:inherit}
#fyzl-shell h1,#fyzl-shell h2,#fyzl-shell h3,#fyzl-shell h4{font-family:inherit;color:var(--foreground);font-weight:600;letter-spacing:-.025em;line-height:1.2;text-transform:none}
#fyzl-shell h1{font-size:clamp(28px,3.1vw,42px)}#fyzl-shell h2{font-size:23px}#fyzl-shell h3{font-size:18px}
#fyzl-shell a:focus-visible,#fyzl-shell button:focus-visible,#fyzl-shell input:focus-visible,#fyzl-shell select:focus-visible,#fyzl-shell textarea:focus-visible,#fyzl-shell summary:focus-visible{outline:3px solid var(--ring);outline-offset:3px}
.modern-skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:100}.modern-skip:focus{top:10px}
#fyzl-shell .fyzl-wordmark{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;font-size:25px;font-weight:600;letter-spacing:.07em;line-height:1.05;white-space:nowrap}
#fyzl-shell .fyzl-mark{display:grid;place-items:center;width:37px;height:43px;border-left:3px solid var(--gold);font-size:34px;letter-spacing:-4px;padding-right:7px}
#fyzl-shell .fyzl-wordmark-detail{display:block;font-size:10px;font-weight:400;letter-spacing:.02em;margin-top:7px;opacity:.75}
#fyzl-shell.modern-staff{padding-left:234px}
#fyzl-shell .workspace-rail{position:fixed;inset:0 auto 0 0;width:234px;display:flex;flex-direction:column;gap:28px;background:#172b4d;color:#f7f9fc;padding:30px 16px 20px;overflow-y:auto;z-index:20}
#fyzl-shell .workspace-rail>.fyzl-wordmark{margin-left:14px}
.workspace-navigation{display:flex;flex-direction:column;gap:22px}
.workspace-navigation .navigation-group{display:flex;flex-direction:column;gap:4px}
.workspace-navigation .navigation-group>p{font:500 12px/1.5 var(--font-workspace);padding:0 14px;margin:0 0 5px;opacity:.67;text-transform:none;letter-spacing:0}
.workspace-navigation a,.workspace-navigation button{display:flex;align-items:center;gap:12px;padding:11px 13px;min-height:44px;background:transparent;border:1px solid transparent;border-radius:7px;text-align:left;text-decoration:none;color:inherit;font:400 13px/1.4 var(--font-workspace);width:100%;box-shadow:none;cursor:pointer}
.workspace-navigation svg{width:18px;height:18px;flex-shrink:0;opacity:.8}
#fyzl-shell .workspace-navigation .selected{background:#ffffff13;color:white;border-color:#ffffff10;box-shadow:inset 3px 0 var(--gold);font-weight:500}
.workspace-navigation a:hover,.workspace-navigation button:hover{background:#7a8fab1a;color:inherit}
#fyzl-shell .rail-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid #ffffff1c;font-size:12px;color:#c1ccda}
#fyzl-shell .rail-bottom p{margin:0 0 14px}#fyzl-shell .rail-bottom a{display:flex;gap:10px;color:inherit;text-decoration:none}#fyzl-shell .rail-bottom svg{width:15px;height:15px}
#fyzl-shell .workspace-header{display:flex;align-items:center;gap:20px;justify-content:space-between;min-height:84px;padding:18px 38px;background:white;border-bottom:1px solid var(--border)}
#fyzl-shell .workspace-header-title{display:block;font-size:15px;font-weight:500}#fyzl-shell .workspace-header-subtitle{display:block;font-size:12px;color:var(--muted-foreground);margin-top:2px}
#fyzl-shell .workspace-identity{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
#fyzl-shell .workspace-content{min-width:0;outline:none}
#fyzl-shell.modern-staff .workflow-surface>main{width:100%;max-width:1600px;padding:34px 38px 64px;margin:0 auto}
#fyzl-shell [data-retained-toolbar]{display:none}
html[data-react-pipeline=true] [data-legacy-pipeline]{display:none!important}
#fyzl-shell .pipeline-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
#fyzl-shell .context-line{font-size:13px;color:var(--muted-foreground);margin:0 0 8px}
#fyzl-shell .pipeline-heading h1{margin:0 0 10px;font-size:clamp(27px,2.6vw,36px);line-height:1.17}
#fyzl-shell .pipeline-heading p:last-child{margin:0;color:var(--muted-foreground);font-size:14px}
#fyzl-shell .pipeline-overview{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;padding:28px 30px;background:white;border:1px solid var(--border);border-radius:12px;margin-bottom:28px}
#fyzl-shell .pipeline-figures{display:grid;grid-template-columns:.7fr 1.3fr;gap:20px;align-content:center}
#fyzl-shell .pipeline-figures span{display:block;font-size:12px;color:var(--muted-foreground)}#fyzl-shell .pipeline-figures strong{display:block;font-size:30px;font-weight:500;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:8px}
#fyzl-shell .pipeline-figures p{grid-column:1/-1;font-size:11px;color:var(--muted-foreground);line-height:1.5;margin:0;max-width:360px}
#fyzl-shell .pipeline-chart{border-left:1px solid var(--border);padding-left:28px;min-width:0}#fyzl-shell .pipeline-chart h2{font-size:13px;letter-spacing:0;margin:0 0 10px}
#fyzl-shell .loan-register{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}
#fyzl-shell .register-toolbar{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--border)}
#fyzl-shell .pipeline-switcher{display:flex;gap:4px;flex-wrap:wrap}
#fyzl-shell .pipeline-search{padding:20px 22px;display:flex;align-items:flex-start;gap:10px}#fyzl-shell .pipeline-search>[data-slot=field-group]{flex:1;max-width:600px}
#fyzl-shell .pipeline-search [data-slot=input]{min-height:40px;background:var(--background)}
#fyzl-shell .pipeline-loading{padding:20px;display:flex;flex-direction:column;gap:8px}
#fyzl-shell [data-slot=button]{min-height:36px;font-size:13px;line-height:1.4;letter-spacing:0;text-transform:none;box-shadow:none}
#fyzl-shell [data-slot=button] svg{width:16px;height:16px}
#fyzl-shell [data-slot=table]{font-size:13px;border-collapse:collapse;width:100%;margin:0}
#fyzl-shell [data-slot=table-head]{background:#f8fafc;height:48px;color:var(--muted-foreground);font-weight:500;font-size:12px;border-bottom:1px solid var(--border)}
#fyzl-shell [data-slot=table-head] [data-slot=button]{color:var(--muted-foreground);font-size:12px;padding:0;min-height:36px;gap:6px}
#fyzl-shell [data-slot=table-cell]{padding:19px 14px;border-bottom:1px solid #eaf0f5;vertical-align:middle;max-width:280px}
#fyzl-shell [data-slot=table-head]:first-child,#fyzl-shell [data-slot=table-cell]:first-child{padding-left:24px}
#fyzl-shell .client-cell{display:flex;flex-direction:column;gap:5px;min-width:150px}#fyzl-shell .client-cell strong{font-size:14px;font-weight:600}#fyzl-shell .client-cell span{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere;white-space:normal;font-variant-numeric:tabular-nums}
#fyzl-shell .amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}#fyzl-shell .address-cell{display:block;white-space:normal;min-width:145px;max-width:250px}
#fyzl-shell [data-slot=badge]{font:500 11px/1.4 var(--font-workspace);letter-spacing:0;padding:5px 9px;border-radius:5px}
#fyzl-shell .register-pagination{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:18px 22px;color:var(--muted-foreground);font-size:12px}#fyzl-shell .register-pagination p{margin:0}#fyzl-shell .register-pagination>div{display:flex;gap:8px}
#fyzl-shell .mobile-menu{display:none}
/* All retained workflow families share the new type, control and modal hierarchy. */
#fyzl-shell .workflow-surface{font-family:var(--font-workspace);font-size:14px;color:var(--foreground)}
#fyzl-shell .workflow-surface label{font-weight:500;font-size:13px;letter-spacing:0;color:var(--foreground);text-transform:none}
#fyzl-shell .workflow-surface input:not([type=checkbox]):not([type=radio]):not(:where(.fyzl-inquiry *)),#fyzl-shell .workflow-surface select:not(:where(.fyzl-inquiry *)),#fyzl-shell .workflow-surface textarea:not(:where(.fyzl-inquiry *)){font:400 14px/1.5 var(--font-workspace);color:var(--foreground);background:white;border:1px solid #becad8;border-radius:6px;box-shadow:none;min-height:42px;padding:9px 12px;max-width:100%}
#fyzl-shell .workflow-surface input:disabled,#fyzl-shell .workflow-surface select:disabled,#fyzl-shell .workflow-surface textarea:disabled{background:#f0f3f7;color:#52627b}
#fyzl-shell .workflow-surface input[aria-invalid=true],#fyzl-shell .workflow-surface select[aria-invalid=true]{border-color:var(--destructive)}
#fyzl-shell .workflow-surface button:not([data-slot]):not(.issue-link):not(.field-help):not(.seller-help):not(:where(.fyzl-inquiry *)){font:500 13px/1.4 var(--font-workspace);letter-spacing:0;text-transform:none;border-radius:6px;min-height:40px;padding:10px 15px;box-shadow:none;transition:background .12s}
#fyzl-shell .workflow-surface .btn:not(.btn-secondary):not(.btn-ghost),#fyzl-shell .workflow-surface button.primary,#fyzl-shell #signin-button{background:var(--primary);color:white;border-color:var(--primary)}
#fyzl-shell .workflow-surface .btn-secondary,#fyzl-shell .workflow-surface .secondary{background:white;border:1px solid #c8d3df;color:var(--primary)}
#fyzl-shell .workflow-surface .btn-secondary:hover,#fyzl-shell .workflow-surface .secondary:hover{background:var(--secondary)}
#fyzl-shell .workflow-surface .card{border:1px solid var(--border);border-radius:10px;box-shadow:none;background:white;padding:28px}
#fyzl-shell .workflow-surface dialog{color:var(--foreground);font-family:var(--font-workspace);font-size:14px;border:1px solid #c8d3df;border-radius:14px;box-shadow:0 24px 80px #14253d33;padding:0;max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px)}
#fyzl-shell .workflow-surface dialog::backdrop{background:#172b4d80;backdrop-filter:blur(3px)}
#fyzl-shell .workflow-surface dialog h1{font-size:30px}#fyzl-shell .workflow-surface dialog h2{font-size:24px}#fyzl-shell .workflow-surface dialog h3{font-size:18px}
#fyzl-shell .workflow-surface dialog>header,#fyzl-shell .workflow-surface dialog .modal-header,#fyzl-shell .workflow-surface dialog .portal-app-header{padding:22px 28px;background:white;border-bottom:1px solid var(--border);color:var(--foreground)}
#fyzl-shell .workflow-surface .portal-app-footer{padding:20px 28px;background:#f7f9fc;border-top:1px solid var(--border);text-align:left;color:var(--muted-foreground);font-size:11px}
#fyzl-shell .workflow-surface .portal-app-footer>img{display:none}#fyzl-shell .workflow-surface .portal-app-footer>p{display:inline;margin-right:15px}#fyzl-shell .workflow-surface .portal-app-footer>strong{font-weight:500;margin-right:15px}
#fyzl-shell .workflow-surface table:not([data-slot]) th{background:#f1f5f9;color:#465977;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
#fyzl-shell .workflow-surface table:not([data-slot]) td{font-size:13px;line-height:1.5;padding:13px 12px;border-color:var(--border)}
#fyzl-shell .workflow-surface details{border:1px solid var(--border);border-radius:8px;background:white;box-shadow:none;padding:20px}
#fyzl-shell .workflow-surface summary{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground)}
#fyzl-shell .workflow-surface .pill{font-size:11px;font-weight:500;letter-spacing:0}
#fyzl-shell #login{max-width:560px;margin:55px auto;padding:44px;background:white;border-top:3px solid var(--gold)}#fyzl-shell #login h1{font-size:32px}#fyzl-shell #login p{color:var(--muted-foreground);max-width:40ch}#fyzl-shell #google-signin{margin-top:26px}
#fyzl-shell #record{margin-top:28px;border-top:3px solid var(--gold)}#fyzl-shell #record-title{font-size:28px}#fyzl-shell #record-ids{font-size:12px;color:var(--muted-foreground)}
#fyzl-shell #record>button{margin:4px 6px 6px 0}#fyzl-shell #pipeline-detail dt{font-weight:400;font-size:12px;color:var(--muted-foreground)}#fyzl-shell #pipeline-detail dd{font-weight:500;font-size:14px;margin-top:4px}
/* Consumer portals: one task at a time, quiet chrome, persistent save/review controls. */
#fyzl-shell .public-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:white;border-bottom:1px solid var(--border);padding:24px max(24px,calc((100vw - 1240px)/2));min-height:92px}
#fyzl-shell .public-navigation{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:500}#fyzl-shell .public-navigation a{color:var(--foreground);text-decoration:none;white-space:nowrap}#fyzl-shell .public-navigation a[data-slot],#fyzl-shell .public-navigation>a:last-child{color:white;padding:11px 16px}
[data-slot=sheet-content] .public-navigation{display:flex;flex-direction:column;align-items:stretch;padding:20px;gap:18px}
#fyzl-shell.modern-borrower .workflow-surface>.masthead,#fyzl-shell.modern-transaction .workflow-surface>.brand-header{background:transparent;border:0;color:var(--muted-foreground);padding:18px max(24px,calc((100vw - 1100px)/2));font-size:12px;min-height:auto}
#fyzl-shell.modern-borrower .masthead>.brand,#fyzl-shell.modern-transaction .brand-header>div:first-child{display:none}
#fyzl-shell.modern-borrower .workflow-surface>main,#fyzl-shell.modern-transaction .workflow-surface>main{max-width:1100px;padding:28px 32px 64px;margin:auto}
#fyzl-shell .intro{margin-bottom:32px;max-width:650px}#fyzl-shell .intro h1{font-size:40px;font-weight:500}#fyzl-shell .eyebrow{font-size:12px;font-weight:500;letter-spacing:0;color:var(--muted-foreground);text-transform:none;margin-bottom:10px}
#fyzl-shell #signin-panel,#fyzl-shell #client-signin{max-width:560px;margin:32px auto;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:12px;padding:36px;box-shadow:none}
#fyzl-shell .actions{border:1px solid var(--border);border-top:2px solid var(--gold);border-radius:8px;background:white;padding:18px 22px;box-shadow:0 -5px 24px #172b4d08}
#fyzl-shell .application-row{border-radius:9px;padding:24px;border-color:var(--border)}#fyzl-shell .application-row:hover{border-color:#aebfd0}
#fyzl-shell .field-grid{gap:22px 26px}#fyzl-shell .repeat-entry{background:#f5f7fb;border-radius:8px;padding:22px}
#fyzl-shell .workflow-surface .notice{border-radius:6px;background:#edf2f8;border-color:var(--gold);color:var(--foreground)}
#fyzl-shell .workflow-surface>footer{font:400 11px/1.7 var(--font-workspace);background:transparent;border-top:1px solid var(--border);color:var(--muted-foreground);letter-spacing:0;padding:24px}
/* Public content, images and form contracts retained; typography/navigation are new. */
#fyzl-shell.modern-public{background:white}
#fyzl-shell.modern-public .workflow-surface{font-size:16px;line-height:1.7}
#fyzl-shell.modern-public .page-section{min-height:0!important}
#fyzl-shell.modern-public .content-wrapper{padding-top:clamp(32px,5vw,72px)!important;padding-bottom:clamp(32px,5vw,72px)!important}
#fyzl-shell.modern-public .workflow-surface h1{font-size:clamp(36px,5.4vw,72px)!important;line-height:1.08!important;letter-spacing:-.045em!important;max-width:19ch}
#fyzl-shell.modern-public .workflow-surface h2{font-size:clamp(28px,3.6vw,44px)!important;line-height:1.15!important;letter-spacing:-.03em!important}
#fyzl-shell.modern-public .workflow-surface h3{font-size:25px!important;line-height:1.25!important}
#fyzl-shell.modern-public .workflow-surface p{font-family:var(--font-workspace)!important;font-size:16px;line-height:1.7;letter-spacing:0;max-width:76ch}
#fyzl-shell.modern-public .workflow-surface .sqsrte-text-color--white,#fyzl-shell.modern-public .dark h1,#fyzl-shell.modern-public .dark h2,#fyzl-shell.modern-public .dark h3,#fyzl-shell.modern-public .black h1,#fyzl-shell.modern-public .black h2{color:white}
#fyzl-shell.modern-public .sqs-block-button-element{background:var(--primary)!important;color:white!important;border:1px solid var(--primary)!important;border-radius:6px!important;padding:15px 24px!important;font:500 14px/1.4 var(--font-workspace)!important;letter-spacing:0!important;text-transform:none!important;min-height:46px}
#fyzl-shell.modern-public .form-wrapper{background:white;border:1px solid var(--border);padding:28px;border-radius:10px;color:var(--foreground)}
#fyzl-shell.modern-public .form-wrapper input,#fyzl-shell.modern-public .form-wrapper textarea,#fyzl-shell.modern-public .form-wrapper select{background:#f8fafc}
#fyzl-shell .modern-footer{padding:48px max(24px,calc((100vw - 1240px)/2));background:#172b4d;color:#f7f9fc;max-width:none;margin:0;font-family:var(--font-workspace);letter-spacing:0}
#fyzl-shell .modern-footer [data-slot=separator]{margin:30px 0;background:#ffffff24}#fyzl-shell .modern-footer>div{display:flex;justify-content:space-between;gap:24px}#fyzl-shell .modern-footer p{font-size:18px;max-width:320px;margin:0}#fyzl-shell .modern-footer nav{display:flex;flex-wrap:wrap;gap:22px;font-size:13px}#fyzl-shell .modern-footer nav a{color:#dbe3ef;text-decoration:none}#fyzl-shell .modern-footer small{display:block;color:#b8c5d7;font-size:11px;margin-top:36px}
@media(max-width:1100px){#fyzl-shell.modern-staff{padding-left:210px}#fyzl-shell .workspace-rail{width:210px;padding-inline:12px}#fyzl-shell .workspace-header{padding-inline:24px}#fyzl-shell.modern-staff .workflow-surface>main{padding:28px 24px}#fyzl-shell .pipeline-overview{gap:20px;padding:24px}#fyzl-shell .pipeline-figures{grid-template-columns:1fr}#fyzl-shell .pipeline-figures strong{font-size:27px}#fyzl-shell .public-navigation{gap:17px}}
@media(max-width:800px){#fyzl-shell.modern-staff{padding-left:0}#fyzl-shell .workspace-rail{display:none}#fyzl-shell .mobile-menu{display:inline-flex}#fyzl-shell .workspace-header{padding:16px 20px;min-height:76px}#fyzl-shell .workspace-header>div:nth-child(2){margin-right:auto}#fyzl-shell .workspace-identity>span{max-width:180px;font-size:11px}#fyzl-shell .desktop-navigation{display:none}#fyzl-shell .public-header{padding:18px 24px;min-height:82px}#fyzl-shell .pipeline-heading{align-items:flex-start;flex-direction:column;gap:16px}#fyzl-shell .pipeline-figures{grid-template-columns:.7fr 1.3fr}#fyzl-shell .pipeline-overview{grid-template-columns:1fr;gap:24px}#fyzl-shell .pipeline-chart{border-left:0;border-top:1px solid var(--border);padding:20px 0 0}#fyzl-shell .register-toolbar{align-items:flex-start;flex-wrap:wrap}#fyzl-shell .workflow-surface dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:10px}#fyzl-shell .workflow-surface dialog>header,#fyzl-shell .workflow-surface dialog .modal-header{padding:20px}#fyzl-shell .modern-footer>div{flex-direction:column}}
@media(max-width:480px){#fyzl-shell.modern-staff .workflow-surface>main{padding:24px 16px 40px}#fyzl-shell .pipeline-heading h1{font-size:29px}#fyzl-shell .pipeline-overview{padding:22px 20px}#fyzl-shell .pipeline-search{padding:16px;flex-wrap:wrap}#fyzl-shell .pipeline-search>[data-slot=field-group]{flex-basis:100%}#fyzl-shell .register-toolbar{padding:16px}#fyzl-shell .register-pagination{padding:16px;flex-direction:column;align-items:stretch;gap:12px}#fyzl-shell .register-pagination>div{justify-content:space-between}#fyzl-shell #login{padding:28px;margin:20px auto}#fyzl-shell.modern-borrower .workflow-surface>main,#fyzl-shell.modern-transaction .workflow-surface>main{padding:24px 18px 48px}#fyzl-shell #signin-panel,#fyzl-shell #client-signin{padding:24px}#fyzl-shell .intro h1{font-size:32px}#fyzl-shell .workflow-surface .card{padding:20px}#fyzl-shell .workflow-surface .field-grid{grid-template-columns:1fr}#fyzl-shell .workflow-surface button:not([data-slot]){min-height:44px}#fyzl-shell .workspace-header-title{font-size:13px}#fyzl-shell .workspace-header-subtitle{display:none}#fyzl-shell .workspace-identity>span{max-width:140px}#fyzl-shell .fyzl-wordmark{font-size:22px}#fyzl-shell .modern-footer nav{flex-direction:column;gap:15px}}
@media(prefers-reduced-motion:reduce){#fyzl-shell *,#fyzl-shell *::before,#fyzl-shell *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* The home's single visual signature is the architectural photograph and generous type. */
#fyzl-shell .home-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:60px;align-items:center;max-width:1320px;margin:auto;padding:64px 40px 72px;background:white}
#fyzl-shell .home-hero-copy>p:first-child{font-size:13px!important;margin:0 0 22px;color:var(--muted-foreground);font-weight:500}
#fyzl-shell .home-hero #home-title{font-size:clamp(40px,4.5vw,64px)!important;line-height:1.06!important;font-weight:500;letter-spacing:-.045em!important;max-width:12ch;margin:0 0 26px}
#fyzl-shell .home-hero-copy>p{font-size:16px!important;line-height:1.65;max-width:46ch;color:var(--muted-foreground);margin:0 0 28px}
#fyzl-shell .home-hero-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:13px;margin:0 0 40px}
#fyzl-shell .home-hero-actions>a:first-child{background:var(--primary);color:white;padding:14px 20px;min-height:48px;text-decoration:none;display:flex;gap:12px;align-items:center;font-size:14px;border-radius:6px}
#fyzl-shell .home-hero-actions>a:last-child{color:var(--foreground);text-decoration:underline;text-underline-offset:5px}
#fyzl-shell .home-hero-actions svg{width:17px;height:17px}
#fyzl-shell .home-paths{display:flex;flex-direction:column;border-top:1px solid var(--border);max-width:460px}
#fyzl-shell .home-paths>a{display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--border);padding:15px 0;font-size:13px;color:var(--foreground);text-decoration:none}
#fyzl-shell .home-paths>a>svg{width:18px;height:18px;color:var(--muted-foreground)}#fyzl-shell .home-paths>a>svg:last-child{margin-left:auto}
#fyzl-shell .home-hero figure{margin:0;align-self:stretch;min-height:530px;display:flex;flex-direction:column;background:var(--primary);border-radius:2px 28px 2px 2px;overflow:hidden}
#fyzl-shell .home-hero figure>img{width:100%;height:100%;min-height:0;flex:1;object-fit:cover;object-position:45% center}
#fyzl-shell .home-hero figcaption{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;color:#f5f7fb;font-size:12px;border-top:2px solid var(--gold)}
@media(max-width:1000px){#fyzl-shell .home-hero{gap:32px;padding:44px 28px}#fyzl-shell .home-hero figure{min-height:500px}#fyzl-shell .home-hero-actions{gap:20px}}
@media(max-width:650px){#fyzl-shell .home-hero{grid-template-columns:1fr;gap:32px;padding:38px 24px}#fyzl-shell .home-hero #home-title{font-size:46px!important;max-width:12ch}#fyzl-shell .home-hero figure{min-height:320px;height:340px}#fyzl-shell .home-hero-actions{margin-bottom:30px}#fyzl-shell .home-hero figcaption{padding:16px 18px}}

#fyzl-shell.modern-public h1,#fyzl-shell.modern-public h2,#fyzl-shell.modern-public h3,#fyzl-shell.modern-public h4,#fyzl-shell .home-hero,#fyzl-shell .home-hero *{font-family:var(--font-workspace)!important}
#fyzl-shell .public-navigation>a:last-child{background:var(--primary);color:white;border-radius:6px;display:inline-flex;align-items:center;gap:8px;font-size:13px}
#fyzl-shell.modern-transaction .workflow-surface>.brand-header{display:none}
#fyzl-shell .workflow-surface>footer img,#fyzl-shell .workflow-surface>.footer img{display:none}
#fyzl-shell.modern-calculator .workflow-surface>.topbar{display:none}
#fyzl-shell.modern-calculator .flip-access{background:transparent;color:var(--foreground);padding:18px 24px;border-bottom:1px solid var(--border)}
#fyzl-shell.modern-calculator .flip-access a{color:var(--foreground)}
#fyzl-shell.modern-calculator .flip-banner{background:#edf2f8;color:var(--muted-foreground);border:0;font:400 12px/1.6 var(--font-workspace);padding:12px 24px}
#fyzl-shell.modern-calculator .container{max-width:1250px;padding:28px 24px;margin:auto}
#fyzl-shell.modern-calculator .footer{background:transparent;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px}
[data-slot=sheet-content]{font-family:var(--font-workspace);background:white;color:var(--foreground)}
[data-slot=sheet-content] .workspace-navigation{padding:8px 18px;overflow:auto}

#fyzl-shell .workflow-surface dialog header small,#fyzl-shell .workflow-surface .email-brand,#fyzl-shell .workflow-surface .document-masthead>span{color:var(--muted-foreground)}
#fyzl-shell .workflow-surface .portal-app-footer strong,#fyzl-shell .workflow-surface .portal-app-footer .portal-copyright{color:var(--muted-foreground)}
#fyzl-shell .portal-label{opacity:1;color:var(--muted-foreground)}

.fyzl-directory{padding:12px 24px 28px;min-height:0;display:flex;flex-direction:column;gap:18px;font:14px/1.5 var(--font-workspace)}
.fyzl-directory>p{font-size:12px;color:var(--muted-foreground);margin:0}.fyzl-directory nav{overflow:auto;display:flex;flex-direction:column;gap:4px}.fyzl-directory nav a{padding:11px 0;border-bottom:1px solid var(--border);color:var(--foreground);text-decoration:none}

#fyzl-shell .workflow-surface>footer a{color:var(--foreground);text-decoration:underline;text-underline-offset:3px}
#fyzl-shell.modern-calculator .workflow-surface .container>header,#fyzl-shell.modern-calculator .workflow-surface .header{background:white;color:var(--foreground);border-bottom:1px solid var(--border);padding:24px;border-radius:10px}

#fyzl-shell.modern-calculator .hero{background:white;color:var(--foreground);border:1px solid var(--border);padding:28px;border-radius:10px}#fyzl-shell.modern-calculator .hero-sub{color:var(--muted-foreground)}

#fyzl-shell{--accent:#172b4d;--accent-bg:#eef2f8}
#fyzl-shell .workflow-surface dialog>header :is(h1,h2,h3,p,strong,span,small,div){color:var(--foreground)!important}
#fyzl-shell .workflow-surface dialog>header button{color:var(--foreground)!important;background:white!important;border:1px solid #becad8!important}
#fyzl-shell .workflow-surface dialog>header img{display:none}
#fyzl-shell .workflow-surface .portal-app-masthead>div::before{white-space:nowrap;flex-shrink:0;content:"FYZL";font:600 18px/1 var(--font-workspace);letter-spacing:.08em;border-left:2px solid var(--gold);padding-left:10px}

#fyzl-shell.modern-public time,#fyzl-shell.modern-public time span,#fyzl-shell.modern-public [class*=blog-item-tag]{color:var(--muted-foreground)!important}

#fyzl-shell.modern-public [data-section-theme^=black],#fyzl-shell.modern-public [data-section-theme^=dark]{background:#172b4d}
#fyzl-shell.modern-public :is([data-section-theme^=black],[data-section-theme^=dark]) :is(h1,h2,h3,h4){color:white!important}
#fyzl-shell.modern-public [data-section-theme=white] :is(h1,h2,h3,h4) .sqsrte-text-color--white{color:var(--foreground)!important}
#fyzl-shell.modern-calculator .hero-addr>div{color:var(--muted-foreground)}
#fyzl-shell .modern-footer .footer-details{margin-top:34px;padding-top:26px;border-top:1px solid #ffffff24;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;font-size:13px}
#fyzl-shell .modern-footer .footer-details nav{display:flex;flex-direction:column;gap:10px}
#fyzl-shell .modern-footer address{font-style:normal;color:#dbe3ef;line-height:1.8}#fyzl-shell .modern-footer address a{color:inherit}
@media(max-width:650px){#fyzl-shell .modern-footer .footer-details{grid-template-columns:1fr;gap:26px}}
#fyzl-shell .workflow-surface :where(h1,h2,h3,h4,p,label,input,select,textarea,summary,td,th,strong,small,button),#fyzl-shell .command-step span{font-family:var(--font-workspace)!important}
#fyzl-shell #custom-modal .command-step.current .command-step-dot{border-color:var(--primary);background:var(--primary);color:white}
#fyzl-shell #custom-modal .command-step.done .command-step-dot{border-color:var(--primary);background:#eaf0f7;color:var(--primary)}
#fyzl-shell #custom-modal .command-type-choices label:has(:checked){border-color:var(--primary);background:#eef2f8;box-shadow:0 0 0 2px #eaf0f7}
#fyzl-shell #custom-modal .command-type-choices input{accent-color:var(--primary)}
#fyzl-shell #custom-modal .command-type-choices span{font:400 13px/1.5 var(--font-workspace);color:var(--muted-foreground)}
#fyzl-shell #custom-modal [data-command-panel=type]>h3{text-transform:none;font-size:13px}
#fyzl-shell .workflow-surface dialog{background:#f4f6fa}
/* Captured Squarespace animation selectors must not hide the new React navigation. */
#fyzl-shell .public-header{opacity:1!important;visibility:visible!important;transform:none!important}
#fyzl-shell.modern-public .sqsrte-scaled-text{white-space:normal!important;display:block!important;width:100%!important;font-size:inherit!important}
#fyzl-shell.modern-public .sqsrte-scaled-text :is(h1,h2,h3){white-space:normal!important;width:auto!important;max-width:100%!important;overflow-wrap:break-word}
@media(prefers-reduced-motion:reduce){[data-slot=sheet-content],[data-slot=sheet-overlay]{transition:none!important;animation:none!important}}
/* Source white display text can overlay a photograph even in a white section. */
#fyzl-shell.modern-public h1:has(.sqsrte-text-color--white){background:#172b4de8;color:white!important;padding:16px 20px;border-left:3px solid var(--gold);border-radius:3px;font-size:clamp(28px,4.4vw,58px)!important;line-height:1.18!important}
#fyzl-shell.modern-public h1 .sqsrte-text-color--white{color:white!important}
#fyzl-shell.modern-public .sqsrte-scaled-text :is(h1,h2,h3),#fyzl-shell.modern-public .sqsrte-scaled-text :is(h1,h2,h3) *{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
#fyzl-shell.modern-public [data-section-theme=white] h1 .sqsrte-text-color--white{color:#fff!important}
#fyzl-shell.modern-public h1:has(.sqsrte-text-color--white){background:#172b4d}

/* Responsive institutional workspace: geometry is explicit, including native top-layer dialogs. */
#fyzl-shell .pipeline-heading h1,#fyzl-shell #record-title{font-weight:700}
#fyzl-shell .pipeline-overview{border-top:3px solid var(--gold);box-shadow:0 2px 8px #172b4d04}
#fyzl-shell .pipeline-figures strong{font-weight:600;font-size:clamp(24px,2.3vw,32px);overflow-wrap:anywhere}
#fyzl-shell .pipeline-chart .status-chart{height:164px;width:100%;aspect-ratio:auto}
#fyzl-shell .register-toolbar{background:#f8fafc}
#fyzl-shell .pipeline-switcher{gap:3px;background:var(--secondary);padding:4px;border-radius:8px}
#fyzl-shell .pipeline-switcher [data-slot=toggle-group-item]{font-size:13px;font-weight:600;min-height:40px;padding:8px 13px;white-space:normal}
#fyzl-shell .pipeline-switcher [data-pressed]{background:var(--primary);color:var(--primary-foreground);box-shadow:0 1px 3px #172b4d15}
#fyzl-shell [data-slot=table-head],#fyzl-shell [data-slot=table-head] [data-slot=button]{font-weight:600;color:var(--foreground);background:#eef2f7}
#fyzl-shell .desktop-loan-register tbody tr{background:color-mix(in srgb,var(--loan-status-bg) 13%,white)}
#fyzl-shell .desktop-loan-register tbody tr:hover{background:color-mix(in srgb,var(--loan-status-bg) 32%,white)}
#fyzl-shell .desktop-loan-register tbody td:first-child{box-shadow:inset 3px 0 var(--loan-status-accent)}
#fyzl-shell [data-slot=badge].loan-status-badge{height:auto;min-height:25px;background:var(--loan-status-bg);color:var(--loan-status-fg);border:1px solid color-mix(in srgb,var(--loan-status-fg) 16%,transparent);font-weight:600;font-size:12px;padding:3px 9px;border-radius:5px;white-space:normal;text-align:center;line-height:1.5}
#fyzl-shell .mobile-loan-register{display:none}
#fyzl-shell .workflow-surface label,#fyzl-shell .workflow-surface summary,#fyzl-shell .workflow-surface table:not([data-slot]) th{font-weight:600}
#fyzl-shell .workflow-surface dialog{position:fixed;inset:0;margin:auto;padding:24px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overscroll-behavior:contain;overflow:auto;scrollbar-gutter:stable;overflow-wrap:anywhere}
#fyzl-shell .workflow-surface dialog>header,#fyzl-shell .workflow-surface dialog>.v2-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-direction:row;flex-wrap:nowrap;top:-24px;box-shadow:none;background:white;margin:-24px -24px 24px;padding:24px;border-bottom:1px solid var(--border)}
#fyzl-shell .workflow-surface dialog>.v2-heading h2,#fyzl-shell .workflow-surface dialog>header h2{margin:0;font-size:22px;font-weight:700;line-height:1.25}
#fyzl-shell .workflow-surface dialog>.v2-heading>button,#fyzl-shell .workflow-surface dialog>header>button{flex-shrink:0;margin:0}
#fyzl-shell .workflow-surface dialog>p{margin:0 0 18px;line-height:1.65}
#fyzl-shell .workflow-surface dialog>fieldset{min-width:0}
#fyzl-shell .workflow-surface dialog form>button{margin-top:12px}
#fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal){padding:0}
#fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal)>header{margin:0}
#fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal)>:is(.portal-app-content,.document-workspace,.leads-workspace,.lead-email-body){padding:24px}
#fyzl-shell .workflow-surface .conditions-list li{background:white}
#fyzl-shell #conditions-modal ol{padding:0;list-style:none}
#fyzl-shell #conditions-modal li{background:white;border:1px solid var(--border);padding:20px;border-radius:10px;margin-block:16px}
#fyzl-shell #conditions-modal textarea{min-height:108px}
#fyzl-shell #loan-tasks-modal details{margin-block:20px}
#fyzl-shell #loan-tasks-modal h3{margin:20px 0 10px;font-weight:700}
#fyzl-shell #record .v2-heading{display:flex;flex-direction:row;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-bottom:18px;padding-bottom:20px;border-bottom:1px solid var(--border)}
#fyzl-shell #record .v2-heading h2{margin:0;overflow-wrap:anywhere}
#fyzl-shell #record .v2-heading button{flex-shrink:0}
#fyzl-shell #record .record-identifiers{padding:12px 16px;margin-bottom:20px;background:#f8fafc}
#fyzl-shell #record .record-identifiers summary{font-size:12px}
#fyzl-shell #record-ids{overflow-wrap:anywhere;margin:12px 0 0;line-height:1.6}
#fyzl-shell #record .record-tools{border-top:1px solid var(--border);margin-top:26px;padding-top:22px}
#fyzl-shell #record .record-tools h3{font-weight:700;margin:0 0 14px}
#fyzl-shell #record .record-tool-actions{display:flex;gap:10px;flex-wrap:wrap}
#fyzl-shell #record .record-tool-actions button{margin:0}
#fyzl-shell #record .record-notes{padding:20px;background:#f5f7fb;border:1px solid var(--border);border-radius:10px;margin-top:26px}
#fyzl-shell #record .record-notes textarea{margin:8px 0 12px;display:block;width:100%}
#fyzl-shell #pipeline-detail dd{font-weight:600;overflow-wrap:anywhere}
#fyzl-shell #conditions h3{margin:0 0 14px}
#fyzl-shell #condition-list{padding-left:20px;margin:18px 0 0;line-height:1.8}
@media(max-width:800px){
 #fyzl-shell .workflow-surface dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);padding:20px;scrollbar-gutter:auto}
 #fyzl-shell .workflow-surface dialog>header,#fyzl-shell .workflow-surface dialog>.v2-heading{margin:-20px -20px 20px;padding:20px;gap:12px;top:-20px}
 #fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal){padding:0}
 #fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal)>header{margin:0}
 #fyzl-shell .workflow-surface dialog:is(.portal-source-workspace,#document-modal,#leads-modal,#lead-email-modal)>:is(.portal-app-content,.document-workspace,.leads-workspace,.lead-email-body){padding:20px}
 #fyzl-shell .workflow-surface input:not([type=checkbox]):not([type=radio]),#fyzl-shell .workflow-surface select,#fyzl-shell .workflow-surface textarea{font-size:16px}
 #fyzl-shell .workflow-surface button:not([data-slot]),#fyzl-shell [data-slot=button],#fyzl-shell .pipeline-switcher [data-slot=toggle-group-item]{min-height:44px}
 #fyzl-shell .desktop-loan-register{display:none}
 #fyzl-shell .mobile-loan-register{display:block;background:var(--background);border-block:1px solid var(--border)}
 #fyzl-shell .mobile-loan-sort{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
 #fyzl-shell .mobile-loan-sort label{font-size:12px;flex-shrink:0}
 #fyzl-shell .mobile-loan-sort select{width:auto;min-width:0;max-width:65%;font-size:16px}
 #fyzl-shell .mobile-loan-list{list-style:none;display:grid;gap:14px;padding:0 16px 16px;margin:0}
 #fyzl-shell .mobile-loan-card{padding:0;gap:0;border-radius:10px;border:1px solid var(--border);border-left:3px solid var(--loan-status-accent);box-shadow:0 2px 5px #172b4d04;overflow:hidden}
 #fyzl-shell .mobile-loan-card [data-slot=card-header]{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:18px 18px 14px;background:color-mix(in srgb,var(--loan-status-bg) 22%,white)}
 #fyzl-shell .mobile-loan-card [data-slot=card-title]{width:100%}
 #fyzl-shell .mobile-loan-card h2{font-size:18px;line-height:1.35;font-weight:700;margin:0;letter-spacing:-.02em;overflow-wrap:anywhere}
 #fyzl-shell .mobile-loan-card .loan-number{font-size:13px;font-weight:500;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
 #fyzl-shell .mobile-loan-card [data-slot=card-content]{padding:16px 18px}
 #fyzl-shell .mobile-loan-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}
 #fyzl-shell .mobile-loan-facts>div{min-width:0}
 #fyzl-shell .mobile-loan-facts dt{font-size:11px;color:var(--muted-foreground);margin-bottom:3px}
 #fyzl-shell .mobile-loan-facts dd{font-size:13px;font-weight:600;margin:0;overflow-wrap:anywhere;white-space:normal}
 #fyzl-shell .mobile-loan-facts .loan-property{grid-column:1/-1}
 #fyzl-shell .mobile-loan-card [data-slot=card-footer]{padding:12px 18px;background:white;border-top:1px solid var(--border)}
 #fyzl-shell .mobile-loan-card [data-slot=card-footer] button{width:100%;justify-content:space-between;font-weight:600}
 #fyzl-shell .register-pagination{flex-wrap:wrap;gap:12px;padding:18px}
 #fyzl-shell .register-pagination>div{justify-content:space-between;width:100%}
 #fyzl-shell #record .record-tool-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #fyzl-shell #record .record-tool-actions button{white-space:normal;text-align:left;height:auto}
}
@media(max-width:480px){
 #fyzl-shell .pipeline-heading{align-items:flex-start;gap:12px;margin-bottom:20px;flex-direction:column}
 #fyzl-shell .pipeline-overview{gap:20px;padding:20px}
 #fyzl-shell .pipeline-figures{grid-template-columns:1fr;gap:16px}
 #fyzl-shell .pipeline-figures>div:first-child{display:flex;align-items:baseline;justify-content:space-between}
 #fyzl-shell .pipeline-figures>div:first-child strong{font-size:26px;margin:0}
 #fyzl-shell .pipeline-figures strong{margin-top:4px}
 #fyzl-shell .register-toolbar{padding:14px;align-items:stretch;gap:12px}
 #fyzl-shell .pipeline-switcher{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
 #fyzl-shell .pipeline-switcher [data-slot=toggle-group-item]{padding:8px 6px;font-size:12px;min-width:0}
 #fyzl-shell .pipeline-search{padding:16px;flex-wrap:wrap}
 #fyzl-shell .pipeline-search>[data-slot=field-group]{flex-basis:100%;width:100%}
 #fyzl-shell .pipeline-search>button[type=submit]{flex:1}
 #fyzl-shell .workflow-surface dialog>.v2-heading h2,#fyzl-shell .workflow-surface dialog>header h2{font-size:20px}
 #fyzl-shell #conditions-modal li{padding:16px}
 #fyzl-shell #record-title{font-size:24px}
 #fyzl-shell #record .record-notes{padding:16px}
}

#fyzl-shell #record .record-tools:not(#conditions):not(:has(.record-tool-actions>button:not([hidden]))){display:none}

html:has(#fyzl-shell):has(dialog[open]){scrollbar-gutter:auto}

#fyzl-shell .mobile-chart-toggle{display:none}
@media(max-width:800px){
 #fyzl-shell .pipeline-chart .desktop-chart-heading{display:none}
 #fyzl-shell .pipeline-chart{padding:12px 0 0;border-left:0;border-top:1px solid var(--border)}
 #fyzl-shell .mobile-chart-toggle{display:flex;justify-content:space-between;width:100%;padding:0;font-weight:600}
 #fyzl-shell #pipeline-status-chart[data-expanded=false]{display:none}
 #fyzl-shell .mobile-chart-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
 #fyzl-shell .pipeline-overview{gap:12px;margin-bottom:20px}
 #fyzl-shell .pipeline-figures{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:12px}
 #fyzl-shell .pipeline-figures>div:first-child{display:block}
 #fyzl-shell .pipeline-figures strong,#fyzl-shell .pipeline-figures>div:first-child strong{font-size:24px;margin-top:6px;letter-spacing:-.04em}
}

/* Public section patterns governed by DESIGN.md. Scoped away from retained content and apps. */
#fyzl-shell.modern-public [data-modern-marketing]:has(>.marketing-section)>.marketing-fallback{display:none}
#fyzl-shell.modern-public .marketing-fallback{max-width:1240px;margin:auto;padding:40px 24px;background:var(--card)}
#fyzl-shell.modern-public .marketing-fallback nav{display:flex;flex-wrap:wrap;gap:24px}
#fyzl-shell.modern-public .marketing-section{font-family:var(--font-workspace);color:var(--foreground);text-align:left;isolation:isolate}
#fyzl-shell.modern-public .marketing-container{width:100%;max-width:1240px;margin:0 auto;padding:72px 32px}
#fyzl-shell.modern-public .marketing-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:36px;text-align:left}
#fyzl-shell.modern-public .marketing-heading h2{font-size:clamp(28px,3vw,38px)!important;line-height:1.14!important;font-weight:var(--font-weight-heading)!important;letter-spacing:-.035em!important;margin:0;max-width:620px;text-align:left!important}
#fyzl-shell.modern-public .marketing-heading>p{max-width:370px;margin:0;font-size:16px;line-height:1.65;color:var(--muted-foreground)}
#fyzl-shell.modern-public .service-section{background:var(--card)}
#fyzl-shell.modern-public .service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
#fyzl-shell.modern-public .service-item{min-width:0;margin:0;border-bottom:1px solid var(--border);padding-bottom:24px}
#fyzl-shell.modern-public .service-link{display:flex;flex-direction:column;gap:20px;text-decoration:none;color:var(--foreground);border-radius:var(--field-radius)}
#fyzl-shell.modern-public .service-link>img{display:block;width:100%;height:auto;aspect-ratio:1.85;object-fit:cover;border-radius:var(--field-radius);filter:none;opacity:1}
#fyzl-shell.modern-public .service-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
#fyzl-shell.modern-public .service-title h3{font-size:20px!important;line-height:1.3!important;font-weight:var(--font-weight-label)!important;margin:0;text-align:left;letter-spacing:-.02em}
#fyzl-shell.modern-public .service-title svg{width:18px;height:18px;flex-shrink:0;color:var(--muted-foreground)}
#fyzl-shell.modern-public .service-copy p{font-size:15px;line-height:1.65;color:var(--muted-foreground);margin:10px 0 0;max-width:36ch}
#fyzl-shell.modern-public .service-link:hover h3{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--gold)}
#fyzl-shell.modern-public .journey-section{background:var(--background);border-block:1px solid var(--border)}
#fyzl-shell.modern-public .journey-tabs{gap:24px}
#fyzl-shell.modern-public .journey-tabs>[data-slot=tabs-list]{max-width:100%;align-self:flex-start}
#fyzl-shell.modern-public .journey-tabs [data-slot=tabs-trigger]{white-space:normal;line-height:1.4}
#fyzl-shell.modern-public .journey-path{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px 40px;min-width:0;padding:36px;background:var(--card);border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:var(--surface-radius)}
#fyzl-shell.modern-public .journey-path h3{font-size:26px!important;font-weight:var(--font-weight-heading)!important;margin:0 0 12px;line-height:1.2!important}
#fyzl-shell.modern-public .journey-path>header>p{font-size:16px;line-height:1.6;color:var(--muted-foreground);margin:0}
#fyzl-shell.modern-public .journey-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0}
#fyzl-shell.modern-public .journey-steps>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;margin:0}
#fyzl-shell.modern-public .journey-number{font-size:13px;font-weight:var(--font-weight-label);width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--background);color:var(--foreground);font-variant-numeric:tabular-nums}
#fyzl-shell.modern-public .journey-steps h4{font-size:17px!important;font-weight:var(--font-weight-label)!important;line-height:1.4!important;letter-spacing:-.01em;margin:1px 0 6px}
#fyzl-shell.modern-public .journey-steps p{font-size:15px;line-height:1.6;margin:0;color:var(--muted-foreground);max-width:44ch}
#fyzl-shell.modern-public .journey-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;border-top:1px solid var(--border);padding-top:24px}
#fyzl-shell.modern-public .journey-actions>a{min-height:44px;white-space:normal;height:auto;line-height:1.4;max-width:100%}
#fyzl-shell.modern-public .journey-actions>a:first-child{padding:12px 16px}
#fyzl-shell.modern-public .journey-secondary{display:inline-flex;align-items:center;font-size:14px;font-weight:var(--font-weight-label);color:var(--primary);text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){#fyzl-shell.modern-public .marketing-heading{align-items:flex-start;flex-direction:column;gap:16px}#fyzl-shell.modern-public .marketing-heading>p{max-width:560px}#fyzl-shell.modern-public .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#fyzl-shell.modern-public .journey-path{grid-template-columns:minmax(0,1fr);padding:28px;gap:28px}#fyzl-shell.modern-public .journey-path h3{font-size:24px!important}}
@media(max-width:600px){#fyzl-shell.modern-public .marketing-container{padding:48px 20px}#fyzl-shell.modern-public .marketing-heading{margin-bottom:28px;gap:14px}#fyzl-shell.modern-public .marketing-heading h2{font-size:29px!important;max-width:330px}#fyzl-shell.modern-public .marketing-heading>p{font-size:15px}#fyzl-shell.modern-public .marketing-desktop-break{display:none}#fyzl-shell.modern-public .service-grid{grid-template-columns:minmax(0,1fr);gap:20px}#fyzl-shell.modern-public .service-item{padding-bottom:20px}#fyzl-shell.modern-public .service-link{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}#fyzl-shell.modern-public .service-link>img{aspect-ratio:1;height:96px}#fyzl-shell.modern-public .service-title h3{font-size:18px!important}#fyzl-shell.modern-public .service-title svg{width:16px;height:16px}#fyzl-shell.modern-public .service-copy p{font-size:14px;line-height:1.55;margin-top:6px}#fyzl-shell.modern-public .journey-path{padding:24px 20px}#fyzl-shell.modern-public .journey-tabs>[data-slot=tabs-list]{width:100%}#fyzl-shell.modern-public .journey-tabs [data-slot=tabs-trigger]{padding-inline:12px;flex:1}#fyzl-shell.modern-public .journey-steps{grid-template-columns:minmax(0,1fr);gap:22px}#fyzl-shell.modern-public .journey-steps>li{gap:12px}#fyzl-shell.modern-public .journey-actions{align-items:stretch;flex-direction:column;gap:8px}#fyzl-shell.modern-public .journey-actions>a:first-child{width:100%;justify-content:center}#fyzl-shell.modern-public .journey-secondary{justify-content:center;text-align:center}}
@media(max-width:360px){#fyzl-shell.modern-public .marketing-container{padding-inline:16px}#fyzl-shell.modern-public .service-link{grid-template-columns:80px minmax(0,1fr);gap:12px}#fyzl-shell.modern-public .service-link>img{height:80px}#fyzl-shell.modern-public .service-title h3{font-size:17px!important}#fyzl-shell.modern-public .journey-path{padding-inline:16px}}

#fyzl-shell.modern-public .marketing-section header{opacity:1!important;visibility:visible!important;transform:none!important}
#fyzl-shell.modern-public .service-copy{min-width:0}
#fyzl-shell.modern-public .journey-tabs{display:flex;flex-direction:column;align-items:stretch;min-width:0}
#fyzl-shell.modern-public .journey-tabs>[data-slot=tabs-content]{width:100%;min-width:0}

/* Bridge the owned shadcn link variants over unlayered Squarespace anchor resets. */
#fyzl-shell.modern-public .journey-actions [data-marketing-action]{font-weight:var(--font-weight-label);font-size:14px;border:1px solid var(--border-control);border-radius:var(--field-radius);text-decoration:none}
#fyzl-shell.modern-public .journey-actions [data-marketing-action=primary]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
#fyzl-shell.modern-public .journey-actions [data-marketing-action=secondary]{background:var(--card);color:var(--primary)}
#fyzl-shell.modern-public .journey-actions [data-marketing-action]:hover{box-shadow:inset 0 0 0 1px currentColor}

/* Captured editorial headings use a role-based type scale, never body-size fit text. */
#fyzl-shell.modern-public .workflow-surface [data-public-text]{--public-heading-size:clamp(28px,3.2vw,40px);--public-heading-line:1.2;--public-heading-weight:700}
#fyzl-shell.modern-public .workflow-surface [data-public-text=title]{--public-heading-size:clamp(30px,4.4vw,56px);--public-heading-line:1.12}
#fyzl-shell.modern-public .workflow-surface [data-public-text=card]{--public-heading-size:clamp(22px,2.2vw,28px)}
#fyzl-shell.modern-public .workflow-surface [data-public-text=eyebrow]{--public-heading-size:15px;--public-heading-line:1.5;--public-heading-weight:600}
#fyzl-shell.modern-public .workflow-surface [data-public-text=supporting]{--public-heading-size:18px;--public-heading-line:1.5;--public-heading-weight:500}
#fyzl-shell.modern-public .workflow-surface [data-public-text] .sqsrte-scaled-text>p,
#fyzl-shell.modern-public .workflow-surface [data-public-text] .sqsrte-scaled-text>p *{font-size:var(--public-heading-size)!important;line-height:var(--public-heading-line)!important;font-weight:var(--public-heading-weight)!important;letter-spacing:-.025em!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
#fyzl-shell.modern-public .workflow-surface [data-public-text] .sqsrte-scaled-text>p{margin-block:0 .15em;max-width:100%}
#fyzl-shell.modern-public .workflow-surface .sqsrte-scaled-text h4,
#fyzl-shell.modern-public .workflow-surface .sqsrte-scaled-text h4 *{font-size:clamp(20px,2vw,24px)!important;line-height:1.3!important;font-weight:600!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
/* The fee section's source grid reserves seven empty rows below a two-line title. */
#fyzl-shell.modern-public [data-public-fees] .fluid-engine{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);grid-template-rows:auto;gap:40px;max-width:1160px;margin-inline:auto;padding:48px 24px}
#fyzl-shell.modern-public [data-public-fees] .fluid-engine>.fe-block{grid-area:auto;min-width:0}
#fyzl-shell.modern-public [data-public-fees] .fluid-engine>.fe-block .sqs-block{height:auto}
#fyzl-shell.modern-public [data-public-fees] .public-fees-title{font-size:clamp(28px,3.2vw,40px)!important;line-height:1.2!important;font-weight:700;margin:0;max-width:12ch}
#fyzl-shell.modern-public [data-public-fees] .sqs-html-content>:first-child{margin-top:0}
@media(max-width:767px){#fyzl-shell.modern-public [data-public-fees] .fluid-engine{grid-template-columns:minmax(0,1fr);gap:28px;padding:32px 20px}#fyzl-shell.modern-public [data-public-fees] .public-fees-title{max-width:none}}

#fyzl-shell.modern-public [data-public-fees] .sqs-html-content ul{padding-inline-start:22px;margin-inline:0;list-style-position:outside}

/* Incoming-email review shares the existing staff section scale and colors. */
.email-inbound-review{margin-block:var(--space-6,24px);padding:var(--space-5,20px);border:1px solid var(--border,#dce3ec);border-radius:var(--surface-radius,12px);background:var(--card,#fff)}
.email-inbound-review h3{margin-block:0 12px}.email-inbound-review h4{margin-block:20px 8px;font-size:16px;font-weight:600}.email-inbound-review p,.email-inbound-review li{overflow-wrap:anywhere;line-height:1.6}.email-inbound-review ul{padding-inline-start:20px}.email-inbound-review .helper{font-size:14px;color:var(--muted-foreground,#57677d)}
#fyzl-shell #email-inbound-preview{min-height:44px;white-space:normal;text-align:left}

#fyzl-shell .email-inbound-review .incoming-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-block:var(--space-4)}
#fyzl-shell #email-modal .email-inbound-review button,#fyzl-shell #loan-tasks-history-section button{min-height:var(--control-height);white-space:normal;text-align:left}
#fyzl-shell .email-inbound-review article{padding-block:var(--space-4);border-bottom:1px solid var(--border)}
#fyzl-shell .email-inbound-review article button{margin:var(--space-2) var(--space-2) var(--space-2) 0}
#fyzl-shell .incoming-link-form{display:grid;gap:var(--space-3);margin-top:var(--space-4)}
#fyzl-shell .email-inbound-review label{display:grid;gap:var(--space-2);font-weight:var(--font-weight-label)}
#fyzl-shell .email-inbound-review textarea{width:100%;min-height:96px}
