/* exocad PartialCAD guide — precision bench manual */

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page-bg: #f2f5f7;
  --surface: #ffffff;
  --surface-raised: #eaf0f4;
  --ink: #152c3d;
  --muted: #4b6473;
  --accent: #0057b8;
  --accent-deep: #003d82;
  --border: #c6d2da;
  --warning-ink: #694000;
  --warning-bg: #fff4df;
  --info-bg: #e9f2f8;
  --success-bg: #eaf3ee;
  --sidebar-w: 264px;
  --header-h: 60px;
  --content-max: 46rem;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-utility: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease-standard: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- SKIP LINK + HEADER ---------- */
.skip-link {
  position: fixed;
  z-index: 60;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 24px;
  background: var(--ink);
  color: #fff;
}

.site-header .logo {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.site-header .logo span {
  font-weight: 400;
}

.site-header .subtitle {
  margin-left: 4px;
  color: #d6e1e8;
  font-size: 13px;
  letter-spacing: .025em;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.hamburger:hover {
  background: rgb(255 255 255 / 10%);
}

/* ---------- TOOL INDEX ---------- */
.sidebar {
  position: fixed;
  z-index: 30;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 12px 32px;
  background: var(--page-bg);
  border-right: 1px solid var(--border);
  scrollbar-color: #aebdc7 transparent;
  scrollbar-width: thin;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #aebdc7;
}

.search-box {
  position: relative;
  margin: 0 4px 18px;
}

.search-box input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px 9px 36px;
  border: 1px solid #aebdc7;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.search-box input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-box input:focus-visible {
  outline-offset: 2px;
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  top: 7px;
  left: 11px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  pointer-events: none;
}

.search-status {
  min-height: 1.4em;
  margin: 7px 1px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.nav-section {
  margin: 0 0 8px;
}

.nav-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 7px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

.nav-section-title:hover {
  background: rgb(255 255 255 / 70%);
  color: var(--ink);
}

.nav-section-title .chevron {
  flex: 0 0 auto;
  margin-left: 8px;
  font-size: 9px;
  transition: transform 160ms var(--ease-standard);
}

.nav-section.collapsed .chevron {
  transform: rotate(-90deg);
}

.nav-section.collapsed .nav-links {
  display: none;
}

.nav-links {
  margin: 1px 0 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 7px 9px 7px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.nav-links a:hover {
  background: rgb(255 255 255 / 76%);
  color: var(--accent-deep);
}

.nav-links a.active {
  border-left-color: var(--accent);
  background: var(--surface);
  color: var(--accent-deep);
  font-weight: 700;
}

.nav-links a .kbd-hint {
  flex: 0 0 auto;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 10px;
  line-height: 1.45;
}

/* ---------- MAIN READING COLUMN ---------- */
.main-content {
  min-height: 100vh;
  margin: var(--header-h) 0 0 var(--sidebar-w);
  padding: clamp(42px, 6vw, 82px) clamp(24px, 5vw, 80px) 96px;
}

.main-content > * {
  width: min(100%, var(--content-max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  margin-bottom: clamp(60px, 8vw, 104px);
  padding: 0;
  
}

.hero .eyebrow {
  margin: 0 0 15px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow span {
  padding: 0 5px;
  color: var(--muted);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 15px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hero > p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 26px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero-link span {
  font-size: 18px;
}

.print-btn {
  min-height: 40px;
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
}

.print-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.tool-section {
  position: relative;
  margin: 0 0 clamp(56px, 7vw, 88px);
  padding: 0;
  
}

.tool-section:target h2,
.hero:target h1 {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.tool-section h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.2;
}

.tool-section h2 .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-utility);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.tool-section h3 {
  margin: 29px 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.tool-section h4 {
  margin: 19px 0 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.tool-section p {
  max-width: 72ch;
  margin: 0 0 13px;
}

.tool-section ul,
.tool-section ol {
  margin: 10px 0 17px;
  padding-left: 23px;
}

.tool-section li {
  margin-bottom: 6px;
  padding-left: 2px;
}

.tool-section li::marker {
  color: var(--accent-deep);
}

/* ---------- STATUS + SHORTCUT LABELS ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 3px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.2;
  vertical-align: middle;
}

.badge-workflow {
  border-color: #b8cfe0;
  background: #e9f2f8;
  color: #123b5b;
}

.badge-expert {
  background: #edf1f3;
  color: var(--ink);
}

.badge-hotkey {
  border-color: #aebdc7;
  background: var(--surface-raised);
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: 10px;
}

kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid #b8c6cf;
  border-bottom-width: 2px;
  border-radius: 3px;
  background: #f3f6f8;
  color: var(--ink);
  font-family: var(--font-utility);
  font-size: .82em;
  line-height: 1.45;
  white-space: nowrap;
}

/* ---------- TABLES ---------- */
.table-wrap {
  max-width: 100%;
  margin: 14px 0 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  scrollbar-color: #aebdc7 transparent;
  scrollbar-width: thin;
}

.table-wrap:focus-visible {
  outline-offset: 2px;
}

.param-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
}

.param-table th {
  padding: 10px 13px;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}

.param-table td {
  padding: 10px 13px;
  border-top: 1px solid #dce4e9;
  vertical-align: top;
}

.param-table tbody tr:nth-child(even) td {
  background: #fafcfd;
}

.param-table code {
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--surface-raised);
  color: var(--accent-deep);
  font-family: var(--font-utility);
  font-size: 12px;
}

/* ---------- NOTES + CALLOUTS ---------- */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 19px 0 21px;
  padding: 13px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0 5px 5px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.callout .callout-icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent-deep);
  font-size: 17px;
  line-height: 1.4;
}

.callout-tip {
  border-left-color: #2d6d55;
  background: var(--success-bg);
}

.callout-tip .callout-icon {
  color: #245940;
}

.callout-warning {
  border-left-color: #9a5b00;
  background: var(--warning-bg);
}

.callout-warning .callout-icon {
  color: var(--warning-ink);
}

.callout-info {
  background: var(--info-bg);
}

/* ---------- KEYBOARD SHORTCUT INDEX ---------- */
.kbd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 14px 0 22px;
}

.kbd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 7px 2px;
  border-bottom: 1px solid #dce4e9;
  color: var(--ink);
  font-size: 13px;
}

.kbd-item kbd {
  flex: 0 0 auto;
}

/* ---------- WORKFLOW SPINE ---------- */
.workflow-flow {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  column-gap: 34px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: workflow-step;
}

.workflow-flow li {
  position: relative;
  min-height: 45px;
  margin: 0;
  padding: 7px 0 10px 22px;
  border-left: 1px solid #9db6c8;
  counter-increment: workflow-step;
}

.workflow-flow li::before {
  position: absolute;
  top: 7px;
  left: -12px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--page-bg);
  color: var(--accent-deep);
  content: counter(workflow-step);
  font-family: var(--font-utility);
  font-size: 10px;
  font-weight: 600;
}

.workflow-flow li:nth-child(6) {
  border-left-color: transparent;
}
.workflow-flow li:last-child {
  border-left-color: transparent;
}

.workflow-flow a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}

