:root {
  --bg: #f4f5fa;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --surface-3: #e3e6f1;
  --border: #dfe2ec;
  --text: #1b1d29;
  --text-2: #5b6075;
  --text-3: #8a8fa5;
  --accent: #6c4cf5;
  --accent-2: #8b72ff;
  --accent-soft: #ece8ff;
  --accent-text: #ffffff;
  --temp: #e08a00;
  --temp-soft: #fff1da;
  --main: #1f9d6b;
  --main-soft: #dcf5ea;
  --danger: #d93a4b;
  --danger-soft: #fde7ea;
  --unread-bg: #ffffff;
  --read-bg: #f7f8fc;
  --shadow: 0 1px 2px rgba(20, 22, 40, .06), 0 6px 24px rgba(20, 22, 40, .08);
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1017;
    --surface: #171923;
    --surface-2: #1f2230;
    --surface-3: #2a2e40;
    --border: #2a2d3c;
    --text: #e8e9f1;
    --text-2: #a3a7bb;
    --text-3: #6f7389;
    --accent: #8b72ff;
    --accent-2: #a594ff;
    --accent-soft: #2a2350;
    --temp: #ffb440;
    --temp-soft: #3a2b12;
    --main: #3ed39a;
    --main-soft: #123327;
    --danger: #ff6b7a;
    --danger-soft: #3a1820;
    --unread-bg: #1c1f2c;
    --read-bg: #161822;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1017;
  --surface: #171923;
  --surface-2: #1f2230;
  --surface-3: #2a2e40;
  --border: #2a2d3c;
  --text: #e8e9f1;
  --text-2: #a3a7bb;
  --text-3: #6f7389;
  --accent: #8b72ff;
  --accent-2: #a594ff;
  --accent-soft: #2a2350;
  --temp: #ffb440;
  --temp-soft: #3a2b12;
  --main: #3ed39a;
  --main-soft: #123327;
  --danger: #ff6b7a;
  --danger-soft: #3a1820;
  --unread-bg: #1c1f2c;
  --read-bg: #161822;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 14px/1.45 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: var(--text); }
a { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  background: var(--surface-2); cursor: pointer; font-weight: 550; white-space: nowrap;
  transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:disabled { opacity: .55; cursor: default; }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.danger { color: var(--danger) !important; }
.danger-text { color: var(--danger); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer; color: var(--text-2); flex: none;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.sm { width: 28px; height: 28px; }
.icon-btn.sm svg { width: 16px; height: 16px; }
.icon-btn.on { color: #f2b300; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0 4px; font-size: 13px; }
.spacer { flex: 1; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field small { font-weight: 400; color: var(--text-3); }
.field input, .field select, textarea, .compose-grid input, .compose-grid select {
  height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, textarea:focus, .compose-grid input:focus, .compose-grid select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.hint { color: var(--text-3); font-size: 12.5px; margin: 0 0 14px; }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; margin: 4px 0 8px; }

/* ---------- auth ---------- */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 10% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border-radius: 20px; padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border); }
.auth-sub { color: var(--text-2); margin: 8px 0 22px; }
.tabs { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.tab { flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 600; color: var(--text-2); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ---------- brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #b05cff); color: #fff; }
.logo svg { width: 20px; height: 20px; }
.brand-name { font-weight: 750; font-size: 18px; letter-spacing: -.2px; }
.brand-lg .logo { width: 42px; height: 42px; border-radius: 12px; }
.brand-lg .brand-name { font-size: 24px; }

/* ---------- app layout ---------- */
.app { height: 100%; display: grid; grid-template-columns: 272px 1fr; grid-template-rows: 64px 1fr; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.topbar .brand { width: 240px; }
.search { flex: 1; max-width: 720px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  background: var(--surface-2); border-radius: 24px; color: var(--text-3); border: 1px solid transparent; }
.search:focus-within { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; background: transparent; outline: none; height: 100%; min-width: 0; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); text-transform: uppercase; }

.sidebar { padding: 8px 12px 24px; overflow-y: auto; }
.compose-row { display: flex; gap: 8px; margin: 4px 4px 14px; }
.btn-compose { height: 52px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--accent-soft); color: var(--accent);
  font-size: 15px; box-shadow: 0 1px 2px rgba(0,0,0,.04); flex: 1; justify-content: flex-start; }
.btn-compose:hover { box-shadow: var(--shadow); }
.btn-quick { width: 52px; height: 52px; border-radius: 16px; padding: 0; background: var(--temp-soft); color: var(--temp); }
.btn-quick:hover { box-shadow: var(--shadow); }
.quick-label { display: none; }
.compose-row.no-send .btn-quick { flex: 1; width: auto; gap: 10px; padding: 0 18px; justify-content: flex-start; font-weight: 600; }
.compose-row.no-send .quick-label { display: inline; }
.kind-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 4px 12px; border-radius: 14px; background: var(--surface-2); }
.kind-tab { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; min-width: 0; }
.kind-tab:hover { color: var(--text); }
.kind-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.kind-tab .count { color: var(--accent); }
.ttl-picker { display: flex; flex-direction: column; gap: 8px; }
.ttl-custom { display: flex; gap: 8px; }
.ttl-custom input { width: 110px; flex: none; }
.ttl-custom select { flex: 1; min-width: 0; }
.ttl-custom.forever input { display: none; }

.nav-item { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px 0 16px; border-radius: 18px;
  color: var(--text); text-decoration: none; cursor: pointer; user-select: none; position: relative; }
.nav-item:hover { background: var(--surface-2); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.nav-item svg { color: var(--text-2); }
.nav-item.active svg { color: var(--accent); }
.nav-item > span:not(.dot):not(.box-actions):not(.box-text) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box-name, .box-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.count { font-size: 12px; font-weight: 700; }
.section { margin-top: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 4px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); }

.box-item { height: auto; min-height: 40px; padding-top: 5px; padding-bottom: 5px; gap: 10px; }
.box-item .box-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.box-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box-sub { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.box-sub.soon { color: var(--danger); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-main { background: var(--main); }
.dot-temp { background: var(--temp); }
.dot-all { background: linear-gradient(135deg, var(--main), var(--temp)); }
.box-item .box-actions { display: none; gap: 0; }
.box-item:hover .box-actions, .box-item.active .box-actions { display: flex; }
.box-item:hover .count, .box-item.active .count { display: none; }
.box-empty { color: var(--text-3); font-size: 12.5px; padding: 4px 16px 0; }

.content { min-width: 0; min-height: 0; padding: 0 16px 16px 0; }
.pane { height: 100%; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column;
  overflow: hidden; border: 1px solid var(--border); }
.toolbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--border); min-height: 54px; }
.toolbar-title { margin-left: auto; color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bulk { display: flex; gap: 6px; flex-wrap: wrap; }

.check { display: inline-grid; place-items: center; width: 38px; height: 38px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--text-3); display: grid; place-items: center; }
.check input:checked + span { background: var(--accent); border-color: var(--accent); }
.check input:checked + span::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.box-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-2); flex-wrap: wrap; }
.box-banner .addr { font-family: var(--mono); font-size: 15px; font-weight: 600; word-break: break-all; }
.box-banner .meta { color: var(--text-2); font-size: 12.5px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .3px; }
.badge-main { background: var(--main-soft); color: var(--main); }
.badge-temp { background: var(--temp-soft); color: var(--temp); }

.msg-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.msg { display: grid; grid-template-columns: 38px 32px minmax(120px, 220px) 1fr auto; align-items: center; gap: 4px;
  padding: 0 16px 0 12px; height: 46px; border-bottom: 1px solid var(--border); cursor: pointer; background: var(--read-bg); }
.msg:hover { box-shadow: inset 1px 0 0 var(--border), inset -1px 0 0 var(--border), 0 1px 3px rgba(0,0,0,.08); position: relative; z-index: 1; }
.msg.unread { background: var(--unread-bg); }
.msg.unread .m-from, .msg.unread .m-subj, .msg.unread .m-date { font-weight: 700; color: var(--text); }
.msg.selected { background: var(--accent-soft); }
.m-star { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; color: var(--text-3); display: grid; place-items: center; border-radius: 50%; }
.m-star.on { color: #f2b300; }
.m-from { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); padding-right: 12px; }
.m-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-3); min-width: 0; }
.m-subj { color: var(--text-2); }
.m-tag { font-size: 11px; padding: 1px 7px; border-radius: 6px; margin-right: 6px; background: var(--surface-3); color: var(--text-2); font-weight: 500; }
.m-tag.temp { background: var(--temp-soft); color: var(--temp); }
.m-tag.main { background: var(--main-soft); color: var(--main); }
.m-date { font-size: 12.5px; color: var(--text-3); padding-left: 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.m-date svg { width: 15px; height: 15px; }
.list-footer { display: flex; justify-content: center; padding: 6px; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 70px 20px; color: var(--text-3); text-align: center; }
.empty svg { width: 54px; height: 54px; opacity: .5; }
.empty .btn { margin-top: 6px; }

/* ---------- reader ---------- */
.reader-body { overflow-y: auto; padding: 20px 28px 40px; flex: 1; }
.r-subject { font-size: 22px; font-weight: 500; margin: 0 0 18px; word-break: break-word; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.r-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.r-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; text-transform: uppercase; }
.r-meta { flex: 1; min-width: 0; }
.r-from b { font-weight: 650; }
.r-from span, .r-to { color: var(--text-2); font-size: 13px; word-break: break-all; }
.r-date { color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.r-actions { display: flex; gap: 8px; margin: 22px 0 0; flex-wrap: wrap; }
.notice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.notice svg { width: 18px; height: 18px; }
.mail-frame { width: 100%; border: 0; border-radius: 12px; background: #fff; min-height: 80px; display: block; }
.mail-text { white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; line-height: 1.6; margin: 0; font-family: var(--font); }
.atts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.att { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--text); max-width: 280px; background: var(--surface); }
.att:hover { background: var(--surface-2); }
.att .att-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 550; }
.att .att-size { font-size: 11.5px; color: var(--text-3); }
.att.missing { opacity: .55; pointer-events: none; }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: 2px; cursor: pointer; border: 0; }

