/* ====================================================
   Shiftext — Shared Stylesheet
   ==================================================== */

/* === VARIABLES === */
:root {
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Oxygen, Ubuntu, Cantarell, sans-serif;
  --max-w: 1100px;
  --r:     8px;
  --shadow:       0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --t: 0.15s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { text-decoration: none; }

/* === NAV === */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.035em;
}
.nav-brand:hover { color: var(--blue-dark); text-decoration: none; }
.nav-brand-suffix { color: var(--gray-400); font-weight: 400; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue); }

/* Tools dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  line-height: 1;
}
.nav-dropdown-btn:hover { color: var(--blue); }
.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--t);
  display: inline-block;
}
.nav-dropdown-wrap.open .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: -0.75rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  min-width: 250px;
  padding: 0.5rem 0;
  z-index: 200;
}
.nav-dropdown-wrap.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--blue); }
.nav-dropdown-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0.35rem 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--t);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding: 0.75rem 1.25rem 1rem;
  background: #fff;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  padding: 0.75rem 0 0.3rem;
}
.mobile-nav ul { list-style: none; }
.mobile-nav li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav li a:hover { color: var(--blue); }

/* === HERO (homepage) === */
.hero {
  background: var(--blue-light);
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--blue-border);
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.badge {
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 100px;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
}

/* === SECTIONS === */
.section {
  padding: 3rem 1.25rem;
}
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 1.75rem; }
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.section-desc {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* === TOOL GRID === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tool-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
  display: block;
}
.tool-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateY(-2px);
  text-decoration: none;
}
.tool-card-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  font-family: monospace;
  letter-spacing: -0.05em;
}
.tool-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}
.tool-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* === WHY SECTION === */
.why-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-item-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.why-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* === AUDIENCE / EXTRA CONTENT SECTION === */
.audience-section { border-top: 1px solid var(--gray-200); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.audience-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.25rem;
}
.audience-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.audience-card p {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* === AD PLACEHOLDERS === */
.ad-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  color: var(--gray-400);
  font-size: 0.7rem;
  border-radius: var(--r);
  margin: 1.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#ad-top    { height: 90px; }
#ad-bottom { height: 90px; }

/* === FOOTER === */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.footer-brand-link:hover { color: #fff; text-decoration: none; }
.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 210px;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--t);
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.footer-bottom a:hover { color: #fff; }

/* === PAGE HERO (content pages) === */
.page-hero {
  background: var(--blue-light);
  border-bottom: 1px solid var(--blue-border);
  padding: 2.25rem 1.25rem;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.page-hero-sub {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* === CONTENT BODY (About / Privacy / Disclaimer) === */
.content-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.content-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.01em;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p {
  color: var(--gray-700);
  margin-bottom: 0.9rem;
  line-height: 1.7;
  font-size: 0.93rem;
}
.content-body ul, .content-body ol {
  margin: 0.35rem 0 0.9rem 1.35rem;
  color: var(--gray-700);
  font-size: 0.93rem;
}
.content-body li { margin-bottom: 0.35rem; line-height: 1.65; }
.content-body a { color: var(--blue); }
.last-updated {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

/* Info box */
.info-box {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* === CONTACT FORM === */
.contact-form { margin-top: 1.25rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: #fff;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r);
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t);
  text-decoration: none;
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
.form-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #166534;
  margin-top: 1rem;
  display: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-dropdown-wrap { display: none; }
  .nav-hamburger { display: flex; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 2rem 1.25rem; }
  .hero { padding: 2rem 1.25rem 1.75rem; }
  #ad-top, #ad-bottom { height: 50px; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   TOOL PAGES — widget, content sections, cross-links
   ==================================================== */

/* Tool page hero (overrides .page-hero for tool pages) */
.tool-intro { max-width: 680px; }
.tool-intro p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
  line-height: 1.65;
}

/* Tool widget */
.tool-section {
  padding: 1.75rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.tool-section-inner { max-width: var(--max-w); margin: 0 auto; }
.tool-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tool-col-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
  display: block;
}
.tool-textarea {
  width: 100%;
  height: 190px;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--gray-900);
  resize: vertical;
  outline: none;
  background: #fff;
  line-height: 1.6;
  transition: border-color var(--t), box-shadow var(--t);
}
.tool-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.tool-textarea.output {
  background: var(--gray-50);
  cursor: default;
  color: var(--gray-900);
}
.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.char-count { font-size: 0.78rem; color: var(--gray-400); }
.btn-sm {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  color: var(--gray-600);
  font-family: var(--font);
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.btn-sm:hover { border-color: var(--gray-400); color: var(--gray-900); }
.btn-copy {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t);
}
.btn-copy:hover { background: var(--blue-dark); }

/* Email capture card (shown post-conversion, non-blocking) */
.email-capture {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 0;
  display: none;
}
.email-capture h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.3rem;
}
.email-capture p {
  font-size: 0.83rem;
  color: var(--gray-600);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.email-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.email-input {
  flex: 1;
  min-width: 180px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--blue-border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font);
  color: var(--gray-900);
  background: #fff;
  outline: none;
  transition: border-color var(--t);
}
.email-input:focus { border-color: var(--blue); }
.btn-notify {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t);
}
.btn-notify:hover { background: var(--blue-dark); }

/* Content sections (how-it-works, when-to-use, etc.) */
.content-section {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--gray-200);
}
.content-section-inner { max-width: var(--max-w); margin: 0 auto; }
.content-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.content-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 1.25rem 0 0.35rem;
}
.content-section p {
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  max-width: 740px;
}
.content-section ol,
.content-section ul {
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 0.85rem 1.35rem;
  max-width: 700px;
}
.content-section li { margin-bottom: 0.4rem; }
.content-section a { color: var(--blue); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 0;
  max-width: 740px;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}
.faq-a {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.faq-a a { color: var(--blue); }

/* Cross-links */
.cross-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}
.cross-link-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 0.75rem;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color var(--t), color var(--t);
  display: block;
  line-height: 1.35;
}
.cross-link-card:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Tool page responsive */
@media (max-width: 640px) {
  .tool-widget { grid-template-columns: 1fr; }
  .cross-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .cross-links-grid { grid-template-columns: 1fr; }
}

/* Mode button group (Tools 4, 5, 6, 8) */
.mode-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.mode-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  display: block;
}
.mode-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.4rem 0.875rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.mode-btn:hover { background: var(--gray-200); }
.mode-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Format checkboxes (Tool 7) */
.format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1rem;
}
.format-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  user-select: none;
}
.format-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* Format output table (Tool 6) */
.format-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.format-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}
.format-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.format-table td:first-child { font-weight: 500; color: var(--gray-900); }
.format-table td code {
  font-family: monospace;
  font-size: 0.875em;
  background: var(--gray-100);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.format-table tr:hover td { background: var(--gray-50); }
.format-table .copy-row-btn {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--gray-600);
  font-family: var(--font);
  transition: border-color var(--t), color var(--t);
}
.format-table .copy-row-btn:hover { border-color: var(--blue); color: var(--blue); }
