html.cloud-pending .layout{visibility:hidden}#cloudGate{position:fixed;inset:0;z-index:20000;background:var(--bg,#fff);color:var(--ink,#172b45);overflow:auto;display:grid;place-items:center;padding:24px}#cloudGate[hidden]{display:none}.cloud-card{width:min(100%,440px);padding:28px;border:1px solid #bed1ff;border-radius:24px;background:var(--white,#fff);box-shadow:0 18px 60px #264c8b18}.cloud-card img{display:block;width:180px;max-height:125px;object-fit:contain;margin:0 auto 20px}.cloud-card h1{font-size:24px;margin:0 0 12px}.cloud-card p{line-height:1.6}.cloud-card input,.cloud-card select{width:100%;padding:12px;font:inherit;border:1px solid #93b9ef;border-radius:10px;background:var(--white,#fff);color:inherit}.cloud-card label{display:block;margin:16px 0 6px}.cloud-card .btn{margin-top:16px}.cloud-card .cloud-tabs{display:flex;gap:10px;flex-wrap:wrap}.cloud-card [role=alert]{color:#d52e66;min-height:24px}.cloud-actions{display:flex;gap:8px;flex-wrap:wrap}.cloud-sync{position:fixed;z-index:18000;inset:0;display:grid;place-items:center;background:#17346b25;backdrop-filter:blur(2px)}.cloud-sync span{padding:18px 26px;background:var(--white,#fff);color:var(--ink,#172b45);border:1px solid #639bf5;border-radius:16px}.cloud-session-button{border:1px solid #adc6f0;color:#2d62d7;background:transparent;padding:8px 12px;border-radius:10px;cursor:pointer}.cloud-health{font-size:12px;color:#168761}.cloud-member{padding:16px 0;border-bottom:1px solid #c8d7f0}.cloud-member .row{align-items:end}.cloud-member select{max-width:100%}.cloud-member small{display:block;overflow-wrap:anywhere}html[data-theme=dark] .cloud-card{background:#101d32;color:#e5efff}html[data-theme=dark] #cloudGate{background:#0b1220;color:#e5efff}html[data-theme=dark] .cloud-card input{background:#17273e;color:#fff}.cloud-local-warning{padding:14px;border:1px solid #94b7f3;border-radius:12px;margin-top:18px}

