@font-face { font-family: Lato; font-weight: 400; font-display: swap; src: url("/browser/fonts/Lato-Regular.ttf") format("truetype"); }
@font-face { font-family: Lato; font-weight: 700; font-display: swap; src: url("/browser/fonts/Lato-Bold.ttf") format("truetype"); }
:root { color-scheme: light; font-family: Lato, system-ui, "Segoe UI", sans-serif; background: #f7f9ff; color: #091d2e; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f7f9ff; }
.shell { max-width: 860px; margin: auto; padding: 0 28px 48px; }
.masthead { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce4e8; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #004149; color: #fff; font-size: 17px; }
button, select { font: inherit; }
.quiet { border: 0; background: transparent; color: #004149; cursor: pointer; padding: 9px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.quiet[hidden] { display: none; }
.hero { padding: 70px 0 30px; }
.eyebrow { color: #004149; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 14px 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.13; letter-spacing: -.045em; }
.intro { color: #40484d; font-size: 17px; line-height: 1.6; }
.card { padding: 30px; border: 1px solid #dce4e8; border-radius: 12px; background: #fff; box-shadow: none; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.selector-row { display: flex; gap: 12px; }
select { min-width: 0; flex: 1; border: 1px solid #c1c7cd; border-radius: 9px; padding: 12px 14px; background: white; color: #091d2e; }
select:focus-visible, button:focus-visible { outline: 3px solid #006a61; outline-offset: 2px; }
#open { border: 0; border-radius: 9px; padding: 12px 25px; min-width: 110px; color: white; background: #004149; font-weight: 700; cursor: pointer; }
#open:disabled { background: #9aa7ad; cursor: default; }
.sign-in { display: inline-block; margin-top: 18px; border-radius: 9px; padding: 11px 20px; color: white; background: #004149; font-weight: 700; text-decoration: none; }
.sign-in[hidden] { display: none; }
.status { margin-top: 28px; padding: 21px; border-radius: 11px; background: #edf4ff; display: flex; gap: 14px; align-items: flex-start; }
.status[data-state="error"] { background: #fff0ed; }
.pulse { margin-top: 4px; width: 11px; height: 11px; border-radius: 50%; background: #006a61; box-shadow: 0 0 0 5px #006a6129; flex: none; }
.status[data-state="error"] .pulse { background: #b45843; box-shadow: 0 0 0 5px #b4584329; }
.status strong { font-size: 15px; }
.status p { margin: 6px 0 0; color: #40484d; font-size: 14px; line-height: 1.5; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps li { border-top: 3px solid #dce4e8; padding-top: 11px; color: #40484d; font-size: 12px; line-height: 1.35; }
.steps li.done { border-color: #006a61; color: #004149; }
.steps li.active { border-color: #004149; color: #091d2e; font-weight: 700; }
.footer { margin-top: 22px; color: #40484d; font-size: 12px; }
@media (max-width: 560px) { .shell { padding: 0 18px 36px; } .hero { padding-top: 48px; } .card { padding: 20px; } .selector-row { flex-direction: column; } .steps { grid-template-columns: repeat(2, 1fr); } }
/* Two exclusive views: sign-in card when signed out, customer workspace otherwise. */
.signin-card { display: none; max-width: 30rem; margin: 12vh auto 0; text-align: center; }
.signin-card .brand-mark { margin: 0 auto 18px; width: 44px; height: 44px; font-size: 22px; border-radius: 11px; }
.signin-card h1 { font-size: clamp(24px, 4vw, 30px); margin: 0 0 12px; }
.signin-card .intro { margin: 0 0 24px; font-size: 16px; }
.signin-card .sign-in { display: block; margin: 0; padding: 14px 20px; font-size: 16px; }
.signin-card .sign-in + .sign-in { margin-top: 12px; }
.notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #fff0ed; color: #5b2a1f; font-size: 14px; text-align: left; }
.notice[hidden] { display: none; }
[data-view="signin"] .signin-card { display: block; }
[data-view="signin"] .hero, [data-view="signin"] #workspace-card, [data-view="signin"] #mcp-grants-section,
[data-view="signin"] .footer { display: none; }
@media (max-width: 560px) { .signin-card { margin-top: 6vh; } }
