/* Scoped workflow surfaces, loaded after the legacy portal themes. */
html body.template-auth :is(.portal-error, .portal-site-context) {
  box-sizing: border-box;
  width: min(100%, 720px);
  margin: 24px auto;
  padding: 28px;
  background: #fff;
  color: #25313b;
  border: 1px solid #dbe2e7;
  border-radius: 6px;
  box-shadow: none;
  font: 14px/1.6 system-ui, sans-serif;
}
html body.template-auth .auth-main :is(.portal-error, .portal-site-context) h1 {
  margin: 8px 0 12px !important;
  font: 600 24px/1.3 Manrope, Arial, sans-serif !important;
  color: #202b34;
  letter-spacing: 0;
}
html body.template-auth .auth-main :is(.portal-error, .portal-site-context) p {
  margin: 0 0 16px;
  color: #465560 !important;
  font-size: 14px;
  overflow-wrap: anywhere;
}
html body.template-auth :is(.portal-error, .portal-site-context) .context-eyebrow {
  font-size: 12px;
  color: #52606b;
}
html body.template-auth :is(.portal-error, .portal-site-context) a {
  color: #07689d;
  font-size: 14px;
  font-weight: 500;
}
html body.template-auth .context-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
html body.template-auth :is(.portal-error, .portal-site-context) .context-primary,
html body.template-auth .portal-site-context button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #1e303c;
  border-radius: 4px;
  background: #1e303c;
  color: #fff;
  font: 600 13px/1.4 system-ui, sans-serif;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
}
html body.template-auth .portal-site-context form { display: block; margin: 24px 0; }
html body.template-auth .portal-site-context label { display: block; margin-bottom: 6px; font-weight: 600; }
html body.template-auth .context-controls { display: flex; flex-wrap: wrap; gap: 12px; }
html body.template-auth .context-controls select {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #a6b3bd;
  border-radius: 4px;
  background: #fff;
  color: #25313b;
  font: 14px/1.4 system-ui, sans-serif;
}
html body.template-auth .portal-site-context select:invalid:not(:user-invalid) {
  border-color: #a6b3bd !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body.template-auth.template-saas .saas-app .privacy-overview {
  max-width: 1180px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-heading {
  padding-bottom: 16px;
  margin: 0;
}
html body.template-auth.template-saas .saas-app .privacy-overview h1 {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  letter-spacing: 0;
}
html body.template-auth.template-saas .saas-app .privacy-overview h2 {
  margin: 0 0 6px;
  font-size: 15px !important;
  font-weight: 600 !important;
  overflow-wrap: anywhere;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-site-picker { padding: 16px 0 24px; }
.privacy-overview-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-band { padding: 0 0 20px; border: 0; min-width: 0; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 4px 12px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dbe2e7;
  border-radius: 0;
  color: #25313b;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task strong { font-size: 14px; font-weight: 600; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task p {
  grid-column: 1;
  margin: 0;
  color: #465560;
  font-size: 13px !important;
  line-height: 1.5;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #07689d; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task div span { color: #52606b; font-size: 12px; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-task:hover { background: #edf4f8; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-guidance {
  border: 0;
  border-top: 1px solid #dbe2e7;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-guidance summary {
  display: list-item;
  cursor: pointer;
  padding: 14px 0;
  color: #25313b;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
}
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-guidance :is(p, li) { color: #465560; font-size: 13px !important; }
html body.template-auth.template-saas .saas-app .privacy-overview .privacy-footnote { margin-top: 20px; font-size: 12px !important; color: #52606b; }
html body.template-auth :is(.portal-error, .portal-site-context, .privacy-overview) :is(a, button, select, summary):focus-visible {
  outline: 2px solid #087ebc;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  html body.template-auth :is(.portal-error, .portal-site-context) { padding: 20px; margin: 12px auto; }
  html body.template-auth.template-saas .saas-app .privacy-overview { padding: 16px; }
  .privacy-overview-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html body.template-auth.template-saas .saas-app .privacy-overview .privacy-site-picker select { width: 100%; }
}
