:root {
  --ink: #142522;
  --muted: #526861;
  --line: #dbe6e1;
  --soft-line: #eaf1ee;
  --paper: #ffffff;
  --canvas: #ffffff;
  --mint: #e8f5ef;
  --mint-strong: #cfeadd;
  --teal: #176b5e;
  --teal-dark: #0e4d45;
  --accent: #f2b35d;
  --danger: #b54843;
  --shadow: 0 20px 50px rgba(17, 63, 53, 0.08);
  --shadow-card: 0 10px 24px rgba(17, 63, 53, 0.055), 0 2px 5px rgba(17, 63, 53, 0.035);
  --shadow-panel: 0 16px 36px rgba(17, 63, 53, 0.065), 0 2px 7px rgba(17, 63, 53, 0.035);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 11px;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: weight style;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  line-height: 1.5;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--soft-line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -0.015em; color: var(--teal-dark); }
.brand strong { color: var(--teal); }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--teal); color: white; font-size: 18px; font-weight: 700; transform: rotate(-6deg); }
.main-nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; }
.main-nav a:hover, .footer-nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-trust { color: var(--teal); background: var(--mint); border: 1px solid var(--mint-strong); padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.locale-picker select { width: 154px; min-height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 12px; outline: none; }
.locale-picker select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,107,94,.1); }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #38a56d; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 0 4px rgba(56,165,109,.12); }

