*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --teal and --text-muted were darkened from the original brand values
     (#1a9e7a / #8a9896) to meet WCAG AA contrast (4.5:1) on white —
     original values are kept below as --teal-bright/--text-muted-original
     for any future decorative-only (non-text) use. */
  --teal: #158365;
  --teal-bright: #1a9e7a;
  --teal-dark: #0f7a5e;
  --teal-light: #e6f7f2;
  --teal-mid: #5dc4a5;
  --white: #ffffff;
  --off-white: #f8faf9;
  --text-primary: #1a1f1e;
  --text-secondary: #4a5552;
  --text-muted: #63716f;
  --text-muted-original: #8a9896;
  --border: #e2ebe8;
  --border-dark: #c5d6d0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --focus-ring: 0 0 0 3px rgba(21,131,101,0.35);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-primary); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; border: none; background: none; }

/* Visible keyboard-focus indicator site-wide (WCAG 2.4.7) — mouse/touch
   users never see this; only keyboard navigation triggers :focus-visible. */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible, [role="button"]:focus-visible, [role="checkbox"]:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  background: var(--teal); color: white; padding: 10px 22px;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 500;
  transition: background 0.18s, transform 0.12s; display: inline-flex;
  align-items: center; gap: 6px; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--teal); padding: 9px 20px;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 500;
  border: 1.5px solid var(--teal); transition: background 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--teal-light); }

.tag {
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 0.75rem; font-weight: 500; padding: 3px 10px;
  border-radius: 20px; display: inline-block;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); z-index: 100; height: 64px;
  display: flex; align-items: center;
}
.nav-inner { display: flex; align-items: center; gap: 16px; width: 100%; }
.nav-logo { display: flex; align-items: baseline; gap: 1px; flex-shrink: 0; }
.nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--teal); font-style: italic; }
.nav-logo-dot { font-size: 0.85rem; color: var(--text-muted); }
.nav-links { display: flex; list-style: none; gap: 2px; flex: 1; align-items: center; min-width: 0; }
.nav-links li { flex-shrink: 0; }
.nav-links a { font-size: 0.87rem; padding: 6px 8px; border-radius: 6px; color: var(--text-secondary); transition: color 0.15s, background 0.15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); font-weight: 500; }
.nav-cta { font-size: 0.875rem; padding: 8px 18px; flex-shrink: 0; }

/* NAV — signed-in profile dropdown (replaces Sign Up button) */
.nav-profile-wrap { position: relative; flex-shrink: 0; }
.nav-profile-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--border-dark); border-radius: 24px; padding: 5px 12px 5px 6px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.nav-profile-btn:hover, .nav-profile-btn.open { border-color: var(--teal); }
.nav-profile-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: white; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-profile-name { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-profile-caret { font-size: 0.65rem; color: var(--text-muted); }
.nav-profile-menu { display: none; list-style: none; position: absolute; top: 44px; right: 0; min-width: 210px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 6px; z-index: 70; }
.nav-profile-menu.open { display: block; }
.nav-profile-details { padding: 8px 10px 10px; }
.nav-profile-details-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.nav-profile-details-email { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-profile-menu-divider { height: 1px; background: var(--border); margin: 4px 2px 6px; }
.nav-profile-menu a, .nav-profile-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-secondary); background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.nav-profile-menu a:hover, .nav-profile-menu button:hover { background: var(--off-white); color: var(--teal); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--text-primary); padding: 6px 8px; cursor: pointer; flex-shrink: 0; border-radius: 6px; }
.nav-search-wrap { position: relative; flex-shrink: 0; }
.nav-search-btn { background: none; border: none; font-size: 1.05rem; padding: 6px 10px; border-radius: 6px; cursor: pointer; color: var(--text-secondary); }
.nav-search-btn:hover { background: var(--off-white); }
.nav-search-panel { display: none; position: absolute; top: 48px; right: 0; width: 320px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 14px; }
.nav-search-panel.open { display: block; }
.nav-search-panel input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border-dark); border-radius: var(--radius); font-size: 0.9rem; font-family: 'DM Sans', sans-serif; outline: none; }
.nav-search-panel input:focus { border-color: var(--teal); box-shadow: var(--focus-ring); }
.nav-search-results { margin-top: 8px; max-height: 280px; overflow-y: auto; }
.nav-search-results .search-result-item { border-radius: var(--radius); }
.nav-search-empty { padding: 10px 6px; font-size: 0.85rem; color: var(--text-muted); }

/* NAV — "More" dropdown */
.nav-hamburger-wrap { position: relative; flex-shrink: 0; }
.nav-hamburger-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; font-size: 1.3rem; line-height: 1; color: var(--text-primary); padding: 6px 9px; border-radius: 6px; cursor: pointer; }
.nav-hamburger-btn:hover, .nav-hamburger-btn.open { background: var(--off-white); color: var(--teal); }
.nav-hamburger-menu { display: none; list-style: none; position: absolute; top: 42px; left: 0; min-width: 200px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 6px; z-index: 70; }
.nav-hamburger-menu.open { display: block; }
.nav-hamburger-menu li a { display: block; padding: 9px 10px; border-radius: var(--radius); font-size: 0.9rem; color: var(--text-secondary); }
.nav-hamburger-menu li a:hover, .nav-hamburger-menu li a.active { background: var(--off-white); color: var(--teal); font-weight: 500; }
.nav-hamburger-menu .menu-divider { height: 1px; background: var(--border); margin: 6px 4px; list-style: none; }

