/* The Overlap studio sign-in (served at /client-login.html on the studio host).
   Only /theme.css, this file, /client-login.js, fonts and /assets/propane/* are
   reachable signed out. client-login.js sets html[data-theme] (light unless the
   visitor chose dark), so the light tokens are restated here. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #fafafa;
  --panel: #ffffff;
  --panel-2: #f2f2f2;
  --panel-soft: #f5f5f5;
  --line: #e2e2e2;
  --line-soft: #ebebeb;
  --line-strong: #c9c9c9;
  --text: #171717;
  --muted: #4d4d4d;
  --action: #171717;
  --action-hover: #000000;
  --on-action: #ffffff;
  --accent: #0060df;
  --focus: #0060df;
  --danger: #c50f1f;
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100vh; }

.ol-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; }
.ol-wordmark { display: block; width: 104px; height: auto; }
html[data-theme="light"] .ol-on-dark, html:not([data-theme="light"]) .ol-on-light { display: none; }
.ol-theme { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  color: var(--text); font: 500 var(--text-xs)/1 var(--font-ui); cursor: pointer; }
.ol-theme:hover { border-color: var(--line-strong); }

.ol-main { flex: 1; display: grid; place-items: center; padding: 24px 16px 64px; }
.ol-card { width: min(420px, 100%); padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: var(--panel); box-shadow: var(--shadow); }
.ol-tenant { margin: 0 0 12px; color: var(--text); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ol-card h1 { margin: 0; color: var(--text); font-size: var(--text-2xl); font-weight: 650; letter-spacing: -0.02em; }
.ol-lead { margin: 8px 0 24px; color: var(--text); font-size: var(--text-md); line-height: 1.5; }
.ol-google {
  display: flex; align-items: center; justify-content: center; width: 100%; height: var(--control-h-lg);
  border: 1px solid transparent; border-radius: var(--radius); background: var(--action); color: var(--on-action);
  font: 600 var(--text-md)/1 var(--font-ui); cursor: pointer;
}
.ol-google:hover:not(:disabled) { background: var(--action-hover); }
.ol-google:disabled { opacity: 0.6; cursor: wait; }
.ol-google:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ol-error { min-height: 1.4em; margin: 10px 0 0; color: var(--danger); font-size: var(--text-sm); }
.ol-error:empty { min-height: 0; margin: 0; }
.ol-note { margin: 0 0 16px; color: var(--text); font-size: var(--text-sm); line-height: 1.5; }
#returning-login { margin: 14px 0 0; }
.ol-note a { color: var(--accent); }
.ol-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text); font-size: var(--text-sm); }
[hidden] { display: none !important; }
