/* Linq Mail — webmail */
:root {
  --ink: #0F172A; --muted: #475569; --line: #E2E8F0; --soft-line: #F1F5F9;
  --accent: #1D4ED8; --accent-dark: #1E3A8A; --accent-soft: #EFF4FF; --accent-pale: #DBEAFE;
  --rail: #FBFCFE; --warn-bg: #FFF7ED; --warn-fg: #7C2D12; --danger: #B91C1C;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: #FFFFFF; font-size: 14px; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
button { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 8px; border: 1px solid #CBD5E1; background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #F8FAFC; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 10px; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-lg { min-height: 48px; font-size: 15px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 0;
  background: transparent; color: var(--muted); cursor: pointer; flex: none; font-size: 15px; }
.icon-btn:hover { background: #F1F5F9; color: var(--ink); }
.icon-btn-dark { color: #FFFFFF; }
.icon-btn-dark:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.link-small { border: 0; background: transparent; color: var(--accent); font-size: 13px; cursor: pointer; padding: 6px 14px; text-align: left; min-height: 32px; }
.form-error { margin: 0; color: var(--danger); font-size: 14px; }

/* ---------- entrada ---------- */
.login { display: flex; flex-wrap: wrap; min-height: 100vh; }
.login-hero { flex: 1 1 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px;
  background: #0F172A; color: #E2E8F0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); flex: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.brand-lg { font-size: 20px; color: #FFFFFF; }
.brand-lg .logo { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
.hero-text { max-width: 460px; }
.hero-text h1 { margin: 0 0 16px; font-size: 40px; line-height: 1.15; color: #FFFFFF; }
.hero-text p { margin: 0; font-size: 16px; line-height: 1.6; color: #CBD5E1; }
.hero-host { font-size: 13px; color: #94A3B8; }
.login-form-wrap { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.login-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #334155; }
.login-form input { min-height: 48px; padding: 0 12px; border: 1px solid #CBD5E1; border-radius: 8px; font: inherit; font-size: 15px; color: var(--ink); }
.lf-head { display: flex; flex-direction: column; gap: 6px; }
.lf-head h2 { margin: 0; font-size: 26px; }
.lf-head span { color: var(--muted); line-height: 1.5; }
.lf-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.code-input { font-size: 24px !important; letter-spacing: .3em; text-align: center; min-height: 56px !important; }
.link-back { align-self: flex-start; display: flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--accent); font-size: 14px; cursor: pointer; min-height: 40px; padding: 0; }
.qr { align-self: center; width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.qr svg { width: 100%; height: 100%; }
.secret-box summary { cursor: pointer; color: var(--accent); }
.secret-box code { display: block; margin-top: 6px; padding: 10px; background: #F1F5F9; border-radius: 8px; font-size: 15px; letter-spacing: .08em; word-break: break-all; }

/* ---------- aplicação ---------- */
.app { display: flex; flex-direction: column; height: 100vh; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: #FFFFFF; flex: none; }
.search { flex: 1 1 280px; max-width: 560px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: #F1F5F9; border-radius: 10px; color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.user { margin-left: auto; position: relative; }
.avatar-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--accent-dark); color: #FFFFFF; font-weight: 600; cursor: pointer; }
.menu { position: absolute; right: 0; top: 48px; min-width: 240px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.14); padding: 8px; z-index: 30; display: flex; flex-direction: column; }
.menu-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head span { color: var(--muted); font-size: 13px; }
.menu button { min-height: 40px; border: 0; background: transparent; text-align: left; padding: 0 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.menu button:hover { background: #F1F5F9; }

.panes { flex: 1; display: flex; min-height: 0; }
.rail { flex: 0 0 236px; display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--rail); overflow-y: auto; }
.btn-compose { min-height: 48px; }
.folders { display: flex; flex-direction: column; gap: 2px; }
.folder { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
  background: transparent; color: #334155; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; width: 100%; }
.folder:hover { background: #F1F5F9; }
.folder[aria-current="page"] { background: var(--accent-pale); color: var(--accent-dark); font-weight: 600; }
.folder .f-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.folder .f-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder .f-count { font-size: 12px; font-weight: 600; }
.folder.drop-target { outline: 2px dashed var(--accent); }
.quota { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: #F1F5F9; }
.quota-label { font-size: 12px; color: var(--muted); }
.quota-text { font-size: 12px; }
.bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar-fill { height: 6px; background: var(--accent); width: 0; }
.bar-fill.high { background: #C2410C; }

.list-pane { flex: 1 1 360px; max-width: 460px; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.list-head h1 { margin: 0; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pills { display: flex; gap: 6px; flex: none; }
.pill { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #CBD5E1; background: #FFFFFF; color: #334155; font-size: 13px; cursor: pointer; }
.pill[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #FFFFFF; font-weight: 600; }
.search-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; background: var(--accent-soft); font-size: 13px; color: var(--accent-dark); }
.list { flex: 1; overflow-y: auto; }
.row { display: flex; align-items: flex-start; gap: 4px; padding: 10px 14px 10px 6px; border-bottom: 1px solid var(--soft-line); background: #FFFFFF; }
.row:hover { background: #F8FAFC; }
.row.selected { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.row .star { width: 32px; height: 32px; color: #64748B; }
.row .star.on { color: #B45309; }
.row .star.on svg { fill: #F59E0B; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; border: 0; background: transparent; padding: 0; text-align: left; color: var(--ink); cursor: pointer; font-size: 14px; }
.row-top, .row-mid { display: flex; align-items: center; gap: 6px; width: 100%; }
.row-top { justify-content: space-between; }
.row-from, .row-subj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-from { font-weight: 500; }
.row-subj { color: #1E293B; }
.row.unread .row-from { font-weight: 700; }
.row.unread .row-subj { font-weight: 600; color: var(--ink); }
.row-time { font-size: 12px; color: var(--muted); flex: none; }
.row-prev { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.row-icons { display: flex; gap: 4px; color: var(--muted); flex: none; }
.list-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 64px 24px; color: var(--muted); text-align: center; }
.list-empty strong { color: var(--ink); font-size: 15px; }
.load-more { display: flex; justify-content: center; padding: 16px; }
.skeleton { height: 64px; margin: 8px 14px; border-radius: 8px; background: linear-gradient(90deg, #F1F5F9, #F8FAFC, #F1F5F9); }

.reader { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; }
.reader-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.reader-tools .spacer { flex: 1; }
.reader-tools select { min-height: 40px; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 8px; font: inherit; background: #FFFFFF; max-width: 180px; }
.reader-body { flex: 1; overflow-y: auto; padding: 24px 32px; display: flex; flex-direction: column; gap: 18px; }
.reader h2 { margin: 0; font-size: 22px; line-height: 1.3; word-break: break-word; }
.sender { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: none; }
.sender-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sender-info .addr { color: var(--muted); font-weight: 400; }
.sender-info .recips { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.sender .when { font-size: 13px; color: var(--muted); flex: none; }
.notice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 13px; }
.notice-warn { background: var(--warn-bg); color: var(--warn-fg); }
.notice-info { background: #F1F5F9; color: #334155; justify-content: space-between; }
.notice-info button { border: 0; background: transparent; color: var(--accent); font-weight: 600; cursor: pointer; min-height: 32px; }
.msg-frame { width: 100%; border: 0; min-height: 120px; max-width: 900px; }
.atts { display: flex; flex-direction: column; gap: 10px; }
.atts-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.att-list { display: flex; flex-wrap: wrap; gap: 10px; }
.att { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); min-width: 200px; max-width: 320px; }
.att:hover { background: #F8FAFC; color: var(--ink); }
.att-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.att-meta { display: flex; flex-direction: column; min-width: 0; }
.att-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-size { font-size: 12px; color: var(--muted); }
.quick-reply { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--muted); cursor: pointer; max-width: 900px; width: 100%; font-size: 14px; }
.reader-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }

/* ---------- escrever ---------- */
.compose { position: fixed; right: 24px; bottom: 0; width: min(640px, calc(100vw - 48px)); max-height: calc(100vh - 80px); background: #FFFFFF;
  border: 1px solid #CBD5E1; border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 12px 40px rgba(15,23,42,.18); display: flex; flex-direction: column; z-index: 20; }
.compose.max { right: 50%; transform: translateX(50%); width: min(980px, calc(100vw - 48px)); height: calc(100vh - 80px); }
.compose-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 18px; background: #0F172A; color: #FFFFFF; border-radius: 14px 14px 0 0; font-weight: 600; }
.compose-head > div { display: flex; }
.compose-fields { display: flex; flex-direction: column; padding: 0 18px; }
.rcpt-row { position: relative; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); min-height: 44px; color: var(--muted); }
.rcpt-row label { flex: none; min-width: 52px; }
.rcpt-row input { flex: 1; border: 0; font: inherit; color: var(--ink); outline: none; min-height: 42px; min-width: 0; }
.suggest { position: absolute; left: 52px; right: 0; top: 44px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,.12); z-index: 25; padding: 4px; }
.suggest button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; border: 0; background: transparent; padding: 8px 10px; border-radius: 6px; cursor: pointer; text-align: left; }
.suggest button:hover, .suggest button.active { background: var(--accent-soft); }
.suggest small { color: var(--muted); }
.editor-tools { display: flex; gap: 2px; padding: 4px 12px; border-bottom: 1px solid var(--soft-line); }
.editor-tools .icon-btn { width: 36px; height: 36px; }
.editor { flex: 1; min-height: 200px; overflow-y: auto; padding: 14px 18px; font-size: 15px; line-height: 1.6; outline: none; }
.editor blockquote { margin: 0 0 0 8px; padding-left: 12px; border-left: 3px solid #CBD5E1; color: var(--muted); }
.editor img { max-width: 100%; }
.c-atts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px; }
.c-att { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; max-width: 280px; }
.c-att span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-att button { width: 28px; height: 28px; }
.compose-err { padding: 4px 18px 0; }
.compose-foot { display: flex; align-items: center; gap: 6px; padding: 10px 18px 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.compose-foot .spacer { flex: 1; }
.file-btn input { display: none; }
.compose.dragover { outline: 3px dashed var(--accent); outline-offset: -6px; }

.toast { position: fixed; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 10px; background: #0F172A; color: #FFFFFF; z-index: 40; max-width: calc(100vw - 48px); }
.toast button { border: 0; background: transparent; color: #93C5FD; font-weight: 600; cursor: pointer; min-height: 32px; font-size: 14px; }

.dlg { border: 0; border-radius: 14px; padding: 0; box-shadow: 0 20px 60px rgba(15,23,42,.25); width: min(420px, calc(100vw - 32px)); }
.dlg::backdrop { background: rgba(15,23,42,.4); }
.dlg-body { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.dlg-body h2 { margin: 0; font-size: 18px; }
.dlg-body p { margin: 0; color: var(--muted); line-height: 1.5; }
.dlg-body input { min-height: 44px; border: 1px solid #CBD5E1; border-radius: 8px; padding: 0 12px; font: inherit; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; }

.only-mobile { display: none; }

/* ---------- navegação do topo ---------- */
.apps { display: flex; gap: 4px; }
.app-tab { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.app-tab:hover { background: #F1F5F9; color: var(--ink); }
.app-tab[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.center { align-self: center; text-align: center; }

/* ---------- configurações ---------- */
.settings { flex: 1; display: flex; min-height: 0; }
.settings-nav { flex: 0 0 236px; display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--rail); overflow-y: auto; }
.settings-nav h1 { margin: 0 0 10px; padding: 0 12px; font-size: 18px; }
.settings-main { flex: 1; min-width: 0; overflow-y: auto; padding: 28px 32px 64px; display: flex; flex-direction: column; gap: 16px; }
.settings-main > * { max-width: 860px; width: 100%; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: #FFFFFF; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.card-head h2 { margin: 0; font-size: 16px; }
.card-head p, .hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #334155; }
.field input, .field select, .field textarea, .inline select, .inline input {
  min-height: 44px; padding: 0 12px; border: 1px solid #CBD5E1; border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); background: #FFFFFF; }
.field textarea { padding: 12px; min-height: 120px; resize: vertical; line-height: 1.6; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; }
.check input { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.switch { width: 52px; height: 32px; border-radius: 999px; border: 0; background: #94A3B8; position: relative; cursor: pointer; flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 999px; background: #FFFFFF; transition: left .12s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { left: 24px; }
.sig-editor { min-height: 140px; border: 1px solid #CBD5E1; border-radius: 8px; padding: 12px; font-size: 14px; line-height: 1.6; outline: none; }
.sig-editor:focus { border-color: var(--accent); }
.filter-row { display: grid; grid-template-columns: 28px repeat(4, minmax(0, 1fr)) auto; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.filter-row .num { width: 28px; height: 28px; border-radius: 999px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.filter-row select, .filter-row input { min-height: 40px; padding: 0 10px; border: 1px solid #CBD5E1; border-radius: 8px; font: inherit; font-size: 14px; min-width: 0; background: #FFFFFF; }
.filter-row.off { opacity: .55; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.badge-ok { background: #DCFCE7; color: #14532D; }
.badge-off { background: #F1F5F9; color: #334155; }
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.item-main { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item-main small { color: var(--muted); font-size: 13px; }
.item-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-fg); font-size: 14px; }
.reveal { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 10px; background: var(--accent-soft); }
.reveal code { font-size: 20px; letter-spacing: .06em; font-weight: 600; color: var(--accent-dark); word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; border-radius: 10px; background: #F1F5F9; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .05em; }
.setup-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.setup-box .qr { width: 200px; height: 200px; }
.saved-note { color: #14532D; font-size: 13px; font-weight: 600; }

/* ---------- telas estreitas: um painel por vez ---------- */
@media (max-width: 900px) {
  .only-mobile { display: inline-flex; }
  .apps span { display: none; }
  .settings { flex-direction: column; }
  .settings-nav { flex: none; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .settings-nav h1 { display: none; }
  .settings-nav .folder { width: auto; white-space: nowrap; }
  .settings-main { padding: 16px; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-row .num { display: none; }
  .topbar { gap: 8px; padding: 8px 10px; }
  .brand span:last-child { display: none; }
  .rail { position: fixed; top: 61px; bottom: 0; left: 0; width: 272px; z-index: 15; box-shadow: 8px 0 24px rgba(15,23,42,.15); transform: translateX(-105%); transition: transform .15s; }
  .app.rail-open .rail { transform: none; }
  .list-pane { max-width: none; border-right: 0; }
  .reader { display: none; }
  .app.reading .list-pane { display: none; }
  .app.reading .reader { display: flex; }
  .reader-body { padding: 16px; }
  .compose, .compose.max { right: 0; left: 0; transform: none; width: 100%; height: 100%; max-height: none; top: 0; border-radius: 0; }
  .compose-head { border-radius: 0; }
}
