/* [project]/apps/web/src/app/globals.css [app-client] (css) */
*, :before, :after {
  box-sizing: border-box;
}

body {
  color: #141920;
  background: #f5f7fb;
  margin: 0;
  font-family: Arial, sans-serif;
}

.tool-surface-body {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  overscroll-behavior: none;
  background: #edf1f5;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header {
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #d8e0e8;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: .75rem 2rem;
  display: flex;
  position: sticky;
  top: 0;
}

.site-nav {
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  display: flex;
}

.site-brand {
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-links {
  gap: .75rem;
  display: flex;
}

.site-links a {
  color: #4b5966;
  text-decoration: none;
}

main {
  max-width: 48rem;
  padding: 2rem;
}

.tool-surface-page {
  max-width: none;
  min-height: 100vh;
  padding: 1rem;
}

@media (display-mode: standalone) {
  .tool-surface-body {
    background: #edf1f5;
  }

  .tool-surface-page {
    padding: .75rem;
  }
}

section {
  margin-block: 2rem;
}

.auth-panel {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1.25rem;
  padding: 1.25rem;
  display: grid;
}

.auth-panel h2 {
  margin-block: 0 .5rem;
}

.auth-panel p {
  color: #4b5966;
  margin: 0;
}

.auth-actions {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .75rem;
  display: grid;
}

.auth-actions.compact {
  grid-template-columns: 1fr;
}

.auth-nav {
  margin: 0;
  position: relative;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  cursor: pointer;
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .25rem .8rem .25rem .25rem;
  list-style: none;
  display: flex;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu-panel {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  min-width: min(22rem, 100vw - 2rem);
  padding: 1rem;
  display: grid;
  position: absolute;
  top: calc(100% + .75rem);
  right: 0;
  box-shadow: 0 18px 45px #14192024;
}

.account-menu-panel p {
  color: #4b5966;
  margin: 0;
}

.account-menu-panel dl {
  gap: .75rem;
  margin: 0;
  display: grid;
}

.account-menu-panel dt {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
}

.account-menu-panel dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.session-card {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.session-card img, .account-menu summary img, .session-avatar-placeholder {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}

.account-menu summary img, .account-menu summary .session-avatar-placeholder {
  width: 2.25rem;
  height: 2.25rem;
}

.session-avatar-placeholder {
  color: #fff;
  background: #141920;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  display: flex;
}

.session-card dl {
  gap: .75rem;
  min-width: 0;
  margin: 0;
  display: grid;
}

.session-card dt {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
}

.session-card dd {
  overflow-wrap: anywhere;
  margin: 0;
}

button {
  color: #fff;
  cursor: pointer;
  font: inherit;
  background: #141920;
  border: 0;
  border-radius: 6px;
  min-height: 2.75rem;
  padding: .7rem 1rem;
}

.button-link {
  color: #fff;
  background: #141920;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  text-decoration: none;
  display: inline-flex;
}

button:disabled {
  cursor: wait;
  opacity: .7;
}

.secondary-action {
  color: #141920;
  background: #e5ebf1;
}

.account-page-panel {
  gap: 1.5rem;
  display: grid;
}

.account-page-header {
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  display: flex;
}

.account-page-header h1 {
  margin-block: 0 .5rem;
}

.account-page-header p, .account-section-note {
  color: #4b5966;
  margin: 0;
}

.account-section {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
  display: grid;
}

.account-section h2 {
  margin: 0;
}

.account-section-heading-row {
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  display: flex;
}

.domain-user-strip {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  display: flex;
}

.domain-user-strip span {
  color: #4b5966;
}

.provider-account-list {
  gap: .85rem;
  display: grid;
}

.provider-account-row {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.provider-account-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  display: grid;
}

.provider-identity {
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
  display: grid;
}

.provider-identity h3 {
  margin: 0;
  font-size: 1.05rem;
}

.provider-identity p {
  color: #4b5966;
  overflow-wrap: anywhere;
  margin: .25rem 0 0;
}

.provider-mark {
  color: #141920;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  display: flex;
  box-shadow: 0 8px 18px #14192014;
}

.provider-mark svg {
  width: 2rem;
  height: 2rem;
}

.provider-mark.google {
  color: #1a73e8;
}

.provider-mark.twitch {
  color: #9146ff;
}

.provider-mark.github {
  color: #141920;
}

.provider-mark.discord {
  color: #5865f2;
}

.provider-count {
  color: #4b5966;
  margin-top: .35rem;
  font-size: .85rem;
  display: block;
}

.provider-controls {
  grid-template-columns: minmax(7rem, 1fr);
  gap: .75rem;
  display: grid;
}

.provider-control {
  justify-items: start;
  gap: .35rem;
  display: grid;
}

.provider-control > span {
  color: #141920;
  font-size: .85rem;
  font-weight: 700;
}

.switch-control-row {
  align-items: center;
  gap: .65rem;
  min-height: 2.25rem;
  display: flex;
}

.account-switch {
  cursor: pointer;
  background: #c4ccd4;
  border: 1px solid #aab5c0;
  border-radius: 999px;
  width: 3.35rem;
  height: 1.8rem;
  padding: 0;
  transition: background-color .16s, border-color .16s;
  position: relative;
}

.account-switch[data-state="checked"] {
  background: #238a55;
  border-color: #238a55;
}

.account-switch:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.account-switch:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #238a5547;
}

.account-switch-thumb {
  background: #fff;
  border-radius: 50%;
  width: 1.35rem;
  height: 1.35rem;
  transition: transform .16s;
  display: block;
  transform: translateX(.2rem);
  box-shadow: 0 2px 8px #1419203d;
}

.account-switch-thumb[data-state="checked"] {
  transform: translateX(1.72rem);
}

.switch-state {
  color: #4b5966;
  white-space: nowrap;
  font-size: .9rem;
}

.inline-action {
  color: #2d668f;
  text-underline-offset: .16rem;
  background: none;
  border: 0;
  min-height: auto;
  padding: 0;
  text-decoration: underline;
}

.inline-action:disabled {
  cursor: wait;
}

.tooltip-trigger-wrap {
  display: inline-flex;
}

.control-tooltip {
  color: #fff;
  z-index: 50;
  background: #141920;
  border-radius: 6px;
  max-width: min(18rem, 100vw - 2rem);
  padding: .55rem .7rem;
  font-size: .85rem;
  line-height: 1.35;
  box-shadow: 0 12px 28px #1419202e;
}

.control-tooltip-arrow {
  fill: #141920;
}

.linked-account-sublist {
  border-top: 1px solid #d8e0e8;
  gap: .75rem;
  padding-top: 1rem;
  display: grid;
}

.linked-account-row {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  display: grid;
}

.linked-account-details {
  gap: .2rem;
  min-width: 0;
  display: grid;
}

.linked-account-details strong, .linked-account-details span, .linked-account-details code {
  overflow-wrap: anywhere;
}

.linked-account-details span {
  color: #4b5966;
  font-size: .9rem;
}

.linked-account-details code {
  color: #4b5966;
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .82rem;
}

.linked-account-login-control {
  justify-items: start;
}

.privacy-choice-list {
  gap: .75rem;
  display: grid;
}

.privacy-choice {
  color: #141920;
  text-align: left;
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  place-items: center start;
  gap: .85rem;
  min-height: auto;
  padding: .9rem 1rem;
  display: grid;
}

.privacy-choice.selected {
  background: #edf7f2;
  border-color: #238a55;
}

.privacy-choice:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #238a5547;
}

.privacy-choice-indicator {
  border: 2px solid #aab5c0;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
}

.privacy-choice.selected .privacy-choice-indicator {
  background: #238a55;
  border-color: #238a55;
  box-shadow: inset 0 0 0 .2rem #fff;
}

.privacy-choice strong, .privacy-choice span span {
  display: block;
}

.privacy-choice span span {
  color: #4b5966;
  margin-top: .2rem;
}

.empty-state-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.stream-visibility-settings, .stream-visibility-event-list {
  gap: .75rem;
  display: grid;
}

.stream-visibility-row {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  display: grid;
}

.stream-visibility-row.primary {
  background: #edf7f2;
  border-color: #bfd9cb;
}

.stream-visibility-row strong, .stream-visibility-row span {
  display: block;
}

.stream-visibility-row span {
  color: #4b5966;
  overflow-wrap: anywhere;
  margin-top: .2rem;
}

.account-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  display: grid;
}

