.workflow-tool-page {
  min-height: 100vh;
  background: #fbf9f4;
  color: #192033;
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}

.workflow-tool-page * { box-sizing: border-box; }
.workflow-tool-page main a, .workflow-tool-page footer a { color: #6838dd; }
.workflow-tool-page p { color: #637088; }
.workflow-tool-page h1, .workflow-tool-page h2, .workflow-tool-page h3 { font-weight: 700; }
.wf-skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px; background: #fff; }
.wf-skip:focus { top: 8px; }
.wf-noscript { padding: 12px 34px; color: #9f2f36; }

.workflow-tool-page main.wrap {
  width: min(100% - 36px, 1180px);
  padding-top: 27px;
  padding-bottom: 54px;
  margin: 0 auto;
}

.workflow-tool-page article {
  max-width: none;
}

.wf-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 4px 0 18px;
  color: #69738a;
  font-size: 13px;
}

.wf-breadcrumb a {
  color: #4d54a3;
  text-decoration: none;
}

.wf-eyebrow {
  display: inline-block;
  color: #6d3dec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.wf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(330px, .83fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid #e8e4f5;
  border-radius: 28px;
  background: radial-gradient(circle at 81% 16%, #e9e0ff 0, transparent 38%), linear-gradient(128deg, #fff 0%, #f8f6ff 54%, #f1efff 100%);
  box-shadow: 0 18px 48px rgba(50, 36, 105, .05);
}

.wf-hero h1 { max-width: 760px; margin: 18px 0 20px; font-size: clamp(2.6rem, 4.5vw, 4rem); letter-spacing: -.055em; line-height: 1.08; }
.wf-hero h1 span { color: #8734e7; background: linear-gradient(95deg, #9339de, #6c46ec); background-clip: text; -webkit-text-fill-color: transparent; }
.wf-hero-copy > p { max-width: 610px; margin: 0; font-size: 17px; line-height: 1.7; }
.wf-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 24px; }
.wf-hero-chips span { padding: 7px 12px; border: 1px solid #e5dfef; border-radius: 999px; color: #6c6b7b; background: rgba(255,255,255,.76); font-size: 12px; }
.wf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wf-hero-actions > span { color: #7c8190; font-size: 12px; }
.wf-hero-actions a { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.workflow-tool-page main a.wf-primary { color: #fff; }
.wf-hero-actions a span { color: #fff; }
.wf-decision-guide { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; margin: 22px 0 0; padding: 24px 28px; border: 1px solid #e7e0f6; border-radius: 18px; background: #fff; }
.wf-decision-guide > div + div { padding-left: 20px; border-left: 1px solid #eee9f5; }
.wf-decision-guide h2 { margin: 7px 0 8px; color: #1d2238; font-size: 19px; line-height: 1.25; }
.wf-decision-guide strong { color: #4f31b7; font-size: 12px; }
.wf-decision-guide p { margin: 6px 0 0; color: #5b657b; font-size: 13px; line-height: 1.6; }
.wf-decision-guide a { display: inline-block; margin-top: 8px; color: #5943da; font-size: 12px; font-weight: 700; }

.wf-hero-example {
  min-width: 0;
  padding: 24px;
  border: 1px solid #ece8f4;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 38px rgba(63, 46, 109, .06);
}
.wf-hero-example-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #eeedf3; color: #778095; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wf-hero-example-head span:last-child { color: #8c8798; font-weight: 500; letter-spacing: 0; text-transform: none; }
.wf-hero-example h2 { margin: 20px 0; font-size: 21px; letter-spacing: -.025em; }
.wf-example-source, .wf-example-outcome { display: grid; gap: 5px; padding: 15px 17px; border-radius: 12px; }
.wf-example-source { border-left: 3px solid #e5b05b; background: #fff9ef; }
.wf-example-outcome { background: #f4efff; }
.wf-example-source span, .wf-example-outcome span { color: #84768c; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.wf-example-source strong, .wf-example-outcome strong { font-size: 15px; }
.wf-example-outcome strong { color: #6130c2; }
.wf-example-outcome p { margin: 0; font-size: 13px; }
.wf-example-arrow { display: block; padding: 8px 0; color: #aaa6bc; text-align: center; font-size: 22px; line-height: 1; }

.wf-workspace-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin: 47px 2px 18px; }
.wf-workspace-heading h2 { margin: 7px 0 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.04em; }
.wf-workspace-heading > span { color: #6f41d4; font-size: 13px; }

.wf-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.wf-input-panel, .wf-output-panel { min-width: 0; border: 1px solid #e9e8ef; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(44,35,85,.035); }
.wf-panel-heading, .wf-output-heading { padding: 25px 28px 19px; }
.wf-panel-heading h2, .wf-output-heading h2 { margin: 7px 0 5px; font-size: 24px; letter-spacing: -.03em; }
.wf-panel-heading h2, .wf-output-panel { scroll-margin-top: 90px; }
.wf-panel-heading p { margin: 0; font-size: 13px; }
.wf-panel-step { color: #7742dc; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.wf-output-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid #eceaf1; }
.wf-output-state { max-width: 48%; color: #8d93a1; font-size: 12px; line-height: 1.35; text-align: right; }
.wf-output-state[data-state='loading'] { color: #6d44d4; }
.wf-output-state[data-state='loading']::before { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #8651e6; content: ''; animation: wf-loading-pulse 1.2s ease-in-out infinite; }
.wf-output-state[data-state='ready'] { color: #25856b; }
.wf-output-state[data-state='warning'] { color: #8b5b0b; }

.wf-form {
  padding: 0 28px 20px;
}

.wf-fields {
  display: grid;
  gap: 18px;
}

.wf-field-note { margin: 9px 0 0; color: #647089; font-size: 12px; }
.wf-form label, .wf-market-field, .wf-key-section { scroll-margin-top: 96px; }
.wf-field-error { display: block; margin: 0; color: #bd2734; font-size: 12px; font-weight: 600; line-height: 1.45; }
.wf-field-error:empty { display: none; }
.wf-key-section .wf-field-error:not(:empty) { margin-top: 8px; }

.wf-form label {
  display: grid;
  gap: 8px;
  color: #202844;
  font-size: 13px;
  font-weight: 700;
}

.wf-market-field { display: grid; gap: 8px; min-width: 0; }
.wf-market-field > span { color: #202844; font-size: 13px; font-weight: 700; }
.workflow-tool-page .wf-market-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #e0e1e9;
  border-radius: 11px;
  background: #fff;
  color: #20253c;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.wf-market-trigger .wf-market-value { overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.wf-market-trigger svg { width: 16px; height: 16px; flex: none; color: #7c8394; }
.workflow-tool-page .wf-market-trigger:hover { border-color: #bdb1e4; }
.workflow-tool-page .wf-market-trigger:focus-visible,
.workflow-tool-page .wf-market-trigger[data-popup-open] { border-color: #6555eb; box-shadow: 0 0 0 3px #ded9ff; }
.wf-market-popup {
  z-index: 100;
  width: var(--anchor-width);
  max-width: var(--available-width);
  max-height: min(320px, var(--available-height));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border: 1px solid #e4dff0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(49, 34, 92, .15);
}
.wf-market-popup .wf-market-option { position: relative; display: flex; align-items: center; min-height: 40px; padding: 9px 34px 9px 11px; border-radius: 8px; color: #283146; font-size: 14px; cursor: pointer; }
.wf-market-popup .wf-market-option > div { flex: 1; }
.wf-market-popup .wf-market-option > span { position: absolute; right: 12px; display: grid; place-items: center; width: 16px; height: 16px; }
.wf-market-popup .wf-market-option svg { width: 16px; height: 16px; }
.wf-market-popup .wf-market-option:hover,
.wf-market-popup .wf-market-option[data-highlighted] { background: #f4efff; color: #6133cf; }
.wf-market-popup .wf-market-option[data-selected] { color: #6133cf; font-weight: 700; }

.wf-form input:not([type='hidden']) {
  min-width: 0;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #e0e1e9;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #20253c;
  font: inherit;
  font-size: 15px;
}

.wf-form input:focus-visible {
  border-color: #6555eb;
  box-shadow: 0 0 0 3px #ded9ff;
}
.wf-form input[aria-invalid='true'],
.workflow-tool-page .wf-market-trigger[aria-invalid='true'] { border-color: #db5964; box-shadow: 0 0 0 3px #ffe9eb; }

.wf-key-section { margin-top: 22px; padding: 16px; border: 1px solid #e7ddfa; border-radius: 13px; background: #faf8ff; }
.wf-key-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 9px; }
.wf-key-heading label { display: block; }
.wf-key-heading a { font-size: 12px; font-weight: 700; }

.wf-form-actions {
  display: grid;
  gap: 12px;
  margin-top: 19px;
}

.wf-primary,
.wf-secondary {
  cursor: pointer;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wf-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 0;
  color: #fff;
  background: linear-gradient(105deg, #7438e5, #9635e9);
  box-shadow: 0 11px 25px rgba(126, 54, 222, .17);
}

.wf-secondary {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #bfb8fc;
  background: #f6f3ff;
  color: #513ed1;
  font-size: 13px;
}

.wf-primary:hover:not(:disabled), .wf-secondary:hover:not(:disabled) { transform: translateY(-2px); }
.wf-primary:disabled, .wf-secondary:disabled { cursor: not-allowed; opacity: .55; }
.wf-shell[aria-busy='true'] .wf-output-panel { border-color: #d9c9f8; }
.wf-form-actions p { margin: 0; color: #818596; font-size: 12px; line-height: 1.55; }
.wf-credit-note { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #eceaf1; color: #858899; font-size: 11px; }
.wf-credit-note strong { color: #6940d4; }

[data-tool-status] {
  display: block;
  min-height: 44px;
  margin: 0;
  padding: 12px 28px;
  border-top: 1px solid #eeedf3;
  color: #697589;
  background: #fcfcfe;
  border-radius: 0 0 20px 20px;
  font-size: 12px;
}
[data-tool-status][hidden] { display: none; }

[data-tool-status][data-kind='error'] { color: #9f2f36; background: #fff5f5; }
[data-tool-status][data-kind='warning'] { color: #8b5b0b; background: #fffaf0; }
[data-tool-status][data-kind='success'] { color: #116d58; background: #f1fbf7; }

[data-tool-results] { padding: 0 26px 27px; }
[data-tool-results]:empty { display: none; }
.wf-output-panel:has([data-tool-results]:not(:empty)) .wf-results-empty { display: none; }
.wf-skeleton { display: grid; gap: 13px; margin-top: 21px; }
.workflow-tool-page .wf-skeleton-label { margin: 0 0 2px; color: #6b54aa; font-size: 12px; font-weight: 700; }
.wf-skeleton-card { display: flex; align-items: center; gap: 17px; min-height: 116px; padding: 16px; border: 1px solid #e8e3f2; border-radius: 15px; background: #fbfaff; }
.wf-skeleton-image { display: block; width: 82px; height: 82px; flex: none; border-radius: 10px; }
.wf-skeleton-lines { display: grid; flex: 1; gap: 11px; min-width: 0; }
.wf-skeleton-bar { display: block; background: linear-gradient(100deg, #ebe8f2 15%, #f8f6fc 45%, #ebe8f2 75%); background-size: 220% 100%; animation: wf-skeleton-shimmer 1.55s linear infinite; }
.wf-skeleton-lines .wf-skeleton-bar { height: 11px; border-radius: 99px; }
.wf-skeleton-title { width: 62%; height: 17px !important; }
.wf-skeleton-long { width: 90%; }
.wf-skeleton-short { width: 45%; }
.wf-skeleton-detail { margin-top: 8px; }
.wf-skeleton-detail .wf-skeleton-card { min-height: 84px; padding: 12px; background: #f9f8fe; }
@keyframes wf-skeleton-shimmer { to { background-position-x: -220%; } }
@keyframes wf-loading-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .wf-skeleton-bar, .wf-output-state[data-state='loading']::before { animation: none; }
}
.wf-results-empty { padding: 36px 34px 30px; text-align: center; }
.wf-empty-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 17px; border-radius: 17px; color: #8242e4; background: #f3ecff; font-size: 27px; }
.wf-results-empty h3 { max-width: 340px; margin: 0 auto 8px; font-size: 19px; line-height: 1.35; }
.wf-results-empty > p { max-width: 370px; margin: 0 auto; font-size: 13px; }
.wf-preview-list { margin-top: 28px; border-top: 1px solid #eceaf1; text-align: left; }
.wf-preview-list > span { display: block; padding: 17px 0 4px; color: #8d8998; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.wf-preview-list div { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid #f1eff4; color: #354054; font-size: 13px; }
.wf-preview-list div:last-child { border: 0; }
.wf-preview-list b { color: #8c55e2; }

.wf-source-product {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #e5ddf1;
  border-radius: 18px;
  background: linear-gradient(125deg, #fff 20%, #faf7ff 100%);
  box-shadow: 0 9px 24px rgba(48, 33, 95, .045);
}

.wf-source-product .wf-image { width: 104px; height: 104px; padding: 7px; border-color: #ede9f3; border-radius: 13px; background: #fff; }
.wf-source-product-copy { min-width: 0; }
.wf-source-product-overline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; color: #7142d6; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.wf-source-product-domain { padding: 3px 7px; border: 1px solid #e8def7; border-radius: 99px; background: #f7f2ff; color: #675384; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.wf-source-product h2 { display: -webkit-box; overflow: hidden; margin: 9px 0 11px; color: #20243b; font-size: 17px; line-height: 1.4; letter-spacing: -.015em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.wf-source-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding-top: 11px; border-top: 1px solid #ece7f3; }
.wf-source-product-facts > div { min-width: 0; }
.wf-source-product-facts dt { color: #7b8091; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wf-source-product-facts dd { margin: 3px 0 0; color: #27304a; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.wf-source-product-full { margin-top: 9px; color: #6847b7; font-size: 11px; }
.wf-source-product-full summary { width: fit-content; cursor: pointer; font-weight: 700; }
.wf-source-product-full summary:focus-visible { outline: 2px solid #7445e1; outline-offset: 3px; border-radius: 2px; }
.wf-source-product .wf-source-product-full p { margin: 8px 0 0; color: #4d5871; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }

.wf-result-heading { margin: 25px 0 18px; }
.wf-result-heading h2 { margin: 5px 0 4px; font-size: 24px; }
.wf-result-heading p { margin: 0; color: #5b6883; font-size: 14px; }
.wf-result-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.wf-result-card {
  display: flex;
  gap: 16px;
  padding: 17px;
  border: 1px solid #e1e4ef;
  border-radius: 16px;
  background: #fff;
}

.wf-result-card.wf-trend-card { display: block; }
.wf-trend-head { display: flex; align-items: flex-start; gap: 14px; }
.wf-trend-head .wf-image { width: 94px; height: 94px; }
.wf-trend-title { min-width: 0; flex: 1; }
.wf-trend-title h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.wf-trend-title .wf-card-note { margin: 0; overflow-wrap: anywhere; }
.wf-trend-body { margin-top: 15px; }
.wf-rank-primary { margin: 0 0 12px; padding: 13px; border: 1px solid #ebe4f7; border-radius: 12px; background: #faf7ff; }
.wf-rank-primary .wf-metric dd { color: #302051; font-size: 15px; }
.wf-rank-secondary { margin: 0 0 12px; padding: 0 3px; }
.wf-trend-body > .wf-card-note { margin: 0 0 13px; }
.wf-detail-intro { margin: 2px 0 13px; color: #68748c; font-size: 12px; line-height: 1.5; }
.wf-signal { margin: 12px 0 17px; padding: 14px 16px; border: 1px solid #dfd7f8; border-radius: 12px; background: #f8f5ff; }
.wf-signal h4 { margin: 5px 0 5px; color: #29204a; font-size: 14px; }
.wf-signal p { margin: 0; color: #555d76; font-size: 12px; line-height: 1.55; }
.wf-detail-section { margin: 11px 0; padding: 13px; border: 1px solid #eceaf2; border-radius: 12px; background: #fcfbff; }
.wf-detail-section h4 { margin: 0; color: #272242; font-size: 13px; }
.wf-detail-section .wf-metrics { margin: 11px 0 0; }
.wf-detail-section .wf-metric dd { font-size: 12px; }
.wf-detail-section .wf-detail-note { margin: 7px 0 0; color: #798399; font-size: 11px; }
.wf-trend-card .wf-inline-detail > h4 { margin-top: 18px; }

.wf-image {
  display: grid;
  flex: none;
  place-items: center;
  width: 118px;
  height: 118px;
  overflow: hidden;
  border: 1px solid #e8e9f0;
  border-radius: 10px;
  background: #f2f4fa;
}

.wf-image img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.wf-creator-card .wf-image { width: 76px; height: 76px; }
.wf-image-fallback { padding: 10px; color: #8c95a8; font-size: 12px; text-align: center; }
.wf-creator-avatar { display: grid; flex: none; place-items: center; width: 76px; height: 76px; border: 1px solid #ded5fa; border-radius: 14px; background: #f4efff; color: #6e45da; font-size: 25px; font-weight: 800; }
.wf-result-copy { min-width: 0; flex: 1; }
.wf-result-copy h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.wf-card-note { margin: 5px 0 10px; color: #68748c; font-size: 12px; }
.wf-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; margin: 12px 0; }
.wf-metric dt { color: #6c7890; font-size: 11px; }
.wf-metric dd { margin: 0; color: #1c2540; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.wf-creator-preview { margin: 9px 0 12px; }
.wf-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wf-text-link { color: #5943da; font-size: 12px; font-weight: 700; }
.wf-inline-detail:not(:empty) { margin-top: 15px; padding-top: 13px; border-top: 1px solid #e6e8f0; }
.wf-inline-detail h4 { margin: 5px 0 10px; font-size: 14px; }
.wf-inline-detail h5 { margin: 12px 0 3px; font-size: 12px; }
.wf-tiers { margin: 5px 0 0; padding-left: 18px; }
.wf-tiers li { font-size: 12px; }
.wf-empty { padding: 15px; border-radius: 10px; background: #f6f7fa; color: #68738a; font-size: 13px; }
.wf-video-list { display: grid; gap: 9px; }
.wf-video-item { padding: 10px; border-radius: 8px; background: #f8f9fd; }
.wf-video-item p { margin: 0 0 5px; font-size: 12px; overflow-wrap: anywhere; }
.wf-video-item small { display: block; margin-bottom: 5px; color: #68738a; }

.wf-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 30px 0; }
.wf-explainer > div, .wf-faq, .wf-more { padding: 25px; border: 1px solid #e9e8ef; border-radius: 17px; background: #fff; }
.wf-explainer b { color: #6555eb; font-size: 13px; }
.wf-explainer h2 { margin: 12px 0 8px; font-size: 18px; }
.wf-explainer p, .wf-faq p, .wf-more p { margin: 0; color: #5d6982; font-size: 14px; }
.wf-faq h2, .wf-more h2 { margin: 0 0 13px; font-size: 22px; }
.wf-faq details { border-top: 1px solid #e4e7f0; padding: 13px 0; }
.wf-faq summary { cursor: pointer; font-weight: 700; }
.wf-faq details p { padding-top: 8px; }
.wf-more { margin: 25px 0 60px; }
.wf-more-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 16px; }
.wf-more-links a { font-weight: 700; }
.wf-footer { padding: 26px 0; border-top: 1px solid #e1e4f0; background: #fff; }
.wf-footer .wrap { width: min(100% - 36px, 1180px); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.wf-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.wf-footer a { text-decoration: none; }
.wf-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 40px; }
.wf-tool-grid a { display: block; padding: 25px; border: 1px solid #dddff3; border-radius: 18px; text-decoration: none; background: #fff; }
.wf-tool-grid h2 { margin: 10px 0; color: #19213c; font-size: 20px; }
.wf-tool-grid p { color: #5d6982; font-size: 14px; }
.wf-tool-grid b { color: #624ae8; }

@media (max-width: 850px) {
  .wf-hero { grid-template-columns: 1fr; }
  .wf-decision-guide { grid-template-columns: 1fr; }
  .wf-decision-guide > div + div { padding: 15px 0 0; border-top: 1px solid #eee9f5; border-left: 0; }
  .wf-shell { grid-template-columns: 1fr; }
  .wf-result-grid, .wf-explainer, .wf-tool-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .workflow-tool-page main.wrap { width: min(100% - 24px, 1180px); padding-top: 20px; }
  .wf-hero { gap: 28px; border-radius: 20px; }
  .wf-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .wf-hero-copy > p { font-size: 15px; }
  .wf-hero-example { padding: 20px; }
  .wf-workspace-heading { display: block; margin-top: 36px; }
  .wf-workspace-heading > span { display: block; margin-top: 4px; }
  .wf-panel-heading, .wf-output-heading { padding: 22px 20px 18px; }
  .wf-form { padding: 0 20px 20px; }
  [data-tool-status] { padding: 13px 20px; }
  [data-tool-results] { padding: 0 20px 22px; }
  .wf-source-product { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .wf-source-product .wf-image { width: 82px; height: 82px; }
  .wf-source-product h2 { font-size: 15px; }
  .wf-source-product-facts { gap: 8px; }
  .wf-source-product-facts dd { font-size: 12px; }
  .wf-results-empty { padding: 31px 20px 25px; }
  .wf-result-card, .wf-source-product { align-items: flex-start; }
  .wf-image { width: 76px; height: 76px; }
  .wf-source-product .wf-image { width: 76px; height: 76px; }
  .wf-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .wf-primary, .wf-secondary { transition: none; }
}
