.wb-login, .wb-connections { color: #202e29; border: 1px solid #d3ded6; font: 15px/1.55 'Segoe UI', sans-serif; padding: 0; }
.wb-login::backdrop { background: #eef1eb; }
.wb-login { width: min(1060px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); border-radius: 24px; box-shadow: 0 24px 80px #1f3b2714; overflow: auto; background: #fffefb; }
.wb-login[open] { display: grid; grid-template-columns: 1.1fr 1fr; }
.wb-login-story { min-height: 580px; padding: 44px; background: #14382e; color: #f5f8ed; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; position: relative; overflow: hidden; }
.wb-login-story::after { content: ''; width: 280px; height: 280px; border: 1px solid #c9e6a22b; border-radius: 50%; position: absolute; right: -140px; top: 50px; box-shadow: 0 0 0 36px #c9e6a208, 0 0 0 72px #c9e6a205; pointer-events: none; }
.wb-wordmark { color: inherit; font-size: 32px; font-weight: 650; letter-spacing: -1.5px; text-decoration: none; }
.wb-wordmark span { display: inline-block; margin-left: 16px; font-size: 10px; letter-spacing: 3px; font-weight: 400; vertical-align: middle; color: #b9d0be; }
.wb-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 650; }
.wb-login-story .wb-eyebrow { color: #bfd6aa; }
.wb-login-story h1 { font-size: clamp(32px, 3vw, 44px); line-height: 1.13; letter-spacing: -1.5px; margin: 18px 0 22px; font-weight: 500; }
.wb-login-story p { color: #c5d3cb; line-height: 1.7; max-width: 360px; font-size: 14px; }
.wb-login-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 13px; font-size: 12px; color: #d7e2d5; }
.wb-login-steps li { counter-increment: step; display: flex; align-items: center; gap: 13px; }
.wb-login-steps li::before { content: '0' counter(step); color: #abc49e; font-size: 10px; border: 1px solid #ffffff26; border-radius: 50%; width: 27px; height: 27px; display: grid; place-items: center; }
.wb-login-entry { padding: 56px 44px; align-self: center; }
.wb-login-entry .wb-eyebrow { color: #6f7d69; }
.wb-login-entry h2 { font-size: 28px; line-height: 1.2; margin: 16px 0; font-weight: 600; letter-spacing: -.7px; }
.wb-login-entry > p { color: #647169; font-size: 14px; }
.wb-login form { margin-top: 32px; }
.wb-login label, .wb-connections label { display: block; font-size: 13px; font-weight: 600; margin: 15px 0 7px; }
.wb-login input, .wb-connections input, .wb-connections select { width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #acbdae; border-radius: 8px; padding: 10px 12px; background: #fff; color: #243b2f; font: inherit; margin-top: 6px; }
.wb-login :focus-visible, .wb-connections :focus-visible, .wb-connection-button:focus-visible { outline: 3px solid #91ab53; outline-offset: 3px; }
.wb-login .wb-help { font-size: 12px; line-height: 1.65; color: #6b756c; margin: 12px 0; }
.wb-login .wb-error { min-height: 24px; font-size: 13px; color: #9c382b; margin: 8px 0 16px; }
.wb-primary, .wb-secondary { border-radius: 9px; padding: 11px 16px; min-height: 44px; border: 1px solid #c0cec0; font: inherit; font-weight: 600; cursor: pointer; }
.wb-primary { color: #f5f8ec; background: #234b38; border-color: #234b38; }
.wb-primary:hover { background: #17392a; }
.wb-secondary { color: #284835; background: #f4f7f0; }
.wb-primary:disabled, .wb-secondary:disabled { opacity: .5; cursor: default; }
.wb-login .wb-primary { width: 100%; display: flex; justify-content: space-between; text-align: left; gap: 16px; font-size: 13px; }
.wb-login-entry .wb-login-footnote { font-size: 12px; margin-top: 32px; color: #778172; line-height: 1.8; }
.wb-connections { width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); border-radius: 20px; background: #fffefb; }
.wb-connections::backdrop { background: #132b2380; }
.wb-connections > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid #e0e6db; }
.wb-connections h2 { font-size: 22px; margin: 0; }
.wb-connections h3 { font-size: 16px; margin: 0 0 8px; }
.wb-connections-body { padding: 24px 28px 32px; }
.wb-connections p { font-size: 13px; color: #606e63; }
.wb-ai-default { padding: 20px; background: #f1f4ec; border: 1px solid #dde4d5; border-radius: 12px; margin-bottom: 28px; }
.wb-verification { padding: 12px 0; }
.wb-ai-status { border-left: 3px solid #ab8546; padding-left: 12px; }
.wb-ai-status[data-state=verified] { border-color: #448455; }
.wb-ai-status[data-state=blocked] { border-color: #a64230; }
.wb-ai-status small { display: block; margin-top: 8px; font-size: 11px; }
.wb-provider-body form .wb-primary { margin-top: 20px; }
.wb-form-message { min-height: 20px; }
.wb-connection-button { font: inherit; font-size: 11px; white-space: nowrap; color: #314d37; background: #f4f6ec; border: 1px solid #cad5bb; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.wb-connection-button[data-state=blocked] { color: #913d2f; background: #fff4ea; }
@media (max-width: 1100px) {
  .workspace-topbar .workspace-topbar-badges { display: flex; flex-shrink: 0; }
  .workspace-topbar-badges > span { display: none; }
}
@media (max-width: 720px) {
  .workspace-topbar { flex-wrap: wrap; gap: 8px; }
  .workspace-topbar .workspace-topbar-badges { width: 100%; justify-content: flex-end; }
  .wb-login { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; }
  .wb-login[open] { display: block; }
  .wb-login-story { min-height: auto; padding: 22px 26px; gap: 24px; }
  .wb-login-story h1 { font-size: 29px; margin: 10px 0 4px; }
  .wb-login-story h1 br { display: none; }
  .wb-login-story p, .wb-login-steps { display: none; }
  .wb-login-entry { padding: 28px 26px; }
  .wb-login-entry h2 { font-size: 24px; }
  .wb-login form { margin-top: 22px; }
  .wb-login-entry .wb-login-footnote { margin-top: 20px; }
  .wb-connections > header, .wb-connections-body { padding: 18px; }
  .wb-connections h2 { font-size: 19px; }
}
