/* Guide pages only: current screenshots and a shorter reading path. */
.create-page .create-hero {padding-block:58px 64px}
.create-page .create-hero h1 {font-size:clamp(32px,4vw,55px);line-height:1.5}
.create-page .create-hero-copy>p {line-height:1.9}
.create-page .machine-screen {height:330px;overflow:hidden}
.create-page .machine-screen img {width:100%;height:auto;max-width:none}
.create-page .config-guide {grid-template-columns:300px minmax(0,1fr);align-items:start}
.create-page .config-step-list button {min-height:74px}
.create-page .config-step-list strong {font-size:14px}
.create-page .simple-viewer {min-height:0;padding:20px 20px 0}
.create-page [data-create-mode-panel] {scroll-margin-top:88px}
.create-page .step-screenshot-frame {position:relative;display:block;height:440px;overflow:hidden;padding:0;cursor:zoom-in;background:#fff}
.create-page .step-screenshot-frame img {display:block;width:100%;max-width:none;height:auto}
.create-page .step-screenshot-frame>span {position:absolute;bottom:12px;right:12px;padding:7px 13px;background:#145d4c;color:white;border-radius:99px;font-size:13px}
.create-page .simple-viewer-caption {margin-inline:-20px}
.create-page .step-operation-guide {margin-top:24px;padding:25px 28px;border:1px solid #dce5dc;background:#fffef9;box-shadow:none}
.create-page .step-operation-heading {display:block}
.create-page .step-operation-heading>span {display:block;margin-top:8px;text-align:left;font-size:14px}
.create-page .operation-list li {padding:18px 20px;min-height:0;background:#f5f8f4}
.create-page .operation-number {display:none}
.create-page .operation-list p {font-size:14px;line-height:1.85}
.create-page .operation-tip {font-size:12px}
.flow-controls {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}
.flow-controls button {min-height:44px;padding:10px 18px;border:1px solid #b6c9bf;border-radius:8px;color:#145d4c;background:white;font-weight:700;cursor:pointer}
.flow-controls button:disabled {opacity:.45;cursor:default}
.flow-controls span {white-space:nowrap;color:#65756a;font-size:13px}
.flow-image-dialog {width:min(1120px,94vw);max-height:90dvh;padding:0;border:1px solid #b6c9bf;border-radius:12px;background:white;color:#233b34}
.flow-image-dialog::backdrop {background:#15271fd9}
.flow-image-dialog>div {position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;background:#fffef9;border-bottom:1px solid #dce5dc}
.flow-image-dialog button {padding:8px 14px;border:1px solid #b6c9bf;border-radius:6px;background:white;cursor:pointer;min-height:44px}
.flow-image-dialog img {display:block;width:max(100%,720px);max-width:none;height:auto}
.flow-image-dialog>div {left:0;z-index:1}
.flow-image-dialog small {display:block;font-size:11px;font-weight:400}
.factory-guide-page .guide-hero {padding-block:52px}
.factory-guide-page .guide-hero-grid {gap:44px;grid-template-columns:1.4fr 1fr}
.factory-guide-page .guide-hero h1 {font-size:clamp(30px,4vw,50px);line-height:1.45}
.guide-entry-card {padding:28px;background:#fffef9;border:1px solid #d8dfd1;border-radius:16px}
.guide-entry-card>p:first-child {color:#9b713b;font-size:12px;font-weight:800}
.guide-entry-card h2 {font-size:23px;line-height:1.65;margin:12px 0}
.guide-entry-card p {font-size:14px;color:#647167;line-height:1.85}
.guide-entry-card a {display:inline-block;color:#145d4c;font-weight:800;margin-top:8px}
.factory-guide-page .guide-index {padding-block:32px}
.factory-guide-page .guide-mode-switch {margin-bottom:28px}
.guide-search-actions {display:flex;align-items:center;gap:16px;margin-top:14px;font-size:12px;color:#667469}
.guide-search-actions button {padding:8px 14px;min-height:40px;background:white;border:1px solid #b6c9bf;border-radius:7px;color:#145d4c;cursor:pointer}
.guide-search-actions [hidden] {display:none}
.factory-guide-page .guide-layout {gap:30px;padding-top:36px;padding-bottom:56px}
.factory-guide-page .guide-note {margin-bottom:24px;padding:18px 22px}
.factory-guide-page .step-flow-overview {display:none}
.factory-guide-page .guide-section {margin-bottom:14px;padding:0;border:1px solid #d9e3d9;border-radius:12px;background:#fff;overflow:clip}
.factory-guide-page .guide-section-heading {margin:0;padding:20px;gap:14px;grid-template-columns:42px minmax(0,1fr)}
.factory-guide-page .guide-section-heading>span {width:40px;height:40px;font-size:13px;border:0;box-shadow:none;background:#e9f1e9;color:#145d4c;border-radius:9px}
.factory-guide-page .guide-section-heading h2 {font-size:22px;margin:0}
.factory-guide-page .guide-section-heading div>p:last-child {font-size:13px;line-height:1.7}
.guide-section-toggle {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:40px;padding:0;background:none;color:inherit;border:0;text-align:left;font:inherit;cursor:pointer}
.guide-section-toggle::after {content:"";flex:0 0 auto;width:8px;height:8px;border:solid #145d4c;border-width:2px 2px 0 0;transform:rotate(45deg);margin:0 7px}
.guide-section-toggle[aria-expanded=true]::after {transform:rotate(135deg)}
.guide-section-toggle:focus-visible {outline:3px solid #64a993;outline-offset:5px;border-radius:3px}
.guide-section-body {padding:0 20px 20px}
.guide-section-body[hidden] {display:none}
.factory-guide-page .guide-block {box-shadow:none;border-radius:9px;padding:20px;margin:0 0 18px}
.factory-guide-page .guide-block:last-child {margin-bottom:0}
.factory-guide-page .guide-detail {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px}
.factory-guide-page .guide-image-button {position:relative;top:auto;border:1px solid #d0dcd3;box-shadow:none;background:#f5f8f4;max-height:530px;overflow:hidden}
.factory-guide-page .guide-image-button img {max-width:none;display:block}
.factory-guide-page .step-function-list>li {display:block;padding:14px;background:#f7f9f5}
.factory-guide-page .function-list p {font-size:13px;line-height:1.85}
.factory-guide-page .guide-callout {margin:20px 0;font-size:13px}
.factory-guide-page .step-option-catalog,.factory-guide-page .step-option-catalog-heading {margin-left:0}
.factory-guide-page .option-catalog {grid-template-columns:1fr}
.factory-guide-page .option-catalog>article {background:#f7f9f5;border-color:#dce5dc}
.factory-guide-page .option-catalog ul {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.factory-guide-page .option-catalog p {font-size:13px;line-height:1.8}
.factory-guide-page .option-catalog small {font-size:12px}
.factory-guide-page .option-catalog strong {font-size:14px}
.factory-guide-page .image-dialog {width:min(1120px,96vw);max-width:96vw}
.factory-guide-page .image-dialog-stage img {max-width:none;width:max(100%,720px);height:auto}
@media(max-width:800px){
 .create-page .config-guide {grid-template-columns:1fr}
 .create-page .config-step-list {grid-template-columns:repeat(3,minmax(0,1fr))}
 .create-page .config-step-list button {min-height:84px}
 .factory-guide-page .guide-hero-grid {grid-template-columns:1fr;gap:22px}
 .factory-guide-page .guide-entry-card {display:none}
 .factory-guide-page .guide-layout {grid-template-columns:1fr;gap:20px}
 .factory-guide-page .guide-detail {grid-template-columns:1fr}
 .factory-guide-page .guide-image-button {max-width:580px;max-height:350px}
 .factory-guide-page .guide-side {display:none}
}
@media(max-width:500px){
 .create-page .create-hero {padding-block:30px}
 .create-page .create-hero h1 {font-size:32px}
 .create-page .config-step-list {grid-template-columns:repeat(2,minmax(0,1fr))}
 .create-page .config-step-list strong {font-size:12px}
 .create-page .step-screenshot-frame {height:300px}
 .create-page .step-operation-guide {padding:20px 16px}
 .create-page .operation-list {grid-template-columns:1fr}
 .flow-controls {gap:6px}
 .flow-controls button {padding:10px;font-size:12px}
 .factory-guide-page .guide-hero {padding-block:30px}
 .factory-guide-page .guide-section-heading {padding:16px;grid-template-columns:32px minmax(0,1fr);gap:10px}
 .factory-guide-page .guide-section-heading>span {width:32px;height:32px}
 .factory-guide-page .guide-section-heading h2 {font-size:19px}
 .guide-section-body {padding:0 10px 12px}
 .factory-guide-page .guide-block {padding:14px 12px}
 .factory-guide-page .guide-block-title h3,.factory-guide-page .mode-heading h3 {font-size:18px}
 .factory-guide-page .option-catalog ul {grid-template-columns:1fr}
 .factory-guide-page .guide-note {padding:16px;grid-template-columns:1fr}
 .factory-guide-page .guide-note>span {display:none}
}

/* Numbered screenshots stay whole; the dialog provides a readable enlarged view. */
.create-page .step-screenshot-frame {height:auto}
.factory-guide-page .guide-image-button {max-height:none;align-self:start}
.factory-guide-page .step-function-list>li {display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;padding:12px}
.factory-guide-page .step-function-list>li>span {width:74px;font-size:11px;white-space:nowrap}
.create-page .operation-list[data-numbered=true] .operation-number {display:inline-flex;position:static;width:auto;height:auto;padding:5px 8px;margin-bottom:8px;border-radius:5px;background:#12604d;color:#fff;font-size:12px;line-height:1.3}
.figure-controls {display:flex;gap:10px;margin-bottom:14px}
.figure-controls[hidden] {display:none}
.figure-controls button {flex:1;padding:10px;border:1px solid #b6c9bf;border-radius:8px;min-height:44px;background:white;color:#145d4c;font:inherit;font-weight:700;cursor:pointer}
.figure-controls button[aria-pressed=true] {background:#145d4c;color:white}
@media(max-width:500px){
 .factory-guide-page .step-function-list>li {grid-template-columns:1fr;gap:8px}
 .create-page .operation-list[data-numbered=true] .operation-number {margin-right:auto}
}

.create-page .step-screenshot-frame>span,.factory-guide-page .guide-image-button>span {position:static;display:block;margin:0;border-radius:0;padding:9px 12px;background:#145d4c;color:white;text-align:center}

.create-page .config-viewer {min-height:0;padding-bottom:0}
.create-page .config-crop {display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;padding:16px 0 0;border:0;background:#1e211d;cursor:zoom-in}
.create-page .config-crop img {display:block;width:auto;max-width:min(100%,600px);max-height:650px;height:auto;margin:auto}
.create-page .config-crop>span {display:block;padding:10px;color:#fff;background:#145d4c;font-size:13px}

.factory-guide-page .guide-callout[hidden],.factory-guide-page .mode-summary[hidden] {display:none}
.create-page [data-operation-tip][hidden] {display:none}
/* One selected step: matching heading, screenshot, and numbered instructions. */
.create-page .flow-detail {min-width:0;overflow:hidden;scroll-margin-top:92px;border:1px solid #78a99b;border-top:4px solid #145d4c;border-radius:14px;background:#fff;box-shadow:0 8px 24px #145d4c08}
.create-page .flow-step-heading {display:flex;align-items:flex-start;gap:16px;padding:24px;background:#edf6f1;border-bottom:1px solid #d1e3d9}
.create-page .flow-step-number {display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;background:#145d4c;color:#fff;font:800 18px/1 monospace}
.create-page .flow-step-number.is-substep-number {font-size:12px;border-radius:12px}
.create-page .flow-step-copy {min-width:0}
.create-page .flow-step-copy>p {margin:0 0 6px;color:#567368;font-size:12px;font-weight:700;line-height:1.6}
.create-page .flow-step-copy h3 {margin:0;color:#163d32;font-size:clamp(20px,2vw,26px);line-height:1.5}
.create-page .flow-step-copy .flow-step-lead {margin:8px 0 0;color:#51665c;font-size:14px;font-weight:400;line-height:1.8}
.create-page .config-step-list button.is-current {background:#edf6f1;border-color:#78a99b;box-shadow:inset 3px 0 #145d4c;transform:none}
.create-page .config-step-list button.is-current>span {background:#145d4c}
.create-page .flow-detail .simple-viewer {padding:20px 24px 24px;border:0;border-radius:0;box-shadow:none;background:#fff}
.create-page .flow-detail .simple-progress {margin:0 0 20px}
.create-page .flow-detail .config-viewer {margin:24px;border:1px solid #b7c7be;border-radius:10px;box-shadow:none;background:#1e211d}
.create-page .flow-detail .step-operation-guide {max-width:none;margin:0;padding:24px;border:0;border-top:1px solid #dce8df;border-radius:0;background:#fafcf9}
.create-page .flow-detail .step-operation-heading {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;padding:0;border:0}
.create-page .flow-detail .step-operation-heading h4 {margin:0;color:#244d3d;font-size:17px}
.create-page .flow-detail .step-operation-heading p {margin:0;color:#65756c;font-size:12px;font-weight:400;line-height:1.7;letter-spacing:normal}
.create-page .flow-detail .operation-list {margin-top:16px}
.create-page .flow-detail .operation-list li {padding:16px;background:#fff;border-color:#dce6dd}
.create-page .flow-detail .flow-controls {margin:0;padding:20px 24px;border-top:1px solid #dce8df;background:#fff}
.create-page .config-step-list button:focus-visible {outline:3px solid #318c72;outline-offset:3px}
@media(max-width:800px){
 .create-page .config-step-list button.is-current {box-shadow:inset 0 -3px #145d4c}
}
@media(max-width:500px){
 .create-page .flow-step-heading {gap:12px;padding:18px 14px}
 .create-page .flow-step-number {flex-basis:38px;height:38px;font-size:15px}
 .create-page .flow-step-copy>p {font-size:10px}
 .create-page .flow-step-copy h3 {font-size:20px}
 .create-page .flow-step-copy .flow-step-lead {font-size:12px}
 .create-page .flow-detail .simple-viewer {padding:16px 12px}
 .create-page .flow-detail .config-viewer {margin:16px 12px}
 .create-page .flow-detail .step-operation-guide {padding:20px 14px}
 .create-page .flow-detail .flow-controls {padding:16px 12px}
}

/* Flow-only illustrations: the numbers identify only the actions described below. */
.create-page .flow-detail .operation-list[data-numbered="true"] .operation-number { width: 28px; height: 28px; min-width: 28px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

.create-page .flow-detail .config-crop { padding: 0; background: #f7faf7; }
.create-page .flow-detail .config-crop img { width: 100%; max-width: none; max-height: none; margin: 0; }