.sidebar .account-mini>small:first-child:after{content:"Activa";color:#0d9971;border-color:#73d7b6}.sidebar .account-mini .cloud-session-button{display:block;margin-top:7px;font-size:11px;padding:5px 9px}.cloud-card .cloud-setup-link{font-size:12px}
/* Auth shares the portal's white surfaces and vivid semantic accents. */
#cloudGate{background:#fff;padding:32px 24px;overscroll-behavior:contain;scrollbar-gutter:stable;align-items:center;box-sizing:border-box;font-family:inherit}
#cloudGate *{box-sizing:border-box}.cloud-auth-shell{position:relative;width:min(100%,980px);display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin:auto;animation:cloud-enter .35s ease both}.cloud-intro{min-width:0;padding:8px 0}.cloud-brand{display:inline-flex;align-items:center;flex-direction:column;gap:12px}.cloud-card .cloud-brand img,.cloud-brand img{display:block;width:168px;height:112px;object-fit:contain;border-radius:15px;border:1px solid #e6edf8;margin:0;box-shadow:0 5px 20px #23497909}.cloud-brand-caption{font-size:9px;letter-spacing:.26em;font-weight:750;color:#4c7189}.cloud-intro-content{margin-top:42px}.cloud-eyebrow{font-size:10px;letter-spacing:.16em;color:#177cbe;font-weight:750}.cloud-intro h2{font-size:34px;letter-spacing:-1.1px;line-height:1.2;color:#183353;margin:15px 0}.cloud-intro-content>p{font-size:14px;line-height:1.8;color:#627590;max-width:330px;margin:0}.cloud-feature-list{display:grid;gap:18px;margin-top:26px}.cloud-feature-list>div{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:650;color:#203c60}.cloud-feature-list small{display:block;margin-top:4px;color:#6b7f99;font-size:11px;font-weight:400}.cloud-feature-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none}.cloud-feature-icon svg{width:20px;height:20px}.cloud-feature-icon.purple{color:#4c7189;background:#edf3f7}.cloud-feature-icon.cyan{color:#089ac2;background:#e7f9ff}.cloud-feature-icon.green{color:#05976b;background:#e9fbf4}.cloud-porcelain-motif{position:absolute;z-index:-1;left:215px;top:15px;display:grid;grid-template-columns:66px 66px;gap:7px;transform:rotate(-12deg);opacity:.5}.cloud-porcelain-motif span{height:66px;border-radius:12px;border:1px solid #d9e4fb;background:linear-gradient(135deg,#fff 42%,#eaf0fe 43%,#fff 45%)}.cloud-porcelain-motif span:nth-child(2){background:#edf3f7;border-color:#e3edf3}.cloud-porcelain-motif span:nth-child(3){background:#e8f9ff;border-color:#d8f2ff}
#cloudGate .cloud-card{width:100%;max-width:460px;padding:30px;border:1px solid #e0e9fb;border-radius:24px;background:#fff;box-shadow:0 18px 60px #244d8a0d,0 2px 8px #244d8a05;min-width:0;position:relative;overflow:hidden}#cloudGate .cloud-card:before{content:'';position:absolute;left:30px;right:30px;top:0;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,#3063ed,#8eafc3,#0eacd1)}.cloud-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.cloud-access-pill{display:inline-flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.09em;color:#16865f;background:#edfdf5;border:1px solid #cdf5e2;border-radius:30px;padding:6px 9px;font-weight:750}.cloud-access-pill svg{width:13px;height:13px}.cloud-theme-button{width:32px;height:32px;border-radius:10px;border:1px solid #e3edf3;background:#edf3f7;color:#4c7189;display:grid;place-items:center;cursor:pointer}.cloud-theme-button svg{width:17px;height:17px}.cloud-heading{margin-bottom:26px}#cloudGate .cloud-card h1{font-size:25px;font-weight:760;letter-spacing:-.7px;line-height:1.25;margin:0 0 9px;color:#183353}#cloudGate .cloud-heading>p{font-size:13px;color:#718198;line-height:1.7;margin:0;max-width:350px}.cloud-field{margin:0 0 18px}#cloudGate .cloud-field label{display:block;font-size:12px;font-weight:650;color:#334d70;margin:0 0 8px}.cloud-required{color:#e93368;margin-left:2px}.cloud-input-wrap{position:relative}.cloud-field-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#5286e9;display:flex;pointer-events:none}.cloud-field-icon svg{width:18px;height:18px}#cloudGate .cloud-field input{width:100%;height:49px;padding:12px 44px 12px 43px;border:1px solid #d8e4f7;border-radius:12px;color:#183353;background:#fbfdff;font-size:16px;line-height:1.4;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}#cloudGate .cloud-field input::placeholder{color:#8a9ab1;font-size:13px}#cloudGate .cloud-field input:focus{border-color:#4978ed;box-shadow:0 0 0 3px #4074ed14;background:#fff}.cloud-password-toggle{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:35px;height:35px;border:0;background:transparent;border-radius:8px;color:#697e9d;cursor:pointer}.cloud-password-toggle svg{width:19px;height:19px}.cloud-password-toggle[aria-pressed=true]{color:#4c7189;background:#edf3f7}
#cloudGate .cloud-card .btn{font:inherit;font-weight:650;line-height:1.3;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:none;min-width:0;text-decoration:none;margin:0;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}#cloudGate .btn svg{width:18px;height:18px;flex:none}#cloudGate .cloud-submit{width:100%;min-height:49px;border:1px solid #2f5fe7;border-radius:12px;background:linear-gradient(110deg,#2f60e5,#436ff1);color:#fff;font-size:14px;box-shadow:0 6px 16px #3267eb22!important;margin-top:6px}#cloudGate .cloud-submit:hover{background:#2854d8;box-shadow:0 8px 22px #3267eb32!important}#cloudGate .cloud-submit:active{transform:translateY(1px)}#cloudGate .cloud-submit:disabled{opacity:.65;cursor:wait}.cloud-auth-divider{display:flex;align-items:center;gap:12px;color:#8998ad;font-size:10px;margin:22px 0 15px;white-space:nowrap}.cloud-auth-divider:before,.cloud-auth-divider:after{content:'';height:1px;background:#e7edf7;flex:1}#cloudGate .cloud-tabs{display:grid;gap:9px;margin:0}#cloudGate .cloud-secondary{border-radius:11px;min-height:42px;font-size:12px;padding:10px 12px;width:100%}#cloudGate .cloud-signup{background:#edf3f7;border:1px solid #e3edf3;color:#4c7189}#cloudGate .cloud-signup:hover{background:#edf3f7}#cloudGate .cloud-recover{background:#f0fcff;border:1px solid #cdeff7;color:#0886a5}#cloudGate .cloud-recover:hover{background:#e4f8fe}#cloudGate .cloud-return{background:#f0f5ff;border:1px solid #d6e3ff;color:#3769d8}.cloud-auth-footer{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:23px;color:#8a9bb1;font-size:10px}.cloud-auth-footer svg{width:12px;height:12px;flex:none}.cloud-shell-footer{grid-column:1/-1;text-align:center;font-size:9px;letter-spacing:.2em;color:#93a2b8;margin-top:-32px}.cloud-shell-footer span{padding:0 7px;color:#4c7189}#cloudGate .cloud-card [role=alert]{min-height:0;font-size:12px;line-height:1.6;margin:0 0 14px;color:#ce2860}#cloudGate .cloud-card [role=alert]:empty{display:none}#cloudGate .cloud-card [role=alert]:not(:empty){padding:11px 12px;background:#fff3f7;border:1px solid #ffd5e3;border-radius:10px}.cloud-loading{display:flex;justify-content:center;gap:7px;padding:20px 0 32px}.cloud-loading i{width:7px;height:7px;border-radius:50%;background:#396ced;animation:cloud-pulse 1.2s ease-in-out infinite}.cloud-loading i:nth-child(2){background:#4c7189;animation-delay:.15s}.cloud-loading i:nth-child(3){background:#0dacce;animation-delay:.3s}#cloudGate button:focus-visible{outline:3px solid #a9c4ff;outline-offset:3px}
@keyframes cloud-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes cloud-pulse{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
@media(max-width:760px){#cloudGate{padding:24px 20px;align-items:start}.cloud-auth-shell{max-width:420px;grid-template-columns:1fr;gap:22px;align-items:start}.cloud-intro{padding:0;text-align:center}.cloud-brand{gap:8px}.cloud-brand img{width:138px;height:92px;border-radius:12px}.cloud-brand-caption{font-size:8px;letter-spacing:.24em}.cloud-intro-content{display:none}#cloudGate .cloud-card{padding:24px;border-radius:21px;max-width:none}.cloud-card-top{margin-bottom:22px}#cloudGate .cloud-card h1{font-size:23px;letter-spacing:-.6px}#cloudGate .cloud-heading>p{font-size:12px}.cloud-heading{margin-bottom:23px}.cloud-shell-footer{margin:0;font-size:8px}.cloud-auth-footer{margin-top:20px}.cloud-auth-divider{margin:20px 0 14px}}
@media(max-width:360px){#cloudGate{padding:18px 14px}#cloudGate .cloud-card{padding:21px 18px}#cloudGate .cloud-card h1{font-size:21px}.cloud-auth-shell{gap:18px}.cloud-brand img{width:120px;height:80px}}
html[data-theme=dark] #cloudGate{background:#0b1220}html[data-theme=dark] #cloudGate .cloud-card{background:#111c30;border-color:#2a3b55;box-shadow:0 18px 60px #0002}html[data-theme=dark] #cloudGate .cloud-card h1,html[data-theme=dark] .cloud-intro h2{color:#f1f5ff}html[data-theme=dark] #cloudGate .cloud-field label,html[data-theme=dark] .cloud-feature-list>div{color:#cbdaf0}html[data-theme=dark] #cloudGate .cloud-field input{background:#15243a;border-color:#324563;color:#eff6ff}html[data-theme=dark] #cloudGate .cloud-field input:focus{background:#192b45;border-color:#6597fa}html[data-theme=dark] .cloud-brand img{border-color:#3a4961}html[data-theme=dark] .cloud-access-pill{background:#10392e;border-color:#205b47;color:#63dfb3}html[data-theme=dark] .cloud-theme-button{background:#1b3042;border-color:#4c7189;color:#b8cdda}html[data-theme=dark] #cloudGate .cloud-signup{background:#1b3042;border-color:#4c7189;color:#b8cdda}html[data-theme=dark] #cloudGate .cloud-recover{background:#103344;border-color:#1c5d70;color:#70d9f0}html[data-theme=dark] #cloudGate .cloud-return{background:#1b3052;border-color:#35558b;color:#9abaff}html[data-theme=dark] #cloudGate .cloud-card [role=alert]:not(:empty){background:#1b3042;border-color:#35536a;color:#ffabca}html[data-theme=dark] .cloud-auth-divider:before,html[data-theme=dark] .cloud-auth-divider:after{background:#2a3b55}html[data-theme=dark] .cloud-porcelain-motif{opacity:.12}
@media(prefers-reduced-motion:reduce){.cloud-auth-shell,.cloud-loading i{animation:none!important}#cloudGate *{transition:none!important}}
/* Administrator profile inspection never changes the signed-in account. */
.cloud-profile-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;margin:0 0 22px;border:1px solid #7bb5ef;border-left:4px solid #0284c7;border-radius:14px;background:#eff8ff;color:#163c64}.cloud-profile-preview strong,.cloud-profile-preview small{display:block}.cloud-profile-preview small{font-size:12px;margin-top:4px}.cloud-profile-preview label{font-size:12px;display:grid;gap:4px;max-width:100%;min-width:0}.cloud-profile-preview select{max-width:100%;width:240px;padding:8px;border:1px solid #7bb5ef;border-radius:9px;background:var(--white,#fff);color:var(--ink,#183353)}.cloud-profile-preview .btn{white-space:normal}.cloud-profile-preview~* button:disabled{cursor:not-allowed}html[data-theme=dark] .cloud-profile-preview{background:#122d46;color:#d5eeff;border-color:#3079a7}@media(max-width:600px){.cloud-profile-preview{align-items:stretch;gap:10px;padding:12px}.cloud-profile-preview>div,.cloud-profile-preview label{width:100%}.cloud-profile-preview select{width:100%}.cloud-profile-preview .btn{width:100%}}
.business-address-fields{border:1px solid var(--line,#dbe6f5);border-radius:12px;padding:16px;margin:18px 0 0;min-width:0}.business-address-fields legend{padding:0 7px;font-weight:700;font-size:13px;color:var(--ink,#183353)}.business-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.business-address-fields select,.business-address-fields textarea{width:100%;max-width:100%;min-width:0;font:inherit;background:var(--white,#fff);color:var(--ink,#183353);border:1px solid var(--line,#c8d9ef);border-radius:10px;padding:11px 12px}.business-address-fields textarea{resize:vertical;min-height:90px;font-size:16px}.business-address-fields small{display:block;line-height:1.5;margin-top:7px;color:var(--muted,#627792)}.business-address-fields select:disabled{opacity:.55}#cloudBusinessError{color:#dc2626;font-size:13px;line-height:1.5}#cloudBusinessError:empty{display:none}@media(max-width:600px){.business-address-grid{grid-template-columns:1fr;gap:0}.business-address-fields{padding:12px}.business-address-fields select{font-size:16px}}
.document-mail-log{display:grid;gap:12px}.document-mail-log article{padding:14px;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.document-mail-log article>small{display:block;margin-top:9px;color:var(--muted);font-size:11px}.document-mail-log p{margin:6px 0 10px}#documentMailError{color:#dc2626;font-size:13px;line-height:1.6}#documentMailError:empty{display:none}

/* Approved client welcome: compact, white and responsive. */
.modal:has(.client-welcome){width:min(560px,100%);padding:26px!important;border:1px solid #e2eaf3!important;border-radius:24px!important;background:#fff!important;box-shadow:0 24px 90px #0d244333;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.modal:has(.client-welcome)>h2,.modal:has(.client-welcome)>p:first-of-type{display:none}
.modal:has(.client-welcome) .modal-close{top:16px;right:16px;width:32px;height:32px;background:#fff!important;border-color:#e1e8f2!important;color:#526983!important;box-shadow:none}
.client-welcome{text-align:center;color:#19334e}
.welcome-brand{display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:0 30px 17px 0;border-bottom:1px solid #edf1f6;margin-bottom:24px}
.welcome-brand img{display:block;width:110px;height:auto;border-radius:8px}
.welcome-brand>span{font-size:9px;letter-spacing:2px;font-weight:700;color:#6a8096;text-align:left}
.welcome-approved{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:650;color:#078461;background:#eefaf4;padding:8px 12px;border-radius:24px;line-height:1.4}
.welcome-approved>span{display:flex;align-items:center}.welcome-approved svg{width:15px;height:15px}
.modal .client-welcome>h2{font-size:29px;line-height:1.2;letter-spacing:-.8px;margin:20px 0 15px;padding:0;color:#19334e!important;font-weight:750}
.modal .client-welcome .welcome-greeting{font-size:14px;color:#36536f!important;line-height:1.6;margin:0 0 9px}
.welcome-greeting strong{display:block;color:#19334e;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.modal .client-welcome .welcome-intro{font-size:12px;line-height:1.75;color:#6a7f94!important;max-width:390px;margin:0 auto}
.welcome-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 14px;text-align:left;margin:26px 0;padding:22px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}
.welcome-feature{display:flex;align-items:flex-start;gap:9px;min-width:0}
.welcome-feature-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--feature-bg);color:var(--feature-tone);flex:none}
.welcome-feature-icon svg{width:19px;height:19px}.welcome-feature>div{min-width:0}
.welcome-feature b{display:block;color:#29445e;font-size:11px;line-height:1.5;font-weight:700}.welcome-feature small{display:block;color:#7b8c9c;font-size:10px;line-height:1.5;margin-top:3px}
.modal .client-welcome .welcome-credit{color:#7b8c9c!important;font-size:10px;line-height:1.7;max-width:400px;margin:0 auto}
.client-welcome [role=status]{color:#dc2626!important;font-size:12px;line-height:1.6}.client-welcome [role=status]:empty{display:none}
.modal:has(.client-welcome) .modal-actions{margin-top:20px}
.modal:has(.client-welcome) .modal-actions>button:first-child{display:none}
.modal:has(.client-welcome) .modal-actions>button#modalSubmit{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:13px 20px!important;border-radius:12px!important;background:#2563eb!important;border:1px solid #2563eb!important;color:#fff!important;font-size:14px;font-weight:700;box-shadow:0 7px 18px #2563eb20}
.modal:has(.client-welcome) #modalSubmit svg{position:static!important;width:18px;height:18px;margin:0!important;flex:none}
@media(max-width:480px){.modal:has(.client-welcome){padding:22px!important;border-radius:20px!important}.welcome-brand{margin-bottom:20px}.welcome-brand img{width:96px}.welcome-brand>span{font-size:8px;letter-spacing:1.5px}.modal .client-welcome>h2{font-size:25px}.welcome-features{gap:16px 12px;margin:22px 0;padding:20px 0}.welcome-feature{gap:8px}.welcome-feature-icon{width:31px;height:31px}.welcome-feature b{font-size:10px}.welcome-feature small{font-size:9px}.welcome-approved{font-size:9px}.welcome-greeting strong{font-size:15px}}
@media(max-width:340px){.welcome-features{grid-template-columns:1fr}.modal .client-welcome>h2{font-size:22px}}

#cloudAuthError[data-tone="success"]{color:#21634e;background:#eef9f3;border-color:#bfe3cf}html[data-theme="dark"] #cloudAuthError[data-tone="success"]{color:#a6e6ca;background:#12392c;border-color:#28634b}