.linked-account-card {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.linked-account-card h3 {
  text-transform: capitalize;
  margin: 0;
}

.linked-account-card p {
  color: #4b5966;
  overflow-wrap: anywhere;
  margin: .25rem 0 0;
}

.linked-account-card dl {
  gap: .75rem;
  margin: 0;
  display: grid;
}

.linked-account-card dt {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
}

.linked-account-card dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.toggle-action {
  color: #141920;
  background: #e5ebf1;
  min-height: 2.25rem;
  padding: .45rem .8rem;
}

.toggle-action.enabled {
  color: #fff;
  background: #238a55;
}

.links-page {
  gap: 1.5rem;
  max-width: 56rem;
  display: grid;
}

.links-header {
  gap: .45rem;
  margin-block: 0 .75rem;
  display: grid;
}

.links-header h1, .links-header p {
  margin: 0;
}

.links-header h1 {
  font-size: 2.2rem;
}

.links-header p:not(.eyebrow) {
  color: #4b5966;
  max-width: 42rem;
}

.eyebrow, .creator-link-kicker {
  color: #2d668f;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.link-list {
  gap: .85rem;
  margin: 0;
  display: grid;
}

.links-load-state {
  background: #fff8e8;
  border: 1px solid #e5bd65;
  border-radius: 8px;
  gap: .35rem;
  padding: 1rem;
  display: grid;
}

.links-load-state h2, .links-load-state p {
  margin: 0;
}

.links-load-state h2 {
  font-size: 1rem;
}

.creator-link {
  color: #141920;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 5.75rem;
  padding: 1rem;
  text-decoration: none;
  display: grid;
}

.creator-link.primary {
  border-color: #238a55;
  box-shadow: inset 0 0 0 1px #238a5524;
}

.creator-link[href]:focus-visible, .creator-link[href]:hover {
  outline-offset: 2px;
  border-color: #2d668f;
  outline: 3px solid #2d668f2e;
}

.creator-link.unavailable {
  color: #4b5966;
  background: #eef2f5;
}

.creator-link-icon {
  color: #141920;
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
}

.creator-link-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.creator-link-icon.stream, .creator-link-icon.youtube {
  color: #d93b36;
}

.creator-link-icon.community, .creator-link-icon.discord {
  color: #5865f2;
}

.creator-link-icon.twitch {
  color: #9146ff;
}

.creator-link-icon.feed {
  color: #c65e16;
}

.creator-link-icon.account, .creator-link-icon.accountability, .creator-link-icon.affiliate, .creator-link-icon.context, .creator-link-icon.project, .creator-link-icon.support, .creator-link-icon.tool {
  color: #141920;
}

.creator-link-copy {
  gap: .2rem;
  min-width: 0;
  display: grid;
}

.creator-link-copy strong {
  font-size: 1.05rem;
}

.creator-link-copy span:last-child {
  color: #4b5966;
  line-height: 1.4;
}

.creator-link-copy .creator-link-status {
  color: #6a4a00;
  margin-top: .2rem;
  font-size: .85rem;
  font-weight: 700;
}

.content-page {
  gap: 1.5rem;
  max-width: 64rem;
  display: grid;
}

.content-page section {
  border-top: 1px solid #d8e0e8;
  margin: 0;
  padding-top: 1.25rem;
}

.content-page section h2 {
  margin-top: 0;
}

.content-page section p {
  line-height: 1.6;
}

.content-rule-list {
  gap: .65rem;
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.55;
  display: grid;
}

.content-notice, .content-empty-state {
  color: #34414d;
  background: #eef2f5;
  border-left: 4px solid #2d668f;
  margin: 0;
  padding: 1rem;
}

.disclosure-notice {
  color: #503700;
  background: #fff6df;
  border-left-color: #9a6500;
  font-weight: 700;
}

.content-page .content-empty-state {
  font-weight: 700;
}

.updates-page {
  gap: 1.5rem;
  max-width: 56rem;
  display: grid;
}

.update-list {
  gap: 1rem;
  margin: 0;
  display: grid;
}

.update-card, .update-detail {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .65rem;
  padding: 1.25rem;
  display: grid;
}

.update-card h2, .update-detail h1, .update-card p, .update-detail p {
  margin: 0;
}

.update-card a {
  text-underline-offset: .18rem;
  text-decoration-thickness: .08em;
}

.update-card time, .update-detail time {
  color: #4b5966;
  font-size: .9rem;
}

.projects-page, .project-detail-page {
  gap: 1.5rem;
  max-width: 64rem;
  display: grid;
}

.projects-header, .project-detail-header {
  gap: .55rem;
  display: grid;
}

.projects-header h1, .projects-header p, .project-detail-header h1, .project-detail-header p {
  margin: 0;
}

.projects-header h1, .project-detail-header h1 {
  font-size: 2.2rem;
}

.projects-header p:not(.eyebrow), .project-detail-header p {
  color: #4b5966;
  max-width: 42rem;
}

.project-list {
  gap: 1rem;
  margin: 0;
  display: grid;
}

.project-card, .project-state-card, .project-detail {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  padding: 1.25rem;
  display: grid;
}

.project-state-card.failed {
  background: #fff8e8;
  border-color: #e5bd65;
}

.project-state-card.empty {
  background: #eef2f5;
}

.project-card h2, .project-card p, .project-card dl, .project-state-card h2, .project-state-card p {
  margin: 0;
}

.project-card a {
  text-underline-offset: .18rem;
  text-decoration-thickness: .08em;
}

.project-card-meta {
  color: #4b5966;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
}

.project-card-meta span {
  background: #eef2f5;
  border-radius: 999px;
  padding: .25rem .6rem;
}

.schedule-page {
  gap: 1.5rem;
  display: grid;
}

.schedule-header, .schedule-list {
  gap: 1rem;
  display: grid;
}

.schedule-header h1, .schedule-header p, .schedule-card h2, .schedule-card p {
  margin: 0;
}

.schedule-header h1 {
  font-size: 2.2rem;
}

.schedule-header p:not(.eyebrow) {
  color: #4b5966;
  max-width: 42rem;
}

.schedule-fallback-note {
  background: #fff8e8;
  border-left: 4px solid #e5bd65;
  padding: .8rem 1rem;
}

.schedule-card {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .85rem;
  padding: 1.25rem;
  display: grid;
}

.schedule-card.cancelled {
  background: #f7f1f1;
  border-color: #d7aaa6;
}

.schedule-card-meta {
  color: #4b5966;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
}

.schedule-card-meta span {
  background: #eef2f5;
  border-radius: 999px;
  padding: .25rem .6rem;
}

.schedule-time {
  color: #2d668f;
  font-weight: 700;
}

.schedule-cancellation {
  background: #fff;
  border-left: 4px solid #b94a3e;
  gap: .25rem;
  padding: .8rem 1rem;
  display: grid;
}

.schedule-focus {
  background: #edf7f2;
  border-left: 4px solid #238a55;
  gap: .25rem;
  padding: .8rem 1rem;
  display: grid;
}

.schedule-focus a {
  color: #145c39;
  font-weight: 700;
}

.schedule-focus span {
  color: #4b5966;
}

.project-card-stats {
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .75rem;
  display: grid;
}

.project-card-stats dt {
  color: #141920;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.project-card-stats dd {
  color: #4b5966;
  margin: .15rem 0 0;
}

.project-next {
  background: #edf7f2;
  border-left: 4px solid #238a55;
  padding: .8rem 1rem;
}

.project-detail-section {
  border-top: 1px solid #d8e0e8;
  gap: .85rem;
  margin: 0;
  padding-top: 1.25rem;
  display: grid;
}

.project-detail-section h2, .project-detail-section p, .project-milestone-list, .project-item-list {
  margin: 0;
}

.project-milestone-list, .project-item-list {
  gap: .85rem;
  padding-left: 1.25rem;
  display: grid;
}

.project-milestone-list li, .project-item-row {
  border-left: 4px solid #d8e0e8;
  gap: .35rem;
  padding-left: .85rem;
  display: grid;
}

.project-milestone-list span, .project-item-row span, .project-item-row em, .project-item-row small, .project-muted {
  color: #4b5966;
}

.project-milestone-list span, .project-item-row span, .project-item-row em {
  text-transform: uppercase;
  font-size: .78rem;
  font-style: normal;
  font-weight: 700;
}

.project-item-row p {
  color: #4b5966;
  margin: 0;
}

.project-admin-page {
  gap: 1.25rem;
  max-width: 78rem;
  display: grid;
}

.project-admin-header, .project-admin-state, .project-admin-layout, .project-admin-workspace, .project-admin-panel, .project-admin-form, .project-admin-sidebar {
  gap: 1rem;
  display: grid;
}

.project-admin-header h1, .project-admin-header p, .project-admin-state h2, .project-admin-state p, .project-admin-panel h2, .project-admin-panel p, .project-admin-sidebar h2, .project-admin-sidebar p {
  margin: 0;
}

.project-admin-header h1 {
  font-size: 2rem;
}

.admin-inline-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.admin-dashboard-link {
  color: inherit;
  text-decoration: none;
}

.project-admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  display: grid;
}

