:root {
  --bg: #0b0c0f;
  --panel: #12141a;
  --panel-2: #171a21;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f7f8;
  --muted: #9ca0aa;
  --red: #ef4e56;
  --green: #55d187;
  --green-ink: #07160d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 360px;
  background:
    radial-gradient(circle at 82% 8%, rgba(239, 78, 86, 0.10), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: pretty;
}
button, input { font: inherit; }
button { color: inherit; }

.icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-large { width: 23px; height: 23px; }
.icon-xl { width: 42px; height: 42px; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #ff6c72, #d53e46);
  box-shadow: 0 8px 26px rgba(239, 78, 86, .28);
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -0.02em; }
.brand small { color: var(--muted); margin-top: 2px; font-size: 12px; }
.header-actions { display: flex; gap: 10px; }

main { padding: 72px 0 36px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 48px; align-items: end; }
.hero > * { min-width: 0; }
.eyebrow { color: #ff7a80; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: 11px; }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 5px rgba(85, 209, 135, .11); }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 760px; margin: 14px 0 18px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.privacy-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.lock {
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  line-height: 0;
  border-radius: 12px;
  background: rgba(85, 209, 135, .12);
  color: var(--green);
}
.lock .privacy-icon { margin: 0; transform: translate(0, 0); }
.privacy-copy { min-width: 0; }
.privacy-copy strong, .privacy-copy span { display: block; }
.privacy-card strong { overflow-wrap: anywhere; }
.privacy-card .privacy-copy span { color: var(--muted); font-size: 12px; margin-top: 5px; line-height: 1.45; overflow-wrap: anywhere; }

.toolbar { margin-top: 56px; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}
.search:focus-within { border-color: rgba(239, 78, 86, .58); box-shadow: 0 0 0 4px rgba(239, 78, 86, .09); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
kbd { padding: 4px 7px; border: 1px solid var(--line-strong); border-bottom-color: rgba(255,255,255,.25); border-radius: 6px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 11px; }
.filters { display: flex; gap: 8px; }
.filter, .button, .icon-button, .text-button, .checkpoint { cursor: pointer; }
.filter { padding: 10px 13px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); white-space: nowrap; }
.filter:hover, .filter.active { background: var(--panel-2); color: var(--text); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  font-weight: 800;
}
.button:hover { background: #ff5b63; }
.button-secondary { background: var(--panel-2); border: 1px solid var(--line); }
.button-secondary:hover { background: #20242c; }
.button.paused { background: rgba(85, 209, 135, .13); color: var(--green); border-color: rgba(85, 209, 135, .25); }
.button-icon { display: inline-flex; align-items: center; justify-content: center; }

.stats { margin: 26px 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.018); }
.stats article { padding: 20px 22px; border-right: 1px solid var(--line); min-width: 0; }
.stats article:last-child { border-right: 0; }
.stats span, .stats small { display: block; }
.stats span { font-size: 24px; font-weight: 850; letter-spacing: -.03em; }
.stats small { margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
h2 { margin: 7px 0 0; font-size: 30px; letter-spacing: -.035em; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted); padding: 8px; white-space: nowrap; }
.text-button:hover, .danger:hover { color: #ff7379; }
.status { min-height: 24px; color: var(--muted); font-size: 13px; }
.timeline { position: relative; min-width: 0; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 7px; bottom: 7px; width: 1px; background: linear-gradient(var(--red), rgba(255,255,255,.04)); }
.draft-card { position: relative; width: 100%; min-width: 0; margin-bottom: 16px; }
.timeline-dot { position: absolute; left: -25px; top: 28px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(239, 78, 86, .10); }
.draft-main { width: 100%; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.018)); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; overflow: hidden; }
.draft-main:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.draft-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #232630; font-weight: 900; color: #ff8b90; }
.meta-copy { min-width: 0; flex: 1; }
.meta-copy strong, .meta-copy span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-copy span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.draft-time { flex: 0 0 auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.draft-preview-wrap { min-width: 0; max-width: 100%; }
.draft-text {
  max-width: 100%;
  margin: 18px 0;
  color: #e5e6e9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.draft-card.expanded .draft-text { display: block; overflow: visible; }
.draft-footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); }
.draft-stats { min-width: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.draft-actions { display: flex; flex: 0 0 auto; gap: 8px; align-items: center; }
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}
.icon-button:hover, .icon-button.active { background: rgba(239, 78, 86, .09); color: #ff777d; }
.copy-button.copied { background: var(--green); color: var(--green-ink); }
.expand-button .expand-icon { transition: transform .18s ease; }
.draft-card.expanded .expand-button .expand-icon { transform: rotate(180deg); }

.checkpoint-list { display: grid; gap: 8px; min-width: 0; margin: 0 0 18px; }
.checkpoint {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255,255,255,.025);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.checkpoint:hover, .checkpoint:focus-visible { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.checkpoint:focus-visible { box-shadow: 0 0 0 3px rgba(239, 78, 86, .16); }
.checkpoint.is-copied { border-color: rgba(85, 209, 135, .48); background: rgba(85, 209, 135, .08); }
.checkpoint-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.checkpoint-top strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkpoint-time { flex: 0 0 auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.checkpoint-preview {
  max-width: 100%;
  margin: 8px 0;
  color: #dfe0e4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkpoint.expanded .checkpoint-preview { display: block; overflow: visible; }
.checkpoint-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.checkpoint-meta { min-width: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.checkpoint-expand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.checkpoint-expand:hover { background: rgba(255,255,255,.06); color: var(--text); }
.checkpoint-expand .icon { width: 15px; height: 15px; transition: transform .18s ease; }
.checkpoint.expanded .checkpoint-expand .icon { transform: rotate(180deg); }
.checkpoint-copy-indicator {
  position: absolute;
  top: 9px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(-5px) scale(.96);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.checkpoint-copy-indicator .icon { width: 14px; height: 14px; }
.checkpoint.is-copied .checkpoint-copy-indicator { opacity: 1; transform: translateY(0) scale(1); }
.checkpoint.is-copied .checkpoint-top { padding-right: 78px; }

.empty { padding: 70px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 20px; background: rgba(255,255,255,.015); }
.empty-icon { display: grid; place-items: center; color: var(--red); }
.empty h3 { margin: 16px 0 6px; font-size: 24px; }
.empty p, .empty span { color: var(--muted); }
.empty span { display: block; margin-top: 8px; font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filters { overflow-x: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .draft-footer, footer { align-items: flex-start; flex-direction: column; }
  .draft-actions { width: 100%; flex-wrap: wrap; }
  .copy-button { flex: 1; }
  .checkpoint-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1120px); }
  .topbar { min-height: 68px; }
  .brand small, .header-actions #exportButton { display: none; }
  main { padding-top: 46px; }
  h1 { font-size: 46px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .icon-button span { display: none; }
  .checkpoint-expand span { display: inline; }
  .draft-time { display: none; }
}

/* v0.4 — source filtering, local preferences and session limit */
.filter-bar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-menu { position: relative; flex: 0 0 auto; }
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-2);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.menu-trigger:hover,
.app-menu.open .menu-trigger { border-color: var(--line-strong); background: #20242c; color: var(--text); }
.app-menu.open .menu-trigger { box-shadow: 0 0 0 4px rgba(239, 78, 86, .08); }
.menu-trigger.compact { min-height: 38px; padding: 8px 11px; }
.menu-chevron { width: 15px; height: 15px; transition: transform .16s ease; }
.app-menu.open .menu-chevron { transform: rotate(180deg); }
.menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(330px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(18, 20, 26, .98);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
  backdrop-filter: blur(18px);
}
.app-menu-right .menu-panel { right: 0; left: auto; }
.menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.menu-option:hover { background: rgba(255,255,255,.055); }
.menu-option > span { min-width: 0; }
.menu-option strong,
.menu-option small { display: block; }
.menu-option strong { font-size: 13px; }
.menu-option small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.option-check { width: 16px; height: 16px; color: var(--green); opacity: 0; }
.menu-option.active { background: rgba(85, 209, 135, .075); }
.menu-option.active .option-check { opacity: 1; }
.menu-heading { padding: 9px 11px 8px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.menu-heading strong,
.menu-heading small { display: block; }
.menu-heading strong { font-size: 12px; }
.menu-heading small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.limit-panel { width: min(320px, calc(100vw - 32px)); }
.section-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.source-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(85, 209, 135, .20);
  border-radius: 999px;
  background: rgba(85, 209, 135, .08);
  color: #8ee8b1;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.source-badge.clipboard { border-color: rgba(119, 158, 255, .24); background: rgba(119, 158, 255, .09); color: #a9c2ff; }

.settings-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: transparent;
  color: var(--text);
  box-shadow: 0 30px 110px rgba(0,0,0,.62);
}
.settings-dialog::backdrop { background: rgba(3, 4, 7, .72); backdrop-filter: blur(8px); }
.settings-card { overflow: auto; max-height: calc(100vh - 40px); padding: 24px; border-radius: inherit; background: linear-gradient(145deg, #151820, #0f1116); }
.settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.settings-header h2 { margin-top: 6px; }
.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-2);
  color: var(--muted);
  cursor: pointer;
}
.dialog-close:hover { color: var(--text); border-color: var(--line-strong); }
.settings-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.settings-toggle-only { display: block; }
.settings-toggle-only .switch-row-primary { width: 100%; justify-content: space-between; color: var(--text); font-size: 14px; font-weight: 750; white-space: normal; }
.setting-copy { min-width: 0; }
.setting-copy strong { display: block; font-size: 14px; }
.setting-copy p { max-width: 470px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.switch-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; cursor: pointer; white-space: nowrap; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  position: relative;
  width: 44px;
  height: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #232630;
  transition: background .18s ease, border-color .18s ease;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e9eaed;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: transform .18s ease;
}
.switch-row input:checked + .switch { border-color: rgba(85, 209, 135, .45); background: rgba(85, 209, 135, .28); }
.switch-row input:checked + .switch::after { transform: translateX(19px); background: var(--green); }
.switch-row input:focus-visible + .switch { box-shadow: 0 0 0 4px rgba(85, 209, 135, .12); }
.settings-data .button { min-width: 138px; }
.settings-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; }
.settings-footer > span { max-width: 360px; color: var(--muted); font-size: 11px; line-height: 1.45; }

@media (max-width: 850px) {
  .filter-bar { justify-content: space-between; }
  .section-heading { align-items: flex-start; }
}

@media (max-width: 700px) {
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filters { width: 100%; }
  .app-menu, .menu-trigger { width: 100%; }
  .menu-trigger { justify-content: space-between; }
  .menu-panel, .app-menu-right .menu-panel { right: 0; left: 0; width: 100%; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .section-actions { justify-content: space-between; }
  .section-actions .app-menu { width: auto; flex: 1; }
  .section-actions .menu-trigger { width: 100%; }
  .source-badge { display: none; }
  .settings-section { grid-template-columns: 1fr; }
  .switch-row { justify-content: space-between; }
}

@media (max-width: 560px) {
  .header-actions #preferencesButton span { display: none; }
  .section-actions { align-items: stretch; flex-direction: column; }
  .text-button { justify-content: center; }
  .settings-card { padding: 18px; }
  .settings-footer { align-items: stretch; flex-direction: column; }
  .settings-footer .button { width: 100%; }
}


/* v0.8 — voluntary project support and founding acknowledgements */
.button-support { border-color: rgba(242,85,96,.28); background: rgba(242,85,96,.10); color: #ff9aa1; }
.button-support:hover { border-color: rgba(242,85,96,.48); background: rgba(242,85,96,.16); color: #fff; }
.support-card { max-width: 680px; }
.support-intro { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.support-tier-list { display: grid; gap: 10px; padding: 20px 0; }
.support-tier-list article { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.025); }
.support-tier-list article.support-tier-gold { border-color: rgba(242,85,96,.26); background: rgba(242,85,96,.07); }
.support-tier-amount { display: grid; place-items: center; min-height: 38px; padding: 8px; border-radius: 11px; background: rgba(242,85,96,.11); color: #ff9aa1; font-size: 12px; font-weight: 900; white-space: nowrap; }
.support-tier-list strong, .support-tier-list small { display: block; }
.support-tier-list strong { font-size: 13px; }
.support-tier-list small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.support-note { margin: 0 0 20px; padding: 14px; border: 1px solid rgba(244,182,92,.18); border-radius: 13px; background: rgba(244,182,92,.065); color: #c7b48d; font-size: 11px; line-height: 1.6; }
.support-dialog .settings-footer a { text-decoration: none; }
@media (max-width: 560px) { .support-tier-list article { grid-template-columns: 1fr; } .support-tier-amount { justify-self: start; } }


/* Demo-only: the rest of this file is the exact extension dashboard stylesheet. */
.demo-back-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.demo-back-link svg{width:16px;height:16px}@media(max-width:900px){.demo-back-link{display:none}}


.button-icon-only { width: 46px; min-width: 46px; padding-inline: 0; display: inline-grid; place-items: center; }
.button-icon-only .icon { width: 18px; height: 18px; }
.shortcuts-dialog { width: min(780px, calc(100vw - 32px)); }
.shortcuts-card { overflow: auto; }
.shortcut-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.shortcut-platform { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.shortcut-platform-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.shortcut-platform-heading .icon { color: #ff6871; }
.shortcut-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.shortcut-row > div:first-child { min-width: 0; }
.shortcut-row strong, .shortcut-row span { display: block; }
.shortcut-row strong { font-size: 13px; }
.shortcut-row > div:first-child span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.key-combo { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.key-combo > span { color: var(--muted-2); font-size: 10px; }
.key-combo kbd { min-width: 31px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.14); border-bottom-color: rgba(255,255,255,.25); border-radius: 8px; background: rgba(255,255,255,.055); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); color: var(--text); text-align: center; font: inherit; font-size: 11px; font-weight: 800; }
.shortcut-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.shortcuts-footer { margin-top: 20px; }
@media (max-width: 720px) {
  .shortcut-platforms { grid-template-columns: 1fr; }
  .shortcut-row { grid-template-columns: 1fr; }
  .key-combo { justify-content: flex-start; }
}