/* PAGE */
.page-content { padding-top: 64px; }

/* HERO */
.hero { background: linear-gradient(160deg, var(--teal-light) 0%, white 60%); padding: 80px 0 72px; border-bottom: 1px solid var(--border); }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 16px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* SEARCH */
.search-wrap { position: relative; max-width: 560px; margin-bottom: 28px; }
.search-wrap input { width: 100%; padding: 14px 20px 14px 48px; border: 1.5px solid var(--border-dark); border-radius: var(--radius-lg); font-size: 0.95rem; outline: none; background: white; box-shadow: var(--shadow-sm); font-family: 'DM Sans', sans-serif; }
.search-wrap input:focus { border-color: var(--teal); box-shadow: var(--focus-ring); }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1rem; pointer-events: none; }
.search-results { background: white; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 4px; box-shadow: var(--shadow-md); display: none; }
.search-results.show { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; cursor: pointer; }
.search-result-item:hover { background: var(--teal-light); }
.search-result-item .tag { margin-left: auto; }

/* PAGE HERO */
.page-hero { background: var(--teal-light); border-bottom: 1px solid var(--border); padding: 56px 0 48px; }
.page-hero .tag { margin-bottom: 14px; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: 2.4rem; line-height: 1.2; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 540px; }

/* SECTIONS */
.section { padding: 72px 0; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 8px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.6; }

/* TOOL GRID */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tool-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; cursor: pointer; transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
  display: flex; flex-direction: column; gap: 10px;
}
.tool-card:hover { border-color: var(--teal-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tool-icon { width: 40px; height: 40px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tool-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
.tool-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

/* SECTION HEADING */
.subsection { margin-bottom: 52px; }
.subsection-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-light); display: inline-block; }

/* CAT GRID */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s; }
.cat-card:hover { border-color: var(--teal-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-icon { width: 52px; height: 52px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.cat-count { margin-bottom: 6px; }
.cat-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.cat-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }
.cat-arrow { color: var(--teal); font-weight: 500; margin-top: auto; }

/* WHY SECTION */
.why-section { background: var(--teal-light); padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-feature { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.why-feature-icon { font-size: 1.6rem; margin-bottom: 8px; }
.why-feature-label { font-weight: 500; font-size: 0.95rem; }

/* FOOTER */
footer { background: var(--off-white); border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--teal); font-style: italic; }
.footer-logo-dot { font-size: 0.8rem; color: var(--text-muted); }
.footer-tagline { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-top: 10px; }
.footer-col-title { font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.18s, box-shadow 0.18s; }
.blog-card:hover { border-color: var(--teal-mid); box-shadow: var(--shadow-md); }
.blog-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.blog-card h2 { font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--text-primary); }
.blog-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted); }
.blog-card-read { font-size: 0.85rem; color: var(--teal); font-weight: 500; }

/* ABOUT */
.about-body { display: flex; flex-direction: column; gap: 20px; font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); max-width: 680px; }
.about-callout { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 24px 28px; margin: 8px 0; }
.about-callout p { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--teal-dark); font-style: italic; line-height: 1.4; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.value-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; }
.value-icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-title { font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.value-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }

/* SIGNUP */
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 900px; margin: 0 auto; padding: 64px 0; }
.signup-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.signup-list li { font-size: 0.9rem; color: var(--text-secondary); }
.signup-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.signup-toggle { display: flex; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; margin-bottom: 24px; gap: 4px; }
.toggle-btn { flex: 1; padding: 8px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); background: none; border: none; cursor: pointer; transition: all 0.15s; }
.toggle-btn.active { background: white; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 14px; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 0.95rem; outline: none; font-family: 'DM Sans', sans-serif; transition: border-color 0.15s; }
.form-input:focus { border-color: var(--teal); box-shadow: var(--focus-ring); }
.signup-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }
.signup-note a { color: var(--teal); }

/* NOTE BOX */
.note-box { display: flex; align-items: center; gap: 10px; background: var(--teal-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; max-width: 480px; margin-top: 32px; }
.note-box p { color: var(--text-secondary); font-size: 0.875rem; }

/* CTA SECTION */
.cta-section { padding: 80px 0; text-align: center; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); padding: 10px 24px 16px; max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.nav-open a { padding: 12px 8px; border-radius: var(--radius); display: block; }
  .nav-hamburger-menu { max-width: calc(100vw - 32px); }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .signup-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .hero h1 { font-size: 2.2rem; }
}

