/* Tendê: app layout (bar, language row, two panes, tools). One accent: ôbô green. */
:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #f1ede6;
  --ink: #1c1a17;
  --ink-2: #4b453e;
  --muted: #847b71;
  --line: #e6e0d6;
  --hover: rgba(28, 26, 23, .06);
  --accent: #197a55;
  --accent-soft: #e3f0e9;
  --warn: #9a5b13;
  --warn-soft: #f6ebdb;
  --shadow: 0 1px 2px rgba(28, 26, 23, .04), 0 10px 30px -14px rgba(28, 26, 23, .18);
  --r: 20px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121110; --surface: #1b1917; --surface-2: #211f1c; --ink: #f0ebe3; --ink-2: #cbc3b8; --muted: #8f867b;
  --line: #2e2a26; --hover: rgba(240, 235, 227, .07); --accent: #5cc195; --accent-soft: #19302a; --warn: #e3a85b; --warn-soft: #2e2418;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 36px -16px rgba(0, 0, 0, .7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #121110; --surface: #1b1917; --surface-2: #211f1c; --ink: #f0ebe3; --ink-2: #cbc3b8; --muted: #8f867b;
  --line: #2e2a26; --hover: rgba(240, 235, 227, .07); --accent: #5cc195; --accent-soft: #19302a; --warn: #e3a85b; --warn-soft: #2e2418;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 36px -16px rgba(0, 0, 0, .7); color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
i[data-icon] { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
i[data-icon] svg { width: 20px; height: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* app bar */
.appbar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 12px max(20px, env(safe-area-inset-left, 0px)) 12px max(20px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20;
}
.logo { display: inline-flex; color: var(--ink); border-radius: 8px; }
.logo-svg { height: 28px; width: auto; display: block; }
.modes { display: flex; gap: 4px; justify-self: center; }
.modes a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; }
.modes a:hover { background: var(--hover); }
.modes a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.actions-top { display: flex; gap: 2px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2);
  display: inline-grid; place-items: center; cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn[aria-pressed="true"], .icon-btn.on { color: var(--accent); }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.icon-btn.live { color: #fff; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); } }

main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px max(20px, env(safe-area-inset-left, 0px)) 24px max(20px, env(safe-area-inset-right, 0px)); flex: 1; }

/* language row */
.langbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 14px; }
.lang-chip {
  border: 0; background: transparent; cursor: default; display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 999px; justify-self: start;
}
#lang-r { justify-self: start; }
.lang-chip .flag { width: 24px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-chip small { color: var(--muted); font-weight: 400; }
.swap { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: transform .25s ease, background .15s; }
.swap:hover { background: var(--surface-2); }
.swap.spin { transform: rotate(180deg); }

/* panes */
.panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.pane { display: flex; flex-direction: column; min-height: 280px; min-width: 0; }
.pane-in { border-right: 1px solid var(--line); }
.pane-out { background: var(--surface-2); position: relative; }
.field { position: relative; flex: 1; display: flex; }
textarea#input {
  flex: 1; width: 100%; resize: none; border: 0; outline: none; background: transparent; color: var(--ink);
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.38; font-weight: 300; letter-spacing: -.012em; padding: 22px 56px 10px 24px; min-height: 190px;
}
textarea#input::placeholder { color: var(--muted); }
.clear { position: absolute; top: 12px; right: 10px; }
.output { flex: 1; margin: 0; padding: 22px 24px 10px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.38; font-weight: 300; letter-spacing: -.012em; overflow-wrap: anywhere; min-height: 190px; }
.output .ph { color: var(--muted); }
.output .unk { color: var(--warn); text-decoration: underline dotted; text-underline-offset: 5px; }
.toolbar { display: flex; align-items: center; gap: 2px; padding: 6px 10px 10px; }
.spacer { flex: 1; }
.count { font-size: 12.5px; color: var(--muted); padding-right: 10px; font-variant-numeric: tabular-nums; }
.rec { font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 2px 9px; border-radius: 999px; }
.ev { display: flex; align-items: center; gap: 8px; padding: 0 24px 4px; font-size: 13px; color: var(--muted); }
.ev .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ev[data-level="partial"] .dot, .ev[data-level="indirect"] .dot { background: var(--warn); }
.ev[data-level="insufficient"] .dot { background: var(--muted); }
.hintline { padding: 0 24px 6px; font-size: 14px; color: var(--muted); }
.hintline button { border: 0; background: none; padding: 0; color: var(--accent); cursor: pointer; font-weight: 500; }
.charpad { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 6px; }
.charpad button { min-width: 40px; height: 36px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; font-size: 18px; cursor: pointer; }
.charpad button:hover { border-color: var(--accent); color: var(--accent); }
.fix { display: grid; gap: 8px; padding: 0 16px 14px; }
.fix textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 10px 12px; font-size: 16px; outline: none; resize: vertical; }
.fix textarea:focus { border-color: var(--accent); }
.fix-row { display: flex; gap: 8px; }
.toast { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); margin: 0; background: var(--ink); color: var(--bg); font-size: 13px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }

.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.06); }

/* extras under the panes */
.extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.alts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.alts button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.alts button:hover { border-color: var(--accent); color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.card h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.defs .hw { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.defs .hw b { font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.defs .ipa { color: var(--muted); }
.defs .group { margin-top: 12px; }
.defs .pos { font-size: 12px; color: var(--accent); font-weight: 500; }
.defs ol { margin: 6px 0 0; padding-left: 20px; }
.defs li { margin: 3px 0; }
.defs .ex { color: var(--ink-2); font-size: 14px; margin: 2px 0 0; }
.defs .ex b { font-weight: 500; color: var(--ink); }
.defs .src, .similar .src, .cite .src { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.tok { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 10px 5px; cursor: pointer; text-align: left; display: inline-flex; flex-direction: column; max-width: 100%; }
.tok .f { font-size: 15px; }
.tok .p { font-size: 12px; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok:hover, .tok[aria-pressed="true"] { border-color: var(--accent); }
.tok[data-kind="grammar"], .tok[data-kind="pronoun"] { border-style: dashed; }
.tok[data-kind="unknown"] { border-color: var(--warn); background: var(--warn-soft); }
.cite { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cite b { font-weight: 500; font-size: 17px; }
.cite ol { margin: 6px 0 0; padding-left: 20px; }
.cite li.on { color: var(--accent); font-weight: 500; }
.similar { grid-column: 1 / -1; }
.similar .f { font-weight: 500; }

/* quick actions */
.quick { display: flex; justify-content: center; gap: 28px; margin-top: 34px; }
.quick-btn { border: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.quick-btn i { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.quick-btn:hover i { background: var(--surface-2); color: var(--ink); }

/* dictionary, expressions */
.search { display: grid; gap: 14px; margin-bottom: 18px; max-width: 760px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; width: fit-content; max-width: 100%; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 7px 15px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.searchbox { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 18px; color: var(--muted); }
.searchbox:focus-within { border-color: var(--accent); }
.searchbox input { flex: 1; border: 0; outline: none; background: transparent; font-size: 20px; font-weight: 300; padding: 10px 0; color: var(--ink); min-width: 0; }
.dict-results { display: grid; gap: 10px; max-width: 760px; }
.entry .hw { font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.entry-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.entry .ipa { color: var(--muted); font-size: 14px; }
.entry .pos { font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.entry ol { margin: 8px 0 0; padding-left: 20px; }
.entry .ex { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.entry .meta { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips.small { margin: 0; }
.chips.small button { padding: 4px 11px; font-size: 13px; }
.expr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.expr { display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .15s; text-align: left; font: inherit; color: inherit; }
.expr:hover { border-color: var(--accent); }
.expr .f { font-size: 17px; line-height: 1.3; }
.expr .m { color: var(--ink-2); font-size: 14px; }
.expr .eq { color: var(--muted); font-size: 13px; }
.expr .meta { color: var(--muted); font-size: 12px; margin-top: auto; }
.doubt { text-decoration: underline dotted; text-decoration-color: var(--warn); text-underline-offset: 3px; cursor: help; }
.more { display: block; margin: 18px auto 0; }

/* narrow views (review, sources) */
.narrow { max-width: 760px; }
.title { font-size: 30px; font-weight: 300; letter-spacing: -.03em; margin: 8px 0 6px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.profile { display: grid; gap: 14px; max-width: 480px; }
.profile label, .rv-card label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.profile input[type="text"], .profile select, .rv-card input, .rv-card textarea { width: 100%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 10px; padding: 9px 11px; font-size: 16px; outline: none; }
.profile input:focus, .profile select:focus, .rv-card input:focus, .rv-card textarea:focus { border-color: var(--accent); }
.profile fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.profile legend { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.profile .opt { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.profile .opt input { accent-color: var(--accent); margin: 0; }
.review-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meter { width: 140px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.rv-card { display: grid; gap: 12px; }
.rv-meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.rv-forro { margin: 0; font-size: clamp(22px, 3vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.3; }
.rv-gloss { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.rv-tr { margin: 0; display: grid; gap: 4px; }
.rv-tr dt { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.rv-tr dd { margin: 0; }
.rv-tr textarea { font-size: 18px; resize: vertical; }
.rv-tr textarea.nudge { border-color: var(--warn); }
.conf { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.conf[data-c="low"] { background: var(--warn-soft); color: var(--warn); }
.conf[data-c="medium"] { background: var(--surface-2); color: var(--ink-2); }
details.rv-note { font-size: 13px; color: var(--ink-2); }
details.rv-note summary { cursor: pointer; color: var(--muted); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.keys { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
kbd { font: 500 12px var(--font); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; background: var(--surface); }
.rv-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.link { border: 0; background: none; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font-size: 28px; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }
.source { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.source .id { color: var(--muted); font-size: 12px; padding-top: 2px; }
.source .a, .source .lic { grid-column: 2; color: var(--muted); font-size: 13px; }
.source .lic { color: var(--accent); }
.rights { color: var(--muted); font-size: 13px; margin-top: 22px; }

/* drawer, full screen */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .25); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); border-left: 1px solid var(--line); z-index: 31; display: flex; flex-direction: column; box-shadow: var(--shadow); padding-top: env(safe-area-inset-top, 0px); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px 20px; }
.drawer-head h2 { margin: 0; font-size: 18px; font-weight: 400; }
.drawer-body { overflow-y: auto; padding: 0 12px 20px; }
.hist { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 12px 10px; border-radius: 12px; cursor: pointer; border-bottom: 1px solid var(--line); }
.hist:hover { background: var(--hover); }
.hist .l { font-size: 12px; color: var(--muted); }
.hist .a { font-size: 16px; }
.hist .b { font-size: 15px; color: var(--ink-2); }
.empty { color: var(--muted); padding: 24px 10px; font-size: 14px; }
.full { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: grid; place-items: center; padding: 48px max(24px, env(safe-area-inset-left, 0px)); }
.full p { margin: 0; font-size: clamp(34px, 6vw, 72px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; text-align: center; max-width: 18ch; overflow-wrap: anywhere; }
.full .icon-btn { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }

/* footer */
.foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; }
.flag { width: 24px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.flag.flag-pt, .lang-chip .flag.flag-pt { width: 18px; }

@media (max-width: 860px) {
  .appbar { grid-template-columns: auto 1fr; }
  .modes { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; }
  .modes a { flex: none; }
  .actions-top { justify-self: end; }
  .actions-top [href="#fontes"], .actions-top [data-drawer] { display: none; }
  .panes, .extras { grid-template-columns: minmax(0, 1fr); }
  .pane-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .pane { min-height: 0; }
  textarea#input, .output { min-height: 120px; font-size: 22px; }
  #lang-r { justify-self: end; }
}
@media (max-width: 420px) {
  .modes a span { display: none; }
  .lang-chip { font-size: 14px; gap: 8px; padding: 8px 6px; }
  .lang-chip small { display: none; }
  .quick { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .swap, .meter span { transition: none; }
  .icon-btn.live { animation: none; }
}

[data-offline] a[href="#rever"] { display: none !important; }

/* corrections: clickable words, selection buttons, the box */
.output .w { cursor: pointer; border-radius: 4px; transition: background .12s; }
.output .w:hover { background: var(--accent-soft); }
.sel-fix { border: 1px solid var(--accent); color: var(--accent); background: var(--surface); border-radius: 999px; font-size: 13px; padding: 4px 11px; cursor: pointer; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.sel-fix:hover { background: var(--accent-soft); }
.corr { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
.corr::backdrop { background: rgba(20, 18, 15, .38); }
.corr form { display: grid; gap: 10px; padding: 20px; }
.corr h2 { font-size: 17px; font-weight: 600; margin: 0; }
.corr-lang { margin: 0; font-size: 12px; color: var(--muted); }
.corr-sel { margin: 0; font-size: 17px; padding: 8px 12px; background: var(--bg); border-radius: 10px; overflow-wrap: anywhere; }
.corr-hint { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.corr textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 10px 12px; font: inherit; font-size: 16px; outline: none; resize: vertical; }
.corr textarea:focus { border-color: var(--accent); }
.corr-note { margin: 0; font-size: 12px; color: var(--muted); }
.corr-err { margin: 0; font-size: 13px; color: var(--warn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* did you mean */
#spell { position: relative; }
.sug-l { color: var(--muted); }
.sug { color: var(--ink); }
.sug-w { border: 0; background: none; padding: 0 1px; font: inherit; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sug-w.kept { color: var(--ink); font-weight: 400; text-decoration-style: dotted; }
.sug-menu { position: fixed; z-index: 30; min-width: 180px; max-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 4px; display: grid; }
.sug-menu button { display: flex; gap: 10px; align-items: baseline; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.sug-menu button:hover { background: var(--accent-soft); }
.sug-menu button span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hintline .sug-use { margin-left: 6px; border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.hintline .sug-use:hover { background: var(--accent-soft); }
.sug-menu .keep { color: var(--muted); font-size: 13px; }
.cite-fix { margin-top: 6px; }
.credit { color: var(--muted); font-size: 13px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.credit b { color: var(--ink); font-weight: 600; }
