/* DSH pocket reader - one stylesheet, two themes via CSS variables. */

/* ---------- palette ---------- */
:root {
  color-scheme: light;
  --header-h: 56px;

  --l-bg: #ffffff;
  --l-bg-alt: #f5f6f8;
  --l-fg: #191c20;
  --l-fg-dim: #5b6472;
  --l-line: #e2e5ea;
  --l-accent: #1f6feb;
  --l-accent-weak: #e8f0ff;
  --l-bubble: #eef2f8;
  --l-code: #f5f7fa;
  --l-code-line: #e2e5ea;
  --l-shadow: 0 1px 3px rgba(16, 24, 40, .07);

  --d-bg: #15171b;
  --d-bg-alt: #1c1f25;
  --d-fg: #e8eaee;
  --d-fg-dim: #98a1af;
  --d-line: #2a2f37;
  --d-accent: #79a6ff;
  --d-accent-weak: #1b2637;
  --d-bubble: #222832;
  --d-code: #1a1d22;
  --d-code-line: #2a2f37;
  --d-shadow: 0 1px 3px rgba(0, 0, 0, .45);

  --bg: var(--l-bg); --bg-alt: var(--l-bg-alt); --fg: var(--l-fg); --fg-dim: var(--l-fg-dim);
  --line: var(--l-line); --accent: var(--l-accent); --accent-weak: var(--l-accent-weak);
  --bubble: var(--l-bubble); --code: var(--l-code); --code-line: var(--l-code-line); --shadow: var(--l-shadow);
  --ok: #1a7f4b; --fail: #b32417;
  --badge-fg: #1a5fd0;
  --link: #1a5fd0;
  --st-active: #1f5fd0; --st-wait: #a25f00; --st-done: #167048; --st-old: #6b7480; --st-recent: #3f6ea8;

  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-22: 22px;
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-48: 48px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Cascadia Mono", "Courier New", monospace;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: var(--d-bg); --bg-alt: var(--d-bg-alt); --fg: var(--d-fg); --fg-dim: var(--d-fg-dim);
    --line: var(--d-line); --accent: var(--d-accent); --accent-weak: var(--d-accent-weak);
    --bubble: var(--d-bubble); --code: var(--d-code); --code-line: var(--d-code-line); --shadow: var(--d-shadow);
    --ok: #43c07b; --fail: #ff6b60;
    --badge-fg: #79a6ff;
    --link: #79a6ff;
    --st-active: #79a6ff; --st-wait: #f0b429; --st-done: #43c07b; --st-old: #8b95a3; --st-recent: #9fb2c9;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--d-bg); --bg-alt: var(--d-bg-alt); --fg: var(--d-fg); --fg-dim: var(--d-fg-dim);
  --line: var(--d-line); --accent: var(--d-accent); --accent-weak: var(--d-accent-weak);
  --bubble: var(--d-bubble); --code: var(--d-code); --code-line: var(--d-code-line); --shadow: var(--d-shadow);
  --ok: #43c07b; --fail: #ff6b60;
  --badge-fg: #79a6ff;
  --link: #79a6ff;
  --st-active: #79a6ff; --st-wait: #f0b429; --st-done: #43c07b; --st-old: #8b95a3; --st-recent: #9fb2c9;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-16);
  line-height: 1.75;
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--link); text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body.no-scroll { overflow: hidden; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--s-8);
  min-height: var(--header-h);
  padding: 0 var(--s-8);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar__title--brand { flex: 1 1 auto; padding-left: var(--s-8); }
.titlewrap { flex: 1 1 auto; min-width: 0; padding: var(--s-4) 0; }
.topbar__title {
  margin: 0; font-size: var(--fs-16); font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__sub {
  margin: 0; font-size: var(--fs-12); line-height: 1.3; color: var(--fg-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.iconbtn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 var(--s-8);
  font: inherit; font-size: var(--fs-18); line-height: 1;
  color: var(--fg); background: transparent;
  border: 1px solid transparent; border-radius: 10px;
  cursor: pointer; text-decoration: none;
}
.iconbtn:hover { background: var(--bg-alt); }
.iconbtn:active { background: var(--line); }

/* ---------- shared ---------- */
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: var(--s-16); }
.note { margin: var(--s-16) 0 0; font-size: var(--fs-14); color: var(--fg-dim); text-align: center; }
.note--err { color: var(--fail); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--s-16);
  font: inherit; font-size: var(--fs-14); line-height: 1.2;
  color: var(--fg); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.btn:active { background: var(--line); }
.btn--wide { width: 100%; }

/* ---------- shelf ---------- */
.syncbar {
  display: flex; align-items: center; gap: var(--s-8); flex-wrap: wrap;
  padding: var(--s-12) var(--s-16);
  border-radius: var(--radius); background: var(--bg-alt);
  font-size: var(--fs-13); line-height: 1.5; color: var(--fg-dim);
}
.syncbar__dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--st-running); }
.syncbar b { color: var(--fg); font-weight: 600; }
.search { margin: var(--s-16) 0 var(--s-12); }
.search input {
  width: 100%; min-height: 44px; padding: 10px var(--s-16);
  font: inherit; font-size: var(--fs-16); color: var(--fg);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--fg-dim); }
