/* 接单神器指南：与小程序和主站同源的白 / 浅粉底色与珊瑚暖橙品牌色。 */
:root {
  --bg: #fff; --panel: #fff8f9; --paper: #34292e; --muted: #796c71;
  --line: #eedde1; --soft-line: #f5e8ea;
  --coral: #ff6b6b; --orange: #e85d2f; --green: #45ad78; --brand-deep: #bd3f50;
  --grad: linear-gradient(135deg,#ff6b6b,#ff8e53);
  --hover-ring: 0 0 0 4px rgba(255,107,107,.13);
  --shadow: 0 22px 65px rgba(133,70,79,.09);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: #fff; color: var(--paper); font-family: "PingFang SC","Microsoft YaHei",sans-serif;
  line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible,summary:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 3px solid rgba(232,93,47,.5); outline-offset: 4px; }
img { display: block; max-width: 100%; }
code { font-family: Consolas,"Courier New",monospace; overflow-wrap: anywhere; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 18px;
  background: #fff; color: #32282d; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.guide-nav { height: 78px; padding: 0 max(28px,calc((100vw - 1240px)/2)); display: flex;
  align-items: center; gap: 34px; border-bottom: 1px solid rgba(232,93,47,.09);
  background: rgba(255,255,255,.9); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 50; }
.guide-brand { display: inline-flex; align-items: center; white-space: nowrap; }
.guide-brand img { width: 154px; height: 56px; object-fit: contain; object-position: left center; }
.guide-brand span { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line);
  color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.guide-nav-links { display: flex; gap: 8px; margin-left: auto; color: var(--muted); font-size: 13px; }
.guide-nav-links a { padding: 8px 12px; border: 1px solid transparent; border-radius: 11px;
  transition: color .25s,background .25s,border-color .25s,box-shadow .25s,transform .25s; }
.guide-nav a:hover { color: var(--brand-deep); }
.guide-nav-links a:hover { border-color: #ffd3da; background: linear-gradient(135deg,#fff0f3,#fff9f5);
  box-shadow: 0 6px 18px rgba(190,68,82,.1); transform: translateY(-1px); }
.guide-home { padding: 9px 18px; border: 1px solid #efb9c3; border-radius: 99px;
  color: #65464f; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: linear-gradient(145deg,#fff,#fff0f3); box-shadow: 0 5px 15px rgba(133,70,79,.07);
  transition: color .25s,border-color .25s,box-shadow .25s,transform .25s,background .25s; }
.guide-home:hover { border-color: #ff7f8d; background: #fff; transform: translateY(-2px);
  box-shadow: var(--hover-ring),0 10px 24px rgba(190,68,82,.15); }

.guide-hero { max-width: 1240px; margin: 0 auto; padding: 88px 28px 76px;
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr);
  gap: clamp(50px,7vw,100px); align-items: center; position: relative; }
.guide-hero::before { content: ""; position: absolute; width: 460px; height: 460px; left: -280px; top: -170px;
  border: 1px solid rgba(255,107,107,.15); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,107,107,.025),0 0 0 140px rgba(255,142,83,.018); pointer-events: none; }
.eyebrow { color: var(--orange); font-family: Consolas,monospace; font-size: 12px;
  letter-spacing: 2.5px; font-weight: 700; }
.eyebrow span { margin-left: 16px; color: var(--muted); }
.hero-copy h1 { margin: 22px 0 24px; font-size: clamp(44px,5.5vw,72px); line-height: 1.16;
  letter-spacing: -2px; font-weight: 900; }
