.rjc-page .masthead { height:auto; padding:4px 0; }
.rjc-page .masthead .rj-masthead-home {
    width:fit-content; max-width:calc(100% - 20px); height:auto;
    display:flex; align-items:center; gap:9px; border-radius:9px; text-decoration:none;
}
.rjc-page .masthead img {
    width:clamp(136px, 40vw, 236px); max-width:calc(100vw - 66px);
    height:auto; object-fit:contain; border-radius:4px;
}
.rj-masthead-arrow { display:none; }
.rjc-page .rj-masthead-arrow {
    display:grid; place-items:center; flex:none; width:34px; height:34px;
    border:1px solid #6d9895; border-radius:50%; background:#fffdf3;
    color:#075461; font:700 21px/1 system-ui,sans-serif;
}
.rjc-page .rj-masthead-home:hover .rj-masthead-arrow { background:#e7f4ef; }
.rjc-header nav .rj-nav-logout button {
    min-height:36px; padding:0; color:#075461; background:none; border:0;
    border-radius:4px; font:inherit; font-size:14px; text-decoration:underline;
}
.rj-turning body { animation:rj-return-turn 380ms cubic-bezier(.55,.08,.24,.98) both; }
@keyframes rj-return-turn {
    to { transform:perspective(1400px) rotateY(-83deg); opacity:.12; }
}
@media(max-height:540px) {
    .rjc-page .masthead { display:block; }
    .rjc-page .masthead img { width:clamp(110px, 30vw, 152px); }
}
@media(max-height:330px) { .rjc-page .masthead { display:none; } }
@media(prefers-reduced-motion:reduce) { .rj-turning body { animation:none; } }

.rj-private[hidden] { display:none !important; }
.rjc-page .shell.rj-locked { display:block; padding:1.25rem; }

.rj-journal-options { border:0; padding:0; margin:1.4rem 0 0; }
.rj-journal-options legend { padding:0; font-size:1.25rem; font-weight:750; }
.rj-journal-options .rj-check { display:flex; align-items:baseline; gap:.5rem; }
.rj-journal-options input[type="radio"] { flex:none; width:auto; margin:0; padding:0; }
.rj-journal-options p { margin:.5rem 0 0; font-size:.9rem; }
.rj-private [data-rj-preferences] button:disabled { background:#dbe1de; color:#4b5d59; border-color:#a8b6b0; cursor:default; }
.rj-journal-status:empty { display:none; }
