/*
 * A-83 (Giuseppe, 13 November 2026): two minor changes after the stage 3 review. Loaded after
 * member.css. Nothing else changes.
 *
 * 1. Laptop and desktop (from 1000px): the member-area logo sits in the side rail, not in the top
 *    header. The rail now runs the full height on the left; the header sits over the content column
 *    only and holds the language control and the monogram, right-aligned, so no empty space is left
 *    where the logo was. The header's logo link is lifted into the top of the rail (position: fixed;
 *    the header's backdrop blur is dropped on desktop because it would otherwise contain the fixed
 *    logo). Same link, same name, same tab order. Phones are unchanged.
 * 2. Inbox: less space between the header and the first line, on phone and desktop, in the list
 *    (#/app/inbox) and in an opened letter (#/app/inbox/<id>).
 */

/* ---------- 1. The logo in the side rail (desktop only) ---------- */
@media (min-width: 1000px) {
  .shell.mz-shell { grid-template-areas: "nav hdr" "nav main"; grid-template-rows: auto 1fr; }
  .mz-shell > .mz-nav { grid-row: 1 / -1; position: sticky; top: 0; height: 100vh; height: 100dvh; padding-top: 118px; border-right: 1px solid var(--line); }
  .mz-hdr { grid-template-columns: minmax(0, 1fr); padding: 0 var(--s-5); background: rgba(11, 10, 9, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mz-hdr > .hdr-side:first-child { display: none; }
  .mz-hdr .hdr-end { justify-self: end; }
  .mz-hdr .hdr-logo { position: fixed; top: 28px; left: 24px; z-index: 41; }
  .mz-hdr .hdr-logo .logo { width: 120px; }
}

/* ---------- 2. Inbox: content starts close below the header ---------- */
[data-screen="appInbox"] .page-top { padding-top: 14px; padding-bottom: 2px; }
[data-screen="appInbox"] .page-top .page-h { margin-top: 0; }
[data-screen="appInbox"] .page-top + .pad { padding-top: 12px; }
.letter2 { padding-top: 10px; }
.letter2 .lt-paper { margin-top: 24px; padding-top: 34px; }
@media (min-width: 700px) {
  [data-screen="appInbox"] .page-top { padding-top: 18px; }
  [data-screen="appInbox"] .page-top + .pad { padding-top: 14px; }
  .letter2 .lt-paper { padding-top: 42px; }
}
