:root {
  --ink: #172033;
  --muted: #6c788a;
  --line: rgba(115,139,171,.2);
  --blue: #1d5544;
  --blue-soft: #edf5eb;
  --green: #1d745b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f3f6fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f3f6fb; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.demo-topbar { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 max(24px, calc((100% - 1280px) / 2)); border-bottom: 1px solid #e3e8f0; background: rgba(255,255,255,.85); }
.demo-brand { display: flex; align-items: center; gap: 9px; }
.demo-brand-mark { display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden; border-radius: 10px; background: #edf5eb; }
.demo-brand-mark img { width: 43px; height: 43px; object-fit: contain; }
.demo-brand strong, .demo-brand small { display: block; }
.demo-brand strong { color: #1d2e48; font-size: 14px; letter-spacing: -.03em; }
.demo-brand small { margin-top: 2px; color: #929eaf; font-size: 8px; }
.tab-label { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #dce4dd; border-radius: 8px; color: #738198; background: #f8faff; font-size: 10px; }
.tab-dot { width: 7px; height: 7px; border-radius: 50%; background: #43ad80; box-shadow: 0 0 0 4px #e7f7ef; }
.back-link { color: #52647c; font-size: 10px; }
.back-link:hover { color: var(--blue); }

.demo-main { width: min(1300px, calc(100% - 48px)); margin: 0 auto; padding: 45px 0 50px; }
.demo-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.demo-eyebrow { display: flex; align-items: center; gap: 8px; color: #1d5544; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.demo-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #e2eee1; }
.demo-intro h1 { margin: 12px 0 10px; color: #1d2f4a; font-size: clamp(30px, 4vw, 43px); letter-spacing: -.07em; line-height: 1.2; }
.demo-intro h1 em { color: var(--blue); font-style: normal; }
.demo-intro p { max-width: 600px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.candidate-chip { display: flex; align-items: center; gap: 9px; min-width: 237px; padding: 10px 12px; border: 1px solid #dce4dd; border-radius: 11px; background: rgba(255,255,255,.72); box-shadow: 0 8px 22px rgba(40,66,117,.06); }
.candidate-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: #f0a17c; font-size: 14px; font-weight: 800; }
.candidate-chip strong, .candidate-chip small { display: block; }
.candidate-chip strong { color: #34435a; font-size: 10px; }
.candidate-chip small { margin-top: 4px; color: #8b99aa; font-size: 8px; }
.candidate-ready { margin-left: auto; padding: 4px 6px; border-radius: 5px; color: #267c60; background: #eaf8f1; font-size: 8px; white-space: nowrap; }
.demo-guide { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; margin-top: 31px; }
.demo-guide-item { display: flex; align-items: center; gap: 10px; min-height: 53px; padding: 10px 12px; border: 1px solid #dfe6f1; border-radius: 10px; background: rgba(255,255,255,.55); }
.demo-guide-item > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #728198; background: #eef2f8; font-size: 9px; font-weight: 800; }
.demo-guide-item strong, .demo-guide-item small { display: block; }
.demo-guide-item strong { color: #617088; font-size: 10px; }
.demo-guide-item small { margin-top: 3px; color: #9aa7b8; font-size: 8px; }
.demo-guide-item.active { border-color: #bed0ff; background: #edf5eb; }
.demo-guide-item.active > span { color: #fff; background: var(--blue); }
.demo-guide-item.active strong { color: #1d5544; }
.demo-guide-item.active-control { border-color: #cad6fb; background: #f3f8ef; }
.demo-guide i { height: 1px; background: #cfd8e9; }

.plugin-window { margin-top: 19px; overflow: hidden; border: 1px solid #d6dfed; border-radius: 16px; background: #eaf0f8; box-shadow: 0 19px 50px rgba(41,65,110,.14); }
.plugin-window-bar { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 14px; border-bottom: 1px solid #d8e1ee; color: #8b98aa; background: #f8faff; font-size: 9px; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ff7d75; }
.window-dots i:nth-child(2) { background: #ffcb52; }
.window-dots i:nth-child(3) { background: #6acb92; }
.address-bar { min-width: 0; flex: 1; max-width: 500px; padding: 5px 10px; overflow: hidden; border: 1px solid #e2e7f0; border-radius: 6px; color: #9ca8b8; background: #fff; text-overflow: ellipsis; white-space: nowrap; }
.connection-state { margin-left: auto; padding: 4px 7px; border-radius: 5px; color: #2f8667; background: #e8f8f0; font-size: 8px; white-space: nowrap; }
.plugin-workspace { position: relative; display: grid; grid-template-columns: 312px minmax(0,1fr); height: 680px; overflow: hidden; background: #eef3f9; }

.reference-drawer { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-right: 1px solid rgba(105,132,166,.3); color: #182538; background: rgba(248,251,255,.94); box-shadow: 6px 0 22px rgba(27,58,102,.08); }
.reference-head { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 16px 15px 12px; border-bottom: 1px solid rgba(115,139,171,.2); background: rgba(255,255,255,.46); }
.reference-head > div > span { display: block; color: #1d5544; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.reference-head strong, .reference-head small { display: block; }
.reference-head strong { margin-top: 2px; color: #243953; font-size: 15px; }
.reference-head small { margin-top: 3px; color: #718095; font-size: 9px; }
.reference-head button { width: 28px; height: 28px; border-radius: 8px; color: #536177; background: rgba(79,99,128,.08); font-size: 17px; }
.reference-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; padding: 9px 10px; border-bottom: 1px solid rgba(115,139,171,.17); }
.reference-tools label { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 0 8px; border: 1px solid rgba(103,132,168,.28); border-radius: 8px; color: #6c7c91; background: rgba(255,255,255,.7); font-size: 13px; }
.reference-tools input { width: 100%; min-width: 0; height: 29px; border: 0; outline: 0; color: #23344a; background: transparent; font-size: 9px; }
.reference-tools button { padding: 5px 7px; border-radius: 7px; color: #1d5544; background: rgba(29,85,68,.08); font-size: 8px; }
.reference-scroll { flex: 1; min-height: 0; overflow: auto; padding: 10px; scrollbar-width: thin; }
.reference-scroll details { margin-bottom: 8px; overflow: hidden; border: 1px solid rgba(118,143,175,.24); border-radius: 11px; background: rgba(255,255,255,.6); }
.reference-scroll summary { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 10px; cursor: pointer; list-style: none; }
.reference-scroll summary::-webkit-details-marker { display: none; }
.reference-scroll summary i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #1d5544; background: rgba(29,85,68,.09); font-size: 10px; font-style: normal; }
.reference-scroll summary strong { color: #43536a; font-size: 10px; }
.reference-scroll summary small { color: #8a98aa; font-size: 8px; }
.reference-scroll summary b { color: #8d9aad; font-size: 12px; }
.reference-record { padding: 0 10px 8px; }
.reference-record p { display: grid; grid-template-columns: 57px minmax(0,1fr) auto; gap: 6px; align-items: center; margin: 0; padding: 8px 0; border-top: 1px solid rgba(134,152,176,.13); }
.reference-record p span { color: #728095; font-size: 9px; }
.reference-record p strong { min-width: 0; overflow: hidden; color: #1f2d40; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.reference-record p button { padding: 3px 5px; border-radius: 5px; color: #226b57; background: rgba(34,127,99,.09); font-size: 8px; }
.reference-note { margin: 0 10px 11px; padding: 8px 9px; border-radius: 8px; color: #62748a; background: #f0f5ff; font-size: 8px; line-height: 1.55; }

.job-page { min-width: 0; overflow: auto; padding: 27px 29px 40px; background: linear-gradient(135deg, rgba(255,255,255,.57), rgba(235,241,250,.7)); scrollbar-width: thin; }
.job-page-head { display: flex; align-items: center; gap: 10px; }
.company-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #1d5544, #4f8a61); font-size: 18px; font-weight: 800; }
.job-page-head strong, .job-page-head small { display: block; }
.job-page-head strong { color: #405068; font-size: 12px; }
.job-page-head strong span { display: inline-grid; place-items: center; width: 12px; height: 12px; margin-left: 3px; border-radius: 50%; color: #fff; background: #47b889; font-size: 8px; }
.job-page-head small { margin-top: 3px; color: #9aa6b5; font-size: 8px; }
.job-page-head em { margin-left: auto; padding: 5px 7px; border-radius: 5px; color: #1d5544; background: #e8f4e7; font-size: 8px; font-style: normal; }
.job-title { margin-top: 21px; }
.job-title span, .job-title small { display: block; }
.job-title span { color: #263951; font-size: 24px; font-weight: 800; letter-spacing: -.06em; }
.job-title small { margin-top: 6px; color: #8f9bad; font-size: 9px; }
.job-progress { display: grid; grid-template-columns: 1fr minmax(120px, 2fr) auto; gap: 14px; align-items: center; margin-top: 22px; padding: 13px 15px; border: 1px solid #e1e7f0; border-radius: 9px; background: rgba(255,255,255,.72); }
.job-progress > div:first-child { display: flex; align-items: center; gap: 9px; }
.job-progress span { color: #8e9aaa; font-size: 9px; }
.job-progress strong { color: #4a5b74; font-size: 9px; }
.job-progress > small { color: var(--blue); font-size: 9px; white-space: nowrap; }
.job-progress-track, .control-progress-track { height: 5px; overflow: hidden; border-radius: 8px; background: #e8edf5; }
.job-progress-track span, .control-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .24s ease; }
.form-section { margin-top: 13px; padding: 17px 18px 19px; border: 1px solid #e1e7f0; border-radius: 10px; background: rgba(255,255,255,.74); }
.form-section-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid #edf0f4; }
.form-section-head > div { display: flex; align-items: center; gap: 9px; }
.form-section-head > div > span { color: #a3adbb; font-size: 9px; font-weight: 800; }
.form-section-head h2 { margin: 0; color: #405068; font-size: 12px; }
.form-section-head > small { padding: 4px 6px; border-radius: 4px; color: #a0a9b7; background: #f5f7fa; font-size: 8px; }
.form-section-head > small.done { color: #2d8a68; background: #eaf8f1; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 11px; margin-top: 14px; }
.field-grid label { display: grid; gap: 6px; min-width: 0; color: #8996a8; font-size: 8px; }
.field-grid label.wide { grid-column: span 2; }
.field-grid input, .field-grid textarea { width: 100%; min-width: 0; border: 1px solid #e2e7ef; border-radius: 6px; outline: 0; color: #36475e; background: #fbfcfe; font-size: 9px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field-grid input { height: 34px; padding: 0 9px; }
.field-grid textarea { min-height: 45px; padding: 8px 9px; resize: none; line-height: 1.5; }
.field-grid input::placeholder, .field-grid textarea::placeholder { color: #b5becb; }
.field-grid input.is-filled, .field-grid textarea.is-filled { border-color: #9eafff; background: #f7f8ff; box-shadow: 0 0 0 3px #edf0ff; }

.control-card { position: absolute; right: 22px; bottom: 22px; z-index: 5; width: 354px; padding: 15px; border: 1px solid #d1ddff; border-radius: 14px; background: rgba(255,255,255,.98); box-shadow: 0 14px 42px rgba(29,55,46,.23); }
.control-card[hidden], .control-mini[hidden] { display: none; }
.control-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; }
.control-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: var(--blue); background: #edf1ff; font-size: 14px; }
.control-head strong, .control-head small { display: block; }
.control-head strong { color: #173f34; font-size: 11px; }
.control-head small { margin-top: 4px; color: #6b778a; font-size: 8px; line-height: 1.5; }
.control-head > button { color: #8b96a8; background: transparent; font-size: 16px; }
.resume-picker { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 8px; border: 1px solid #dfe7fb; border-radius: 8px; color: #51617c; background: #f6f9ff; font-size: 9px; }
.resume-picker strong { color: #173f34; white-space: nowrap; }
.resume-picker select { min-width: 0; flex: 1; height: 25px; padding: 0 6px; border: 1px solid #cfd9ee; border-radius: 6px; color: #26324c; background: #fff; font-size: 9px; }
.control-progress { margin-top: 12px; }
.control-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; color: #919cab; font-size: 8px; }
.control-progress strong { color: var(--blue); }
.control-missing { min-height: 24px; margin: 10px 0 0; color: #a45c00; font-size: 8px; line-height: 1.5; }
.control-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.control-actions button { padding: 6px 8px; border-radius: 7px; color: #173f34; background: #edf5eb; font-size: 8px; }
.control-actions button.primary { color: #fff; background: var(--blue); box-shadow: 0 6px 12px rgba(29,85,68,.17); }
.control-actions button.primary.done { color: #fff; background: #2ea478; box-shadow: 0 6px 12px rgba(46,164,120,.16); }
.control-actions button:disabled { cursor: wait; opacity: .74; }
.control-actions button.quiet { margin-left: auto; color: #667085; background: transparent; }
.control-tip { display: flex; gap: 6px; margin-top: 10px; padding: 8px; border-radius: 7px; background: #f7f9ff; }
.control-tip > span { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; color: var(--blue); background: #e5eaff; font-size: 8px; }
.control-tip p { margin: 0; color: #76849a; font-size: 8px; line-height: 1.5; }
.start-pointer { position: absolute; right: 394px; bottom: 42px; z-index: 6; display: grid; grid-template-columns: auto auto; gap: 4px 7px; align-items: center; padding: 9px 11px; border: 1px solid #bdd0ff; border-radius: 9px; color: #1d5544; background: #edf5eb; box-shadow: 0 7px 17px rgba(29,85,68,.13); font-size: 9px; }
.start-pointer[hidden] { display: none !important; }
.start-pointer span { grid-column: span 2; color: #6f80a0; }
.start-pointer strong { color: var(--blue); font-size: 11px; }
.start-pointer b { color: var(--blue); font-size: 18px; }
.control-mini { position: absolute; right: 22px; bottom: 22px; z-index: 5; display: flex; align-items: center; gap: 8px; max-width: 320px; padding: 10px 13px; border: 1px solid #c9ddc6; border-radius: 999px; color: #1d5544; background: rgba(247,250,255,.95); box-shadow: 0 8px 26px rgba(29,55,46,.16); font-size: 10px; }
.control-mini > span { width: 9px; height: 9px; border-radius: 50%; background: #31a57a; box-shadow: 0 0 0 3px rgba(49,165,122,.12); }
.control-mini strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control-mini em { color: #73819a; font-size: 8px; font-style: normal; }
.demo-safe-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 17px 0 0; color: #8794a7; font-size: 9px; }
.demo-safe-note span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #2d8a68; background: #e8f8f0; }
.demo-toast { position: fixed; right: 24px; bottom: 22px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid #cfe0c9; border-radius: 9px; color: #364968; background: rgba(255,255,255,.97); box-shadow: 0 14px 31px rgba(29,55,46,.2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .22s ease; font-size: 10px; }
.demo-toast > span { color: var(--blue); font-size: 15px; }
.demo-toast.show { opacity: 1; transform: translateY(0); }

/* Match the live extension: warm paper, forest controls and lime status */
:root {
  --ink: #17231f;
  --muted: #68736f;
  --line: rgba(111,137,119,.23);
  --blue: #1d5544;
  --blue-soft: #eef5e8;
  --green: #4f8a61;
}

body { background: #f5f5ef; }
.demo-topbar { border-bottom-color: #dce4dd; background: rgba(245,245,239,.9); }
.demo-brand-mark { background: #e8f0e6; }
.demo-brand strong { color: #17231f; }
.tab-label { border-color: #dce4dd; color: #718078; background: #fff; }
.tab-dot { background: #b9e769; box-shadow: 0 0 0 4px rgba(185,231,105,.22); }
.back-link:hover { color: var(--blue); }
.demo-eyebrow { color: var(--blue); }
.demo-eyebrow span { background: var(--blue); box-shadow: 0 0 0 5px #e2eee1; }
.demo-intro h1 em { color: var(--blue); }
.candidate-chip { border-color: #dce4dd; background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(29,55,46,.07); }
.candidate-avatar { background: linear-gradient(145deg, #e9a57e, #d98668); }
.candidate-ready { color: #39755a; background: #e8f4e7; }
.demo-guide-item { border-color: #dce4dd; }
.demo-guide-item.active { border-color: #a9c8a9; background: #edf5eb; }
.demo-guide-item.active > span { color: #dff5a4; background: var(--blue); }
.demo-guide-item.active strong { color: #1d5544; }
.demo-guide-item.active-control { border-color: #c4d8c3; background: #f3f8ef; }
.demo-guide i { background: #cbdcc9; }
.plugin-window { border-color: #d5e0d4; background: #e8f0e6; box-shadow: 0 19px 50px rgba(29,55,46,.14); }
.plugin-window-bar { border-bottom-color: #d5e0d4; background: #f9fbf7; }
.address-bar { border-color: #dce4dd; }
.connection-state { color: #39755a; background: #e8f4e7; }
.plugin-workspace { background: #edf3e9; }
.reference-drawer { border-right-color: rgba(111,137,119,.3); color: #17231f; background: rgba(249,252,247,.96); box-shadow: 6px 0 22px rgba(29,55,46,.08); }
.reference-head { border-bottom-color: rgba(111,137,119,.2); background: rgba(255,255,255,.58); }
.reference-head > div > span { color: var(--blue); }
.reference-head strong { color: #173f34; }
.reference-tools { border-bottom-color: rgba(111,137,119,.17); }
.reference-tools label { border-color: rgba(111,137,119,.28); color: #718078; }
.reference-tools button { color: #1d5544; background: rgba(29,85,68,.09); }
.reference-scroll details { border-color: rgba(111,137,119,.24); }
.reference-scroll summary i { color: #1d5544; background: rgba(29,85,68,.09); }
.reference-scroll summary strong { color: #355448; }
.reference-record p { border-top-color: rgba(111,137,119,.15); }
.reference-record p span { color: #718078; }
.reference-record p strong { color: #243b31; }
.reference-record p button { color: #1d5544; background: rgba(29,85,68,.09); }
.reference-note { color: #5f7465; background: #edf5eb; }
.job-page { background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(233,242,228,.76)); }
.company-mark { background: linear-gradient(145deg, #1d5544, #4f8a61); }
.job-page-head strong { color: #355448; }
.job-page-head strong span { background: #4f8a61; }
.job-page-head em { color: #39755a; background: #e8f4e7; }
.job-title span { color: #173f34; }
.job-progress, .form-section { border-color: #dce6da; background: rgba(255,255,255,.78); }
.job-progress > small { color: var(--blue); }
.job-progress-track, .control-progress-track { background: #e4ede0; }
.job-progress-track span, .control-progress-track span { background: var(--blue); }
.form-section-head h2 { color: #355448; }
.form-section-head > small.done { color: #39755a; background: #e8f4e7; }
.field-grid input, .field-grid textarea { border-color: #dce6da; background: #fbfdf9; }
.field-grid input:focus, .field-grid textarea:focus, .field-grid input.is-filled, .field-grid textarea.is-filled { border-color: #99bd9a; background: #f5fbf2; box-shadow: 0 0 0 3px #e7f2e5; }
.control-card { border-color: #c9ddc6; background: rgba(255,255,255,.98); box-shadow: 0 13px 36px rgba(29,55,46,.2); }
.control-icon { color: var(--blue); background: #e8f4e7; }
.control-head strong { color: #1d5544; }
.resume-picker { border-color: #d8e7d4; color: #536f5e; background: #f3f8ef; }
.resume-picker strong { color: #1d5544; }
.control-actions button { color: #1d5544; background: #edf5eb; }
.control-actions button.primary { color: #17231f; background: #b9e769; box-shadow: 0 8px 18px rgba(185,231,105,.28); }
.control-actions button.primary:hover { background: #a9dc55; }
.control-tip { background: #f3f8ef; }
.control-tip > span { color: #1d5544; background: #dff0d9; }
.demo-safe-note span { color: #39755a; }

/* The demo starts in the same compact state as the real right-side ball. */
.control-mini { display: grid; width: 56px; height: 56px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fffaf4; background: #e18a58; box-shadow: 0 14px 36px rgba(146,74,36,.25); }
.control-mini:hover { background: #c66d3e; box-shadow: 0 18px 38px rgba(146,74,36,.32); transform: translateY(-3px) scale(1.03); }
.control-mini > span { width: auto; height: auto; margin: 0; color: #fffaf4; background: transparent; box-shadow: none; font-size: 22px; line-height: 1; }
.control-mini strong, .control-mini em { display: none; }
.control-icon { border-radius: 50%; color: #63331f; background: #f3c39e; }
.start-pointer { border-color: #edc49c; color: #9a5a2f; background: #fff4e6; box-shadow: 0 7px 17px rgba(146,74,36,.13); }
.start-pointer span { color: #9a765c; }
.start-pointer strong, .start-pointer b { color: #1d5544; }
.demo-toast { border-color: #cfe0c9; color: #536f5e; box-shadow: 0 14px 31px rgba(29,55,46,.18); }
.demo-toast > span { color: #1d5544; }

@media (max-width: 900px) {
  .demo-intro { display: block; }
  .candidate-chip { width: fit-content; margin-top: 18px; }
  .plugin-workspace { grid-template-columns: 275px minmax(0,1fr); }
  .control-card { width: 320px; }
  .start-pointer { right: 345px; }
}

@media (max-width: 680px) {
  .demo-topbar { height: 60px; padding: 0 15px; }
  .tab-label { display: none; }
  .demo-main { width: calc(100% - 24px); padding-top: 29px; }
  .demo-intro h1 { font-size: 30px; }
  .demo-guide { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .demo-guide i { display: none; }
  .demo-guide-item { display: block; min-height: 68px; padding: 8px; }
  .demo-guide-item > span { display: inline-grid; width: 21px; height: 21px; margin-bottom: 5px; }
  .demo-guide-item strong { font-size: 8px; }
  .demo-guide-item small { font-size: 7px; line-height: 1.4; }
  .plugin-workspace { display: block; height: auto; overflow: visible; }
  .reference-drawer { height: 320px; border-right: 0; border-bottom: 1px solid rgba(105,132,166,.3); }
  .job-page { min-height: 930px; padding: 20px 14px 30px; overflow: hidden; }
  .job-title span { font-size: 21px; }
  .job-progress { grid-template-columns: 1fr auto; gap: 9px; }
  .job-progress-track { grid-column: span 2; grid-row: 2; }
  .field-grid { gap: 10px 8px; }
  .control-card { position: relative; right: auto; bottom: auto; width: auto; margin: -155px 13px 16px; }
  .start-pointer { position: relative; right: auto; bottom: auto; width: fit-content; margin: 10px 13px; }
  .control-mini { position: fixed; right: 12px; bottom: 12px; }
  .demo-safe-note { align-items: flex-start; text-align: center; line-height: 1.5; }
}
