:root {
  --ink: #1d1d1f;
  --ink-soft: #3a3a3c;
  --forest: #171719;
  --forest-2: #252527;
  --green: #147a52;
  --green-bright: #42c982;
  --mint: #e5f5ec;
  --mint-soft: #f1f8f4;
  --paper: #f5f5f7;
  --surface: #ffffff;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --danger: #a64a42;
  --warning: #9a6818;
  --shadow: 0 30px 80px rgba(0, 0, 0, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button, textarea, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.site-header {
  height: 56px;
  padding: 0 clamp(18px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: rgba(250, 250, 252, .86);
  backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #1d1d1f;
  color: white;
  font: 600 14px/1 Georgia, serif;
  box-shadow: none;
}
.brand-name { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 760; }
.brand-name small { color: #929297; font: 700 7px/1 Arial; letter-spacing: .14em; }
.site-header nav { margin-left: auto; display: flex; gap: 4px; }
.site-header nav a { padding: 8px 11px; border-radius: 999px; color: #6e6e73; font-size: 11px; transition: .2s ease; }
.site-header nav a:hover { color: #1d1d1f; background: rgba(0, 0, 0, .05); }
.site-header nav a.current { background: #1d1d1f; color: white; }
.site-header nav a.home-return { color: #424245; }
.site-header nav a.home-return span { margin-right: 3px; }
.local-badge {
  padding: 9px 12px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .7);
}
.ai-engine-button {
  padding: 8px 11px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 9px;
  background: rgba(255,255,255,.76);
  text-align: left;
  cursor: pointer;
}
.ai-engine-button > i { width: 8px; height: 8px; margin: 3px 1px 0 0; grid-row: 1 / 3; align-self: center; border-radius: 50%; background: #a8b1ac; box-shadow: 0 0 0 5px rgba(126,139,132,.08); }
.ai-engine-button.connected > i { background: #6e77ee; box-shadow: 0 0 0 5px rgba(110,119,238,.1); }
.ai-engine-button span { color: var(--ink-soft); font-size: 10px; font-weight: 760; }
.ai-engine-button small { margin-top: 2px; color: #8b9590; font-size: 8px; }
.local-badge i { width: 7px; height: 7px; margin-top: 3px; grid-row: 1 / 3; align-self: center; border-radius: 50%; background: #35bb76; box-shadow: 0 0 0 5px rgba(53, 187, 118, .1); }
.local-badge span { color: var(--green); font-size: 11px; font-weight: 750; }
.local-badge small { margin-top: 2px; color: #8b9590; font-size: 9px; }

.workbench-masthead {
  min-height: 520px;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 7vw, 108px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(154, 132, 255, .18), transparent 25rem),
    radial-gradient(circle at 15% 90%, rgba(77, 198, 137, .14), transparent 28rem),
    #fbfbfd;
}
.workbench-masthead::before {
  content: "";
  width: 720px;
  height: 720px;
  position: absolute;
  right: -300px;
  bottom: -410px;
  z-index: -1;
  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.22), 0 0 0 180px rgba(255,255,255,.18);
}
.masthead-copy { max-width: 670px; }
.masthead-back {
  margin-bottom: 45px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 650;
}
.masthead-back:hover { color: #1d1d1f; }
.masthead-back span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
}
.masthead-copy > p {
  margin: 0 0 14px;
  color: #7c66df;
  font: 760 10px/1 Arial, sans-serif;
  letter-spacing: .18em;
}
.masthead-copy h1 {
  margin: 0;
  font-size: clamp(54px, 6.4vw, 94px);
  line-height: .98;
  letter-spacing: -.07em;
}
.masthead-lead { margin-top: 28px; display: grid; gap: 9px; }
.masthead-lead strong { color: #303033; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.025em; }
.masthead-lead span { color: #86868b; font-size: 14px; line-height: 1.7; }
.masthead-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; }
.masthead-trust span { display: flex; align-items: center; gap: 7px; color: #6e6e73; font-size: 11px; }
.masthead-trust i { width: 6px; height: 6px; border-radius: 50%; background: #27ad6b; box-shadow: 0 0 0 4px rgba(39,173,107,.09); }

.masthead-window {
  min-height: 350px;
  padding: 0 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 27px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 32px 90px rgba(34, 31, 52, .13), inset 0 1px rgba(255,255,255,.85);
  backdrop-filter: blur(22px);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}
.window-bar {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.window-bar > div { display: flex; gap: 6px; }
.window-bar > div i { width: 8px; height: 8px; border-radius: 50%; background: #ff6059; }
.window-bar > div i:nth-child(2) { background: #ffbd2e; }
.window-bar > div i:nth-child(3) { background: #28c840; }
.window-bar > span { color: #77777c; font-size: 10px; font-weight: 700; }
.window-bar > b { justify-self: end; display: flex; align-items: center; gap: 7px; color: #3e8765; font-size: 9px; }
.window-bar > b i { width: 6px; height: 6px; border-radius: 50%; background: #32bd77; }
.window-body {
  min-height: 233px;
  padding: 30px 6px 24px;
  display: grid;
  grid-template-columns: 1fr 95px 1fr;
  align-items: center;
}
.window-file, .window-result {
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  background: #f8f8fa;
}
.window-file small, .window-result small { color: #9a9aa0; font: 700 8px Arial; letter-spacing: .1em; }
.window-file > div {
  width: 92px;
  height: 63px;
  margin: 18px 0 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid #cbded3;
  border-radius: 11px;
  background: white;
  box-shadow: 0 9px 22px rgba(21,89,58,.07);
}
.window-file > div b { padding: 6px; border-radius: 6px; background: #188956; color: white; font-size: 7px; }
.window-file > div span { display: grid; gap: 5px; }
.window-file > div i { height: 3px; border-radius: 2px; background: #d9dedb; }
.window-file strong, .window-result strong { margin-top: auto; font-size: 11px; }
.window-file em, .window-result em { margin-top: 5px; color: #96969b; font-size: 8px; font-style: normal; }
.window-flow { height: 1px; position: relative; background: linear-gradient(90deg,#bed8cb,#a992eb,#bed8cb); }
.window-flow > i { width: 5px; height: 5px; position: absolute; top: -2px; border-radius: 50%; background: #7e68dc; }
.window-flow > i:first-child { left: 0; }.window-flow > i:last-child { right: 0; }
.window-flow span {
  width: 38px;
  height: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  border: 6px solid white;
  border-radius: 50%;
  background: #171719;
  color: white;
  font: 750 9px Arial;
  box-shadow: 0 7px 20px rgba(0,0,0,.16);
}
.result-lines { height: 82px; margin: 18px 0 14px; padding: 14px; display: grid; gap: 8px; border-radius: 11px; background: white; }
.result-lines i { border-radius: 4px; background: linear-gradient(90deg,#a38bed 0 34%,#e8e5f4 34%); }
.result-lines i:nth-child(2) { background: linear-gradient(90deg,#4dbd83 0 65%,#e2eee8 65%); }
.result-lines i:nth-child(3) { background: linear-gradient(90deg,#262629 0 48%,#e7e7e9 48%); }
.window-result strong { display: flex; align-items: center; gap: 7px; }
.window-result strong b { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e1f3e9; color: #188956; font-size: 9px; }
.window-proof {
  min-height: 44px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  border-top: 1px solid rgba(0,0,0,.07);
  color: #85858a;
  font-size: 9px;
}
.window-proof span { padding-top: 16px; }
.window-proof b { margin-right: 4px; color: #252527; font-size: 12px; }
.window-proof .passed { justify-self: end; display: flex; align-items: center; gap: 6px; color: #34835f; }
.window-proof .passed i { width: 6px; height: 6px; border-radius: 50%; background: #32b875; }

.hero {
  min-height: 560px;
  padding: clamp(44px, 5.5vw, 78px) clamp(24px, 7vw, 104px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
  color: white;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 25%, rgba(68, 181, 123, .2), transparent 27rem),
    linear-gradient(135deg, #081812 0%, #0d2a20 58%, #153d2e 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}
.hero::after {
  content: "";
  width: 52%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.025));
}
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero-orb-a { width: 410px; height: 410px; right: -180px; top: -140px; border: 1px solid rgba(120, 225, 170, .18); box-shadow: inset 0 0 100px rgba(63, 183, 120, .09); }
.hero-orb-b { width: 180px; height: 180px; left: 48%; bottom: -100px; border: 1px solid rgba(255,255,255,.07); }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 28px; }
.eyebrow span, .section-index { color: #63d59a; font: 750 10px/1 Arial; letter-spacing: .18em; }
.hero h1 {
  margin: 0;
  font: 500 clamp(54px, 6.3vw, 94px)/.98 Georgia, "Songti SC", serif;
  letter-spacing: -.065em;
}
.hero h1 em { color: #73daa3; font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #adc3b9; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.8; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 22px; }
.hero-primary {
  min-width: 190px;
  min-height: 52px;
  padding: 0 17px 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: #65d99d;
  color: #092319;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(59, 203, 128, .19);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(59, 203, 128, .26); }
.hero-primary span { font-size: 21px; font-weight: 400; }
.hero-hint { color: #79958a; font-size: 11px; }

.hero-system {
  min-height: 410px;
  padding: 22px;
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  box-shadow: 0 34px 80px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.hero-system::before {
  content: "";
  position: absolute;
  inset: 10px -11px -11px 10px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
}
.system-top, .system-foot { display: flex; align-items: center; justify-content: space-between; }
.system-top > div { display: flex; flex-direction: column; gap: 5px; }
.system-top span { color: #709287; font: 700 9px/1 Arial; letter-spacing: .15em; }
.system-top strong { color: #e7efeb; font-size: 14px; }
.system-top > b { padding: 7px 9px; display: flex; align-items: center; gap: 7px; border-radius: 999px; background: rgba(81, 211, 142, .1); color: #83e3af; font: 750 9px/1 Arial; }
.system-top > b i { width: 6px; height: 6px; border-radius: 50%; background: #59dc99; box-shadow: 0 0 0 5px rgba(89,220,153,.09); }
.system-canvas {
  min-height: 292px;
  padding: 30px 6px 18px;
  display: grid;
  grid-template-columns: 1fr 46px .7fr 46px 1fr;
  align-items: center;
}
.source-card, .output-card, .engine-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(4,20,14,.28);
  box-shadow: 0 12px 35px rgba(0,0,0,.14);
}
.source-card, .output-card { min-height: 194px; padding: 14px; border-radius: 15px; }
.card-label { display: flex; align-items: center; gap: 8px; color: #b6c9c0; font-size: 10px; }
.card-label span { color: #57c98e; font: 700 8px Arial; }
.sheet-mini { margin: 18px 0 11px; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 4px; }
.sheet-mini > * { height: 13px; border-radius: 3px; background: rgba(255,255,255,.08); }
.sheet-mini b { background: rgba(90, 210, 146, .35); }
.sheet-mini i:nth-of-type(5), .sheet-mini i:nth-of-type(10) { background: rgba(90,210,146,.2); }
.source-card small, .output-card small, .engine-card small { color: #718e82; font-size: 9px; }
.engine-card { padding: 17px 9px; display: flex; flex-direction: column; align-items: center; border-radius: 17px; text-align: center; }
.engine-ring {
  width: 65px;
  height: 65px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(91, 220, 153, .42);
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(75, 204, 136, .12), 0 0 30px rgba(55, 181, 114, .08);
}
.engine-ring::before, .engine-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(105,217,158,.14); }
.engine-ring::before { inset: 8px; }.engine-ring::after { inset: -8px; }
.engine-ring span { color: #77dda7; font: 500 26px/1 Georgia, serif; }
.engine-card strong { margin: 5px 0; color: #dbe7e1; font-size: 11px; }
.flow-line { height: 1px; position: relative; overflow: hidden; background: rgba(101,218,157,.18); }
.flow-line::before, .flow-line::after { content: ""; width: 4px; height: 4px; position: absolute; top: -1.5px; border-radius: 50%; background: #69da9f; }
.flow-line::before { left: 0; }.flow-line::after { right: 0; }
.flow-line i { width: 18px; height: 1px; position: absolute; left: -18px; background: linear-gradient(90deg, transparent, #74e3aa); animation: flow 2.2s ease-in-out infinite; }
.flow-two i { animation-delay: 1.1s; }
@keyframes flow { 0% { transform: translateX(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(65px); opacity: 0; } }
.output-bars { height: 77px; margin: 21px 0 12px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.09); }
.output-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(#6bdc9f, #267251); }
.output-bars i:nth-child(1) { height: 36%; }.output-bars i:nth-child(2) { height: 54%; }.output-bars i:nth-child(3) { height: 44%; }.output-bars i:nth-child(4) { height: 74%; }.output-bars i:nth-child(5) { height: 88%; }
.output-pass { display: flex; align-items: center; gap: 8px; }
.output-pass > b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #66d89b; color: #0e281f; font-size: 10px; }
.output-pass > span { color: #cbdad3; font-size: 9px; }
.output-pass small { display: block; margin-top: 2px; }
.system-foot { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); color: #6e8b80; font-size: 9px; }
.system-foot span { display: flex; align-items: center; gap: 7px; }
.system-foot i { width: 6px; height: 6px; border-radius: 50%; background: #58d793; }

.workbench-wrap {
  padding: clamp(78px, 9vw, 128px) clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 7% 20%, rgba(121,102,223,.07), transparent 25rem),
    var(--paper);
}
.section-intro { max-width: 1380px; margin: 0 auto 34px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; }
.section-intro .section-index { display: block; margin-bottom: 17px; color: var(--green); }
.section-intro h2 { max-width: 800px; margin: 0; font-size: clamp(40px, 4.4vw, 66px); font-weight: 700; line-height: 1.04; letter-spacing: -.06em; }
.section-intro > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.workflow-progress {
  max-width: 1380px;
  margin: 0 auto 14px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 251, .72);
}
.workflow-progress > i { height: 1px; background: #dbe3dd; }
.progress-step { display: flex; align-items: center; gap: 10px; color: #8a948f; }
.progress-step > b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e8ece8;
  color: #7c8881;
  font: 750 10px Arial;
}
.progress-step > span { display: flex; flex-direction: column; gap: 2px; }
.progress-step strong { font-size: 10px; }
.progress-step small { font-size: 8px; }
.progress-step.active, .progress-step.done { color: var(--green); }
.progress-step.active > b { background: var(--forest); color: #83deb0; box-shadow: 0 7px 18px rgba(12,38,29,.14); }
.progress-step.done > b { background: var(--mint); color: var(--green); }
.ai-status-bar {
  max-width: 1380px;
  min-height: 54px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  border: 1px solid #dce2de;
  border-radius: 12px;
  background: rgba(247,248,246,.82);
}
.ai-status-bar > span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ai-status-bar > span i { width: 7px; height: 7px; border-radius: 50%; background: #34b876; }
.ai-status-bar > span b { font-size: 10px; }
.ai-status-bar p { margin: 0; color: #7f8983; font-size: 9px; line-height: 1.45; }
.ai-status-bar button { border: 0; background: transparent; color: var(--green); font-size: 9px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.ai-status-bar.connected { border-color: rgba(98,104,221,.2); background: linear-gradient(90deg,#f2f1ff,#f4f8f5); }
.ai-status-bar.connected > span i { background: #6e77ee; box-shadow: 0 0 0 4px rgba(110,119,238,.09); }
.ai-status-bar.connected button { color: #5c63d3; }
.ledger-strip {
  max-width: 1380px;
  min-height: 76px;
  margin: 0 auto 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(39, 61, 50, .11);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(239,247,242,.88));
}
.ledger-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #15231d;
  color: #86ddb0;
  font: 800 9px Arial;
}
.ledger-mark i { width: 6px; height: 6px; position: absolute; right: -2px; top: -2px; border: 2px solid white; border-radius: 50%; background: #36bb77; }
.ledger-copy { min-width: 0; display: grid; gap: 3px; }
.ledger-copy > span { color: #738078; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.ledger-copy strong { font-size: 11px; }
.ledger-copy small { overflow: hidden; color: #87918b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ledger-actions { display: flex; gap: 7px; }
.ledger-actions button,
.ledger-actions .training-center-link {
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2da;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  color: #4c6758;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.ledger-actions .training-center-link { color: #fff; border-color: #1d7655; background: #1d7655; }
.ledger-actions button:disabled { opacity: .42; cursor: not-allowed; }
.input-stage { max-width: 1380px; margin: auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: 16px; }
.drop-zone, .request-panel {
  min-height: 600px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .065);
}
.panel-kicker { display: flex; align-items: center; gap: 9px; }
.panel-kicker b { padding: 7px 9px; border-radius: 7px; background: #1d1d1f; color: white; font: 750 9px/1 Arial; letter-spacing: .06em; }
.panel-kicker span { color: #6e6e73; font-size: 12px; font-weight: 760; }
.drop-zone {
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 42%, rgba(100, 194, 148, .12), transparent 15rem),
    rgba(255, 255, 255, .9);
  transition: transform .2s ease, background .2s ease, border .2s ease;
}
.drop-zone::before { content: ""; position: absolute; inset: 14px; border: 1px dashed #c7ccc9; border-radius: 20px; pointer-events: none; }
.drop-zone::after { content: ""; width: 290px; height: 290px; position: absolute; left: 50%; top: 39%; transform: translate(-50%,-50%); border: 1px solid rgba(29,126,84,.07); border-radius: 50%; pointer-events: none; }
.drop-zone.dragging { transform: translateY(-3px); border-color: #54ae80; background-color: #e8f6ed; }
.drop-zone.dragging::before { border-color: #35a16f; }
.drop-zone > .panel-kicker { position: absolute; left: 31px; top: 31px; z-index: 2; }
.drop-visual { width: 130px; height: 144px; margin: 25px 0 17px; position: relative; z-index: 1; }
.file-sheet {
  width: 92px;
  height: 116px;
  padding: 46px 15px 12px;
  position: absolute;
  left: 12px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid #cbd9d0;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #ecf5ef);
  box-shadow: 0 20px 40px rgba(14, 65, 43, .15);
  transform: rotate(-4deg);
}
.file-sheet span { padding: 7px 8px; position: absolute; left: 10px; top: 10px; border-radius: 6px; background: var(--green); color: white; font: 750 8px/1 Arial; }
.file-sheet i { height: 6px; border-radius: 5px; background: linear-gradient(90deg, #a9c3b4 65%, #d5e1da 65%); }
.drop-arrow { width: 40px; height: 40px; position: absolute; right: 1px; bottom: 4px; z-index: 2; display: grid; place-items: center; border: 5px solid #f9faf6; border-radius: 50%; background: var(--forest); color: #83ddb0; font-size: 18px; box-shadow: 0 10px 22px rgba(13,48,35,.2); }
.drop-zone h3, .request-head h3 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.drop-zone > p { max-width: 390px; margin: 12px 0 18px; position: relative; z-index: 1; color: var(--muted); font-size: 13px; line-height: 1.7; }
.drop-actions { position: relative; z-index: 3; display: flex; gap: 9px; }
.secondary-button, .clear-button { min-height: 42px; padding: 0 16px; border-radius: 10px; cursor: pointer; }
.secondary-button { border: 0; background: #1d1d1f; color: white; font-size: 12px; font-weight: 750; box-shadow: 0 9px 22px rgba(0,0,0,.14); }
.clear-button { border: 1px solid var(--line); background: white; color: var(--danger); font-size: 12px; }
.file-feedback { margin-top: 13px; position: relative; z-index: 2; color: #8b9690; font-size: 10px; }
.file-feedback.warning { color: var(--warning); }
.file-list { width: min(100%, 410px); max-height: 115px; margin-top: 13px; position: relative; z-index: 3; display: grid; gap: 6px; overflow: auto; text-align: left; }
.empty-files { padding: 11px; border-radius: 8px; background: rgba(235, 241, 236, .78); color: #8d9892; text-align: center; font-size: 10px; }
.file-item { min-height: 43px; padding: 7px 9px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; border: 1px solid #e0e7e1; border-radius: 9px; background: white; font-size: 10px; }
.file-item > i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--mint); color: var(--green); font: 750 8px/1 Arial; }
.file-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item small { color: var(--muted); }
.file-item button { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: 16px; }
.drop-zone.has-files { justify-content: flex-start; padding-top: 88px; }
.drop-zone.has-files .drop-visual { width: 82px; height: 76px; margin: 0 0 9px; }
.drop-zone.has-files .file-sheet { width: 57px; height: 70px; padding: 33px 9px 6px; border-radius: 8px; }
.drop-zone.has-files .file-sheet span { left: 6px; top: 6px; padding: 5px; font-size: 6px; }
.drop-zone.has-files .file-sheet i { height: 3px; }
.drop-zone.has-files .drop-arrow { width: 28px; height: 28px; right: 0; bottom: 1px; border-width: 4px; font-size: 12px; }
.drop-zone.has-files > p { margin: 7px 0 10px; }
.preflight-panel {
  width: min(100%, 410px);
  margin-top: 12px;
  padding: 12px;
  position: relative;
  z-index: 3;
  border: 1px solid #d8e4dc;
  border-radius: 11px;
  background: rgba(246,250,246,.92);
  text-align: left;
}
.preflight-head { display: flex; align-items: center; justify-content: space-between; }
.preflight-head > span { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; }
.preflight-head i { width: 7px; height: 7px; border: 2px solid #a7ccb7; border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
.preflight-panel.ready .preflight-head i { border: 0; background: #35b774; animation: none; box-shadow: 0 0 0 4px rgba(53,183,116,.08); }
.preflight-panel.warning .preflight-head i { border: 0; background: #d49936; animation: none; }
.preflight-head small { color: #8b9790; font-size: 8px; }
.preflight-stats { margin-top: 10px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #e0e8e2; border-left: 1px solid #e0e8e2; }
.preflight-stats span { min-height: 48px; padding: 7px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #e0e8e2; border-bottom: 1px solid #e0e8e2; }
.preflight-stats strong { color: var(--ink); font-size: 14px; }
.preflight-stats small { margin-top: 3px; color: #89958e; font-size: 8px; }
.preflight-panel > p { margin: 9px 0 0; color: #6f7e75; font-size: 9px; line-height: 1.55; }

.request-panel { padding: 32px; display: flex; flex-direction: column; }
.request-panel.attention { animation: panelAttention .85s ease; }
@keyframes panelAttention {
  0%, 100% { border-color: var(--line); box-shadow: 0 18px 55px rgba(15,48,36,.06); }
  45% { border-color: rgba(20,122,82,.48); box-shadow: 0 18px 55px rgba(20,122,82,.14), 0 0 0 5px rgba(20,122,82,.06); }
}
.request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.request-head .panel-kicker { margin-bottom: 14px; }
.task-indicator { padding: 8px 10px; border-radius: 999px; background: #eef0ed; color: var(--muted); font-size: 10px; white-space: nowrap; }
.task-indicator.ready { color: var(--green); background: var(--mint); }
.request-panel textarea {
  width: 100%;
  min-height: 125px;
  margin: 20px 0 17px;
  padding: 16px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #f5f5f7;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}
.request-panel textarea:focus { border-color: #5fa783; background: white; box-shadow: 0 0 0 4px rgba(40, 133, 91, .08); }
.task-guidance { margin: -7px 0 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.task-guidance > span { min-width: 0; padding: 8px 9px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px; border-radius: 8px; background: #f3f3f5; }
.task-guidance i { padding: 4px 5px; border-radius: 5px; background: #dceae1; color: var(--green); font: 750 7px Arial; font-style: normal; }
.task-guidance b { overflow: hidden; color: #68766e; font-size: 8px; line-height: 1.45; }
.task-guidance.warning > span:first-child { background: #f8eee0; }
.task-guidance.warning > span:first-child i { background: #f0d8b5; color: #8d5d19; }
.task-caption { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; }
.task-caption span { color: #5e6e66; font-size: 11px; font-weight: 800; }
.task-caption small { color: #9aa39e; font-size: 9px; }
.quick-tasks { display: grid; gap: 9px; }
.autopilot-task {
  min-height: 76px !important;
  position: relative;
  border-color: rgba(109,91,207,.24) !important;
  background:
    radial-gradient(circle at 90% 20%, rgba(131,109,231,.14), transparent 9rem),
    linear-gradient(135deg,#f4f1ff,#fbfbfd) !important;
}
.autopilot-task.active { color: #fff !important; background: linear-gradient(135deg,#24202f,#5b4eb6) !important; box-shadow: 0 14px 32px rgba(76,58,167,.22) !important; }
.autopilot-task > span { padding-right: 44px; }
.autopilot-task > em { padding: 5px 7px; position: absolute; right: 9px; top: 9px; border-radius: 999px; background: #d8eee1; color: var(--green); font: 750 7px Arial; font-style: normal; }
.autopilot-task.active > em { background: rgba(105,220,161,.14); color: #7fe1ad; }
.autopilot-icon { width: 38px; height: 38px; flex: 0 0 38px; position: relative; display: grid; place-items: center; border: 1px solid #8ac2a3; border-radius: 50%; }
.autopilot-icon::before, .autopilot-icon::after { content:""; position:absolute; border:1px solid rgba(35,144,93,.26); border-radius:50%; }
.autopilot-icon::before { inset: 6px; }.autopilot-icon::after { inset: 12px; background: #219362; }
.autopilot-icon b { width: 4px; height: 4px; position: absolute; z-index: 2; border-radius: 50%; background: #4ec98b; }
.autopilot-icon b:nth-child(1){left:2px;top:10px}.autopilot-icon b:nth-child(2){right:2px;top:18px}.autopilot-icon b:nth-child(3){left:17px;bottom:-2px}
.autopilot-task.active .autopilot-icon { border-color: rgba(119,226,171,.5); }
.task-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-tasks button {
  min-height: 68px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfbfd;
  color: #626267;
  text-align: left;
  cursor: pointer;
  transition: transform .17s ease, border .17s ease, background .17s ease;
}
.task-featured button { position: relative; }
.task-featured button > em {
  padding: 4px 6px;
  position: absolute;
  right: 7px;
  top: 7px;
  border-radius: 999px;
  background: #e6f3ea;
  color: var(--green);
  font: 750 7px Arial;
  font-style: normal;
}
.task-featured button.active > em { background: rgba(255,255,255,.72); }
.quick-tasks button:hover { transform: translateY(-2px); border-color: #8cb9a1; background: #f0f7f2; }
.quick-tasks button.active { border-color: #57a77f; background: var(--mint-soft); color: var(--green); box-shadow: inset 0 0 0 1px rgba(20,122,82,.06); }
.quick-tasks button > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.quick-tasks strong { font-size: 11px; }
.quick-tasks small { color: #929d97; font-size: 9px; line-height: 1.35; }
.quick-tasks button.active small { color: #698778; }
.task-icon { width: 34px; height: 34px; flex: 0 0 34px; position: relative; display: grid; place-items: center; border-radius: 9px; background: #eaf1ec; color: var(--green); font-style: normal; font: 800 10px/1 Arial; }
.quick-tasks button.active .task-icon { background: var(--green); color: white; }
.portfolio { background: #e8ebfb; color: #565ec2; }
.portfolio b { font: 800 10px/1 Arial; }
.quick-tasks button.active .portfolio { background: #565ec2; color: white; }
.close { background: #e4f3e9; color: #147a52; }
.close b { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }
.tidy { gap: 3px; align-content: center; }.tidy b { width: 17px; height: 3px; border-radius: 2px; background: currentColor; }.tidy b:nth-child(2) { width: 12px; }
.margin { display: flex; align-items: end; justify-content: center; gap: 2px; padding-bottom: 8px; }.margin b { width: 4px; border-radius: 2px; background: currentColor; }.margin b:nth-child(1){height:8px}.margin b:nth-child(2){height:14px}.margin b:nth-child(3){height:20px}
.merge b, .duplicate b { width: 14px; height: 10px; position: absolute; border: 2px solid currentColor; border-radius: 3px; }.merge b:first-child, .duplicate b:first-child { transform: translate(-4px,-4px); opacity: .55; }.merge b:last-child, .duplicate b:last-child { transform: translate(4px,4px); }
.catalog { gap: 3px; align-content: center; }.catalog b { width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
.more-tools { border: 1px solid var(--line); border-radius: 11px; background: #fafbf8; }
.more-tools summary {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #627168;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}
.more-tools summary::-webkit-details-marker { display: none; }
.more-tools summary small { color: #98a19c; font-size: 8px; font-weight: 500; }
.more-tools summary span { margin-left: auto; color: var(--green); font-size: 16px; transition: transform .18s ease; }
.more-tools[open] summary span { transform: rotate(45deg); }
.task-utilities { padding: 0 8px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.task-utilities button { min-height: 58px; padding: 7px; }
.task-utilities .task-icon { width: 29px; height: 29px; flex-basis: 29px; }
.run-preview {
  margin-top: 11px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: #f2f5f1;
}
.run-preview > span { min-width: 0; display: flex; align-items: center; gap: 7px; color: #5f6f66; }
.run-preview > span i { width: 20px; height: 20px; flex: 0 0 20px; display: grid; place-items: center; border-radius: 6px; background: #dfe8e1; color: #638070; font: 750 8px Arial; font-style: normal; }
.run-preview > span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.run-preview > em { color: #a7b0ab; font-size: 11px; font-style: normal; }
.run-preview.ready { background: #eaf5ee; }
.run-preview.ready > span i { background: var(--green); color: white; }
.request-footer { margin-top: auto; padding-top: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.safe-note { display: flex; flex-direction: column; gap: 5px; }
.safe-note > span { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 750; }
.safe-note > span i { width: 7px; height: 7px; border-radius: 50%; background: #36bb77; box-shadow: 0 0 0 4px rgba(54,187,119,.09); }
.safe-note small { color: var(--muted); font-size: 9px; }
.primary-button, .download-button, .commit-button {
  min-width: 184px;
  min-height: 49px;
  padding: 0 16px 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #116c49, #1d8c61);
  color: white;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 11px 26px rgba(20,122,82,.2);
}
.primary-button span, .download-button span, .commit-button span { color: #a9e8c5; font-size: 18px; }
.primary-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.keyboard-tip { max-width: 1380px; margin: 14px auto 0; color: #8c9691; font-size: 10px; text-align: right; }
kbd { padding: 4px 6px; border: 1px solid #d9e0da; border-radius: 5px; background: #f9faf7; color: #68756e; font: 9px ui-monospace, monospace; box-shadow: 0 1px 0 white inset; }
.history-panel { max-width: 1380px; margin: 12px auto 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,254,251,.64); }
.history-panel > summary { min-height: 45px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.history-panel > summary::-webkit-details-marker { display: none; }
.history-panel > summary span { color: #536159; font-size: 10px; font-weight: 770; }
.history-panel > summary small { margin-left: 7px; color: #969f99; font-size: 8px; font-weight: 500; }
.history-panel > summary b { color: var(--green); font-size: 9px; }
.history-list { padding: 0 10px 9px; display: grid; gap: 6px; }
.history-empty { padding: 12px; border-radius: 8px; background: #f1f3f0; color: #8a948e; font-size: 9px; text-align: center; }
.history-item { min-height: 55px; padding: 9px 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px solid #e2e6e2; border-radius: 9px; background: #fff; }
.history-item > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #e8f3ec; color: var(--green); font: 750 8px Arial; font-style: normal; }
.history-item > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.history-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.history-item small { color: #8a958f; font-size: 8px; }
.history-item button { padding: 7px 9px; border: 1px solid #dfe5e0; border-radius: 7px; background: #f7f9f6; color: #50705f; font-size: 8px; font-weight: 750; cursor: pointer; }
.clear-history { margin: 0 10px 10px; border: 0; background: transparent; color: #a06057; font-size: 8px; cursor: pointer; }

.processing-panel, .result-panel { max-width: 1380px; margin: 18px auto 0; padding: 28px; border-radius: 17px; }
.processing-panel { display: flex; align-items: center; gap: 24px; background: linear-gradient(135deg, #0c2119, #164432); color: white; box-shadow: var(--shadow); }
.processing-panel > div > span, .result-head > div > span { display: block; margin-bottom: 8px; color: #69d79d; font: 750 9px/1 Arial; letter-spacing: .16em; }
.processing-panel h2, .result-head h2 { margin: 0; font-size: 23px; }
.processing-panel p { margin: 7px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }
.processing-visual { width: 58px; height: 58px; flex: 0 0 58px; position: relative; border: 1px solid rgba(120,214,166,.28); border-radius: 50%; animation: spin 2s linear infinite; }
.processing-visual i { width: 7px; height: 7px; position: absolute; border-radius: 50%; background: #73d7a5; }
.processing-visual i:nth-child(1) { left: 25px; top: -3px; }.processing-visual i:nth-child(2) { right: 0; bottom: 8px; }.processing-visual i:nth-child(3) { left: 4px; bottom: 9px; opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-panel { border: 1px solid #bbd9c4; background: #e6f3e9; box-shadow: 0 15px 42px rgba(17,69,46,.08); }
.result-panel.error { border-color: #e2bdb6; background: #f8e8e5; }
.result-panel.error .download-button { display: none; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.result-head p { max-width: 820px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.download-button { background: var(--forest); box-shadow: none; }
.commit-button { min-width: 206px; background: linear-gradient(135deg,#0f7650,#24a06f); box-shadow: none; }
.commit-button.review { background: linear-gradient(135deg,#91621e,#b98532); }
.commit-button:disabled { opacity: .5; cursor: not-allowed; }
.result-actions { display: flex; align-items: center; gap: 9px; }
.text-button { min-height: 42px; padding: 0 13px; border: 1px solid rgba(16,36,29,.14); border-radius: 9px; background: rgba(255,255,255,.52); color: var(--ink-soft); font-size: 10px; font-weight: 750; cursor: pointer; }
.result-metrics { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.result-metrics article { padding: 17px; border-left: 3px solid var(--green); border-radius: 9px; background: rgba(255,255,255,.6); }
.result-metrics span { display: block; color: var(--muted); font-size: 10px; }
.result-metrics strong { display: block; margin-top: 7px; font: 750 20px/1 Arial; }
.run-quality { margin-top: 14px; padding: 15px; border: 1px solid rgba(16,36,29,.1); border-radius: 11px; background: rgba(255,255,255,.56); }
.run-quality-head { display: flex; align-items: center; justify-content: space-between; color: #56645c; font-size: 10px; font-weight: 800; }
.run-quality-head b { padding: 6px 9px; border-radius: 999px; background: var(--mint); color: var(--green); font: 800 8px Arial; }
.run-quality-head b.review { background: #fff0d8; color: #9a651b; }
.run-quality-head b.blocked { background: #f8ded9; color: #a2453b; }
.run-quality-list { margin-top: 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.run-quality-list article { min-height: 76px; padding: 11px; display: flex; flex-direction: column; gap: 5px; border: 1px solid #e1e6e1; border-radius: 9px; background: #fff; }
.run-quality-list article > span { color: #8a958f; font: 700 8px Arial; }
.run-quality-list article > strong { font-size: 10px; line-height: 1.35; }
.run-quality-list article > small { margin-top: auto; color: #7e8983; font-size: 8px; line-height: 1.35; }
.run-quality-list article > i { align-self: flex-start; padding: 4px 6px; border-radius: 999px; background: var(--mint); color: var(--green); font: 800 7px Arial; font-style: normal; }
.run-quality-list article.review > i { background: #fff0d8; color: #9a651b; }
.run-quality-list article.fail > i { background: #f8ded9; color: #a2453b; }
.result-notes { margin-top: 12px; display: grid; gap: 6px; }
.result-notes p { margin: 0; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.5); color: var(--muted); font-size: 11px; }
.expert-review { margin-top: 12px; border: 1px solid rgba(16,36,29,.11); border-radius: 11px; background: rgba(255,255,255,.58); }
.expert-review > summary { min-height: 55px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.expert-review > summary::-webkit-details-marker { display: none; }
.expert-review > summary span { display: flex; flex-direction: column; gap: 3px; }
.expert-review > summary b { font-size: 11px; }
.expert-review > summary small { color: #849089; font-size: 8px; }
.expert-review > summary i { color: var(--green); font-size: 9px; font-style: normal; font-weight: 800; }
.expert-review-body { padding: 0 14px 14px; border-top: 1px solid rgba(16,36,29,.08); }
.review-choice { padding-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-choice button { min-height: 42px; border: 1px solid #d9e1da; border-radius: 9px; background: #fff; color: #59675f; font-size: 9px; font-weight: 800; cursor: pointer; }
.review-choice button.active { border-color: var(--green); background: var(--mint); color: var(--green); box-shadow: inset 0 0 0 1px rgba(20,122,82,.08); }
.review-tags { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.review-tags label { min-height: 34px; padding: 0 9px; display: flex; align-items: center; gap: 7px; border-radius: 8px; background: #f2f5f1; color: #657169; font-size: 8px; }
.review-tags input { accent-color: var(--green); }
.review-note { margin-top: 11px; display: grid; gap: 7px; }
.review-note span { color: #59675f; font-size: 9px; font-weight: 800; }
.review-note textarea { width: 100%; min-height: 82px; padding: 11px; resize: vertical; border: 1px solid #d9e1da; border-radius: 9px; outline: none; background: #fff; color: var(--ink); font: 10px/1.6 inherit; }
.review-note textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,122,82,.07); }
.review-actions { margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.review-actions small { margin-right: auto; color: #849089; font-size: 8px; }
.review-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #d8dfd9; border-radius: 8px; background: #fff; color: #4e6257; font-size: 8px; font-weight: 800; cursor: pointer; }
.review-actions #saveReviewButton { border-color: #173f2f; background: #173f2f; color: white; }
.next-task { margin-top: 15px; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(16,36,29,.1); color: var(--muted); font-size: 10px; }
.next-task button { border: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 800; cursor: pointer; }

.process-section { padding: clamp(78px, 9vw, 130px) clamp(20px, 6vw, 92px); color: white; background: #0a2119; }
.section-intro.light h2 { color: white; }
.section-intro.light > p { color: #7e9b8e; }
.process-rail { max-width: 1380px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.process-rail article { min-height: 390px; padding: 26px 25px; position: relative; border-right: 1px solid rgba(255,255,255,.1); }
.process-rail article:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.process-rail article::before { content: ""; width: 7px; height: 7px; position: absolute; left: -4px; top: -4px; border-radius: 50%; background: #5ad595; box-shadow: 0 0 0 6px rgba(90,213,149,.08); }
.rail-number { color: #5bd497; font: 750 10px/1 Arial; letter-spacing: .12em; }
.process-rail h3 { margin: auto 0 10px; font-size: 18px; }
.process-rail p { margin: 0; color: #789287; font-size: 12px; line-height: 1.75; }
.rail-visual { height: 150px; margin: 50px auto 32px; position: relative; }
.inspect-visual { width: 150px; display: grid; place-items: center; }
.inspect-visual > div { width: 104px; height: 122px; padding: 30px 15px; display: grid; gap: 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; background: rgba(255,255,255,.04); transform: rotate(-4deg); }
.inspect-visual i { height: 7px; border-radius: 3px; background: rgba(102,216,155,.37); }
.inspect-visual b { padding: 7px; position: absolute; right: 0; bottom: 14px; border-radius: 7px; background: #63d99b; color: #0c2a1e; font: 750 9px Arial; }
.rule-visual { width: 150px; border: 1px solid rgba(90,213,149,.2); border-radius: 50%; }
.rule-visual::before, .rule-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(90,213,149,.11); }.rule-visual::before{inset:18px}.rule-visual::after{inset:37px}
.rule-visual > i { width: 8px; height: 8px; position: absolute; z-index: 2; border-radius: 50%; background: #57d293; }.rule-visual > i:nth-child(1){left:19px;top:35px}.rule-visual > i:nth-child(2){right:13px;top:72px}.rule-visual > i:nth-child(3){left:65px;bottom:7px}
.rule-visual > b { position: absolute; inset: 0; display: grid; place-items: center; color: #73dda5; font: 500 38px Georgia,serif; }
.proof-visual { width: 150px; padding: 25px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.04); transform: rotate(3deg); }
.proof-visual b { width: 42px; height: 42px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #60d798; color: #0b2c1e; }
.proof-visual span { height: 5px; margin-top: 8px; display: block; border-radius: 3px; background: rgba(255,255,255,.13); }.proof-visual span:nth-of-type(2){width:72%}.proof-visual span:nth-of-type(3){width:88%}
.export-visual { width: 150px; display: grid; place-items: center; }
.export-visual > div { width: 106px; height: 126px; position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); }
.export-visual b { color: #62d798; font: 700 38px Georgia,serif; }
.export-visual i { width: 37px; height: 37px; position: absolute; right: -18px; bottom: 16px; display: grid; place-items: center; border-radius: 50%; background: #61d798; color: #0c2a1e; font-style: normal; }

.quality-section { padding: clamp(78px, 9vw, 128px) clamp(20px, 7vw, 106px); display: grid; grid-template-columns: 1fr .85fr; gap: clamp(60px, 10vw, 150px); align-items: center; background: radial-gradient(circle at 80% 40%, rgba(82,180,127,.2), transparent 24rem), #efeee8; }
.quality-copy .section-index { display: block; margin-bottom: 20px; color: var(--green); }
.quality-copy h2 { max-width: 720px; margin: 0; font: 500 clamp(44px, 5vw, 74px)/1.02 Georgia, "Songti SC", serif; letter-spacing: -.06em; }
.quality-copy p { max-width: 580px; margin: 27px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.quality-board { padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.board-head { padding: 0 4px 17px; display: flex; align-items: center; justify-content: space-between; color: #7b8881; font: 750 9px Arial; letter-spacing: .15em; }
.board-head b { padding: 7px 9px; display: flex; align-items: center; gap: 7px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 9px; letter-spacing: .08em; }
.board-head b i { width: 6px; height: 6px; border-radius: 50%; background: #30b470; }
.quality-board article { min-height: 67px; padding: 0 13px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.quality-board article > span { color: #82908a; font: 700 10px Arial; }
.quality-board article > strong { font-size: 13px; }
.quality-board article > i { padding: 6px 8px; border-radius: 999px; background: var(--mint); color: var(--green); font: 750 8px Arial; font-style: normal; }

footer { min-height: 140px; padding: 34px clamp(22px, 6vw, 92px); display: flex; align-items: center; gap: 35px; background: #071912; color: white; }
.footer-brand .brand-mark { background: #174b37; }
.footer-brand .brand-name small { color: #5d7d6f; }
footer p { margin: 0 auto; color: #718a7f; font-size: 11px; }
footer > span { color: #567165; font-size: 10px; }

.ai-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.ai-modal-backdrop { position: absolute; inset: 0; background: rgba(4,13,9,.66); backdrop-filter: blur(10px); }
.ai-modal-card {
  width: min(100%, 610px);
  max-height: min(90vh, 820px);
  padding: 31px;
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: #fbfcfa;
  box-shadow: 0 35px 100px rgba(0,0,0,.28);
}
.modal-close { width: 34px; height: 34px; position: absolute; right: 18px; top: 18px; border: 0; border-radius: 50%; background: #eaeeeb; color: #657169; font-size: 18px; cursor: pointer; }
.modal-kicker { color: #646cda; font: 750 9px Arial; letter-spacing: .16em; }
.ai-modal-card h2 { margin: 12px 0 0; font: 500 37px/1.05 Georgia,"Songti SC",serif; letter-spacing: -.045em; }
.ai-modal-card > p { margin: 13px 0 23px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.ai-modal-card > label { margin-top: 13px; display: grid; gap: 7px; }
.ai-modal-card > label > span { color: #526159; font-size: 10px; font-weight: 760; }
.ai-modal-card input[type="text"], .ai-modal-card input[type="password"], .ai-modal-card select, .ai-modal-card textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #d9e0da;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}
.ai-modal-card textarea { min-height: 84px; resize: vertical; line-height: 1.55; }
.ai-modal-card input:focus, .ai-modal-card select:focus, .ai-modal-card textarea:focus { border-color: #747be3; box-shadow: 0 0 0 4px rgba(105,112,224,.08); }
.ai-modal-card label small { color: #929b96; font-size: 8px; line-height: 1.45; }
.consent-row { padding: 12px; display: grid !important; grid-template-columns: auto 1fr; align-items: start; border-radius: 9px; background: #f0f2ef; }
.consent-row input { margin-top: 2px; accent-color: #626bd8; }
.consent-row span { font-weight: 500 !important; line-height: 1.55; }
.ai-modal-note { margin-top: 14px; padding: 11px; display: flex; align-items: center; gap: 9px; border-radius: 9px; background: #eef0fb; color: #626982; font-size: 9px; line-height: 1.55; }
.ai-modal-note i { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; background: #dfe2f8; color: #5961d1; font-style: normal; font-weight: 800; }
.modal-actions { margin-top: 18px; display: flex; justify-content: flex-end; gap: 9px; }
.modal-actions button { min-height: 43px; padding: 0 15px; border-radius: 9px; font-size: 10px; font-weight: 800; cursor: pointer; }
.disconnect-ai { margin-right: auto; border: 1px solid #e2c6c0; background: #fff4f1; color: #a34c42; }
.save-ai { border: 0; background: #131b18; color: #fff; }
.modal-error { margin: 10px 0 0 !important; padding: 9px 11px; border-radius: 8px; background: #f9e8e4; color: #a4483f !important; font-size: 9px !important; }
.governance-card { width: min(100%, 1040px); max-height: min(92vh, 900px); }
.governance-tabs { margin: 4px 0 16px; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 11px; background: #edf1ed; }
.governance-tabs button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: #6d7972; font-size: 10px; font-weight: 800; cursor: pointer; }
.governance-tabs button.active { background: #fff; color: #155f43; box-shadow: 0 3px 12px rgba(25,58,43,.08); }
.governance-panel { display: grid; gap: 13px; }
.governance-callout { padding: 13px 15px; display: grid; gap: 4px; border-left: 3px solid #2a9b6c; border-radius: 9px; background: #edf7f1; }
.governance-callout.warning { border-color: #b27b2d; background: #fff5e4; }
.governance-callout strong { font-size: 10px; }
.governance-callout span { color: #7b8780; font-size: 8px; line-height: 1.45; }
.template-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.template-head label, .replacement-form label { display: grid; gap: 6px; }
.template-head label > span, .replacement-form label > span { color: #55635b; font-size: 9px; font-weight: 800; }
.template-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.template-field { padding: 10px; display: grid; gap: 6px; border: 1px solid #e1e6e2; border-radius: 9px; background: #fff; }
.template-field span { color: #69756e; font-size: 8px; font-weight: 800; }
.template-field select { min-height: 36px; padding: 7px 9px; }
.governance-footer { padding-top: 12px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #e3e8e4; }
.governance-footer small { margin-right: auto; color: #818c85; font-size: 8px; line-height: 1.45; }
.governance-footer button, .mapping-toolbar button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #17231d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.saved-rules { display: grid; gap: 6px; }
.saved-rule { padding: 9px 11px; display: grid; grid-template-columns: 1fr auto; gap: 4px; border: 1px solid #e1e6e2; border-radius: 8px; background: #fff; }
.saved-rule strong { font-size: 9px; }.saved-rule span { color: #7f8983; font-size: 8px; }.saved-rule small { grid-column: 1 / 3; color: #99a19c; font-size: 7px; }
.mapping-toolbar { display: flex; align-items: center; gap: 8px; }
.mapping-toolbar button { min-height: 35px; background: #eff4f0; color: #466253; border: 1px solid #d8e2db; }
.mapping-toolbar span { margin-left: auto; color: #7c8780; font-size: 8px; }
.mapping-editor { overflow-x: auto; border: 1px solid #dee4df; border-radius: 10px; background: #fff; }
.mapping-editor-head, .mapping-row { min-width: 860px; display: grid; grid-template-columns: 1.2fr 1.2fr 1.1fr 1fr .9fr 34px; gap: 6px; align-items: center; }
.mapping-editor-head { padding: 9px; background: #18231e; color: #fff; font-size: 8px; font-weight: 800; }
.mapping-row { padding: 7px 9px; border-top: 1px solid #edf0ed; }
.mapping-row input, .mapping-row select { min-height: 34px !important; padding: 6px 8px !important; font-size: 9px !important; }
.mapping-row button { width: 30px; height: 30px; border: 0; border-radius: 7px; background: #faebe8; color: #a64a42; cursor: pointer; }
.history-governance-list { max-height: 170px; overflow: auto; display: grid; gap: 6px; }
.history-batch { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px; border: 1px solid #e0e5e1; border-radius: 9px; background: #fff; }
.history-batch strong { font-size: 9px; }.history-batch span { color: #6f7b74; font-size: 8px; }.history-batch small { grid-column: 1 / 3; color: #959d98; font-size: 7px; }
.history-batch.superseded { opacity: .55; }
.replacement-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.replacement-form .wide { grid-column: 1 / 3; }
.approval-check { padding: 10px; grid-template-columns: auto 1fr !important; align-items: center; border-radius: 8px; background: #f2f4f1; }
.approval-check input { accent-color: #147a52; }
.approval-check span { font-weight: 600 !important; }

/* 2026-07 网站可用性重构：首屏直接进入真实任务，辅助设置后置。 */
.workbench-masthead {
  min-height: 390px;
  padding: clamp(58px, 6vw, 88px) clamp(24px, 7vw, 108px);
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: clamp(48px, 8vw, 130px);
  color: #f5f3ed;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 15%, rgba(77,198,137,.16), transparent 28rem),
    linear-gradient(135deg, #090d0e, #101716 60%, #14231d);
  background-size: 60px 60px, 60px 60px, auto, auto;
}
.workbench-masthead::before {
  width: 560px;
  height: 560px;
  right: -260px;
  bottom: -340px;
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015);
}
.masthead-copy { max-width: 820px; }
.masthead-copy > p { margin-bottom: 17px; color: #6ed69f; }
.masthead-copy h1 {
  color: #f5f3ed;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .99;
  letter-spacing: -.065em;
}
.masthead-lead { max-width: 700px; margin-top: 22px; }
.masthead-lead strong { color: #d8ded9; font-size: clamp(16px, 1.35vw, 20px); }
.masthead-lead span { color: #7f8b85; font-size: 13px; }
.masthead-actions { margin-top: 27px; display: flex; align-items: center; gap: 17px; }
.masthead-actions > a {
  min-width: 190px;
  min-height: 48px;
  padding: 0 10px 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #67d99d;
  border-radius: 11px;
  background: #67d99d;
  color: #092118;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(67,203,135,.15);
}
.masthead-actions > a span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(0,0,0,.13);
}
.masthead-actions small { color: #64716b; font-size: 9px; }
.masthead-summary {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(12,18,17,.72);
  box-shadow: 0 30px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.masthead-summary article {
  min-height: 92px;
  padding: 17px 19px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.masthead-summary article:last-child { border-bottom: 0; }
.masthead-summary article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103,217,157,.25);
  border-radius: 10px;
  color: #70dba4;
  font: 800 9px Arial;
}
.masthead-summary article > div { display: grid; gap: 5px; }
.masthead-summary strong { color: #d9dfda; font-size: 12px; }
.masthead-summary small { color: #66716c; font-size: 9px; }
.masthead-summary article > i {
  color: #42504a;
  font: 700 7px Arial;
  font-style: normal;
  letter-spacing: .14em;
}
.workbench-wrap { padding-top: clamp(45px, 5vw, 72px); }
.section-intro { margin-bottom: 23px; }
.section-intro .section-index { margin-bottom: 10px; font-size: 9px; }
.section-intro h2 { font-size: clamp(35px, 3.5vw, 50px); }
.first-run-tip {
  max-width: 1380px;
  min-height: 48px;
  margin: 0 auto 14px;
  padding: 9px 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce5df;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(232,247,238,.88), rgba(255,255,255,.76));
}
.first-run-tip > span {
  padding: 6px 8px;
  border-radius: 7px;
  background: #183025;
  color: #86dfb2;
  font-size: 8px;
  font-weight: 800;
}
.first-run-tip p { margin: 0; color: #708078; font-size: 9px; line-height: 1.5; }
.first-run-tip p strong { color: #273c32; }
.first-run-tip > b { color: #1c8056; font-size: 8px; }
.input-stage { grid-template-columns: .76fr 1.24fr; }
.drop-zone, .request-panel { min-height: 570px; border-radius: 22px; }
.request-panel { padding: 28px; }
.request-panel textarea { min-height: 104px; margin-top: 16px; }
.primary-workflows button { min-height: 72px; }
.task-utilities { grid-template-columns: repeat(3, 1fr); }
.workspace-settings {
  max-width: 1380px;
  margin: 15px auto 0;
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.5);
}
.workspace-settings .ai-status-bar,
.workspace-settings .ledger-strip { width: 100%; margin: 0; box-shadow: none; }
.workspace-settings .ledger-strip { background: rgba(247,250,247,.86); }

/* 核心工作流只保留上传、需求和执行；专业设置需要时再展开。 */
.workbench-masthead {
  min-height: 250px;
  padding: 52px clamp(24px, 7vw, 108px) 56px;
  grid-template-columns: 1fr;
  gap: 0;
}
.masthead-copy { max-width: 900px; }
.masthead-copy h1 { font-size: clamp(46px, 5vw, 68px); }
.masthead-lead { margin-top: 15px; }
.masthead-actions { margin-top: 22px; }
.workbench-wrap { padding-top: clamp(38px, 4vw, 56px); }
.workspace-settings {
  display: block;
  padding: 0;
  overflow: hidden;
}
.workspace-settings > summary {
  min-height: 58px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}
.workspace-settings > summary::-webkit-details-marker { display: none; }
.workspace-settings > summary span { font-size: 11px; font-weight: 800; }
.workspace-settings > summary small { color: var(--muted); font-size: 9px; }
.workspace-settings > summary b {
  color: var(--green);
  font-size: 18px;
  font-weight: 400;
  transition: transform .2s ease;
}
.workspace-settings[open] > summary { border-bottom: 1px solid var(--line); }
.workspace-settings[open] > summary b { transform: rotate(45deg); }
.workspace-settings-body { padding: 10px; display: grid; gap: 8px; }
.compact-preview {
  min-height: 42px;
  margin-top: 14px;
  padding: 8px 12px;
}
.compact-preview span i { display: none; }

/* 简约高级文艺主题：纸张、墨色、苔绿与编辑部式排版。 */
:root {
  --ink: #20241f;
  --ink-soft: #464b45;
  --forest: #20241f;
  --forest-2: #303630;
  --green: #536b55;
  --green-bright: #78917a;
  --mint: #dfe7dc;
  --mint-soft: #eef1e9;
  --paper: #f2efe7;
  --surface: #faf8f3;
  --muted: #7b8179;
  --line: rgba(32,36,31,.14);
  --danger: #975745;
  --warning: #8b6b35;
  --shadow: 0 24px 65px rgba(47,52,44,.08);
}
body { background: var(--paper); font-family: "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.site-header {
  height: 60px;
  border-color: rgba(32,36,31,.1);
  background: rgba(242,239,231,.9);
}
.brand-mark { border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: "Songti SC", "STSong", Georgia, serif; }
.brand-name { font-weight: 700; letter-spacing: .03em; }
.brand-name small { color: #868a82; font-family: "Songti SC", "STSong", Georgia, serif; letter-spacing: .08em; }
.site-header nav a { border-radius: 0; }
.site-header nav a.current { background: var(--ink); }
.ai-engine-button, .local-badge { border-radius: 3px; background: rgba(250,248,243,.74); }
.workbench-masthead {
  color: var(--ink);
  background:
    linear-gradient(rgba(32,36,31,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,36,31,.035) 1px, transparent 1px),
    radial-gradient(circle at 83% 18%, rgba(83,107,85,.13), transparent 28rem),
    linear-gradient(135deg, #f5f1e8, #ece7dc);
  background-size: 64px 64px, 64px 64px, auto, auto;
}
.workbench-masthead::before { border-color: rgba(32,36,31,.06); box-shadow: 0 0 0 80px rgba(255,255,255,.12), 0 0 0 160px rgba(255,255,255,.08); }
.masthead-copy > p { color: var(--moss, #536b55); }
.masthead-copy h1 {
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -.055em;
}
.masthead-lead strong { color: #3f463f; font-family: "Songti SC", "STSong", Georgia, serif; font-weight: 550; }
.masthead-lead span { color: #757b73; }
.masthead-actions > a { border-color: var(--ink); border-radius: 2px; background: var(--ink); color: #f5f1e8; box-shadow: none; }
.masthead-actions > a span { border-color: rgba(255,255,255,.18); }
.masthead-actions small { color: #7d827a; }
.masthead-summary {
  border-color: rgba(32,36,31,.16);
  border-radius: 2px;
  background: rgba(250,248,243,.58);
  box-shadow: 0 25px 65px rgba(47,52,44,.09);
  backdrop-filter: blur(14px);
}
.masthead-summary article { border-color: rgba(32,36,31,.11); }
.masthead-summary article > span { border-color: rgba(83,107,85,.32); border-radius: 0; color: var(--green); }
.masthead-summary strong { color: var(--ink); font-family: "Songti SC", "STSong", Georgia, serif; font-size: 14px; font-weight: 550; }
.masthead-summary small { color: #7b8179; }
.masthead-summary article > i { color: #a0a39c; }
.workbench-wrap { background: radial-gradient(circle at 6% 18%, rgba(83,107,85,.07), transparent 28rem), var(--paper); }
.section-intro h2, .result-head h2, .processing-panel h2, .quality-copy h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-weight: 520;
}
.workflow-progress, .first-run-tip, .workspace-settings, .history-panel { border-radius: 4px; background: rgba(250,248,243,.7); }
.progress-step > b { border-radius: 2px; background: #e5e3da; }
.progress-step.active > b { background: var(--ink); color: #dce6dc; box-shadow: none; }
.first-run-tip { border-color: rgba(83,107,85,.22); background: rgba(226,232,221,.7); }
.first-run-tip > span { border-radius: 2px; background: var(--moss-deep, #2f4234); }
.drop-zone, .request-panel {
  border-color: rgba(32,36,31,.16);
  border-radius: 7px;
  background: rgba(250,248,243,.9);
  box-shadow: 0 24px 65px rgba(47,52,44,.07);
}
.drop-zone { background: radial-gradient(circle at 50% 42%, rgba(83,107,85,.09), transparent 15rem), rgba(250,248,243,.93); }
.drop-zone::before { border-color: #b8bcb3; border-radius: 3px; }
.drop-zone::after { border-color: rgba(83,107,85,.08); }
.panel-kicker b { border-radius: 2px; background: var(--ink); }
.file-sheet { border-radius: 2px; background: linear-gradient(145deg,#fffdf8,#e8eee4); box-shadow: 0 16px 35px rgba(47,52,44,.12); }
.file-sheet span, .primary-button, .download-button, .commit-button { border-radius: 2px; background: var(--ink); box-shadow: none; }
.drop-arrow { border-radius: 50%; background: var(--moss-deep, #2f4234); box-shadow: none; }
.secondary-button, .clear-button, .task-indicator, .request-panel textarea, .task-guidance > span, .quick-tasks button, .more-tools, .run-preview { border-radius: 4px; }
.secondary-button { background: var(--ink); box-shadow: none; }
.request-panel textarea { background: #f0ede5; }
.request-panel textarea:focus { border-color: var(--moss, #536b55); box-shadow: 0 0 0 3px rgba(83,107,85,.08); }
.autopilot-task {
  border-color: rgba(83,107,85,.24) !important;
  background: linear-gradient(135deg,#edf0e8,#faf8f3) !important;
}
.autopilot-task.active { background: var(--moss-deep, #2f4234) !important; box-shadow: none !important; }
.autopilot-icon { border-color: #839784; }
.autopilot-icon::after { background: var(--moss, #536b55); }
.quick-tasks button:hover { border-color: #8c9c8c; background: #edf1e9; }
.quick-tasks button.active { border-color: var(--moss, #536b55); background: #e5eadf; color: var(--moss-deep, #2f4234); }
.task-icon { border-radius: 2px; background: #e5e9e1; }
.run-preview { background: #ebece5; }
.ai-status-bar, .ledger-strip { border-radius: 3px; background: rgba(248,246,240,.86); }
.ledger-mark { border-radius: 2px; background: var(--ink); }
.ledger-actions button { border-radius: 2px; background: var(--cream, #faf8f3); }
.processing-panel, .result-panel { border-radius: 4px; }
.processing-panel { background: var(--moss-deep, #2f4234); }
.result-panel { background: var(--cream, #faf8f3); }
.run-quality, .expert-review, .quality-board, .ai-modal-card, .governance-callout, .template-field, .saved-rule, .mapping-editor, .history-batch { border-radius: 4px; }
.process-section { background: #263229; }
.quality-section { background: radial-gradient(circle at 80% 40%, rgba(83,107,85,.12), transparent 24rem), #e9e3d7; }
footer { background: #202820; }

@media (max-width: 1120px) {
  .workbench-masthead { grid-template-columns: 1fr; }
  .masthead-copy { max-width: 850px; }
  .masthead-summary { width: min(100%, 760px); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 900px; }
  .hero-system { max-width: 720px; width: 100%; }
  .input-stage { grid-template-columns: 1fr; }
  .drop-zone { min-height: 520px; }
  .process-rail { grid-template-columns: 1fr 1fr; border-top: 0; }
  .process-rail article { border-top: 1px solid rgba(255,255,255,.12); }
  .quality-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 58px; padding: 0 14px; }
  .site-header nav a.current, .local-badge small { display: none; }
  .site-header nav { margin-left: auto; }
  .site-header nav a.home-return { padding: 7px 9px; background: #f0f0f2; }
  .ai-engine-button { margin-left: auto; }
  .ai-engine-button small { display: none; }
  .local-badge { display: none; }
  .local-badge { margin-left: auto; grid-template-columns: auto auto; }
  .brand-name { font-size: 12px; }
  .workbench-masthead { min-height: 0; padding: 50px 18px 54px; gap: 34px; }
  .masthead-copy h1 { font-size: clamp(49px, 14.5vw, 68px); }
  .masthead-lead strong { font-size: 17px; line-height: 1.4; }
  .masthead-actions { align-items: flex-start; flex-direction: column; }
  .masthead-summary article { min-height: 80px; }
  .hero { min-height: 0; padding: 64px 18px 54px; grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { font-size: clamp(45px, 13.4vw, 62px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-system { min-height: 0; padding: 17px; border-radius: 18px; }
  .system-canvas { min-height: 250px; padding-top: 20px; grid-template-columns: 1fr 28px .78fr 28px 1fr; }
  .source-card, .output-card { min-height: 165px; padding: 10px; }
  .engine-ring { width: 48px; height: 48px; }
  .engine-ring span { font-size: 20px; }
  .card-label { font-size: 8px; }
  .sheet-mini { margin-top: 16px; gap: 3px; }
  .sheet-mini > * { height: 10px; }
  .output-bars { height: 57px; }
  .system-foot span:last-child { display: none; }
  .workbench-wrap { padding: 67px 13px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro h2 { font-size: 42px; }
  .first-run-tip { grid-template-columns: auto 1fr; }
  .first-run-tip > b { grid-column: 2; }
  .drop-zone, .request-panel { min-height: 520px; padding: 24px 17px; border-radius: 17px; }
  .drop-zone > .panel-kicker { left: 22px; top: 22px; }
  .request-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .workflow-progress { grid-template-columns: 1fr 22px 1fr 22px 1fr; gap: 7px; padding: 10px; }
  .progress-step { gap: 6px; }
  .progress-step > span small { display: none; }
  .progress-step > b { width: 25px; height: 25px; flex: 0 0 25px; }
  .ai-status-bar { grid-template-columns: 1fr auto; }
  .ai-status-bar > p { grid-column: 1 / 3; grid-row: 2; }
  .ledger-strip { grid-template-columns: auto 1fr; }
  .ledger-actions { grid-column: 1 / 3; }
  .ledger-actions button, .ledger-actions .training-center-link { flex: 1; }
  .ledger-copy small { white-space: normal; line-height: 1.45; }
  .task-featured { grid-template-columns: 1fr; }
  .task-guidance { grid-template-columns: 1fr; }
  .quick-tasks button { min-height: 72px; }
  .task-utilities { grid-template-columns: 1fr 1fr; }
  .run-preview { grid-template-columns: 1fr; }
  .run-preview > em { display: none; }
  .request-footer, .result-head { align-items: stretch; flex-direction: column; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions .text-button { width: 100%; }
  .primary-button, .download-button, .commit-button { width: 100%; }
  .keyboard-tip { text-align: left; line-height: 2; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .run-quality-list { grid-template-columns: 1fr 1fr; }
  .review-tags { grid-template-columns: 1fr 1fr; }
  .review-actions { align-items: stretch; flex-direction: column; }
  .review-actions small { margin-right: 0; }
  .process-section { padding: 74px 13px; }
  .process-rail { grid-template-columns: 1fr; margin-top: 35px; }
  .process-rail article { min-height: 340px; border-left: 1px solid rgba(255,255,255,.1); }
  .quality-section { padding: 74px 18px; }
  .quality-copy h2 { font-size: 47px; }
  footer { padding: 35px 18px; align-items: flex-start; flex-direction: column; gap: 20px; }
  footer p { margin: 0; }
  .ai-modal { padding: 10px; }
  .ai-modal-card { padding: 25px 18px; border-radius: 17px; }
  .governance-tabs, .template-fields, .template-head, .replacement-form { grid-template-columns: 1fr; }
  .replacement-form .wide { grid-column: auto; }
  .governance-footer, .mapping-toolbar { align-items: stretch; flex-direction: column; }
  .governance-footer small, .mapping-toolbar span { margin: 0; }
}

@media (max-width: 430px) {
  .brand-name small { display: none; }
  .site-header nav { display: none; }
  .masthead-summary article > i { display: none; }
  .masthead-summary article { grid-template-columns: 32px 1fr; }
  .hero-system { margin-left: -7px; width: calc(100% + 14px); }
  .system-canvas { grid-template-columns: 1fr 18px .74fr 18px 1fr; }
  .engine-card { padding: 12px 5px; }
  .engine-card small { display: none; }
  .task-utilities { grid-template-columns: 1fr; }
  .drop-zone h3, .request-head h3 { font-size: 21px; }
  .quality-copy h2 { font-size: 42px; }
}

/* 2026-07 极简工作流：首屏只保留文件、需求和执行。 */
.site-header {
  height: 58px;
  padding: 0 clamp(16px, 4vw, 56px);
  gap: 12px;
}
.brand-name { display: block; font-size: 11px; letter-spacing: .12em; }
.ai-engine-button {
  min-height: 34px;
  margin-left: auto;
  padding: 0 11px;
  grid-template-columns: auto auto;
  border-radius: 2px;
}
.ai-engine-button > i { grid-row: auto; margin: 0; }
.workbench-wrap {
  min-height: calc(100vh - 58px);
  padding: clamp(44px, 6vw, 82px) clamp(16px, 6vw, 92px);
}
.compact-intro {
  max-width: 1380px;
  margin: 0 auto 26px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.compact-intro h1 {
  margin: 0;
  font: 520 clamp(34px, 4vw, 54px)/1.05 "Songti SC", "STSong", Georgia, serif;
  letter-spacing: -.05em;
}
.compact-intro p { margin: 0; color: var(--muted); font-size: 12px; }
.input-stage { grid-template-columns: minmax(330px, .82fr) minmax(430px, 1.18fr); gap: 12px; }
.drop-zone, .request-panel { min-height: 450px; border-radius: 4px; box-shadow: 0 18px 48px rgba(47,52,44,.055); }
.drop-zone { padding: 30px; }
.drop-zone::before { inset: 12px; border-radius: 2px; }
.drop-zone::after { display: none; }
.drop-zone.has-files { padding-top: 34px; }
.drop-zone h3, .request-head h3 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  font-weight: 550;
}
.request-panel { padding: 30px; }
.request-panel textarea { min-height: 180px; margin: 22px 0 10px; border-radius: 3px; }
.request-note { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.output-options {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  border: 0;
}
.output-options legend {
  margin-bottom: 9px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
}
.output-options label {
  min-height: 37px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(250,248,243,.68);
  color: #697069;
  font-size: 10px;
  cursor: pointer;
}
.output-options label:has(input:checked) { border-color: rgba(83,107,85,.34); background: #e9ede4; color: var(--moss-deep, #2f4234); }
.output-options .deepseek-option {
  border-color: rgba(81,91,177,.22);
  background: linear-gradient(135deg, rgba(239,239,251,.86), rgba(250,248,243,.72));
  color: #4e557f;
}
.output-options .deepseek-option:has(input:checked) {
  border-color: rgba(81,91,177,.42);
  background: #e7e8f6;
  color: #343b72;
}
.output-options .deepseek-option input { accent-color: #555eac; }
.output-options input { margin: 0; accent-color: var(--moss, #536b55); }
.request-footer { padding-top: 24px; justify-content: flex-end; border-top: 0; }
.workspace-settings { margin-top: 12px; }
.workspace-settings-body > .more-tools { margin: 0; }
.workspace-settings-body .task-utilities { grid-template-columns: repeat(5, 1fr); }
.workspace-settings-body .quick-tasks button { min-height: 52px; border-radius: 2px; }
.workspace-settings-body .history-panel { width: 100%; margin: 0; }

@media (max-width: 860px) {
  .workbench-wrap { padding-top: 34px; }
  .compact-intro { align-items: flex-start; flex-direction: column; gap: 8px; }
  .input-stage { grid-template-columns: 1fr; }
  .drop-zone, .request-panel { min-height: 390px; padding: 24px 18px; }
  .output-options { grid-template-columns: 1fr 1fr; }
  .workspace-settings-body .task-utilities { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .compact-intro h1 { font-size: 38px; }
  .workspace-settings > summary { grid-template-columns: 1fr auto; gap: 8px; }
  .workspace-settings > summary small { display: none; }
  .workspace-settings-body .task-utilities { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