.hero-copy h1 em { color: var(--orange); font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-intro { max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.version-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0; color: #685b60;
  font-family: Consolas,"Microsoft YaHei",monospace; font-size: 12px; }
.version-line span + span::before { content: "/"; margin-right: 18px; color: #d5bfc4; }
.first-notice { max-width: 550px; padding: 19px 22px; border-left: 3px solid var(--coral);
  border-radius: 0 16px 16px 0; background: linear-gradient(90deg,#fff0f2,#fff9f7); }
.first-notice b { font-size: 14px; }
.first-notice p { margin: 5px 0 7px; color: #6d5d63; font-size: 13px; line-height: 1.8; }
.first-notice strong { color: var(--paper); }
.first-notice a { color: var(--orange); font-size: 12px; }

.download-console { position: relative; padding: 30px; background: rgba(255,255,255,.94);
  border: 1px solid #f0dfe2; border-radius: 28px; box-shadow: var(--shadow); }
.download-console::after { content: ""; position: absolute; right: 20px; top: 0; width: 64px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--grad); pointer-events: none; }
.console-top { display: flex; align-items: center; gap: 8px; color: #796a70; font-size: 11px; letter-spacing: .5px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(69,173,120,.12); }
.console-code { margin-left: auto; color: #ad9ca1; font-family: Consolas,monospace; }
.download-console h2 { margin-top: 28px; font-size: 29px; line-height: 1.3; }
.download-console h2 small { margin-left: 8px; color: var(--orange); font-family: Consolas,monospace; font-size: 15px; }
.download-console > p { margin: 9px 0 23px; color: var(--muted); font-size: 13px; }
.download-primary { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 15px;
  min-height: 78px; padding: 15px 19px; border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px; background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px rgba(255,107,107,.25),inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s,box-shadow .25s,filter .25s; }
.download-primary::before,.feedback-form button::before { content: ""; position: absolute; inset: -2px; pointer-events: none;
  background: linear-gradient(110deg,transparent 28%,rgba(255,255,255,.65) 48%,transparent 68%);
  transform: translateX(-135%); transition: transform .7s cubic-bezier(.16,1,.3,1); }
.download-primary:hover::before,.feedback-form button:hover::before { transform: translateX(135%); }
.download-primary:hover { transform: translateY(-3px) scale(1.01); filter: saturate(1.1) brightness(1.03);
  box-shadow: var(--hover-ring),0 18px 38px rgba(255,107,107,.35),inset 0 1px 0 rgba(255,255,255,.4); }
.download-primary:active,.feedback-form button:active { transform: translateY(0) scale(.98); }
.download-icon { display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 23px; }
.download-primary b { display: block; font-size: 15px; }
.download-primary small { display: block; margin-top: 2px; font-size: 11px; opacity: .86; }
.button-arrow { margin-left: auto; font-size: 20px; }
.browser-recommendation { margin-top: 18px; padding: 15px 17px; border-radius: 14px;
  background: #fff5f3; border: 1px solid #ffe0d5; }
.browser-recommendation b { font-size: 13px; color: var(--paper); }
.browser-recommendation p { margin-top: 3px; color: #756269; font-size: 12px; }
.browser-recommendation strong { color: var(--orange); }
.download-console .format-note { margin: 16px 0; font-size: 11px; line-height: 1.8; }
.download-meta { padding-top: 16px; border-top: 1px solid var(--soft-line); display: flex;
  justify-content: space-between; gap: 12px; color: #9c8c92; font-size: 10px; }
.download-meta a { color: var(--orange); white-space: nowrap; }

.step-rail { max-width: 1184px; margin: 0 auto 30px; padding: 0 28px; display: grid; grid-template-columns: repeat(5,1fr); }
.step-rail a { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted);
  font-size: 13px; transition: color .25s,background .25s,box-shadow .25s,transform .25s; }
.step-rail a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
  border-radius: 4px; background: var(--grad); transform: scaleX(0); transition: transform .3s; }
.step-rail a + a { border-left: 1px solid var(--soft-line); padding-left: 22px; }
.step-rail a:hover { color: var(--brand-deep); background: linear-gradient(180deg,#fff,#fff0f3);
  box-shadow: inset 0 0 0 1px #ffc9d2,0 8px 22px rgba(133,70,79,.1); transform: translateY(-2px); }
.step-rail a:hover::after { transform: scaleX(1); }
.step-rail a:hover i { color: var(--brand-deep); text-shadow: 0 0 12px rgba(255,107,107,.3); }
.step-rail i { color: var(--orange); font-family: Consolas,monospace; font-size: 12px; font-style: normal; }
.manual-step { max-width: 1184px; margin: 0 auto; padding: 80px 28px;
  display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 70px; border-bottom: 1px solid var(--soft-line); }
.manual-step.step-alt { max-width: none; padding-left: max(28px,calc((100vw - 1128px)/2));
  padding-right: max(28px,calc((100vw - 1128px)/2)); background: #fff8f8; }
.step-alt .step-heading { max-width: 310px; }
.step-alt .step-content { max-width: 748px; }
.step-heading { display: flex; gap: 18px; align-items: flex-start; }
.step-number { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 14px;
  border: 1px solid #ffd2c4; background: #fff6f3; color: var(--orange); font-family: Consolas,monospace; font-size: 16px; }
.step-heading p { color: #b09ba1; font-family: Consolas,monospace; font-size: 10px; letter-spacing: 2px; }
.step-heading h2 { margin-top: 7px; font-size: 24px; line-height: 1.45; }
.step-content { min-width: 0; color: #6e6065; font-size: 14px; }
.step-content > p + * { margin-top: 26px; }
.step-content strong { color: var(--paper); }
.step-content code { padding: 2px 7px; border-radius: 5px; background: #fff0f2; color: #b94c48; font-size: 12px; }
.plain-callout,.warning-callout { margin: 26px 0; padding: 20px 23px; border-radius: 16px;
  border: 1px solid var(--line); background: #fffafa; }
.plain-callout b,.warning-callout b { color: var(--paper); font-size: 15px; }
.plain-callout p,.warning-callout p { margin-top: 5px; }
.warning-callout { border-color: #ffd9cb; background: #fff6f1; }
.warning-callout a { color: var(--orange); text-decoration: underline; }
.tutorial-figure { margin: 28px 0; }
.tutorial-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 18px; }
.tutorial-figure.portrait img { max-width: 620px; margin: 0 auto; }
.tutorial-figure figcaption { max-width: 760px; margin: 11px auto 0; color: #9b8b90; font-size: 11px; line-height: 1.7; }
.two-key-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.two-key-steps > div { display: grid; grid-template-columns: 40px 1fr; padding: 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.two-key-steps i { grid-row: 1/3; color: var(--orange); font-family: Consolas,monospace; font-size: 25px; font-style: normal; }
.two-key-steps b { color: var(--paper); font-size: 18px; }
.two-key-steps span { color: var(--muted); font-size: 11px; }
.serial-rule { display: flex; align-items: center; gap: 25px; margin: 30px 0; padding: 24px;
  border-radius: 20px; background: var(--grad); color: #fff; box-shadow: 0 14px 32px rgba(255,107,107,.17); }
.serial-rule > span { flex: 0 0 72px; font-family: Consolas,monospace; font-size: 62px; font-weight: 900;
  line-height: 1; text-align: center; border-right: 1px solid rgba(255,255,255,.35); }
.serial-rule b { font-size: 18px; }
.serial-rule p { margin-top: 5px; font-size: 12px; }
.field-table { margin: 28px 0; border-top: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: .8fr 1.25fr 1.25fr; gap: 20px; padding: 15px 12px;
  border-bottom: 1px solid var(--soft-line); font-size: 12px; }
.field-row b { color: var(--paper); }
.field-head { color: #a18e94; font-size: 10px; letter-spacing: 1px; }
.field-row.emphasis { background: #fff1f2; box-shadow: inset 3px 0 var(--coral); }
.save-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.save-layout > div { position: relative; padding: 26px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; }
.save-layout i { position: absolute; right: 20px; top: 15px; color: #f6c4b6;
  font-family: Consolas,monospace; font-size: 42px; font-style: normal; }
.save-layout b { color: var(--paper); font-size: 16px; }
.save-layout p { margin-top: 10px; }
.save-layout .save-note { grid-column: 1/-1; margin: 5px 0 0; padding-left: 18px; border-left: 2px solid var(--orange); }
.light-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.light-grid > span { display: grid; grid-template-columns: 18px 1fr; align-items: center; padding: 16px;
  border: 1px solid var(--soft-line); border-radius: 14px; background: #fff; color: var(--paper); }
.light-grid i { grid-row: 1/3; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.light-grid small { color: #a08e93; font-size: 10px; }

.faq-section { max-width: 960px; margin: 0 auto; padding: 100px 28px 90px; }
.faq-section h2 { margin: 12px 0 40px; font-size: 34px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { position: relative; padding: 23px 44px 23px 14px; cursor: pointer; color: var(--paper);
  border: 1px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 700; list-style: none;
  transition: color .25s,background .25s,border-color .25s,box-shadow .25s; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-family: Consolas,monospace; font-size: 23px; font-weight: 400; transition: transform .25s; }
.faq-section summary:hover { color: var(--brand-deep); border-color: #ffd0d8; background: #fff4f6;
  box-shadow: var(--hover-ring); }
.faq-section details[open] summary { color: var(--brand-deep); background: linear-gradient(90deg,#fff0f3,transparent); }
.faq-section details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-section details p { padding: 0 20px 22px 4px; color: var(--muted); font-size: 13px; }
.faq-section details code { display: inline-block; color: #9b5551; font-size: 11px; }

.feedback-section { max-width: 1128px; margin: 0 auto 100px; padding: 52px; display: grid;
  grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; border: 1px solid #f0dce1;
  border-radius: 30px; background: linear-gradient(135deg,#fff0f3,#fff8f1); }
.feedback-intro h2 { margin: 14px 0 18px; font-size: 34px; line-height: 1.35; }
.feedback-intro > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.feedback-intro > a { display: inline-block; margin-top: 24px; color: var(--orange);
  font-size: 13px; overflow-wrap: anywhere; }
.feedback-form { padding: 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px;
  background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.feedback-form label { display: block; margin: 0 0 7px; color: #66575d; font-size: 12px; font-weight: 600; }
.feedback-form select,.feedback-form textarea { width: 100%; border: 1px solid #e7b9c3; border-radius: 12px;
  background: linear-gradient(145deg,#fff,#fffbfc); color: var(--paper); font: inherit; font-size: 13px;
  box-shadow: inset 0 1px 3px rgba(133,70,79,.04);
  transition: border-color .25s,box-shadow .25s,background .25s; }
.feedback-form select:hover,.feedback-form textarea:hover { border-color: #ff8997; background: #fff;
  box-shadow: var(--hover-ring),0 8px 20px rgba(133,70,79,.08); }
.feedback-form select:focus,.feedback-form textarea:focus { border-color: #ff6b7c; background: #fff;
  box-shadow: var(--hover-ring),0 8px 20px rgba(133,70,79,.08); }
.feedback-form select { height: 44px; padding: 0 12px; margin-bottom: 18px; }
.feedback-form textarea { min-height: 132px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.feedback-form textarea::placeholder { color: #b4a4a9; }
.feedback-form-foot { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.feedback-form-foot p { color: #9b8a90; font-size: 11px; }
.feedback-form button { position: relative; isolation: isolate; overflow: hidden; margin-left: auto; flex-shrink: 0;
  padding: 12px 21px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px;
  background: var(--grad); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: 0 9px 24px rgba(255,107,107,.25),inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s,box-shadow .25s,filter .25s; }
.feedback-form button:hover { transform: translateY(-3px); filter: saturate(1.1);
  box-shadow: var(--hover-ring),0 14px 30px rgba(255,107,107,.34); }
.feedback-form button span { margin-left: 6px; }
.feedback-status { min-height: 18px; margin-top: 8px; color: var(--orange); font-size: 11px; }

.guide-footer { padding: 38px max(28px,calc((100vw - 1184px)/2)); display: flex; flex-wrap: wrap;
  gap: 20px 40px; align-items: center; border-top: 1px solid var(--soft-line); background: #fffafb; }
.guide-footer b,.guide-footer span { display: block; }
.guide-footer span { color: #9b898f; font-size: 11px; }
.guide-footer > div:nth-child(2) { display: flex; gap: 24px; margin-left: auto; color: var(--muted); font-size: 12px; }
.guide-footer p { width: 100%; padding-top: 22px; border-top: 1px solid var(--soft-line);
  color: #a19096; font-size: 10px; line-height: 1.9; }

@media (max-width: 1128px) { .feedback-section { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 960px) {
  .guide-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .download-console { max-width: 650px; }
  .manual-step,.manual-step.step-alt { grid-template-columns: 1fr; gap: 32px; padding: 62px 28px; }
  .step-alt .step-heading,.step-alt .step-content { max-width: none; }
  .guide-nav-links { display: none; }
  .guide-home { margin-left: auto; }
  .feedback-section { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 78px; }
  .guide-nav { height: 66px; padding: 0 18px; gap: 12px; }
  .guide-brand { font-size: 18px; }
  .guide-brand span { display: none; }
  .guide-home { padding: 6px 12px; font-size: 11px; }
  .guide-hero { padding: 28px 18px 42px; gap: 24px; }
  .hero-copy h1 { margin: 14px 0 16px; font-size: 40px; letter-spacing: -1px; }
  .hero-intro { font-size: 14px; line-height: 1.75; }
  .version-line { gap: 6px 12px; margin: 18px 0; }
  .version-line span + span::before { margin-right: 12px; }
  .first-notice { padding: 14px; }
  .first-notice p { font-size: 12px; line-height: 1.7; }
  .download-console { padding: 20px 16px; border-radius: 22px; }
  .download-console h2 { margin-top: 16px; font-size: 25px; }
  .download-console > p { margin: 6px 0 14px; }
  .download-primary { padding: 13px; gap: 11px; }
  .download-icon { width: 34px; height: 34px; }
  .download-meta { flex-direction: column; gap: 4px; }
  .step-rail { padding: 0 12px; margin-bottom: 0; }
  .step-rail a { flex-direction: column; gap: 2px; padding: 13px 2px; font-size: 10px; text-align: center; }
  .step-rail a + a { padding-left: 2px; }
  .manual-step,.manual-step.step-alt { padding: 50px 18px; gap: 26px; }
  .step-heading { gap: 13px; }
  .step-number { flex-basis: 42px; height: 42px; }
  .step-heading h2 { font-size: 21px; }
  .step-content { font-size: 13px; }
  .two-key-steps,.save-layout { grid-template-columns: 1fr; }
  .serial-rule { gap: 16px; padding: 19px 15px; }
  .serial-rule > span { flex-basis: 52px; font-size: 47px; }
  .serial-rule b { font-size: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 4px; padding: 15px 10px; }
  .field-head { display: none; }
  .field-row span:last-child { color: #97858b; }
  .light-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 70px 18px; }
  .faq-section h2 { font-size: 28px; }
  .feedback-section { margin: 0 18px 70px; padding: 28px 18px; border-radius: 24px; }
  .feedback-intro h2 { font-size: 28px; }
  .feedback-form { padding: 20px 16px; }
  .feedback-form-foot { align-items: flex-start; flex-direction: column; }
  .feedback-form button { margin-left: 0; width: 100%; }
  .guide-footer { padding: 32px 18px; }
  .guide-footer > div:nth-child(2) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
