/* Shared Feasly authentication design. Source: approved sign-in concept, 2026-09-16.
   Keep byte-identical with infra/keycloak/themes/feasly/login/resources/css/login.css. */

@font-face{font-family:Switzer;src:url('../fonts/switzer-0.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Switzer;src:url('../fonts/switzer-3.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Switzer;src:url('../fonts/switzer-6.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Switzer;src:url('../fonts/switzer-9.woff2') format('woff2');font-weight:700;font-display:swap}
.feasly-auth{--purple:#230946;--purple-hover:#391658;--lavender:#f2edf7;--base:#f3f5f7;--panel:#eef0f4;--ink:#20232b;--muted:#626873;--line:#dce0e6;--white:#fff;--error:#a42c42}
.feasly-auth *{box-sizing:border-box}.feasly-auth{margin:0;min-height:100svh;display:flex;flex-direction:column;background:var(--base);font-family:Switzer,Arial,sans-serif;color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}.feasly-auth button, .feasly-auth input, .feasly-auth select{font:inherit}.feasly-auth button, .feasly-auth a{touch-action:manipulation}.feasly-auth button{cursor:pointer}.feasly-auth a{color:var(--purple);text-decoration:none}.feasly-auth a:hover{text-decoration:underline}.feasly-auth button:focus-visible, .feasly-auth a:focus-visible, .feasly-auth select:focus-visible{outline:2px solid #9275b4;outline-offset:4px}.feasly-auth svg{display:block}.feasly-auth button{color:inherit}.feasly-auth .page{min-height:0;flex:1;display:flex;flex-direction:column;overflow:clip;position:relative}.feasly-auth .page:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 76% 43%,#eae4f163,transparent 54%)}.feasly-auth .site-header{display:flex;justify-content:space-between;align-items:center;max-width:1440px;width:100%;margin:auto;padding:36px 64px;position:relative;z-index:1}.feasly-auth .brand{display:flex;align-items:center;gap:10px}.feasly-auth .brand img{width:34px;height:34px;border-radius:8px}.feasly-auth .wordmark{font-size:24px;font-weight:650;letter-spacing:-1px;color:var(--purple)}.feasly-auth .wordmark sup{font-size:9px;font-weight:500;letter-spacing:0;vertical-align:super;line-height:0;margin-left:2px}.feasly-auth .brand-meta{font-size:9px;color:#7b6b8b;margin:1px 0 0 16px;padding-left:16px;border-left:1px solid #d6cce1;line-height:1.7;letter-spacing:1.2px;text-transform:uppercase}.feasly-auth .site-header .help{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;min-height:32px}.feasly-auth .site-header .help svg{width:14px;height:14px}.feasly-auth .stage{width:100%;max-width:1232px;margin:auto;display:grid;grid-template-columns:436px minmax(0,1fr);gap:70px;align-items:center;padding:42px 48px 58px;position:relative;z-index:1;flex:1}.feasly-auth .entry{position:relative;align-self:center;z-index:2}.feasly-auth .eyebrow{font-size:10px;letter-spacing:1.75px;color:#7b6a90;text-transform:uppercase;font-weight:600}.feasly-auth .entry-kicker{margin:0 0 20px 4px;display:flex;align-items:center;gap:10px}.feasly-auth .entry-kicker:before{content:'';width:22px;height:1px;background:#9d84ba}.feasly-auth .folder{position:relative;padding-top:31px;filter:drop-shadow(0 18px 30px #23094606)}.feasly-auth .folder-tab{position:absolute;top:0;left:0;height:33px;width:152px;display:flex;align-items:center;gap:9px;padding:0 22px;background:white;border:1px solid #d4cadf;border-bottom:0;border-radius:7px 10px 0 0;z-index:2;color:var(--purple);font-size:11px;font-weight:600}.feasly-auth .folder-tab:after{content:'';position:absolute;width:18px;right:-11px;top:0;height:33px;background:white;border-top:1px solid #d4cadf;border-right:1px solid #d4cadf;transform:skewX(21deg);border-radius:0 4px 0 0;z-index:-1}.feasly-auth .folder-tab svg{width:13px;height:13px}.feasly-auth .folder-back{position:absolute;top:20px;left:7px;right:-7px;bottom:-7px;border:1px solid #ded5e7;background:#eee8f4;border-radius:7px;transform:rotate(.55deg);z-index:-1}.feasly-auth .folder-body{position:relative;z-index:1;background:white;border:1px solid #d4cadf;border-radius:0 7px 7px 7px;padding:33px 34px 27px;min-height:418px}.feasly-auth .folder-body:after{content:'';position:absolute;top:23px;right:24px;width:24px;height:2px;background:#b297cf}.feasly-auth .card-heading{margin-bottom:29px;padding-right:8px}.feasly-auth .card-heading h1{font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-1.1px;margin:0 0 9px}.feasly-auth .card-heading p{color:var(--muted);font-size:13px;margin:0;line-height:1.6;max-width:310px}.feasly-auth .field{margin:0 0 18px}.feasly-auth .label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:12px}.feasly-auth .label-row label{font-size:12px;font-weight:500}.feasly-auth .label-row button{background:none;border:0;font-size:11px;color:var(--purple);padding:0;min-height:24px;line-height:1}.feasly-auth .input-wrap{position:relative}.feasly-auth .input-wrap input{width:100%;height:42px;border:1px solid #cdd0d9;border-radius:4px;background:#fcfcfd;padding:0 12px;color:var(--ink);outline:0;font-size:13px;transition:border-color .15s,box-shadow .15s}.feasly-auth .input-wrap input:focus{border-color:#8a6aad;box-shadow:0 0 0 3px #8a6aad16;background:white}.feasly-auth .input-wrap input::placeholder{color:#9196a1}.feasly-auth .input-wrap.has-trailing input{padding-right:43px}.feasly-auth .reveal{position:absolute;right:0;top:0;height:42px;width:42px;display:grid;place-items:center;background:none;border:0;color:#737987}.feasly-auth .reveal svg{height:16px;width:16px}.feasly-auth .primary{width:100%;height:42px;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--purple);color:white;border:1px solid var(--purple);border-radius:4px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;margin-top:6px}.feasly-auth .primary:hover{background:var(--purple-hover)}.feasly-auth .primary svg{height:15px;width:15px;transition:transform .15s}.feasly-auth .primary:hover svg{transform:translateX(3px)}.feasly-auth .quiet-row{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:var(--muted);margin-top:22px}.feasly-auth .quiet-row button{padding:4px;background:none;border:0;color:var(--purple);font-size:11px}.feasly-auth .bottom-note{margin:23px 4px 0;font-size:11px;color:#787c87;display:flex;align-items:center;justify-content:space-between;gap:10px}.feasly-auth .bottom-note>span{display:flex;align-items:center;gap:6px}.feasly-auth .bottom-note svg{width:11px;height:11px}.feasly-auth .bottom-note a{color:#686074;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.feasly-auth .error-message, .feasly-auth .info-message{font-size:12px;line-height:1.55;padding:10px 12px;border-radius:4px;margin:0 0 18px;display:flex;gap:9px;align-items:flex-start}.feasly-auth .error-message{color:#942d41;background:#fff2f4;border:1px solid #f1d1d8}.feasly-auth .error-message svg, .feasly-auth .info-message svg{width:15px;height:15px;flex:none;margin-top:1px}.feasly-auth .info-message{color:#645077;background:#f6f2fa;border:1px solid #e5dcec}.feasly-auth .input-wrap.invalid input{border-color:#c17b8a;background:#fffafb}.feasly-auth .secondary{background:white;border:1px solid #d7cbe4;color:var(--purple);margin-top:10px}.feasly-auth .secondary:hover{background:#f7f4fa}.feasly-auth .recovery-help{font-size:12px;line-height:1.65;color:var(--muted);margin:18px 0 22px}.feasly-auth .success-mark{height:42px;width:42px;background:#f1edf7;border:1px solid #e2d6ee;color:#6a4c89;border-radius:8px;display:grid;place-items:center;margin-bottom:22px}.feasly-auth .success-mark svg{width:20px;height:20px}.feasly-auth .recovery-address{font-weight:500;color:var(--ink);overflow-wrap:anywhere}.feasly-auth .code-input{text-align:center;letter-spacing:9px;font-size:20px!important;font-variant-numeric:tabular-nums}.feasly-auth .visual{position:relative;align-self:center;margin-left:-20px;margin-top:0;min-width:0}.feasly-auth .visual-heading{position:relative;padding-left:44px;z-index:1}.feasly-auth .visual-heading .eyebrow{color:#7e6e90;font-size:9px;letter-spacing:1.9px}.feasly-auth .visual-heading h2{font-size:42px;line-height:1.12;font-weight:500;letter-spacing:-1.8px;color:#3a294b;margin:13px 0 0}.feasly-auth .visual-heading h2 span{color:#9681ac}.feasly-auth .drawing{width:100%;margin:14px 0 0;position:relative}.feasly-auth .drawing>svg{width:100%;height:auto;overflow:visible}.feasly-auth .drawing .building{transform-box:fill-box;transform-origin:center bottom}
.feasly-auth .drawing .site-trace, .feasly-auth .drawing .roof-highlight, .feasly-auth .drawing .roof-hover{opacity:0;pointer-events:none}
.feasly-auth .drawing .building-hover{transform-box:fill-box;transform-origin:center bottom}
.feasly-auth .drawing .building-hit{fill:transparent;stroke:transparent;stroke-width:8;pointer-events:all}
@media(min-width:821px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .feasly-auth .drawing .building-hover{transition:transform .32s cubic-bezier(.2,.75,.25,1)}
 .feasly-auth .drawing .roof-hover{transition:opacity .25s ease-out}
 .feasly-auth .drawing .building:hover .building-hover{transform:translateY(-4px)}
 .feasly-auth .drawing .building:hover .roof-hover{opacity:.42}
}
@media(min-width:821px) and (prefers-reduced-motion:no-preference){
 .feasly-auth .drawing.is-animated .site-base{animation:site-appear .8s ease-out both}
 .feasly-auth .drawing.is-animated .site-trace{animation:site-draw 1.35s cubic-bezier(.3,.6,.3,1) both}
 .feasly-auth .drawing.is-animated .building{animation:building-settle .72s cubic-bezier(.2,.75,.25,1) both;animation-delay:calc(.48s + var(--building-order) * .075s)}
 .feasly-auth .drawing.is-animated .roof-highlight{animation:roof-light .95s ease-in-out 1.5s both}
}
@keyframes site-appear{from{opacity:.3}to{opacity:1}}
@keyframes site-draw{0%{stroke-dashoffset:1;opacity:0}12%{opacity:.7}72%{stroke-dashoffset:0;opacity:.7}100%{stroke-dashoffset:0;opacity:0}}
@keyframes building-settle{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes roof-light{0%,100%{opacity:0}42%{opacity:.48}68%{opacity:.28}}
@media(max-width:820px),(prefers-reduced-motion:reduce){}
.feasly-auth .visual-caption{margin:6px 0 0 44px;display:flex;align-items:center;gap:14px;font-size:11px;color:#84748f}.feasly-auth .caption-line{width:35px;height:1px;background:#c9b8da}.feasly-auth .site-footer{width:100%;max-width:1440px;margin:auto;padding:23px 64px 29px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;color:#848792;font-size:10px}.feasly-auth .site-footer nav{display:flex;gap:22px}.feasly-auth .site-footer a{color:#6b6d79}.feasly-auth .footer-line{display:flex;align-items:center;gap:15px}.feasly-auth .footer-line .separator{height:10px;width:1px;background:#d2d2dc}.feasly-auth .desktop-caption{font-size:10px;letter-spacing:.3px;color:#7d7587}
@media(min-width:1700px){.feasly-auth .stage{max-width:1340px;gap:106px;grid-template-columns:436px minmax(0,1fr)}.feasly-auth .visual-heading h2{font-size:46px}}
@media(max-width:1100px){.feasly-auth .stage{grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:24px;padding:32px 38px 44px}.feasly-auth .site-header{padding:28px 38px}.feasly-auth .visual-heading{padding-left:26px}.feasly-auth .visual-heading h2{font-size:35px}.feasly-auth .visual-caption{margin-left:26px;font-size:10px;gap:10px}.feasly-auth .folder-body{padding:30px 28px 25px}.feasly-auth .site-footer{padding:22px 38px}.feasly-auth .brand-meta{display:none}}
@media(max-width:820px){.feasly-auth .stage{grid-template-columns:minmax(0,420px);justify-content:center;padding:36px 24px 45px}.feasly-auth .visual{display:none}.feasly-auth .site-header{padding:28px 30px}.feasly-auth .site-header .wordmark{font-size:22px}.feasly-auth .site-header .brand img{height:31px;width:31px}.feasly-auth .site-footer{padding:18px 30px 25px}.feasly-auth .desktop-caption{display:none}.feasly-auth .page:before{background:radial-gradient(ellipse at 70% 45%,#e8e0f44f,transparent 68%)}.feasly-auth .entry-kicker{margin-bottom:20px}}
@media(max-width:440px){.feasly-auth .site-header{padding:24px 22px}.feasly-auth .site-header .help{font-size:11px}.feasly-auth .stage{padding:27px 22px 40px;align-items:start}.feasly-auth .entry{align-self:start}.feasly-auth .folder-body{padding:29px 24px 25px;min-height:413px}.feasly-auth .card-heading h1{font-size:29px}.feasly-auth .card-heading p{font-size:12px}.feasly-auth .folder-tab{width:140px;padding-left:20px}.feasly-auth .entry-kicker{font-size:9px}.feasly-auth .site-footer{padding:16px 23px 23px;flex-wrap:wrap;gap:15px;font-size:10px}.feasly-auth .site-footer nav{gap:19px}.feasly-auth .bottom-note{font-size:10px}.feasly-auth .primary, .feasly-auth .input-wrap input, .feasly-auth .reveal{height:44px}.feasly-auth .reveal{width:44px}.feasly-auth .label-row button{min-height:28px}.feasly-auth .card-heading{margin-bottom:24px}.feasly-auth .quiet-row{margin-top:20px}.feasly-auth .folder-back{right:-5px;bottom:-5px}}
@media(min-width:821px) and (max-height:800px){.feasly-auth .site-header{padding-top:22px;padding-bottom:22px}.feasly-auth .stage{padding-top:18px;padding-bottom:12px}.feasly-auth .site-footer{padding-top:14px;padding-bottom:18px}.feasly-auth .visual-heading h2{font-size:37px}.feasly-auth .visual-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.feasly-auth .drawing{max-width:590px}}
@media(pointer:coarse){.feasly-auth .primary, .feasly-auth .input-wrap input, .feasly-auth .reveal{min-height:44px}.feasly-auth .label-row button, .feasly-auth .quiet-row button, .feasly-auth .site-footer a, .feasly-auth .site-header .help{min-height:32px;display:inline-flex;align-items:center}}
@media(prefers-reduced-motion:reduce){.feasly-auth *, .feasly-auth *:before, .feasly-auth *:after{animation:none!important;transition:none!important}}

/* Actual Keycloak and application forms use these same control primitives. */
.feasly-auth { box-sizing:border-box; line-height:1.45; --font-sans:Switzer,Arial,sans-serif; --accent-600:#230946; --accent-700:#391658; --surface:#fff; --ink-2:#626873; --ink-3:#848792; --line-2:#dce0e6; --radius:4px; --fs-body:13px; --fs-caption:12px; }
body:has(> .feasly-auth) { margin:0; background:#f3f5f7; }
.feasly-auth [hidden] { display:none!important; }
.feasly-auth .entry-kicker { font-size:10px; letter-spacing:1.75px; color:#7b6a90; text-transform:uppercase; font-weight:600; }
.feasly-auth .brand { text-decoration:none; }
.feasly-auth .brand:hover { text-decoration:none; }
/* A quiet release label beneath the name, without shifting the brand lockup. */
.feasly-auth .site-header .wordmark { position:relative; font-size:29px; font-weight:500; line-height:1; letter-spacing:-.055em; }
.feasly-auth .site-header .wordmark sup { position:relative; top:-.9em; margin-left:3px; line-height:1; vertical-align:baseline; }
.feasly-auth .site-header .wordmark::after { content:"BETA"; position:absolute; top:100%; inset-inline:0; color:#887697; font-size:8px; font-weight:500; line-height:1; letter-spacing:1.6px; text-align:center; pointer-events:none; }
@media(max-width:820px){.feasly-auth .site-header .wordmark{font-size:22px}.feasly-auth .site-header .wordmark sup{font-size:7px;margin-left:2px}}
.feasly-auth .form-wrap > .eyebrow { margin-bottom:8px; font-size:9px; }
.feasly-auth .welcome, .feasly-auth .form-wrap > h1, .feasly-auth .auth-status h1, .feasly-auth .stock-auth #kc-page-title { font-size:30px; line-height:1.15; font-weight:600; letter-spacing:-1.1px; margin:0 0 9px; padding-right:8px; color:var(--ink); }
.feasly-auth .sub, .feasly-auth .auth-status p { color:var(--muted); font-size:13px; margin:0 0 28px; line-height:1.6; }
.feasly-auth .field > label, .feasly-auth .field-head > label, .feasly-auth .stock-auth .control-label, .feasly-auth .stock-auth .pf-c-form__label-text { display:block; font-size:12px; line-height:1.5; font-weight:500; margin:0 0 7px; }
.feasly-auth .field-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
.feasly-auth .field-head > label { margin:0; }
.feasly-auth .forgot { font-size:11px; }
.feasly-auth .field input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .feasly-auth .field select, .feasly-auth .field textarea, .feasly-auth .stock-auth input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]), .feasly-auth .stock-auth select, .feasly-auth .stock-auth textarea { width:100%; min-width:0; height:42px; border:1px solid #cdd0d9; border-radius:4px; background:#fcfcfd; padding:0 12px; color:var(--ink); outline:0; font:400 13px Switzer,Arial,sans-serif; transition:border-color .15s,box-shadow .15s; }
.feasly-auth .field textarea, .feasly-auth .stock-auth textarea { min-height:84px; padding:10px 12px; resize:vertical; }
.feasly-auth .field input:focus, .feasly-auth .field select:focus, .feasly-auth .field textarea:focus, .feasly-auth .stock-auth input:focus, .feasly-auth .stock-auth select:focus { border-color:#8a6aad; box-shadow:0 0 0 3px #8a6aad16; background:white; }
.feasly-auth input::placeholder { color:#9196a1; }
.feasly-auth .field input[aria-invalid=true], .feasly-auth .stock-auth [aria-invalid=true] { border-color:#c17b8a; background:#fffafb; }
.feasly-auth .field-error, .feasly-auth .stock-auth .kc-feedback-text, .feasly-auth .stock-auth .pf-m-error { color:var(--error); font-size:12px; }
.feasly-auth .field-error { display:block; margin-top:7px; line-height:1.5; }
.feasly-auth .field-help { display:block; margin:6px 0 0; font-size:11px; line-height:1.5; color:var(--muted); }
.feasly-auth .pw-wrap { position:relative; }
.feasly-auth .pw-wrap--on input { padding-right:46px!important; }
.feasly-auth .pw-toggle { position:absolute; top:0; right:0; bottom:0; width:44px; display:flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:0 4px 4px 0; color:#737987; background:transparent; }
.feasly-auth .pw-toggle:hover { color:var(--purple); background:#f2edf766; }
.feasly-auth .pw-toggle .pw-ico { width:18px; height:18px; }
.feasly-auth .pw-ico-hide, .feasly-auth .pw-toggle[aria-pressed=true] .pw-ico-show { display:none; }
.feasly-auth .pw-toggle[aria-pressed=true] .pw-ico-hide { display:block; }
.feasly-auth .remember { display:flex; align-items:center; gap:8px; margin:2px 0 20px; font-size:12px; color:var(--muted); cursor:pointer; }
.feasly-auth input[type=checkbox], .feasly-auth input[type=radio] { accent-color:var(--purple); width:15px; height:15px; flex:none; }
.feasly-auth .submit, .feasly-auth .stock-auth .pf-c-button, .feasly-auth .stock-auth input[type=submit], .feasly-auth .stock-auth #kc-form-buttons > button { width:100%; min-height:42px; display:flex; align-items:center; justify-content:center; gap:12px; padding:10px 14px; background:var(--purple); color:white; border:1px solid var(--purple); border-radius:4px; font:500 12px Switzer,Arial,sans-serif; text-decoration:none; cursor:pointer; transition:background .15s; }
.feasly-auth .submit:hover, .feasly-auth .stock-auth .pf-c-button:hover { background:var(--purple-hover); }
.feasly-auth .submit:disabled, .feasly-auth .primary:disabled, .feasly-auth .submit[aria-busy=true] { opacity:.72; cursor:default; }
.feasly-auth .submit--ghost, .feasly-auth .stock-auth .pf-m-secondary, .feasly-auth .stock-auth .pf-m-link { background:white; border-color:#d7cbe4; color:var(--purple); }
.feasly-auth .submit--ghost:hover, .feasly-auth .stock-auth .pf-m-secondary:hover, .feasly-auth .stock-auth .pf-m-link:hover { background:#f7f4fa; }
.feasly-auth .submit-row { display:flex; gap:10px; }
.feasly-auth .submit-row > .submit { flex:1; width:auto; }
.feasly-auth .alert { font-size:12px; line-height:1.55; padding:10px 12px; border-radius:4px; margin:0 0 18px; display:flex; gap:9px; align-items:flex-start; color:#645077; background:#f6f2fa; border:1px solid #e5dcec; overflow-wrap:anywhere; }
.feasly-auth .alert-error { color:#942d41; background:#fff2f4; border-color:#f1d1d8; }
.feasly-auth .alert .ico { flex:none; width:16px; height:16px; display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; font-size:10px; line-height:1; margin-top:1px; }
.feasly-auth .instruction, .feasly-auth .stock-auth .instruction { margin:0 0 18px; font-size:13px; line-height:1.6; color:var(--muted); overflow-wrap:anywhere; }
.feasly-auth .form-links { margin:20px 0 0; font-size:12px; }
.feasly-auth .sso-divider { display:flex; align-items:center; gap:12px; margin:22px 0 14px; font-size:11px; color:var(--muted); }
.feasly-auth .sso-divider:before, .feasly-auth .sso-divider:after { content:''; flex:1; height:1px; background:var(--line); }
.feasly-auth .sso-list { display:grid; gap:10px; }
.feasly-auth .sso { display:flex; align-items:center; justify-content:center; padding:10px 14px; min-height:42px; border:1px solid #d7cbe4; border-radius:4px; font-size:12px; }
.feasly-auth .sso-branded { box-sizing:border-box; justify-content:flex-start; width:100%; min-width:0; height:44px; min-height:44px; padding:0; border:1px solid #747775; border-radius:4px; background:#fff; line-height:0; }
/* The shared container draws the border; crop the artwork's original perimeter and rounded corners. */
.feasly-auth .sso-branded img { display:block; flex:none; height:40px; width:auto; max-width:100%; object-fit:contain; clip-path:inset(2px round 3px); }
.feasly-auth .terms-text { max-height:160px; overflow:auto; margin:4px 0 14px; padding:12px; background:#f7f5fa; border:1px solid var(--line); border-radius:4px; font-size:12px; }
.feasly-auth .terms-accept { align-items:flex-start; }
.feasly-auth .auth-team-options { display:flex; flex-wrap:wrap; gap:7px; }
.feasly-auth .auth-team-option { min-height:36px; padding:7px 11px; background:#fff; color:var(--muted); border:1px solid #dce0e6; border-radius:4px; font-size:12px; }
.feasly-auth .auth-team-option[aria-checked=true], .feasly-auth .auth-team-option.on { color:var(--purple); border-color:#a891c0; background:#f2edf7; }
.feasly-auth .auth-form-actions { display:flex; flex-direction:column; gap:12px; margin-top:18px; }
.feasly-auth .auth-secondary-links { font-size:11px; line-height:1.7; color:var(--muted); margin-top:18px; }
.feasly-auth .auth-secondary-links p { margin:6px 0; }
.feasly-auth .auth-loading { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.feasly-auth .stock-auth .form-group { margin-bottom:18px; }
.feasly-auth .stock-auth .pf-c-input-group { position:relative; display:flex; align-items:stretch; }
.feasly-auth .stock-auth .pf-c-input-group > .pf-c-button { flex:0 0 44px; width:44px; border-color:#cdd0d9; background:#f7f5fa; color:var(--purple); }
.feasly-auth .stock-auth #kc-content-wrapper { min-width:0; }
.feasly-auth .stock-auth #kc-form-buttons { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.feasly-auth .stock-auth #kc-form-buttons > * { flex:1; }
.feasly-auth .stock-auth .select-auth-box-parent { display:grid; gap:10px; margin-bottom:16px; }
.feasly-auth .stock-auth .select-auth-box-desc { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:12px; background:#f7f5fa; border:1px solid #dce0e6; border-radius:4px; color:var(--ink); text-align:start; }
.feasly-auth .stock-auth .select-auth-box-desc > * { font-size:12px; }
.feasly-auth .stock-auth ul, .feasly-auth .stock-auth ol { padding-inline-start:20px; font-size:13px; color:var(--muted); }
.feasly-auth .stock-auth li { margin-bottom:12px; }
.feasly-auth .stock-auth img { max-width:100%; }
.feasly-auth .stock-auth #kc-totp-secret-qr-code { width:180px; height:auto; display:block; margin:14px auto; }
.feasly-auth .stock-auth #kc-totp-secret-key, .feasly-auth .stock-auth pre { overflow-wrap:anywhere; white-space:pre-wrap; }
.feasly-auth .stock-auth .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.feasly-auth .stock-auth #kc-attempted-username { font-size:13px; overflow-wrap:anywhere; }
.feasly-auth .stock-auth .kc-login-tooltip { display:inline-flex; margin-inline-start:8px; }
.feasly-auth .stock-auth .fa-eye:before { content:'◉'; }
.feasly-auth .stock-auth .fa-eye-slash:before { content:'◌'; }
.feasly-auth .stock-auth .fa-arrow-right:before { content:'→'; }
.feasly-auth .stock-auth .fa-sign-in:before { content:'↗'; }
.feasly-auth .stock-auth .fa-refresh:before { content:'↻'; }
.feasly-auth .stock-auth .pf-c-form__helper-text { margin-top:6px; font-size:11px; color:var(--muted); }
@media(max-width:440px),(pointer:coarse) {
 .feasly-auth .field input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .feasly-auth .field select, .feasly-auth .stock-auth input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .feasly-auth .submit, .feasly-auth .stock-auth .pf-c-button { min-height:44px; }
 .feasly-auth .auth-team-option { min-height:44px; }
 .feasly-auth .form-wrap .welcome { font-size:29px; }
}
@media(prefers-reduced-motion:reduce) { .feasly-auth *, .feasly-auth *:before, .feasly-auth *:after { animation:none!important; transition:none!important; } }

/* Environment identity: preserve the existing server-rendered mark. */
.feasly-env-mark {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483000;
  display: flex;
  gap: 6px;
  align-items: baseline;
  justify-content: center;
  padding: 5px 10px;
  background: #1f1a24;
  color: #fff;
  font-family: "Mona Sans", -apple-system, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.feasly-env-mark strong { font-weight: 700; }
.feasly-env-mark span { opacity: 0.75; letter-spacing: 0.04em; text-transform: none; }

/* Script-added banners offset body themselves; server banners precede this root. */
.feasly-env-mark + .feasly-auth { padding-top:24px; }
.feasly-auth .auth-label { display:block; margin-bottom:8px; font-size:12px; font-weight:500; }
.feasly-auth .auth-loading { flex-direction:column; align-items:flex-start; }
.feasly-auth .auth-loading-indicator { width:8px; height:8px; border-radius:50%; background:#9275b4; margin-bottom:12px; }
.feasly-auth .required-fields { margin:0 0 14px; color:var(--muted); font-size:11px; }
.feasly-auth .stock-auth-header { margin-bottom:24px; }
.feasly-auth .stock-auth .kc-tooltip-text { display:inline; font-size:11px; }
.feasly-auth .stock-auth #kc-username { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.feasly-auth .try-another-way { border:0; padding:8px 0; margin-top:12px; color:var(--purple); background:none; font:500 12px Switzer,Arial,sans-serif; }
.feasly-auth .stock-auth .pf-c-tile { padding:12px; border:1px solid var(--line); border-radius:4px; margin-bottom:10px; background:white; }
.feasly-auth .stock-auth .pf-c-tile.pf-m-selected { background:var(--lavender); border-color:#a891c0; }

/* Stable finite animation order, shared by static SVG and React markup. */
.feasly-auth .building-order-0 { --building-order:0; }
.feasly-auth .building-order-1 { --building-order:1; }
.feasly-auth .building-order-2 { --building-order:2; }
.feasly-auth .building-order-3 { --building-order:3; }
.feasly-auth .building-order-4 { --building-order:4; }
.feasly-auth .building-order-5 { --building-order:5; }
.feasly-auth .building-order-6 { --building-order:6; }
.feasly-auth .building-order-7 { --building-order:7; }

.feasly-auth .primary[aria-disabled=true], .feasly-auth .stock-auth .pf-c-button:disabled, .feasly-auth .stock-auth .pf-c-button[aria-busy=true], .feasly-auth .stock-auth input[type=submit]:disabled { opacity:.72; cursor:default; }
.feasly-auth .auth-honeypot { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* The provider owns its visible height, including an interaction challenge. */
.feasly-auth .auth-verification-slot { min-height:0; }
.feasly-auth .auth-verification-slot.is-unavailable { min-height:0; }
.feasly-auth .auth-error-link { color:inherit; text-decoration:underline; }
.feasly-auth .auth-implicit-submit { position:absolute; width:1px; height:1px; padding:0; border:none; opacity:0; pointer-events:none; }
.feasly-auth .stock-auth #kc-locale { position:relative; display:flex; justify-content:flex-end; margin-bottom:14px; }
.feasly-auth .stock-auth #kc-current-locale-link { min-height:30px; padding:4px 9px; color:var(--muted); border:1px solid var(--line); background:white; border-radius:4px; font:400 11px Switzer,Arial,sans-serif; }
.feasly-auth .stock-auth #kc-locale [role=menu] { display:none; position:absolute; inset-inline-end:0; top:100%; min-width:120px; padding:8px; margin:4px 0 0; border:1px solid var(--line); border-radius:4px; background:white; list-style:none; box-shadow:0 6px 20px #23094610; z-index:5; }
.feasly-auth .stock-auth #kc-locale button[aria-expanded=true] + [role=menu] { display:block; }
.feasly-auth .stock-auth #kc-locale li { margin:0; }
.feasly-auth .stock-auth #kc-locale a { display:block; padding:5px 8px; }
.feasly-auth .stock-auth #kc-locale a:hover { background:var(--lavender); }
.feasly-auth .stock-auth .pf-c-form__helper-text.pf-m-error { color:var(--error); }

/* All six frames share one grid cell so rotating copy never moves the drawing. */
.feasly-auth .auth-headline { position:relative; }
.feasly-auth .visual-heading .headline-frames { display:grid; color:inherit; }
.feasly-auth .visual-heading .headline-frame { grid-area:1 / 1; visibility:hidden; color:inherit; }
.feasly-auth .visual-heading .headline-frame[data-active=true] { visibility:visible; }
.feasly-auth .visual-heading .headline-line { display:block; color:inherit; }
.feasly-auth .visual-heading .headline-line + .headline-line { color:#9681ac; }
.feasly-auth .visual-heading .headline-word { display:inline-block; white-space:nowrap; color:inherit; }
.feasly-auth .visual-heading .headline-character { display:inline-block; color:inherit; }
.feasly-auth .headline-toggle { position:absolute; top:-31px; right:0; width:28px; height:28px; display:grid; place-items:center; padding:5px; color:#7b6a90; background:transparent; border:1px solid transparent; border-radius:4px; }
.feasly-auth .headline-toggle:hover { background:#eae4f1; border-color:#d6cce1; }
.feasly-auth .headline-toggle svg { width:16px; height:16px; }
.feasly-auth .headline-toggle[hidden], .feasly-auth .headline-play, .feasly-auth .headline-toggle[aria-pressed=true] .headline-pause { display:none; }
.feasly-auth .headline-toggle[aria-pressed=true] .headline-play { display:block; }
.feasly-auth .site-footer nav a { display:inline-flex; align-items:center; gap:4px; }
.feasly-auth .site-footer nav svg { width:12px; height:12px; }
