:root {
  color-scheme: light;
  font-family: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', system-ui, sans-serif;
  color: #222820;
  background: #f6f7f2;
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #222820;
  --muted: #60685e;
  --faint: #6e786c;
  --line: #dfe4da;
  --strong-line: #c7d0c3;
  --surface: #f2f5ee;
  --accent: #234a36;
  --accent-hover: #173a28;
  --tint: #e7efdf;
  --focus: #4c7652;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 12px); }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.19; letter-spacing: -.045em; }
h2 { font-size: 18px; line-height: 1.38; letter-spacing: -.02em; }
h3 { font-size: 15px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.55; }

.masthead { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: var(--header); padding: 0 clamp(18px, 4.2vw, 68px); background: #fbfcf8f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap; }
.brand-mark { display: flex; align-items: center; justify-content: center; gap: 2px; width: 33px; height: 33px; border-radius: 10px; background: var(--accent); transform: translateZ(0); }
.brand-mark i { width: 3px; height: 13px; border-radius: 2px; background: #d9edaa; transform: rotate(22deg); }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 9px; }
.brand-word { display: flex; gap: 10px; align-items: baseline; font-size: 23px; font-weight: 790; letter-spacing: -.055em; }
.brand-word span { font-size: 12px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.masthead nav { align-self: stretch; display: flex; align-items: stretch; justify-content: center; gap: clamp(4px, 2vw, 25px); }
.masthead nav a { display: flex; position: relative; align-items: center; padding: 8px 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.masthead nav a:hover, .masthead nav a[aria-current='page'] { color: var(--accent); }
.masthead nav a[aria-current='page'] { font-weight: 720; }
.masthead nav a[aria-current='page']::after { content: ''; position: absolute; bottom: -1px; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--accent); }
.runtime { justify-self: end; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 7px; background: #edf3e7; color: #345644; font-size: 12px; white-space: nowrap; }
.runtime::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #4a7955; }
.loading { color: var(--muted); padding: 36px; }

.shell { width: 100%; max-width: 1300px; padding: clamp(20px, 4.2vw, 66px); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero-words { padding: 16px 0 18px; }
.hero h1 { font-size: clamp(47px, 6.3vw, 87px); font-weight: 800; letter-spacing: -.075em; line-height: 1.04; }
.hero h1 span { display: block; color: var(--accent); padding-top: .06em; }
.hero p { max-width: 24em; margin: 24px 0 27px; color: #59655a; font-size: 16px; line-height: 1.82; }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1.48; border-radius: 24px 24px 24px 7px; overflow: hidden; background: #e9e7dc; box-shadow: 0 19px 44px #25462916; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-art .hero-demo { position: absolute; bottom: 17px; left: 17px; border-color: #ffffff9e; background: #fffffff0; box-shadow: 0 6px 16px #273a2b20; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.primary, .quiet { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; width: fit-content; padding: 8px 13px; border: 1px solid var(--strong-line); border-radius: 8px; font-size: 13px; font-weight: 640; line-height: 1.4; white-space: nowrap; }
.primary { border-color: var(--accent); background: var(--accent); color: #f9fcf5; }
.primary:hover:not(:disabled) { border-color: var(--accent-hover); background: var(--accent-hover); }
.primary:disabled { border-color: #dfe6db; color: #596758; background: #dfe6db; }
.quiet { color: #354338; background: var(--white); }
.quiet:hover:not(:disabled) { border-color: #839f83; background: #f3f7ef; }
.quiet:disabled { color: var(--faint); background: #f1f3ef; }
.hero .primary, .hero .quiet { min-height: 45px; padding: 9px 16px; font-size: 14px; }
.home-tools { margin-top: clamp(38px, 5.5vw, 76px); }
.shelf-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shelf-header h2 { font-size: 24px; font-weight: 770; }
.shelf-header .quiet { border-color: transparent; background: none; padding-right: 0; }
.shelf-header .quiet:hover { color: var(--accent); text-decoration: underline; }
.tool-group { margin-top: 25px; }
.tool-group h2 { margin-bottom: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card { position: relative; display: flex; flex-direction: column; align-items: start; gap: 8px; min-height: 132px; padding: 15px 36px 15px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.tool-card::after { position: absolute; right: 13px; top: 13px; color: var(--faint); content: '↗'; font-size: 14px; }
.tool-card:hover { border-color: #9fb599; background: #fdfefb; box-shadow: 0 6px 18px #263e290d; }
.tool-card strong { font-size: 15px; line-height: 1.4; }
.tool-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 9px; background: #e7eee1; color: #2e5a42; font-size: 17px; }
.tool-icon.image-icon { object-fit: cover; object-position: 50% 39%; }
.tool-card[data-group='ai'] .tool-icon { background: #e9e6f2; color: #655877; }
.tool-card[data-group='media'] .tool-icon { background: #e2ecf1; color: #405f73; }
.tool-card[data-group='image'] .tool-icon { background: #f2ebdb; color: #70592c; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 5px; background: #e8eee4; color: #3e5946; font-size: 11px; white-space: nowrap; }
.badge.succeeded { background: #e4efe4; color: #2f6547; }
.badge.failed { background: #f6e4e4; color: #922b38; }
.badge.neutral { background: #f1f0e9; color: #605a45; }

.home-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin-top: clamp(29px, 5vw, 65px); border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.feature-photo { width: 100%; height: 100%; min-height: 255px; max-height: 360px; object-fit: cover; object-position: 48% 48%; }
.feature-body { display: grid; align-content: center; justify-items: start; gap: 13px; min-width: 0; padding: clamp(18px, 4.5vw, 58px); }
.feature-body h2, .home-case-gallery h2 { font-size: clamp(22px, 2.7vw, 34px); line-height: 1.24; }
.feature-body .muted { max-width: 34em; }
.feature-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.talk-feature { background: #edf2e7; }
.feature-steps { display: grid; gap: 11px; list-style: none; padding: 0; margin: 0 0 4px; counter-reset: feature; }
.feature-steps li { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; gap: 2px 9px; counter-increment: feature; }
.feature-steps li::before { grid-row: 1 / span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: var(--accent); background: #dce8d7; content: counter(feature); font-weight: 700; font-size: 12px; }
.feature-steps strong { color: #25452f; font-size: 14px; }
.talk-demo-cover { position: relative; overflow: hidden; display: grid; place-items: center; width: 100%; min-height: 310px; padding: 13px; border: 0; background: #dce9de; }
.talk-demo-cover:hover { background: #d2e3d6; }
.talk-demo-portrait { align-self: stretch; width: min(100%, 300px); height: 100%; min-height: 285px; max-height: 410px; object-fit: cover; object-position: 50% 40%; border-radius: 10px; }
.play-label { position: absolute; bottom: 10px; left: 10px; display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 6px; color: #f7f9f2; background: #203a2d; font-size: 12px; }
.talk-demo-cover .play-label { left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; }
.home-case-gallery { margin-top: clamp(31px, 5vw, 66px); }
.home-case-gallery .scenario-grid { margin-top: 15px; gap: 12px; }
.case-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.case-card:hover { border-color: #9caf95; }
.case-preview { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e8eee6; }
.case-cover { display: block; width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.case-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px 13px 14px; }
.case-meta strong { font-size: 15px; }
.case-meta .quiet { margin-top: auto; }
.case-category { color: #3c6046; font-size: 12px; }
.home-case:hover .case-meta strong { color: var(--accent); }

.media-dialog { width: min(90vw, 760px); max-height: 92vh; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); box-shadow: 0 20px 68px #192b1e52; }
.media-dialog::backdrop { background: #17282185; }
.dialog-header, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; }
.dialog-header { border-bottom: 1px solid var(--line); }
.dialog-footer { flex-wrap: wrap; }
.dialog-media { display: block; width: 100%; height: auto; max-height: 64vh; object-fit: contain; background: #ebf1e7; }
video.dialog-media { background: #182a20; }

.create-layout { display: grid; grid-template-columns: clamp(200px, 17vw, 246px) minmax(0, 1fr); max-width: 1660px; min-height: calc(100vh - var(--header)); margin: 0 auto; }
.tool-drawer { background: #fbfcf8; border-right: 1px solid var(--line); }
.tool-drawer > summary { display: none; }
.rail { position: sticky; top: var(--header); display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - var(--header)); overflow: auto; padding: 19px 15px; scrollbar-width: thin; }
.side-title { padding: 2px 5px; font-size: 15px; font-weight: 730; }
.rail input { background: var(--white); }
.side-menu { display: grid; gap: 10px; }
.side-section h2 { padding: 3px 8px 5px; color: var(--faint); font-size: 12px; font-weight: 700; }
.side-section a { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; color: #414c42; font-size: 13px; }
.side-section .tool-icon { width: 23px; height: 23px; flex-basis: 23px; border-radius: 6px; font-size: 13px; }
.side-section a:hover { color: var(--accent); background: #f0f4ec; }
.side-section a[aria-current='page'] { background: var(--tint); color: #244b34; font-weight: 720; }
.workspace { min-width: 0; padding: clamp(17px, 2.6vw, 42px); }
.page-heading { margin-bottom: 19px; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.breadcrumb { display: inline-flex; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.breadcrumb:hover { color: var(--accent); text-decoration: underline; }
.directory-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 740px; }
.directory-controls input { flex: 1 1 230px; }
.catalog-banner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; min-height: 175px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); overflow: hidden; }
.catalog-words { display: grid; align-content: center; gap: 10px; padding: clamp(14px, 2.3vw, 27px); }
.catalog-words h2 { font-size: clamp(19px, 2vw, 25px); }
.catalog-image { width: 100%; height: 100%; max-height: 226px; min-height: 175px; object-fit: cover; object-position: 50% 58%; }
.panel { min-width: 0; padding: clamp(14px, 1.7vw, 23px); border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.panel h2 { margin-bottom: 12px; }
.workflow { display: grid; gap: 12px; margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: step; }
.step { display: flex; align-items: center; min-width: 0; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: #f8faf5; color: var(--muted); text-align: left; counter-increment: step; }
.step::before { display: grid; place-items: center; content: counter(step); width: 26px; height: 26px; flex: 0 0 26px; border-radius: 9px; color: #396144; background: #e9efe3; font-size: 12px; font-weight: 740; }
.step:hover, .step[aria-current='step'] { border-color: #9caf95; background: #edf4e7; color: var(--accent); }
.step[aria-current='step']::before { background: var(--accent); color: white; }
.step-label { display: block; min-width: 0; }
.step-label strong, .step-label small { display: block; }
.step-label strong { color: var(--ink); font-size: 13px; }
.step-label small { margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tabs button[aria-pressed='true'], .avatar[aria-pressed='true'] { border-color: #9ab092; background: #eaf2e4; color: #244a32; }
.shelf-tabs { margin: 14px 0 16px; }
.shelf-tabs .quiet { background: transparent; border-color: transparent; font-weight: 570; }
.shelf-tabs .quiet:hover { background: var(--surface); }
.shelf-tabs .quiet[aria-pressed='true'] { font-weight: 700; border-color: #b0c1a8; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 5px 0 10px; color: #485246; font-size: 13px; font-weight: 590; }
input, textarea, select { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid var(--strong-line); border-radius: 8px; color: var(--ink); background: #fbfcf9; font-size: 13px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #737d71; }
textarea { min-height: 120px; resize: vertical; line-height: 1.65; }
.textarea-block { display: grid; position: relative; margin-bottom: 10px; }
.textarea-field { margin-bottom: 3px; }
.count { justify-self: end; font-size: 11px; font-variant-numeric: tabular-nums; }
.upload { padding: 10px; border: 1px dashed #a6b5a0; border-radius: 9px; background: #f6f8f3; overflow-wrap: anywhere; }
.upload input { min-height: 0; border: 0; padding: 4px 0; background: transparent; }
.upload input::file-selector-button { border: 1px solid var(--strong-line); border-radius: 7px; padding: 5px 8px; background: var(--white); color: #2b4735; margin-right: 8px; }
.source-controls:not(:empty) { margin-bottom: 9px; padding: 9px; border-radius: 9px; background: #f1f5ed; }
.notice { margin: 6px 0 12px; padding: 10px 12px; border: 1px solid #dae3d4; border-radius: 8px; color: #415647; background: #f0f5ed; font-size: 13px; line-height: 1.55; }
.feedback { color: #245a40; font-size: 13px; line-height: 1.55; }
.feedback:not(:empty) { margin: 4px 0; }

.avatar-preview { --preview-size: 196px; --ratio: .5625; position: relative; display: grid; place-items: center; height: var(--preview-size); overflow: hidden; border-radius: 10px; background: #eff3ea; }
.avatar-preview[data-ratio='16:9'] { --ratio: 1.7777778; }
.avatar-preview[data-ratio='1:1'] { --ratio: 1; }
.avatar-preview .avatar-shape, .avatar-preview .custom-preview { display: block; width: min(100%, calc(var(--preview-size) * var(--ratio))); height: auto; aspect-ratio: var(--ratio); object-fit: cover; }
.avatar-preview.avatar-custom .avatar-shape:not([hidden]) { display: grid; }
.frame-label { position: absolute; bottom: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; background: #203d2c; color: #f3f7ed; font-size: 11px; }
.avatars, .scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 9px 0 10px; }
.avatar, .scenario { display: grid; gap: 5px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: #394c3d; background: #f9fbf7; font-size: 12px; line-height: 1.4; text-align: left; }
.avatar:hover, .scenario:hover { border-color: #93ab8d; }
.avatar-shape { position: relative; overflow: hidden; height: 45px; border-radius: 7px; background: radial-gradient(ellipse at 50% 32%, #d1e7d5, #8cb69c); }
.avatar-shape::after, .avatar-shape::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); background: #4a8267; }
.avatar-shape::before { width: 25%; aspect-ratio: .85; max-height: 44%; top: 24%; border-radius: 50%; }
.avatar-shape::after { width: 57%; height: 31%; top: 64%; border-radius: 50% 50% 18% 18%; }
.avatar-clay .avatar-shape { background: radial-gradient(ellipse, #f2d7bd, #c99e86); }
.avatar-clay .avatar-shape::after, .avatar-clay .avatar-shape::before { background: #a16955; }
.avatar-violet .avatar-shape { background: radial-gradient(ellipse, #e8e1f1, #b2a8c9); }
.avatar-violet .avatar-shape::after, .avatar-violet .avatar-shape::before { background: #766993; }
.avatar-custom .avatar-shape { display: grid; place-items: center; border: 1px dashed #a9baab; background: #f3f6ee; }
.avatar-custom .avatar-shape::before { position: static; width: auto; aspect-ratio: auto; max-height: none; content: '+'; background: none; transform: none; font-size: 23px; }
.avatar-custom .avatar-shape::after { display: none; }
.avatar-thumbnail { display: block; width: 100%; height: 45px; border-radius: 6px; object-fit: cover; object-position: 50% 35%; }
.avatar-preview .custom-preview { object-position: center; }
.scenario-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.submit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.submit-bar .primary { margin-left: auto; }
audio { display: block; max-width: 100%; margin-top: 10px; }

.library-heading .fields { max-width: 740px; margin-top: 15px; }
.library-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr); align-items: start; gap: 14px; }
.jobs { display: grid; gap: 5px; max-height: 67vh; overflow-y: auto; }
.job-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border: 1px solid transparent; border-radius: 8px; }
.job-row:hover, .job-row[aria-current='true'] { border-color: #cedcc8; background: #f0f5ed; }
.job-info { flex: 1 1 auto; min-width: 0; }
.job-info > * { display: block; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.job-info small { margin-top: 3px; color: var(--faint); font-size: 11px; }
.asset { display: block; max-width: 100%; max-height: 61vh; margin: 13px 0; border-radius: 8px; }
video.asset, img.asset { background: #ecefe7; }
video.asset { max-height: 52vh; }
.asset.transcript { overflow: auto; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; background: #f5f7f1; font-family: inherit; font-size: 14px; line-height: 1.65; }
.library h3 { display: inline; margin-right: 8px; }

@media (min-width: 1200px) {
  .talk-workflow { grid-template-columns: minmax(0, 1.1fr) minmax(0, .88fr) minmax(0, 1fr); align-items: stretch; }
  .talk-workflow .steps, .talk-workflow .submit-bar { grid-column: 1 / -1; }
  .talk-workflow textarea[name='prompt'] { min-height: 210px; }
  .talk-workflow .tabs { gap: 4px; }
  .talk-workflow .tabs .quiet { padding-inline: 7px; font-size: 12px; }
  .talk-workflow .avatar { padding-inline: 5px; }
  .talk-workflow #step-sound .fields { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (min-width: 1200px) and (max-height: 880px) {
  .workspace { padding-top: 23px; }
  .talk-workflow .avatar-preview { --preview-size: 158px; }
}
@media (max-width: 1110px) { .workspace .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 829px) {
  :root { --header: 57px; }
  .masthead { position: static; grid-template-columns: 1fr auto; column-gap: 7px; row-gap: 0; min-height: var(--header); padding-top: 10px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; margin-top: 7px; }
  .masthead nav a { padding: 8px 10px 9px; }
  .create-layout { display: block; }
  .tool-drawer { border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-drawer > summary { display: list-item; padding: 9px 18px; color: var(--muted); font-size: 13px; cursor: pointer; }
  .rail { position: static; max-height: 57vh; }
  .hero { gap: 24px; }
  .hero p { margin: 14px 0 18px; font-size: 14px; }
  .tool-grid, .workspace .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: 1fr; }
  .jobs { max-height: 280px; }
}
@media (max-width: 590px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-words { padding: 8px 0 0; }
  .hero h1 { font-size: clamp(44px, 11vw, 62px); }
  .hero-art { aspect-ratio: 1.77; border-radius: 15px 15px 15px 5px; }
  .hero-image { object-position: 50% 58%; }
  .home-tools { margin-top: 31px; }
  .hero-art .hero-demo { left: 9px; bottom: 9px; min-height: 32px; padding: 5px 8px; font-size: 12px; }
  .home-feature, .catalog-banner { grid-template-columns: minmax(0, 1fr); }
  .feature-photo { min-height: 0; max-height: 205px; aspect-ratio: 1.82; }
  .talk-demo-cover { min-height: 218px; }
  .talk-demo-portrait { min-height: 175px; max-height: 230px; width: min(100%, 167px); }
  .catalog-image { min-height: 0; max-height: 170px; aspect-ratio: 2.15; }
  .tool-card { min-height: 117px; padding: 10px 23px 10px 10px; }
  .tool-card::after { top: 9px; right: 8px; }
  .fields { grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { gap: 5px; padding: 7px; }
  .step::before { width: 22px; height: 22px; flex-basis: 22px; }
  .step-label small { display: none; }
}
@media (max-width: 360px) { .brand-word span { display: none; } }
