/* OAuth-only styles: this file is also discovered by the main app asset bundle. */
body.oauth-page {
  margin: 0;
  min-height: 100dvh;
  background: #f9fafb;
  color: #1a1612;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.oauth-page .oauth-shell { isolation: isolate; width: min(100%, 600px); margin: 0 auto; padding: 48px 20px 32px; box-sizing: border-box; }
.oauth-page .oauth-brand { text-align: center; margin-bottom: 28px; }
.oauth-page .oauth-brand a { display: inline-block; }
.oauth-page .oauth-brand img { display: block; width: auto; height: 48px; }
.oauth-page .oauth-brand p { margin: 12px 0 0; color: #6b7280; font-style: italic; font-size: 14px; }
.oauth-page .oauth-panel { padding: 32px; background: white; border-radius: 16px; box-shadow: 0 0 0 1px #1118270a, 0 8px 28px #11182706; overflow-wrap: anywhere; }
.oauth-page h1 { margin: 4px 0 12px; font-size: 28px; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.oauth-page h2 { margin: 0; font-size: 17px; font-weight: 600; }
.oauth-page p { text-wrap: pretty; }
.oauth-page .oauth-heading > p:last-child { margin: 0; color: #4b5563; }
.oauth-page .oauth-eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: #4f46e5; }
.oauth-page .oauth-account { margin: 24px 0; padding: 14px 16px; background: #f9fafb; border-radius: 8px; }
.oauth-page .oauth-account p { margin: 0; }
.oauth-page .oauth-account-label { font-size: 14px; color: #6b7280; }
.oauth-page .oauth-account-email { font-weight: 600; }
.oauth-page .oauth-permissions p { margin: 8px 0 0; color: #4b5563; }
.oauth-page .oauth-permissions .oauth-access-note { margin-top: 16px; padding-left: 14px; border-left: 3px solid #c7d2fe; }
.oauth-page .oauth-permissions ul { margin: 12px 0; padding-left: 20px; list-style: disc; }
.oauth-page .oauth-revoke-note { margin: 24px 0 0; font-size: 14px; color: #6b7280; }
.oauth-page a { color: #4f46e5; text-decoration: none; }
.oauth-page a:hover { color: #4338ca; text-decoration: underline; }
.oauth-page .oauth-actions { display: flex; gap: 12px; border-top: 1px solid #1118270d; padding-top: 24px; margin-top: 24px; }
.oauth-page .oauth-actions form { flex: 1; min-width: 0; margin: 0; }
.oauth-page .oauth-button { appearance: none; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.oauth-page .oauth-actions .oauth-button { width: 100%; }
.oauth-page .oauth-button-primary { color: white; background: #4f46e5; }
.oauth-page .oauth-button-primary:hover { background: #4338ca; }
.oauth-page .oauth-button-secondary { color: #374151; background: white; border-color: #11182726; }
.oauth-page .oauth-button-secondary:hover { background: #f9fafb; }
.oauth-page :is(a, input, button):focus-visible { outline: 2px solid #6366f1; outline-offset: 3px; }
.oauth-page .oauth-footer { text-align: center; margin: 24px 0 0; font-size: 14px; }
.oauth-page .oauth-notice { background: #f0fdf4; color: #166534; padding: 12px 16px; border-radius: 8px; margin: 0 0 24px; }
.oauth-page .oauth-notice-alert { color: #b91c1c; background: #fef2f2; }
.oauth-page .oauth-apps { list-style: none; padding: 0; margin: 24px 0 0; }
.oauth-page .oauth-app { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid #1118270d; }
.oauth-page .oauth-app > div { min-width: 0; }
.oauth-page .oauth-app form { flex-shrink: 0; }
.oauth-page .oauth-app p { color: #6b7280; font-size: 14px; margin: 4px 0 0; }
.oauth-page .oauth-empty { padding: 24px 0 0; margin-top: 24px; border-top: 1px solid #1118270d; }
.oauth-page .oauth-empty p { color: #6b7280; margin: 8px 0 0; }
@media (max-width: 480px) {
  .oauth-page .oauth-shell { padding: 28px 16px; }
  .oauth-page .oauth-panel { padding: 24px 20px; }
  .oauth-page .oauth-brand { margin-bottom: 24px; }
  .oauth-page .oauth-brand img { height: 40px; }
  .oauth-page h1 { font-size: 26px; }
  .oauth-page .oauth-app { align-items: flex-start; flex-direction: column; gap: 12px; }
  .oauth-page :is(.oauth-revoke-note, .oauth-app p, .oauth-account-label, .oauth-footer) { font-size: 16px; }
}