/* ---------- modals ---------- */
.modal { border: 0; padding: 0; border-radius: 18px; background: var(--surface); color: var(--text); width: min(520px, calc(100vw - 32px));
  box-shadow: 0 20px 60px rgba(0,0,0,.3); max-height: calc(100vh - 32px); }
.modal-wide { width: min(720px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(10, 10, 20, .45); backdrop-filter: blur(2px); }
.modal form { padding: 18px 22px 18px; display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin: -4px -8px 14px 0; }
.modal-head h2 { font-size: 18px; margin: 0; }
.modal h3 { font-size: 14px; margin: 20px 0 10px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 10px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.seg-btn { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.seg-btn small { color: var(--text-3); font-size: 11.5px; line-height: 1.35; }
.seg-btn[data-kind="main"].active { border-color: var(--main); background: var(--main-soft); }
.seg-btn[data-kind="temp"].active { border-color: var(--temp); background: var(--temp-soft); }

.addr-input { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding-right: 2px; }
.addr-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .addr-input input { border: 0; box-shadow: none !important; font-family: var(--mono); min-width: 0; flex: 1; padding-right: 2px; }
.addr-domain { font-family: var(--mono); color: var(--text-2); white-space: nowrap; font-size: 13.5px; }
.avail { min-height: 16px; font-size: 12px; }
.avail.ok { color: var(--main); }
.avail.bad { color: var(--danger); }

.gen { margin: -4px 0 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 12.5px; color: var(--text-2); }
.chip.active { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sugg { font-family: var(--mono); font-size: 12.5px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px dashed var(--border); background: var(--surface-2); cursor: pointer; }
.sugg:hover { border-color: var(--accent); color: var(--accent); }

.compose-grid { display: grid; grid-template-columns: 70px 1fr; gap: 8px 10px; align-items: center; margin-bottom: 12px; }
.compose-grid label { color: var(--text-2); font-size: 13px; }
.row-inline { display: flex; align-items: center; gap: 6px; }
textarea { height: auto; min-height: 220px; padding: 12px; resize: vertical; line-height: 1.55; }
.att-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.att-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 4px 6px 4px 10px; border-radius: 8px; background: var(--surface-2); }
.att-pill button { border: 0; background: none; cursor: pointer; color: var(--text-3); display: grid; place-items: center; }
.att-pill svg { width: 14px; height: 14px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.menu { position: fixed; z-index: 50; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 210px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.menu button:hover { background: var(--surface-2); }
.menu button svg { width: 17px; height: 17px; color: var(--text-2); }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }
.menu .menu-label { font-size: 11.5px; color: var(--text-3); padding: 6px 10px 2px; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; align-items: center; pointer-events: none; }
.toast { background: #23263a; color: #fff; padding: 11px 18px; border-radius: 10px; box-shadow: var(--shadow); font-size: 13.5px; animation: toast-in .2s ease-out; max-width: calc(100vw - 32px); pointer-events: auto; }
.toast.err { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.only-mobile { display: none; }
.scrim { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; grid-template-rows: 60px 1fr; }
  .only-mobile { display: inline-grid; }
  .topbar { gap: 8px; padding: 0 8px 0 4px; }
  .topbar .brand { width: auto; }
  .topbar .brand-name { display: none; }
  .search { height: 42px; }
  .sidebar { position: fixed; z-index: 40; top: 0; left: 0; bottom: 0; width: 290px; background: var(--surface); transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: var(--shadow); padding-top: 16px; }
  .sidebar.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 39; }
  .content { padding: 0; }
  .pane { border-radius: 0; border-left: 0; border-right: 0; }
  .msg { grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; height: auto; padding: 10px 14px 10px 6px; row-gap: 2px; }
  .msg .check { display: none; }
  .msg .m-star { grid-row: 1 / 3; }
  .msg .m-from { grid-column: 2; padding: 0; }
  .msg .m-date { grid-column: 3; grid-row: 1; }
  .msg .m-main { grid-column: 2 / 4; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .reader-body { padding: 16px 16px 40px; }
  .seg { grid-template-columns: 1fr; }
  .compose-grid { grid-template-columns: 1fr; gap: 4px; }
  .toolbar-title { display: none; }
}