.project-admin-preview {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .85rem;
  padding: 1rem;
  display: grid;
}

.project-admin-preview h2 {
  margin: 0;
}

.admin-list {
  gap: .75rem;
  display: grid;
}

.admin-list-item {
  background: #f7f9fc;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .45rem;
  padding: .85rem;
  display: grid;
}

.admin-list-item > div {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .35rem;
  display: flex;
}

.admin-dashboard-link-heading {
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  display: flex;
}

.admin-list-item strong {
  color: #102131;
}

.admin-list-item span, .admin-list-item p {
  color: #4b5966;
  margin: 0;
}

.admin-list-item span {
  font-size: .85rem;
}

.admin-list-item .admin-dashboard-link-badge {
  color: #243646;
  border: 1px solid #ccd8e3;
  border-radius: 999px;
  padding: .16rem .45rem;
  font-size: .74rem;
  font-weight: 700;
}

.admin-dashboard-link-badge.ok {
  background: #e4f5e9;
  border-color: #9bcfa9;
}

.admin-dashboard-link-badge.warn {
  background: #fff3d0;
  border-color: #e5bf68;
}

.admin-dashboard-link-badge.bad {
  background: #ffe5e5;
  border-color: #e59a9a;
}

.admin-dashboard-link:hover, .admin-dashboard-link:focus-visible {
  background: #eef4fb;
  border-color: #9ab6d0;
}