.ad-layout { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; flex: 1; }
#app { min-width: 0; width: auto; margin: 0; outline: none; }
.ad-rail { display: none; min-width: 0; padding-top: 120px; }
.ad-slot { position: sticky; top: 24px; width: 160px; min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #c8d8d1; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); color: #8a9b95; text-align: center; font-size: 11px; }
.ad-slot-label { color: #71827c; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ad-slot-size { color: #a1b0aa; font-size: 10px; }

@media (min-width: 1500px) {
  .ad-layout { width: min(1600px, calc(100% - 40px)); grid-template-columns: 160px minmax(0, 1180px) 160px; }
  .ad-rail { display: block; }
}
.page { padding: 46px 0 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 68px; align-items: center; padding: 44px 0 72px; }
.hero h1 { max-width: 680px; margin: 16px 0 20px; font-size: clamp(40px, 6vw, 70px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 700; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero p { max-width: 590px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.hero-note svg { flex: 0 0 auto; color: var(--teal); }
.hero-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.orb { position: absolute; width: 285px; height: 285px; border-radius: 50%; background: linear-gradient(135deg, #d4efdf, #f8f3d9); filter: blur(.1px); }
.paper-card { position: relative; width: 250px; min-height: 310px; padding: 32px; background: #fff; border: 1px solid rgba(219,230,225,.9); border-radius: 18px; box-shadow: 0 28px 70px rgba(23,107,94,.17); transform: rotate(7deg); }
.paper-card::before { content: ""; position: absolute; width: 56px; height: 9px; right: 28px; top: 26px; border-radius: 99px; background: #f5ddbc; }
.paper-card h3 { margin: 62px 0 25px; font-size: 25px; letter-spacing: -0.03em; font-weight: 700; }
.paper-lines { display: grid; gap: 11px; }
.paper-lines span { height: 7px; border-radius: 10px; background: #e7efeb; }
.paper-lines span:nth-child(2) { width: 75%; }.paper-lines span:nth-child(3) { width: 87%; }.paper-lines span:nth-child(4) { width: 59%; }
.paper-check { position: absolute; left: -52px; bottom: 33px; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 25px; background: var(--teal); color: #fff; font-size: 34px; box-shadow: 0 16px 30px rgba(23,107,94,.22); transform: rotate(-15deg); }
.paper-chip { position: absolute; right: -38px; top: 55px; padding: 13px 15px; border: 1px solid var(--mint-strong); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); color: var(--teal); font-size: 12px; font-weight: 800; transform: rotate(-5deg); }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.trust-item { min-height: 100px; display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: #fff; }
.trust-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--mint); color: var(--teal); font-size: 18px; font-weight: 800; }
.trust-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 14px; margin-bottom: 4px; }.trust-item span { display: block; color: var(--muted); font-size: 12px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 92px 0 28px; }
.section-head h2 { margin: 8px 0 0; font-size: 32px; letter-spacing: -0.05em; }.section-head p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card { display: flex; flex-direction: column; min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--mint-strong); box-shadow: var(--shadow); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.tool-symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--teal); font-size: 22px; font-weight: 800; }.tool-badge { color: var(--muted); font-size: 11px; }
.tool-card h3 { margin: 22px 0 9px; font-size: 19px; letter-spacing: -0.02em; font-weight: 700; }.tool-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }.tool-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 21px; color: var(--teal); font-size: 13px; font-weight: 700; }.tool-link span:last-child { font-size: 20px; transition: transform .2s ease; }.tool-card:hover .tool-link span:last-child { transform: translateX(4px); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }.process-step { padding: 23px; border-top: 2px solid var(--mint-strong); }.process-step b { display: block; color: var(--accent); font-size: 13px; }.process-step h3 { margin: 11px 0 7px; font-size: 16px; }.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }.home-faq .section-head { display: block; margin: 92px 0 0; }.home-faq .section-head p { margin-top: 13px; }.faq-list { display: grid; gap: 0; margin-top: 92px; border-top: 1px solid var(--line); }.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 750; }.faq-item summary::-webkit-details-marker { display: none; }.faq-item summary::after { content: "+"; color: var(--teal); font-size: 20px; line-height: 14px; }.faq-item[open] summary::after { content: "−"; }.faq-item p { max-width: 680px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.tool-page { padding: 40px 0 86px; }.tool-page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }.back-link { color: var(--teal); font-size: 13px; font-weight: 750; }.tool-page h1 { margin: 12px 0 9px; font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.06em; line-height: 1.03; }.tool-page-head p { margin: 0; color: var(--muted); font-size: 15px; }.tool-limit { align-self: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; box-shadow: var(--shadow-card); font-size: 12px; white-space: nowrap; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 16px; align-items: start; }.workspace-main, .workspace-side { min-width: 0; }.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-panel); }.upload-panel { padding: 16px; }.dropzone { min-height: 260px; display: grid; place-items: center; padding: 35px; border: 1.5px dashed #afd1c3; border-radius: 20px; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(219,230,225,.22), 0 3px 10px rgba(17,63,53,.035); text-align: center; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }.dropzone.is-over { border-color: var(--teal); background: #f7fcf8; box-shadow: inset 0 0 0 2px rgba(23,107,94,.08), 0 6px 16px rgba(23,107,94,.08); transform: scale(1.01); }.upload-icon { width: 61px; height: 61px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 20px; background: var(--teal); color: white; font-size: 29px; box-shadow: 0 12px 24px rgba(23,107,94,.18); }.dropzone h2 { margin: 0 0 7px; font-size: 21px; letter-spacing: -0.03em; }.dropzone p { margin: 0; color: var(--muted); font-size: 13px; }.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }.select-file { margin-top: 20px; }
.file-queue { margin-top: 15px; display: grid; gap: 9px; }.queue-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 4px; color: var(--muted); font-size: 12px; }.queue-head strong { color: var(--ink); font-size: 14px; }.file-row { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 11px; border: 1px solid var(--soft-line); border-radius: 14px; background: #fff; box-shadow: 0 3px 10px rgba(17,63,53,.035); }.file-row[draggable="true"] { cursor: grab; }.file-row.is-dragging { opacity: .42; }.file-preview { width: 50px; height: 60px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: var(--mint); color: var(--teal); font-size: 21px; }.file-preview img { width: 100%; height: 100%; object-fit: cover; }.file-info { min-width: 0; }.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 750; }.file-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 11px; }.file-status { color: var(--teal); }.file-status.error { color: var(--danger); }.file-actions { display: flex; align-items: center; gap: 6px; }.icon-btn { width: 31px; height: 31px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--muted); }.icon-btn:hover { background: var(--mint); color: var(--teal); }.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.settings-card { padding: 23px; }.settings-card h2 { margin: 0; font-size: 17px; letter-spacing: -0.03em; }.settings-card > p { margin: 8px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }.field { margin-top: 16px; }.field:first-of-type { margin-top: 0; }.field label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 12px; font-weight: 750; }.field label span { color: var(--muted); font-size: 11px; font-weight: 500; }.field input[type="text"], .field input[type="number"], .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: white; color: var(--ink); font-size: 13px; }.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,107,94,.1); }.field input[type="range"] { width: 100%; accent-color: var(--teal); }.field .range-labels { display: flex; justify-content: space-between; margin-top: 5px; color: var(--muted); font-size: 10px; }.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }.choice { position: relative; }.choice input { position: absolute; opacity: 0; }.choice span { display: block; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; text-align: center; color: var(--muted); font-size: 12px; cursor: pointer; }.choice input:checked + span { border-color: var(--teal); background: var(--mint); color: var(--teal-dark); font-weight: 750; }.helper { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.55; }.check-line { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }.check-line input { accent-color: var(--teal); }
.action-panel { margin-top: 16px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.action-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }.action-panel strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 3px; }.action-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }.btn:hover { transform: translateY(-1px); }.btn-primary { background: var(--teal); color: white; box-shadow: 0 10px 18px rgba(23,107,94,.16); }.btn-primary:hover { background: var(--teal-dark); }.btn-secondary { border-color: var(--line); background: white; color: var(--ink); }.btn-secondary:hover { border-color: var(--mint-strong); color: var(--teal); }.btn-quiet { min-height: 34px; padding: 0 10px; background: var(--mint); color: var(--teal); font-size: 12px; }.btn-danger { background: #fff5f3; color: var(--danger); border-color: #f2d4cf; }
.progress-panel { margin-top: 16px; padding: 23px; }.progress-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.progress-head h2 { margin: 0; font-size: 16px; }.progress-percent { color: var(--teal); font-size: 13px; font-weight: 800; }.progress-track { height: 8px; overflow: hidden; margin: 17px 0 10px; border-radius: 99px; background: var(--soft-line); }.progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #53b08f); transition: width .25s ease; }.progress-message { margin: 0; color: var(--muted); font-size: 12px; }
.result-panel { margin-top: 16px; padding: 24px; border-color: var(--mint-strong); background: #fff; box-shadow: var(--shadow-panel); }.result-panel h2 { margin: 0 0 6px; font-size: 20px; }.result-panel > p { margin: 0; color: var(--muted); font-size: 13px; }.result-summary { display: flex; flex-wrap: wrap; gap: 9px; margin: 19px 0; }.summary-pill { padding: 8px 10px; border: 1px solid var(--mint-strong); border-radius: 9px; color: var(--teal-dark); background: white; font-size: 11px; }.result-actions { display: flex; flex-wrap: wrap; gap: 9px; }.result-items { display: grid; gap: 7px; margin: 18px 0 0; }.result-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 7px rgba(17,63,53,.03); font-size: 12px; }.result-item a { color: var(--teal); font-weight: 750; }
.error-panel { margin-top: 16px; padding: 15px 17px; border: 1px solid #f2d4cf; border-radius: 13px; background: #fff8f7; color: var(--danger); font-size: 12px; line-height: 1.6; }.error-panel strong { display: block; margin-bottom: 4px; }
.side-card { padding: 23px; }.side-card + .side-card { margin-top: 16px; }.side-card h2 { margin: 0 0 13px; font-size: 16px; }.side-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.side-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }.side-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.55; }.side-list li::before { content: "✓"; color: var(--teal); font-weight: 900; }.related-tools { display: grid; gap: 7px; }.related-tools a { display: flex; align-items: center; justify-content: space-between; padding: 10px 11px; border: 1px solid var(--soft-line); border-radius: 9px; font-size: 12px; }.related-tools a:hover { border-color: var(--mint-strong); color: var(--teal); }

.content-page { max-width: 900px; padding: 55px 0 100px; }.content-page h1 { margin: 14px 0 18px; font-size: clamp(36px, 6vw, 57px); letter-spacing: -0.06em; line-height: 1; }.content-intro { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.75; }.content-section { margin-top: 48px; }.content-section h2 { margin: 0 0 14px; font-size: 23px; letter-spacing: -0.04em; }.content-section h3 { margin: 25px 0 9px; font-size: 15px; }.content-section p, .content-section li { color: var(--muted); font-size: 14px; line-height: 1.8; }.content-section ul, .content-section ol { padding-left: 21px; }.note-box { margin-top: 25px; padding: 18px 19px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: #fff9ef; color: #76572a; font-size: 13px; line-height: 1.7; }.content-table { width: 100%; border-collapse: collapse; margin-top: 19px; font-size: 13px; }.content-table th, .content-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }.content-table th { color: var(--ink); background: #edf6f1; }.content-table td { color: var(--muted); }
.site-footer { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 24px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }.footer-brand { color: var(--ink); font-weight: 800; }.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }.footer-nav a:hover { color: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Windows/CJK readability overrides: avoid synthetic-heavy small text and tight tracking. */
.hero h1, .tool-page h1, .content-page h1, .section-head h2, .settings-card h2 { letter-spacing: -0.02em; }
.faq-item summary, .back-link, .file-name, .field label, .choice input:checked + span, .result-item a { font-weight: 650; }
.tool-badge, .file-meta, .helper, .progress-message, .result-item { font-size: 12px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 22px; }.hero-art { min-height: 300px; }.tool-grid { grid-template-columns: repeat(2, 1fr); }.workspace { grid-template-columns: 1fr; }.workspace-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.side-card + .side-card { margin-top: 0; }.process { grid-template-columns: repeat(2, 1fr); }.home-faq { grid-template-columns: 1fr; gap: 10px; }.home-faq .section-head { margin-bottom: 0; }.faq-list { margin-top: 30px; }
}

@media (max-width: 620px) {
  .site-header, .ad-layout, .site-footer { width: min(100% - 28px, 1180px); }.site-header { padding: 16px 0; }.main-nav { display: none; }.header-actions { gap: 5px; }.header-trust { font-size: 11px; padding: 7px 9px; }.locale-picker select { width: 132px; min-height: 32px; padding-left: 7px; padding-right: 19px; }.page, .tool-page, .content-page { padding-top: 30px; }.hero h1 { font-size: 44px; }.hero-art { transform: scale(.86); margin: -20px 0; }.trust-strip, .tool-grid, .workspace-side { grid-template-columns: 1fr; }.trust-item { min-height: 78px; padding: 16px; }.section-head { display: block; margin-top: 65px; }.section-head h2 { font-size: 28px; }.section-head p { margin-top: 9px; }.process { grid-template-columns: 1fr; }.tool-page-head { display: block; }.tool-limit { display: inline-block; margin-top: 16px; }.action-panel { display: block; }.action-buttons { justify-content: flex-start; margin-top: 14px; }.dropzone { min-height: 220px; padding: 25px 15px; }.file-row { grid-template-columns: 43px minmax(0,1fr) auto; gap: 9px; }.file-preview { width: 43px; height: 53px; }.settings-card { padding: 19px; }.content-page h1 { font-size: 41px; }.site-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Tool workflow refinements */
.drop-hint { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.workflow-step { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 13px; border: 1px solid var(--soft-line); border-radius: 13px; background: #fff; color: #91a09a; font-size: 12px; }
.workflow-step::after { content: ""; position: absolute; top: 50%; right: -9px; width: 10px; height: 1px; background: var(--line); }
.workflow-step:last-child::after { display: none; }
.workflow-step span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 8px; background: var(--soft-line); font-size: 10px; font-weight: 800; }
.workflow-step strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.workflow-step.is-active { border-color: var(--mint-strong); color: var(--teal-dark); }
.workflow-step.is-active span { background: var(--mint); color: var(--teal); }
.workflow-step.is-current { box-shadow: 0 5px 15px rgba(23,107,94,.08); }
.choice-grid-three { grid-template-columns: repeat(3, 1fr); }
.advanced-options { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--soft-line); }
.advanced-options summary { cursor: pointer; color: var(--teal); font-size: 12px; font-weight: 800; }
.advanced-options[open] summary { margin-bottom: 13px; }
.result-next { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--soft-line); }
.result-next strong { display: block; margin-bottom: 10px; font-size: 12px; }
.result-next > div { display: flex; flex-wrap: wrap; gap: 8px; }
.result-next a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 145px; padding: 9px 11px; border: 1px solid var(--soft-line); border-radius: 10px; color: var(--teal); font-size: 12px; }
.result-next a:hover { border-color: var(--mint-strong); background: var(--mint); }

@media (min-width: 1280px) {
  .ad-layout { width: min(1600px, calc(100% - 40px)); grid-template-columns: 160px minmax(0, 1180px) 160px; }
  .ad-rail { display: block; }
}

@media (max-width: 620px) {
  .workflow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-bottom: 18px; }
  .workflow-step { justify-content: center; padding: 8px 5px; }
  .workflow-step::after { right: -6px; width: 7px; }
  .workflow-step strong { display: none; }
  .workflow-step span { width: 27px; height: 27px; }
  .choice-grid-three { grid-template-columns: 1fr; }
  .action-panel { position: sticky; bottom: 10px; z-index: 4; box-shadow: 0 16px 32px rgba(17,63,53,.16); }
  .result-next a { flex: 1 1 100%; }
}
