/* Preserve the shell while authenticated workspace records load. */
.workspace-skeleton {
  padding-top: 5px;
}
.skeleton-heading,
.skeleton-subtitle,
.skeleton-metrics > div,
.skeleton-row {
  background: #edf0f4;
  border-radius: 6px;
  animation: workspace-pulse 1.5s ease-in-out infinite alternate;
}
.skeleton-heading {
  width: 45%;
  height: 28px;
  margin-bottom: 14px;
}
.skeleton-subtitle {
  width: 70%;
  height: 14px;
  margin-bottom: 32px;
}
.skeleton-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.skeleton-metrics > div {
  height: 110px;
}
.skeleton-row {
  height: 48px;
  margin-bottom: 16px;
}
.gc .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes workspace-pulse {
  to {
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-skeleton * {
    animation: none;
  }
}
@media (max-width: 760px) {
  .skeleton-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Compact practice identity and searchable task directory. */
.gc .workspace-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc .task-directory {
  overflow-x: auto;
}
.gc .task-directory table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.gc .task-directory th {
  padding: 12px 16px;
  color: var(--muted);
  background: #f8fafc;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.gc .task-directory td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.gc .task-directory tbody tr:hover {
  background: #f8fafc;
}
.gc .task-directory-link {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--brand-ink);
  font-weight: 600;
  min-height: 30px;
}
.gc .task-directory-link small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.gc .filters input {
  min-width: 180px;
  flex: 1;
}

/* Header actions and page content share the same horizontal inset. */
.gc.app {
  --workspace-inset: 36px;
}
.gc .topbar {
  padding-inline: var(--workspace-inset);
}
@media (max-width: 1100px) {
  .gc.app {
    --workspace-inset: 24px;
  }
}
@media (max-width: 760px) {
  .gc.app {
    --workspace-inset: 16px;
  }
}

.login-page {
  min-height: 100dvh;
  background: #202b3c;
  display: flow-root;
  padding: 1px 0;
}
.guide-body .login-page {
  min-height: 0;
  padding: 24px 0;
  border-radius: 8px;
}
.guide-body .login-page .gc.login {
  margin: 0 auto;
}
/* Approved October 6: light authentication card on a dark page. */
.gc.login {
  width: calc(100% - 32px);
  max-width: 440px;
  margin: clamp(24px, 8vh, 80px) auto;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e3e7e9;
  border-radius: 12px;
  color: #12365a;
}
.gc.login .brand {
  margin-bottom: 28px;
}
.gc.login .brand-wordmark,
.gc.login h1 {
  color: #12365a;
}
.gc.login .panel {
  background: transparent;
  border: 0;
  padding: 0;
}
.gc.login h1 {
  margin: 0 0 12px;
}
.gc.login p,
.gc.login .field > span {
  color: #607184;
}
.gc.login .login-description {
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0 0;
}
.gc.login .field {
  font-size: 14px;
  margin: 20px 0;
}
.gc.login input {
  min-height: 42px;
}
.gc.login .primary {
  min-height: 42px;
  margin-top: 4px;
}
.gc.login :focus-visible {
  outline-color: #12365a;
}
.gc.login .notice {
  color: #12365a;
}
.gc.login .notice p {
  color: #607184;
}
.gc.login .error {
  color: #8f293a;
  margin: 20px 0 0;
}
@media (max-width: 480px) {
  .gc.login {
    padding: 28px 24px;
  }
}

.gc.login .brand {
  display: flex;
  align-items: center;
}
.gc.login .brand-wordmark {
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -2.75px;
  line-height: 1.5;
}
.gc.login .brand-dot {
  color: #ef6094;
}
.gc.login h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.gc.login .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc.login input {
  width: 100%;
  background: #fff;
  color: #12365a;
  border: 1px solid #e3e7e9;
  border-radius: 6px;
  padding: 10px;
  font: inherit;
}
.gc.login .primary {
  width: 100%;
  background: #ffd43b;
  border: 1px solid #ffd43b;
  color: #12365a;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.gc.login .primary:hover {
  background: #f3c623;
  border-color: #f3c623;
}
.gc.login :focus-visible {
  outline: 2px solid #12365a;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .gc.login .brand-wordmark {
    font-size: 27px;
  }
}
