.reference-steps * { box-sizing: border-box; }
.reference-steps html, .reference-steps body { margin: 0px; background: rgb(26, 26, 26); color: rgb(245, 245, 244); font-family: "Microsoft YaHei", sans-serif; }
.reference-steps .mockup { width: min(860px, 100%); padding: 32px; }
.reference-steps .header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; }
.reference-steps h1 { margin: 0px; font-size: 25px; font-weight: 600; line-height: 1.4; }
.reference-steps .tool-name { font-size: 17px; color: rgb(188, 188, 183); line-height: 1.5; text-align: right; max-width: 54%; }
.reference-steps .intro { margin: 0px 0px 24px; font-size: 18px; color: rgb(195, 195, 190); line-height: 1.55; }
.reference-steps .source-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 14px; position: relative; }
.reference-steps .source-grid.single { grid-template-columns: 1fr; }
.reference-steps .source-grid.triple { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
.reference-steps .asset { display: grid; grid-template-columns: 76px minmax(0px, 1fr); gap: 14px; padding: 14px; border: 1px solid rgb(65, 65, 62); border-radius: 14px; background: rgb(36, 36, 35); min-width: 0px; align-items: center; min-height: 160px; }
.reference-steps .asset-thumb { display: grid; place-items: center; align-self: start; width: 76px; aspect-ratio: 9 / 16; border-radius: 8px; background: rgb(21, 21, 21); overflow: hidden; }
.reference-steps .asset-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.reference-steps .copy { min-width: 0px; }
.reference-steps .step-title { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.reference-steps .number { display: inline-grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; font-size: 13px; font-weight: 600; color: rgb(248, 185, 67); border: 1px solid rgb(156, 117, 48); background: rgba(245, 158, 11, 0.07); }
.reference-steps .step-title h2, .reference-steps .step-title h3 { font: inherit; margin: 0px; }
.reference-steps .description { font-size: 14px; color: rgb(195, 195, 190); line-height: 1.65; margin: 8px 0px 0px; overflow-wrap: anywhere; }
.reference-steps .source-label { display: inline-block; color: rgb(229, 194, 129); background: rgb(60, 51, 33); font-size: 12px; line-height: 1.5; border: 1px solid rgb(126, 99, 54); border-radius: 4px; padding: 2px 5px; margin-top: 9px; }
.reference-steps .source-label.actual { color: rgb(188, 214, 197); background: rgb(36, 53, 42); border-color: rgb(66, 105, 78); }
.reference-steps .optional { display: block; margin: 5px 0px 0px; color: rgb(195, 195, 190); font-size: 12px; line-height: 1.45; }
.reference-steps .provenance { font-size: 12px; line-height: 1.5; color: rgb(188, 188, 183); margin: 4px 0px 0px; }
.reference-steps .source-grid.triple .asset { grid-template-columns: 58px minmax(0px, 1fr); gap: 10px; padding: 12px; }
.reference-steps .source-grid.triple .asset-thumb { width: 58px; }
.reference-steps .source-grid.triple .step-title { font-size: 15px; gap: 6px; }
.reference-steps .source-grid.triple .description { font-size: 13px; }
.reference-steps .source-grid.triple .number { width: 22px; height: 22px; font-size: 12px; }
.reference-steps .downstream { display: flex; align-items: center; gap: 10px; padding: 18px 0px; color: rgb(188, 188, 183); font-size: 14px; line-height: 1.6; }
.reference-steps .downstream .arrow { color: rgb(248, 185, 67); font-size: 24px; }
.reference-steps .result-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 18px; }
.reference-steps .result-heading .step-title { font-size: 19px; align-items: center; }
.reference-steps .result-heading .number { width: 30px; height: 30px; font-size: 15px; }
.reference-steps .result-heading .summary { font-size: 14px; color: rgb(188, 188, 183); line-height: 1.5; max-width: 43%; text-align: right; }
.reference-steps .screen { border-radius: 18px; overflow: hidden; background: rgb(16, 16, 16); line-height: 0; }
.reference-steps .screen img { display: block; width: 100%; height: auto; max-height: 820px; object-fit: contain; }
.reference-steps .result-foot { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; line-height: 1.6; color: rgb(188, 188, 183); padding-top: 14px; }
.reference-steps .result-foot .state { color: rgb(230, 189, 117); white-space: nowrap; }
.reference-steps .wave { display: flex; align-items: center; justify-content: center; gap: 3px; width: 62px; height: 66px; }
.reference-steps .wave i { display: block; flex: 1 1 0%; background: rgb(211, 173, 98); border-radius: 3px; }
.reference-steps .thumb-text { font-size: 13px; text-align: center; line-height: 1.6; color: rgb(195, 195, 190); padding: 7px; }
.reference-steps .document { width: 56px; border: 1px solid rgb(101, 101, 96); border-radius: 5px; padding: 11px 7px; background: rgb(45, 45, 42); }
.reference-steps .document b { display: block; font-size: 11px; color: rgb(229, 194, 129); font-weight: 500; margin-bottom: 10px; }
.reference-steps .document i { display: block; height: 2px; background: rgb(155, 155, 147); margin: 7px 0px; }
.reference-steps .document i:nth-last-child(1) { width: 60%; }
.reference-steps .settings-lines { width: 54px; }
.reference-steps .setting-line { height: 4px; background: rgb(112, 112, 105); margin: 17px 0px; position: relative; border-radius: 4px; }
.reference-steps .setting-line::after { content: ""; display: block; position: absolute; top: -4px; width: 9px; height: 12px; background: rgb(218, 185, 111); border-radius: 3px; left: var(--position); }
.reference-steps .tri-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 4px; width: 100%; height: 72px; }
.reference-steps .tri-view span { display: flex; align-items: center; justify-content: center; border: 1px solid rgb(98, 98, 92); border-radius: 3px; color: rgb(195, 195, 190); font-size: 11px; writing-mode: vertical-rl; letter-spacing: 2px; }
.reference-steps .product-pair { display: grid; gap: 8px; width: 64px; padding: 4px; }
.reference-steps .product-pair span { border: 1px solid rgb(98, 98, 92); border-radius: 5px; color: rgb(195, 195, 190); font-size: 11px; padding: 10px 0px; text-align: center; }
.reference-steps .placeholder-screen { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; border: 1px solid rgb(65, 65, 62); border-radius: 18px; background: rgb(23, 23, 22); color: rgb(195, 195, 190); padding: 32px; }
.reference-steps .placeholder-screen .frame-mark { width: 82px; height: 62px; border: 1px solid rgb(120, 104, 68); border-radius: 10px; display: grid; place-items: center; margin: 0px auto 18px; color: rgb(229, 194, 129); font-size: 26px; }
.reference-steps .placeholder-screen h3 { font-size: 23px; margin: 0px; font-weight: 500; line-height: 1.5; }
.reference-steps .placeholder-screen p { font-size: 15px; line-height: 1.7; margin: 10px 0px 0px; max-width: 460px; }
.reference-steps .text-output { border: 1px solid rgb(65, 65, 62); border-radius: 18px; background: rgb(36, 36, 35); padding: 28px; }
.reference-steps .text-output .structure { display: inline-block; color: rgb(229, 194, 129); background: rgb(60, 51, 33); border: 1px solid rgb(126, 99, 54); font-size: 13px; line-height: 1.5; border-radius: 5px; padding: 4px 8px; margin-bottom: 22px; }
.reference-steps .text-output .item { padding: 17px 0px; border-top: 1px solid rgb(65, 65, 62); }
.reference-steps .text-output .item h3 { font-size: 18px; font-weight: 500; margin: 0px 0px 9px; }
.reference-steps .text-output .item p { font-size: 15px; color: rgb(195, 195, 190); line-height: 1.7; margin: 0px; }
.reference-steps .combination-note { font-size: 13px; color: rgb(195, 195, 190); line-height: 1.6; margin: 12px 0px 0px; }
@media (max-width: 620px) {
  .reference-steps .mockup { padding: 20px; }
  .reference-steps .header { gap: 14px; padding-bottom: 16px; }
  .reference-steps h1 { font-size: 22px; }
  .reference-steps .tool-name { font-size: 15px; }
  .reference-steps .intro { font-size: 16px; margin-bottom: 20px; }
  .reference-steps .source-grid, .reference-steps .source-grid.triple { grid-template-columns: 1fr; gap: 10px; }
  .reference-steps .asset, .reference-steps .source-grid.triple .asset { grid-template-columns: 70px minmax(0px, 1fr); padding: 12px; min-height: 142px; gap: 12px; }
  .reference-steps .asset-thumb, .reference-steps .source-grid.triple .asset-thumb { width: 70px; }
  .reference-steps .step-title, .reference-steps .source-grid.triple .step-title { font-size: 16px; }
  .reference-steps .description, .reference-steps .source-grid.triple .description { font-size: 14px; }
  .reference-steps .source-grid.triple .number { width: 25px; height: 25px; font-size: 13px; }
  .reference-steps .result-heading { gap: 10px; }
  .reference-steps .result-heading .step-title { font-size: 17px; }
  .reference-steps .result-heading .summary { font-size: 12px; max-width: 40%; }
  .reference-steps .screen { border-radius: 12px; }
  .reference-steps .result-foot { font-size: 12px; gap: 10px; }
  .reference-steps .downstream { font-size: 13px; padding: 16px 0px; }
  .reference-steps .placeholder-screen { padding: 20px; }
  .reference-steps .placeholder-screen h3 { font-size: 19px; }
  .reference-steps .placeholder-screen p { font-size: 13px; }
  .reference-steps .text-output { padding: 20px; }
}
.reference-steps .file-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.reference-steps .source-grid.has-group { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.reference-steps .asset.material-group { grid-column: 1 / -1; grid-template-columns: 240px minmax(0px, 1fr); min-height: 210px; }
.reference-steps .asset.material-group .asset-thumb { width: 240px; height: 180px; aspect-ratio: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: transparent; }
.reference-steps .asset.material-group .asset-thumb a { min-height: 0px; overflow: hidden; background: rgb(21, 21, 21); border-radius: 5px; }
.reference-steps .asset.material-group .asset-thumb img { object-fit: contain; }
@media (max-width: 620px) {
  .reference-steps .source-grid.has-group { grid-template-columns: 1fr; }
  .reference-steps .asset.material-group { grid-template-columns: 148px minmax(0px, 1fr); gap: 10px; }
  .reference-steps .asset.material-group .asset-thumb { width: 148px; height: 174px; }
}
.reference-steps .source-grid .asset.material-group { grid-template-columns: 240px minmax(0px, 1fr); }
@media (max-width: 620px) {
  .reference-steps .source-grid .asset.material-group { grid-template-columns: 148px minmax(0px, 1fr); }
}
.reference-steps .asset-thumb a { display: block; width: 100%; height: 100%; }
.reference-steps .real-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: rgb(221, 221, 221); line-height: 1.65; margin: 8px 0px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reference-steps .file-name { font-size: 11px; color: rgb(167, 167, 160); line-height: 1.6; overflow-wrap: anywhere; margin-top: 6px; }
.reference-steps .asset audio { width: 100%; height: 32px; margin-top: 8px; }
.reference-steps .material-link { display: inline-block; color: rgb(248, 185, 67); text-decoration: none; font-size: 12px; margin-top: 8px; }
.reference-steps .screen video { display: block; width: 100%; max-height: 820px; object-fit: contain; background: rgb(16, 16, 16); }
.reference-steps .screen.text-result { line-height: 1.75; padding: 26px; white-space: pre-wrap; overflow-wrap: anywhere; color: rgb(221, 221, 221); font-size: 15px; }
.reference-steps .case-notes { font-size: 12px; color: rgb(188, 188, 183); line-height: 1.65; margin: 14px 0px 0px; }
.reference-steps .full-text { font-size: 12px; color: rgb(195, 195, 190); line-height: 1.7; margin-top: 8px; }
.reference-steps .full-text summary { color: rgb(248, 185, 67); cursor: pointer; }
.reference-steps .full-text pre { white-space: pre-wrap; font-family: inherit; }
.reference-steps .source-label.missing { color: rgb(217, 162, 140); background: rgb(60, 40, 33); border-color: rgb(126, 77, 54); }
#operation-layout.with-example.with-reference-steps{grid-template-columns:minmax(340px,.9fr) minmax(0,1.35fr)}
#operation-example.reference-steps{position:static;max-width:860px;width:100%;container-type:inline-size;color:var(--ink-1);font-family:"Microsoft YaHei",sans-serif}
.reference-steps .mockup{width:100%;padding:0}.reference-steps .mockup h1{font-size:22px}.reference-steps .intro{font-size:16px}.reference-steps .screen video{height:auto;max-height:820px;object-fit:contain}.reference-steps .asset audio{min-width:0}
@media(max-width:1100px){#operation-layout.with-example.with-reference-steps{grid-template-columns:1fr}#operation-example.reference-steps{justify-self:center;grid-row:auto}}
@container(max-width:640px){.reference-steps .source-grid,.reference-steps .source-grid.triple,.reference-steps .source-grid.has-group{grid-template-columns:1fr;gap:10px}.reference-steps .asset,.reference-steps .source-grid.triple .asset{grid-template-columns:70px minmax(0,1fr);padding:12px;min-height:142px;gap:12px}.reference-steps .asset-thumb,.reference-steps .source-grid.triple .asset-thumb{width:70px}.reference-steps .step-title,.reference-steps .source-grid.triple .step-title{font-size:16px}.reference-steps .description,.reference-steps .source-grid.triple .description{font-size:14px}.reference-steps .source-grid .asset.material-group{grid-template-columns:148px minmax(0,1fr);gap:10px}.reference-steps .asset.material-group .asset-thumb{width:148px;height:174px}.reference-steps .result-heading .step-title{font-size:17px}.reference-steps .result-heading .summary{font-size:12px}.reference-steps .result-foot{font-size:12px}}
.reference-steps[data-reference-feature="reference"] .asset.material-group .asset-thumb{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
