/* 本草智研 v15 · Project Command Center + 轻量视觉统一 */
:root {
  --v15-ink: #102d28;
  --v15-muted: #667b75;
  --v15-paper: #f4f7f3;
  --v15-card: #ffffff;
  --v15-line: #dce6df;
  --v15-teal: #0f6b5d;
  --v15-deep: #072e29;
  --v15-gold: #d9ad55;
  --v15-rose: #b65454;
}

body.v15-modal-open { overflow: hidden !important; }
::selection { background: rgba(32, 156, 127, .22); color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(32, 156, 127, .35) !important;
  outline-offset: 3px;
}

/* 顶栏：保留原结构，统一玻璃质感、间距与选中反馈 */
#workspaceZoneBar {
  border: 1px solid rgba(15, 92, 84, .11);
  background: rgba(250, 252, 248, .76);
  box-shadow: 0 8px 26px rgba(15, 54, 46, .055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.dark-lab #workspaceZoneBar {
  border-color: rgba(45, 212, 191, .22);
  background: rgba(12, 34, 30, .86);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}
.zone-tab { position: relative; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.zone-tab:not(.active):hover { background: rgba(15, 107, 93, .065); }
.zone-tab.active { box-shadow: 0 8px 18px rgba(6, 57, 49, .18); }
.v15-nav-button { color: #72531b !important; }
body.dark-lab .v15-nav-button { color: #f3d285 !important; }
.v15-nav-button.active { color: #fff !important; background: linear-gradient(135deg, #0a443b, #0f6b5d) !important; }
.v15-nav-orbit { font-size: 18px; line-height: 1; color: #c4933f; }
.v15-nav-button.active .v15-nav-orbit { color: #f4d38c; }
.v15-new-badge { padding: 2px 6px; border-radius: 5px; background: #f4e6c6; color: #8a6320; font-size: 10px; line-height: 1.2; letter-spacing: .06em; font-weight: 900; }
body.dark-lab .v15-new-badge { background: rgba(244, 211, 140, .18); color: #f7dca0; }
.v15-nav-button.active .v15-new-badge { background: rgba(255,255,255,.15); color: #f9e6b8; }
#qwenCommandBar, #welcomePortalHero { box-shadow: 0 18px 48px rgba(18, 58, 48, .075); }
.lab-card { border-color: rgba(15, 92, 84, .11); }

/* 首页项目脉搏 */
.v15-mini {
  margin-top: 14px;
  border: 1px solid rgba(15, 107, 93, .15);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -40%, rgba(213, 169, 78, .16), transparent 45%),
    linear-gradient(110deg, rgba(255,255,255,.98), rgba(241,247,241,.96));
  box-shadow: 0 12px 36px rgba(18, 58, 48, .06);
}
.v15-mini-main {
  width: 100%; display: flex; align-items: center; gap: 15px; padding: 17px 19px;
  color: var(--v15-ink); text-align: left; cursor: pointer; transition: background .2s ease;
}
.v15-mini-main:hover { background: rgba(15, 107, 93, .035); }
.v15-mini-icon {
  width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 15px; background: #0b4b40; color: #e7c67d; font-size: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 20px rgba(6, 46, 40, .16);
}
.v15-mini-copy { min-width: 180px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.v15-mini-kicker { color: #8a6a2d; font-size: 9px; letter-spacing: .13em; font-weight: 900; }
.v15-mini-copy strong { font-size: 15px; letter-spacing: -.01em; }
.v15-mini-copy > span:last-child { color: var(--v15-muted); font-size: 11px; }
.v15-mini-metrics { display: flex; align-items: center; gap: 7px; }
.v15-mini-metrics > span { min-width: 88px; padding: 8px 11px; border-left: 1px solid #dce5dd; display: flex; flex-direction: column; color: #75847f; font-size: 9px; }
.v15-mini-metrics b { color: #143f36; font-size: 14px; font-weight: 850; white-space: nowrap; }
.v15-mini-cta { color: #0f6b5d; font-size: 12px; font-weight: 850; white-space: nowrap; }
.v15-mini-cta b { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.v15-mini-main:hover .v15-mini-cta b { transform: translateX(4px); }

/* 主弹窗 */
.v15-overlay {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(3, 24, 20, .72); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  animation: v15Fade .22s ease-out;
}
.v15-dialog {
  --v15-ink: #102d28; --v15-muted: #667b75; --v15-paper: #f4f7f3; --v15-card: #fff; --v15-line: #dce6df;
  width: min(1420px, 100%); height: min(920px, 94vh); display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(255,255,255,.26); border-radius: 28px; background: var(--v15-paper); color: var(--v15-ink);
  box-shadow: 0 34px 100px rgba(0, 20, 16, .38); animation: v15Rise .28s ease-out;
}
.v15-header {
  position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 15px; padding: 18px 24px;
  color: #fff; overflow: hidden; background:
    radial-gradient(circle at 78% -90%, rgba(96, 184, 146, .28), transparent 48%),
    linear-gradient(118deg, #062c27, #0b443a 66%, #0c5144);
}
.v15-header::after { content: ''; position: absolute; right: 23%; top: -70px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.018); pointer-events: none; }
.v15-brand-mark { position: relative; width: 43px; height: 43px; flex: 0 0 auto; border: 1px solid rgba(227, 198, 130, .45); border-radius: 14px; }
.v15-brand-mark span { position: absolute; left: 50%; top: 50%; width: 24px; height: 10px; border: 1px solid #e4c479; border-radius: 50%; transform: translate(-50%,-50%); }
.v15-brand-mark span:nth-child(2) { transform: translate(-50%,-50%) rotate(60deg); }
.v15-brand-mark span:nth-child(3) { transform: translate(-50%,-50%) rotate(-60deg); }
.v15-header-title { position: relative; z-index: 1; min-width: 0; flex: 1; }
.v15-eyebrow, .v15-overline { color: #a5874c; font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.v15-header .v15-eyebrow { color: #d7bc7f; }
.v15-header h2 { margin: 2px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: .02em; }
.v15-header p { margin: 3px 0 0; color: #b9d2ca; font-size: 11px; }
.v15-header-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; }
.v15-close { width: 38px; height: 38px; border-radius: 12px; color: #d8e9e3; background: rgba(255,255,255,.08); font-size: 25px; line-height: 1; cursor: pointer; }
.v15-close:hover { background: rgba(255,255,255,.16); color: #fff; }
.v15-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 9px 15px; border-radius: 12px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.v15-btn:hover { transform: translateY(-1px); }
.v15-btn-primary { color: #fff; background: linear-gradient(135deg, #0d5d50, #0a4037); box-shadow: 0 7px 16px rgba(11, 74, 63, .16); }
.v15-btn-primary:hover { box-shadow: 0 10px 22px rgba(11, 74, 63, .24); }
.v15-btn-ghost-light { color: #f5e4b9; border: 1px solid rgba(229, 199, 129, .35); background: rgba(255,255,255,.075); }
.v15-btn-ghost-light:hover { background: rgba(255,255,255,.13); }
.v15-full-btn { width: 100%; }

.v15-tabs { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 9px 23px; overflow-x: auto; background: var(--v15-card); border-bottom: 1px solid var(--v15-line); scrollbar-width: none; }
.v15-tabs::-webkit-scrollbar { display: none; }
.v15-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px; color: var(--v15-muted); background: transparent; font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.v15-tabs button:hover { color: var(--v15-teal); background: rgba(15,107,93,.055); }
.v15-tabs button.active { color: #fff; background: #0c5145; box-shadow: 0 5px 12px rgba(11, 68, 58, .15); }
.v15-tab-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 20px; color: #875f1d; background: #f3e4c2; font-size: 9px; }
.v15-content { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px 28px; scrollbar-color: #a7bbb2 transparent; scrollbar-width: thin; }
.v15-footer { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 24px; border-top: 1px solid var(--v15-line); background: var(--v15-card); color: var(--v15-muted); font-size: 9px; }
.v15-footer span:first-child { color: var(--v15-teal); font-weight: 800; white-space: nowrap; }

/* 总览 */
.v15-project-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 25px 29px; border-radius: 23px; color: #fff;
  background: radial-gradient(circle at 90% 0%, rgba(212, 173, 89, .17), transparent 33%), linear-gradient(115deg, #082f29, #0b4a3f);
  box-shadow: 0 14px 32px rgba(7, 51, 43, .14);
}
.v15-project-hero::before { content: ''; position: absolute; width: 340px; height: 340px; right: -130px; top: -190px; border: 1px solid rgba(255,255,255,.07); border-radius: 42%; transform: rotate(35deg); box-shadow: 0 0 0 30px rgba(255,255,255,.018); }
.v15-project-copy { position: relative; z-index: 1; min-width: 0; }
.v15-project-copy .v15-overline { color: #d9bd7d; }
.v15-live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #74d9b4; box-shadow: 0 0 0 4px rgba(116,217,180,.1); }
.v15-project-copy h3 { margin: 8px 0 4px; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.25; letter-spacing: -.025em; }
.v15-project-copy h3 span { margin: 0 7px; color: #d8b76c; font-weight: 400; }
.v15-project-copy p { max-width: 780px; margin: 0; color: #c0d8d0; font-size: 12px; line-height: 1.7; }
.v15-project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.v15-project-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; color: #d7e7e0; background: rgba(255,255,255,.055); font-size: 10px; }
.v15-score-ring { position: relative; z-index: 1; flex: 0 0 auto; width: 134px; height: 134px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#e0ba68 var(--score), rgba(255,255,255,.1) 0); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.v15-score-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #0a3b33; box-shadow: inset 0 0 22px rgba(0,0,0,.12); }
.v15-score-ring > div { position: relative; display: flex; flex-direction: column; align-items: center; }
.v15-score-ring strong { font-size: 37px; line-height: 1; letter-spacing: -.05em; }
.v15-score-ring span { margin-top: 5px; color: #c7dcd5; font-size: 9px; }
.v15-score-ring small { margin-top: 4px; color: #e4c783; font-size: 8px; }
.v15-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.v15-kpi { position: relative; overflow: hidden; min-height: 105px; padding: 16px 18px; border: 1px solid var(--v15-line); border-radius: 18px; background: var(--v15-card); box-shadow: 0 5px 16px rgba(25,59,49,.035); }
.v15-kpi > span { display: block; color: var(--v15-muted); font-size: 10px; font-weight: 700; }
.v15-kpi strong { display: block; margin-top: 7px; color: var(--v15-ink); font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.v15-kpi small { display: block; margin-top: 5px; color: var(--v15-muted); font-size: 9px; line-height: 1.5; }
.v15-kpi i { position: absolute; right: 0; top: 0; width: 4px; height: 100%; background: #0f766e; }
.v15-kpi-blue i { background: #528da5; } .v15-kpi-gold i { background: #d0a34c; } .v15-kpi-violet i { background: #8971a4; }
.v15-two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.v15-card { min-width: 0; padding: 19px; border: 1px solid var(--v15-line); border-radius: 20px; background: var(--v15-card); box-shadow: 0 6px 22px rgba(25,59,49,.035); }
.v15-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.v15-card-head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.v15-card-head h3 { margin: 0; color: var(--v15-ink); font-size: 14px; }
.v15-section-no { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 6px; border-radius: 9px; color: #0e6657; background: #e8f2ec; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.v15-soft-badge { padding: 5px 8px; border: 1px solid var(--v15-line); border-radius: 8px; color: var(--v15-muted); background: var(--v15-paper); font-size: 9px; white-space: nowrap; }
.v15-text-btn { color: var(--v15-teal); background: none; font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.v15-step-list { display: flex; flex-direction: column; }
.v15-step-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 4px; border-top: 1px solid var(--v15-line); color: var(--v15-ink); background: transparent; text-align: left; cursor: pointer; }
.v15-step-row:first-child { border-top: 0; }
.v15-step-row:hover { background: rgba(15,107,93,.035); }
.v15-step-number { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--v15-line); border-radius: 50%; color: var(--v15-muted); font-size: 9px; font-weight: 850; }
.v15-step-number.done { color: #fff; border-color: #1b806b; background: #1b806b; }
.v15-step-info { flex: 1; min-width: 0; }
.v15-step-info > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v15-step-info b { font-size: 11px; }
.v15-step-info small { overflow: hidden; color: var(--v15-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.v15-step-row > strong { width: 34px; color: var(--v15-muted); font-size: 10px; text-align: right; }
.v15-progress { display: block; height: 3px; margin-top: 7px; overflow: hidden; border-radius: 3px; background: var(--v15-line); }
.v15-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1a7a67, #74ae8e); }
.v15-suggestions { display: flex; flex-direction: column; gap: 8px; }
.v15-suggestion { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--v15-line); border-radius: 12px; color: var(--v15-ink); background: var(--v15-paper); text-align: left; cursor: pointer; }
.v15-suggestion:hover { border-color: rgba(15,107,93,.28); }
.v15-suggestion-icon { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #966c26; background: #f4e7c9; font-size: 11px; font-weight: 900; }
.v15-suggestion > span:nth-child(2) { flex: 1; min-width: 0; }
.v15-suggestion b { display: block; font-size: 10px; }
.v15-suggestion small { display: -webkit-box; margin-top: 2px; overflow: hidden; color: var(--v15-muted); font-size: 9px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v15-suggestion em { color: var(--v15-teal); font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }
.v15-note-callout { display: flex; gap: 8px; margin-top: 11px; padding: 10px 11px; border-radius: 11px; color: var(--v15-muted); background: rgba(212,173,89,.09); font-size: 9px; line-height: 1.6; }
.v15-note-callout b { color: #89672c; white-space: nowrap; }
.v15-empty-success { padding: 25px 15px; border: 1px dashed #a8c9b7; border-radius: 14px; color: #276d56; background: #eef7f0; font-size: 11px; line-height: 1.7; text-align: center; }
.v15-schedule-card { margin-top: 14px; }
.v15-timeline-bar { display: flex; gap: 3px; height: 12px; overflow: hidden; border-radius: 8px; background: var(--v15-line); }
.v15-timeline-bar span { min-width: 5px; background: var(--seg); }
.v15-timeline-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 13px; }
.v15-timeline-grid > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 7px; align-items: center; }
.v15-timeline-grid span { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--dot); background: color-mix(in srgb, var(--dot) 10%, transparent); font-size: 8px; font-weight: 900; }
.v15-timeline-grid b { color: var(--v15-ink); font-size: 10px; }
.v15-timeline-grid small { color: var(--v15-muted); font-size: 9px; }
.v15-card-footnote { margin: 13px 0 0; padding-top: 10px; border-top: 1px solid var(--v15-line); color: var(--v15-muted); font-size: 9px; line-height: 1.6; }

/* 设计体检 */
.v15-quality-summary, .v15-notes-head, .v15-version-hero, .v15-green-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; padding: 6px 2px; }
.v15-quality-summary h3, .v15-notes-head h3, .v15-version-hero h3, .v15-green-hero h3 { margin: 5px 0 3px; color: var(--v15-ink); font-size: 24px; letter-spacing: -.03em; }
.v15-quality-summary p, .v15-notes-head p, .v15-version-hero p, .v15-green-hero p { margin: 0; color: var(--v15-muted); font-size: 11px; line-height: 1.6; }
.v15-quality-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: start; }
.v15-check-list { display: flex; flex-direction: column; gap: 9px; }
.v15-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid var(--v15-line); border-radius: 13px; background: var(--v15-paper); }
.v15-check-status { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 900; }
.v15-check-pass .v15-check-status { color: #fff; background: #39856c; }
.v15-check-warn .v15-check-status { color: #8a5f1d; background: #f1dfb8; }
.v15-check-info .v15-check-status { color: #356b83; background: #dcebf0; }
.v15-check > div { flex: 1; min-width: 0; }
.v15-check h4 { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin: 1px 0 4px; color: var(--v15-ink); font-size: 10px; line-height: 1.5; }
.v15-check h4 span { color: var(--v15-muted); font-size: 8px; font-weight: 600; white-space: nowrap; }
.v15-check p { margin: 0; color: var(--v15-muted); font-size: 9px; line-height: 1.6; }
.v15-check > button { align-self: center; padding: 4px 6px; color: var(--v15-teal); background: transparent; font-size: 9px; font-weight: 800; white-space: nowrap; cursor: pointer; }

/* 绿色工艺 */
.v15-green-hero { margin: 0 0 15px; padding: 22px 25px; border: 1px solid #d8e5d8; border-radius: 20px; background: radial-gradient(circle at 90% 10%, rgba(198,164,82,.16), transparent 35%), linear-gradient(120deg, #e9f3e9, #f7f7eb); }
.v15-green-score, .v15-version-count { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding-left: 26px; border-left: 1px solid rgba(61,111,82,.2); }
.v15-green-score strong, .v15-version-count strong { color: #1c614b; font-size: 40px; line-height: 1; letter-spacing: -.05em; }
.v15-green-score span, .v15-version-count span { margin-top: 7px; color: #657d6d; font-size: 9px; }
.v15-green-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-bottom: 14px; }
.v15-burden-list { display: flex; flex-direction: column; gap: 15px; }
.v15-burden > div:first-child { display: flex; align-items: center; justify-content: space-between; color: var(--v15-muted); font-size: 10px; }
.v15-burden strong { color: var(--v15-ink); font-size: 12px; }
.v15-burden-track { height: 7px; margin-top: 7px; overflow: hidden; border-radius: 6px; background: var(--v15-line); }
.v15-burden-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #77a883, #c4a75f); }
.v15-burden p { margin: 5px 0 0; color: var(--v15-muted); font-size: 9px; line-height: 1.55; }
.v15-green-formula { margin-top: 17px; padding: 12px; border-radius: 12px; color: var(--v15-muted); background: var(--v15-paper); font-size: 9px; line-height: 1.7; }
.v15-green-formula b { color: var(--v15-teal); }
.v15-range-label { display: flex; align-items: center; justify-content: space-between; color: var(--v15-muted); font-size: 11px; font-weight: 700; }
.v15-range-label output { color: var(--v15-teal); font-size: 25px; font-weight: 850; }
#v15Recovery { width: 100%; margin: 18px 0 6px; accent-color: #16705c; cursor: pointer; }
#v15Recovery:disabled { opacity: .35; cursor: not-allowed; }
.v15-range-marks { display: flex; justify-content: space-between; color: var(--v15-muted); font-size: 8px; }
.v15-recovery-results { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.v15-recovery-results > div { padding: 12px; border-radius: 12px; background: var(--v15-paper); }
.v15-recovery-results span { display: block; color: var(--v15-muted); font-size: 9px; }
.v15-recovery-results strong { display: block; margin-top: 4px; color: var(--v15-ink); font-size: 16px; }
.v15-recovery-card > p { margin: 13px 0 0; color: var(--v15-muted); font-size: 9px; line-height: 1.65; }
.v15-route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.v15-route-grid article { padding: 14px; border: 1px solid var(--v15-line); border-radius: 14px; background: var(--v15-paper); }
.v15-route-grid span { color: #9b7838; font-size: 9px; font-weight: 850; letter-spacing: .06em; }
.v15-route-grid h4 { margin: 7px 0 5px; color: var(--v15-ink); font-size: 12px; }
.v15-route-grid p { margin: 0; color: var(--v15-muted); font-size: 9px; line-height: 1.7; }

/* 便签 */
.v15-notes-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 14px; align-items: start; }
#v15NoteForm { display: flex; flex-direction: column; gap: 12px; }
#v15NoteForm label { display: flex; flex-direction: column; gap: 6px; color: var(--v15-ink); font-size: 10px; font-weight: 800; }
#v15NoteForm select, #v15NoteForm textarea, .v15-save-controls input { width: 100%; border: 1px solid var(--v15-line); border-radius: 11px; color: var(--v15-ink); background: var(--v15-paper); font-size: 11px; }
#v15NoteForm select { padding: 10px; }
#v15NoteForm textarea { min-height: 155px; padding: 12px; line-height: 1.75; resize: vertical; }
.v15-quick-notes { display: flex; flex-wrap: wrap; gap: 6px; }
.v15-quick-notes > span { width: 100%; color: var(--v15-muted); font-size: 9px; }
.v15-quick-notes button { padding: 5px 8px; border: 1px solid var(--v15-line); border-radius: 8px; color: var(--v15-teal); background: transparent; font-size: 9px; cursor: pointer; }
.v15-quick-notes button:hover { background: rgba(15,107,93,.06); }
.v15-note-list { display: flex; flex-direction: column; gap: 9px; max-height: 500px; overflow-y: auto; }
.v15-note-list article { position: relative; padding: 13px 14px; border: 1px solid var(--v15-line); border-left: 3px solid #c8a557; border-radius: 12px; background: var(--v15-paper); }
.v15-note-list article > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 35px; }
.v15-note-list article > div span { color: #89692e; font-size: 9px; font-weight: 850; }
.v15-note-list time { color: var(--v15-muted); font-size: 8px; }
.v15-note-list p { margin: 7px 0 0; color: var(--v15-ink); font-size: 10px; line-height: 1.75; word-break: break-word; }
.v15-note-list article > button { position: absolute; right: 8px; top: 8px; padding: 4px; color: var(--v15-muted); background: transparent; font-size: 8px; cursor: pointer; opacity: 0; }
.v15-note-list article:hover > button, .v15-note-list article > button:focus-visible { opacity: 1; }
.v15-empty { padding: 46px 20px; color: var(--v15-muted); text-align: center; }
.v15-empty > span { display: block; color: #b99b5e; font-size: 32px; }
.v15-empty h4 { margin: 8px 0 4px; color: var(--v15-ink); font-size: 13px; }
.v15-empty p { max-width: 360px; margin: 0 auto; font-size: 10px; line-height: 1.7; }
.v15-empty-large { border: 1px dashed var(--v15-line); border-radius: 18px; background: var(--v15-card); }

/* 版本 */
.v15-version-hero { padding: 21px 25px; border: 1px solid var(--v15-line); border-radius: 20px; background: var(--v15-card); }
.v15-save-version { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.v15-save-version h3 { margin: 0 0 4px; color: var(--v15-ink); font-size: 14px; }
.v15-save-version p { margin: 0; color: var(--v15-muted); font-size: 10px; }
.v15-save-controls { display: flex; gap: 8px; width: min(560px, 60%); }
.v15-save-controls input { min-width: 0; flex: 1; padding: 10px 12px; }
.v15-version-list { display: flex; flex-direction: column; gap: 9px; }
.v15-version-card { position: relative; display: flex; align-items: center; gap: 16px; overflow: hidden; padding: 16px 18px; border: 1px solid var(--v15-line); border-radius: 16px; background: var(--v15-card); }
.v15-version-line { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(#d0a853, #367d68); }
.v15-version-main { flex: 1; min-width: 0; }
.v15-version-main h3 { margin: 4px 0 8px; color: var(--v15-ink); font-size: 13px; }
.v15-version-main > div { display: flex; flex-wrap: wrap; gap: 13px; color: var(--v15-muted); font-size: 9px; }
.v15-version-main > div b { color: var(--v15-teal); }
.v15-version-actions { display: flex; gap: 6px; }
.v15-version-actions button { padding: 7px 9px; border: 1px solid var(--v15-line); border-radius: 9px; color: var(--v15-teal); background: var(--v15-paper); font-size: 9px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.v15-version-actions button:hover { border-color: #91b7a5; }
.v15-version-actions button.danger { color: #a15c58; }

/* 深色护眼模式仅作用于新模块，不干扰原站主题 */
body.dark-lab .v15-mini { border-color: rgba(103,177,148,.2); background: linear-gradient(110deg, #102c27, #102620); }
body.dark-lab .v15-mini-main { color: #e3f0ea; }
body.dark-lab .v15-mini-copy > span:last-child, body.dark-lab .v15-mini-metrics > span { color: #9eb8ae; }
body.dark-lab .v15-mini-metrics b { color: #d9eee4; }
body.dark-lab .v15-mini-metrics > span { border-color: #2c4840; }
body.dark-lab .v15-dialog { --v15-ink: #dcebe4; --v15-muted: #91aaa0; --v15-paper: #0d1d1a; --v15-card: #112722; --v15-line: #29423a; }
body.dark-lab .v15-kpi strong, body.dark-lab .v15-check h4, body.dark-lab .v15-step-row { color: var(--v15-ink); }
body.dark-lab .v15-section-no { color: #8fd4b8; background: #173c32; }
body.dark-lab .v15-green-hero { border-color: #355045; background: radial-gradient(circle at 90% 10%, rgba(198,164,82,.12), transparent 35%), linear-gradient(120deg, #152d25, #172820); }
body.dark-lab .v15-green-score strong, body.dark-lab .v15-version-count strong { color: #a4d6bb; }
body.dark-lab .v15-green-score span, body.dark-lab .v15-version-count span { color: #91aa9c; }
body.dark-lab .v15-empty-success { color: #a6d9bd; border-color: #335a48; background: #143226; }

/* 舒适阅读字级兜底（跟随全站 Aa 字体缩放，消除 8~10px 过小文字阅读疲劳） */
.v15-mini-kicker, .v15-eyebrow, .v15-overline { font-size: 0.72rem; }
.v15-mini-copy > span:last-child, .v15-header p, .v15-footer,
.v15-project-tags span, .v15-kpi > span, .v15-kpi small,
.v15-soft-badge, .v15-text-btn, .v15-step-info small,
.v15-suggestion small, .v15-suggestion em, .v15-note-callout,
.v15-timeline-grid small, .v15-card-footnote, .v15-check p,
.v15-check > button, .v15-burden p, .v15-green-formula,
.v15-recovery-card > p, .v15-route-grid p, .v15-quick-notes > span,
.v15-quick-notes button, .v15-note-list p, .v15-version-main > div,
.v15-version-actions button, .v15-save-version p { font-size: 0.78rem; }
.v15-mini-metrics > span, .v15-score-ring span, .v15-score-ring small,
.v15-green-score span, .v15-version-count span, .v15-range-marks,
.v15-recovery-results span, .v15-check h4 span, .v15-note-list time { font-size: 0.72rem; }
.v15-step-info b, .v15-suggestion b, .v15-check h4, .v15-burden > div:first-child,
#v15NoteForm label, .v15-timeline-grid b { font-size: 0.85rem; }
#v15NoteForm select, #v15NoteForm textarea, .v15-save-controls input { font-size: 0.85rem; }
.v15-tabs button { font-size: 0.84rem; }
.v15-tab-count { font-size: 0.72rem; }

@media (max-width: 1120px) {
  .v15-mini-metrics > span { min-width: 75px; }
  .v15-mini-cta { display: none; }
  .v15-quality-grid { grid-template-columns: 1fr; }
  .v15-quality-grid .v15-check-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .v15-overlay { padding: 10px; }
  .v15-dialog { height: 97vh; border-radius: 21px; }
  .v15-header { padding: 15px 17px; }
  .v15-header p, .v15-header .v15-eyebrow { display: none; }
  .v15-header-actions .v15-btn { display: none; }
  .v15-content { padding: 15px; }
  .v15-project-hero { padding: 20px; }
  .v15-score-ring { width: 110px; height: 110px; }
  .v15-score-ring strong { font-size: 30px; }
  .v15-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v15-two-col, .v15-green-layout, .v15-notes-layout { grid-template-columns: 1fr; }
  .v15-mini-metrics > span:nth-child(3) { display: none; }
  .v15-mini-copy > span:last-child { display: none; }
  .v15-footer span:last-child { display: none; }
  .v15-save-version { align-items: flex-start; flex-direction: column; }
  .v15-save-controls { width: 100%; }
}
@media (max-width: 600px) {
  .v15-new-badge { display: none; }
  .v15-mini-main { gap: 10px; padding: 13px; }
  .v15-mini-icon { width: 38px; height: 38px; border-radius: 12px; }
  .v15-mini-copy { min-width: 0; }
  .v15-mini-copy strong { font-size: 12px; }
  .v15-mini-kicker { font-size: 7px; }
  .v15-mini-metrics > span { min-width: 54px; padding: 5px 7px; }
  .v15-mini-metrics > span:nth-child(2) { display: none; }
  .v15-mini-metrics b { font-size: 12px; }
  .v15-overlay { padding: 0; }
  .v15-dialog { width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .v15-brand-mark { width: 36px; height: 36px; }
  .v15-header h2 { font-size: 18px; }
  .v15-tabs { padding: 7px 10px; }
  .v15-tabs button { padding: 8px 11px; font-size: 11px; }
  .v15-content { padding: 12px; }
  .v15-project-hero { align-items: flex-start; padding: 18px; }
  .v15-project-copy h3 { font-size: 20px; }
  .v15-project-copy p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .v15-project-tags span:nth-child(n+4) { display: none; }
  .v15-score-ring { width: 83px; height: 83px; }
  .v15-score-ring::before { inset: 5px; }
  .v15-score-ring strong { font-size: 24px; }
  .v15-score-ring span { font-size: 7px; }
  .v15-score-ring small { display: none; }
  .v15-kpi { min-height: 96px; padding: 14px; }
  .v15-kpi strong { font-size: 18px; }
  .v15-card { padding: 15px; border-radius: 17px; }
  .v15-step-info small { max-width: 145px; }
  .v15-suggestion em { display: none; }
  .v15-timeline-grid { grid-template-columns: 1fr; }
  .v15-timeline-grid > div { padding: 5px 0; border-bottom: 1px solid var(--v15-line); }
  .v15-quality-grid .v15-check-list { grid-template-columns: 1fr; }
  .v15-quality-summary, .v15-notes-head, .v15-version-hero, .v15-green-hero { align-items: flex-start; padding: 16px; }
  .v15-quality-summary h3, .v15-notes-head h3, .v15-version-hero h3, .v15-green-hero h3 { font-size: 20px; }
  .v15-quality-summary .v15-btn, .v15-notes-head .v15-btn { display: none; }
  .v15-green-score, .v15-version-count { padding-left: 14px; }
  .v15-green-score strong, .v15-version-count strong { font-size: 30px; }
  .v15-route-grid { grid-template-columns: 1fr; }
  .v15-version-card { align-items: flex-start; flex-direction: column; }
  .v15-version-actions { width: 100%; }
  .v15-version-actions button { flex: 1; }
  .v15-save-controls { flex-direction: column; }
  .v15-footer { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .v15-overlay, .v15-dialog, .v15-btn, .zone-tab, .v15-mini-cta b { animation: none !important; transition: none !important; }
}
@keyframes v15Fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes v15Rise { from { opacity: 0; transform: translateY(12px) scale(.988); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media print { .v15-overlay, .v15-mini, .v15-nav-button { display: none !important; } }
