/* Shared Divine ID accents for the public account journey. */
:root { color-scheme: light; --auth-gold: #c09d4e; --auth-link: #80621e; }
*, *::before, *::after { box-sizing: border-box; }
body { line-height: 1.5; }
body a, body .helper-link, body .actions a { color: var(--auth-link); text-underline-offset: 3px; }
body a:hover { color: #594413; text-decoration: underline; }
body button[type="submit"] { border: 1px solid transparent; border-radius: 8px; background: var(--auth-gold); color: #ffffff; font: inherit; font-weight: 650; cursor: pointer; line-height: 1.4; max-width: 100%; }
body button[type="submit"]:hover { background: #d1b36c; }
body .secondary a { color: var(--auth-link); border-color: var(--auth-gold); background: #faf7ef; }
body input, body select { border: 1px solid #d5d1c8; border-radius: 8px; font: inherit; min-width: 0; }
body input:focus, body select:focus { outline: 2px solid var(--auth-gold); outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #80621e; outline-offset: 3px; }
.alert-success { padding: 16px 20px; margin: 20px 0; border: 1px solid #abd7ba; border-left: 4px solid #27804a; border-radius: 8px; background: #eaf7ee; color: #205b35; font-weight: 600; line-height: 1.6; }
body .error { padding: 12px 16px; border-radius: 8px; background: #fceaea; color: #912525; }
@media (max-width: 600px) { body .shell { padding: 12px; } body .frame { width: 100%; padding: 20px; } body .content, body .grid { grid-template-columns: minmax(0, 1fr); } body:has(> main) { padding: 12px !important; } body > main { padding: 20px !important; } }
.password-field { position: relative; }
body .password-field input { padding-right: 48px; }
body .password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #78818b; cursor: pointer; }
body .password-toggle[hidden] { display: none; }
body .password-toggle:hover { background: transparent; color: #24292d; }
.password-toggle__slash { display: none; }
.password-toggle[aria-pressed="true"] .password-toggle__slash { display: block; }

.password-field--login { margin-bottom: 14px; }
body .password-field--login input { margin-bottom: 0; }

/* Account, submission and administration sign-in share the Divine ID palette. */
body { background-color: #f8f7f3; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--auth-gold); }
body .submission-button, body .primary-button { background: var(--auth-gold); border-color: var(--auth-gold); color: #ffffff; }
body .submission-button:hover, body .primary-button:hover { background: #d1b36c; border-color: #d1b36c; color: #ffffff; }
body .nav-link, body .nav-button, body .pill-button:not(.primary-button) { color: var(--auth-link); border-color: #d8c69e; }
body .nav-link:hover, body .nav-button:hover, body .pill-button:not(.primary-button):hover { background: #f5f0e4; color: #594413; }
body .authors-table th { background: #f5f0e4; color: #80621e; }

/* Submission actions retain white labels on every gold button. */
body.submission-page .pill-button,
body.submission-page button[type="submit"] { font-weight: 400; }
body.submission-page button[type="submit"],
body.submission-page button[type="submit"]:hover { color: #ffffff; background: var(--auth-gold); border-color: var(--auth-gold); }
body.submission-page button[type="submit"]:hover { background: #d1b36c; border-color: #d1b36c; }
