/* Staff appearance controls only; no editor/toolbar or public-site rules. */
.signin-theme-choice{min-width:0;border:0;margin:0 0 22px;padding:0}
.signin-theme-choice legend{padding:0;margin-bottom:9px;font-size:14px;font-weight:650}
.signin-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.signin-theme-options label{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px;border:1px solid #b6cce2;border-radius:10px;background:#f3f8fd;color:#174673;cursor:pointer;font-weight:650}
.signin-theme-options input{width:17px;height:17px;margin:0;accent-color:#0666c2}
.signin-theme-options label:has(input:checked){border-color:#0869c8;background:#e6f2ff;box-shadow:inset 0 -3px #ff8038}
.signin-theme-choice small{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:#52647d}
.etop-theme-dialog{box-sizing:border-box;width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #b9cde2;border-top:4px solid #ff8038;border-radius:18px;background:#fff;color:#183652;box-shadow:0 22px 70px #0005;font:16px/1.55 "Segoe UI",Arial,sans-serif}
.etop-theme-dialog::backdrop{background:#071425a6}
.etop-theme-dialog h2{margin:0 0 8px;color:inherit;font-size:24px;font-weight:750;line-height:1.3}
.etop-theme-dialog p{margin:0 0 20px;color:inherit;font:inherit}
.etop-theme-dialog .etop-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.etop-theme-dialog button{box-sizing:border-box;min-height:44px;padding:12px;border:1px solid #a9c4df;border-radius:11px;background:#edf5ff;color:#174673;font:650 16px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer}
.etop-theme-dialog button:focus-visible{outline:3px solid #ff8038;outline-offset:3px}
.etop-theme-dialog button:hover:not(:disabled){border-color:#0876cd}
.etop-theme-dialog button:disabled{opacity:.65;cursor:wait}
.etop-theme-dialog .etop-theme-later{display:block;margin:18px 0 0 auto;padding:8px 14px;background:transparent}
.etop-theme-sample{display:grid;gap:7px;margin-bottom:10px;padding:15px 10px;border:1px solid #acbfd2;border-radius:7px}
.etop-theme-sample i{display:block;height:8px;border-radius:3px}
.etop-theme-sample i:first-child{width:55%;background:#0869c8}
.etop-theme-sample-light{background:#f4f8ff}.etop-theme-sample-light i{background:#c5d6e8}
.etop-theme-sample-dark{background:#17253a}.etop-theme-sample-dark i{background:#536b87}
.etop-theme-dialog .etop-theme-dialog-status{margin-top:14px;font-size:14px}
.etop-theme-status{position:fixed;z-index:2147482100;box-sizing:border-box;right:16px;bottom:16px;max-width:min(420px,calc(100vw - 32px));padding:13px 16px;border:1px solid #6e96bd;border-left:4px solid #ff8038;border-radius:10px;background:#f0f7ff;color:#163c69;box-shadow:0 8px 25px #0003;font:14px/1.5 "Segoe UI",Arial,sans-serif}
.etop-theme-status[hidden],.etop-theme-dialog [hidden]{display:none!important}
html[data-ea-theme=dark] .etop-theme-dialog{background:#1d2d43;color:#eef5ff;border-color:#617d9d;border-top-color:#ff9659}
html[data-ea-theme=dark] .etop-theme-dialog button{background:#293e57;color:#eef5ff;border-color:#7295b9}
html[data-ea-theme=dark] .etop-theme-status{background:#24364f;color:#f0f6ff;border-color:#7195bc;border-left-color:#ff9659}
/* The sign-in, recovery and device screens share the same appearance. */
html[data-ea-theme=dark]:has(.signin-shell){color-scheme:dark;background:#142136;color:#eef5ff}
html[data-ea-theme=dark] body:has(.signin-shell){background:radial-gradient(ellipse at 10% 5%,#233d5d,transparent 65%),#142136;color:#eef5ff}
html[data-ea-theme=dark] .signin-shell .form-2{background:linear-gradient(150deg,#22354d,#1c2c43);border-color:#537192;border-top-color:#ff9659;color:#eef5ff}
html[data-ea-theme=dark] .signin-shell h1{color:#f1f7ff}
html[data-ea-theme=dark] .signin-shell :is(.signin-description,.signin-account-hint,.signin-password-toggle,.signin-back,.signin-theme-choice small){color:#c0d0e3}
html[data-ea-theme=dark] .signin-shell :is(.signin-field input,.signin-captcha input){background:#132237;color:#f5f8ff;border-color:#7894b3}
html[data-ea-theme=dark] .signin-shell :is(.signin-forgot,.signin-back:hover){color:#90caff}
html[data-ea-theme=dark] .signin-theme-options label{background:#293e57;color:#eaf3ff;border-color:#6a89ac}
html[data-ea-theme=dark] .signin-theme-options label:has(input:checked){background:#294f76;border-color:#8acbff}
html[data-ea-theme=dark] .signin-shell :is(.signin-captcha,.recovery-notice,.recovery-countdown){background:#243e59;border-color:#607e9d;color:#e8f3ff}
html[data-ea-theme=dark] .signin-shell :is(.signin-captcha legend,.recovery-countdown strong){color:#a1d3ff}
html[data-ea-theme=dark] .signin-shell :is(.recovery-error,.signin-message .error,.signin-message .alert-danger){background:#492e3a;color:#ffd1d6;border-color:#a97682}
@media(max-width:420px){.etop-theme-dialog{padding:20px}.etop-theme-dialog .etop-theme-options{gap:10px}}
