/* telaHuddle's own colours, from its logo: Huddle indigo with the orange spark. Loaded after the shared brand sheet. */
:root{--accent:#4a3be0;--accent-strong:#3727be;--accent-soft:#eeecff;--ink:#1c1a33;--spark:#ff6b35}
.login-story{background:#eeecff}
.login-story:after{border-color:#d3cefa;box-shadow:0 0 0 55px #e2defd,0 0 0 56px #d3cefa}
.button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline-color:#4a3be090}
.composer{border-color:#d9d5f5}
.hashtag-pill:hover,.hashtag-pill.active{border-color:#9c93f0}
body.dark{--accent:#a9a1ff;--accent-strong:#c4beff;--accent-soft:#27224f;--ink:#eeedf8;--spark:#ff8a5c}
body.dark .button.primary{background:#5a4bf0;border-color:#5a4bf0;color:#fff}
body.dark .button.primary:hover{background:#6a5cff;border-color:#6a5cff}
body.dark .login-story{background:#1d1a3c}
body.dark .login-story:after{border-color:#3d3870;box-shadow:0 0 0 55px #24204a,0 0 0 56px #3d3870}
body.dark .composer{border-color:#3d3870}
@media(max-width:760px){.login-story{background:#eeecff}body.dark .login-story{background:#1d1a3c}}
.login-story-copy p,.login-stage{color:#57546f}
body.dark .login-story-copy p,body.dark .login-stage{color:#b6b3cf}
.composer:focus-within{border-color:#8c82f0;box-shadow:0 0 0 2px #4a3be018}
.callout,.notice.success{border-color:#d3cefa}
body.dark .callout,body.dark .notice.success{border-color:#3d3870}
/* Error pages: one calm card, the way back, nothing else. */
.error-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:var(--canvas,#f6f6fb)}
.error-shell{display:grid;justify-items:center;gap:10px;width:min(440px,100%);padding:36px 28px;border:1px solid #e6e4f2;border-radius:20px;background:#fff;text-align:center;box-shadow:0 10px 30px rgba(27,23,69,.08)}
.error-shell .brand{margin-bottom:10px}
.error-shell h1{margin:0;font-size:24px}
.error-shell p{margin:0 0 8px;line-height:1.5}
.error-actions{display:flex;gap:8px}
body.dark.error-page{background:#0f0e1a}
body.dark .error-shell{border-color:#2c2a48;background:#171628}
.error-actions .button{text-decoration:none}

/* Tick boxes and choices in forms keep their natural size. The shared form style stretches every input like a
   text box (full width, 44px tall), which made radio buttons and checkboxes huge; this undoes it for them only. */
form.security-form input:is([type="radio"], [type="checkbox"]) {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: none;
    border-radius: revert;
    accent-color: var(--accent, #4a3be0);
    cursor: pointer;
}

/* Sign-in page: who owns the product, under the installation's own name. */
.login-owner { display: inline-block; margin-top: 4px; opacity: .85; }