.admin-dashboard-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .75rem;
  display: grid;
}

.admin-dashboard-status-card {
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .35rem;
  padding: .85rem;
  display: grid;
}

.admin-dashboard-status-card span {
  color: #4b5966;
  font-size: .85rem;
}

.admin-dashboard-status-card strong {
  color: #102131;
  font-size: 1.05rem;
}

.admin-dashboard-status-card p {
  color: #4b5966;
  margin: 0;
}

.admin-dashboard-status-card.loading {
  background: #f6f8fb;
}

.admin-dashboard-status-card.ok {
  background: #edf8f0;
  border-color: #9bcfa9;
}

.admin-dashboard-status-card.warn {
  background: #fff7e5;
  border-color: #e5bf68;
}

.admin-dashboard-status-card.bad {
  background: #fff0f0;
  border-color: #e59a9a;
}

.admin-dashboard-export-status {
  border-radius: 6px;
  margin: .85rem 0 0;
  padding: .65rem .75rem;
}

.admin-dashboard-export-status.idle, .admin-dashboard-export-status.working {
  background: #f6f8fb;
}

.admin-dashboard-export-status.ok {
  background: #edf8f0;
}

.admin-dashboard-export-status.bad {
  background: #fff0f0;
}

.project-admin-header p:not(.eyebrow), .project-admin-state p, .project-admin-panel p, .project-admin-sidebar p, .project-admin-record-list span {
  color: #4b5966;
}

.project-admin-state, .project-admin-sidebar, .project-admin-panel {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  padding: 1rem;
}

.project-admin-state.forbidden, .project-admin-state.failed {
  border-color: #e5bd65;
}

.project-admin-layout {
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  align-items: start;
}

.project-admin-sidebar {
  position: sticky;
  top: 5.25rem;
}

.project-admin-sidebar-heading, .project-admin-panel-heading, .project-admin-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.project-admin-selector {
  gap: .5rem;
  display: grid;
}

.project-admin-selector button {
  color: #141920;
  text-align: left;
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  gap: .2rem;
  padding: .75rem;
  display: grid;
}

.project-admin-selector button.selected {
  background: #edf7f2;
  border-color: #238a55;
}

.project-admin-selector span {
  color: #4b5966;
  font-size: .85rem;
}

.visibility-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.project-admin-form label, .project-admin-inline-form {
  gap: .4rem;
  display: grid;
}

.project-admin-form label, .project-admin-checkbox {
  color: #141920;
  font-size: .9rem;
  font-weight: 700;
}

.project-admin-form input, .project-admin-form textarea, .project-admin-form select, .project-admin-inline-form input, .project-admin-inline-form textarea, .project-admin-inline-form select, .project-admin-record-list input, .project-admin-record-list select {
  color: #141920;
  font: inherit;
  border: 1px solid #b8c4cf;
  border-radius: 6px;
  min-width: 0;
  padding: .65rem .75rem;
}

.project-admin-form textarea, .project-admin-inline-form textarea {
  resize: vertical;
}

.project-admin-form-grid, .project-admin-inline-form {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .75rem;
  display: grid;
}

