:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #242424;
  background: #fff;
  --secondary: #595959;
  --line: rgba(36, 36, 36, .1);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 40px 20px; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #595959; outline-offset: 4px; border-radius: 4px; }
.login-shell { width: min(100%, 440px); min-width: 0; overflow-wrap: anywhere; }
.login-card { border: 1px solid var(--line); border-radius: 12px; padding: 32px; background: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; }
.brand img { display: block; flex: 0 0 40px; }
.introduction { margin: 30px 0 26px; }
h1 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; text-wrap: balance; hyphens: auto; }
p { margin: 0; }
.introduction p { color: var(--secondary); font-size: .9375rem; }
.sso-button { width: 100%; min-height: 46px; display: flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid #242424; border-radius: 6px; padding: 12px 14px; background: #242424; color: #fff; font: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.sso-button svg { flex: 0 0 18px; }
a.sso-button:hover { background: #404040; border-color: #404040; }
.sso-button:disabled { background: #f0f0f0; border-color: var(--line); color: #6b6b6b; cursor: not-allowed; }
.access-note { margin-top: 16px; font-size: .875rem; color: var(--secondary); }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.error { margin-bottom: 18px; border-color: rgba(159, 45, 37, .2); color: #922d26; background: #fff8f7; }
.preparing { margin-top: 16px; color: var(--secondary); background: #fafafa; }
.preparing strong { display: block; color: #242424; font-weight: 500; margin-bottom: 4px; }
.service-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--secondary); font-size: .8125rem; }
.service-links a, .language-links a, .admin-link a { text-decoration: none; padding: 4px 0; }
.service-links a:hover, .language-links a:hover, .admin-link a:hover { text-decoration: underline; }
.admin-link { margin-top: 12px; text-align: center; color: var(--secondary); font-size: .8125rem; }
.admin-sign-in label { display: block; margin: 16px 0 7px; font-size: .875rem; font-weight: 500; }
.admin-sign-in input:not([type="hidden"]) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #242424; font: inherit; font-size: .9375rem; }
.admin-sign-in .sso-button { margin-top: 24px; cursor: pointer; }
.admin-sign-in .sso-button:hover { background: #404040; }
.signed-out { margin-bottom: 18px; color: var(--secondary); background: #fafafa; }
.language-links { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; color: #6b6b6b; font-size: .8125rem; }
.language-links a[aria-current="true"] { color: #242424; font-weight: 500; }
@media (max-width: 480px) {
  body { padding: 24px 16px; }
  .login-card { padding: 28px 24px; }
}
@media (forced-colors: active) {
  .sso-button { border: 1px solid ButtonText; }
  .sso-button:disabled { color: GrayText; }
}

/* Administrator sign-in in the continual.science soft shell (identity sheet S-14L): a grey identity pane with the
   Interval mark and the server facts, a white panel with one ink commit. System fonts only (the CSP loads no fonts). */
.admin-entry { padding: 24px; display: grid; min-height: 100svh; background: #eeefeb; color: #141516; --secondary: #5f6368; --line: #d9d9d5;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.admin-entry .login-shell { width: 100%; max-width: 1392px; margin: auto; min-height: min(852px, calc(100svh - 48px)); display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgb(20 21 22 / 6%), 0 12px 40px rgb(20 21 22 / 6%); }
.entry-identity { display: flex; flex-direction: column; min-width: 0; padding: 40px 48px 36px; background: #eeefeb; color: #141516; }
.entry-brand { display: flex; align-items: center; gap: 8px; align-self: flex-start; color: #141516; text-decoration: none; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.entry-brand small { margin-left: 6px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--secondary); }
.entry-mark { flex-shrink: 0; }
.entry-copy { margin-block: auto; padding-block: 48px; }
.entry-art { margin-bottom: 26px; }
.entry-art svg { width: 48px; height: 48px; }
.entry-copy h2 { margin: 0; max-width: 13ch; font-size: clamp(34px,3.4vw,46px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.entry-copy > p { max-width: 44ch; margin-top: 18px; font-family: ui-serif, Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.55; color: #3c3f43; }
.entry-facts { display: grid; gap: 6px; margin: 0 0 28px; font-size: 13px; }
.entry-facts div { display: grid; grid-template-columns: 114px minmax(0,1fr); gap: 12px; }
.entry-facts dt { color: var(--secondary); }
.entry-facts dd { margin: 0; color: #141516; }
.entry-caption { font-family: ui-serif, Georgia, "Times New Roman", serif; font-size: 14px; color: #141516; }
.entry-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 40px 48px 28px; background: #fff; }
.admin-entry .login-card { width: 100%; max-width: 400px; margin-block: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.entry-step { font: 400 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; color: var(--secondary); text-transform: none; }
.admin-entry .introduction { margin: 12px 0 18px; }
.admin-entry h1 { margin: 0 0 8px; font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; text-align: left; }
.admin-entry .introduction p { color: #3c3f43; font-size: 14px; line-height: 1.5; }
.admin-entry .admin-sign-in label { margin: 12px 0 6px; font-size: 13px; font-weight: 500; color: #141516; }
.admin-entry .admin-sign-in input:not([type="hidden"]) { min-height: 36px; padding: 7px 10px; border: 1px solid #c9cac5; border-radius: 6px; background: #fff; color: #141516; font-size: 14px; }
.admin-entry .admin-sign-in input:focus-visible { outline: 2px solid #141516; outline-offset: 1px; border-color: #141516; }
.admin-entry .sso-button { width: 100%; min-height: 36px; margin-top: 18px; padding: 8px 12px; border: 0; border-radius: 6px; background: #141516; color: #fff; font-size: 14px; font-weight: 600; }
.admin-entry .sso-button:hover { background: #2c2e30; }
.admin-entry .access-note { margin-top: 12px; color: var(--secondary); font-size: 12.5px; text-align: left; }
.admin-entry .notice { margin: 0 0 14px; padding: 9px 12px; border-radius: 6px; font-size: 13px; line-height: 1.45; }
.admin-entry .notice.error { color: #b3261e; background: #fbeeed; border: 0; }
.admin-entry .notice.signed-out { color: #3c3f43; background: #f3f3f1; border: 0; }
.entry-other { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.entry-other b { display: block; font-size: 13.5px; font-weight: 650; color: #141516; }
.entry-other p { margin: 6px 0 12px; color: #3c3f43; line-height: 1.45; }
.admin-entry .service-links { margin: 0; padding: 0; border: 0; text-align: left; }
.admin-entry .entry-secondary { display: block; width: 100%; box-sizing: border-box; text-align: left; padding: 8px 12px; border: 1px solid #c9cac5; border-radius: 6px; color: #141516; font-weight: 500; font-size: 13.5px; text-decoration: none; }
.admin-entry .entry-secondary:hover { background: #f3f3f1; text-decoration: none; }
.admin-entry .language-links { margin-top: 28px; color: var(--secondary); font-size: 12.5px; }
.admin-entry .language-links a[aria-current="true"] { color: #141516; }
@media (max-width: 860px) {
  .admin-entry { padding: 0; }
  .admin-entry .login-shell { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; border-radius: 0; min-height: 100svh; box-shadow: none; }
  .entry-identity { padding: 20px 16px; }
  .entry-copy, .entry-facts, .entry-caption { display: none; }
  .entry-panel { justify-content: flex-start; padding: 28px 16px; }
  .admin-entry .sso-button, .admin-entry .admin-sign-in input:not([type="hidden"]) { min-height: 44px; }
}
@media (forced-colors: active) {
  .admin-entry .sso-button, .admin-entry .admin-sign-in input, .admin-entry .entry-secondary { border: 1px solid ButtonText; }
}

/* Server identity stays readable on narrow screens. */
.server-brand-name { display: block; font-size: 23px; font-weight: 650; letter-spacing: -.04em; line-height: 1.1; }
.server-brand-caption { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; letter-spacing: .025em; line-height: 1.3; }

.entry-build { margin: 12px 0 0; text-align: center; color: #666b71; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