/* ─── MY BENCH / Favourites ─── */
.bench-btn { background:none; border:none; cursor:pointer; font-size:1.1rem; padding:4px 6px; border-radius:6px; line-height:1; color:var(--text-muted); transition:transform 0.15s, color 0.15s; flex-shrink:0; }
.bench-btn:hover { color:var(--teal); transform:scale(1.2); }
.bench-btn.pinned { color:#f59e0b; }
.bench-panel { display:none; position:absolute; top:52px; right:0; width:300px; max-width:calc(100vw - 32px); background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:14px; z-index:200; }
.bench-panel.open { display:block; }
.bench-panel-title { font-size:0.8rem; font-weight:600; color:var(--text-secondary); margin-bottom:10px; text-transform:uppercase; letter-spacing:0.05em; }
.bench-empty { font-size:0.85rem; color:var(--text-muted); text-align:center; padding:16px 0; }
.bench-item { display:flex; align-items:center; gap:10px; padding:8px 6px; border-radius:var(--radius); font-size:0.88rem; color:var(--text-primary); text-decoration:none; }
.bench-item:hover { background:var(--off-white); }
.bench-item-icon { font-size:1.1rem; flex-shrink:0; }
.bench-remove { margin-left:auto; background:none; border:none; cursor:pointer; color:var(--text-muted); font-size:0.9rem; padding:2px 4px; border-radius:4px; }
.bench-remove:hover { color:#c0392b; }
.bench-wrap { position:relative; flex-shrink:0; }

/* ─── Tool-page PIN button (top-right of tool header) ─── */
.tool-pin-row { display:flex; justify-content:flex-end; margin-bottom:-8px; }
.tool-pin-btn { font-size:0.78rem; color:var(--text-muted); background:none; border:1px solid var(--border); border-radius:12px; padding:4px 10px; cursor:pointer; font-family:'DM Sans',sans-serif; display:flex; align-items:center; gap:4px; transition:border-color 0.15s, color 0.15s; }
.tool-pin-btn:hover { border-color:var(--teal); color:var(--teal); }
.tool-pin-btn.pinned { border-color:#f59e0b; color:#d97706; background:#fffbeb; }

/* ─── SEO content block ─── */
.seo-block { border-top:1px solid var(--border); margin-top:56px; padding-top:40px; padding-bottom:48px; }
.seo-block h2 { font-family:'DM Serif Display',serif; font-size:1.5rem; color:var(--text-primary); margin-bottom:14px; }
.seo-block h3 { font-size:1rem; font-weight:600; color:var(--text-primary); margin:28px 0 8px; }
.seo-block p { font-size:0.92rem; color:var(--text-secondary); line-height:1.8; margin-bottom:12px; }
.seo-block ul { padding-left:20px; margin-bottom:12px; }
.seo-block li { font-size:0.92rem; color:var(--text-secondary); line-height:1.75; margin-bottom:5px; }

/* ─── Workflow next-step suggestion ─── */
.workflow-next { margin-top:32px; background:var(--teal-light); border:1px solid var(--border); border-radius:var(--radius-lg); padding:18px 22px; display:flex; align-items:center; gap:16px; }
.workflow-next .wf-label { font-size:0.78rem; font-weight:600; color:var(--teal); text-transform:uppercase; letter-spacing:0.05em; white-space:nowrap; }
.workflow-next .wf-links { display:flex; gap:10px; flex-wrap:wrap; }
.workflow-next .wf-link { font-size:0.85rem; color:var(--text-primary); background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:6px 12px; text-decoration:none; transition:border-color 0.15s; }
.workflow-next .wf-link:hover { border-color:var(--teal); color:var(--teal); }

/* ─── Share button ─── */
.share-bar { display:flex; gap:10px; align-items:center; margin-top:20px; flex-wrap:wrap; }
.share-bar-label { font-size:0.78rem; color:var(--text-muted); font-weight:600; }
.share-btn { font-size:0.78rem; padding:5px 12px; border:1px solid var(--border); border-radius:12px; background:var(--white); color:var(--text-secondary); cursor:pointer; font-family:'DM Sans',sans-serif; text-decoration:none; display:inline-flex; align-items:center; gap:5px; transition:border-color 0.15s, color 0.15s; }
.share-btn:hover { border-color:var(--teal); color:var(--teal); }

/* ─── Homepage tooltip ─── */
.tool-card { position:relative; }
.tool-tooltip { display:none; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:var(--text-primary); color:var(--white); font-size:0.75rem; line-height:1.4; padding:8px 12px; border-radius:8px; width:200px; white-space:normal; z-index:100; pointer-events:none; box-shadow:var(--shadow-md); }
.tool-tooltip::after { content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%); border:5px solid transparent; border-top-color:var(--text-primary); }
.tool-card:hover .tool-tooltip, .tool-card:focus-within .tool-tooltip { display:block; }

@media(max-width:768px) {
  .bench-panel { right:auto; left:0; }
  .workflow-next { flex-direction:column; align-items:flex-start; gap:10px; }
}