.project-admin-checkbox {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.project-admin-checkbox input {
  width: 1rem;
  height: 1rem;
}

.project-admin-record-list {
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.project-admin-record-list li {
  border-top: 1px solid #d8e0e8;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, auto);
  align-items: start;
  gap: .75rem;
  padding-top: .75rem;
  display: grid;
}

.project-admin-record-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-admin-record-list div {
  gap: .25rem;
  display: grid;
}

.project-admin-record-list p {
  color: #4b5966;
}

.project-admin-link-list {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.project-admin-link-list span {
  background: #eef2f5;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding: .35rem .45rem;
  display: flex;
}

.project-admin-link-list small {
  color: #4b5966;
}

.project-admin-note {
  background: #eef2f5;
}

.testing-note-copy-actions span {
  color: #4b5966;
  font-size: .9rem;
}

.testing-checklist-panel {
  background: #f7f9fb;
}

.testing-checklist-progress {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .55rem;
  padding: .85rem;
  display: grid;
}

.testing-checklist-progress-summary {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.testing-checklist-progress-summary strong {
  color: #102131;
}

.testing-checklist-progress-summary span, .testing-checklist-pass-count {
  color: #4b5966;
  font-size: .9rem;
}

.testing-checklist-progress-track {
  background: #e8eef4;
  border-radius: 999px;
  height: .65rem;
  overflow: hidden;
}

.testing-checklist-progress-track span {
  border-radius: inherit;
  background: #287c56;
  height: 100%;
  transition: width .16s;
  display: block;
}

.testing-checklist-pass {
  align-content: start;
}

.testing-checklist-pass.complete {
  background: #edf8f0;
  border-color: #9bcfa9;
}

.testing-checklist-pass-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.testing-checklist-pass-actions {
  justify-content: flex-start;
}

.testing-checklist-items {
  gap: .55rem;
  display: grid;
}

.testing-checklist-item {
  color: #24313d;
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: .55rem;
  padding: .7rem .8rem;
  line-height: 1.45;
  display: grid;
}

.testing-checklist-item input {
  margin-top: .2rem;
}

.testing-session-notes {
  gap: .45rem;
  display: grid;
}

.testing-session-notes span {
  color: #253342;
  font-weight: 700;
}

.testing-session-notes textarea {
  resize: vertical;
  min-height: 7rem;
}

.testing-checklist-actions span, .page-creator-preview-panel .project-admin-panel-heading span {
  color: #4b5966;
  font-size: .9rem;
}

.live-helper-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .75rem;
  display: grid;
}

.provider-integrations-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .75rem;
  display: grid;
}

.live-helper-kpi {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .25rem;
  padding: 1rem;
  display: grid;
}

.live-helper-kpi span, .live-helper-pill, .live-helper-boundary-list {
  color: #4b5966;
}

.live-helper-kpi strong {
  color: #141920;
  font-size: 1.85rem;
  line-height: 1;
}

.live-helper-layout {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
}

.live-helper-pill {
  background: #eef2f5;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-size: .85rem;
}

.live-helper-compact-list li {
  grid-template-columns: minmax(0, 1fr);
}

.live-helper-boundary-list {
  gap: .5rem;
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
}

.provider-integrations-list {
  gap: .9rem;
  display: grid;
}

.connections-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: .75rem;
  display: grid;
}

.connections-action-card {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.connections-intake-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.connections-intake-controls select {
  color: #17212b;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  min-height: 2.4rem;
  padding: .45rem .65rem;
}

.connections-intake-list {
  gap: .65rem;
  display: grid;
}

.connections-intake-health-grid {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
  display: grid;
}

.connections-intake-health-card {
  background: #f8fafc;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .35rem;
  padding: .75rem;
  display: grid;
}

.connections-intake-health-card > div:first-child {
  align-items: center;
  gap: .45rem;
  display: flex;
}

.connections-intake-health-card small, .connections-intake-health-card > span {
  color: #4b5966;
}

.service-dot {
  border-radius: 999px;
  flex: none;
  width: .72rem;
  height: .72rem;
  display: inline-block;
}

.service-dot.connected {
  background: #16a34a;
}

.service-dot.disconnected {
  background: #dc2626;
}

.service-dot.warning {
  background: #f59e0b;
}

.connections-intake-row {
  background: #f8fafc;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .55rem;
  padding: .85rem;
  display: grid;
}

.connections-intake-row > div:first-child {
  gap: .2rem;
  display: grid;
}

.connections-intake-row p {
  color: #314253;
  overflow-wrap: anywhere;
  margin: 0;
}

.connections-intake-row code {
  color: #4b5966;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .78rem;
}

.connections-intake-row-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.connections-action-card h3, .connections-action-card p {
  margin: 0;
}

.connections-action-card code, .connections-event-row code {
  color: #4b5966;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .78rem;
}

.connections-event-table {
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  overflow: hidden;
}

.connections-event-row {
  border-top: 1px solid #d8e0e8;
  grid-template-columns: 6rem minmax(12rem, 1.1fr) minmax(12rem, 1fr) minmax(14rem, 1.2fr);
  align-items: start;
  gap: .75rem;
  padding: .75rem;
  display: grid;
}

.connections-event-row:first-child {
  border-top: 0;
}

.connections-event-row.header {
  color: #4b5966;
  text-transform: uppercase;
  background: #eef2f5;
  font-size: .78rem;
  font-weight: 800;
}

.connections-event-row > span {
  gap: .25rem;
  display: grid;
}

.connections-event-row small {
  color: #4b5966;
}

.provider-integration-row {
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .9rem;
  padding: 1rem;
  display: grid;
}

.provider-integration-row.configured {
  border-color: #81bd99;
}

.provider-integration-row.invalid, .provider-integration-row.error {
  border-color: #d17a72;
}

.provider-integration-row.disabled, .provider-integration-row.missing {
  border-color: #d3b56d;
}

.provider-integration-heading, .provider-capability-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: .75rem;
  display: flex;
}

.provider-integration-heading h3, .provider-integration-heading p {
  margin: 0;
}

.provider-integration-heading p, .provider-env-item small, .provider-issue-list {
  color: #4b5966;
}

.provider-integration-state {
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .85rem;
  font-weight: 700;
}

.provider-integration-state.configured {
  color: #145c35;
  background: #e4f5eb;
}

.provider-integration-state.missing, .provider-integration-state.disabled {
  color: #715100;
  background: #fff4cf;
}

.provider-integration-state.invalid, .provider-integration-state.error {
  color: #8f241b;
  background: #ffe3df;
}

.provider-env-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .6rem;
  display: grid;
}

.provider-env-item {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  gap: .2rem;
  min-width: 0;
  padding: .75rem;
  display: grid;
}

.provider-env-item span {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .85rem;
}