.workflow-flow a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* ---------- BACK TO TOP + MOBILE DRAWER ---------- */
.back-to-top {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--accent-deep);
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.back-to-top:hover {
  background: var(--accent-deep);
}

.overlay {
  display: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .hamburger {
    display: inline-flex;
  }

  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .sidebar {
    z-index: 30;
    width: min(var(--sidebar-w), calc(100vw - 48px));
    box-shadow: 8px 0 24px rgb(21 44 61 / 8%);
    transform: translateX(-105%);
    transition: transform 180ms var(--ease-standard);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .overlay.open {
    position: fixed;
    z-index: 20;
    inset: var(--header-h) 0 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgb(21 44 61 / 34%);
    cursor: default;
  }

  .main-content {
    margin-left: 0;
    padding-inline: clamp(20px, 6vw, 52px);
  }

  .nav-links a {
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  .site-header .logo {
    font-size: 17px;
  }

  .site-header .subtitle {
    display: none;
  }

  .main-content {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .hero {
    margin-bottom: 58px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(37px, 12vw, 48px);
  }

  .hero > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px 18px;
  }

  .tool-section h2 {
    gap: 7px;
  }

  .kbd-grid,
  .workflow-flow {
    grid-template-columns: 1fr;
  }

  .kbd-item {
    min-height: 44px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  :root {
    --page-bg: #fff;
    --surface: #fff;
    --ink: #111;
    --muted: #333;
    --border: #888;
  }

  html,
  body {
    min-width: 0;
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  .site-header,
  .sidebar,
  .overlay,
  .skip-link,
  .back-to-top,
  .hero-actions {
    display: none !important;
  }

  .main-content {
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .main-content > * {
    width: 100%;
    max-width: none;
  }

  .hero {
    margin: 0 0 28pt;
  }

  .hero h1,
  .tool-section h2,
  .tool-section h3 {
    color: #111;
  }

  .tool-section {
    margin-bottom: 24pt;
    break-inside: auto;
  }

  .table-wrap {
    max-width: none;
    overflow: visible;
    border-color: #888;
  }

  .param-table {
    width: 100%;
    min-width: 0;
    font-size: 9pt;
    break-inside: auto;
  }

  .param-table thead {
    display: table-header-group;
  }

  .param-table tr {
    break-inside: avoid;
  }

  .callout,
  .badge,
  .param-table th,
  .workflow-flow li::before {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}



/* Problem-first PartialCAD help interface */
.help-home,.tool-explorer,.reference-intro{max-width:1160px;margin:0 auto 44px;}
.help-home{padding:42px clamp(18px,4vw,52px) 30px;border:1px solid #d4dee6;border-radius:12px;background:#fff}
.help-home-copy{max-width:760px}
.eyebrow,.section-kicker,.task-shortcuts-label{margin:0 0 10px;color:#60778a;font:600 10px var(--font-utility);letter-spacing:.11em}
.help-home h1{margin:0;color:#142e42;font:600 clamp(34px,5vw,52px)/1.08 var(--font-body);letter-spacing:-.055em}
.help-lede{max-width:64ch;margin:15px 0 0;color:#5d7181;font-size:15px;line-height:1.75}
.quick-search-panel{margin-top:28px;padding:18px;border:1px solid #cbd8e2;border-radius:9px;background:#f7f9fb}
.quick-search-panel>label{display:block;margin-bottom:9px;color:#1d3548;font-size:13px;font-weight:600}
.quick-search-input{display:flex;align-items:center;gap:11px;min-height:54px;padding:0 14px;border:1px solid #bacbd9;border-radius:7px;background:#fff;color:#577084}
.quick-search-input>span{font-size:22px;line-height:1}
.quick-search-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#172f42;font-size:15px}
.quick-search-input input::placeholder{color:#8998a5}
.quick-search-input kbd{flex:0 0 auto}
.search-hint{margin:8px 0 0;color:#788997;font-size:11px}
.task-shortcuts{margin-top:23px}
.task-shortcuts-label{margin-bottom:10px}
.task-shortcut-list{display:flex;flex-wrap:wrap;gap:8px}
.task-shortcut{min-height:38px;padding:8px 12px;border:1px solid #d1dce5;border-radius:6px;background:#fff;color:#2c4b63;font-size:12px;text-align:left;cursor:pointer}
.task-shortcut:hover,.task-shortcut:focus-visible{border-color:#759cbe;background:#f2f7fb}
.tool-library-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.tool-library-heading h2,.reference-intro h2{margin:0;color:#173146;font:600 clamp(26px,3vw,34px)/1.2 var(--font-body);letter-spacing:-.04em}
.section-intro{max-width:70ch;margin:8px 0 0;color:#5a6f7f;font-size:13px;line-height:1.7}
.tool-count{white-space:nowrap;color:#6e8190;font:11px var(--font-utility)}
.explorer-controls{margin:0 0 12px;padding:0;border:0;background:transparent}
.filter-row{display:flex;flex-wrap:wrap;gap:7px}
.filter-chip{min-height:35px;padding:7px 12px;border:1px solid #d3dde5;border-radius:6px;background:#fff;color:#5b7182;font-size:11px;cursor:pointer}
.filter-chip.is-active{border-color:#6f95b7;background:#eaf2f8;color:#1d4c74;font-weight:600}
.explorer-status{min-height:18px;margin:0 0 12px;color:#758695;font-size:11px}
.tool-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tool-card{display:flex;min-width:0;min-height:174px;flex-direction:column;padding:17px;border:1px solid #d7e0e7;border-radius:8px;background:#fff;color:#183247;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.tool-card:hover{border-color:#9db5c8;box-shadow:0 5px 16px #1b35470b;color:#183247}
.tool-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px;color:#7a8d9b;font:600 9px var(--font-utility);letter-spacing:.07em}
.tool-card b{margin-bottom:7px;color:#1b3448;font-size:15px;font-weight:600;line-height:1.35}
.tool-card p{margin:0 0 16px;color:#5f7484;font-size:12px;line-height:1.65}
.tool-card-action{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #edf1f4;color:#315f88;font-size:11px;font-weight:600}
.tool-card-action span{font-size:15px;line-height:1}
.empty-results{padding:28px;border:1px dashed #c8d6e0;border-radius:8px;background:#fff;text-align:center}
.empty-results b{color:#19364b}
.empty-results p{color:#657b8b;font-size:12px}
.empty-results button{padding:8px 12px;border:1px solid #cbd8e2;border-radius:5px;background:#fff;color:#315f88;cursor:pointer}
.reference-intro{padding:20px 0;border-top:1px solid #d7e0e7}
.reference-intro p:last-child{max-width:75ch;color:#6a7e8d;font-size:12px}
.callout-icon{display:none!important}
.tool-section{}
@media(min-width:921px){.main-content{margin-left:var(--sidebar-w)}}
@media(max-width:1180px){.tool-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .help-home{margin-inline:-8px;padding:28px 17px 22px}
  .help-home h1{font-size:37px}
  .help-lede{font-size:13px}
  .quick-search-panel{padding:12px}
  .quick-search-input{min-height:49px;padding:0 10px}
  .quick-search-input input{font-size:13px}
  .task-shortcut-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .task-shortcut{min-height:43px;padding:8px 9px}
  .tool-library-heading{align-items:flex-start;flex-direction:column;gap:9px}
  .tool-card-grid{grid-template-columns:1fr}
  .tool-card{min-height:0;padding:15px}
  .filter-row{gap:6px}
  .filter-chip{padding:7px 9px}
}
@media(prefers-reduced-motion:reduce){.tool-card{transition:none}}
@media print{.site-header,.sidebar,.help-home,.tool-explorer,.back-to-top{display:none!important}.main-content{margin:0;padding:0}.reference-intro{display:block}}

/* Search fixes: stronger contrast, one shared finder, and visible match context */
:root{
  --guide-muted-strong:#526777;
  --guide-border:#cbd7e0;
  --guide-surface-soft:#f5f8fa;
  --guide-link:#245985;
}
.search-hint,.explorer-status,.tool-count,.tool-card-meta{color:var(--guide-muted-strong)}
.quick-search-input input::placeholder{color:#667b8a;opacity:1}
.tool-card-meta{font-size:11px;letter-spacing:.035em}
.search-hint,.explorer-status,.tool-count{font-size:12px}
.filter-chip{font-size:12px;color:#425a6b}
.tool-card p{font-size:13px}
.tool-card-action{font-size:12px}
.guide-disclaimer{margin:12px 0 0;color:#53697a;font-size:12px;line-height:1.6}
.guide-disclaimer a{font-weight:600}
.tool-match-snippet{display:block;margin:0 0 13px;padding:8px 9px;border-left:2px solid #7698b5;background:#f3f7fa;color:#40596c;font-size:12px;line-height:1.55}
.tool-match-snippet[hidden]{display:none}
.wax-rescue{margin:0 0 18px;padding:20px;border:1px solid #b9cbd9;border-radius:8px;background:#f6f9fb}
.wax-rescue[hidden]{display:none}
.wax-rescue-heading h3{margin:0;color:#18354b;font-size:22px;letter-spacing:-.025em}
.wax-rescue-heading>p:last-child{margin:7px 0 15px;color:#526b7d;font-size:13px}
.wax-rescue-steps{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.wax-rescue-steps a{display:grid;grid-template-columns:30px minmax(0,1fr) 16px;align-items:start;gap:11px;padding:12px;border:1px solid #d4dfe7;border-radius:6px;background:#fff;text-decoration:none}
.wax-rescue-steps a:hover{border-color:#8daac0}
.rescue-step-number{display:grid;place-items:center;width:26px;height:26px;border-radius:4px;background:#e4edf4;color:#254e70;font-size:12px;font-weight:700}
.wax-rescue-steps strong{display:block;color:#1b3549;font-size:14px}
.wax-rescue-steps small{display:block;margin-top:4px;color:#4e6577;font-size:12px;line-height:1.55}
.rescue-arrow{color:#315f88;font-size:18px}
.glossary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:18px 0}
.glossary-list>div{padding:13px 0;border-bottom:1px solid var(--guide-border)}
.glossary-list dt{color:#1d3c53;font-size:14px;font-weight:700}
.glossary-list dd{margin:4px 0 0;color:#40596c;font-size:13px;line-height:1.65}
.back-to-finder{display:inline-block;margin:0 0 16px;color:var(--guide-link);font-size:12px;font-weight:600;text-decoration:none}
.back-to-finder:hover{text-decoration:underline}
@media(max-width:600px){.glossary-list{grid-template-columns:1fr}.wax-rescue{padding:13px}.wax-rescue-steps a{gap:8px;padding:10px}.wax-rescue-steps strong{font-size:13px}}

/* Beginner workflow and glossary search results */
.badge-legend{max-width:78ch;margin:10px 0 0;color:#40596c;font-size:12px;line-height:1.65}
.badge-legend strong{color:#1d3c53}
.workflow-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.workflow-branches article{padding:15px;border:1px solid var(--guide-border,#cbd7e0);border-top:3px solid #557f9f;border-radius:5px;background:#fff}
.workflow-branches h4{margin:0 0 7px;color:#1b3b53;font-size:14px}
.workflow-branches p{margin:0;color:#40596c;font-size:13px;line-height:1.7}
.workflow-note{margin:0 0 18px;color:#526777;font-size:12px;line-height:1.65}
.glossary-search-results{margin:0 0 18px;padding:15px;border:1px solid #cbd7e0;border-radius:7px;background:#f5f8fa}
.glossary-search-results[hidden]{display:none}
.glossary-search-results h3{margin:0 0 10px;color:#1d3c53;font-size:15px}
.glossary-search-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.glossary-search-list a{display:block;padding:10px;border:1px solid #d4dfe7;border-radius:5px;background:#fff;text-decoration:none}
.glossary-search-list a:hover{border-color:#8daac0}
.glossary-search-list strong{display:block;color:#1d3c53;font-size:13px}
.glossary-search-list span{display:block;margin-top:4px;color:#40596c;font-size:12px;line-height:1.55}
@media(max-width:700px){.workflow-branches,.glossary-search-list{grid-template-columns:1fr}}

/* Keep the guide's editorial serif heading voice while using sans-serif for controls. */
.help-home h1,.tool-library-heading h2,.reference-intro h2{font-family:var(--font-display);letter-spacing:-.035em;font-weight:600}
:root{--finder-ink:#183247;--finder-muted:#526777;--finder-border:#cbd7e0;--finder-soft:#f5f8fa;--finder-link:#245985}
.help-home h1,.tool-library-heading h2,.reference-intro h2,.wax-rescue-heading h3{color:var(--finder-ink)}
.search-hint,.explorer-status,.tool-count,.tool-card-meta,.guide-disclaimer,.badge-legend,.workflow-note{color:var(--finder-muted)}
.wax-rescue,.glossary-search-results{border-color:var(--finder-border);background:var(--finder-soft)}
.back-to-finder{color:var(--finder-link)}


/* Warm workshop-manual refresh: quieter surfaces, fewer hard boxes, faster feedback. */
:root {
  --page-bg: #f7f4ec;
  --surface: #fffdf8;
  --surface-raised: #eee9dc;
  --ink: #2e342c;
  --muted: #6d7164;
  --accent: #6e8060;
  --accent-deep: #43553a;
  --border: #ddd8ca;
  --warning-ink: #714b1e;
  --warning-bg: #fbf0d9;
  --info-bg: #edf0e6;
  --success-bg: #edf1e8;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --ease-standard: cubic-bezier(.2, .6, .25, 1);
}
html { scroll-behavior: auto; }
.site-header { background: #f7f4ec; color: var(--ink); border-bottom: 1px solid var(--border); }
.site-header .logo { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.site-header .logo span { color: var(--accent-deep); font-weight: 400; }
.site-header .subtitle { color: var(--muted); }
.hamburger { border-color: var(--border); color: var(--ink); border-radius: 9px; }
.hamburger:hover { background: var(--surface-raised); }
.sidebar { background: #f3efe5; border-right-color: var(--border); }
.nav-section-title { letter-spacing: .055em; }
.nav-links a { border-left-width: 2px; border-radius: 0 8px 8px 0; }
.nav-links a.active { background: #e7eadf; color: var(--accent-deep); }
.main-content { padding-top: clamp(36px, 5vw, 68px); }
.help-home { margin-bottom: 54px; }
.help-home h1 { font-size: clamp(42px, 5.6vw, 66px); font-weight: 500; line-height: 1.02; }
.help-home .eyebrow, .section-kicker, .footer-kicker { color: var(--accent-deep); letter-spacing: .085em; font-size: 11px; font-weight: 700; }
.help-lede { max-width: 54ch; color: #565c50; font-size: 17px; line-height: 1.65; }
.guide-disclaimer { max-width: 64ch; font-size: 12px; }
.quick-search-panel { margin-top: 28px; padding: 19px 0 17px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: transparent; }
.quick-search-panel label { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.quick-search-input { border-radius: 12px; border-color: #d0cbbb; background: var(--surface); box-shadow: 0 2px 8px rgb(53 58 44 / 4%); }
.quick-search-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(110 128 96 / 12%); }
.quick-search-input input { min-height: 52px; }
.search-hint, .explorer-status, .tool-count { color: var(--muted); }
.tool-library-heading { align-items: end; }
.tool-library-heading h2 { font-size: clamp(29px, 3.5vw, 38px); font-weight: 500; }
.tool-count { padding: 0; border: 0; background: transparent; font-size: 12px; }
.filter-chip { border-radius: 999px; border-color: var(--border); background: transparent; color: var(--muted); }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--accent); background: #e8ebdf; color: var(--accent-deep); }
.tool-card-grid { gap: 12px; }
.tool-card { padding: 18px 18px 17px; border: 1px solid #e3ded1; border-radius: 12px; background: rgb(255 253 248 / 82%); box-shadow: none; transition: border-color 100ms ease, background-color 100ms ease; }
.tool-card:hover { transform: none; border-color: #aeb89f; background: #fffdf8; box-shadow: 0 4px 12px rgb(53 58 44 / 5%); }
.tool-card b { color: var(--ink); font-size: 16px; }
.tool-card p { color: #62685b; line-height: 1.55; }
.tool-card-meta { color: var(--muted); }
.tool-card-action { color: var(--accent-deep); }
.tool-section { margin-bottom: clamp(44px, 6vw, 72px); }
.tool-section h2 { font-weight: 500; }
.tool-section h2 .step-badge { border-color: var(--accent); background: var(--accent); }
.badge { border-radius: 999px; font-weight: 600; }
.badge-workflow { border-color: #d5ddca; background: #edf0e6; color: #43553a; }
.badge-expert { border-color: #ddd8ca; background: #f1eee5; color: #666a5d; }
.badge-hotkey { border-color: #ddd8ca; background: #f7f4ec; }
kbd { border-color: #d9d4c6; border-radius: 5px; background: #f1eee5; color: #3f4639; }
.table-wrap { border-color: var(--border); border-radius: 10px; box-shadow: none; }
.param-table th { background: #eeeadf; }
.param-table td { border-top-color: #e9e4d8; }
.param-table tbody tr:nth-child(even) td { background: #fbf9f3; }
.callout { border-radius: 0 9px 9px 0; }
.workflow-branches article { border-color: var(--border); border-top-color: #9da98e; border-radius: 10px; background: var(--surface); }
.workflow-branches h4 { color: var(--ink); }
.workflow-branches p { color: var(--muted); }
.glossary-search-results { border-color: var(--border); border-radius: 10px; background: #f0ede3; }
.glossary-search-list a { border-color: var(--border); border-radius: 8px; background: var(--surface); }
.wax-rescue { border-color: var(--border); border-radius: 12px; background: #f0ede3; }
.wax-rescue-steps a { border-radius: 8px; }
.back-to-finder { font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.back-to-top { border: 1px solid #d4d0c3; border-radius: 50%; background: #fffdf8; color: var(--accent-deep); box-shadow: 0 4px 14px rgb(53 58 44 / 9%); }
.back-to-top:hover { background: #e8ebdf; }
.menu-credit { margin: 28px 4px 0; padding: 16px 10px 4px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.6; }
.menu-credit p { margin: 0 0 7px; color: var(--muted); }
.menu-credit .credit-label, .menu-credit .credit-source { margin-top: 10px; }
.menu-credit a { display: inline; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .7fr); gap: 20px; margin-top: 60px; padding: 22px 0 10px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer .footer-kicker { margin-bottom: 7px; }
.footer-note { max-width: 36ch; font-size: 12px; line-height: 1.65; }
.footer-label { margin-bottom: 7px !important; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.footer-credit-group p:last-child { font-size: 12px; line-height: 1.7; }
.site-footer a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.save-guide { margin: 20px 0 28px; padding: 18px 0 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.save-guide > h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 23px; font-weight: 600; }
.save-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.save-guide-grid article { padding: 0; }
.save-guide-label { margin: 0 0 7px; color: var(--accent-deep); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.save-guide-grid ol { margin: 0 0 9px; padding-left: 20px; }
.save-guide-grid li { margin-bottom: 5px; }
.save-guide-note, .save-guide-caution { color: var(--muted); font-size: 12px; line-height: 1.6; }
.save-guide-note { margin: 0 0 8px; }
.save-guide-caution { margin: 12px 0 0; }
@media (max-width: 700px) {
  .site-footer, .save-guide-grid { grid-template-columns: 1fr; gap: 15px; }
  .site-footer { margin-top: 42px; }
  .footer-note { max-width: none; }
  .help-home h1 { font-size: clamp(40px, 11vw, 52px); }
}
@media (prefers-reduced-motion: reduce) { .tool-card, .back-to-top, .nav-links a { transition: none !important; } }


/* Folder home and live search results */
body{background:#fff9ef;color:#171717}.site-header{background:#fff9ef;color:#171717;border-bottom:2px solid #171717}.site-header .logo{color:#171717}.site-header .subtitle{color:#65615b}.sidebar{background:#fff9ef;border-right-color:#e6dccb}
.help-home{padding:clamp(22px,4vw,48px);border:2px solid #171717;border-radius:26px;background:#fffefa;box-shadow:7px 7px 0 #171717}.help-home h1{color:#171717;font-weight:750;letter-spacing:-.065em}.eyebrow,.section-kicker{color:#756d5e}
.quick-search-panel{position:relative;margin-top:24px;padding:0;border:0;background:transparent}.quick-search-panel>label{color:#171717;font-size:14px}.quick-search-input{min-height:58px;border:2px solid #171717;border-radius:13px;box-shadow:4px 4px 0 #171717;padding-inline:16px}.quick-search-input input{color:#171717}.quick-search-input:focus-within{outline:3px solid #f6c900;outline-offset:4px}.search-hint{margin:13px 0 0;color:#65615b;font-size:12px}
.instant-search-results{position:relative;z-index:4;display:grid;gap:0;margin-top:10px;overflow:hidden;border:2px solid #171717;border-radius:14px;background:#fffefa;box-shadow:4px 4px 0 #171717}.instant-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:13px 15px;color:#171717;text-decoration:none;border-bottom:1px solid #e8dfd2}.instant-result:hover,.instant-result:focus-visible{background:#fff1c8;color:#171717}.instant-result strong{font-size:14px;line-height:1.35}.instant-result span:not(.instant-result-arrow){grid-column:1;color:#65615b;font-size:12px;line-height:1.4}.instant-result-arrow{grid-column:2;grid-row:1/span 2;align-self:center;font-size:20px}.instant-empty,.instant-more{margin:0;padding:13px 15px;color:#65615b;font-size:12px}.instant-more{border-top:1px solid #e8dfd2;background:#fff9ef}
.category-shelf{max-width:1160px;margin:30px auto 44px}.category-shelf-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:15px}.category-shelf-heading h2{font-family:var(--font-display);margin:0;color:#171717;font-size:clamp(19px,2.3vw,25px);letter-spacing:-.04em}.category-shelf-heading span{color:#756d5e;font-size:12px}
.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 15px}.folder-card{--folder-color:#f6c900;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;min-height:185px;padding:19px 17px 15px;margin-top:10px;border:2px solid #171717;border-radius:14px;background:#fffefa;color:#171717;box-shadow:5px 5px 0 #171717;text-align:left;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.folder-card::before{content:"";position:absolute;z-index:-1;top:-13px;left:12px;width:45%;height:18px;border:2px solid #171717;border-bottom:0;border-radius:9px 9px 0 0;background:var(--folder-color)}.folder-card:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 #171717}.folder-card:active{transform:translate(2px,2px);box-shadow:2px 2px 0 #171717}.folder-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:17px;border:2px solid #171717;border-radius:10px;background:var(--folder-color);font-size:25px;font-weight:700}.folder-card strong{font-size:15px;line-height:1.3;letter-spacing:-.025em}.folder-card small{margin-top:5px;color:#65615b;font-size:11px;line-height:1.4}.folder-open{margin-top:auto;padding-top:14px;font-size:11px;font-weight:700}
.folder-yellow{--folder-color:#f6d75b}.folder-teal{--folder-color:#35b8a4}.folder-pink{--folder-color:#ff5a92}.folder-green{--folder-color:#63d94c}.folder-purple{--folder-color:#9a7aff}.folder-orange{--folder-color:#ffc36c}
.filter-chip{border:1.5px solid #171717;border-radius:999px;color:#29251a}.filter-chip.is-active{border-color:#171717;background:#f6d75b;color:#171717;box-shadow:2px 2px 0 #171717}.tool-card{border:1.5px solid #171717;border-radius:13px;box-shadow:2px 2px 0 #171717}.tool-card:hover{box-shadow:4px 4px 0 #171717;transform:translate(-1px,-1px)}
@media(max-width:900px){.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.folder-card{min-height:172px;padding:16px 13px 13px}}
@media(max-width:600px){.workflow-flow{grid-auto-flow:row;grid-template-rows:none}.category-shelf-heading{align-items:flex-start;flex-direction:column;gap:3px}.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 11px}.folder-card{min-height:168px}.instant-result{padding:12px}}
@media(prefers-reduced-motion:reduce){.folder-card{transition:none}.folder-card:hover,.folder-card:active{transform:none}}


/* Footer credits use the same type scale for both names. */
.footer-credit-group .footer-person,
.footer-credit-group .footer-person a {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}


.footer-credit-group .footer-person,
.footer-credit-group .footer-person a {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}


/* Small practical notes added without changing the guide's overall layout. */
.use-this,.common-mistake{margin:10px 0;padding:10px 12px;border-left:3px solid #35b8a4;background:#f5f3e9;border-radius:0 8px 8px 0;font-size:13px;line-height:1.65}.common-mistake{border-left-color:#ffb44a}
