/* Shared Pericope palette. Also prepended to the operator and sign-in stylesheets. */
:root {
  color-scheme: dark;
  --canvas: #0b1626;
  --surface: #112036;
  --surface-raised: #16283f;
  --surface-hover: #22364e;
  --border: #32475f;
  --border-strong: #64778c;
  --text: #e8edf2;
  --text-muted: #aebaca;
  --accent: #d4b978;
  --accent-soft: #e7d9b3;
  --accent-surface: #353528;
  --on-accent: #0b1626;
  --success: #a3d4be;
  --success-surface: #173a36;
  --warning: #ebcc8d;
  --warning-surface: #393123;
  --danger: #ffb5ae;
  --danger-surface: #442a32;
  --info: #adcfee;
  --info-surface: #203952;
  --shadow: #00000040;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
input[type='checkbox'],
input[type='radio'],
progress {
  accent-color: var(--accent);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--accent);
  font-family: Georgia, serif;
}
.wordmark svg {
  width: 0.46em;
  height: 0.98em;
  margin: 0 0.01em;
  overflow: visible;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* © 2026 Decision LR LLC. All rights reserved. */
/* The root page (apps/edge/src/root-home.mjs): sign in, choose a workspace, or read that there is no access yet. The build puts the
   app's theme before these rules. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text, #20252a);
  background: var(--canvas, #f5f6f7);
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  padding: 24px 16px;
}
main {
  max-width: 480px;
  margin: 10vh auto;
  padding: 32px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d9dde1);
  border-top: 3px solid var(--accent, #5178bf);
  border-radius: 8px;
}
.brand,
h1 {
  font-family: Georgia, serif;
  color: var(--accent-soft, #435e50);
}
.brand {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
}
h1 {
  font-size: 24px;
  margin: 0 0 16px;
}
p {
  margin: 0 0 16px;
}
button {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  margin-bottom: 10px;
  font: inherit;
  font-weight: 600;
  color: var(--text, #fff);
  background: var(--surface-raised, #294b3a);
  border: 1px solid var(--border, #294b3a);
  border-radius: 5px;
  cursor: pointer;
}
button.quiet,
#sign-in-retry {
  background: var(--surface, #fff);
  color: var(--text, #294b3a);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent, #5178bf);
  outline-offset: 3px;
}
.workspaces {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.workspaces li + li {
  margin-top: 8px;
}
.workspaces a,
a.admin {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-height: 44px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border, #d9dde1);
  border-radius: 6px;
}
.workspaces a:hover,
a.admin:hover {
  border-color: var(--accent, #5178bf);
}
a.admin {
  margin-bottom: 16px;
  border-style: dashed;
}
.name {
  font-weight: 600;
}
.address {
  color: var(--text-muted, #59636d);
  font-size: 14px;
}
.tag {
  margin-left: auto;
  font-size: 13px;
  color: var(--accent-soft, #435e50);
}
.who,
#sign-in-status {
  color: var(--text-muted, #59636d);
  font-size: 14px;
}
#sign-in-error,
.sign-out-error {
  color: var(--danger, #9a2929);
}