.provider-env-item strong {
  font-size: .95rem;
}

.provider-issue-list {
  gap: .4rem;
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
}

.provider-capability-row {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  display: grid;
}

.provider-capability-card {
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  gap: .45rem;
  padding: .75rem;
  display: grid;
}

.provider-capability-card.available, .provider-capability-card.configured {
  background: #f0fbf4;
  border-color: #a5d4b7;
}

.provider-capability-card.missing, .provider-capability-card.not_enabled, .provider-capability-card.gated {
  background: #fffaf0;
  border-color: #e4c76f;
}

.provider-capability-card > div {
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  display: flex;
}

.provider-capability-card strong, .provider-capability-card p {
  margin: 0;
}

.provider-capability-card span {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 700;
}

.provider-capability-card p {
  color: #4b5966;
  font-size: .9rem;
  line-height: 1.45;
}

.provider-chat-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .75rem;
  display: grid;
}

.provider-chat-status-grid > div {
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  gap: .3rem;
  padding: .75rem;
  display: grid;
}

.provider-chat-status-grid span, .provider-chat-action-message, .provider-chat-empty, .provider-chat-error {
  color: #4b5966;
}

.provider-chat-status-grid strong {
  text-transform: capitalize;
}

.provider-chat-state.connected {
  background: #f0fbf4;
  border-color: #a5d4b7;
}

.provider-chat-state.connecting {
  background: #f3f7ff;
  border-color: #a9c5ee;
}

.provider-chat-state.stopped, .provider-chat-state.unconfigured {
  background: #fffaf0;
  border-color: #e4c76f;
}

.provider-chat-action-message, .provider-chat-empty, .provider-chat-error {
  margin: .75rem 0 0;
}

.provider-chat-error {
  color: #8a1f11;
  font-weight: 700;
}

