/* Canonical Guida Express Finance tokens. Local official logo served by exact allowlist. */
:root {
  --gf-blue:#075bd8; --gf-blue-hover:#0349b2; --gf-navy:#072356; --gf-navy-deep:#041b3f;
  --gf-red:#ed304a; --gf-red-action:#d9233e; --gf-red-hover:#cb1d36; --gf-ink:#132d50; --gf-muted:#526b8b; --gf-subtle:#6a7f99;
  --gf-canvas:#f5f9fe; --gf-surface:#fff; --gf-surface-soft:#edf4fc; --gf-line:#dce7f4; --gf-line-strong:#a9bfd9;
  --gf-positive:#007b63; --gf-positive-bg:#eaf7f1; --gf-attention:#936000; --gf-attention-bg:#fff7e5;
  --gf-critical:#ba2740; --gf-critical-bg:#fff0f2; --gf-info-bg:#edf4ff;
  --gf-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --gf-text-xs:12px; --gf-text-sm:13px; --gf-text-base:14px; --gf-text-lg:16px;
  --gf-heading:clamp(26px,2.2vw,32px); --gf-kpi:clamp(23px,1.8vw,32px); --gf-leading:1.55;
  --gf-space-1:4px; --gf-space-2:8px; --gf-space-3:12px; --gf-space-4:16px; --gf-space-5:20px; --gf-space-6:24px; --gf-space-8:32px; --gf-space-12:48px;
  --gf-gap:16px; --gf-sidebar-width:244px; --gf-content-max:1800px;
  --gf-radius-sm:6px; --gf-radius-control:8px; --gf-radius-panel:12px; --gf-radius-dialog:20px; --gf-radius-pill:999px;
  --gf-shadow-1:0 2px 8px #12345806; --gf-shadow-2:0 8px 26px #1234580d; --gf-shadow-3:0 24px 72px #041b3f24;
  --gf-focus:#146be0; --gf-focus-ring:0 0 0 4px #146be01a;
  --gf-duration-fast:140ms; --gf-duration-base:220ms; --gf-duration-enter:360ms; --gf-ease:cubic-bezier(.2,.7,.2,1);
  --gf-z-menu:20; --gf-z-dialog:60; --gf-z-toast:80; color-scheme:light;
  --gf-icon-nav:20px; --gf-icon-kpi:22px; --gf-icon-action:18px; --gf-icon-stroke:1.8;
}
.auth-screen,.auth-account{margin:0;min-height:100dvh;font-family:var(--gf-font);color:var(--gf-ink);background:var(--gf-canvas);-webkit-font-smoothing:antialiased}
.auth-screen *,.auth-account *{box-sizing:border-box}
.auth-screen button,.auth-screen input,.auth-account button,.auth-account input{font:inherit}
.auth-screen :is(button,input,a,summary):focus-visible,.auth-account :is(button,input,a):focus-visible{outline:3px solid var(--gf-focus);outline-offset:4px}
.auth-screen .auth-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:100dvh}
.auth-branding{background:radial-gradient(ellipse at 8% 100%,#075bd855,transparent 60%),linear-gradient(130deg,#0b3976,var(--gf-navy-deep) 76%);color:#fff;padding:clamp(36px,4.1vw,80px);position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column}
.auth-branding::before{content:"";position:absolute;z-index:-1;width:600px;height:600px;right:-330px;top:-390px;border:1px solid #93bfee26;border-radius:50%;box-shadow:0 0 0 72px #93bfee08,0 0 0 144px #93bfee05}
.auth-logo-plate{display:inline-flex;align-items:center;padding:14px 18px;background:transparent;border-radius:10px;max-width:100%}
.auth-logo{display:block;width:184px;max-width:100%;height:auto;object-fit:contain}
.auth-product-label{margin:12px 0 0;font-size:11px;font-weight:600;letter-spacing:.19em;text-transform:uppercase;color:#b8d0ee}
.auth-brand-copy{width:100%;max-width:620px;margin:auto 0;padding:60px 0 26px}
.auth-brand-copy .auth-overline{font-size:12px;letter-spacing:.13em;font-weight:650;text-transform:uppercase;color:#a4c9f1;display:flex;align-items:center;gap:12px;margin:0 0 24px}
.auth-vision-mark{position:relative;display:inline-block;flex:none;width:28px;height:28px}
.auth-vision-mark i{position:absolute;width:10px;height:10px;border:1px solid #b9d8f7;transform:rotate(45deg);border-radius:2px}
.auth-vision-mark i:nth-child(1){left:2px;top:9px;opacity:.45}.auth-vision-mark i:nth-child(2){left:9px;top:9px;opacity:.7}.auth-vision-mark i:nth-child(3){left:16px;top:9px;background:var(--gf-red);border-color:var(--gf-red)}
.auth-brand-copy h2{font-size:clamp(38px,3.5vw,66px);font-weight:630;line-height:1.13;letter-spacing:-.045em;margin:0;max-width:600px}.auth-brand-copy h2 span{color:#a8c8ed}
.auth-brand-copy>p:last-of-type{font-size:16px;line-height:1.75;color:#b8cde6;max-width:420px;margin:25px 0 0}
.auth-flow{margin:28px -16px 0;width:calc(100% + 32px);max-width:630px;max-height:210px;height:auto;display:block;pointer-events:none}
/* Conceptual convergence of signals, not a financial chart or live activity meter. */
.auth-signal-upper{transform:translate(130px,49px)}.auth-signal-middle{transform:translate(438px,108px)}.auth-signal-lower{transform:translate(508px,176px)}
.auth-core-halo{transform-origin:310px 108px}
/* Visual trial: translucent monochrome heart only; the official PNG stays intact. */
.auth-flow .auth-core-heart{filter:grayscale(1) brightness(0) invert(1);opacity:.38}
.auth-motion-control{position:absolute;right:clamp(36px,4.1vw,80px);bottom:clamp(36px,4.1vw,80px);width:44px;height:44px}
.auth-motion-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
.auth-motion-control label{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b9d8f733;border-radius:50%;color:#c6ddf5;background:#ffffff06}
.auth-motion-control:hover label{background:#ffffff12;border-color:#b9d8f77a}.auth-motion-control input:focus-visible+label{outline:3px solid #b9d8f7;outline-offset:4px}
.auth-motion-glyph{width:12px;height:13px;border-inline:3px solid currentColor}
.auth-motion-control input:checked+label .auth-motion-glyph{border:0;background:currentColor;clip-path:polygon(15% 0,100% 50%,15% 100%)}
.auth-brand-footer{padding-right:54px}
@media(prefers-reduced-motion:no-preference){
  .auth-signal-upper{animation:auth-signal-upper 7s ease-in-out infinite}
  .auth-signal-middle{animation:auth-signal-middle 7s ease-in-out -2.3s infinite}
  .auth-signal-lower{animation:auth-signal-lower 7s ease-in-out -4.6s infinite}
  .auth-core{animation:auth-core-float 7s ease-in-out infinite}
  .auth-core-halo{animation:auth-core-breathe 7s ease-in-out infinite}
  .auth-vision-mark i{animation:auth-vision-connect 4.5s ease-in-out infinite}
  .auth-vision-mark i:nth-child(2){animation-delay:-3s}.auth-vision-mark i:nth-child(3){animation-delay:-1.5s}
}
.auth-branding:has(#auth-pause-motion:checked) :is(.auth-signal,.auth-core,.auth-core-halo,.auth-vision-mark i){animation-play-state:paused}
@keyframes auth-signal-upper{0%{transform:translate(16px,34px);opacity:0}10%{opacity:1}25%{transform:translate(163px,71px)}50%{transform:translate(310px,108px)}75%{transform:translate(457px,71px)}90%{opacity:1}100%{transform:translate(604px,34px);opacity:0}}
@keyframes auth-signal-middle{0%{transform:translate(16px,108px);opacity:0}12%,85%{opacity:1}100%{transform:translate(604px,108px);opacity:0}}
@keyframes auth-signal-lower{0%{transform:translate(16px,182px);opacity:0}10%{opacity:1}25%{transform:translate(163px,145px)}50%{transform:translate(310px,108px)}75%{transform:translate(457px,145px)}90%{opacity:1}100%{transform:translate(604px,182px);opacity:0}}
@keyframes auth-core-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
@keyframes auth-core-breathe{0%,100%{opacity:.45;transform:scale(.97)}50%{opacity:1;transform:scale(1.04)}}
@keyframes auth-vision-connect{0%,100%{opacity:.45;transform:translateY(1px) rotate(45deg)}50%{opacity:1;transform:translateY(-1px) rotate(45deg)}}
.auth-brand-footer{display:flex;align-items:center;gap:13px;padding-top:22px;font-size:12px;color:#b8cde6;border-top:1px solid #abc7e026;line-height:1.6}.auth-brand-footer strong{color:#fff;font-weight:600}.auth-brand-footer svg{color:#8fbae8;flex:none}
.auth-entry{display:flex;flex-direction:column;padding:40px clamp(32px,6vw,116px) 26px;background:radial-gradient(ellipse at 100% 0,#e8f1fc,transparent 50%),#fbfdff}
.auth-entry-top{display:flex;align-items:center;gap:7px;justify-content:flex-end;color:var(--gf-muted);font-size:12px}.auth-entry-top svg{color:var(--gf-blue)}
.auth-entry-inner{width:100%;max-width:414px;margin:auto;padding:55px 0 42px;animation:auth-entrance var(--gf-duration-enter) var(--gf-ease) both}
.auth-entry-inner .auth-section-label{color:var(--gf-blue);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0 0 15px}
.auth-entry h1{font-size:clamp(30px,2.5vw,40px);font-weight:650;line-height:1.2;letter-spacing:-1.4px;margin:0 0 13px;color:var(--gf-navy)}
.auth-entry .auth-intro{margin:0 0 32px;font-size:15px;line-height:1.65;color:var(--gf-muted);max-width:330px}
.auth-form label,.auth-account label{display:block;font-size:14px;font-weight:600;margin:22px 0 9px;color:var(--gf-ink)}
.auth-form input,.auth-account input{width:100%;min-height:52px;padding:13px 15px;border:1px solid var(--gf-line-strong);border-radius:var(--gf-radius-control);color:var(--gf-ink);background:var(--gf-surface);transition:border-color var(--gf-duration-fast),box-shadow var(--gf-duration-fast);font-size:16px}
.auth-form input:hover,.auth-account input:hover{border-color:#718dab}.auth-form input:focus,.auth-account input:focus{border-color:var(--gf-blue);box-shadow:var(--gf-focus-ring)}
.auth-password{position:relative}.auth-password input{padding-right:56px}
.auth-password-toggle{position:absolute;inset:4px 4px 4px auto;width:44px;display:grid;place-items:center;border:0;border-radius:6px;color:var(--gf-muted);background:transparent;cursor:pointer}.auth-password-toggle:hover{background:var(--gf-surface-soft);color:var(--gf-blue)}
.auth-password-toggle .eye-hide{display:none}.auth-password-toggle[aria-pressed="true"] .eye-hide{display:block}.auth-password-toggle[aria-pressed="true"] .eye-show{display:none}
.auth-submit,.auth-account button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;border:1px solid transparent;border-radius:var(--gf-radius-control);width:100%;background:var(--gf-blue);color:#fff;font-weight:650;margin-top:28px;padding:13px 18px;cursor:pointer;transition:background var(--gf-duration-fast),box-shadow var(--gf-duration-fast);box-shadow:0 5px 14px #075bd81c}
.auth-submit:hover,.auth-account button:hover{background:var(--gf-blue-hover);box-shadow:0 6px 18px #075bd82b}.auth-submit:disabled{cursor:wait;background:#436da7;box-shadow:none}.auth-submit:disabled .auth-submit-arrow{display:none}
.auth-submit:disabled::after{content:"";width:16px;height:16px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:auth-spin 800ms linear infinite}
.auth-screen #message,.auth-account #message{font-size:13px;line-height:1.6;color:var(--gf-critical);margin:14px 0 0;min-height:21px}.auth-screen #message:empty{margin:0;min-height:0}.auth-entry-inner:has(.auth-submit:disabled) #message{color:var(--gf-muted)}
.auth-help{font-size:13px;line-height:1.65;color:var(--gf-muted);border-top:1px solid var(--gf-line);margin:30px 0 0;padding-top:22px}.auth-help strong{display:block;color:var(--gf-ink);font-weight:600;margin-bottom:5px}
.auth-security-note{font-size:12px;color:var(--gf-muted);text-align:center;line-height:1.6;margin:0}
.auth-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-account{display:grid;place-items:center;padding:32px 20px;background:radial-gradient(ellipse at 0 0,#dceafb,transparent 70%),var(--gf-canvas)}
.auth-account main{width:100%;max-width:470px;padding:36px;background:var(--gf-surface);border:1px solid var(--gf-line);border-radius:var(--gf-radius-dialog);box-shadow:var(--gf-shadow-2)}
.auth-account .brand{padding:0;display:block;color:var(--gf-blue);font-size:18px;font-weight:700}.auth-account h1{font-size:30px;letter-spacing:-.8px;margin:22px 0 12px}.auth-account h2{font-size:18px;margin:28px 0 0}.auth-account p{color:var(--gf-muted);line-height:1.65;overflow-wrap:anywhere}.auth-account a{color:var(--gf-blue);text-underline-offset:4px}.auth-account .secondary{background:var(--gf-surface-soft);color:var(--gf-navy);box-shadow:none;border-color:var(--gf-line)}
@keyframes auth-spin{to{transform:rotate(360deg)}}@keyframes auth-entrance{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
/* Breakpoints documented in GUIDA_DESIGN_SYSTEM.md. */
@media(min-width:1600px){.auth-brand-copy{max-width:660px}.auth-flow{margin-top:45px}.auth-entry-inner{max-width:440px}}
@media(max-width:1024px){.auth-screen .auth-layout{grid-template-columns:.95fr 1fr}.auth-branding{padding:36px 28px}.auth-entry{padding:32px 30px 25px}.auth-brand-copy h2{font-size:39px}.auth-brand-copy>p:last-of-type{font-size:14px}.auth-wordmark{font-size:25px}.auth-brand-copy{padding-top:48px}.auth-flow{margin-top:24px}}
@media(max-width:760px){.auth-branding{padding:30px 24px}.auth-entry{padding:30px 24px 24px}.auth-brand-copy h2{font-size:34px}.auth-wordmark{font-size:23px}.auth-entry h1{font-size:29px;letter-spacing:-.8px}.auth-brand-footer{align-items:flex-start}}
@media(max-width:600px){.auth-screen .auth-layout{display:flex;flex-direction:column}.auth-branding{padding:24px;flex:none}.auth-branding::before,.auth-brand-copy,.auth-brand-footer{display:none}.auth-product-label{font-size:10px;margin-top:8px}.auth-entry{flex:1;padding:24px}.auth-entry-top{display:none}.auth-entry-inner{padding:12px 0 32px;margin:0 auto;max-width:440px}.auth-entry h1{font-size:32px}.auth-entry .auth-intro{margin-bottom:24px}.auth-entry-inner .auth-section-label{margin-bottom:12px}.auth-form label{margin-top:18px}.auth-help{margin-top:25px;padding-top:20px}.auth-security-note{margin-top:auto;font-size:11px}.auth-account main{padding:25px}}
@media(prefers-reduced-motion:reduce){.auth-screen *,.auth-screen *::before,.auth-screen *::after,.auth-account *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Optional account utility: the same brand language, not a second login gate. */
.auth-account{box-sizing:border-box}
.auth-account main.auth-account-layout{display:grid;grid-template-columns:.9fr 1.1fr;max-width:1000px;padding:0;overflow:hidden}
.auth-account-identity{background:linear-gradient(135deg,#0b3976,var(--gf-navy-deep));color:#fff;padding:44px;display:flex;flex-direction:column;align-items:flex-start}
.auth-account .auth-product-label{color:#b8d0ee;font-size:10px}
.auth-account-person{padding:60px 0 40px;flex:1;width:100%}.auth-account-shield{display:grid;place-items:center;width:48px;height:48px;background:#ffffff12;border:1px solid #ffffff26;border-radius:12px;color:#b6d9ff}
.auth-account-person h1{color:#fff;margin:24px 0 22px}.auth-account-person p{color:#bfd3eb;font-size:13px;margin:8px 0}.auth-account-person .auth-account-name{color:white;font-size:16px;font-weight:600}.auth-account-role{padding-top:14px;border-top:1px solid #ffffff26}
.auth-account a.auth-return{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;width:100%;color:#fff;text-decoration:none;border-top:1px solid #ffffff26;padding-top:20px;font-size:14px}.auth-return:hover{text-decoration:underline!important}
.auth-account-security{padding:44px 48px}.auth-account-security .auth-section-label{font-size:11px;letter-spacing:.12em;color:var(--gf-blue);text-transform:uppercase;font-weight:700;margin:0 0 12px}.auth-account-security h2{font-size:28px;letter-spacing:-.7px;color:var(--gf-navy);margin:0 0 12px}.auth-account-security>p{font-size:14px}
.auth-account .auth-account-note{font-size:12px;margin-top:12px}.auth-account-session{border-top:1px solid var(--gf-line);margin-top:28px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--gf-muted)}.auth-account-session button.secondary{margin:0;width:auto;min-height:44px;font-size:12px;padding:9px 14px}
@media(max-width:760px){.auth-account{padding:20px}.auth-account main.auth-account-layout{grid-template-columns:1fr}.auth-account-identity{padding:28px}.auth-account-person{padding:24px 0}.auth-account-shield{display:none}.auth-account-person h1{margin-top:0}.auth-account-security{padding:28px}.auth-logo{width:164px}.auth-account .auth-logo{width:144px}.auth-account .auth-product-label{font-size:10px}}
@media(max-width:600px){.auth-screen .auth-logo{width:150px}.auth-screen .auth-logo-plate{padding:10px 14px}}

/* Keep the same visual in the compact blue header, without pushing down the form. */
@media(min-width:601px) and (max-height:820px){.auth-branding{padding-block:30px}.auth-brand-copy{padding-top:30px;padding-bottom:18px}.auth-flow{max-height:164px;margin-top:22px}.auth-motion-control{bottom:30px}}
@media(max-width:1024px){.auth-motion-control{right:28px;bottom:36px}}
@media(max-width:760px){.auth-motion-control{right:24px;bottom:30px}}
@media(max-width:600px){
  .auth-branding>header{position:relative;z-index:1;max-width:calc(100% - 70px)}
  .auth-brand-copy{display:block;position:absolute;right:-160px;top:-27px;width:380px;padding:0;margin:0;opacity:.65;pointer-events:none}
  .auth-brand-copy>:not(.auth-flow){display:none}.auth-brand-copy .auth-flow{margin:0;width:100%;height:172px}
  .auth-motion-control{right:20px;bottom:18px;z-index:1}
}
@media(prefers-reduced-motion:reduce){.auth-motion-control{display:none}}
