:root { --mvc-border: #e4e8e5; }
main { min-height: 55vh; }
.top-header { padding: 20px 0; }
.main-logo { max-width: 180px; max-height: 70px; object-fit: contain; }
.mvc-section { padding: 64px 0; }
.mvc-form-card { max-width: 780px; margin: auto; padding: 36px; background: white; border: 1px solid var(--mvc-border); border-radius: 16px; box-shadow: 0 10px 40px #00000008; }
.narrow-card { max-width: 520px; }
.mvc-form-card h1 { font-size: 2rem; }
.form-control, .form-select { min-height: 46px; }
.readable-content { max-width: 900px; }
.readable-content h2 { margin-top: 32px; font-size: 1.4rem; }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.mvc-stat { border: 1px solid var(--mvc-border); border-radius: 12px; padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.mvc-stat strong { font-size: 2.3rem; }
.mvc-empty { padding: 32px; background: #f5f8f5; border-radius: 12px; }
.mvc-search-result { padding: 24px 0; border-bottom: 1px solid var(--mvc-border); }
.mvc-search-result h2 { font-size: 1.3rem; }
.journal-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 10px 15px; border: 1px solid var(--mvc-border); border-radius: 8px; color: #222; text-decoration: none; }
.journal-pagination a.active { background: var(--secondary-color); color: var(--secondary-contrast); }
.journal-link-btn { border: none; }
.table td { overflow-wrap: anywhere; max-width: 480px; }
.signup-form { padding: 36px; background: #fff; }
footer a { color: #fff; }
footer .footer-title { font-size: 1.15rem; }
@media (max-width: 767px) {
    .mvc-section { padding: 36px 0; }
    .mvc-form-card, .signup-form { padding: 24px; }
    .main-logo { max-width: 145px; }
    .dashboard-header h1 { font-size: 1.8rem; }
}

/* Latest issue from each journal on the home page. */
.latest-volumes-section { padding: 72px 0 80px; background: #fff; }
.latest-volumes-section .section-divider { margin-bottom: 40px; }
.latest-volume-text { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 24px 8px 0; }
.latest-volume-meta { font-size: .9rem; line-height: 1.6; margin: 0 0 8px; }
.latest-volume-text h3 { font-size: 1.5rem; line-height: 1.35; margin: 0 0 12px; }
.latest-volume-period { font-size: .95rem; line-height: 1.6; margin-bottom: 24px; }
.latest-volume-text .btn { margin-top: auto; padding: 10px 16px; }
@media (max-width: 767px) {
    .latest-volumes-section { padding: 40px 0 48px; }
    .latest-volumes-section .section-divider { margin-bottom: 28px; }
    .latest-volume-text { padding: 8px 0 16px; }
    .latest-volume-text h3 { font-size: 1.3rem; }
}

.password-reveal { position: relative; }
.password-reveal .form-control { padding-right: 54px; }
.password-reveal-button { position: absolute; right: 1px; top: 1px; bottom: 1px; min-width: 46px; padding: 0 12px; border: 0; border-left: 1px solid #dee2e6; border-radius: 0 5px 5px 0; background: #f4f6f4; color: #222; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; user-select: none; touch-action: none; }
.password-reveal-button:hover { background: #e8eee8; }
.password-reveal-button:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; }
.password-reveal-button .bi { font-size: 1.15rem; }
.journal-consents { padding: 20px; background: #f5f7f5; border: 1px solid var(--mvc-border); border-radius: 12px; }
.journal-consents legend { float: none; width: auto; font-size: 1.1rem; font-weight: 600; }
.journal-consents a { margin-top: 6px; }
.editorial-decision { padding: 24px; border: 1px solid var(--mvc-border); border-radius: 12px; background: #f5f7f5; }
.editorial-history-entry { border-left: 3px solid var(--secondary-color); padding: 16px 20px; margin: 16px 0; background: #f5f7f5; }
.editorial-workspace { background: #f4f6f4; }
.editorial-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.editorial-eyebrow { color: #296331; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.editorial-heading h1 { margin: 10px 0; }
.editorial-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; padding-bottom: 12px; border-bottom: 1px solid #dce4dc; }
.editorial-tabs a { color: #344038; padding: 12px 18px; text-decoration: none; border-radius: 8px; }
.editorial-tabs a.active { background: #296331; color: white; }
.editorial-tabs a:hover { background: #e1e9e1; color: #193920; }
.editorial-surface { padding: 28px; border: 1px solid #e2e8e2; border-radius: 14px; background: #fff; }
.editorial-surface h2 { font-size: 1.4rem; margin-bottom: 20px; }
.editorial-table th { background: #f1f5f1; color: #435147; font-size: .8rem; padding: 16px; }
.editorial-table td { padding: 18px 16px; min-width: 100px; }
.editorial-table td:first-child { min-width: 230px; }
.editorial-status { display: inline-block; padding: 6px 10px; background: #eef3ee; border-radius: 6px; color: #285933; font-size: .8rem; }
.editorial-long-text { min-height: 300px; line-height: 1.7; resize: vertical; }
.article-timeline { list-style: none; padding: 0 0 0 24px; margin: 24px 0; border-left: 2px solid #d4e2d5; }
.article-timeline-event { position: relative; padding: 22px; margin: 0 0 24px; border: 1px solid #e3e9e3; background: #fff; border-radius: 12px; }
.article-timeline-event::before { content: ''; position: absolute; left: -32px; top: 27px; width: 14px; height: 14px; border-radius: 50%; background: #296331; border: 3px solid #f3f7f3; }
.timeline-date { font-size: .8rem; color: #68766c; margin-bottom: 10px; }
.timeline-full-comment summary { color: #296331; font-weight: 600; cursor: pointer; }
.timeline-full-comment .preserve-lines { line-height: 1.8; }
@media (max-width: 767px) { .editorial-surface { padding: 18px; } .editorial-tabs a { padding: 10px 12px; font-size: .85rem; } .article-timeline-event { padding: 16px; } }
.editorial-workspace .mvc-stat { height: 100%; }
.editorial-table td:last-child { min-width: 130px; }
.editorial-table .btn { white-space: nowrap; }