.provider-chat-recent-list {
  gap: .6rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.provider-chat-recent-list li {
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  padding: .7rem;
}

.provider-chat-recent-list div {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.provider-chat-recent-list img {
  object-fit: cover;
  border-radius: 4px;
  width: 2rem;
  height: 2rem;
}

.youtube-channel-list div {
  justify-content: flex-start;
}

.provider-chat-recent-list p {
  margin: .4rem 0 0;
}

.page-creator-form textarea {
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  line-height: 1.5;
}

.content-page {
  max-width: 54rem;
  padding-block: 2.5rem;
}

.content-page-article {
  gap: 1.5rem;
  display: grid;
}

.content-page-article.preview {
  background: #f8fafc;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  padding: 1rem;
}

.content-page-header {
  gap: .75rem;
  display: grid;
}

.content-page-header h1, .content-page-header p {
  margin: 0;
}

.content-page-header h1 {
  font-size: 2.25rem;
}

.content-page-header p:not(.eyebrow) {
  color: #4b5966;
  font-size: 1.05rem;
  line-height: 1.6;
}

.content-page-markdown {
  gap: 1rem;
  line-height: 1.7;
  display: grid;
}

.content-page-markdown h1, .content-page-markdown h2, .content-page-markdown h3, .content-page-markdown p, .content-page-markdown blockquote, .content-page-markdown ul, .content-page-markdown ol, .content-page-markdown pre {
  margin: 0;
}

.content-page-markdown h1 {
  font-size: 2rem;
}

.content-page-markdown h2 {
  font-size: 1.45rem;
}

.content-page-markdown h3 {
  font-size: 1.15rem;
}

.content-page-markdown p, .content-page-markdown li, .content-page-markdown blockquote {
  color: #2c3640;
}

.content-page-markdown a {
  color: #0c6b4e;
  font-weight: 700;
}

.content-page-markdown blockquote {
  border-left: 4px solid #238a55;
  padding-left: 1rem;
}

.content-page-markdown ul, .content-page-markdown ol {
  gap: .35rem;
  padding-left: 1.3rem;
  display: grid;
}

.content-page-markdown pre {
  color: #fff;
  background: #141920;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

.game-library-page {
  max-width: 72rem;
}

.game-library-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  display: grid;
}

.game-library-card {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .85rem;
  padding: 1rem;
  display: grid;
}

.game-library-card h2, .game-library-card p, .game-library-card dl, .game-library-card dd {
  margin: 0;
}

.game-library-card span {
  color: #4b5966;
  font-size: .85rem;
}

.game-library-card dl {
  gap: .55rem;
  display: grid;
}

.game-library-card dt {
  color: #4b5966;
  font-size: .78rem;
}

.game-library-card dd {
  color: #102131;
  font-weight: 700;
}

.game-library-warning {
  color: #6d3f00;
}

.steam-library-preview-panel .game-library-warning {
  background: #fff7e5;
  border: 1px solid #e5bf68;
  border-radius: 6px;
  padding: .75rem;
}

.steam-library-preview-panel .project-admin-panel-heading > div {
  gap: .25rem;
  display: grid;
}

.steam-library-preview-list {
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  max-height: 28rem;
  display: grid;
  overflow-y: auto;
}

.steam-library-preview-game {
  border-top: 1px solid #d8e0e8;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  display: grid;
}

.steam-library-preview-game:first-child {
  border-top: 0;
}

.steam-library-preview-game img, .steam-library-preview-icon {
  object-fit: cover;
  background: #243646;
  border-radius: 4px;
  width: 2rem;
  height: 2rem;
}

.steam-library-preview-icon {
  color: #fff;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  display: flex;
}

.steam-library-preview-game > div {
  gap: .15rem;
  min-width: 0;
  display: grid;
}

.steam-library-preview-game strong {
  overflow-wrap: anywhere;
}

.steam-library-preview-game span {
  color: #4b5966;
  font-size: .82rem;
}

.steam-library-preview-playtime {
  text-align: right;
  justify-items: end;
}

.steam-wishlist-preview {
  border-top: 1px solid #d8e0e8;
  gap: .75rem;
  padding-top: 1rem;
  display: grid;
}

.steam-wishlist-preview h3, .steam-wishlist-preview p {
  margin: 0;
}

.steam-store-link {
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

.game-catalog-combobox {
  position: relative;
}

.game-catalog-combobox > input {
  width: 100%;
}

.game-catalog-combobox-list {
  z-index: 20;
  background: #fff;
  border: 1px solid #b8c4cf;
  border-radius: 6px;
  max-height: 18rem;
  display: grid;
  position: absolute;
  top: calc(100% + .25rem);
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 .75rem 1.5rem #14192024;
}

.game-catalog-combobox-list button {
  color: #141920;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 0;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-height: 3rem;
  padding: .5rem .65rem;
  display: grid;
}

.game-catalog-combobox-list button + button {
  border-top: 1px solid #e2e8ee;
}

.game-catalog-combobox-list button:hover, .game-catalog-combobox-list button.active {
  background: #edf7f2;
}

.game-catalog-combobox-placeholder {
  object-fit: cover;
  color: #fff;
  background: #243646;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  width: 2.9rem;
  height: 1.5rem;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  position: relative;
  overflow: hidden;
}

.game-catalog-combobox-placeholder img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.game-catalog-combobox-list button > span:last-child {
  min-width: 0;
  display: grid;
}

.game-catalog-combobox-list strong, .game-catalog-combobox-list small {
  overflow-wrap: anywhere;
}

.game-catalog-combobox-status {
  color: #4b5966;
  min-height: 1.1rem;
  margin-top: .25rem;
  font-weight: 400;
  display: block;
}

@media (max-width: 48rem) {
  .steam-wishlist-preview-item {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .steam-wishlist-preview-item .steam-store-link {
    grid-column: 1 / -1;
  }
}

.dev-test-console-page {
  max-width: 82rem;
}

.dev-test-console-warning {
  background: #fff8e8;
  border-color: #e5bd65;
}

.dev-test-console-controls label {
  color: #141920;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 700;
  display: grid;
}

.dev-test-console-controls select {
  color: #141920;
  font: inherit;
  border: 1px solid #b8c4cf;
  border-radius: 6px;
  min-width: 0;
  padding: .65rem .75rem;
}

.dev-test-console-event-list {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: .65rem;
  display: grid;
}

.dev-test-console-event-list button {
  color: #141920;
  text-align: left;
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  gap: .2rem;
  min-height: 4.25rem;
  padding: .75rem;
  display: grid;
}

.dev-test-console-event-list button.selected {
  background: #edf7f2;
  border-color: #238a55;
}

.dev-test-console-event-list span, .dev-test-console-preview-id {
  color: #4b5966;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .82rem;
}

.dev-test-console-safety {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.dev-test-console-safety h3, .dev-test-console-safety p, .dev-test-console-preview-card h3, .dev-test-console-preview-card p, .dev-test-console-preview-card dl {
  margin: 0;
}

.dev-test-console-badges {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.dev-test-console-badges span {
  color: #141920;
  background: #e5ebf1;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .82rem;
  font-weight: 700;
}

.dev-test-console-badges span.blocked, .dev-test-console-badges span.warning {
  color: #805000;
  background: #fff0d5;
}

.dev-test-console-preview-card {
  background: #f5f7fb;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.dev-test-console-preview-card > div:first-child {
  gap: .45rem;
  display: grid;
}

.dev-test-console-preview-card > div:first-child span {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.dev-test-console-preview-card dl {
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .75rem;
  display: grid;
}

.dev-test-console-preview-card dt {
  color: #141920;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.dev-test-console-preview-card dd {
  color: #4b5966;
  margin: .15rem 0 0;
}

.dev-test-console-preview pre {
  color: #f5f7fb;
  background: #141920;
  border-radius: 8px;
  margin: 0;
  padding: 1rem;
  font-size: .86rem;
  line-height: 1.45;
  overflow: auto;
}

.link-admin-warning {
  background: #fff7df;
  border: 1px solid #e5bd65;
  border-radius: 6px;
  padding: .75rem;
}

.actions-page, .action-panel {
  gap: 1.25rem;
  max-width: 64rem;
  display: grid;
}

.tool-surface-page.actions-page, .tool-surface-page .action-panel {
  max-width: none;
}

.action-panel-toolbar {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.action-panel-toolbar h2, .action-panel-toolbar p {
  margin: 0;
}

.action-panel-toolbar p, .action-count, .action-decision-note, .action-history p, .action-history span, .action-history time {
  color: #4b5966;
}

.action-toolbar-controls {
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  gap: .65rem;
  display: flex;
}

.action-live-toggle {
  align-items: center;
  gap: .65rem;
  display: flex;
}

.action-live-toggle.enabled {
  color: #155f39;
  background: #edf7f2;
}

.action-count {
  grid-column: 1 / -1;
  font-size: .9rem;
}

.action-alert, .action-state-card, .action-history {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .85rem;
  padding: 1.25rem;
  display: grid;
}

.action-alert.stale {
  color: #6f4c00;
  background: #fff8e8;
  border-color: #e5bd65;
}

.action-state-card h2, .action-state-card p, .action-history h2, .action-history p, .action-history ol {
  margin: 0;
}

.action-state-card.signed-out, .action-state-card.unlinked, .action-state-card.forbidden, .action-state-card.failed {
  border-color: #e5bd65;
}

.action-list {
  gap: 1rem;
  display: grid;
}

.action-item-card {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .85rem;
  padding: 1.25rem;
  display: grid;
}

.action-item-heading {
  color: #4b5966;
  text-transform: uppercase;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
}

.action-priority {
  border-radius: 999px;
  padding: .2rem .55rem;
}

.action-priority.low, .action-priority.normal {
  color: #141920;
  background: #e5ebf1;
}

.action-priority.high {
  color: #805000;
  background: #fff0d5;
}

.action-priority.urgent {
  color: #9f2521;
  background: #ffe2e0;
}

.action-item-card h2, .action-item-card p, .action-item-card dl {
  margin: 0;
}

.action-item-card p, .action-item-card dd {
  color: #4b5966;
}

.action-item-card dl {
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .75rem;
  display: grid;
}

.action-item-card dt {
  color: #141920;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.action-item-card dd {
  margin: .15rem 0 0;
}

.action-item-actions {
  flex-wrap: wrap;
  gap: .65rem;
  display: flex;
}

.action-item-actions button:disabled {
  cursor: not-allowed;
}

.danger-action {
  background: #9f2521;
}

.action-history-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.action-history-list {
  gap: .85rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.action-history-list li {
  border-top: 1px solid #d8e0e8;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  padding-top: .85rem;
  display: grid;
}

.action-history-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.action-history-note {
  background: #f5f7fb;
  border-radius: 6px;
  padding: .65rem;
}

.notification-tool-page {
  background: #edf1f5;
}

.notification-panel {
  gap: 1rem;
  max-width: 58rem;
  margin: 0 auto;
  display: grid;
}

.notification-panel-header, .notification-toolbar, .notification-push-panel, .notification-card {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
}

.notification-panel-header {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  display: flex;
}

.notification-panel-header h1, .notification-panel-header p, .notification-push-panel h2, .notification-push-panel p, .notification-toolbar p, .notification-card h2, .notification-card p {
  margin: 0;
}

.notification-panel-kicker {
  color: #4b5966;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.notification-icon-button, .notification-push-actions button, .notification-card-actions button, .notification-action-link {
  color: #fff;
  cursor: pointer;
  font: inherit;
  background: #141920;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  min-height: 2.5rem;
  padding: .65rem .85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.notification-icon-button:disabled, .notification-push-actions button:disabled, .notification-card-actions button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.notification-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  display: grid;
}

.notification-summary div {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  gap: .15rem;
  min-height: 5rem;
  padding: 1rem;
  display: grid;
}

.notification-summary div.critical {
  border-color: #c7362e;
}

.notification-summary span {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.notification-summary small {
  color: #4b5966;
  text-transform: uppercase;
  font-weight: 700;
}

.notification-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  display: flex;
}

.notification-toolbar label {
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  display: inline-flex;
}

.notification-push-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.notification-push-panel h2 {
  font-size: 1rem;
}

.notification-push-panel p {
  color: #4b5966;
  margin-top: .25rem;
}

.notification-push-panel.permission-denied, .notification-push-panel.failed {
  border-color: #c7362e;
}

.notification-push-panel.subscribed {
  border-color: #2f7d46;
}

.notification-push-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.notification-empty {
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  padding: 1rem;
}

.notification-list {
  gap: .75rem;
  display: grid;
}

.notification-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.notification-card.unread {
  border-left: 5px solid #1f6feb;
}

.notification-card.warning {
  border-left-color: #b26b00;
}

.notification-card.critical {
  border-left-color: #c7362e;
}

.notification-card.archived {
  opacity: .72;
}

.notification-card-main {
  gap: .7rem;
  min-width: 0;
  display: grid;
}

.notification-card-main p {
  color: #4b5966;
  overflow-wrap: anywhere;
}

.notification-card-meta {
  flex-wrap: wrap;
  gap: .45rem;
  display: flex;
}

.notification-card-meta span, .notification-card-meta time {
  color: #4b5966;
  background: #edf1f5;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .78rem;
  font-weight: 700;
}

.notification-action-link {
  justify-self: start;
}

.notification-card-actions {
  align-content: start;
  gap: .5rem;
  display: grid;
}

.policy-page {
  gap: 1.5rem;
  max-width: 64rem;
  display: grid;
}

.policy-page section {
  border-top: 1px solid #d8e0e8;
  padding-top: 1.25rem;
}

.policy-table-wrap {
  overflow-x: auto;
}

.policy-table {
  border-collapse: collapse;
  width: 100%;
}

.policy-table th, .policy-table td {
  text-align: left;
  border-bottom: 1px solid #d8e0e8;
  padding: .75rem;
}

.policy-table th {
  background: #eef2f5;
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1rem;
    position: static;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-links {
    flex-wrap: wrap;
  }

  .account-menu-panel {
    max-width: calc(100vw - 2rem);
    left: 0;
    right: auto;
  }

  .account-page-header, .account-section-heading-row, .stream-visibility-row, .project-admin-layout, .visibility-panel, .project-admin-record-list li, .notification-card, .action-history-list li, .action-panel-toolbar {
    grid-template-columns: 1fr;
  }

  .account-page-header, .account-section-heading-row {
    flex-direction: column;
  }

  .action-toolbar-controls {
    justify-content: start;
  }

  .notification-panel-header, .notification-toolbar, .notification-push-panel {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .notification-icon-button, .notification-push-actions button, .notification-card-actions button, .notification-action-link {
    width: 100%;
  }

  .notification-push-actions {
    justify-content: stretch;
  }

  .project-admin-sidebar {
    position: static;
  }

  .project-admin-actions {
    justify-content: start;
  }

  .provider-account-summary, .linked-account-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .provider-controls, .connections-event-row {
    grid-template-columns: 1fr;
  }

  .switch-control-row {
    flex-direction: column;
    align-items: start;
    gap: .45rem;
  }
}

@media (max-width: 440px) {
  .provider-identity {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .provider-mark {
    width: 3rem;
    height: 3rem;
  }

  .provider-mark svg {
    width: 1.55rem;
    height: 1.55rem;
  }

  .provider-controls {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-h.css.map*/