/* Studio OS 1.7 — login DAY/NIGHT visual coherence.
   This theme intentionally affects only the authentication entrance.
   The operational Studio UI keeps its existing visual treatment. */
.auth-theme-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-8px 0 22px;padding-bottom:14px;border-bottom:1px solid var(--auth-line,#d6cbbf);font:8px var(--mono);letter-spacing:.14em;color:var(--auth-muted,#71685f)}
.auth-theme-segment{display:flex;align-items:center;border:1px solid var(--auth-line,#d6cbbf);padding:2px;gap:2px;background:var(--auth-segment,#eee7dd)}
.auth-theme-segment button{border:0;background:transparent;color:var(--auth-muted,#71685f);padding:7px 10px;font:8px var(--mono);letter-spacing:.08em;cursor:pointer}
.auth-theme-segment button[aria-pressed="true"]{background:var(--orange);color:#15110d}
.auth-theme-segment button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}

/* DAY is the default when no preference has been saved. */
.auth-screen[data-auth-theme="day"]{--auth-bg:#f2ede6;--auth-panel:rgba(250,246,239,.9);--auth-ink:#171513;--auth-muted:#756d64;--auth-line:#cec3b6;--auth-field:#fffaf3;--auth-field-line:#c8bcaf;--auth-shadow:rgba(76,57,41,.16);--auth-grid:rgba(38,31,26,.055);--auth-segment:#e8e0d6;background:#f2ede6!important;color:#171513!important}
.auth-screen[data-auth-theme="day"] .v07-auth-art{background:radial-gradient(circle at 50% 25%,rgba(242,101,34,.18),transparent 30%),linear-gradient(180deg,#f6f0e8 0%,#e9e0d5 100%)!important;color:#171513!important}
.auth-screen[data-auth-theme="day"] .v07-auth-art:before{background-image:linear-gradient(var(--auth-grid) 1px,transparent 1px),linear-gradient(90deg,var(--auth-grid) 1px,transparent 1px);opacity:.82}
.auth-screen[data-auth-theme="day"] .v07-auth-art .micro:first-child{color:#746a60!important}.auth-screen[data-auth-theme="day"] .v07-auth-art .micro:last-child{color:#958b81!important}
.auth-screen[data-auth-theme="day"] .v07-auth-art .auth-tag{color:#75685d!important;opacity:.13!important}.auth-screen[data-auth-theme="day"] .v07-auth-art .auth-tag em{color:#f26522!important;opacity:1}
.auth-screen[data-auth-theme="day"] .auth-form{border-color:var(--auth-line)!important;background:var(--auth-panel)!important;box-shadow:0 36px 110px var(--auth-shadow)!important;color:var(--auth-ink)!important}
.auth-screen[data-auth-theme="day"] .auth-form:before{color:#81766c!important}.auth-screen[data-auth-theme="day"] .auth-form>p{color:#70675f!important}.auth-screen[data-auth-theme="day"] .auth-form label{color:#675e56!important}
.auth-screen[data-auth-theme="day"] .auth-form input,.auth-screen[data-auth-theme="day"] .auth-form select,.auth-screen[data-auth-theme="day"] .auth-form textarea{background:var(--auth-field)!important;border-color:var(--auth-field-line)!important;color:#171513!important}
.auth-screen[data-auth-theme="day"] .auth-form input::placeholder{color:#a2988e!important}.auth-screen[data-auth-theme="day"] .auth-form>.text-button,.auth-screen[data-auth-theme="day"] .client-key-head .text-button{color:#514a44!important}
.auth-screen[data-auth-theme="day"] .auth-form>a{color:#766d64!important}.auth-screen[data-auth-theme="day"] .client-key-form{border-top-color:var(--auth-line)!important}
.auth-screen[data-auth-theme="day"] .v101-invite-note{background:#eee7de!important;color:#675f57!important;border-left-color:#9c9085!important}
.auth-screen[data-auth-theme="day"] .auth-form #authError:not(:empty){background:rgba(242,101,34,.08)!important;color:#9d441d!important}

.auth-screen[data-auth-theme="night"]{--auth-bg:#080808;--auth-panel:rgba(15,15,15,.84);--auth-ink:#f3eee7;--auth-muted:#938a82;--auth-line:#2b2927;--auth-field:#161514;--auth-field-line:#37322e;--auth-shadow:rgba(0,0,0,.52);--auth-grid:rgba(255,255,255,.025);--auth-segment:#151514;background:#080808!important;color:#f3eee7!important}
.auth-screen[data-auth-theme="night"] .v07-auth-art{background:radial-gradient(circle at 50% 26%,rgba(242,101,34,.12),transparent 29%),linear-gradient(180deg,#0b0b0b 0%,#080808 100%)!important;color:#eee!important}
.auth-screen[data-auth-theme="night"] .auth-theme-bar{color:#8b8178;border-bottom-color:#302d2a}
.auth-screen[data-auth-theme="night"] .auth-theme-segment{background:#151514;border-color:#3b3733}.auth-screen[data-auth-theme="night"] .auth-theme-segment button{color:#9a9087}

@media(max-width:650px){.auth-theme-bar{margin-top:0}.auth-theme-bar>span{display:none}.auth-theme-segment{margin-left:auto}}
