/* Selected image2 direction: a quiet three-step rail and one focused task. */
.workbench-page { --workbench-ink:#203627; --workbench-muted:#5f6d63; background:#fff; color:var(--workbench-ink); }
.workbench-header { height:74px; background:#fff; }
.workbench-header .product-header-inner { max-width:none; padding:0 44px; display:flex; gap:24px; }
.workbench-header .product-brand { color:#183421; font-size:40px; letter-spacing:-1.9px; }
.workbench-back { padding-left:24px; border-left:1px solid var(--line); }
.workbench-back a { display:inline-flex; align-items:center; gap:8px; color:var(--brand); font-size:16px; font-weight:550; text-decoration:none; }
.workbench-header .product-account { margin-left:auto; }
.compact-account summary { width:42px; height:42px; padding:9px; border-radius:50%; background:#edf3ea; justify-content:center; }
.compact-account[open] summary { outline:2px solid #a6ba9e; outline-offset:3px; }
.workbench-header .account-popover { top:calc(100% + 10px); font-size:14px; padding:16px 20px; }
.workbench-header .account-popover a { min-height:38px; display:flex; align-items:center; }
.workbench-main { max-width:none; margin:0; padding:0; }
.workbench-shell.build-main { max-width:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(280px,23%) minmax(0,1fr); min-height:calc(100vh - 74px); }
.workbench-rail { background:#f3f7f1; padding:46px 26px; }
.workbench-rail>h2 { margin:0 16px 44px; font-size:34px; font-weight:700; line-height:1.4; letter-spacing:-.5px; }
.workbench-steps { padding:0; margin:0; list-style:none; display:grid; gap:28px; }
.workbench-steps li { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:start; gap:20px; padding:18px 22px; border-radius:14px; }
.workbench-steps li:not(:last-child)::after { content:""; position:absolute; top:59px; left:42px; height:calc(100% + 28px - 40px); border-left:2px solid #a2b798; }
.workbench-steps .step-number { z-index:1; width:42px; height:42px; border:1.5px solid #87a47b; border-radius:50%; background:#fff; display:grid; place-items:center; color:var(--brand); font-size:20px; line-height:1; }
.workbench-steps strong { display:block; font-size:22px; line-height:1.4; font-weight:650; white-space:nowrap; }
.workbench-steps[data-steps="4"] strong { white-space:normal; }
.workbench-steps small { display:block; margin-top:3px; color:var(--workbench-muted); font-size:16px; line-height:1.65; }
.workbench-steps [aria-current=step] { background:#e5efdf; }
.workbench-steps [aria-current=step] .step-number { background:var(--brand); border-color:var(--brand); color:#fff; }
.workbench-steps .is-complete .step-number { background:#e5efdf; }
.workbench-batch .row-result-actions { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; }
.workbench-content { min-width:0; padding:48px 44px 44px 52px; }
.workbench-intro { margin:0 0 30px; }
.workbench-intro h1 { font-size:50px; font-weight:750; line-height:1.25; letter-spacing:-1px; margin:0 0 7px; }
.workbench-intro h1:focus { outline:none; }
.workbench-intro>p { margin:0; color:var(--workbench-muted); font-size:23px; line-height:1.6; }
.workbench-upload { min-height:344px; padding:26px 24px; border:1px dashed #cad7c5; border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; transition:background .15s,border-color .15s; }
.workbench-upload.dragging { background:#edf4e8; border-color:var(--brand); }
.workbench-upload-icon { display:block; margin:0 0 8px; opacity:.65; }
.workbench-upload h2 { margin:0 0 6px; color:var(--workbench-ink); font-size:22px; font-weight:650; line-height:1.5; }
.workbench-upload .file-types { margin:0 0 22px; color:var(--workbench-muted); font-size:17px; }
.workbench-page .primary { background:var(--brand); border:1px solid transparent; border-radius:10px; color:white; padding:12px 24px; font-size:16px; line-height:1.5; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.workbench-page .primary:hover { background:var(--brand-hover); }
.workbench-upload .file-button { min-height:60px; min-width:284px; padding:12px 28px; font-size:22px; font-weight:600; }
.workbench-trust { display:flex; align-items:center; justify-content:center; gap:10px; margin:14px 0 0; color:#49694c; font-size:17px; line-height:1.6; }
.workbench-trust img,.workbench-policy img { flex-shrink:0; }
.workbench-policy { display:flex; align-items:flex-start; gap:12px; margin:18px 0 0; color:var(--workbench-muted); font-size:18px; line-height:1.7; }
.workbench-policy img { margin-top:3px; opacity:.8; }
.workbench-policy a { color:inherit; text-decoration:none; }
.workbench-policy a:hover { color:var(--brand); text-decoration:underline; text-underline-offset:4px; }
.workbench-preparation { margin-top:43px; }
.preparation-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:18px; }
.preparation-heading h2 { margin:0; font-size:27px; font-weight:700; line-height:1.5; }
.example-download { display:inline-flex; align-items:center; gap:12px; font-size:18px; font-weight:550; text-underline-offset:5px; }
.preparation-list { padding:0; margin:0; border-top:1px solid #dce5d8; }
.preparation-list>div { display:grid; grid-template-columns:180px minmax(0,1fr); gap:0; padding:8px 16px; border-bottom:1px solid #dce5d8; font-size:20px; line-height:1.6; }
.preparation-list dt { font-weight:600; }
.preparation-list dd { margin:0; color:var(--workbench-muted); }
.workbench-help { margin:20px 0 0; font-size:16px; line-height:1.8; }
.workbench-help summary { display:flex; align-items:center; gap:12px; cursor:pointer; color:var(--brand); list-style:none; min-height:32px; }
.workbench-help summary::-webkit-details-marker { display:none; }
.workbench-help summary span { text-decoration:underline; text-underline-offset:4px; font-weight:550; }
.workbench-help>div { margin:12px 0 0 36px; max-width:760px; color:var(--workbench-muted); }
.workbench-help p { margin:8px 0; }
.workbench-content>.notice { margin:0 0 20px; font-size:15px; padding:14px 18px; }
.workbench-shell .template-choice { display:flex; justify-content:space-between; gap:20px; margin-bottom:22px; padding:18px 22px; border-left:3px solid var(--brand); background:#f3f7f0; border-radius:0 8px 8px 0; }
.workbench-shell .template-choice h2 { margin:0; font-size:18px; }
.workbench-shell .template-choice p { margin:4px 0; font-size:14px; color:var(--workbench-muted); }
.workbench-shell .template-choice button { border:0; background:none; padding:8px 0; flex-shrink:0; text-decoration:underline; color:var(--brand); font-size:14px; }
.workbench-shell[data-view=batch] { max-width:none; padding:0; }
.workbench-shell[data-view=batch] #import-preparation,.workbench-shell[data-view=batch] .workbench-policy,.workbench-shell[data-view=batch] .template-choice { display:none; }
.workbench-batch { border:0; border-radius:0; padding:0; background:none; box-shadow:none; }
.workbench-batch .batch-head { padding:0 0 20px; margin-bottom:0; border-bottom:1px solid var(--line); }
.workbench-batch .batch-head h2 { margin:0 0 4px; font-size:21px; }
.workbench-batch .filename { margin:0; color:var(--workbench-muted); font-size:14px; overflow-wrap:anywhere; }
.workbench-page .secondary { border:1px solid #dce4d7; border-radius:7px; background:#fff; padding:10px 16px; color:var(--brand); text-decoration:none; font-size:14px; }
.workbench-batch .rows-panel { padding:18px 0 0; border:0; min-width:0; }
.workbench-batch .rows-title { padding:0 0 12px; font-size:14px; }
.workbench-batch table { width:100%; min-width:580px; font-size:14px; }
.workbench-batch th { font-size:13px; color:var(--workbench-muted); }
.workbench-batch td { padding:16px 12px; }
.workbench-batch .row-template { font-size:14px; max-width:240px; white-space:normal; }
.workbench-batch .row-template small { display:block; margin-top:4px; color:var(--workbench-muted); font-size:12px; }
.workbench-batch .row-error { font-size:13px; line-height:1.7; }
.workbench-batch .mapping { border:0; border-top:1px solid var(--line); padding:18px 0; margin-top:20px; }
.workbench-batch .mapping>summary { color:var(--brand); font-size:15px; font-weight:550; cursor:pointer; }
.workbench-batch .mapping>p { font-size:14px; margin:12px 0; }
.workbench-batch .mapping-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.workbench-batch .mapping label { min-width:0; font-size:14px; }
.workbench-batch .mapping select { width:100%; font-size:14px; min-height:44px; }
.workbench-batch .optional { grid-column:1/-1; font-size:14px; margin:4px 0; }
.workbench-batch .optional[open] { display:grid; gap:14px; }
.workbench-batch .confirm { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:24px 0; margin-top:20px; border:0; border-top:1px solid var(--line); border-radius:0; background:none; }
.workbench-batch .confirm>div { max-width:680px; }
.workbench-batch .cost { font-size:18px; margin:0 0 6px; }
.workbench-batch .cost strong { font-size:32px; padding:0 7px; }
.workbench-batch .cost-note { font-size:13px; line-height:1.75; color:var(--workbench-muted); margin:5px 0; }
.workbench-batch .consent { font-size:15px; margin-top:16px; display:flex; align-items:flex-start; gap:10px; }
.workbench-batch .consent input { width:19px; height:19px; margin-top:3px; flex-shrink:0; }
.workbench-batch .generation-gate { margin:14px 0 0; padding:10px 12px; border:1px solid #dfe8dc; border-radius:7px; color:var(--workbench-muted); font-size:13px; line-height:1.65; }
.workbench-batch .generation-gate.error { background:#fff5f1; border-color:#efd6c9; color:#8b3b2d; }
.workbench-batch .generation-gate a { color:inherit; font-weight:600; text-underline-offset:3px; }
.workbench-batch .confirm>.primary { white-space:nowrap; flex-shrink:0; min-height:48px; }
.workbench-batch .summary { padding:24px 0; margin:0; }
.workbench-batch .summary h3 { font-size:22px; margin:0 0 8px; }
.workbench-batch .summary p { font-size:15px; color:var(--workbench-muted); }
.workbench-batch progress { display:block; width:100%; height:8px; border:0; border-radius:6px; overflow:hidden; background:#edf3e8; accent-color:var(--brand); }
.workbench-batch progress::-webkit-progress-bar { background:#edf3e8; }
.workbench-batch progress::-webkit-progress-value { background:var(--brand); }
.workbench-batch .download { display:inline-block; font-size:14px; padding:6px 0; margin-right:12px; white-space:normal; text-underline-offset:4px; }
.workbench-batch .keyword-import { margin:20px 0; padding:18px 0; border:0; border-block:1px solid var(--line); border-radius:0; font-size:14px; }
.workspace-loading { margin:0; padding:52px; color:var(--workbench-muted); }
.workspace-home .library-main { margin:0 auto; }
.library-links { display:flex; gap:24px; margin:0 0 24px; font-size:14px; }
.library-links a { text-underline-offset:5px; }
.workspace-home[data-workspace-view=build]>footer { display:none; }
.workspace-home .library-heading .muted { font-size:15px; }
.workspace-home .site-card-actions .primary { font-size:14px; }
.workspace-home .site-card-actions>a:not(.primary) { font-size:13px; }
@media(min-width:1700px) { .workbench-content { max-width:1280px; padding-right:64px; } }
@media(max-width:1200px) {
  .workbench-shell.build-main { grid-template-columns:270px minmax(0,1fr); }
  .workbench-rail { padding:36px 18px; }
  .workbench-rail>h2 { margin-left:12px; font-size:28px; }
  .workbench-steps li { padding:16px 12px; gap:12px; grid-template-columns:36px minmax(0,1fr); }
  .workbench-steps .step-number { width:36px; height:36px; font-size:18px; }
  .workbench-steps li:not(:last-child)::after { left:30px; top:52px; }
  .workbench-steps strong { font-size:18px; }
  .workbench-steps small { font-size:14px; }
  .workbench-content { padding:36px 28px; }
  .workbench-intro h1 { font-size:36px; }
  .workbench-intro>p { font-size:18px; }
  .preparation-list>div { grid-template-columns:130px minmax(0,1fr); font-size:16px; }
  .preparation-heading h2 { font-size:24px; }
  .example-download { font-size:16px; gap:8px; }
  .workbench-batch .confirm { align-items:flex-start; flex-wrap:wrap; }
}
@media(max-width:780px) {
  .workbench-header { height:66px; }
  .workbench-header .product-header-inner { display:flex; padding:0 16px; gap:10px; }
  .workbench-header .product-account { gap:8px; }
  .workbench-header .product-brand { font-size:30px; }
  .workbench-back { padding-left:10px; }
  .workbench-back a { font-size:12px; gap:0; white-space:nowrap; }
  .workbench-header .compact-account summary { width:38px; height:38px; padding:8px; }
  .workbench-shell.build-main { display:block; min-height:calc(100vh - 66px); }
  .workbench-rail { padding:18px 16px; }
  .workbench-rail>h2 { display:none; }
  .workbench-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .workbench-steps[data-steps="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .workbench-steps li { display:flex; align-items:center; flex-direction:column; gap:7px; padding:10px 2px; border-radius:9px; text-align:center; }
  .workbench-steps li:not(:last-child)::after { display:none; }
  .workbench-steps .step-number { width:28px; height:28px; font-size:14px; }
  .workbench-steps strong { font-size:12px; line-height:1.5; white-space:normal; }
  .workbench-steps small { display:none; }
  .workbench-content { padding:26px 20px 36px; }
  .workbench-intro { margin-bottom:22px; }
  .workbench-intro h1 { font-size:28px; line-height:1.4; letter-spacing:-.7px; margin-bottom:8px; }
  .workbench-intro>p { font-size:15px; line-height:1.8; }
  .workbench-upload { min-height:310px; padding:26px 16px; border-radius:12px; }
  .workbench-upload-icon { width:58px; height:58px; }
  .workbench-upload h2 { font-size:17px; }
  .workbench-upload .file-types { font-size:14px; margin-bottom:18px; }
  .workbench-upload .file-button { min-width:0; width:100%; max-width:280px; min-height:52px; font-size:18px; }
  .workbench-trust { gap:7px; margin-top:16px; font-size:12px; }
  .workbench-trust img { width:18px; height:18px; }
  .workbench-policy { font-size:13px; gap:8px; margin-top:14px; }
  .workbench-policy img { width:19px; height:19px; margin-top:1px; }
  .workbench-preparation { margin-top:30px; }
  .preparation-heading { flex-wrap:wrap; gap:10px; margin-bottom:14px; }
  .preparation-heading h2 { font-size:21px; }
  .example-download { font-size:14px; gap:7px; min-height:32px; }
  .example-download img { width:20px; height:20px; }
  .preparation-list>div { grid-template-columns:86px minmax(0,1fr); padding:12px 0; gap:8px; font-size:14px; }
  .workbench-help { font-size:14px; margin-top:16px; }
  .workbench-help summary { gap:9px; }
  .workbench-help>div { margin-left:0; }
  .workbench-batch .batch-head { gap:14px; align-items:flex-start; }
  .workbench-batch .batch-head h2 { font-size:18px; }
  .workbench-batch .filename { font-size:12px; }
  .workbench-batch .batch-head .secondary { padding:8px 10px; font-size:12px; flex-shrink:0; }
  .workbench-batch .mapping-fields { grid-template-columns:minmax(0,1fr); }
  .workbench-batch .confirm { gap:18px; padding-top:20px; }
  .workbench-batch .confirm>.primary { width:100%; }
  .workbench-batch .cost-note { font-size:13px; }
  .workbench-batch .consent { font-size:14px; }
  .workbench-batch .summary h3 { font-size:20px; }
  .workbench-batch .content-progress { max-width:none; }
  .workbench-batch .content-results table,.workbench-batch .mapping-results table { min-width:0; }
  .workbench-batch .content-results td,.workbench-batch .mapping-results td { font-size:14px; }
  .workbench-batch .keyword-fields { grid-template-columns:minmax(0,1fr); }
  .library-links { gap:22px; font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { .workbench-upload { transition:none; } }
.template-download{margin:0 10px 12px;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;text-decoration:none;border:1px solid #aabda7;border-radius:6px;color:#245437;background:#f3f8ee;font-weight:600}.template-download:focus-visible{outline:3px solid #416a41;outline-offset:4px}
.product-amount{display:block;font-size:12px;font-weight:400;color:#637265;white-space:nowrap;margin-top:5px}