.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-12); }
.card {
  display: block; padding: var(--s-16);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); box-shadow: var(--shadow);
  color: inherit; min-height: 44px;
}
.card:active { background: var(--bg-alt); }
.card__head { display: flex; align-items: flex-start; gap: var(--s-8); }
.card__title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: var(--fs-16); font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: var(--st-idle); }
.dot--active { background: var(--st-active); }
.dot--wait { background: var(--st-wait); }
.dot--done { background: var(--st-done); }
.dot--old { background: var(--st-old); }
.dot--recent { background: var(--st-recent); }
.st--active { color: var(--st-active); }
.st--wait { color: var(--st-wait); }
.st--done { color: var(--st-done); }
.st--old { color: var(--st-old); }
.st--recent { color: var(--st-recent); }
.card__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-8);
  margin-top: var(--s-8); font-size: var(--fs-12); line-height: 1.6; color: var(--fg-dim);
}
.card__meta .ws { max-width: 42%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge {
  display: inline-flex; align-items: center; gap: var(--s-4);
  padding: 1px var(--s-8); border-radius: 999px;
  background: var(--accent-weak); color: var(--badge-fg);
  font-size: var(--fs-12); font-weight: 600;
}
.prog { margin-left: auto; color: var(--fg-dim); font-variant-numeric: tabular-nums; }

/* ---------- reader stream ---------- */
.stream { display: flex; flex-direction: column; gap: var(--s-16); }
.msg { min-width: 0; }
.msg--user { display: flex; flex-direction: column; align-items: flex-end; }
.msg--user .bubble {
  max-width: 85%; min-width: 0; padding: var(--s-12) var(--s-16);
  border-radius: 16px 16px 4px 16px; background: var(--bubble);
  font-size: var(--fs-body, 16px); line-height: 1.7;
}
.msg--user .bubble > :last-child { margin-bottom: 0; }
.msg__meta { margin-top: var(--s-4); font-size: var(--fs-12); line-height: 1.4; color: var(--fg-dim); }
.msg--assistant { font-size: var(--fs-body, 16px); line-height: 1.75; }

/* ---------- markdown ---------- */
.md > :first-child { margin-top: 0; }
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 {
  margin: var(--s-24) 0 var(--s-8); line-height: 1.5; font-weight: 650;
}
.md h1 { font-size: var(--fs-22); }
.md h2 { font-size: 19px; }
.md h3 { font-size: 17px; }
.md h4, .md h5, .md h6 { font-size: var(--fs-16); }
.md p { margin: 0 0 var(--s-12); }
.md ul, .md ol { margin: 0 0 var(--s-12); padding-left: 1.4em; }
.md li { margin: 0 0 var(--s-4); }
.md li > p { margin: 0; }
.md blockquote {
  margin: 0 0 var(--s-12); padding: var(--s-8) var(--s-16);
  border-left: 3px solid var(--line); border-radius: 0 8px 8px 0;
  background: var(--bg-alt); color: var(--fg-dim);
}
.md blockquote > :last-child { margin-bottom: 0; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-24) 0; }
.md a { text-decoration: underline; text-underline-offset: 2px; }
.md code {
  display: inline-block; max-width: 100%; vertical-align: baseline; line-height: 1.4;
  font-family: var(--mono); font-size: .9em;
  margin: 0 1px; padding: .1em .3em; border-radius: 6px;
  background: var(--code); border: 1px solid var(--code-line);
}
.md pre {
  margin: 0; padding: var(--s-12);
  background: var(--code); border-radius: 0 0 10px 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.md pre code {
  display: block; padding: 0; border: 0; background: none;
  font-size: var(--fs-13); line-height: 1.6; white-space: pre;
}
.code { margin: 0 0 var(--s-16); max-width: 100%; border: 1px solid var(--code-line); border-radius: 10px; overflow: hidden; }
.code__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  padding-left: var(--s-12); background: var(--bg-alt); border-bottom: 1px solid var(--code-line);
}
.code__lang { font-family: var(--mono); font-size: var(--fs-12); color: var(--fg-dim); }
.code__copy {
  flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0 var(--s-12);
  font: inherit; font-size: var(--fs-12); color: var(--fg);
  background: transparent; border: 0; border-left: 1px solid var(--code-line); cursor: pointer;
}
.code__copy:active { background: var(--line); }
.table-wrap {
  margin: 0 0 var(--s-16); max-width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 10px;
}
.md table { border-collapse: collapse; width: max-content; min-width: 100%; font-size: var(--fs-14); }
.md th, .md td {
  padding: var(--s-8) var(--s-12); text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.md th { background: var(--bg-alt); font-weight: 600; white-space: nowrap; }
.md tr:last-child td { border-bottom: 0; }
.md th:last-child, .md td:last-child { border-right: 0; }

/* ---------- tool blocks ---------- */
.tool { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.tool__sum {
  display: flex; align-items: center; gap: var(--s-8); min-width: 0;
  min-height: 44px; padding: var(--s-8) var(--s-12);
  font-size: var(--fs-14); line-height: 1.4; cursor: pointer; list-style: none;
}
.tool__sum::-webkit-details-marker { display: none; }
.tool[open] > .tool__sum { border-bottom: 1px solid var(--line); }
.tool__icon { flex: 0 0 auto; }
.tool__name { flex: 0 0 auto; font-family: var(--mono); font-size: var(--fs-13); font-weight: 600; }
.tool__sep { flex: 0 0 auto; color: var(--fg-dim); }
.tool__args {
  flex: 1 1 auto; min-width: 0; color: var(--fg-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tool__state { flex: 0 0 auto; font-size: var(--fs-12); color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.tool__body { padding: var(--s-12); }
.tool__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  margin-bottom: var(--s-8); font-size: var(--fs-12); color: var(--fg-dim);
}
.is-ok { color: var(--ok); }
.is-fail { color: var(--fail); }
.tool__pre, .sys pre {
  margin: 0; padding: var(--s-12); max-height: 60vh; overflow: auto;
  background: var(--code); border: 1px solid var(--code-line); border-radius: 8px;
  font-family: var(--mono); font-size: var(--fs-12); line-height: 1.6;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.tool__trunc { margin-top: var(--s-8); font-size: var(--fs-12); color: var(--fg-dim); }
.tool__empty { margin: 0; font-size: var(--fs-13); color: var(--fg-dim); }

/* ---------- system blocks ---------- */
.footbar { margin-top: var(--s-24); padding-bottom: var(--s-32); }
.sys-list { display: flex; flex-direction: column; gap: var(--s-8); margin-top: var(--s-12); }
.sys { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.sys__sum {
  display: flex; align-items: center; gap: var(--s-8); min-height: 44px;
  padding: var(--s-8) var(--s-12); font-size: var(--fs-14); cursor: pointer; list-style: none;
}
.sys__sum::-webkit-details-marker { display: none; }
.sys__tail { margin-left: auto; font-size: var(--fs-12); color: var(--fg-dim); }
.sys__body { padding: var(--s-12); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; flex-direction: column;
  width: min(320px, 86vw);
  background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .22s ease;
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  min-height: var(--header-h); padding: 0 var(--s-8) 0 var(--s-16);
  border-bottom: 1px solid var(--line); font-size: var(--fs-16); font-weight: 600;
}
.drawer__list {
  flex: 1 1 auto; list-style: none; margin: 0; padding: var(--s-8);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.toc__item {
  display: block; width: 100%; min-height: 44px; padding: var(--s-8) var(--s-12);
  font: inherit; font-size: var(--fs-14); line-height: 1.45; text-align: left;
  color: var(--fg); background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.toc__item:hover { background: var(--bg-alt); }
.toc__meta { display: block; font-size: var(--fs-12); line-height: 1.4; color: var(--fg-dim); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .42); }

.sentinel { height: 1px; }
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

/* ---------- tabs ---------- */
.tabs {
  position: sticky; top: var(--header-h); z-index: 25;
  display: flex; gap: var(--s-4); padding: 0 var(--s-8);
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.tab {
  flex: 0 0 auto; min-height: 44px; padding: 0 var(--s-16);
  font: inherit; font-size: var(--fs-14); font-weight: 600;
  color: var(--fg-dim); background: transparent;
  border: 0; border-bottom: 2px solid transparent; cursor: pointer;
}
.tab.is-active { color: var(--fg); border-bottom-color: var(--accent); }

/* ---------- collapsible section ---------- */
.fold { margin-top: var(--s-16); }
.fold__head {
  display: flex; align-items: center; gap: var(--s-8); width: 100%;
  min-height: 44px; padding: 0 var(--s-12);
  font: inherit; font-size: var(--fs-14); color: var(--fg);
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; text-align: left;
}
.fold__chev { display: inline-block; transition: transform .15s ease; }
.fold__head[aria-expanded="true"] .fold__chev { transform: rotate(90deg); }
.fold .cards, .fold .doc-groups { margin-top: var(--s-12); }

/* ---------- card status ---------- */
.card__state { font-weight: 600; }
.card__meta + .card__meta { margin-top: 2px; }

/* ---------- documents ---------- */
.doc-groups { display: flex; flex-direction: column; gap: var(--s-12); }
.doc-group {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); box-shadow: var(--shadow); overflow: hidden;
}
.doc-group__head {
  display: flex; align-items: center; gap: var(--s-8); width: 100%;
  min-height: 44px; padding: 0 var(--s-16); text-align: left;
  font: inherit; font-size: var(--fs-14); font-weight: 600; color: var(--fg);
  background: var(--bg-alt); border: 0; cursor: pointer;
}
.doc-group__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-group__count { flex: 0 0 auto; font-size: var(--fs-12); font-weight: 400; color: var(--fg-dim); }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-row { display: block; padding: var(--s-12) var(--s-16); border-top: 1px solid var(--line); color: inherit; min-height: 44px; }
.doc-row:active { background: var(--bg-alt); }
.doc-row__name { display: block; font-size: var(--fs-14); font-weight: 600; line-height: 1.45; }
.doc-row__desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 2px; font-size: var(--fs-12); line-height: 1.5; color: var(--fg-dim);
}
.doc-row__meta { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-top: var(--s-4); font-size: var(--fs-12); color: var(--fg-dim); }
.doc-row--dead { pointer-events: none; opacity: .6; }
.doc-row--dead .doc-row__name { text-decoration: line-through; }

/* ---------- images in messages ---------- */
.msg__images { display: flex; flex-direction: column; gap: var(--s-8); width: 100%; margin-top: var(--s-8); }
.msg__img {
  display: block; width: 100%; max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-alt); cursor: zoom-in;
}
.img-fail {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; padding: var(--s-16); text-align: center;
  border: 1px dashed var(--line); border-radius: 12px;
  background: var(--bg-alt); font-size: var(--fs-13); color: var(--fg-dim);
}
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: flex;
  align-items: center; justify-content: center; padding: var(--s-16);
  background: rgba(0, 0, 0, .9); border: 0;
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: var(--s-8); right: var(--s-8);
  min-width: 44px; min-height: 44px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: var(--fs-18); cursor: pointer;
}

/* ---------- drawer font controls ---------- */
.fontbar {
  display: flex; align-items: center; gap: var(--s-8);
  padding: var(--s-8) var(--s-12); border-top: 1px solid var(--line); background: var(--bg-alt);
}
.fontbar__label { flex: 1 1 auto; font-size: var(--fs-12); color: var(--fg-dim); }
.fontbar button {
  min-width: 44px; min-height: 44px; font: inherit; font-size: var(--fs-18);
  color: var(--fg); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.fontbar button:disabled { opacity: .45; }

/* ---------- document page ---------- */
.srcbar {
  display: flex; align-items: center; gap: var(--s-8); flex-wrap: wrap;
  margin-top: var(--s-24); padding: var(--s-12) var(--s-16);
  border-radius: var(--radius); background: var(--bg-alt);
  font-size: var(--fs-13); color: var(--fg-dim);
}
.srcbar a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.doc-body { padding-bottom: var(--s-32); font-size: var(--fs-body, 16px); line-height: 1.75; }


/* ---------- passphrase gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-16); background: var(--bg);
}
.gate__card { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: var(--s-12); }
.gate__title { margin: 0; font-size: var(--fs-18); font-weight: 650; }
.gate__hint { margin: 0; font-size: var(--fs-12); line-height: 1.6; color: var(--fg-dim); }
.gate__input {
  width: 100%; min-height: 44px; padding: 10px var(--s-16);
  font: inherit; font-size: var(--fs-16); color: var(--fg);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.gate__input:disabled { opacity: .55; }
.gate__err { margin: 0; font-size: var(--fs-13); line-height: 1.5; color: var(--fail); }
.gate__forget {
  min-height: 44px; font: inherit; font-size: var(--fs-12); color: var(--fg-dim);
  background: transparent; border: 0; text-decoration: underline; cursor: pointer;
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  transform: translate(-50%, 12px);
  max-width: min(320px, calc(100vw - 32px));
  padding: 10px var(--s-16); border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: var(--fs-13); line-height: 1.4; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: .96; transform: translate(-50%, 0); }

/* ---------- drawer: forget passphrase ---------- */
.drawer__forget {
  min-height: 44px; padding: 0 var(--s-12); text-align: left;
  font: inherit; font-size: var(--fs-12); color: var(--fg-dim);
  background: transparent; border: 0; border-top: 1px solid var(--line); cursor: pointer;
}

