/* Claude05 F36 card and states, adapted to the shared Claude12 core tokens.
   Auth controls keep their existing IDs and controller; no prototype verification or sending logic. */
*{box-sizing:border-box}
[hidden]{display:none!important}
body.rb-auth-shell{margin:0;min-height:100dvh;height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;font-size:16px;line-height:1.5}
.rb-auth-shell #login{width:100%;max-width:560px;margin:0 auto;padding:clamp(32px,8vh,88px) 24px 40px;flex:1}
.rb-auth-brand{font:700 24px/1.2 var(--rb-display);letter-spacing:-.04em;margin:0 0 42px;color:var(--rb-text)}
.rb-auth-title{font-size:clamp(29px,6vw,38px);line-height:1.1;letter-spacing:-.035em;margin:0 0 28px}
.rb-auth-card{padding:24px;border:1px solid var(--rb-line);border-radius:20px;background:var(--rb-surface)}
.rb-auth-destination{margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid var(--rb-line);overflow-wrap:anywhere}
.rb-auth-destination>a{font-weight:600}
.rb-auth-destination p{font-size:14px;line-height:1.5;color:var(--rb-muted);margin:4px 0 0}
.rb-auth-destination button{margin-top:12px}
.rb-auth-destination button[aria-disabled=true]{opacity:.55;cursor:wait}
.rb-auth-card label{display:block;font-weight:600;margin:0 0 8px}
.rb-auth-card input{font:inherit;width:100%;min-width:0;min-height:52px;padding:12px 14px;background:var(--rb-bg)}
.rb-auth-card input::placeholder{color:var(--rb-faint)}
.rb-auth-card input[aria-invalid=true]{border:2px solid #f5a193}
.rb-auth-card #email-error{font-size:14px;line-height:1.5;color:#f5a193;margin:12px 0 0}
.rb-auth-card button{font:600 16px/1.4 "Hanken Grotesk",system-ui,sans-serif;min-height:48px;padding:12px 18px;cursor:pointer;border-width:1px;border-style:solid}
.rb-auth-card #send{width:100%;margin-top:16px}
.rb-auth-card #send.secondary{background:var(--rb-raised);color:var(--rb-text);border-color:var(--rb-line-strong)}
.rb-auth-card #send[aria-disabled=true]{opacity:.55;cursor:wait}
.rb-auth-card button:disabled{cursor:wait}
.rb-auth-card #message:empty{display:none}
.rb-auth-card #message{font-size:14px;line-height:1.5;color:var(--rb-muted);margin:18px 0 0;overflow-wrap:anywhere}
.rb-auth-card #error{font-size:14px;line-height:1.5;color:#f5a193;margin:12px 0 0;overflow-wrap:anywhere}
.rb-auth-card #error:empty{display:none}
.rb-auth-card #retry-access{margin-top:16px;width:100%}
.rb-auth-help{font-size:14px;margin:16px 8px 0}
.rb-auth-shell #account{position:static;inset:auto;width:100%;display:none;flex:0 0 auto;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:8px 20px;border-bottom:1px solid var(--rb-line);background:var(--rb-bg);font-size:14px}
.rb-auth-shell #identity{overflow-wrap:anywhere;min-width:0}
.rb-auth-shell #account>div{display:flex;gap:8px;flex-wrap:wrap}
.rb-auth-shell #account button{font:600 14px/1.4 "Hanken Grotesk",system-ui,sans-serif;padding:8px 12px;min-height:44px;border:1px solid var(--rb-line-strong);cursor:pointer}
.rb-auth-shell #journal{display:none;flex:1 1 auto;min-height:200px;width:100%;height:0;border:0;background:var(--rb-bg)}
.rb-auth-shell #notice{display:none;flex:0 0 auto;padding:12px 20px;background:#33290f;color:#e9c46a;font-size:14px}
.rb-auth-shell #notice button{font:inherit;margin:8px 0 0 10px;min-height:44px;padding:8px 12px;cursor:pointer}
.rb-auth-shell #versions{position:fixed;inset:10% max(16px,calc((100vw - 560px)/2));z-index:50;background:var(--rb-surface);color:var(--rb-text);border:1px solid var(--rb-line-strong);border-radius:20px;padding:24px;overflow:auto;box-shadow:0 20px 60px #0006}
.rb-auth-shell #versions h2{font:700 24px/1.2 var(--rb-display);text-transform:none;letter-spacing:0;color:var(--rb-text)}
.rb-auth-shell #versions button{font:inherit;margin:6px;min-height:44px;padding:8px 12px;cursor:pointer}
@media(max-width:480px){.rb-auth-shell #login{padding:32px 16px 32px}.rb-auth-brand{margin-bottom:32px}.rb-auth-title{margin-bottom:24px}.rb-auth-card{padding:20px}.rb-auth-shell #account{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.rb-auth-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.rb-auth-card,.rb-auth-shell #versions,.rb-auth-shell #notice{background:Canvas;color:CanvasText;border:1px solid CanvasText}.rb-auth-card #error{color:CanvasText}}
