/* Public website and account pages. Keep business consoles and payment flows isolated. */
html body[data-ui][data-ui]:is(.public-home,.managed-home,.knowledge,.docs-page,.cloud-login){
 --public-glass:linear-gradient(135deg,rgba(255,255,255,.64),rgba(255,255,255,.24));
 --public-glass-line:rgba(255,255,255,.86);--public-glass-shadow:0 12px 38px #35588412,inset 0 1px 0 #ffffffda;
 background:#eaf1fb!important;color:#243a57;isolation:isolate;
}
html body[data-ui][data-ui]:is(.public-home,.managed-home,.knowledge,.docs-page,.cloud-login)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 4% 20%,#d9d6f6b3,transparent 54%),radial-gradient(ellipse at 96% 10%,#b7d6faad,transparent 50%),radial-gradient(ellipse at 75% 90%,#d0eee880,transparent 55%)}
html body[data-ui][data-ui]:is(.public-home,.managed-home,.knowledge,.docs-page,.cloud-login) :is(.ph-product-card,.ph-role-content,.ph-faq-items,.ph-crystal-window,.ph-crystal-note,.ph-hero-bottom,.ph-cta,.ph-steps>li,.mh-visual,.mh-section article,.mh-contact,.mh-custom-page,.resource-nav,.help-search-wrap,.help-guide,.help-contact,.help-detail,.help-item,.help-empty,.docs-page .side,.docs-page .main>.hero,.docs-page .sec,.docs-outline,.docs-plugin-card,.dlcard,.login-card,.recovery-card,.cloud-intro){
 background:var(--public-glass)!important;border:1px solid var(--public-glass-line)!important;border-radius:24px!important;box-shadow:var(--public-glass-shadow)!important;backdrop-filter:blur(24px) saturate(140%)!important;-webkit-backdrop-filter:blur(24px) saturate(140%)!important;
}
/* Navigation: stronger selected capsule; identical menu before and after navigation. */
html body[data-ui] .site-public-header{background:linear-gradient(110deg,#ffffff61,#e5eefb7d);border-bottom:1px solid #ffffffbf;box-shadow:0 4px 22px #385d9210;backdrop-filter:blur(28px) saturate(150%)}
html body[data-ui] .site-public-links a{border:1px solid transparent;border-radius:24px;transition:background .16s,box-shadow .16s,color .16s}
html body[data-ui] .site-public-links a[aria-current=page]{color:#164d9e!important;font-weight:700;background:linear-gradient(135deg,#ffffffed,#b8d4ffaf)!important;border-color:#fff;box-shadow:inset 0 0 0 1px #7aa8e87a,inset 0 2px 1px #fff,inset 0 -2px 5px #6498de1a}
html body[data-ui] .site-public-links a:hover{background:#ffffff80}
html body[data-ui] .site-public-login{border-radius:24px;background:linear-gradient(135deg,#ffffffc9,#bad7ff85);box-shadow:inset 0 1px 0 white,0 4px 12px #3b659516}
/* Homepage sections all carry the same material; text remains on a quiet surface. */
html body.public-home.public-home .ph-hero{background:transparent}
html body.public-home.public-home .ph-workspace-section{background:#e6edfa3d;border-color:#ffffff91}
html body.public-home.public-home .ph-steps{gap:16px;align-items:stretch}
html body.public-home.public-home .ph-steps>li{padding:24px 20px;min-width:0}
html body.public-home.public-home .ph-step-index{margin-bottom:20px}
html body.public-home.public-home .ph-steps h3{font-size:17px}
html body.public-home.public-home .ph-crystal-services>a{background:linear-gradient(120deg,#ffffff70,#ffffff29);border:1px solid #fff9}
html body.public-home.public-home .ph-crystal-badge{background:#ffffff60}
html body.public-home.public-home .ph-role-tabs button{background:linear-gradient(135deg,#ffffff7d,#ffffff2b);border:1px solid #ffffffc2;backdrop-filter:blur(16px)}
html body.public-home.public-home .ph-role-tabs button[aria-selected=true]{background:linear-gradient(135deg,#ffffffe0,#cde0ff9c);box-shadow:0 0 0 1px #90b4e45e,0 6px 16px #3d659516}
html body.public-home.public-home .ph-contact{padding:22px;border:1px solid #ffffffc4;border-radius:22px;background:linear-gradient(135deg,#ffffff73,#ffffff21);backdrop-filter:blur(20px);scroll-margin-top:100px}
/* Documentation, including code and parameter tables. Nested surfaces need no second blur. */
html body.docs-page.docs-page .layout{gap:24px;padding-top:8px}
html body.docs-page.docs-page .side{top:94px;max-height:calc(100dvh - 110px);padding:22px 14px;width:auto}
html body.docs-page.docs-page .main{padding-top:0;min-width:0}
html body.docs-page.docs-page .main>.hero{padding:28px!important;margin-bottom:24px}
html body.docs-page.docs-page .sec{padding:26px;margin-bottom:24px;scroll-margin-top:100px}
html body.docs-page.docs-page .docs-outline{padding:20px 14px;top:94px}
html body.docs-page.docs-page :is(.tbl,.codewin,.note,.docs-search){border:1px solid #c6d8ed9c;border-radius:14px;background:#ffffff29;box-shadow:inset 0 1px 0 #ffffff70}
html body.docs-page.docs-page .codewin pre{background:#f5f9ff40;color:#2e4f77;font-size:13px}
html body.docs-page.docs-page :is(th,.winbar){background:#d5e3f745;color:#496383}
html body.docs-page.docs-page td{background:transparent;color:#415d7d;font-size:13px}
html body.docs-page.docs-page .note{color:#4c6380;background:#d9e7ff50;border-left:3px solid #8eafe3}
html body.docs-page.docs-page .side a.on{background:linear-gradient(120deg,#ffffffce,#d0e1fa99);box-shadow:0 0 0 1px #ffffffd6;color:#2458a7;border-radius:14px}
html body.docs-page.docs-page :is(.docs-outline-support>a,.docs-outline-heading){font-size:13px;line-height:1.7;color:#536d8e}
/* Help, announcements and article cards/readers. */
html body.knowledge.knowledge .help-hero{background:transparent;border-bottom:1px solid #fff8}
html body.knowledge.knowledge .help-search-wrap{border-radius:18px!important}
html body.knowledge.knowledge .help-search-wrap input{background:transparent;color:#304c6e}
html body.knowledge.knowledge .help-search-wrap button{border-radius:13px;background:linear-gradient(135deg,#5b8fe8,#386bc6)}
html body.knowledge.knowledge .help-contact{padding:24px;margin-top:22px}
html body.knowledge.knowledge .help-item{padding:22px;margin-bottom:16px}
html body.knowledge.knowledge .help-item:hover{background:linear-gradient(135deg,#ffffffb3,#ffffff50)!important}
html body.knowledge.knowledge .help-detail{padding:30px;scroll-margin-top:100px}
html body.knowledge.knowledge :is(.help-item p,.help-guide>p,.help-contact>p,.help-empty p){color:#576e8b;font-size:14px}
html body.knowledge.knowledge :is(.help-item-meta,.help-meta,.help-guide li small,.help-contact b,.help-count){color:#617795;font-size:13px}
html body.knowledge.knowledge .help-body{color:#344d6c;font-size:15px}
html body.knowledge.knowledge .help-guide li b{font-size:14px;color:#3b587b}
html body[data-ui] .resource-nav{border-radius:22px;overflow:hidden}
html body[data-ui] .resource-nav a{background:transparent;border-color:#fff9}
html body[data-ui] .resource-nav a[aria-current=page]{background:linear-gradient(135deg,#ffffff9e,#c4dcfc55)}
html body[data-ui] .resource-nav a small{color:#5a718f;font-size:13px}
/* Registration, sign-in and account recovery. Validation and hidden states remain intact. */
html body.cloud-login.cloud-login .cloud-stage::before{display:none}
html body.cloud-login.cloud-login .cloud-intro{padding:28px;overflow:hidden}
html body.cloud-login.cloud-login .cloud-art{max-width:100%;margin:20px 0 0;width:100%}
html body.cloud-login.cloud-login .login-card{border-radius:26px!important}
html body.cloud-login.cloud-login :is(.field input:not([type=checkbox]):not([type=radio]),.recovery-code-row input){background:#ffffff40;border:1px solid #b9cee9;border-radius:12px;color:#263f61;box-shadow:inset 0 1px 0 #ffffffa3}
html body.cloud-login.cloud-login .field input:focus{border-color:#6698dc;box-shadow:0 0 0 3px #9cc0f23b}
html body.cloud-login.cloud-login :is(.login-sub,.cloud-description,.recovery-sub){color:#536c8b}
html body.cloud-login.cloud-login .btn{border-radius:13px;background:linear-gradient(135deg,#5088e4,#3466c7);box-shadow:0 6px 14px #3973ca21,inset 0 1px 0 #ffffff40}
html body.cloud-login.cloud-login .cap-trigger:not(.ok){border-radius:12px;background:#ffffff42;border-color:#bfd2ec;color:#4a6586}
html body.cloud-login.cloud-login .cloud-password-toggle{border-radius:10px}
html body.cloud-login.cloud-login :is(.cloud-otp-send,.recovery-code-row button,.recovery-methods button){border-radius:12px;background:#ffffff61;border-color:#b7cdea;color:#315e9d}
html body.cloud-login.cloud-login .recovery-aside{background:#e4edf957;border-color:#fff9;border-radius:18px}
html body.cloud-login.cloud-login :is(.login-foot,.cloud-role-nav){border-color:#bdd0e975}
html body.cloud-login.cloud-login .ql-login-icons .ql-login-icon{background:#ffffff80;border:1px solid #fff}
/* Readable footers at every width, including the cooperation block. */
html body[data-ui][data-ui]:is(.public-home,.managed-home,.knowledge,.docs-page,.cloud-login) :is(.ph-footer,.mh-footer,.help-footer,.foot,.cloud-footer){background:linear-gradient(125deg,#ffffff69,#dce8f85c)!important;border-top:1px solid #ffffffd4;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-size:14px!important;line-height:1.85;color:#4f6684!important}
html body.public-home.public-home .ph-footer-main{grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:32px}
html body[data-ui][data-ui] :is(.ph-footer,.mh-footer,.help-footer,.foot,.cloud-footer) :is(p,a,small,span){font-size:14px!important;line-height:1.85!important;color:#4f6684!important}
html body.public-home.public-home .ph-footer :is(h3,b){font-size:17px;font-weight:600;color:#314c70}
html body.public-home.public-home .ph-footer-bottom{font-size:13px;padding-block:24px}
html body.public-home.public-home .ph-footer-main>div>a:not(.ph-brand){display:block;padding-block:3px;margin-bottom:6px}
@media(max-width:1000px){html body.public-home.public-home .ph-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}html body.public-home.public-home .ph-contact{grid-column:auto;display:block}}
@media(max-width:800px){html body.docs-page.docs-page .side{top:64px;margin:0 0 20px;padding:0 16px;width:100%;max-height:calc(100dvh - 80px);border-radius:18px!important}html body.docs-page.docs-page .layout{padding:0 16px 24px}html body.docs-page.docs-page .sec{padding:20px 16px}html body.docs-page.docs-page .main>.hero{padding:24px 20px!important}html body.knowledge.knowledge .help-contact{margin-top:0}html body.public-home.public-home .ph-steps>li{padding:20px 16px}}
@media(max-width:560px){html body.knowledge.knowledge .help-detail{padding:23px 18px}html body.knowledge.knowledge .help-item{padding:18px}html body.public-home.public-home .ph-footer-main{gap:24px 18px}html body.public-home.public-home .ph-contact{grid-column:1/-1}html body.public-home.public-home .ph-footer-bottom{gap:12px}html body[data-ui][data-ui] :is(.ph-footer,.mh-footer,.help-footer,.foot,.cloud-footer) :is(p,a,small,span){font-size:13px!important}html body.cloud-login.cloud-login .login-card{padding-inline:24px}html body.public-home.public-home .ph-steps{gap:12px}}
@media(prefers-reduced-motion:reduce){html body[data-ui] .site-public-links a{transition:none}}
@supports not (backdrop-filter:blur(1px)){html body[data-ui][data-ui] :is(.ph-product-card,.ph-role-content,.ph-crystal-window,.resource-nav,.help-detail,.help-item,.help-guide,.help-contact,.login-card,.recovery-card,.docs-page .sec){background:#edf4fd!important}}
html body.knowledge.knowledge .help-article-end{font-size:14px;color:#536c8b}
html body.knowledge.knowledge .help-article-end span{font-size:14px}
html body[data-ui][data-ui] .ph-footer .site-brand-title{font-size:22px!important}
/* Legacy console-clean also styles public forms with !important. Override only these controls. */
html body.cloud-login.cloud-login .field input:not([type=checkbox]):not([type=radio]),html body.cloud-login.cloud-login .recovery-code-row input{background:#ffffff40!important;border:1px solid #b9cee9!important;border-radius:12px!important;color:#263f61!important;box-shadow:inset 0 1px 0 #ffffffa3!important}
html body.cloud-login.cloud-login .field input:focus{border-color:#6698dc!important;box-shadow:0 0 0 3px #9cc0f23b!important}
html body.cloud-login.cloud-login .login-card .btn,html body.managed-home.managed-home .mh-primary{background:linear-gradient(135deg,#5088e4,#3466c7)!important;border:1px solid #ffffff60!important;border-radius:13px!important;box-shadow:0 6px 14px #3973ca21,inset 0 1px 0 #ffffff40!important}
html body.cloud-login.cloud-login .login-sub{color:#536c8b!important}
html body.managed-home.managed-home .mh-secondary{background:#ffffff50!important;border:1px solid #ffffffb5!important;border-radius:13px!important}
