/* Account popup and public navigation use the same sky palette as the API workspace. */
[hidden]{display:none!important}
body{background:#fff;min-width:0}
#homePage>header{position:relative;z-index:2}
#homePage nav .brand{display:block}
#homePage nav a{white-space:nowrap}
#homePage nav .brand{color:#142539;font-size:24px}
#login{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#homePage .search button,#homePage .login{background:#007bc2}
#homePage h2{line-height:1.35}
#homePage .hero .wrap{position:relative}
#homePage .hero{background:linear-gradient(155deg,#b2e2f8 0%,#d5f0fc 52%,#f4fbff 100%)}
#homePage .sky{height:min(100%,940px)}
#homePage .fade{background:linear-gradient(0deg,#fff 0%,#ffffff75 15%,#ffffff00 48%),linear-gradient(90deg,#f8fdff96 0%,#f8fdff65 42%,#f8fdff00 74%)}
#homePage .card .art svg{display:block}
.home-update-badge{position:absolute;right:14px;top:13px;z-index:1;padding:5px 9px;border:1px solid #cfe3f3;border-radius:20px;background:#f3f9ff;color:#496a87;font-size:10px;font-weight:650;line-height:1.4}
html[data-theme=dark] .home-update-badge{background:#20354c;color:#c0d7ed;border-color:#415b75}
.home-service-panel{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:30px;border:1px solid #d3e8f7;border-radius:16px;padding:28px;background:linear-gradient(120deg,#f2faff,#fff)}
.home-service-panel h2{margin:12px 0;font-size:25px}
.home-service-panel p{line-height:1.8;margin-bottom:0}
.home-service-links{display:flex;flex-direction:column;gap:9px}
.home-service-links a{display:flex;justify-content:space-between;text-decoration:none;color:#0079bc;background:white;border:1px solid #d0e7f6;border-radius:10px;padding:14px 16px;font-size:13px}
.home-service-links a:hover{background:#eaf7ff;border-color:#9bd6f5}
#homePage>footer{max-width:1180px;margin:auto;align-items:center;gap:16px;flex-wrap:wrap;line-height:1.6}
dialog{width:min(560px,calc(100vw - 30px));max-height:90dvh;overflow-y:auto;padding:34px;border:1px solid #cbe4f6;background:#fff;color:#18374e;box-shadow:0 30px 100px #0a568c26;position:fixed}
dialog::backdrop{background:#10365052;backdrop-filter:blur(5px)}
.dialog-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:50%;background:#f0f8ff;color:#3b7397;font-size:23px;line-height:1}
.dialog-eyebrow{font-size:10px;font-weight:700;color:#007fc4;letter-spacing:1.7px;margin-bottom:13px}
.dialog-title{font-size:29px;margin:12px 0;color:#15374f;letter-spacing:-.7px}
.dialog-copy{font-size:13px;color:#526e85;line-height:1.9;margin:14px 0 20px}
.button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:12px 16px;border:1px solid transparent;text-decoration:none;font:600 13px/1.5 Inter,Arial,sans-serif;cursor:pointer;gap:8px}
.button.dark{background:#007bc2;color:white;border-color:#007bc2}
.button.outline{background:white;color:#0079bd;border-color:#c4e1f5}
.button:hover{filter:brightness(.97)}
.button.wide{width:100%}
button:disabled{cursor:not-allowed;opacity:.55}
.form-field{display:block;font-size:12px;font-weight:600;color:#526e85;margin-bottom:15px}
dialog .form-field input,dialog .form-field textarea,dialog .form-field select{display:block;width:100%;margin:7px 0 0;padding:12px 13px;border:1px solid #cce3f4;border-radius:9px;background:#fbfdff;color:#163b56;font:14px Inter,Arial,sans-serif;min-width:0}
.form-field input:focus{outline:2px solid #44a9e4;outline-offset:1px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-error{padding:12px;border:1px solid #f0c3cd;border-radius:8px;background:#fff0f3;color:#b32c45;font-size:12px;line-height:1.8}
.form-error.is-success{background:#eaf6ee;border-color:#a8d6b7;color:#186c43}
.form-hint{font-size:11px;color:#526e85;line-height:1.9;margin:13px 0 0}
.text-button{padding:0;border:0;background:transparent;font-size:12px;color:#007fc4;line-height:1.8;text-align:left}
.help-links{display:flex;gap:10px;flex-wrap:wrap}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;padding:13px 20px;border-radius:11px;background:#123e5c;color:#fff;box-shadow:0 8px 30px #126a9d26;font-size:13px;z-index:1000}
.empty-state{text-align:center;padding:25px;color:#55758d;font-size:13px;line-height:1.8}
.cbt-auth-tabs{display:flex;gap:6px;background:#edf7ff;padding:5px;border-radius:12px;margin:20px 0}
.cbt-auth-tabs button{border:0;background:transparent;flex:1;padding:11px;border-radius:9px;font:inherit;font-weight:650;color:#55738d;cursor:pointer}
.cbt-auth-tabs button.active{background:#fff;color:#007cc1;box-shadow:0 2px 8px #1573af12}
.cbt-auth .form-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:20px}
.cbt-auth-divider{height:1px;background:#dcecf7;margin:24px 0;position:relative;text-align:center}
.cbt-auth-divider span{position:relative;top:-10px;background:#fff;padding:0 14px;font-size:12px;color:#61819a}
.cbt-google{gap:10px;justify-content:center;display:flex!important;align-items:center}
.cbt-google svg{width:20px;height:20px;flex:none}
.cbt-auth-captcha{margin:14px 0;min-height:65px;max-width:100%;overflow:hidden}
.cbt-email-verify{border:1px solid #cce6f6;background:#f2faff;border-radius:12px;padding:14px;margin:15px 0}
.cbt-email-verify .form-field{margin:14px 0 0}
.cbt-consent{display:flex;gap:10px;font-size:12px;line-height:1.8;margin:13px 0;color:#506e86}
dialog .cbt-consent input{display:block;width:17px;height:17px;flex:none;margin:3px 0 0;padding:0;accent-color:#008bdc}
.cbt-consent a{color:#0079bf;text-decoration:underline}
@media(max-width:760px){.home-service-panel{grid-template-columns:1fr;padding:21px;gap:20px}.home-service-panel h2{font-size:23px}dialog{padding:30px 22px}.form-grid{grid-template-columns:1fr;gap:0}#login{max-width:180px;font-size:12px}.search button{white-space:nowrap;padding:10px 13px;font-size:13px}}
@media(max-width:650px){#homePage>header nav{display:grid;grid-template-columns:.8fr .9fr .8fr 1.5fr;gap:16px 8px;padding:16px}#homePage>header nav .brand{grid-column:1/3;grid-row:1;margin:0;font-size:22px}#homePage>header nav> a:not(.brand){grid-row:2;font-size:11px;text-align:center}#homePage>header #login{grid-column:3/5;grid-row:1;justify-self:end;max-width:150px;padding:10px 13px}}
