:root { color-scheme: light; font-family: Inter, ui-rounded, "Segoe UI", sans-serif; color: #2c211d; background: #f8f3eb; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100dvh; background: radial-gradient(circle at 20% 10%, #fff 0, #f8f3eb 45%, #eadfd3 100%); }
.landing { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.card { width: min(100%, 450px); padding: clamp(32px, 7vw, 56px); border: 1px solid rgba(74,51,42,.1); border-radius: 30px; background: rgba(255,255,255,.78); box-shadow: 0 28px 80px rgba(70,43,29,.13); backdrop-filter: blur(16px); text-align: center; }
.mark, .small-mark { display: inline-grid; place-items: center; color: white; background: #bd2431; font-family: Georgia, serif; font-weight: 700; }
.mark { width: 72px; height: 72px; border-radius: 24px; font-size: 42px; box-shadow: 0 10px 28px rgba(189,36,49,.25); }
.small-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 18px; }
.eyebrow { margin: 28px 0 9px; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #8c6b5e; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 7vw, 52px); line-height: 1.02; letter-spacing: -.035em; }
.intro { margin: 20px auto 30px; max-width: 34ch; color: #705c54; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; color: white; background: #bd2431; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(189,36,49,.2); }
.button:hover { background: #a91d29; }
.button[aria-disabled="true"], .button:disabled { pointer-events: none; opacity: .48; box-shadow: none; }
.note { min-height: 20px; margin: 17px 0 0; color: #806e66; font-size: 14px; }
.pilot-note { margin: 18px 0 0; color: #927d73; font-size: 12px; line-height: 1.45; }
.pilot-login { display: grid; gap: 14px; margin-top: 24px; text-align: left; }
.pilot-login label { display: grid; gap: 6px; color: #705c54; font-size: 13px; font-weight: 700; }
.pilot-login input { width: 100%; min-height: 46px; border: 1px solid #d9cac1; border-radius: 13px; padding: 0 14px; background: #fff; color: #2c211d; font: inherit; }
.pilot-login .button { margin-top: 4px; }
.workspace { height: 100dvh; display: grid; grid-template-rows: 56px 1fr; background: #161413; }
.workspace[hidden], [hidden] { display: none !important; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; color: #f8f3eb; background: #251f1c; border-bottom: 1px solid #3a302b; }
.brand, .account, .workspace-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand { font-weight: 750; }
.account { color: #cdbfb8; font-size: 13px; }
#email { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-button { border: 0; color: #f6d9dc; background: transparent; font: inherit; cursor: pointer; padding: 10px; }
.workspace-actions { margin-left: auto; }
.help { position: relative; }
.help summary { list-style: none; color: #f6d9dc; cursor: pointer; padding: 10px; font-size: 13px; }
.help summary::-webkit-details-marker { display: none; }
.help-card { position: absolute; z-index: 5; top: 42px; right: 0; width: min(360px, calc(100vw - 24px)); padding: 18px; border: 1px solid #4b3d37; border-radius: 15px; color: #f8f3eb; background: #302824; box-shadow: 0 18px 45px rgba(0,0,0,.4); line-height: 1.45; }
.help-card p { margin: 10px 0 0; color: #d8cac3; font-size: 13px; }
.start-panel { align-self: center; justify-self: center; max-width: 520px; padding: 30px; color: #f8f3eb; text-align: center; }
.start-panel h1 { font-size: clamp(34px, 6vw, 58px); }
.start-panel p { color: #cdbfb8; line-height: 1.6; }
.instructions { max-width: 48ch; margin: 20px auto 26px; padding: 14px 18px; border: 1px solid #403632; border-radius: 16px; text-align: left; }
.instructions p { margin: 8px 0; font-size: 14px; }
.browser-shell { position: relative; min-height: 0; overflow: hidden; background: #111; }
iframe { width: 100%; height: 100%; border: 0; background: #111; }
.reconnect { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; color: white; background: rgba(22,20,19,.9); text-align: center; }
@media (max-width: 700px) { .workspace { grid-template-rows: 50px 1fr; } .brand span:last-child, #email { display: none; } header { padding: 0 5px 0 8px; } .workspace-actions, .account { gap: 0; } .text-button, .help summary { padding: 8px 6px; font-size: 12px; } }
